/* Hallmark · shape: app screen · genre: atmospheric · theme: custom (Kosmos) · signature: euer echter Himmel mit einem Sternbild aus 24 Türchen, das an Heiligabend ein Bild ergibt · nav: Kopfzeile mit Wortmarke und Ton · states: laden, gesperrt, heute, offen, eingelöst, Finale · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H4 E5 S5 R4 V5 · weakest: R, die Startseite trägt Datum, Zahl, Sternkarte und Beschriftung; auf sehr kleinen Handys wird die Karte knapp */

:root {
  color-scheme: dark;
  /* Farbe: Schwarzblau, Sternweiß, ein blasses Gold. Papier nur in den Kapiteln. */
  --c-night: oklch(12% 0.016 258);
  --c-night-deep: oklch(7.5% 0.01 258);
  --c-night-2: oklch(17% 0.02 256);
  --c-veil: oklch(11% 0.016 258 / 0.8);
  --c-veil-soft: oklch(11% 0.016 258 / 0);
  --c-ink: oklch(95.5% 0.008 245);
  --c-ink-2: oklch(87% 0.012 245);
  --c-muted: oklch(76% 0.014 250);
  --c-faint: oklch(66% 0.014 250);
  --c-rule: oklch(95% 0.008 245 / 0.18);
  --c-rule-2: oklch(95% 0.008 245 / 0.36);
  --c-halo: oklch(8% 0.012 258 / 0.9);
  --c-gold: oklch(85% 0.075 85);
  --c-gold-2: oklch(91% 0.06 88);
  --c-gold-ink: oklch(19% 0.02 80);
  --c-glow: oklch(86% 0.07 85 / 0.13);
  --c-focus: oklch(88% 0.08 86);
  --c-paper: oklch(95% 0.014 85);
  --c-paper-2: oklch(90.5% 0.018 84);
  --c-paper-shade: oklch(55% 0.03 80 / 0.55);
  --c-crease: oklch(70% 0.02 80 / 0.35);
  --c-ink-paper: oklch(25% 0.035 258);
  --c-ink-paper-2: oklch(42% 0.03 258);
  --c-ink-wet: oklch(62% 0.1 75);
  --c-perf: oklch(62% 0.03 80);
  --c-stamp: oklch(52% 0.11 40);
  --c-mask: oklch(0% 0 0);
  --c-clear: oklch(0% 0 0 / 0);

  /* Schrift: eine feine Serife für Titel und Zahlen, eine klare Sans für alles andere */
  --font-display: "Cormorant Garamond", ui-serif, Georgia, serif;
  --font-body: "Mona Sans", ui-sans-serif, system-ui, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-md: 1.0625rem;
  --text-lg: 1.25rem;
  --text-xl: 1.6rem;
  --text-2xl: 2.15rem;
  --text-3xl: 3rem;
  --text-fig: 7.25rem;
  --text-num: 10rem;

  --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px;
  --gutter: 20px;
  --radius: 999px;
  --radius-field: 10px;
  --radius-paper: 14px;

  /* Bewegung: dieselben Kurven und Dauern wie motion.js */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-glide: cubic-bezier(0.45, 0.05, 0.12, 1);
  --dur-micro: 140ms; --dur-short: 260ms; --dur-medium: 520ms; --dur-long: 900ms;

  --z-gl: 0; --z-names: 1; --z-stars: 2; --z-home: 3; --z-intro: 10; --z-wish: 15; --z-toast: 20; --z-skip: 25; --z-loader: 30;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { background: var(--c-night); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100svh;
  background: var(--c-night); color: var(--c-ink);
  font-family: var(--font-body); font-size: var(--text-md); line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}
p, h1, h2 { margin: 0; }
h1, h2 { text-wrap: balance; }
button, textarea { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Bühne ---------- */
.gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: var(--z-gl); touch-action: none; cursor: grab; }
.gl:active { cursor: grabbing; }

.home {
  position: relative; z-index: var(--z-home); pointer-events: none;
  min-height: 100svh; max-width: 30rem; margin-inline: auto;
  padding: max(env(safe-area-inset-top), var(--space-sm)) var(--gutter) max(env(safe-area-inset-bottom), var(--space-sm));
  display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto;
  transition: opacity 700ms var(--ease-out);
}
.home a, .home button { pointer-events: auto; }
.is-away .home { opacity: 0; }
.is-away .home a, .is-away .home button { pointer-events: none; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 52px; }
.wordmark { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); line-height: 1; }

