/* KiWE Thunderbolt: game page (hand-drawn KiWEDOGO look over a full-screen canvas) */
@font-face { font-family: "Gochi Hand"; font-display: swap; src: url("/assets/brand-20261013/gochi-hand.woff") format("woff"); }
:root {
  --ink: #1c1c1c; --paper: #fffdf7; --kiwi: #b9dc63; --citrus: #f7e27a; --dome: #e9f4fb; --seed: #8dbb3f;
  --sans: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  --wobble: 22px 12px 20px 14px / 14px 20px 12px 22px; --wobble-sm: 14px 6px 12px 7px / 7px 12px 6px 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* .btn / .post-box set display, which would otherwise beat the hidden attribute */
html, body { margin: 0; height: 100%; overflow: hidden; background: #0d1022; color: var(--ink); font-family: var(--sans);
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
canvas#game { position: fixed; inset: 0; display: block; width: 100%; height: 100%; }

/* loading, flash */
.loading { position: fixed; inset: 0; display: grid; place-items: center; margin: 0; color: #dfe9ff; font: 400 28px "Gochi Hand", var(--sans); }
.flash { position: fixed; inset: 0; background: #fffbe8; opacity: 0; pointer-events: none; mix-blend-mode: screen; }

/* HUD: phones get a top bar over the field; desktops get two panels beside it (the field is --fl/--fw/--ft/--fh) */
.hud { position: fixed; inset: 0; pointer-events: none; font-weight: 800; color: #fff; text-shadow: 0 2px 0 var(--ink), 0 -1px 0 var(--ink), 1px 0 0 var(--ink), -1px 0 0 var(--ink); }
.hud p { margin: 0; }
.h-score { font-variant-numeric: tabular-nums; }
.h-combo { color: var(--citrus); }
.h-lives { color: #ff8a95; letter-spacing: 1px; }
.h-sector { color: #9fd3f2; }
.round { pointer-events: auto; position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--paper); font: 800 13px var(--sans); color: var(--ink); text-shadow: none; cursor: pointer; }
.bossbar { position: absolute; height: 12px; border: 2.5px solid var(--ink); border-radius: 999px; background: rgba(0, 0, 0, 0.45); overflow: hidden; }
.bossbar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #ff5f7a, #ffb347); transition: width 0.15s; }
.journey { display: none; }
.weapon-bar { width: 120px; height: 7px; border: 2px solid var(--ink); border-radius: 999px; background: rgba(0, 0, 0, 0.45); overflow: hidden; }
.weapon-bar i { display: block; height: 100%; background: linear-gradient(90deg, #4be1ff, #b9dc63); }
body.phone .weapon-bar { position: fixed; left: 14px; bottom: calc(env(safe-area-inset-bottom) + 38px); }

body.phone .hud-l, body.phone .hud-r { position: absolute; top: calc(env(safe-area-inset-top) + 10px); display: flex; flex-direction: column; gap: 1px; }
body.phone .hud-l { left: 14px; } body.phone .hud-r { right: 64px; text-align: right; }
body.phone .h-label, body.phone .h-keys { display: none; }
body.phone .h-score { font-size: 22px; }
body.phone .hud p { font-size: 13px; }
body.phone .h-weapon { position: fixed; left: 14px; bottom: calc(env(safe-area-inset-bottom) + 16px); }
body.phone #pauseBtn { top: calc(env(safe-area-inset-top) + 10px); right: 12px; }
body.phone #soundBtn { top: calc(env(safe-area-inset-top) + 60px); right: 12px; width: 38px; height: 38px; font-size: 16px; }
body.phone #musicBtn { top: calc(env(safe-area-inset-top) + 104px); right: 12px; width: 38px; height: 38px; font-size: 16px; }
.round.off { opacity: 0.45; filter: grayscale(1); }
.title-btns { display: flex; gap: 6px; }
body.phone #bombBtn { right: 14px; bottom: calc(env(safe-area-inset-bottom) + 14px); width: 62px; height: 62px; background: #ff8a95; }
body.phone .bossbar { left: 50%; translate: -50% 0; width: min(60vw, 260px); top: calc(env(safe-area-inset-top) + 64px); }

body.desk .hud-l, body.desk .hud-r { position: absolute; top: calc(var(--ft) + 8px); display: flex; flex-direction: column; gap: 8px; width: max(150px, calc(var(--fl) - 56px)); max-width: 300px; }
body.desk .hud-l { right: calc(100vw - var(--fl) + 28px); text-align: right; align-items: flex-end; }
body.desk .hud-r { left: calc(var(--fl) + var(--fw) + 28px); }
body.desk .h-label { font: 400 20px "Gochi Hand", var(--sans); color: var(--citrus); }
body.desk .h-score { font-size: clamp(30px, 3vw, 46px); line-height: 1; }
body.desk .h-level { font-size: 22px; }
body.desk .h-sector, body.desk .h-combo, body.desk .h-weapon, body.desk .h-bombs { font-size: 17px; }
body.desk .h-lives { font-size: 26px; }
body.desk .h-keys { margin-top: 18px; font-size: 13px; font-weight: 700; color: #c9d4ff; text-shadow: none; line-height: 1.6; }
body.desk .journey { display: grid; gap: 4px; list-style: none; margin: 16px 0 0; padding: 0; font-size: 13px; text-shadow: none; }
body.desk .journey li { position: relative; padding: 4px 22px 4px 10px; border-radius: 10px; color: #8c96c4; background: rgba(255, 255, 255, 0.04); font-weight: 700; }
body.desk .journey li::after { content: ""; position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 8px; height: 8px; border-radius: 50%; background: #3a4370; border: 2px solid #8c96c4; }
body.desk .journey li.done { color: #b9dc63; }
body.desk .journey li.done::after { background: #b9dc63; border-color: #b9dc63; }
body.desk .journey li.now { color: #fff; background: linear-gradient(90deg, rgba(247, 226, 122, 0.08), rgba(247, 226, 122, 0.28) calc(var(--p, 0) * 100%), rgba(255, 255, 255, 0.05) calc(var(--p, 0) * 100%)); outline: 2px solid var(--citrus); }
body.desk .journey li.now::after { background: var(--citrus); border-color: #fff; box-shadow: 0 0 10px var(--citrus); }
body.desk #pauseBtn { top: calc(var(--ft) + 8px); left: calc(var(--fl) + var(--fw) - 56px); }
body.desk #soundBtn { top: calc(var(--ft) + 8px); left: calc(var(--fl) + var(--fw) - 108px); }
body.desk #musicBtn { top: calc(var(--ft) + 8px); left: calc(var(--fl) + var(--fw) - 160px); }
.title-top { display: flex; align-items: center; justify-content: space-between; }
.title-top .round { position: static; width: 38px; height: 38px; font-size: 16px; }
body.desk #bombBtn { display: none; }
body.desk .bossbar { left: calc(var(--fl) + 24px); width: calc(var(--fw) - 96px); top: calc(var(--ft) + 22px); }

/* announcements over the field */
.banner { position: fixed; left: var(--fl, 0); width: var(--fw, 100vw); top: calc(var(--ft, 0px) + var(--fh, 100vh) * 0.32); margin: 0; text-align: center; pointer-events: none;
  font: 400 clamp(28px, 7vw, 46px)/1.15 "Gochi Hand", var(--sans); color: #fff; padding: 0 16px;
  text-shadow: 0 3px 0 var(--ink), 0 -2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 0 24px rgba(159, 211, 242, 0.7); }
.banner.warn { color: #ff8a95; text-shadow: 0 3px 0 var(--ink), 0 -2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 0 24px rgba(255, 95, 122, 0.8); }
.banner.on { animation: banner 2.2s ease both; }
@keyframes banner { 0% { opacity: 0; transform: scale(0.7); } 12% { opacity: 1; transform: scale(1.06); } 20% { transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px); } }

/* screens */
.screen { position: fixed; inset: 0; display: grid; place-items: center; padding: 16px; overflow-y: auto; background: rgba(7, 11, 31, 0.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); touch-action: pan-y; }
/* title: the saucer you picked hovers above the card (phones) or beside it (desktops) */
.title-screen { background: linear-gradient(rgba(7, 11, 31, 0), rgba(7, 11, 31, 0.55) 34%); -webkit-backdrop-filter: none; backdrop-filter: none; place-items: end center; padding-top: 30vh; }
body.desk .title-screen { background: linear-gradient(90deg, rgba(7, 11, 31, 0) 40%, rgba(7, 11, 31, 0.6)); place-items: center end; padding: 24px clamp(24px, 6vw, 96px) 24px 24px; }
body.desk .title-screen .card { width: min(440px, calc(100vw - var(--fl) - var(--fw) - 40px)); min-width: 360px; max-height: calc(100vh - 48px); overflow-y: auto; }
.screen[hidden] { display: none; }
.card { width: min(100%, 440px); background: var(--paper); border: 3px solid var(--ink); border-radius: var(--wobble); padding: 20px 20px 18px; box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25); }
.card.center { text-align: center; }
.card h1 { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; font: 400 34px/1.1 "Gochi Hand", var(--sans); }
.card h2 { margin: 4px 0 10px; font-size: 26px; }
.back { display: inline-block; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration-color: var(--seed); text-underline-offset: 4px; margin: 6px 0; }
.best { margin: 0 0 12px; color: #4d4b46; font-size: 14px; }
.ver-line { display: block; margin: -8px 0 12px; color: #7a766d; font-size: 12px; text-decoration: none; }
.ver-line:hover, .ver-line:focus-visible { color: #4d4b46; text-decoration: underline; }
.ver-line[hidden] { display: none; }
.label { margin: 14px 0 6px; font-weight: 800; font-size: 14px; }
.field { display: grid; gap: 6px; margin: 12px 0 0; font-weight: 800; font-size: 14px; }
.field input, .field select { font: 600 16px var(--sans); padding: 10px 12px; border: 2.5px solid var(--ink); border-radius: var(--wobble-sm); background: #fff; color: var(--ink); }
.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pick { display: grid; justify-items: center; gap: 2px; padding: 8px 6px 10px; border: 2.5px solid var(--ink); border-radius: var(--wobble-sm); background: #fff; cursor: pointer; font: inherit; color: var(--ink); }
.pick.on { background: var(--citrus); }
.pick:disabled { opacity: 0.55; cursor: default; }
.pick img { width: 64px; height: 64px; object-fit: contain; }
.pick b { font-size: 13px; line-height: 1.2; text-align: center; } .pick span { font-size: 10px; line-height: 1.35; color: #4d4b46; text-align: center; }
.swatches { display: grid; gap: 8px; }
/* nine colours and a custom picker share one row at any width: they shrink on narrow phones instead of wrapping */
.swrow { display: grid; grid-template-columns: repeat(10, minmax(0, 30px)); justify-content: space-between; align-items: center; gap: 6px 4px; }
.swrow > span { grid-column: 1 / -1; font-size: 13px; font-weight: 700; }
.sw { width: 100%; max-width: 26px; aspect-ratio: 1; justify-self: center; border-radius: 50%; border: 2px solid var(--ink); cursor: pointer; padding: 0; }
.sw.on { outline: 2.5px solid var(--seed); outline-offset: 1.5px; }
.swrow input[type="color"] { width: 100%; max-width: 30px; height: auto; aspect-ratio: 1; justify-self: center; border: 2px solid var(--ink); border-radius: 50%; padding: 0; background: none; cursor: pointer; }
.btn { display: block; width: 100%; margin: 10px 0 0; padding: 12px 16px; font: 800 17px var(--sans); color: var(--ink); background: #fff; border: 2.5px solid var(--ink); border-radius: var(--wobble-sm); cursor: pointer; }
.btn.hot { background: var(--citrus); }
.btn:active, .round:active { transform: translateY(2px); }
.btn:focus-visible, .pick:focus-visible, .sw:focus-visible, .round:focus-visible { outline: 3px solid var(--seed); outline-offset: 3px; }
.hint { margin: 10px 0 0; font-size: 12px; color: #4d4b46; text-align: center; }
.big { margin: 0; font: 900 48px/1.1 var(--sans); font-variant-numeric: tabular-nums; }
.lvl { margin: 4px 0; font-weight: 800; color: #4d7a1f; }
.note { min-height: 1.2em; margin: 6px 0; font-weight: 800; color: #c2410c; }
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 90px); translate: -50% 0; padding: 8px 16px; background: var(--ink); color: #fff; border-radius: 999px; font-weight: 700; font-size: 14px; z-index: 9; }
.wall { margin-top: 14px; border-top: 2px dashed #d9d3c3; padding-top: 10px; }

/* score wall, posting and challenges (wall.js) */
.challenge { margin: 4px 0 8px; padding: 8px 12px; font-weight: 800; background: var(--citrus); border: 2.5px solid var(--ink); border-radius: var(--wobble-sm); }
.post-box { margin-top: 10px; display: grid; justify-items: center; gap: 8px; }
.post-box .hint { margin: 0; }
.gsi { width: 100%; display: flex; justify-content: center; min-height: 44px; }
.post-msg { min-height: 1.2em; margin: 8px 0 0; font-weight: 800; color: #4d7a1f; }
.post-msg:empty { display: none; }
.nick-fix { text-align: left; }
.wall-list { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 2px; }
.wall-list li { display: grid; grid-template-columns: 24px 14px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 1px dashed #e4dece; font-size: 14px; }
.wall-list li:last-child { border-bottom: 0; }
.wall-list li.me { background: #fff6c9; border-radius: 8px; }
.wall-list .rk { text-align: center; font-variant-numeric: tabular-nums; }
.wall-list li:nth-child(-n+3) .rk { color: #c2410c; }
.wall-list .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 2px solid var(--ink); }
.wall-list .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--ink); text-decoration: none; }
.wall-list .sc { font-weight: 800; font-variant-numeric: tabular-nums; }
.wall-list .lv { color: #6b675e; font-size: 12px; }
.fine-link { display: inline-block; margin-top: 4px; font-size: 12px; color: #4d4b46; }

/* share sheet */
.share-screen { z-index: 8; }
.share-screen .card { position: relative; }
.share-x { top: 10px; right: 10px; width: 38px; height: 38px; }
.share-screen h2 { margin: 2px 44px 10px; }
.fmt-row { display: inline-flex; gap: 6px; padding: 4px; border: 2.5px solid var(--ink); border-radius: 999px; background: #fff; margin-bottom: 10px; }
.fmt-btn { font: 800 14px var(--sans); color: var(--ink); background: none; border: 0; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.fmt-btn.on { background: var(--citrus); box-shadow: inset 0 0 0 2px var(--ink); }
.share-preview { display: grid; place-items: center; min-height: 160px; }
.share-loading { margin: 0; font-weight: 800; color: #4d4b46; }
.share-img { display: block; width: auto; height: auto; max-width: 100%; max-height: 46vh; border: 2.5px solid var(--ink); border-radius: 12px; }
.share-img.story { max-height: 52vh; }
.share-main { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin-top: 10px; }
.share-main .btn { margin: 0; }
.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 0; }
.share-to { display: grid; justify-items: center; gap: 4px; padding: 8px 2px 6px; font: 700 12px var(--sans); color: var(--ink); text-decoration: none;
  background: #fff; border: 2.5px solid var(--ink); border-radius: var(--wobble-sm); cursor: pointer; }
.share-to i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); font: 900 14px/1 var(--sans); font-style: normal; color: #fff; }
.share-to.threads i, .share-to.x i { background: #111; }
.share-to.line i { background: #06c755; }
.share-to.fb i { background: #1877f2; }
.share-to:active { transform: translateY(2px); }
.share-to:focus-visible, .fmt-btn:focus-visible { outline: 3px solid var(--seed); outline-offset: 3px; }
.share-note { text-align: left; line-height: 1.55; }
.over-wall { text-align: left; }
.wall-list li.you-at { justify-content: center; display: block; text-align: center; font-weight: 800; color: #4d7a1f; }

/* ---------- phone controls: the thumb-stick pad (preview) ---------- */
.pad { position: fixed; left: 0; right: 0; bottom: 0; z-index: 4; box-sizing: border-box; height: calc(150px + env(safe-area-inset-bottom)); padding: 10px 20px calc(env(safe-area-inset-bottom) + 10px);
  display: flex; align-items: center; gap: 14px; background: linear-gradient(180deg, rgba(8, 10, 20, 0.45), rgba(8, 10, 20, 0.9)); border-top: 1.5px solid rgba(255, 255, 255, 0.12); touch-action: none; }
.pad[hidden] { display: none; }
body.pad-right .pad { flex-direction: row-reverse; }
.pad-zone { flex: 1; align-self: stretch; display: flex; align-items: center; }
body.pad-right .pad-zone { justify-content: flex-end; }
.pad-base { position: relative; will-change: transform; width: 118px; height: 118px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0 52%, rgba(255, 255, 255, 0.1) 53% 100%);
  border: 2px solid rgba(255, 255, 255, 0.22); box-shadow: inset 0 6px 18px rgba(0, 0, 0, 0.5); }
.pad-knob { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #4a4e5c 0 34%, #2a2d37 35% 62%, #1b1d25 63%); border: 2px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.55), inset 0 2px 0 rgba(255, 255, 255, 0.12); transition: transform 0.12s ease-out; }
.pad-base.on { border-color: rgba(185, 220, 99, 0.6); }
.pad-base.on .pad-knob { transition: none; }
.pad-btns { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pad-bomb { position: relative; width: 76px; height: 76px; border-radius: 50%; border: 2.5px solid var(--ink); background: #ff8a95; color: var(--ink); font-size: 30px; line-height: 1; box-shadow: 0 5px 0 var(--ink); cursor: pointer; }
.pad-bomb:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); }
.pad-bomb b { position: absolute; right: -8px; bottom: -6px; font: 800 13px var(--sans); background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 1px 6px; }
.pad-swap { min-width: 44px; height: 30px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); color: #fff; font: 700 15px var(--sans); cursor: pointer; }
body.pad-on #bombBtn { display: none; }
body.pad-on .h-weapon { bottom: calc(var(--padh) + 10px); }
/* the choice on the title card (phones only) */
.ctrl-row { margin: 0 0 12px; }
.ctrl-row .seg { display: flex; gap: 6px; }
.ctrl-row .seg button { flex: 1; padding: 9px 4px; border: 2.5px solid var(--ink); border-radius: var(--wobble-sm); background: #fff; color: var(--ink); font: 700 13px var(--sans); cursor: pointer; }
.ctrl-row .seg button.on { background: var(--citrus); }
body.desk .ctrl-row { display: none; }
/* countdown chips for power-ups that run out */
body.buffs-on #weaponBar { display: none !important; }
.buffs { display: flex; flex-direction: column; gap: 5px; }
.buffs:empty { display: none; }
.buff { position: relative; display: flex; align-items: center; gap: 8px; min-width: 128px; padding: 4px 10px 6px 22px; border: 2px solid var(--ink); border-radius: 999px; background: rgba(12, 14, 24, 0.72); overflow: hidden; font-size: 13px; }
.buff::before { content: ''; position: absolute; left: 8px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.buff span { flex: 1; } .buff b { font-variant-numeric: tabular-nums; }
.buff i { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--k) * 100%); background: var(--c); opacity: 0.85; }
.buff.low b { color: #ffcf6b; }
body.phone .buffs { position: fixed; left: 14px; bottom: calc(env(safe-area-inset-bottom) + 40px); align-items: flex-start; text-align: left; }
body.phone.pad-on .buffs { bottom: calc(var(--padh) + 36px); }
body.desk .buffs { align-items: flex-start; }
body.pad-on .toast { bottom: calc(var(--padh) + 120px); }
.auto-note { margin: 6px 0 0; text-align: left; line-height: 1.5; }
.wall-list .nm { display: flex; align-items: baseline; gap: 5px; min-width: 0; }
.wall-list .nm .nk { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wall-list .nm .tag { flex: none; font: 600 11px var(--sans); color: #8a867c; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
/* narrow phones (≈320 px): the share sheet title stays on one line, share labels fit their buttons */
@media (max-width: 360px) {
  .share-screen h2 { font-size: 20px; margin: 4px 40px 10px; }
  .share-to { font-size: 11px; }
  .share-grid { gap: 6px; }
}
/* colours: a turntable stage, like a character creator: the saucer turns, drag it to look from any side */
.paint { position: relative; }
.paint-stage { position: relative; height: clamp(170px, 52vw, 220px); margin: 0 0 10px; border: 2.5px solid var(--ink); border-radius: var(--wobble-sm); overflow: hidden;
  background: radial-gradient(ellipse 70% 55% at 50% 38%, #3b4f8f 0%, #1b2550 55%, #0c1230 100%); }
.paint-stage::after { content: ''; position: absolute; left: 18%; right: 18%; bottom: 10%; height: 16%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(159, 211, 242, 0.35), rgba(159, 211, 242, 0) 70%); }
.paint-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; z-index: 1; }
.paint-canvas:active { cursor: grabbing; }
.paint-hint { position: absolute; right: 8px; bottom: 6px; z-index: 2; padding: 2px 8px; border-radius: 999px; background: rgba(10, 12, 24, 0.6); color: #e8ecf6; font: 700 11px var(--sans); pointer-events: none; }
/* the arcade account under the call sign */
.acct { margin: 8px 0 0; }
.acct-note { margin: 0 0 8px; text-align: left; line-height: 1.5; }
.acct-gsi { min-height: 44px; display: flex; justify-content: center; }
.acct-on { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 4px; margin: 0; padding: 8px 10px; border: 2px dashed var(--seed); border-radius: 12px; background: #f4f9e6; font-size: 13px; }
.acct-on b { font-size: 14px; } .acct-on .tag { color: #8a867c; font-weight: 600; }
.acct-acts { display: flex; gap: 6px; margin-left: auto; }
.acct-btn { padding: 3px 10px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; font: 700 12px var(--sans); cursor: pointer; color: var(--ink); white-space: nowrap; }
.acct-btn.hot { background: var(--citrus); }
#nick.locked { background: #f3f0e6; color: #4d4b46; cursor: default; }
/* phones (preview): a slim journey bar under the region name, the whole journey on the pause card */
.jr-bar, .pause-journey { display: none; }
body.jr-mini.phone .jr-bar { display: flex; gap: 2px; width: 120px; height: 6px; margin: 4px 0 0; }
.jr-bar i { flex: 1; border-radius: 2px; background: rgba(140, 150, 196, 0.35); box-shadow: 0 0 0 1px rgba(10, 12, 24, 0.6); }
.jr-bar i.done { background: #b9dc63; }
.jr-bar i.now { background: linear-gradient(90deg, var(--citrus) calc(var(--p, 0) * 100%), rgba(247, 226, 122, 0.25) calc(var(--p, 0) * 100%)); box-shadow: 0 0 0 1px rgba(10, 12, 24, 0.6), 0 0 6px rgba(247, 226, 122, 0.6); }
body.jr-mini.phone .pause-journey { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 6px; list-style: none; margin: 4px 0 14px; padding: 0; text-align: left; font-size: 13px; font-weight: 700; }
.pause-journey li { position: relative; padding: 5px 8px 5px 22px; border-radius: 10px; background: #f1ede1; color: #8a867c; }
.pause-journey li::before { content: ''; position: absolute; left: 8px; top: 50%; translate: 0 -50%; width: 8px; height: 8px; border-radius: 50%; border: 2px solid #b5b0a3; background: #fff; }
.pause-journey li.done { color: #4f7a12; } .pause-journey li.done::before { background: #8dbb3f; border-color: #8dbb3f; }
.pause-journey li.now { color: var(--ink); background: linear-gradient(90deg, rgba(247, 226, 122, 0.9) calc(var(--p, 0) * 100%), #fff7cf calc(var(--p, 0) * 100%)); outline: 2px solid var(--ink); }
.pause-journey li.now::before { background: var(--citrus); border-color: var(--ink); }
#pauseScreen:not([hidden]) ~ .toast, #overScreen:not([hidden]) ~ .toast { visibility: hidden; }   /* a toast never sits on top of the pause or game-over buttons */
