/* The Awesome Game. Paper, ink, one red seal, a little neon.
   REF: MDN env() - safe-area-inset-* with viewport-fit=cover keeps controls clear of the notch and home bar.
   REF: WCAG 2.5.8 / Apple HIG - touch targets are at least 44 px. */
@font-face { font-family: "Yuji Boku"; src: url(../assets/fonts/yuji.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Chakra Petch"; font-weight: 500; src: url(../assets/fonts/chakra500.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Chakra Petch"; font-weight: 700; src: url(../assets/fonts/chakra700.woff2) format("woff2"); font-display: swap; }
:root {
  --ink: #14100d; --paper: #eadfc6; --cream: #f4ecd8; --red: #c9382a; --cyan: #7cf7ff; --teal: #17807c; --gold: #a87b1c;
  --st: max(14px, env(safe-area-inset-top)); --sb: max(26px, env(safe-area-inset-bottom)); --sl: max(14px, env(safe-area-inset-left)); --sr: max(14px, env(safe-area-inset-right));
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--ink); color: var(--ink); font: 500 15px/1.35 "Chakra Petch", system-ui, sans-serif; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: none; overscroll-behavior: none; }
canvas#gl, canvas#fx { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; height: 100dvh; display: block; }
canvas#gl { image-rendering: pixelated; } canvas#fx { pointer-events: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; touch-action: manipulation; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: "Dela Gothic One", "Yuji Boku", serif; font-weight: 400; margin: 0; }
small { font-weight: 500; }

/* ---------- fight HUD ---------- */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 5; color: var(--cream); text-shadow: 0 1px 0 rgba(20,16,13,.9), 0 0 6px rgba(20,16,13,.6); }
#hud button { pointer-events: auto; }
#xp { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--st) - 6px); min-height: 5px; background: linear-gradient(rgba(20,16,13,.55), transparent); }
#xp i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--cyan); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 6px var(--cyan); transition: transform .2s; }
#tl { position: absolute; left: var(--sl); top: calc(var(--st) + 6px); width: 46vw; max-width: 200px; }
#hp { position: relative; height: 13px; background: rgba(20,16,13,.72); border: 2px solid var(--ink); border-radius: 3px 9px 3px 7px; overflow: hidden; }
#hp i { position: absolute; inset: 0; transform-origin: left; }
#hpGhost { background: var(--cream); opacity: .8; } #hpFill { background: var(--red); } #hpFill.low { animation: pulse .5s infinite alternate; }
@keyframes pulse { to { filter: brightness(1.6); } }
#sub { display: flex; gap: 10px; margin-top: 4px; font-size: 13px; font-weight: 700; align-items: center; }
#tea { font-family: "Dela Gothic One", "Yuji Boku", serif; color: #b9ffb0; letter-spacing: 1px; } #coins { color: #ffe08a; }
#pauseBtn { position: absolute; right: var(--sr); top: calc(var(--st) + 2px); width: 44px; height: 44px; border-radius: 50%; background: rgba(20,16,13,.6); color: var(--cream); font-weight: 700; letter-spacing: 2px; border: 2px solid rgba(244,236,216,.4); }
#boss { position: absolute; left: 12vw; right: 12vw; top: calc(var(--st) + 58px); text-align: center; }
#bossName { font: 400 17px "Dela Gothic One", "Yuji Boku", serif; letter-spacing: 1px; }
#boss div { height: 9px; margin-top: 3px; background: rgba(20,16,13,.75); border: 2px solid var(--ink); border-radius: 2px 8px 2px 8px; overflow: hidden; }
#bossFill { display: block; height: 100%; background: linear-gradient(90deg, #ff6ad5, var(--red)); transform-origin: left; transition: transform .15s; }
#combo { position: absolute; right: var(--sr); top: calc(var(--st) + 118px); font: 400 34px/1 "Dela Gothic One", "Yuji Boku", serif; text-align: right; transform-origin: right center; }
#combo small { display: block; font: 700 10px "Chakra Petch"; letter-spacing: 3px; text-transform: uppercase; opacity: .85; } #combo.hot { color: #ffb36a; }
#timer { position: absolute; left: 50%; top: calc(var(--st) + 8px); transform: translateX(-50%); font: 400 20px "Dela Gothic One", "Yuji Boku", serif; letter-spacing: 1px; white-space: nowrap; }
#timer.urgent { color: #ff7a6a; font-size: 30px; }
#hint { position: absolute; left: 8vw; right: 8vw; bottom: 34%; text-align: center; font: 400 19px/1.3 "Dela Gothic One", "Yuji Boku", serif; opacity: 0; transition: opacity .3s; }
#hint.on { opacity: 1; }
#skillBtn { position: absolute; right: calc(var(--sr) + 6px); bottom: calc(var(--sb) + 64px); width: 84px; height: 84px; border-radius: 50%; background: rgba(20,16,13,.5); color: var(--cream); display: grid; place-items: center; }
#skillBtn canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#skillTxt { position: relative; font: 700 11px/1.15 "Chakra Petch"; width: 60px; text-align: center; text-transform: uppercase; letter-spacing: .5px; opacity: .55; }
#skillBtn.ready { background: rgba(23,128,124,.45); box-shadow: 0 0 18px rgba(124,247,255,.5); } #skillBtn.ready #skillTxt { opacity: 1; }
#skillBtn:active { transform: scale(.94); }
#teaBtn { position: absolute; right: calc(var(--sr) + 96px); bottom: calc(var(--sb) + 46px); width: 54px; height: 54px; border-radius: 50%; background: rgba(20,16,13,.5); border: 2px solid rgba(185,255,176,.55); color: #b9ffb0; font: 400 22px "Dela Gothic One", "Yuji Boku", serif; }
#teaBtn b { position: absolute; right: -2px; top: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); font: 700 12px/20px "Chakra Petch"; }
#teaBtn.empty { opacity: .3; }
body.lefty #skillBtn { right: auto; left: calc(var(--sl) + 6px); } body.lefty #teaBtn { right: auto; left: calc(var(--sl) + 96px); }
#hud.zen > :not(#pauseBtn):not(#hint):not(#timer) { display: none; }