.today { padding-top: var(--space-lg); }
.today__date { font-family: var(--font-body); font-weight: 400; font-size: var(--text-md); color: var(--c-muted); line-height: 1.4; }
.today__note { margin-top: var(--space-sm); color: var(--c-muted); font-size: var(--text-sm); max-width: 24rem; }

.count { margin-top: var(--space-2xs); }
.count__fig { display: flex; align-items: baseline; gap: var(--space-sm); }
.count__days {
  font-family: var(--font-display); font-weight: 300; font-size: var(--text-fig); line-height: 1;
  font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.02em; display: inline-flex;
}
.count__unit { font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); color: var(--c-ink-2); font-variant-numeric: tabular-nums; }
.count__label { color: var(--c-ink-2); }
.count__clock { display: flex; gap: var(--space-md); margin-top: var(--space-2xs); color: var(--c-muted); font-variant-numeric: tabular-nums; }
.count__part > span { color: var(--c-gold); display: inline-flex; }

.roll { display: inline-block; height: 1em; line-height: 1; overflow: clip; vertical-align: top; }
.roll__strip { display: block; transition: transform var(--dur-long) var(--ease-out); }
.roll__strip > span { display: block; height: 1em; text-align: center; }
.count__clock .roll { height: 1.5em; line-height: 1.5; }
.count__clock .roll__strip > span { height: 1.5em; }

.frame { min-height: 0; }

.foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-top: var(--space-xs); }
.foot__caption { color: var(--c-faint); font-size: var(--text-xs); font-family: var(--font-body); }
.foot__link {
  color: var(--c-ink-2); font-size: var(--text-sm); text-decoration: underline; text-decoration-color: var(--c-rule-2);
  text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; flex: none;
  transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out);
}
.foot__link:hover { color: var(--c-gold); text-decoration-color: var(--c-gold); }
.foot__link:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; border-radius: 2px; }
.foot__link:active { color: var(--c-gold-2); }

@media (min-width: 60rem) {
  .home { max-width: 72rem; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; column-gap: var(--space-2xl); }
  .bar, .foot { grid-column: 1 / -1; }
  .today { grid-column: 1; grid-row: 2; align-self: center; padding-top: 0; }
  .frame { grid-column: 2; grid-row: 2; }
  .count__days { font-size: var(--text-num); }
}

/* ---------- Sterne als echte Knöpfe ---------- */
.stars { position: fixed; inset: 0; margin: 0; padding: 0; list-style: none; z-index: var(--z-stars); pointer-events: none; transition: opacity 600ms linear; }
.star {
  position: absolute; left: 0; top: 0; width: 48px; height: 48px; margin: calc(var(--space-lg) * -1) 0 0 calc(var(--space-lg) * -1); padding: 0;
  border: 0; border-radius: 50%; background: transparent; cursor: pointer; pointer-events: auto; touch-action: none;
  color: var(--c-muted); will-change: transform;
}
.star__n {
  position: absolute; left: 32px; top: 0; font-family: var(--font-body); font-weight: 500; font-size: var(--text-xs); line-height: 1; white-space: nowrap; opacity: var(--label, 1);
  text-shadow: 0 0 4px var(--c-halo), 0 0 10px var(--c-halo);
  transition: color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}
.star.is-locked .star__n { color: var(--c-faint); }
.star.is-ready .star__n { color: var(--c-ink-2); }
.star.is-today .star__n { color: var(--c-gold); left: 36px; top: -4px; }
.star.is-open .star__n { color: var(--c-ink); }
.star:hover .star__n { color: var(--c-gold-2); transform: translateX(2px); }
.star:focus-visible { outline: 1px solid var(--c-focus); outline-offset: -8px; }
.star:active .star__n { color: var(--c-gold); }
.stars.is-away { opacity: 0; pointer-events: none; transition: opacity var(--dur-short) linear; }
.stars.is-away .star { pointer-events: none; }

