:root {
  --brand: #D4AF5A;
  --brand2: #F2D58A;
  --bg: #15100C;
  --ink: #F6F2EA;
  --muted: #CDBFA9;
  --soft: #e6dccb;
  --card: rgba(30, 22, 17, 0.84);
  --card2: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 240, 210, 0.12);
  --good: #4fd18b;
  --bad: #ff6b5a;
  --radius: 20px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; background: var(--bg); overflow: hidden; }
button, input { font: inherit; color: inherit; }
a { color: var(--brand); }
img { max-width: 100%; }

#stage { position: fixed; inset: 0; z-index: 0; }
#stage canvas { width: 100%; height: 100%; display: block; touch-action: none; }
#flash { position: fixed; inset: 0; z-index: 4; pointer-events: none; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 60%); opacity: 0; }
#flash.go { animation: flash .7s ease-out; }
@keyframes flash { 0% { opacity: .9; } 100% { opacity: 0; } }

/* ---------- screens ---------- */
.screen { position: fixed; inset: 0; z-index: 2; display: none; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.screen.active { display: flex; animation: screenIn .45s cubic-bezier(.2, .9, .3, 1); }
@keyframes screenIn { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.card { background: var(--card); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; width: 100%; max-width: 520px; box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06); margin: auto; }
.card.small { max-width: 420px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--brand); margin: 0 0 8px; font-weight: 700; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(38px, 6.4vw, 64px); line-height: .98; margin: 0 0 14px; letter-spacing: -.01em; background: linear-gradient(180deg, #fff6df, var(--brand) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { margin: 0 0 14px; font-size: 28px; }
h3 { margin: 0 0 12px; }
.lead { color: var(--soft); font-size: 18px; line-height: 1.5; margin: 0 0 22px; max-width: 34ch; }
.brandmark { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--brand2); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.crest { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(140deg, var(--brand2), var(--brand) 60%, #9a6b3c); color: #1E1611; font-size: 20px; letter-spacing: 0; box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 40%, transparent); }

/* ---------- sign-up ---------- */
.photo-screen { background: linear-gradient(90deg, rgba(12,8,5,.94) 0%, rgba(12,8,5,.72) 48%, rgba(12,8,5,.35) 100%), url(../img/hero-wide.webp) center/cover no-repeat; }
.signup-wrap { width: 100%; max-width: 1080px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; margin: auto; }
.signup-pitch { animation: rise .7s .05s both cubic-bezier(.2,.9,.3,1); }
.signup-card { animation: rise .7s .2s both cubic-bezier(.2,.9,.3,1); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.perks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; align-items: center; animation: rise .6s both; animation-delay: calc(.35s + var(--i) * .08s); }
.perks .pk { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 16%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); color: var(--brand2); font-size: 18px; }
.perks b { display: block; }
.perks small { color: var(--muted); }
.coach-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.coach-chip img { border-radius: 50%; object-fit: cover; border: 2px solid var(--brand); }
form { display: grid; gap: 12px; }
.parent-note { margin: 0; padding: 10px 12px; border-radius: 12px; font-size: 13px; color: var(--soft); background: color-mix(in srgb, var(--brand) 10%, transparent); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
label { display: grid; gap: 6px; font-size: 14px; color: var(--soft); }
label .opt { color: var(--muted); }
input[type=email], input[type=tel], input:not([type]) { background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 30%, transparent); }
label.check { grid-template-columns: 20px 1fr; align-items: start; gap: 10px; font-size: 13px; color: var(--muted); }
label.check input, .switch input { margin-top: 2px; accent-color: var(--brand); width: 18px; height: 18px; }
.err { color: var(--bad); min-height: 1em; margin: 0; font-size: 14px; }
.fine { font-size: 12px; color: var(--muted); text-align: center; margin: 8px 0 0; }

/* ---------- buttons ---------- */
.btn { border: 0; border-radius: 12px; padding: 12px 18px; cursor: pointer; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .12s ease, background .2s, box-shadow .2s, filter .2s; position: relative; overflow: hidden; }
.btn:active { transform: scale(.96); }
.btn.primary { background: linear-gradient(180deg, var(--brand2), var(--brand)); color: #1E1611; box-shadow: 0 8px 24px color-mix(in srgb, var(--brand) 35%, transparent); }
.btn.primary:hover { filter: brightness(1.06); box-shadow: 0 10px 30px color-mix(in srgb, var(--brand) 50%, transparent); }
.btn.shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: shine 3.6s 1.2s infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn.ghost { background: rgba(255,255,255,.08); border: 1px solid var(--line); }
.btn.ghost:hover { background: rgba(255,255,255,.15); }
.btn.big { padding: 16px; font-size: 17px; }
.btn.sm { padding: 8px 12px; font-size: 14px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.06); cursor: pointer; font-size: 18px; color: var(--brand2); transition: transform .2s, background .2s; }
.icon-btn:hover { background: rgba(255,255,255,.14); transform: rotate(20deg); }
.btn:focus-visible, .mode:focus-visible, .seg button:focus-visible, .qz-opts button:focus-visible, .bot:focus-visible, .theme:focus-visible, .icon-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.row { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }

/* ---------- menu ---------- */
.menu-card { max-width: 860px; }
.menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.menu-top .brandmark { margin: 0; }
.top-actions { display: flex; gap: 8px; }
.menu-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: end; margin-top: 12px; }
.menu-head h2 { margin: 0; font-size: 32px; }
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: 18px; }
.stats div { text-align: center; }
.stats b { display: block; font-size: 24px; font-variant-numeric: tabular-nums; color: var(--brand2); }
.stats span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.xpbar { height: 8px; background: rgba(255,255,255,.08); border-radius: 99px; margin: 16px 0 6px; overflow: hidden; }
.xpbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--brand2), var(--brand)); background-size: 200% 100%; transition: width 1s cubic-bezier(.2,.9,.3,1); animation: bar 3s linear infinite; }
@keyframes bar { to { background-position: -200% 0; } }
.sec { margin: 22px 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.mode { position: relative; overflow: hidden; text-align: left; background: var(--card2); border: 1px solid var(--line); border-radius: 16px; padding: 16px; cursor: pointer; display: grid; gap: 4px; align-content: start; transition: transform .2s cubic-bezier(.2,.9,.3,1), border-color .2s, background .2s, box-shadow .2s; animation: rise .5s both; animation-delay: calc(var(--i, 0) * .045s); }
.mode:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 70%, transparent); background: rgba(255,255,255,.08); box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.mode .ic { font-size: 26px; color: var(--brand); line-height: 1; }
.mode b { font-size: 16px; }
.mode small { color: var(--muted); line-height: 1.4; }
.mode.photo { min-height: 150px; padding: 0; color: #fff; }
.mode.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.9,.3,1); }
.mode.photo:hover img { transform: scale(1.06); }
.mode.photo .mode-txt { position: relative; display: grid; gap: 4px; align-content: end; height: 100%; padding: 16px; background: linear-gradient(180deg, rgba(10,7,4,.05) 0%, rgba(10,7,4,.55) 45%, rgba(10,7,4,.92) 100%); }
.mode.photo small { color: #e9dfcf; }
.mode.featured { grid-column: 1 / -1; min-height: 190px; border-color: color-mix(in srgb, var(--brand) 60%, transparent); }
.mode.featured b { font-size: 22px; font-family: var(--serif); }
.mode.featured .mode-txt { background: linear-gradient(90deg, rgba(10,7,4,.95) 0%, rgba(10,7,4,.7) 45%, rgba(10,7,4,.1) 100%); max-width: 100%; }
.mode.featured small { max-width: 44ch; }
.mode .tagline { color: var(--brand2); font-size: 12px; font-weight: 700; }
.badges-wrap { margin-top: 6px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { padding: 6px 10px; border-radius: 99px; font-size: 13px; border: 1px solid var(--line); color: var(--muted); }
.badge.on { border-color: var(--brand); color: var(--ink); background: color-mix(in srgb, var(--brand) 18%, transparent); }
.badge.new { animation: badgePop .8s cubic-bezier(.2,1.6,.4,1); }
@keyframes badgePop { 0% { transform: scale(.4); } 60% { transform: scale(1.15); } }
.cta-card { margin-top: 22px; border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: 200px 1fr; border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent); background: linear-gradient(120deg, color-mix(in srgb, var(--brand) 16%, transparent), rgba(255,255,255,.03)); }
.cta-photo { width: 100%; height: 100%; object-fit: cover; min-height: 130px; }
.cta-body { padding: 16px 18px; display: grid; gap: 12px; align-content: center; justify-items: start; }
.cta-coach { display: flex; gap: 12px; align-items: center; }
.cta-coach img { border-radius: 50%; object-fit: cover; border: 2px solid var(--brand); flex: none; }
.cta-coach p { margin: 0; color: var(--soft); line-height: 1.45; }
.cta-strip { margin-top: 20px; padding: 16px; border-radius: 14px; border: 1px dashed color-mix(in srgb, var(--brand) 60%, transparent); display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-strip p { margin: 0; color: var(--soft); text-align: left; }

/* ---------- styles sheet ---------- */
.bottom-sheet { align-items: flex-end; }
.sheet-card { max-width: 860px; margin: 0 auto; padding: 18px 20px; animation: sheetUp .45s cubic-bezier(.2,.9,.3,1); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.sheet-head h2 { margin: 0; font-size: 22px; }
.theme-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 14px; }
.theme { border: 2px solid var(--line); background: var(--card2); border-radius: 14px; padding: 10px; cursor: pointer; text-align: left; display: grid; gap: 6px; transition: transform .2s, border-color .2s; }
.theme:hover { transform: translateY(-2px); }
.theme.on { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.theme .sw { height: 54px; border-radius: 10px; background-size: 18px 18px; position: relative; overflow: hidden; }
.theme .sw i { position: absolute; right: 8px; bottom: 6px; width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.theme b { font-size: 14px; }
.theme small { color: var(--muted); font-size: 12px; line-height: 1.3; }

/* ---------- play options ---------- */
.opts-card { max-width: 560px; }
.label { margin: 16px 0 8px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.bots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bot { border: 2px solid var(--line); background: var(--card2); border-radius: 16px; padding: 14px 10px; cursor: pointer; display: grid; justify-items: center; gap: 4px; text-align: center; transition: transform .2s cubic-bezier(.2,.9,.3,1), border-color .2s, background .2s; }
.bot img { transition: transform .35s cubic-bezier(.2,1.6,.4,1); filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); }
.bot:hover img, .bot.on img { transform: translateY(-4px) scale(1.06) rotate(-4deg); }
.bot.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 14%, transparent); }
.bot .lvl { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--brand2); font-weight: 700; }
.bot small { color: var(--muted); font-size: 12px; line-height: 1.35; }
.seg { display: flex; background: rgba(255,255,255,.06); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 9px; cursor: pointer; transition: background .2s; }
.seg button.on { background: var(--brand); color: #1E1611; font-weight: 700; }
.opt-rules { color: var(--soft); line-height: 1.5; margin: 0 0 6px; }

/* ---------- HUD ---------- */
.hud { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.hud > * { pointer-events: auto; }
.topbar { position: absolute; top: 0; left: 0; right: 0; display: flex; gap: 10px; align-items: center; padding: 12px 16px; padding-top: max(12px, env(safe-area-inset-top)); background: linear-gradient(rgba(12,8,5,.85), rgba(12,8,5,0)); }
.topbar .title { flex: 1; display: grid; min-width: 0; }
.topbar .title b { font-family: var(--serif); font-size: 18px; }
.topbar .title span { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { background: rgba(255,255,255,.1); border: 1px solid var(--line); padding: 7px 12px; border-radius: 99px; font-weight: 700; font-variant-numeric: tabular-nums; backdrop-filter: blur(8px); }
.pill.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.15); } }
.status { position: absolute; top: 76px; left: 50%; transform: translateX(-50%); background: var(--card); border: 1px solid var(--line); padding: 10px 18px; border-radius: 99px; font-weight: 600; white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(10px); }
.status.pop { animation: statusPop .35s cubic-bezier(.2,1.5,.4,1); }
@keyframes statusPop { from { transform: translateX(-50%) scale(.9); opacity: .4; } }
.status:empty { display: none; }
.opponent { position: absolute; left: 16px; top: 76px; display: flex; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px 14px 8px 8px; max-width: 280px; backdrop-filter: blur(10px); }
.opponent img { border-radius: 50%; }
.opponent b { display: block; font-size: 14px; }
.opponent span { font-size: 12px; color: var(--muted); }
.opponent.think img { animation: think 1s ease-in-out infinite; }
@keyframes think { 50% { transform: translateY(-3px) rotate(-6deg); } }
.clocks { position: absolute; left: 16px; top: 140px; display: grid; gap: 8px; }
.clock { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; min-width: 150px; }
.clock b { margin-left: auto; font-size: 22px; font-variant-numeric: tabular-nums; }
.clock .who { font-size: 13px; color: var(--muted); }
.clock img { border-radius: 50%; }
.clock.on { border-color: var(--brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 30%, transparent); }
.clock.low b { color: var(--bad); animation: bump 1s infinite; }
.dock { position: absolute; bottom: 0; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 14px 16px; padding-bottom: max(14px, env(safe-area-inset-bottom)); background: linear-gradient(rgba(12,8,5,0), rgba(12,8,5,.85)); }
.moves { position: absolute; right: 16px; top: 80px; width: 190px; max-height: calc(100% - 180px); overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 10px 36px; margin: 0; font-size: 14px; font-variant-numeric: tabular-nums; }
.moves:empty { display: none; }
.moves li { padding: 2px 0; color: var(--soft); }
.moves li:last-child { animation: rise .3s; }
.moves li span { display: inline-block; min-width: 64px; }

/* ---------- modals ---------- */
.modal { position: fixed; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5,4,3,.6); backdrop-filter: blur(3px); animation: fade .2s ease; }
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.quiz-card, .result-card, .modal .card { animation: pop .4s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { transform: scale(.88) translateY(10px); opacity: 0; } }
.switch { grid-template-columns: 20px 1fr; align-items: center; gap: 12px; font-size: 15px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.qz-count { color: var(--muted); font-size: 13px; margin: -4px 0 10px; }
.qz-opts { display: grid; gap: 10px; margin: 16px 0; }
.qz-opts button { text-align: left; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.05); cursor: pointer; transition: border-color .2s, transform .15s; }
.qz-opts button:hover:not(:disabled) { border-color: var(--brand); transform: translateX(3px); }
.qz-opts button.right { border-color: var(--good); background: color-mix(in srgb, var(--good) 22%, transparent); animation: bump .4s; }
.qz-opts button.wrong { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 18%, transparent); animation: wobble .4s; }
@keyframes wobble { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.qz-why { color: var(--soft); min-height: 1.2em; }
.result-card { text-align: center; position: relative; overflow: hidden; }
.rs-icon { font-size: 54px; line-height: 1; margin-bottom: 6px; animation: iconIn .7s cubic-bezier(.2,1.6,.4,1); }
@keyframes iconIn { from { transform: scale(0) rotate(-40deg); } }
.rs-stars { font-size: 38px; letter-spacing: 6px; color: rgba(255,255,255,.18); }
.rs-stars .on { color: var(--brand2); display: inline-block; animation: iconIn .5s both cubic-bezier(.2,1.6,.4,1); text-shadow: 0 0 18px color-mix(in srgb, var(--brand) 70%, transparent); }
.xp-gain { font-size: 24px; font-weight: 800; color: var(--brand2); }
.result-card .row { justify-content: center; }
.burst { position: absolute; inset: 0; pointer-events: none; }
.burst i { position: absolute; width: 8px; height: 14px; top: -20px; border-radius: 2px; animation: drop 1.8s ease-in forwards; }
@keyframes drop { to { transform: translateY(560px) rotate(620deg); opacity: 0; } }
.promo-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.promo-opts button { font-size: 34px; padding: 10px 0; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.06); cursor: pointer; display: grid; transition: transform .15s, border-color .15s; }
.promo-opts button:hover { transform: translateY(-3px); border-color: var(--brand); }
.promo-opts span { font-size: 12px; color: var(--muted); }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 88px; transform: translate(-50%, 20px) scale(.96); opacity: 0; background: #241a13; border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent); padding: 10px 16px; border-radius: 12px; transition: .35s cubic-bezier(.2,1.4,.4,1); pointer-events: none; font-weight: 600; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.noscript { position: fixed; inset: 0; display: grid; place-items: center; }
.nogl { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--bg); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .signup-wrap { grid-template-columns: 1fr; gap: 20px; max-width: 560px; }
  .photo-screen { background: linear-gradient(180deg, rgba(12,8,5,.55) 0%, rgba(12,8,5,.9) 45%, rgba(12,8,5,.97) 100%), url(../img/hero-tall.webp) center top/cover no-repeat; align-items: flex-start; }
  .lead { font-size: 16px; }
  .theme-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .moves { display: none; }
  .stats { grid-template-columns: repeat(4, 1fr); width: 100%; }
  .card { padding: 20px; }
  .status { top: 66px; font-size: 14px; }
  .opponent { top: auto; bottom: 120px; left: 12px; padding: 6px 12px 6px 6px; }
  .opponent img { width: 32px; height: 32px; }
  .clocks { top: 64px; left: 12px; right: 12px; grid-template-columns: 1fr 1fr; }
  .clock { min-width: 0; padding: 6px 10px; }
  .clock b { font-size: 18px; }
  .hud .clocks:not([hidden]) ~ .status { top: 116px; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-photo { max-height: 150px; }
  .bots { gap: 6px; }
  .bot { padding: 10px 6px; }
  .bot img { width: 52px; height: 52px; }
  .bot small { display: none; }
  .perks { gap: 8px; margin-bottom: 14px; }
  .perks small { display: none; }
  h1 { font-size: 40px; }
  .mode.photo { min-height: 130px; }
}
@media (max-width: 560px) {
  .topbar .title span { display: none; }
  .topbar .title b { font-size: 15px; }
  .pill { font-size: 12px; padding: 6px 10px; }
  .theme-list { grid-template-columns: repeat(2, 1fr); }
  .theme .sw { height: 40px; }
  .dock .btn.sm { padding: 7px 10px; font-size: 13px; }
  .menu-head h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body.calm *, body.calm *::before, body.calm *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
