/* ===== aura farm ===== */
:root {
  --heat: 0; --ink: #f4eee4; --muted: #968f86; --ember: #ffb347; --flame: #ff5a1f; --bg: #07070b; --arena: #ff5a1f;
  --spring: cubic-bezier(.34, 1.56, .64, 1); --out: cubic-bezier(.2, .7, .2, 1);
  --display: "Dela Gothic One", "Arial Black", Impact, sans-serif;
  --body: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body.aura-page {
  min-height: 100dvh; color: var(--ink); overflow-x: hidden;
  font: 15px/1.45 var(--body); font-optical-sizing: auto;
  background: radial-gradient(120% 70% at 50% 110%, #2a0c04 0%, #12070a 45%, var(--bg) 75%) fixed, var(--bg);
}
a { color: inherit; }
button { font: inherit; color: inherit; }

/* burning layers */
.af-fire { position: fixed; left: 0; bottom: 0; width: 100%; height: 72vh; pointer-events: none; z-index: 0; filter: blur(1.2px) saturate(1.3); opacity: calc(.55 + var(--heat) * .45); }
.af-vignette { position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse 80% 70% at 50% 42%, transparent 50%, rgba(14, 2, 0, .86) 100%);
  box-shadow: inset 0 0 calc(30px + var(--heat) * 160px) rgba(255, 86, 20, calc(.08 + var(--heat) * .5));
  animation: afFlicker 2.6s steps(12) infinite; }
.af-grain { position: fixed; inset: -50%; pointer-events: none; z-index: 2; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: afGrain .9s steps(4) infinite; }
@keyframes afFlicker { 0%, 100% { opacity: 1; } 40% { opacity: .9; } 55% { opacity: 1; } 70% { opacity: .94; } }
@keyframes afGrain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
.af-flash { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0; mix-blend-mode: screen; }
html.af-white .af-vignette { box-shadow: inset 0 0 220px rgba(255, 240, 200, .9); }

/* impact frame: inverted, crushed contrast, one beat */
html.af-impact body { filter: invert(1) contrast(2.2) grayscale(1); }
html.af-impact .af-fire { opacity: 0; }
/* hit-stop: every animation holds still */
.af-hitstop, .af-hitstop * { animation-play-state: paused !important; }

/* wrong answer ash */
.af-ash { position: fixed; z-index: 70; pointer-events: none; display: flex; align-items: center; white-space: pre; color: #fff; }
.af-ash span { display: inline-block; }

/* top bar */
.af-top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; max-width: 980px; margin: 0 auto; font-size: 13px; }
.af-brand { text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.af-top nav { display: flex; gap: 14px; align-items: center; }
.af-top nav a { text-decoration: none; color: var(--muted); }
.af-mute { background: none; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 5px 11px; font-size: 12px; color: var(--muted); cursor: pointer; }
.af-mute[aria-pressed="true"] { color: var(--ember); border-color: rgba(255, 179, 71, .45); }

.af-app { position: relative; z-index: 4; max-width: 560px; margin: 0 auto; padding: 0 16px; }
.af-enter { animation: afEnter .55s var(--out) both; }
@keyframes afEnter { from { opacity: 0; transform: translateY(14px) scale(.985); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* shared type */
.af-eyebrow { display: flex; justify-content: space-between; margin: 6px 0 0; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ember); border-bottom: 1px solid rgba(255, 179, 71, .18); padding-bottom: 8px; }
.af-micro { font-size: 13px; color: var(--muted); text-align: center; }
.af-h { margin: 30px 0 10px; font: 400 15px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; text-align: left; color: #ffd9a8; }
.af-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none;
  font: 400 19px/1 var(--display); letter-spacing: .02em; text-transform: uppercase;
  padding: 17px 30px; border: 0; border-radius: 6px; color: #1d0600;
  background: linear-gradient(180deg, #ffd27a 0%, #ff8a2a 45%, #e5320c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -3px 0 rgba(120, 20, 0, .45), 0 14px 40px -12px rgba(255, 80, 20, .9);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: transform .35s var(--spring), filter .2s; }
.af-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.af-btn:active { transform: scale(.95); }
.af-btn:disabled { filter: grayscale(1) brightness(.6); cursor: default; }
.af-btn.sm { font-size: 16px; padding: 0 22px; }
.af-btn.ghost { background: rgba(255, 255, 255, .08); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); }
.af-btn.x { background: #f4eee4; color: #000; box-shadow: none; }
.af-link { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.af-btn:focus-visible, .af-mute:focus-visible, .af-pass:focus-visible, .af-link:focus-visible, .af-arena-card:focus-visible, .af-next-card:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

/* tiles: the in-page version of the share squares */
.af-tiles { display: inline-flex; gap: 5px; vertical-align: middle; }
.af-tiles i { width: 14px; height: 14px; border-radius: 3px; background: var(--c); box-shadow: 0 0 8px color-mix(in srgb, var(--c) 60%, transparent), inset 0 -2px 0 rgba(0, 0, 0, .3); }
.af-tiles i.gem { box-shadow: 0 0 14px var(--c), 0 0 0 1.5px #fff inset; }
.af-end > .af-tiles { display: flex; justify-content: center; gap: 8px; margin: -4px 0 12px; }
.af-end > .af-tiles i { width: 34px; height: 34px; border-radius: 6px; transform: scale(0) rotate(-30deg); transition: transform .6s var(--spring) var(--d, 0ms); }
.af-end > .af-tiles.go i { transform: none; }

/* ===== the fighter ===== */
.af-stage { position: relative; display: grid; place-items: center; grid-template-rows: 100%; height: 300px; }
.af-stage > .af-fighter { height: 100%; width: auto; }
.af-fighter { --aura: #8b919e; --rim: color-mix(in srgb, var(--aura) 80%, #fff); --eye: color-mix(in srgb, var(--aura) 55%, #fff); position: relative; height: 100%; aspect-ratio: 240 / 300; }
.fighter { position: relative; width: 100%; height: 100%; overflow: visible; }
.fighter * { transform-box: view-box; }
.f-body { transform-origin: 120px 280px; transition: transform .7s var(--spring); animation: afBreathe 3.4s ease-in-out infinite; }
/* backlit silhouette: a thin rim of aura light along the top edges */
.f-sil { filter: drop-shadow(0 -1.5px 0 var(--rim)) drop-shadow(0 0 5px color-mix(in srgb, var(--aura) 55%, transparent)); transition: filter .4s; }
.f-hair { transform-origin: 120px 98px; transition: transform .6s var(--spring); }
.f-arms-idle, .f-prop { transition: opacity .25s, transform .4s var(--spring); }
.f-arms-power { opacity: 0; transition: opacity .25s; }
.f-eyes { opacity: .5; transition: opacity .3s; }
.f-halo { opacity: .25; transition: opacity .6s; }
.f-flames { opacity: .1; transform-origin: 120px 290px; transform: scale(.7, .5); transition: opacity .5s, transform .7s var(--spring); }
.fl { fill: var(--aura); transform-origin: 120px 290px; mix-blend-mode: screen; }
.fl1 { opacity: .28; filter: blur(3px); animation: afFlame .42s ease-in-out infinite alternate; }
.fl2 { opacity: .45; filter: blur(1.5px); animation: afFlame .33s ease-in-out infinite alternate-reverse; }
.fl3 { opacity: .7; fill: color-mix(in srgb, var(--aura) 55%, #fff); animation: afFlame .27s ease-in-out infinite alternate; }
.f-licks { opacity: 0; transition: opacity .4s; }
.f-licks path { fill: color-mix(in srgb, var(--aura) 60%, #fff); transform-origin: center; animation: afLick 1.1s ease-out infinite; animation-delay: calc(var(--i) * -.13s); }
.f-ground { opacity: .25; transition: opacity .5s; }
.f-cracks { opacity: 0; stroke-dasharray: 60; stroke-dashoffset: 60; transition: opacity .3s, stroke-dashoffset .8s ease-out; }
.f-rocks { opacity: 0; transition: opacity .4s; }
.f-bolts { opacity: 0; }
@keyframes afBreathe { 0%, 100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(1px) scaleY(.99); } }
@keyframes afFloat { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(-14px); } }
@keyframes afFlame { 0% { transform: scale(1, 1) skewX(0deg); } 50% { transform: scale(1.04, 1.08) skewX(-2deg); } 100% { transform: scale(.97, 1.14) skewX(2deg); } }
@keyframes afLick { 0% { opacity: 0; transform: translateY(10px) scaleY(.4); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-34px) scaleY(1.2); } }
@keyframes afRock { 0% { transform: translateY(0) rotate(0); } 100% { transform: translateY(-46px) rotate(24deg); } }
@keyframes afBolt { 0%, 72%, 100% { opacity: 0; } 74% { opacity: 1; } 78% { opacity: .2; } 80% { opacity: 1; } 86% { opacity: 0; } }
@keyframes afJitter { 0% { transform: translate(0, 0); } 25% { transform: translate(-1.5px, 1px); } 50% { transform: translate(1px, -1.5px); } 75% { transform: translate(1.5px, 1px); } 100% { transform: translate(0, 0); } }

/* manga focus lines behind the fighter while charging */
.af-speed { position: absolute; left: 50%; top: 50%; width: 260%; height: 200%; translate: -50% -50%; pointer-events: none; opacity: 0; transition: opacity .15s; }
.af-speed path { fill: color-mix(in srgb, var(--aura) 40%, #fff); }
.af-fighter.charging .af-speed { opacity: .5; animation: afSpeed .12s steps(2) infinite; }
@keyframes afSpeed { 0% { rotate: 0deg; scale: 1; } 100% { rotate: 3deg; scale: 1.04; } }
/* ゴゴゴ menace at the top forms */
.af-go { position: absolute; right: -14%; top: 4%; display: flex; flex-direction: column; gap: 2px; pointer-events: none; font: 400 26px/1 var(--display); color: var(--aura); opacity: 0;
  -webkit-text-stroke: 1px rgba(0, 0, 0, .7); text-shadow: 0 0 12px color-mix(in srgb, var(--aura) 60%, transparent); transition: opacity .4s; }
.af-go span { display: block; animation: afGo 1.4s ease-in-out infinite; }
.af-go span:nth-child(2) { margin-left: 14px; animation-delay: -.35s; } .af-go span:nth-child(3) { animation-delay: -.7s; } .af-go span:nth-child(4) { margin-left: 14px; animation-delay: -1.05s; }
@keyframes afGo { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(3px, -4px) scale(1.12); } }
.af-fighter[data-form="3"] .af-go, .af-fighter[data-form="4"] .af-go, .af-fighter[data-form="5"] .af-go { opacity: .95; }

/* form 0: slouched, eyes on the prop */
.af-fighter[data-form="0"] .f-body { transform: rotate(1.5deg) translateY(3px); }
/* form 1+: prop gone, fists down, eyes lit */
.af-fighter:not([data-form="0"]) .f-arms-idle, .af-fighter:not([data-form="0"]) .f-prop { opacity: 0; }
.af-fighter:not([data-form="0"]) .f-arms-power { opacity: 1; }
.af-fighter:not([data-form="0"]) .f-eyes { opacity: 1; filter: drop-shadow(0 0 3px var(--eye)); }
.af-fighter:not([data-form="0"]) .f-halo { opacity: .6; }
.af-fighter[data-form="1"] .f-flames { opacity: .45; transform: scale(.85, .75); }
.af-fighter[data-form="1"] .f-hair { transform: translateY(-2px) scaleY(1.06); }
.af-fighter[data-form="1"] .f-ground { opacity: .5; }
.af-fighter[data-form="2"] .f-flames { opacity: .7; transform: scale(.95, .9); }
.af-fighter[data-form="2"] .f-hair { transform: translateY(-4px) scaleY(1.14); }
.af-fighter[data-form="2"] .f-body { animation: afFloat 2.6s ease-in-out infinite; }
.af-fighter[data-form="2"] .f-ground { opacity: .7; }
.af-fighter[data-form="2"] .f-licks, .af-fighter[data-form="3"] .f-licks, .af-fighter[data-form="4"] .f-licks, .af-fighter[data-form="5"] .f-licks { opacity: 1; }
.af-fighter[data-form="3"] .f-flames, .af-fighter[data-form="4"] .f-flames, .af-fighter[data-form="5"] .f-flames { opacity: .9; transform: scale(1.05, 1.05); }
.af-fighter[data-form="3"] .f-hair { transform: translateY(-6px) scaleY(1.22); }
.af-fighter[data-form="4"] .f-hair, .af-fighter[data-form="5"] .f-hair { transform: translateY(-8px) scaleY(1.3); }
.af-fighter[data-form="3"] .f-body, .af-fighter[data-form="4"] .f-body, .af-fighter[data-form="5"] .f-body { animation: afFloat 2s ease-in-out infinite; }
.af-fighter[data-form="3"] .f-cracks, .af-fighter[data-form="4"] .f-cracks, .af-fighter[data-form="5"] .f-cracks { opacity: 1; stroke-dashoffset: 0; }
.af-fighter[data-form="3"] .f-rocks, .af-fighter[data-form="4"] .f-rocks, .af-fighter[data-form="5"] .f-rocks { opacity: 1; }
.af-fighter[data-form="3"] .f-rocks path, .af-fighter[data-form="4"] .f-rocks path, .af-fighter[data-form="5"] .f-rocks path { animation: afRock 2.4s ease-in-out infinite alternate; }
.f-rocks .r2 { animation-delay: -.6s !important; } .f-rocks .r3 { animation-delay: -1.2s !important; } .f-rocks .r4 { animation-delay: -1.8s !important; }
.af-fighter[data-form="3"] .f-ground, .af-fighter[data-form="4"] .f-ground, .af-fighter[data-form="5"] .f-ground { opacity: 1; }
.af-fighter[data-form="3"] .f-halo, .af-fighter[data-form="4"] .f-halo, .af-fighter[data-form="5"] .f-halo { opacity: 1; }
.af-fighter[data-form="4"] .f-flames { transform: scale(1.18, 1.2); }
.af-fighter[data-form="5"] .f-flames { transform: scale(1.32, 1.35); }
.af-fighter[data-form="5"] .f-bolts { animation: afBolt 1.6s linear infinite; }
.af-fighter[data-form="5"] .f-bolts .b2 { animation: afBolt 1.9s linear infinite -.5s; }
.af-fighter[data-form="4"] .f-sil, .af-fighter[data-form="5"] .f-sil { filter: drop-shadow(0 -2px 0 #fff) drop-shadow(0 0 10px var(--aura)); }
/* mid-charge */
.af-fighter.charging .fighter { animation: afJitter .09s linear infinite; }
.af-fighter.charging .fl { animation-duration: .12s; }
.af-fighter.charging .f-eyes { opacity: 1; filter: drop-shadow(0 0 6px #fff); }

/* ===== hub ===== */
.af-hub, .af-intro { text-align: center; padding-bottom: 40px; }
.af-title { position: relative; margin: 18px 0 0; font: 400 clamp(64px, 21vw, 124px)/.82 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.af-title span { display: block; }
.af-title .w1 { background: linear-gradient(180deg, #fff 8%, #ffe08a 40%, #ff7a2a 72%, #8d1405 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 26px rgba(255, 96, 20, .5)); }
.af-title .w2 { color: transparent; -webkit-text-stroke: 2px #ffb35c; filter: drop-shadow(0 0 12px rgba(255, 140, 40, .55)); }
.af-title .jp { margin-top: 12px; font-size: 13px; letter-spacing: .6em; color: var(--ember); opacity: .75; text-indent: .6em; }
.af-title.sm { font-size: clamp(40px, 13vw, 70px); }
.af-intro .af-title.sm .w1 { background: linear-gradient(180deg, #fff 10%, var(--c) 70%); -webkit-background-clip: text; background-clip: text; }
.af-sub { max-width: 400px; margin: 16px auto 20px; color: #d9d1c4; font-size: 15px; }
.af-intro .af-stage { height: 250px; margin-top: 4px; }

.af-arenas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; }
.af-arena-card { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 168px; padding: 14px 14px 12px; cursor: pointer; overflow: hidden; text-align: left;
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); border-radius: 4px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, #0c0a10) 0%, rgba(12, 10, 16, .88) 60%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  transition: transform .4s var(--spring), border-color .2s, box-shadow .3s; }
.af-arena-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 100% 0%, color-mix(in srgb, var(--c) 30%, transparent), transparent 70%); opacity: .5; transition: opacity .3s; pointer-events: none; }
.af-arena-card:hover { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 18px 40px -20px var(--c); }
.af-arena-card:hover::after { opacity: 1; }
.af-arena-card:active { transform: scale(.97); }
.af-arena-card .ic svg { width: 38px; height: 38px; fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c) 60%, transparent)); }
.af-arena-card .ic svg .fill, .af-next-card .ic svg .fill { fill: var(--c); stroke: none; }
.af-arena-card .jp { position: absolute; right: 10px; top: 8px; writing-mode: vertical-rl; font: 400 13px/1 var(--display); color: var(--c); opacity: .45; letter-spacing: .1em; }
.af-arena-card b { margin-top: auto; font: 400 clamp(14px, 4.3vw, 19px)/1.05 var(--display); max-width: 100%; text-transform: uppercase; letter-spacing: -.01em; }
.af-arena-card small { font-size: 12.5px; line-height: 1.3; color: #bdb5aa; }
.af-arena-card em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--c); }
.af-arena-card.done { opacity: .8; }
.af-arena-card.done small { color: var(--ink); font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.af-arena-card.done .af-tiles i { width: 10px; height: 10px; }

.af-sweep { display: grid; gap: 2px; margin: 14px 0 0; padding: 14px; border-radius: 4px; text-align: center; background: rgba(10, 6, 8, .78); border: 1px solid rgba(255, 179, 71, .3); }
.af-sweep small { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ember); }
.af-sweep b { font: 400 36px/1 var(--display); font-variant-numeric: tabular-nums; }
.af-sweep span { font-size: 13px; color: var(--muted); }
.af-sweep .af-btn { justify-self: center; margin-top: 10px; font-size: 16px; padding: 13px 22px; }
.af-howto { margin: 18px auto 0; max-width: 380px; text-align: left; }
.af-howto summary { cursor: pointer; font-size: 13px; font-weight: 600; color: #ffd9a8; text-align: center; list-style: none; }
.af-howto summary::-webkit-details-marker { display: none; }
.af-howto summary::after { content: " +"; color: var(--ember); }
.af-howto[open] summary::after { content: " –"; }
.af-howto .af-ladder { margin-top: 10px; }
.af-ladder { list-style: none; padding: 0; margin: 0 auto 10px; max-width: 360px; text-align: left; border-top: 1px solid rgba(255, 255, 255, .08); }
.af-ladder li { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; padding: 8px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.af-ladder i { width: 10px; height: 10px; border-radius: 2px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.af-ladder b { color: var(--c); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.af-trap { font-size: 13px; color: #c48c5a; max-width: 360px; margin: 10px auto 22px; }
.af-intro .af-btn { margin-top: 14px; }

/* ===== play ===== */
.af-play { display: flex; flex-direction: column; min-height: calc(100dvh - 52px); }
.af-hud { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 2px 0 10px; }
.af-total small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--c, var(--ember)); }
.af-total b { font: 400 28px/1 var(--display); text-shadow: 0 0 18px rgba(255, 120, 40, .55); font-variant-numeric: tabular-nums; }
.af-pips { display: flex; gap: 6px; }
.af-pips i { width: 12px; height: 12px; border-radius: 2px; background: rgba(255, 255, 255, .12); transform: rotate(45deg); transition: background .3s, transform .4s var(--spring); }
.af-pips i.done { background: var(--c, #555); box-shadow: 0 0 8px var(--c, transparent); }
.af-pips i.now { background: transparent; box-shadow: inset 0 0 0 2px var(--ember); transform: rotate(45deg) scale(1.25); }
.af-ring { justify-self: end; position: relative; width: 46px; height: 46px; }
.af-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.af-ring circle { fill: none; stroke-width: 3.2; }
.af-ring .trk { stroke: rgba(255, 255, 255, .1); }
.af-ring .arc { stroke: var(--ember); stroke-linecap: round; filter: drop-shadow(0 0 4px var(--ember)); }
.af-ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 400 15px/1 var(--display); font-variant-numeric: tabular-nums; }
.af-ring.low .arc { stroke: #ff3b2f; filter: drop-shadow(0 0 6px #ff3b2f); }
.af-ring.low b { color: #ff6a5a; }

.af-card { position: relative; z-index: 3; padding: 14px 18px 14px; border-radius: 3px; background: rgba(12, 9, 13, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-left: 4px solid var(--c, var(--ember)); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05); transition: padding .4s var(--spring); }
.af-pnum { display: flex; justify-content: space-between; margin: 0 0 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #ff9b5c; }
.af-pnum .lvl { color: #8fd18f; } .af-pnum .lvl[data-l="2"] { color: #ffcf6a; } .af-pnum .lvl[data-l="3"] { color: #ff6a5a; }
.af-q { margin: 0; font: 400 clamp(23px, 6.4vw, 32px)/1.08 var(--display); letter-spacing: -.01em; text-wrap: balance; transition: font-size .4s var(--spring); }
.af-count-board { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.af-card.small { padding: 10px 16px 10px; }
.af-card.small .af-q { font-size: clamp(16px, 4.2vw, 20px); }
.af-card.small .af-count-board { display: none; }
.af-pre { margin: 8px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ember); }

.af-arena { position: relative; flex: 1; min-height: 320px; display: grid; place-items: center; transform-origin: 50% 60%; }
.af-stage.play { height: min(44vh, 360px); width: 100%; }
.af-arena .af-stage.play .af-fighter { filter: url(#afHeat); }
.af-marks { position: absolute; left: 0; top: 7%; bottom: 7%; width: 42%; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.af-marks li { position: absolute; left: 0; bottom: calc(var(--p) * 1%); transform: translateY(50%); font-size: 10px; font-weight: 600; line-height: 1; white-space: nowrap; color: #8a8178; opacity: .3; transition: opacity .2s, color .2s, text-shadow .2s; }
.af-marks li::before { content: ""; display: inline-block; width: 10px; height: 1px; margin-right: 6px; vertical-align: middle; background: currentColor; }
.af-marks li.lit { opacity: 1; color: #ffd9a8; text-shadow: 0 0 10px rgba(255, 150, 60, .8); }
.af-gauge { position: absolute; right: 4px; top: 7%; bottom: 7%; width: 10px; border-radius: 2px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.af-gauge .fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; border-radius: inherit; background: linear-gradient(0deg, #c41e0a, #ff7a2a 40%, #ffd27a 75%, #fffbe8); box-shadow: 0 0 16px #ff7a2a, 0 0 40px rgba(255, 90, 20, .5); }
.af-gauge .tick { position: absolute; right: -4px; bottom: calc(var(--p) * 1%); width: 18px; height: 2px; background: var(--c); opacity: .35; transition: opacity .2s; }
.af-gauge .tick em { position: absolute; right: 24px; top: 50%; transform: translateY(-50%) translateX(6px); font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--c); opacity: 0; transition: opacity .2s, transform .3s var(--spring); }
.af-gauge .tick.lit { opacity: 1; box-shadow: 0 0 8px var(--c); }
.af-gauge .tick.lit em { opacity: 1; transform: translateY(-50%); }

.af-reveal { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px 30px; gap: 6px;
  background: radial-gradient(60% 55% at 50% 50%, rgba(7, 7, 11, .82), rgba(7, 7, 11, .25) 70%, transparent); }
.af-stamp { font: 400 clamp(38px, 12vw, 70px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.02em; color: var(--c);
  -webkit-text-stroke: 1px rgba(255, 255, 255, .55); text-shadow: 0 0 34px var(--c), 0 0 2px #fff; }
.af-stamp.miss { -webkit-text-stroke: 1px #666; text-shadow: none; color: #2a2a2a; }
.af-ans { margin: 4px 0 0; font-size: 18px; font-weight: 700; }
.af-gain { margin: 0; font: 400 28px/1 var(--display); font-variant-numeric: tabular-nums; }
.af-line { margin: 0; font-size: 14px; color: #d9d1c4; max-width: 340px; text-wrap: pretty; }
.af-count { margin: 0; min-height: 18px; font-size: 12.5px; color: #ffcf99; }
.af-reveal .af-btn { margin-top: 10px; }

.af-dock { position: sticky; bottom: 0; z-index: 6; padding: 8px 0 calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, rgba(7, 7, 11, .92) 35%); transition: transform .5s var(--spring), opacity .3s; }
.af-dock.away { transform: translateY(130%); opacity: 0; pointer-events: none; }
.af-hint { display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 0 auto 6px; padding: 7px 12px; max-width: max-content; border-radius: 3px; background: rgba(63, 169, 255, .1); border: 1px dashed rgba(63, 169, 255, .5); }
.af-hint small { font-size: 12px; color: #9fd0ff; }
.af-hint b { font: 400 17px/1 var(--display); letter-spacing: .18em; color: #fff; white-space: pre; }
.af-msg { min-height: 24px; text-align: center; font-size: 14px; color: #ffb0a0; }
.af-chip { margin-left: 4px; padding: 3px 10px; border: 0; border-radius: 3px; background: var(--ember); color: #1d0600; font-weight: 800; cursor: pointer; }
.af-input { display: flex; gap: 8px; }
.af-input input { flex: 1; min-width: 0; height: 56px; padding: 0 16px; border-radius: 4px; font: 600 19px var(--body); color: #fff; background: rgba(12, 9, 13, .92);
  border: 1.5px solid rgba(255, 170, 90, .32); outline: none; caret-color: var(--ember); transition: border-color .2s, box-shadow .2s; }
.af-input input:focus { border-color: var(--ember); box-shadow: 0 0 0 4px rgba(255, 150, 50, .16), 0 0 30px -6px rgba(255, 120, 30, .7); }
.af-input input:disabled { opacity: .5; }
.af-input .af-btn { height: 56px; }
.af-pass { display: block; margin: 8px auto 0; background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ===== end ===== */
.af-end { text-align: center; padding-bottom: 40px; }
.af-big { margin-top: 12px; }
.af-big b { display: block; font: 400 clamp(60px, 19vw, 112px)/.85 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 10%, #ffe08a 45%, #ff7a2a 80%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 26px rgba(255, 96, 20, .5)); }
.af-big small { font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--ember); }
.af-form { margin: 14px 0 0; font: 400 28px/1 var(--display); text-transform: uppercase; text-shadow: 0 0 24px currentColor; }
.af-formline { margin: 6px auto 0; max-width: 340px; font-size: 14px; color: #d9d1c4; }
.af-stage.end { height: 260px; }
.af-pct { min-height: 20px; font-size: 13.5px; color: #ffcf99; }
.af-share { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.af-share .af-btn { font-size: 16px; padding: 14px 22px; }
.af-next { display: grid; gap: 8px; }
.af-next-card { position: relative; display: grid; grid-template-columns: 40px 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 14px; text-align: left; cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); border-left: 4px solid var(--c); border-radius: 3px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 14%, #0c0a10), rgba(12, 10, 16, .85));
  transition: transform .35s var(--spring), box-shadow .3s; }
.af-next-card:hover { transform: translateX(4px); box-shadow: 0 10px 30px -16px var(--c); }
.af-next-card .ic { grid-row: 1 / 3; }
.af-next-card .ic svg { width: 34px; height: 34px; fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.af-next-card b { font: 400 16px/1.1 var(--display); text-transform: uppercase; }
.af-next-card small { grid-column: 2; font-size: 13px; color: #c9c1b6; }
.af-next-card em { grid-column: 3; grid-row: 1 / 3; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--c); }
.af-sweep.big { margin-top: 26px; }
.af-log { list-style: none; padding: 0; margin: 0 0 18px; text-align: left; }
.af-log li { display: grid; gap: 4px; padding: 12px 10px; background: rgba(7, 7, 11, .62); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.af-log .q { font-size: 12.5px; color: var(--muted); }
.af-log .a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.af-log .t { font-style: normal; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--c); border: 1px solid var(--c); border-radius: 2px; padding: 2px 7px; white-space: nowrap; }
.af-log .n { font-style: normal; font-weight: 500; font-size: 12px; color: #ffcf99; }
.af-log .gem { font-size: 13px; color: #d9d1c4; padding-left: 10px; border-left: 2px solid #ffe08a; }
.af-log .gem b { color: #ffe08a; }
.af-cta { display: block; margin: 22px auto 0; max-width: 380px; padding: 14px 16px; border-radius: 4px; text-decoration: none; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.af-cta b { display: block; font: 400 15px/1.2 var(--display); text-transform: uppercase; }
.af-cta span { font-size: 13px; color: var(--muted); }
.af-noscript { position: relative; z-index: 5; text-align: center; }

@media (max-width: 719px) {
  .af-stage.play { justify-items: end; padding-right: 20px; height: min(40vh, 330px); }
  .af-go { font-size: 20px; right: -6%; }
}
@media (max-width: 360px) { .af-arenas { grid-template-columns: 1fr; } .af-arena-card { min-height: 130px; } }
@media (min-width: 720px) {
  .af-stage.play { height: min(48vh, 400px); }
  .af-marks li { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .af-vignette, .af-grain, .f-body, .fl, .f-licks path, .f-rocks path, .f-bolts, .af-go span, .af-fighter.charging .fighter, .af-fighter.charging .af-speed, .af-enter { animation: none !important; }
  .af-arena .af-stage.play .af-fighter { filter: none; }
}
.af-style { display: inline-block; margin-right: 8px; padding: 2px 7px; border-radius: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #07070b; background: var(--c, var(--ember)); }