.names { position: fixed; inset: 0; z-index: var(--z-names); pointer-events: none; transition: opacity var(--dur-medium) linear; opacity: 0; }
.name {
  position: absolute; left: 0; top: 0; padding-left: var(--space-xs); margin-top: -0.65em; white-space: nowrap;
  color: var(--c-muted); font-size: var(--text-xs); text-shadow: 0 0 6px var(--c-halo);
}

/* ---------- Knöpfe ---------- */
.quiet {
  min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--c-rule); border-radius: var(--radius);
  background: var(--c-clear); color: var(--c-ink-2); font-size: var(--text-sm); cursor: pointer;
  transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.quiet:hover { border-color: var(--c-gold); color: var(--c-ink); }
.quiet:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.quiet:active { transform: scale(0.96); }
.quiet[aria-pressed="false"] { color: var(--c-muted); border-color: var(--c-rule); }
.quiet[aria-pressed="true"] { border-color: var(--c-rule-2); }
.quiet:disabled { color: var(--c-faint); border-color: var(--c-rule); cursor: default; }

.btn {
  min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--c-gold); border-radius: var(--radius);
  background: var(--c-gold); color: var(--c-gold-ink); font-weight: 500; font-size: var(--text-md); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}
.btn:hover { background: var(--c-gold-2); border-color: var(--c-gold-2); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.btn:active { transform: scale(0.97); transition-duration: var(--dur-micro); }
.btn[hidden] { display: none; }
.btn:disabled { background: var(--c-clear); color: var(--c-gold); border-color: var(--c-rule-2); cursor: default; transform: none; }
.btn--ghost { background: var(--c-clear); color: var(--c-gold); border-color: var(--c-rule-2); }
.btn--ghost:hover { background: var(--c-clear); border-color: var(--c-gold); color: var(--c-gold-2); }

/* ---------- Hinweise ---------- */
.toast {
  position: fixed; left: 50%; bottom: max(calc(env(safe-area-inset-bottom) + 76px), 84px); z-index: var(--z-toast);
  max-width: min(22rem, calc(100% - 40px)); padding: var(--space-sm) var(--space-md);
  background: var(--c-night-2); border: 1px solid var(--c-rule); border-radius: 14px;
  color: var(--c-ink); font-size: var(--text-sm); text-align: center; pointer-events: none;
  opacity: 0; transform: translate(-50%, 10px);
  transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-medium) var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast:empty { visibility: hidden; }

.wish {
  position: fixed; left: 0; top: 0; z-index: var(--z-wish); pointer-events: none;
  transform: translate(calc(var(--x, 50vw) - 50%), var(--y, 30vh));
  font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); color: var(--c-gold-2); white-space: nowrap;
  text-shadow: 0 0 18px var(--c-glow); transition: opacity var(--dur-long) var(--ease-out);
}
.js .wish { opacity: 0; }
.js .wish.is-on { opacity: 1; }

.finale-skip { position: fixed; right: var(--gutter); bottom: max(calc(env(safe-area-inset-bottom) + 12px), 16px); z-index: var(--z-skip); background: var(--c-veil); }
.finale-skip[hidden] { display: none; }

