/* Street Fighter mini game (promo theme «fighter»): full-screen 8-bit bonus stage —
   smash the car with УДАР / НОГА, then the film card. Sprites are the 1x sheets from
   static/img/promo/fighter/ scaled ×4 (×--s on top to fit the screen). */

html.sf-lock, html.sf-lock body { overflow: hidden; }

.sf-game {
  --s: 1;
  position: fixed; inset: 0; z-index: 1400;
  display: flex; flex-direction: column; align-items: center;
  padding: max(14px, env(safe-area-inset-top)) 12px max(18px, env(safe-area-inset-bottom));
  font-family: "Press Start 2P", "Courier New", monospace; color: #fcfcfc;
  background:
    url("../img/promo/fighter/ground.png?v=5") repeat-x left bottom / 32px 16px,
    url("../img/promo/fighter/skyline.png?v=5") repeat-x left calc(100% - 16px) / 480px 96px,
    linear-gradient(180deg, #08082c 0%, #1c1050 55%, #4c1448 100%);
  image-rendering: pixelated;
  user-select: none; -webkit-user-select: none; touch-action: manipulation;
}
.sf-game[hidden] { display: none; }
.sf-game > * { image-rendering: auto; }

.sf-game__close {
  position: absolute; right: 12px; top: max(12px, env(safe-area-inset-top));
  width: 36px; height: 36px; z-index: 3;
  background: #000; color: #fcfcfc; border: 3px solid #fcfcfc; font: inherit; font-size: 14px; cursor: pointer;
}

/* HUD */
.sf-game__hud {
  width: min(100%, 640px); margin-top: 44px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 10px;
}
.sf-game__side { display: flex; flex-direction: column; gap: 6px; }
.sf-game__side--p2 { align-items: flex-end; }
.sf-game__bar { position: relative; display: block; width: 100%; height: 16px; background: #d82800; border: 3px solid #fcfcfc; box-shadow: 3px 3px 0 #000; }
.sf-game__bar i { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; display: block; }
.sf-game__p1 { background: #fcd800; }
.sf-game__lag { background: #fcfcfc; transition: width .25s steps(4, end); }
.sf-game__hp { background: #fcd800; }
.sf-game__name { font-size: 10px; text-shadow: 2px 2px 0 #000; }
.sf-game__timer { font-size: 22px; color: #fcd800; text-shadow: 3px 3px 0 #d82800, 5px 5px 0 #000; padding-top: 2px; min-width: 2.2em; text-align: center; }
.sf-game__timer.is-low { animation: sf-blink 0.5s steps(1, end) infinite; }

/* arena */
.sf-game__arena { position: relative; flex: 1 1 auto; width: 100%; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px; }
.sf-game__stage { position: relative; width: 340px; height: 184px; scale: var(--s); transform-origin: center bottom; image-rendering: pixelated; }
/* the player: rig sheet, 20 frames of 176×184 (scripts/fighter_rig.py); left/bottom set by the physics loop */
.sf-game__fighter {
  position: absolute; left: 0; bottom: 0; width: 176px; height: 184px; z-index: 1;
  background: url("../img/promo/fighter/rig_player.png?v=6") no-repeat 0 0 / 3520px 184px; image-rendering: pixelated;
  transition: translate .06s steps(2, end);
}
.sf-game__fighter.is-lunge { translate: 14px 0; }
.sf-game__car {
  position: absolute; left: 140px; bottom: 0; width: 232px; height: 104px;
  background: url("../img/promo/fighter/car.png?v=5") no-repeat 0 0 / 928px 104px; image-rendering: pixelated;
}
.sf-game__spark {
  position: absolute; width: 52px; height: 52px; left: 82px; top: 30px; opacity: 0;
  background: url("../img/promo/fighter/spark.png?v=5") no-repeat 0 0 / 52px 52px; image-rendering: pixelated;
}
.sf-game__spark.is-on { opacity: 1; }
.sf-game__shard { position: absolute; display: block; box-shadow: 2px 2px 0 #000; pointer-events: none; }
.sf-game__say {
  position: absolute; left: 0; right: 0; top: 18%; text-align: center; pointer-events: none;
  font-size: clamp(22px, 7vw, 44px); color: #fcd800; line-height: 1.2;
  text-shadow: 4px 4px 0 #d82800, -3px -3px 0 #000, 3px -3px 0 #000, -3px 3px 0 #000, 7px 7px 0 #000;
}

/* controls: joystick on the left, attack keys on the right */
.sf-game__pad { display: flex; gap: 16px; align-items: center; justify-content: space-between; width: min(100%, 720px); margin-top: 6px; }
.sf-game__stick {
  position: relative; flex: 0 0 auto; width: 132px; height: 132px; border-radius: 50%; touch-action: none; cursor: grab;
  background: radial-gradient(circle, rgba(255,255,255,.10), rgba(255,255,255,.03) 70%); border: 4px solid rgba(252,252,252,.85);
  box-shadow: 0 0 0 4px #000, inset 0 0 0 2px rgba(0,0,0,.5);
}
.sf-game__stick-ring { position: absolute; inset: 26%; border-radius: 50%; border: 2px dashed rgba(252,252,252,.25); }
.sf-game__knob {
  position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0, #fcd800 30%, #b88a00 100%); border: 3px solid #000;
  box-shadow: 0 4px 0 #000; pointer-events: none;
}
.sf-game__keys { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 0 1 300px; }
.sf-game__keys .sf-game__key--block { grid-column: 1 / -1; min-height: 52px; }
.sf-game__pad[hidden] { display: none; }
.sf-game__key {
  flex: 1 1 0; min-height: 70px; font: inherit; font-size: 15px; color: #fcfcfc; cursor: pointer;
  border: 4px solid #fcfcfc; box-shadow: 0 0 0 4px #000, 6px 6px 0 4px #000;
  -webkit-tap-highlight-color: transparent;
}
.sf-game__key--punch { background: #d82800; }
.sf-game__key--kick { background: #0058f8; }
.sf-game__key:active, .sf-game__key.is-down { transform: translate(4px, 4px); box-shadow: 0 0 0 4px #000, 2px 2px 0 4px #000; }
.sf-game__hint { margin: 14px 0 0; font-size: 9px; color: #bcbcfc; text-align: center; line-height: 1.6; }

/* final card */
.sf-game__end {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 60px 16px 24px; text-align: center;
  background: rgba(8, 8, 44, .93);
  animation: sf-end-in .35s steps(5, end) both;
}
.sf-game__end[hidden] { display: none; }
@keyframes sf-end-in { from { clip-path: inset(50% 0 50% 0); } to { clip-path: inset(0 0 0 0); } }
.sf-game__poster { width: min(42vw, 180px); aspect-ratio: 2 / 3; object-fit: cover; border: 4px solid #fcfcfc; box-shadow: 0 0 0 4px #000, 8px 8px 0 4px #000; }
.sf-game__logo {
  font-size: clamp(28px, 9vw, 52px); line-height: 1.05; color: #fcd800; font-style: italic;
  text-shadow: 4px 4px 0 #d82800, -3px -3px 0 #000, 3px -3px 0 #000, -3px 3px 0 #000, 7px 7px 0 #000;
}
.sf-game__subtitle { font-size: clamp(12px, 3.6vw, 18px); text-shadow: 3px 3px 0 #000; }
.sf-game__when { font-size: clamp(11px, 3.2vw, 15px); color: #000; background: #fcd800; padding: 8px 10px; box-shadow: 4px 4px 0 #000; }
.sf-game__book {
  margin-top: 6px; font-size: 12px; color: #fcfcfc; text-decoration: none; background: #d82800;
  padding: 16px 18px; border: 4px solid #fcfcfc; box-shadow: 0 0 0 4px #000, 6px 6px 0 4px #000;
  animation: sf-blink-soft 1.4s steps(1, end) infinite;
}
@keyframes sf-blink-soft { 0%, 75% { filter: none; } 75.01%, 100% { filter: brightness(1.35); } }
.sf-game__again { font: inherit; font-size: 10px; color: #bcbcfc; background: none; border: 0; padding: 10px; cursor: pointer; text-decoration: underline; }

@keyframes sf-blink { 0%, 60% { opacity: 1; } 60.01%, 100% { opacity: 0; } }

@media (min-width: 900px) {
  .sf-game__hint::after { content: " Клавіші: стрілки — рух, ↑ стрибок, ↓ присід, Z — удар, X — нога, C — блок."; }
}
@media (max-height: 560px) {
  .sf-game__hud { margin-top: 8px; }
  .sf-game__key { min-height: 56px; }
  .sf-game__hint { display: none; }
}

/* sound toggle (top-left, mirrors the close button) */
.sf-game__sound {
  position: absolute; left: 12px; top: max(12px, env(safe-area-inset-top)); z-index: 3;
  height: 36px; padding: 0 10px; font: inherit; font-size: 9px; color: #fcd800; cursor: pointer;
  background: #000; border: 3px solid #fcfcfc;
}
.sf-game__sound[aria-pressed="false"] { color: #bcbcbc; }
.sf-game__sound[hidden] { display: none; }

/* official trailer on the final card */
.sf-game__trailer {
  display: block; width: min(92vw, 640px); aspect-ratio: 16 / 9; background: #000;
  border: 4px solid #fcfcfc; box-shadow: 0 0 0 4px #000, 8px 8px 0 4px #000;
}
.sf-game__trailer iframe { width: 100%; height: 100%; border: 0; display: block; }
.sf-game__end:has(.sf-game__trailer) { gap: 10px; justify-content: flex-start; overflow-y: auto; }
.sf-game__end:has(.sf-game__trailer) .sf-game__logo { font-size: clamp(22px, 6.5vw, 40px); }
@media (min-height: 700px) {
  .sf-game__end:has(.sf-game__trailer) { justify-content: center; }
}

/* ---- locations: one pixel background per round (scripts/make_fighter_roster.py) ---- */
.sf-game[class*="sf-loc--"] { background-color: #000; background-repeat: no-repeat; background-position: center 100%; background-size: cover; }
.sf-game.sf-loc--city { background-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0) 30%), url("../img/promo/fighter/loc_city.png?v=5"); }
.sf-game.sf-loc--docks { background-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0) 30%), url("../img/promo/fighter/loc_docks.png?v=5"); }
.sf-game.sf-loc--temple { background-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0) 30%), url("../img/promo/fighter/loc_temple.png?v=5"); }
.sf-game.sf-loc--dohyo { background-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0) 30%), url("../img/promo/fighter/loc_dohyo.png?v=5"); }
.sf-game.sf-loc--volcano { background-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0) 30%), url("../img/promo/fighter/loc_volcano.png?v=5"); }
.sf-game.sf-loc--graveyard { background-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0) 30%), url("../img/promo/fighter/loc_graveyard.png?v=5"); }
.sf-game.sf-loc--castle { background-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0) 30%), url("../img/promo/fighter/loc_castle.png?v=5"); }
.sf-game.sf-loc--roof { background-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0) 30%), url("../img/promo/fighter/loc_roof.png?v=5"); }

/* ---- the bosses (one element, sheet/size set by fighter_game.js) ---- */
.sf-game__foe {
  display: none; position: absolute; left: 150px; bottom: 0; background-repeat: no-repeat; background-position: 0 0;
  image-rendering: pixelated; transition: translate .08s steps(2, end), opacity .15s steps(2, end);
}
.sf-game--foe .sf-game__car { display: none; }
.sf-game--foe .sf-game__foe { display: block; }
.sf-game__foe.is-lunge { translate: -16px 0; }
.sf-game__foe.is-ghost { opacity: .12; }
.sf-game__foe.is-stone { filter: grayscale(1) brightness(.85) contrast(1.3) drop-shadow(0 0 4px #bcbcbc); }
.sf-game__foe.is-parry { filter: drop-shadow(0 0 5px #3cbcfc) drop-shadow(0 0 2px #fff); }
.sf-game__foe.is-rage { filter: drop-shadow(0 0 6px #fc3c00) saturate(1.35); }
.sf-game__foe.is-flash { filter: brightness(2.4) drop-shadow(0 0 8px #fff); }
.sf-game__fighter.is-hurt, .sf-game__foe.is-hurt { animation: sf-hurt .26s steps(2, end); }
@keyframes sf-hurt { 0%, 100% { filter: none; } 50% { filter: brightness(2.2) saturate(0); } }

/* fireball (ВОГНИК) */
.sf-game__proj {
  position: absolute; left: 150px; top: 52px; width: 64px; height: 48px; pointer-events: none; z-index: 2;
  background: url("../img/promo/fighter/fireball.png?v=5") no-repeat 0 0 / 128px 48px; image-rendering: pixelated;
  animation: sf-fire .16s steps(1, end) infinite;
}
.sf-game__proj[hidden] { display: none; }
@keyframes sf-fire { 0%, 50% { background-position: 0 0; } 50.01%, 100% { background-position: -64px 0; } }
.sf-game__proj.is-back { transform: scaleX(-1); }

/* telegraphs: yellow «!», red «!!» grab, flickering fake */
.sf-game__warn {
  position: absolute; left: 222px; top: -10px; opacity: 0; pointer-events: none; z-index: 2;
  font-size: 30px; color: #fcd800; text-shadow: 3px 3px 0 #d82800, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000;
}
.sf-game__warn.is-on { opacity: 1; animation: sf-blink .24s steps(1, end) infinite; }
.sf-game__warn.is-red { color: #fc3c00; text-shadow: 3px 3px 0 #fcd800, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000; }
.sf-game__warn.is-fake.is-on { animation-duration: .09s; }
/* the «!» sits where the hit will land: head, chest, feet, or above (overhead) */
.sf-game__warn.is-mid { top: 48px; }
.sf-game__warn.is-low { top: 138px; }
.sf-game__warn.is-over { top: -30px; }
.sf-game__pop { position: absolute; left: 210px; top: 20px; font-size: 14px; text-shadow: 2px 2px 0 #000; pointer-events: none; z-index: 2; }

.sf-game__key--block { background: #6c6c6c; }
.sf-game__key--block[hidden] { display: none; }
.sf-game__key--block.is-down { transform: translate(4px, 4px); box-shadow: 0 0 0 4px #000, 2px 2px 0 4px #000; background: #9c9c9c; }
.sf-game--foe .sf-game__pad { gap: 10px; }


/* ---- «next round» banner between bosses: the game is NOT over ---- */
.sf-game__next {
  position: absolute; left: 50%; top: 22%; translate: -50% 0; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  width: min(94vw, 680px); padding: 18px 14px;
  background: rgba(8, 8, 44, .88); border: 4px solid #fcd800; box-shadow: 0 0 0 4px #000, 8px 8px 0 4px #000;
  animation: sf-end-in .3s steps(5, end) both;
}
.sf-game__next[hidden] { display: none; }
.sf-game__next-title { font-size: clamp(16px, 5vw, 28px); color: #fcfcfc; text-shadow: 3px 3px 0 #000; animation: sf-blink .5s steps(1, end) infinite; }
.sf-game__next-name {
  font-size: clamp(22px, 7.5vw, 46px); color: #fcd800; line-height: 1.15;
  text-shadow: 4px 4px 0 #d82800, -3px -3px 0 #000, 3px -3px 0 #000, -3px 3px 0 #000, 7px 7px 0 #000;
}
.sf-game__next-hint { font-size: clamp(9px, 2.6vw, 12px); color: #bcbcfc; }

/* «Ще раунд» / «Реванш» is a real, big button — it must not look like the end */
.sf-game__again {
  font: inherit; font-size: clamp(12px, 3.4vw, 16px); color: #000; cursor: pointer; text-decoration: none;
  background: #fcd800; padding: 14px 18px; border: 4px solid #fcfcfc; box-shadow: 0 0 0 4px #000, 6px 6px 0 4px #000;
  animation: sf-again 0.9s steps(1, end) infinite;
}
.sf-game__again::before { content: "▶ "; }
@keyframes sf-again { 0%, 55% { filter: none; transform: none; } 55.01%, 100% { filter: brightness(1.25); transform: translate(0, -2px); } }
.sf-game__again:active { transform: translate(4px, 4px); box-shadow: 0 0 0 4px #000, 2px 2px 0 4px #000; }

/* phones held sideways: the stage takes the middle, controls float over the bottom corners */
.sf-game.is-landscape { padding-top: max(6px, env(safe-area-inset-top)); }
.sf-game.is-landscape .sf-game__hud { margin-top: 4px; width: min(70%, 640px); }
.sf-game.is-landscape .sf-game__arena { padding-bottom: 2px; }
@media (pointer: coarse) {
  .sf-game.is-landscape .sf-game__pad {
    position: absolute; left: 0; right: 0; bottom: max(10px, env(safe-area-inset-bottom)); margin: 0;
    width: auto; padding: 0 max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left)); pointer-events: none; z-index: 2;
  }
  .sf-game.is-landscape .sf-game__pad > * { pointer-events: auto; }
  .sf-game.is-landscape .sf-game__keys { flex-basis: 210px; gap: 8px; opacity: .9; }
  .sf-game.is-landscape .sf-game__key { min-height: 52px; font-size: 12px; }
  .sf-game.is-landscape .sf-game__keys .sf-game__key--block { min-height: 38px; }
  .sf-game.is-landscape .sf-game__stick { width: 118px; height: 118px; }
  .sf-game.is-landscape .sf-game__stick { opacity: .9; }
  .sf-game.is-landscape .sf-game__hint { display: none; }
}

/* «turn your phone» card */
.sf-game__rotate {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 24px; text-align: center; background: rgba(8, 8, 44, .96);
}
.sf-game__rotate[hidden] { display: none; }
.sf-game__rotate-phone {
  width: 64px; height: 108px; border: 5px solid #fcfcfc; border-radius: 12px; box-shadow: 0 0 0 4px #000;
  position: relative; animation: sf-rotate 1.8s ease-in-out infinite;
}
.sf-game__rotate-phone::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 14px; height: 4px; margin-left: -7px; background: #fcfcfc; }
@keyframes sf-rotate { 0%, 20% { transform: rotate(0); } 55%, 100% { transform: rotate(-90deg); } }
.sf-game__rotate-title { font-size: clamp(18px, 6vw, 30px); color: #fcd800; text-shadow: 3px 3px 0 #d82800, 5px 5px 0 #000; }
.sf-game__rotate-text { font-size: 10px; line-height: 1.7; color: #bcbcfc; max-width: 320px; }
.sf-game__rotate-skip { font: inherit; font-size: 10px; color: #fcfcfc; background: none; border: 3px solid #fcfcfc; padding: 10px 14px; cursor: pointer; }

/* knives (low projectile) and the rush trail */
.sf-game__proj.is-knife { top: 150px; height: 10px; width: 34px; background: linear-gradient(90deg, #8c8c8c, #fcfcfc 60%, #5c3418 60%);
  box-shadow: 0 0 0 2px #000; animation: none; }
.sf-game__foe.is-rush { filter: drop-shadow(8px 0 0 rgba(252, 216, 0, .45)) drop-shadow(16px 0 0 rgba(252, 120, 0, .25)); }

/* no browser gestures on the controls: no double-tap zoom, no scrolling, no callout */
.sf-game, .sf-game * { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.sf-game__key, .sf-game__stick, .sf-game__stick * { touch-action: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }

/* last bosses: the ultimate darkens the screen, the revival glows green */
.sf-game.is-ult .sf-game__arena::before {
  content: ""; position: absolute; inset: -40vh -20vw 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 60% 70%, rgba(120, 0, 30, .35), rgba(0, 0, 0, .78) 70%);
  animation: sf-ult .5s steps(3, end) both;
}
@keyframes sf-ult { from { opacity: 0; } to { opacity: 1; } }
.sf-game.is-ult .sf-game__stage { z-index: 1; }
.sf-game.is-ult .sf-game__say { color: #fc3c3c; z-index: 2; }
.sf-game__foe.is-revive { animation: sf-revive .3s steps(2, end) infinite; }
@keyframes sf-revive { 0%, 100% { filter: drop-shadow(0 0 4px #3cfc6c) brightness(1.1); } 50% { filter: drop-shadow(0 0 12px #3cfc6c) brightness(1.6); } }

/* the car «ultimate»: revving (headlights, shake) and driving */
.sf-game__car.is-rev { animation: sf-rev .09s steps(2, end) infinite; filter: drop-shadow(-10px 0 6px #fcf47c) brightness(1.15); }
@keyframes sf-rev { 0%, 100% { translate: 0 0; } 50% { translate: 2px -1px; } }
.sf-game__car.is-drive { filter: drop-shadow(14px 0 0 rgba(255, 255, 255, .25)) drop-shadow(28px 0 0 rgba(255, 255, 255, .12)); z-index: 2; }

/* location hazards: a blinking floor mark, then the hit */
.sf-game__hzmark {
  position: absolute; bottom: -4px; width: 60px; height: 12px; z-index: 0; pointer-events: none; border-radius: 50%;
  background: rgba(252, 40, 40, .55); box-shadow: 0 0 0 2px #fc2828, 0 0 12px #fc2828;
  animation: sf-blink .18s steps(1, end) infinite;
}
.sf-game__hzmark.is-jump { background: rgba(252, 216, 0, .5); box-shadow: 0 0 0 2px #fcd800, 0 0 12px #fcd800; }
.sf-game__hzmark.is-crouch { bottom: 120px; height: 10px; background: rgba(160, 80, 255, .5); box-shadow: 0 0 0 2px #a050ff, 0 0 12px #a050ff; }
.sf-game__hz { position: absolute; bottom: 0; width: 60px; z-index: 3; pointer-events: none; }
.sf-game__hz.is-crate { height: 40px; background: #8a5a2a; box-shadow: inset 0 0 0 3px #4a2c10, inset 0 0 0 7px #a87040, 0 0 0 2px #000;
  animation: sf-fall .25s cubic-bezier(.5, 0, 1, 1) both; }
.sf-game__hz.is-bamboo { left: 0; width: 14px; height: 180px; margin-left: 22px; background: repeating-linear-gradient(#3c9c44 0 24px, #1c5c24 24px 28px);
  box-shadow: 0 0 0 2px #000; animation: sf-fall .25s cubic-bezier(.5, 0, 1, 1) both; }
.sf-game__hz.is-salt { height: 120px; background: radial-gradient(circle, #fff 1.5px, transparent 2px) 0 0 / 10px 12px; animation: sf-fall .35s linear both; }
.sf-game__hz.is-lava { height: 200px; background: linear-gradient(0deg, #fcd800, #fc7800 40%, rgba(252, 40, 0, .2));
  box-shadow: 0 0 18px #fc5000; animation: sf-rise .45s steps(4, end) both; }
.sf-game__hz.is-hand { height: 46px; background: radial-gradient(ellipse at 50% 30%, #a8c0a0 0 40%, transparent 41%), linear-gradient(#5c7c54, #3c5034);
  clip-path: polygon(20% 100%, 20% 40%, 28% 0, 36% 40%, 44% 5%, 52% 40%, 60% 0, 68% 40%, 80% 30%, 72% 100%);
  animation: sf-rise .2s steps(3, end) both; }
.sf-game__hz.is-bat { bottom: 120px; height: 22px; background: #2c1438;
  clip-path: polygon(0 30%, 30% 60%, 50% 20%, 70% 60%, 100% 30%, 80% 100%, 50% 70%, 20% 100%);
  animation: sf-swoop .35s linear both; }
.sf-game__hz.is-bolt { height: 260px; width: 26px; margin-left: 17px; background: linear-gradient(90deg, transparent, #fff 35%, #c8c8ff 65%, transparent);
  box-shadow: 0 0 24px #fff; animation: sf-blink .1s steps(1, end) 4; }
@keyframes sf-fall { from { transform: translateY(-260px); } to { transform: none; } }
@keyframes sf-rise { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }
@keyframes sf-swoop { from { transform: translate(160px, -40px); } to { transform: none; } }