/* ---------- toasts, banners ---------- */
#toasts { position: fixed; left: 0; right: 0; top: calc(var(--st) + 96px); z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.toast { background: rgba(20,16,13,.88); color: var(--cream); padding: 8px 16px; border-radius: 3px 12px 3px 12px; border-left: 3px solid var(--red); font-size: 14px; max-width: 86vw; animation: drop .25s; transition: opacity .4s; }
.toast.out, .banner.out, .fragCard.out { opacity: 0; }
@keyframes drop { from { transform: translateY(-10px); opacity: 0; } }
.banner { position: fixed; left: 0; right: 0; top: 27%; z-index: 30; text-align: center; color: var(--cream); pointer-events: none; padding: 16px 8vw; background: linear-gradient(90deg, transparent, rgba(20,16,13,.85) 20%, rgba(20,16,13,.85) 80%, transparent); animation: sweep .45s cubic-bezier(.2,.8,.2,1); transition: opacity .45s; }
.banner b { display: block; font: 400 30px/1.15 "Dela Gothic One", "Yuji Boku", serif; letter-spacing: 2px; } .banner span { display: block; margin-top: 6px; font-size: 14px; opacity: .9; }
@keyframes sweep { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.fragCard { position: fixed; left: 6vw; right: 6vw; bottom: calc(var(--sb) + 170px); z-index: 30; pointer-events: none; padding: 12px 16px; color: var(--ink); background: var(--paper) url(../assets/art/paper.jpg) center/cover; border: 2px solid var(--ink); border-radius: 2px 14px 2px 14px; box-shadow: 0 6px 0 rgba(20,16,13,.5); animation: drop .3s; transition: opacity .5s; }
.fragCard b { font: 400 14px "Dela Gothic One", "Yuji Boku", serif; color: var(--red); letter-spacing: 1px; } .fragCard p { margin: 4px 0 0; font-size: 14px; }
#rot { display: none; position: fixed; inset: 0; z-index: 99; background: var(--ink); color: var(--cream); place-items: center; font: 400 22px "Dela Gothic One", "Yuji Boku", serif; }
@media (orientation: landscape) and (max-height: 520px) { #rot { display: grid; } }

/* ---------- menus ---------- */
#ui { display: none; }
#ui.on { display: flex; flex-direction: column; gap: 12px; position: fixed; inset: 0; z-index: 20; overflow-y: auto; -webkit-overflow-scrolling: touch; touch-action: pan-y; padding: calc(var(--st) + 6px) calc(var(--sr) + 4px) calc(var(--sb) + 18px) calc(var(--sl) + 4px); background: var(--paper) url(../assets/art/paper.jpg) center/cover; }
.btn { min-height: 46px; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 3px 12px 3px 12px; background: rgba(244,236,216,.6); font-weight: 700; transition: transform .08s; }
.btn:active, .row:active, .card:active, .thumb:active, .heroPick:active { transform: scale(.97); }
.btn.big { min-height: 60px; font: 400 26px "Dela Gothic One", "Yuji Boku", serif; letter-spacing: 3px; color: var(--cream); background: var(--red); border-color: var(--ink); box-shadow: 0 5px 0 var(--ink); flex: none; }
.btn.big.done { background: var(--ink); } .btn.ghost { background: transparent; border-style: dashed; flex: none; } .btn.warn { color: var(--red); border-color: var(--red); }
.head { display: flex; align-items: center; gap: 10px; flex: none; } .head h2 { flex: 1; font-size: 26px; }
.back { width: 46px; padding: 0; font-size: 20px; } .coins { font-weight: 700; color: var(--gold); white-space: nowrap; }
.spr { image-rendering: pixelated; display: block; }
.line, .tip { margin: 0; text-align: center; } .tip { font-size: 13px; opacity: .75; } .dim { opacity: .65; }

.title, .home { background: #14100d url(../assets/art/title.jpg) center top/cover !important; color: var(--cream); }
.title::before, .home::before { content: ""; position: fixed; inset: 0; background: linear-gradient(rgba(20,16,13,.15), rgba(20,16,13,.1) 30%, rgba(20,16,13,.88) 72%); pointer-events: none; }
.title > *, .home > * { position: relative; }
.titleScreen { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; text-align: center; padding-bottom: 8vh; }
.logo { font-size: 64px; line-height: .95; text-align: center; text-shadow: 0 3px 0 var(--ink), 0 0 26px rgba(201,56,42,.7); letter-spacing: 1px; }
.logo small { display: block; font: 700 14px "Chakra Petch"; letter-spacing: 12px; text-transform: uppercase; color: var(--cyan); text-shadow: 0 0 10px rgba(124,247,255,.7); margin: 6px 0 6px 12px; }
.logo.sm { font-size: 40px; flex: none; } .logo.sm small { font-size: 10px; letter-spacing: 9px; margin: 2px 0 2px 9px; }
.titleScreen .sub { margin: 10px 0 0; opacity: .9; } .tap { margin-top: 7vh; font: 400 20px "Dela Gothic One", "Yuji Boku", serif; letter-spacing: 3px; animation: breathe 1.6s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: .35; } to { opacity: 1; } }
.top { display: flex; justify-content: space-between; flex: none; font-weight: 700; } .top .coins { color: #ffe08a; } .frags { color: var(--cream); opacity: .9; }
.homeBody { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 0; }
.heroPick { align-self: center; display: flex; flex-direction: column; align-items: center; min-width: 150px; padding: 4px 12px 6px; color: var(--cream); }
.heroPick b { font: 400 22px "Dela Gothic One", "Yuji Boku", serif; } .heroPick span { font-size: 12px; opacity: .8; letter-spacing: 2px; text-transform: uppercase; }
.home .btn { color: var(--cream); border-color: rgba(244,236,216,.55); background: rgba(20,16,13,.55); } .home .btn.big { background: var(--red); border-color: var(--ink); }
.modePick, .modeCard { display: flex; align-items: center; gap: 12px; text-align: left; flex: none; }
.modePick i, .modeCard i { font: 400 34px/1 "Dela Gothic One", "Yuji Boku", serif; font-style: normal; width: 44px; text-align: center; color: var(--red); }
.modePick span, .modeCard span, .row span { flex: 1; display: flex; flex-direction: column; min-width: 0; } .modePick b, .modeCard b { font: 400 20px "Dela Gothic One", "Yuji Boku", serif; } .modePick small, .modeCard small { font-size: 13px; opacity: .85; }
.modePick em { font-style: normal; font-size: 24px; opacity: .7; }
.seg { display: flex; gap: 6px; flex: none; } .seg .btn { flex: 1; padding: 6px 2px; font-size: 13px; min-height: 44px; } .seg .btn.on, .tabs .btn.on { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.seg.wrap { flex-wrap: wrap; align-items: center; margin: -2px 0 4px; } .seg.wrap .btn { flex: 1 0 28%; } .seg .lab { width: 100%; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; opacity: .7; }
.modes .seg .btn.on, .codex .tabs .btn.on, .gear .tabs .btn.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.nav { display: flex; gap: 6px; flex: none; } .nav .btn { flex: 1; padding: 6px 0; font-size: 12px; display: flex; flex-direction: column; align-items: center; min-height: 58px; }
.nav i { font: 400 22px/1.1 "Dela Gothic One", "Yuji Boku", serif; font-style: normal; color: var(--cyan); }
.list { display: flex; flex-direction: column; gap: 8px; }
.modeCard.on, .row.on { background: var(--ink); color: var(--cream); } .modeCard.on i { color: #ff8a70; }

.stage { flex: none; height: 216px; display: grid; place-items: end center; background: radial-gradient(ellipse at 50% 88%, rgba(20,16,13,.35), transparent 60%); } .stage.locked .spr, .thumb.locked .spr { filter: brightness(0) opacity(.75); }
.heroInfo h3 { font-size: 30px; } .heroInfo h3 small { font: 700 12px "Chakra Petch"; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-left: 6px; }
.feel { margin: 2px 0 8px; } .heroInfo ul { list-style: none; padding: 0; margin: 8px 0 0; } .heroInfo li { display: flex; gap: 10px; padding: 5px 0; border-top: 1px solid rgba(20,16,13,.2); font-size: 14px; } .heroInfo li b { width: 44px; color: var(--red); flex: none; }
.bar { display: flex; align-items: center; gap: 10px; margin: 4px 0; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; } .bar span { width: 52px; }
.bar i { flex: 1; height: 8px; border: 2px solid var(--ink); border-radius: 2px 6px 2px 6px; background: linear-gradient(90deg, var(--ink) calc(var(--v) * 100%), transparent 0); }
.lock { text-align: center; margin: 0; padding: 14px; border: 2px dashed var(--ink); border-radius: 3px 12px 3px 12px; font-weight: 700; flex: none; }
.strip { display: flex; gap: 6px; flex: none; overflow-x: auto; padding-bottom: 4px; } .thumb { flex: 1 0 56px; display: flex; flex-direction: column; align-items: center; font-size: 11px; font-weight: 700; padding: 2px 0 4px; border: 2px solid transparent; border-radius: 3px 10px 3px 10px; min-height: 76px; } .thumb.on { border-color: var(--ink); background: rgba(244,236,216,.7); }

.tabs { display: flex; gap: 4px; flex: none; } .tabs .btn { flex: 1; padding: 4px 0; font-size: 13px; min-height: 44px; }
.row { display: flex; align-items: center; gap: 12px; text-align: left; min-height: 62px; padding: 8px 12px; border: 2px solid var(--ink); border-radius: 3px 12px 3px 12px; background: rgba(244,236,216,.6); flex: none; }
.row b { font-size: 16px; } .row small { font-size: 13px; opacity: .9; } .row em { font-style: normal; font-weight: 700; white-space: nowrap; } .row.locked { opacity: .55; border-style: dashed; } .row.poor em { color: var(--red); } .row.on em { color: #ffe08a; }
.ic { flex: none; width: 48px; height: 48px; background: url(../assets/icons.png) 0 0 / 576px auto no-repeat; image-rendering: pixelated; filter: drop-shadow(0 0 4px var(--glow, transparent)); } .row.locked .ic { filter: brightness(0) opacity(.5); }
.capN { flex: none; width: 40px; font-style: normal; color: var(--teal); letter-spacing: 1px; text-align: center; } .row.on .capN { color: var(--cyan); }
.cap { display: flex; align-items: center; gap: 6px; font-weight: 700; flex: none; } .cap span { flex: 1; } .cap i { width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 50%; } .cap i.on { background: var(--teal); }
.dye { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); box-shadow: inset 0 0 0 3px var(--cream); }
.fragGrid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; flex: none; } .frag { aspect-ratio: 1; min-height: 38px; border: 2px dashed rgba(20,16,13,.35); border-radius: 2px 8px 2px 8px; font-weight: 700; opacity: .6; } .frag.got { border: 2px solid var(--ink); background: rgba(244,236,216,.7); opacity: 1; } .frag.sel { background: var(--red); color: var(--cream); }
.fragRead { margin: 0; min-height: 92px; padding: 12px 14px; border-left: 4px solid var(--red); background: rgba(244,236,216,.55); font-size: 15px; flex: none; } .fragRead b { font: 400 22px "Dela Gothic One", "Yuji Boku", serif; color: var(--red); margin-right: 10px; }
.foes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .foe { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 112px; padding: 4px; border: 2px solid var(--ink); border-radius: 2px 10px 2px 10px; background: rgba(244,236,216,.5); font-size: 11px; font-weight: 700; text-align: center; overflow: hidden; } .foe.boss { grid-column: span 3; min-height: 170px; font: 400 17px "Dela Gothic One", "Yuji Boku", serif; } .foe.unseen { border-style: dashed; opacity: .5; } .q { font: 400 34px "Dela Gothic One", "Yuji Boku", serif; font-style: normal; flex: 1; display: grid; place-items: center; }
.mast { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 0; border-bottom: 1px solid rgba(20,16,13,.2); } .mast b { font: 400 20px "Dela Gothic One", "Yuji Boku", serif; } .mast em { font-style: normal; font-weight: 700; color: var(--red); align-self: end; } .mast .bar, .mast small { grid-column: span 2; } .mast small { opacity: .7; }
.stat { display: flex; justify-content: space-between; gap: 12px; padding: 7px 2px; border-bottom: 1px solid rgba(20,16,13,.2); } .stat b { text-align: right; } .stat.unl b { color: var(--red); }
.opts { display: flex; flex-direction: column; gap: 8px; flex: none; } .opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 50px; padding: 6px 12px; border: 2px solid currentColor; border-radius: 3px 12px 3px 12px; text-align: left; font-weight: 700; }
.opt small { display: block; font-size: 12px; opacity: .7; } .opt em { font-style: normal; min-width: 30px; text-align: right; opacity: .6; } .opt.on em { opacity: 1; color: var(--teal); } .veil .opt.on em { color: var(--cyan); }
.opt input { flex: 1; max-width: 62%; height: 30px; accent-color: var(--red); }
.credits { font-size: 13px; opacity: .85; } .credits h3 { font-size: 20px; } .credits p { margin: 6px 0; }

/* ---------- overlays in a run ---------- */
.over { position: fixed; inset: 0; z-index: 25; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: calc(var(--st) + 12px) calc(var(--sr) + 6px) calc(var(--sb) + 18px) calc(var(--sl) + 6px); overflow-y: auto; touch-action: pan-y; animation: fadeIn .2s; }
.veil { background: rgba(20,16,13,.78); color: var(--cream); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); } .veil h2 { text-align: center; font-size: 28px; letter-spacing: 2px; flex: none; }
.veil .btn { border-color: rgba(244,236,216,.6); background: rgba(244,236,216,.08); color: var(--cream); } .veil .btn.big { background: var(--red); border-color: var(--ink); } .veil .btn.warn { color: #ff8a70; border-color: #ff8a70; }
@keyframes fadeIn { from { opacity: 0; } }
.pause { justify-content: flex-start; } .where { text-align: center; margin: 0; opacity: .8; }
.cards { display: flex; flex-direction: column; gap: 10px; opacity: .55; transition: opacity .2s; } .cards.ready { opacity: 1; }
.card { position: relative; text-align: left; padding: 12px 14px 12px 18px; min-height: 96px; color: var(--ink); background: var(--paper) url(../assets/art/paper.jpg) center/cover; border: 2px solid var(--ink); border-radius: 2px 16px 2px 16px; box-shadow: 0 5px 0 rgba(0,0,0,.5); animation: rise .35s backwards; }
.card:nth-child(2) { animation-delay: .07s; } .card:nth-child(3) { animation-delay: .14s; } .card:nth-child(4) { animation-delay: .21s; }
@keyframes rise { from { transform: translateY(26px); opacity: 0; } }
.card i { position: absolute; right: -2px; top: -2px; padding: 3px 12px; color: var(--cream); font: 700 11px "Chakra Petch"; letter-spacing: 2px; text-transform: uppercase; border-radius: 0 14px 0 10px; }
.card b { display: block; font: 400 23px "Dela Gothic One", "Yuji Boku", serif; padding-right: 64px; } .card p { margin: 3px 0 0; font-size: 15px; } .card em { display: inline-block; margin-top: 6px; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; flex: none; } .chips span { padding: 3px 10px; font-size: 12px; border: 2px solid; border-radius: 2px 9px 2px 9px; background: rgba(244,236,216,.1); }

/* ---------- end of run ---------- */
.end { background: #14100d url(../assets/art/gameover.jpg) center top/cover !important; color: var(--cream); justify-content: flex-end; }
.end.win { background-image: url(../assets/art/title.jpg) !important; }
.end::before { content: ""; position: fixed; inset: 0; background: linear-gradient(rgba(20,16,13,.2), rgba(20,16,13,.9) 55%); pointer-events: none; } .end > * { position: relative; flex: none; }
.endBox h1 { font-size: 44px; line-height: 1.05; text-shadow: 0 3px 0 var(--ink); } .endBox .sub { margin: 6px 0 14px; opacity: .9; }
.score { display: flex; align-items: baseline; gap: 12px; } .score span { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; opacity: .8; } .score b { font: 400 46px/1 "Dela Gothic One", "Yuji Boku", serif; color: #ffe08a; } .score em { font-style: normal; font-weight: 700; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); background: var(--cyan); padding: 2px 8px; border-radius: 2px 8px 2px 8px; }
.end .stat { border-color: rgba(244,236,216,.25); } .end .stat.unl b { color: var(--cyan); } .end .btn { color: var(--cream); border-color: rgba(244,236,216,.6); } .end .btn.big { border-color: var(--ink); }
#load { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--ink); color: var(--cream); font: 400 20px "Dela Gothic One", "Yuji Boku", serif; letter-spacing: 3px; }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .01s !important; } }