/* ---------- Laden ---------- */
.loader {
  position: fixed; inset: 0; z-index: var(--z-loader); display: grid; place-content: center; justify-items: center; gap: var(--space-lg);
  background: var(--c-night-deep); --p: 0;
}
.loader[hidden], html:not(.js) .loader, .boot-failed .loader { display: none; }
.loader__ring { width: 72px; height: 72px; transform: rotate(-90deg); overflow: visible; }
.loader__track { fill: none; stroke: var(--c-rule); stroke-width: 1; }
.loader__arc {
  fill: none; stroke: var(--c-gold); stroke-width: 1.25; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); transition: stroke-dashoffset var(--dur-medium) var(--ease-out);
}
.loader__text { color: var(--c-muted); font-size: var(--text-sm); animation: breathe 2.4s var(--ease-in-out) infinite alternate; }
@keyframes breathe { from { opacity: 0.55; } to { opacity: 1; } }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: var(--z-intro); display: grid; place-items: end center; padding-bottom: 20svh; cursor: pointer; }
.intro[hidden] { display: none; }
.intro__bar { position: absolute; left: 0; right: 0; height: 10svh; background: var(--c-night-deep); transform-origin: top; }
.intro__bar--top { top: 0; }
.intro__bar--bottom { bottom: 0; transform-origin: bottom; }
.intro__plate { display: grid; justify-items: center; gap: var(--space-sm); text-align: center; padding-inline: var(--gutter); }
.intro__title {
  font-family: var(--font-display); font-weight: 300; font-size: var(--text-3xl); line-height: 1.05;
  overflow-wrap: break-word; min-width: 0; transform-origin: left top;
}
.intro__rule { display: block; width: 7rem; height: 1px; background: var(--c-gold); transform-origin: center; }
.intro__line { color: var(--c-ink-2); }
.intro__caption { color: var(--c-muted); font-size: var(--text-sm); }
.intro__skip { position: absolute; right: var(--gutter); bottom: max(calc(env(safe-area-inset-bottom) + 12px), 16px); z-index: 1; background: var(--c-veil); }

.mask { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.mask__ch { display: inline-block; }

.is-entering .home > *, .is-entering .stars { opacity: 0; }

/* ---------- Kapitel ---------- */
.chapter {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; color: var(--c-ink); overflow-y: auto; overscroll-behavior: contain;
  background: radial-gradient(130% 60% at 50% 12%, var(--c-glow), var(--c-veil-soft) 62%), var(--c-veil);
}
.chapter::backdrop { background: var(--c-clear); }
.chapter__inner {
  min-height: 100%; max-width: 34rem; margin-inline: auto;
  padding: max(env(safe-area-inset-top), var(--space-sm)) var(--gutter) calc(env(safe-area-inset-bottom) + var(--space-2xl));
}
.chapter__top { display: flex; justify-content: flex-end; min-height: 52px; align-items: center; }
.chapter__num {
  font-family: var(--font-display); font-weight: 300; font-size: var(--text-num); line-height: 0.9; color: var(--c-gold);
  font-variant-numeric: lining-nums; letter-spacing: -0.02em; margin-top: var(--space-lg);
}
.chapter__meta { color: var(--c-muted); margin-top: var(--space-md); }
.chapter__meta--kind { margin-top: 0; color: var(--c-ink-2); }
.chapter__stage { margin-top: var(--space-xl); }
.chapter__title {
  font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); line-height: 1.12;
  overflow-wrap: break-word; min-width: 0;
}
.chapter__body { margin-top: var(--space-md); display: grid; gap: var(--space-sm); color: var(--c-ink-2); max-width: 32rem; }
.chapter__body p { text-wrap: pretty; }
.chapter__action { margin-top: var(--space-lg); display: grid; gap: var(--space-sm); justify-items: start; }
.chapter__help { color: var(--c-muted); font-size: var(--text-sm); }

.field-label { color: var(--c-ink-2); }
.field {
  width: 100%; min-height: 112px; resize: vertical; padding: var(--space-sm) var(--space-md);
  background: var(--c-veil); color: var(--c-ink); border: 1px solid var(--c-rule-2); border-radius: var(--radius-field);
  line-height: 1.5; font-size: var(--text-md);
  transition: border-color var(--dur-short) var(--ease-out);
}
.field:hover { border-color: var(--c-gold); }
.field:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; border-color: var(--c-gold); }

