@font-face { font-family: "Lexend"; font-weight: 100 500; font-display: swap; src: url(fonts/lexend-400.woff2) format("woff2"); }
@font-face { font-family: "Lexend"; font-weight: 600 700; font-display: swap; src: url(fonts/lexend-700.woff2) format("woff2"); }
@font-face { font-family: "Lexend"; font-weight: 800 900; font-display: swap; src: url(fonts/lexend-800.woff2) format("woff2"); }

/* Uhrmacherwerkstatt am Abend: Nussholz, Messing, warmes Lampenlicht, Sand. */
:root {
  --bg: #120b07;
  --ink: #f6ead6;
  --muted: #c2ab8e;
  --dim: #8a735c;
  --brass: #d9aa55;
  --brass-hi: #fbe7b0;
  --brass-lo: #6e4615;
  --sand: #e8c07a;
  --copper: #e8875a;
  --ok: #9fd4a0;
  --line: rgba(255, 220, 160, 0.16);
  --card: rgba(255, 236, 205, 0.05);
  --serif: Georgia, "Noto Serif", "Times New Roman", serif;
  --safe-t: max(env(safe-area-inset-top), var(--safe-top, 0px));
  --safe-b: max(env(safe-area-inset-bottom), var(--safe-bottom, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); overflow: hidden; }
body {
  font: 16px/1.45 "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
#bg { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#app { position: relative; z-index: 1; height: 100%; max-width: 520px; margin: 0 auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--brass-hi); outline-offset: 3px; border-radius: 14px; }
h1, h2, h3, p { margin: 0; }
svg { display: block; }
[hidden] { display: none !important; }
.small { font-size: 13.5px; color: var(--muted); }

/* ---------- Bildschirme ---------- */
.screen {
  position: absolute; inset: 0; display: none; flex-direction: column;
  padding: calc(var(--safe-t) + 12px) 16px calc(var(--safe-b) + 12px);
}
.screen.on { display: flex; animation: screenIn .4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; padding-bottom: 12px; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }

/* ---------- Knöpfe ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 20px;
  border-radius: 16px; font-weight: 700; font-size: 17px; letter-spacing: .01em;
  background: linear-gradient(180deg, rgba(255, 236, 205, .09), rgba(255, 236, 205, .03));
  border: 1px solid var(--line); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 245, 225, .08), 0 6px 18px rgba(0, 0, 0, .35);
  transition: transform .12s, filter .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn.primary {
  color: #2a1606; border: 0;
  background: linear-gradient(180deg, #fbe7b0 0%, #e2b866 38%, #b8862f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(80, 45, 8, .45), 0 10px 26px rgba(217, 170, 85, .25), 0 2px 0 #5e3b12;
}
.btn.ghost { background: transparent; box-shadow: none; }
.btn.big { min-height: 66px; font-size: 20px; }
.btn .col { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; text-align: left; }
.btn.primary .col { align-items: center; text-align: center; }
.btn .col small { font-weight: 400; font-size: 13px; opacity: .78; margin-top: 3px; }
.btn:disabled { filter: grayscale(.5) brightness(.75); }
.pair { display: flex; gap: 10px; }
.pair > * { flex: 1; }

/* ---------- Start ---------- */
#s-start { align-items: center; justify-content: center; text-align: center; gap: 6px; }
.hero { width: 100%; height: min(36vh, 280px); position: relative; }
.hero canvas { width: 100%; height: 100%; display: block; }
.logo {
  font-family: var(--serif); font-weight: 700; font-size: clamp(44px, 13vw, 60px); letter-spacing: .02em; line-height: 1;
  background: linear-gradient(180deg, #fff3d0 0%, #f2cf86 45%, #b8862f 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(60, 30, 5, .9)) drop-shadow(0 0 22px rgba(255, 190, 100, .25));
  margin-top: 4px;
}
.tagline { color: var(--muted); font-size: 15.5px; margin: 6px 0 22px; }
.start-buttons { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.btn.daily { justify-content: flex-start; padding: 12px 16px; min-height: 64px; }
.daily-ico { width: 30px; height: 30px; fill: none; stroke: var(--brass); stroke-width: 1.8; stroke-linecap: round; flex: none; }
.btn.daily .col { flex: 1; }
.btn.daily .check { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c8f0c0, #5a9a5a); position: relative; flex: none; }
.btn.daily .check::after { content: ""; position: absolute; left: 9px; top: 6px; width: 7px; height: 12px; border: solid #18301a; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.btn.daily.done { border-color: rgba(159, 212, 160, .35); }
.start-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; margin-top: 24px; }
.icon-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 2px; border-radius: 14px; font-size: 12.5px; color: var(--muted); }
.icon-btn svg { width: 26px; height: 26px; fill: none; stroke: var(--brass); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:active { background: var(--card); }

/* ---------- Kopfzeile ---------- */
.bar { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 8px; min-height: 48px; margin-bottom: 8px; }
.bar h2 { font-family: var(--serif); font-size: 22px; font-weight: 700; text-align: center; color: var(--brass-hi); }
.back, .tool { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--card); }
.back svg, .tool svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tool:disabled { opacity: .4; }
.bar-stars { display: flex; align-items: center; gap: 4px; font-weight: 700; color: var(--brass-hi); min-width: 44px; justify-content: flex-end; font-size: 14px; }
.bar-stars svg { width: 18px; height: 18px; fill: var(--brass); }

/* ---------- Kapitel ---------- */
#ch-list { display: flex; flex-direction: column; gap: 10px; }
.ch-card {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; text-align: left;
  border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 236, 205, .07), rgba(255, 236, 205, .02));
}
.ch-card:active { transform: scale(.985); }
.ch-art { width: 56px; height: 76px; }
.ch-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ch-txt small { color: var(--dim); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.ch-txt b { font-family: var(--serif); font-size: 19px; color: var(--brass-hi); }
.ch-desc { color: var(--muted); font-size: 13px; margin-top: 2px; }
.ch-prog { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 13px; color: var(--muted); }
.ch-prog > svg { width: 22px; height: 22px; fill: none; stroke: var(--dim); stroke-width: 1.8; }
.ch-st { display: flex; align-items: center; gap: 3px; color: var(--brass-hi); font-weight: 700; }
.ch-st svg { width: 15px; height: 15px; fill: var(--brass); }
.ch-card.locked { opacity: .62; }
.ch-card.locked .ch-txt b { color: var(--muted); }

/* ---------- Rätsel-Gitter ---------- */
.lv-intro { color: var(--muted); text-align: center; margin: 2px 0 16px; }
.lv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.lv {
  aspect-ratio: 1 / 1.1; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; position: relative;
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 236, 205, .07), rgba(255, 236, 205, .02));
}
.lv b { font-family: var(--serif); font-size: 22px; line-height: 1; }
.lv-stars { display: flex; gap: 1px; }
.lv-stars i svg { width: 12px; height: 12px; fill: rgba(255, 230, 190, .16); }
.lv-stars i.on svg { fill: var(--brass); filter: drop-shadow(0 0 3px rgba(255, 200, 110, .6)); }
.lv.done { border-color: rgba(217, 170, 85, .45); background: linear-gradient(180deg, rgba(217, 170, 85, .2), rgba(217, 170, 85, .05)); }
.lv.done b { color: var(--brass-hi); }
.lv.next { border-color: var(--brass-hi); box-shadow: 0 0 0 1px var(--brass-hi), 0 0 18px rgba(255, 210, 130, .35); animation: breathe 2.2s ease-in-out infinite; }
.lv.locked { opacity: .45; }
.lv.locked > svg { position: absolute; right: 6px; top: 6px; width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 2; }
@keyframes breathe { 50% { box-shadow: 0 0 0 1px var(--brass-hi), 0 0 28px rgba(255, 210, 130, .55); } }

/* ---------- Spiel ---------- */
#s-play { padding-bottom: calc(var(--safe-b) + 8px); }
.play-bar { grid-template-columns: 44px 1fr 44px 44px; margin-bottom: 4px; }
.play-title { text-align: center; line-height: 1.15; }
.play-title h2 { font-size: 19px; }
.play-title small { color: var(--muted); font-size: 12.5px; }
.mission {
  text-align: center; font-size: 15px; color: var(--ink); padding: 8px 12px; margin: 2px 0 8px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 236, 205, .07), rgba(255, 236, 205, .02)); border: 1px solid var(--line);
}
.mission b { font-family: var(--serif); font-size: 19px; color: var(--brass-hi); }