/* Brief: drei Papierfelder, die sich aufklappen, darüber die Tinte */
.stage--letter { perspective: 1400px; }
.letter { position: relative; display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); transform-style: preserve-3d; }
.letter__panel {
  grid-column: 1; position: relative; transform-style: preserve-3d;
  background: radial-gradient(140% 90% at 25% 0%, var(--c-paper), var(--c-paper-2));
}
.letter__panel--0 { grid-row: 1; transform-origin: 50% 100%; border-radius: var(--radius-field) var(--radius-field) 0 0; }
.letter__panel--1 { grid-row: 2; border-top: 1px solid var(--c-crease); }
.letter__panel--2 { grid-row: 3; transform-origin: 50% 0%; border-top: 1px solid var(--c-crease); border-radius: 0 0 var(--radius-field) var(--radius-field); }
.letter__shade { position: absolute; inset: 0; background: var(--c-paper-shade); opacity: 0; border-radius: inherit; pointer-events: none; }
.letter__text { grid-row: 1 / -1; grid-column: 1; position: relative; z-index: 1; padding: var(--space-lg) var(--space-lg) var(--space-xl); color: var(--c-ink-paper); font-family: var(--font-display); }
.letter__title { font-size: var(--text-xl); font-weight: 500; line-height: 1.2; margin-bottom: var(--space-md); }
.letter__line { font-size: var(--text-lg); line-height: 1.5; font-style: italic; }
.letter__line + .letter__line { margin-top: var(--space-sm); }
.letter__sign { margin-top: var(--space-lg); text-align: right; font-size: var(--text-lg); font-style: italic; }
.letter__nib { position: absolute; left: 0; top: 0; z-index: 2; width: 5px; height: 5px; border-radius: 50%; background: var(--c-ink-wet); box-shadow: 0 0 8px var(--c-gold); opacity: 0; pointer-events: none; }
.ink-w { white-space: nowrap; }
.ink { display: inline-block; }

/* Gutschein: Ticket mit Perforation */
.ticket { position: relative; }
.ticket__main {
  background: radial-gradient(140% 90% at 20% 0%, var(--c-paper), var(--c-paper-2)); color: var(--c-ink-paper);
  padding: var(--space-lg); border-radius: var(--radius-paper) var(--radius-paper) 0 0;
  -webkit-mask: radial-gradient(circle 11px at 0 100%, var(--c-clear) 10.5px, var(--c-mask) 11px) 0 0 / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 100%, var(--c-clear) 10.5px, var(--c-mask) 11px) 100% 0 / 51% 100% no-repeat;
  mask: radial-gradient(circle 11px at 0 100%, var(--c-clear) 10.5px, var(--c-mask) 11px) 0 0 / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 100%, var(--c-clear) 10.5px, var(--c-mask) 11px) 100% 0 / 51% 100% no-repeat;
}
.ticket .chapter__title { color: var(--c-ink-paper); }
.ticket .chapter__body { color: var(--c-ink-paper-2); }
.ticket__stub {
  position: relative; padding: var(--space-md) var(--space-lg) var(--space-lg); min-height: 64px;
  background: var(--c-paper-2); color: var(--c-ink-paper-2); border-radius: 0 0 var(--radius-paper) var(--radius-paper);
  transform-origin: 0 0; touch-action: none; cursor: grab; user-select: none;
  -webkit-mask: radial-gradient(circle 11px at 0 0, var(--c-clear) 10.5px, var(--c-mask) 11px) 0 0 / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 0, var(--c-clear) 10.5px, var(--c-mask) 11px) 100% 0 / 51% 100% no-repeat;
  mask: radial-gradient(circle 11px at 0 0, var(--c-clear) 10.5px, var(--c-mask) 11px) 0 0 / 51% 100% no-repeat, radial-gradient(circle 11px at 100% 0, var(--c-clear) 10.5px, var(--c-mask) 11px) 100% 0 / 51% 100% no-repeat;
}
.ticket__stub:active { cursor: grabbing; }
.ticket__stub--free { position: fixed; margin: 0; z-index: 5; pointer-events: none; }
.ticket__perf { position: absolute; left: 16px; right: 16px; top: 0; border-top: 2px dashed var(--c-perf); }
.ticket__hint { font-size: var(--text-sm); }
.ticket__stamp {
  position: absolute; right: var(--space-md); bottom: var(--space-md); padding: var(--space-2xs) var(--space-sm);
  border: 2px solid var(--c-stamp); border-radius: 6px; color: var(--c-stamp); font-weight: 500; font-size: var(--text-sm);
  transform: rotate(-6deg); background: var(--c-paper);
}
.ticket__stamp[hidden] { display: none; }
.ticket.is-redeemed .ticket__main { border-radius: var(--radius-paper); -webkit-mask: none; mask: none; padding-bottom: var(--space-2xl); }
.stage--ticket > .btn { margin-top: var(--space-lg); }
.stage--ticket > .chapter__help { margin-top: var(--space-sm); }

/* Lied und Frage: Leinwände aus Sternen */
.song__viz { display: block; width: 100%; height: 240px; margin-bottom: var(--space-lg); }
.ask__sky { display: block; width: 100%; height: 170px; margin-top: var(--space-lg); }

/* ---------- Ohne WebGL: das Sternbild als ruhige Liste ---------- */
.no-gl body { display: flex; flex-direction: column; }
.no-gl .home { min-height: 0; order: 0; width: 100%; }
.no-gl .frame, .no-gl .names { display: none; }
.no-gl .stars {
  position: static; order: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-xs);
  width: 100%; max-width: 30rem; margin: var(--space-lg) auto var(--space-2xl); padding: 0 var(--gutter); pointer-events: auto;
}
.no-gl .star { position: relative; width: 100%; height: 52px; margin: 0; transform: none !important; border: 1px solid var(--c-rule); }
.no-gl .star__n { position: static; font-size: var(--text-md); }
.no-gl .star.is-today { border-color: var(--c-gold); }
.no-gl .star.is-open { border-color: var(--c-rule-2); }

/* Minispiele (js/games.js) */
.stage--game .chapter__body { margin-bottom: var(--space-md); }
.game__cv { display: block; width: 100%; height: 340px; touch-action: none; margin-top: var(--space-md); cursor: crosshair; }
.game__status { min-height: 1.4em; }
.game__done { margin-top: var(--space-lg); font-family: var(--font-display); font-size: var(--text-xl); color: var(--c-gold-2); line-height: 1.25; }
.game__cv--sky { height: 320px; cursor: default; touch-action: auto; }
.sky__facts { margin-top: var(--space-md); }
.sky__list { margin-top: var(--space-sm); }
.raten__hints { display: grid; gap: var(--space-xs); margin: var(--space-lg) 0 0; padding-left: 1.3em; color: var(--c-ink-2); }
.raten__hints li::marker { color: var(--c-gold); }
.raten__input { min-height: 48px; resize: none; }
.raten__row { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.raten__msg { min-height: 1.4em; }
.raten__solved { margin-top: var(--space-xl); display: grid; gap: var(--space-xs); justify-items: start; }
.raten__lead { color: var(--c-muted); }
.raten__title { font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1; color: var(--c-gold); }
.raten__artist { font-size: var(--text-lg); color: var(--c-ink); margin-bottom: var(--space-sm); }
.eher { display: grid; gap: var(--space-md); margin-top: var(--space-lg); justify-items: start; }
.eher__progress { color: var(--c-muted); font-size: var(--text-sm); letter-spacing: 0.04em; }
.eher__q { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.2; color: var(--c-ink); max-width: 30rem; text-wrap: balance; }
.eher__choices { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); width: 100%; max-width: 22rem; }
.eher__pick { min-height: 48px; justify-content: center; }
.eher__pick.is-picked:disabled { background: var(--c-gold); color: var(--c-gold-ink); border-color: var(--c-gold); }
.eher__result { min-height: 1.5em; color: var(--c-ink-2); }
.eher__result.is-match { color: var(--c-gold-2); }
.eher__score { font-family: var(--font-display); font-size: var(--text-3xl); color: var(--c-gold); line-height: 1; }
.eher__list { display: grid; gap: var(--space-sm); padding-left: 1.2em; margin: 0; color: var(--c-ink-2); }
.eher__lq, .eher__la { display: block; }
.eher__la { color: var(--c-muted); font-size: var(--text-sm); }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .roll__strip, .stars, .toast, .quiet, .btn, .star__n, .home, .names, .wish, .loader__arc { transition: none; }
  .loader__text { animation: none; }
  .is-entering .home > *, .is-entering .stars { opacity: 1; }
}