.clock { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 10px; min-height: 64px; }
.clock-now { display: flex; align-items: baseline; justify-content: center; gap: 3px; border-radius: 14px; padding: 4px 6px;
  background: radial-gradient(120% 120% at 50% 0%, #2c1b0f, #160d07); border: 1px solid rgba(217, 170, 85, .4);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 230, 180, .1); }
.clock-num { font-family: var(--serif); font-weight: 700; font-size: 32px; color: var(--brass-hi); min-width: 1.2em; text-align: right; font-variant-numeric: tabular-nums; }
.clock-unit { color: var(--muted); font-size: 12px; }
.clock.pre .clock-num { color: var(--muted); }
.clock.moment .clock-num { text-shadow: 0 0 14px rgba(255, 210, 130, .65); }

.ruler { position: relative; height: 56px; }
.ruler-track { position: absolute; left: 0; right: 0; top: 24px; height: 10px; border-radius: 6px; background: #1b110a;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .8), 0 0 0 1px rgba(217, 170, 85, .45), 0 1px 0 rgba(255, 230, 180, .15); overflow: hidden; }
.ruler-fill { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(180deg, #fbe3a6, #d7a454 60%, #a8742e); }
.ruler.waiting .ruler-track { opacity: .55; }
.ruler-ticks i { position: absolute; top: 36px; width: 1px; height: 4px; background: rgba(255, 220, 160, .35); }
.ruler-ticks i.maj { height: 7px; background: rgba(255, 220, 160, .6); }
.ruler-ticks i.maj::after { content: attr(data-n); position: absolute; top: 8px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--dim); }
.ruler-marks .mk { position: absolute; top: 0; transform: translateX(-50%); display: flex; align-items: center; gap: 1px; }
.ruler-marks .mk svg { width: 18px; height: 18px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .6)); }
.ruler-marks .mk b { font-family: var(--serif); font-size: 13px; color: var(--copper); }
.ruler-marks .mk::after { content: ""; position: absolute; left: 50%; top: 19px; width: 2px; height: 20px; margin-left: -1px; background: var(--copper); border-radius: 1px; box-shadow: 0 0 6px rgba(232, 135, 90, .8); }
.ruler-marks .mk.hit b { color: var(--ok); }
.ruler-marks .mk.hit::after { background: var(--ok); box-shadow: 0 0 8px rgba(159, 212, 160, .9); }
.ruler-head { position: absolute; top: 19px; width: 3px; height: 20px; margin-left: -1.5px; background: #fff6dc; border-radius: 2px; box-shadow: 0 0 10px rgba(255, 230, 170, .9); }

.go-lever { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; color: var(--brass-hi); width: 54px; }
.go-lever .lever-knob { width: 40px; height: 22px; border-radius: 12px; background: #1b110a; border: 1px solid rgba(217, 170, 85, .6); position: relative; box-shadow: inset 0 2px 5px rgba(0, 0, 0, .7); }
.go-lever .lever-knob::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff0c4, #c48f3e 60%, #6e4615); transition: left .25s cubic-bezier(.3, 1.4, .5, 1); }
.go-lever.pulled .lever-knob { background: rgba(159, 212, 160, .25); }
.go-lever.pulled .lever-knob::after { left: 20px; }
.go-lever:disabled:not(.pulled) { opacity: .55; }

.stage { position: relative; flex: 1; min-height: 220px; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hits { position: absolute; inset: 0; }
.hit { position: absolute; border-radius: 22px; }
.hit:focus-visible { outline: 2px dashed var(--brass-hi); outline-offset: -2px; }
.mag { position: absolute; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; z-index: 2;
  background: rgba(30, 20, 14, .75); border: 1px solid rgba(200, 210, 230, .35); }
.mag svg { width: 22px; height: 22px; fill: none; stroke: #e05a4a; stroke-width: 2.2; stroke-linejoin: round; }
.mag.on { background: rgba(80, 110, 170, .45); border-color: rgba(190, 215, 255, .9); box-shadow: 0 0 16px rgba(150, 190, 255, .6); }
.coach {
  position: absolute; left: 50%; top: 6px; transform: translateX(-50%); width: max-content; max-width: 92%; z-index: 3;
  background: linear-gradient(180deg, #f8ead0, #e9d2a6); color: #3a2410; font-size: 14.5px; font-weight: 600; text-align: center;
  padding: 10px 14px; border-radius: 14px; box-shadow: 0 8px 22px rgba(0, 0, 0, .45); pointer-events: none;
}
.coach.in { animation: coachIn .45s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes coachIn { from { opacity: 0; transform: translate(-50%, -8px) scale(.94); } to { opacity: 1; transform: translateX(-50%); } }
.rushring { position: absolute; left: 50%; bottom: 4px; width: 40px; height: 40px; margin-left: -20px; z-index: 3; }
.rushring svg { width: 40px; height: 40px; transform: rotate(-90deg); }
.rushring circle { fill: none; stroke: rgba(255, 230, 180, .15); stroke-width: 4; }
.rushring .rr { stroke: var(--copper); stroke-linecap: round; stroke-dasharray: 106.8; stroke-dashoffset: 0; }

.controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding-top: 6px; }
.ctl { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); }
.ctl svg { width: 24px; height: 24px; }
#b-undo { justify-self: start; padding: 6px 10px; }
#b-undo svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#b-undo:disabled { opacity: .35; }
#b-undo.off { visibility: hidden; }
.ctl.go { position: relative; }
.ctl.go svg { width: 76px; height: 76px; padding: 22px; border-radius: 50%; fill: #2a1606;
  background: radial-gradient(circle at 35% 28%, #fff3d0, #e2b866 45%, #9a6a24 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 -3px 6px rgba(80, 40, 5, .5), 0 0 0 3px rgba(60, 35, 10, .8), 0 10px 24px rgba(0, 0, 0, .5); }
.ctl.go .ico-fast { display: none; }
.ctl.go.running .ico-play { display: none; }
.ctl.go.running .ico-fast { display: block; filter: saturate(.6) brightness(.85); }
.ctl.go.running.fast .ico-fast { filter: none; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 0 0 3px rgba(60, 35, 10, .8), 0 0 26px rgba(255, 200, 110, .8); }
.ctl.go.ready svg { animation: goPulse 1.8s ease-in-out infinite; }
@keyframes goPulse { 50% { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 -3px 6px rgba(80, 40, 5, .5), 0 0 0 3px rgba(60, 35, 10, .8), 0 0 0 9px rgba(255, 210, 130, .14), 0 10px 24px rgba(0, 0, 0, .5); } }
.ctl.go span { color: var(--brass-hi); font-weight: 700; font-size: 13.5px; }
.ctl.bell { justify-self: end; padding: 0 6px; }
.ctl.bell svg { width: 66px; height: 66px; padding: 9px; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #3a2618, #1a100a);
  border: 1px solid rgba(217, 170, 85, .55); box-shadow: 0 8px 20px rgba(0, 0, 0, .45); transform-origin: 50% 20%; }
.ctl.bell:disabled svg { filter: grayscale(.6) brightness(.6); }
.ctl.bell.ring svg { animation: bellRing .7s ease-out; }
@keyframes bellRing { 15% { transform: rotate(-14deg); } 35% { transform: rotate(11deg); } 55% { transform: rotate(-7deg); } 75% { transform: rotate(4deg); } }
.glow svg, .go-lever.glow .lever-knob, .mag.glow { animation: hintGlow 1.1s ease-in-out infinite !important; }
@keyframes hintGlow { 50% { box-shadow: 0 0 0 4px rgba(255, 226, 160, .55), 0 0 30px rgba(255, 210, 130, .9); } }
.moves { text-align: center; font-size: 13px; color: var(--muted); min-height: 18px; margin-top: 2px; }

/* ---------- Statistik ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.stat { padding: 14px 6px; border-radius: 16px; text-align: center; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 4px; }
.stat b { font-family: var(--serif); font-size: 22px; color: var(--brass-hi); }
.stat small { color: var(--muted); font-size: 12px; }
.ch-bars { display: flex; flex-direction: column; gap: 8px; }
.chb { display: grid; grid-template-columns: 1fr 90px 44px; align-items: center; gap: 10px; font-size: 14px; }
.chb span { color: var(--muted); }
.chb i { height: 8px; border-radius: 4px; background: #1b110a; box-shadow: inset 0 0 0 1px rgba(217, 170, 85, .3); overflow: hidden; }
.chb em { display: block; height: 100%; background: linear-gradient(90deg, #b8862f, #fbe3a6); }
.chb b { text-align: right; font-size: 13px; }

/* ---------- Einstellungen ---------- */
.settings { display: flex; flex-direction: column; gap: 12px; }
.settings .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.seg { display: flex; gap: 4px; padding: 3px; border-radius: 12px; background: #1b110a; }
.seg button { padding: 8px 12px; border-radius: 9px; font-size: 14px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: linear-gradient(180deg, #fbe7b0, #c99a48); color: #2a1606; font-weight: 700; }
.switch { width: 52px; height: 30px; border-radius: 16px; background: #1b110a; position: relative; box-shadow: inset 0 0 0 1px rgba(217, 170, 85, .4); flex: none; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #6e5a48; transition: left .2s, background .2s; }
.switch[aria-checked="true"] { background: rgba(217, 170, 85, .35); }
.switch[aria-checked="true"]::after { left: 25px; background: radial-gradient(circle at 35% 30%, #fff3d0, #d9aa55); }
.links { display: flex; justify-content: center; gap: 24px; margin-top: 8px; }
.links a { color: var(--brass-hi); font-size: 14px; }
.version { text-align: center; color: var(--dim); font-size: 12px; }

/* ---------- Blätter ---------- */
.sheet { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; padding: 16px 16px calc(var(--safe-b) + 16px);
  background: rgba(8, 4, 2, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fadeIn .25s both; }
@keyframes fadeIn { from { opacity: 0; } }
.card { width: 100%; max-width: 460px; position: relative; padding: 22px 20px 20px; border-radius: 26px; text-align: center;
  background: linear-gradient(180deg, #2c1b10, #1a100a); border: 1px solid rgba(217, 170, 85, .38);
  box-shadow: 0 -2px 0 rgba(255, 230, 180, .06) inset, 0 24px 60px rgba(0, 0, 0, .6); animation: cardIn .4s cubic-bezier(.2, 1.1, .3, 1) both; display: flex; flex-direction: column; gap: 12px; }
@keyframes cardIn { from { transform: translateY(40px); opacity: 0; } }
.card h3 { font-family: var(--serif); font-size: 26px; color: var(--brass-hi); }
.card p { color: var(--muted); }
.card .x { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.card .x svg { width: 20px; height: 20px; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.how canvas, .mech canvas { width: 100%; height: 150px; display: block; }
.dots { display: flex; justify-content: center; gap: 6px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 230, 180, .2); }
.dots i.on { background: var(--brass); }
.kicker { color: var(--copper); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.win-stars { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.win-stars i svg { width: 54px; height: 54px; fill: rgba(255, 230, 190, .12); }
.win-stars i.on svg { fill: url(#g-brass); filter: drop-shadow(0 0 12px rgba(255, 200, 110, .7)); animation: starPop .55s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes starPop { from { transform: scale(0) rotate(-40deg); opacity: 0; } }
.win-stars i:nth-child(2) svg { width: 62px; height: 62px; margin-top: -8px; }
.win-stars i:nth-child(1).on svg { animation-delay: .15s; }
.win-stars i:nth-child(2).on svg { animation-delay: .43s; }
.win-stars i:nth-child(3).on svg { animation-delay: .71s; }
.win-note { font-size: 14px; }
.win-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.full-list { text-align: left; margin: 0; padding-left: 20px; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.full-list li::marker { color: var(--brass); }

.toast { position: fixed; left: 50%; bottom: calc(var(--safe-b) + 128px); transform: translate(-50%, 20px); opacity: 0; z-index: 30; pointer-events: none;
  background: rgba(40, 26, 16, .95); border: 1px solid rgba(217, 170, 85, .45); color: var(--ink); padding: 10px 16px; border-radius: 14px; font-size: 14.5px;
  max-width: 88vw; width: max-content; text-align: center; transition: opacity .25s, transform .25s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-height: 700px) {
  .hero { height: 28vh; }
  .tagline { margin-bottom: 14px; }
  .mission { padding: 6px 10px; font-size: 14px; }
  .ctl.go svg { width: 66px; height: 66px; padding: 19px; }
  .ctl.bell svg { width: 58px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; }
}
