:root {
  color-scheme: dark;
  font-family: Poppins, "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
  --page: #030704;
  --surface: #0d130f;
  --surface-soft: #151c17;
  --surface-strong: #202822;
  --line: rgba(210, 255, 222, 0.085);
  --muted: #8f958f;
  --quiet: #606760;
  --accent: #19df70;
  --accent-rgb: 25, 223, 112;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: #fff;
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

#app {
  min-height: max(700px, 100svh);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

.consent-layer[hidden] {
  display: none;
}

.consent-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: end;
  padding: 20px;
  pointer-events: none;
  background: transparent;
}

.consent-card {
  width: min(400px, 100%);
  max-height: calc(100svh - 40px);
  margin: 0;
  padding: 16px 18px;
  overflow-y: auto;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  border-radius: 15px;
  pointer-events: auto;
  background: rgba(9, 16, 11, 0.98);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.52), 0 0 26px rgba(var(--accent-rgb), 0.07);
}

.consent-eyebrow {
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.consent-card h2 {
  margin: 6px 0 8px;
  font-size: 21px;
  line-height: 1.15;
}

.consent-card p {
  margin: 0;
  color: #bdc5be;
  font-size: 12px;
  line-height: 1.5;
}

.consent-card > a {
  display: inline-block;
  margin-top: 11px;
  color: #9ba59d;
  font-size: 10px;
}

.consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 13px;
}

.consent-actions button {
  min-height: 38px;
  padding-inline: 14px;
  font-size: 11px;
}

.privacy-choices-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
}

.privacy-choices-floating {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #9ba59d;
  background: rgba(9, 16, 11, 0.92);
  font-size: 12px;
}

.ad-banner {
  display: grid;
  min-height: 138px;
  padding: 22px 24px 24px;
  place-content: center;
  gap: 9px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #050a07;
  text-align: center;
}

.ad-banner-label {
  color: #667068;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ad-banner-slot {
  width: 728px;
  height: 90px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

@media (max-width: 799px) {
  .ad-banner-slot {
    width: 320px;
    height: 50px;
  }
}

@media (max-width: 600px) {
  .consent-layer {
    padding: 10px;
  }

  .consent-card {
    width: min(360px, 100%);
    max-height: calc(100svh - 20px);
    padding: 15px 16px;
    border-radius: 14px;
  }

  .consent-actions {
    gap: 6px;
  }

  .consent-actions button { padding-inline: 11px; }

  .ad-banner {
    min-height: 90px;
    padding: 14px 12px 16px;
    gap: 7px;
  }
}

@media (max-width: 340px) {
  .consent-actions { flex-direction: column-reverse; }

  .consent-actions button {
    width: 100%;
  }
}

body[data-catalog="hololive"] {
  --page: #080a0c;
  --surface: #10151a;
  --surface-soft: #151c22;
  --surface-strong: #202930;
  --line: rgba(106, 224, 235, 0.13);
  background: #080a0c;
}

body[data-catalog="hololive"] .game-shell {
  background: #080a0c;
}

body[data-catalog="hololive"] .game-shell::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 37%, rgba(66, 214, 232, 0.055) 37% 38%, transparent 38% 62%, rgba(255, 102, 125, 0.045) 62% 63%, transparent 63%),
    #080a0c;
}

body[data-catalog="hololive"] .spotlight-beam {
  border-right: 1px solid rgba(255, 102, 125, 0.12);
  border-left: 1px solid rgba(66, 214, 232, 0.14);
  background: rgba(15, 22, 27, 0.72);
}

body[data-catalog="hololive"] .wordmark {
  display: flex;
  top: clamp(145px, 20vh, 180px);
  align-items: center;
  flex-direction: column;
  gap: 7px;
  color: #ecfbfd;
  font-size: 46px;
  font-style: normal;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(66, 214, 232, 0.14);
}

body[data-catalog="hololive"] .wordmark span {
  color: #ff667d;
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
}

body[data-catalog="hololive"] .hololive-edition-note {
  display: flex;
  height: auto;
  min-height: 31px;
  padding: 6px 13px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(66, 214, 232, 0.22);
  background: rgba(8, 12, 15, 0.9);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

body[data-catalog="hololive"] .hololive-edition-note strong {
  color: #42d6e8;
  font-size: 9px;
  letter-spacing: 0;
}

body[data-catalog="hololive"] .hololive-edition-note small {
  color: #a8b2b8;
  font-size: 8px;
  letter-spacing: 0;
}

body[data-catalog="hololive"] .filter-roulette-ring-label {
  color: #ffd447;
  background: linear-gradient(90deg, rgba(8, 10, 12, 0.99) 0 92%, transparent 100%);
  letter-spacing: 0;
}

body[data-catalog="hololive"] .game-mode-switch {
  border-color: rgba(66, 214, 232, 0.24);
  background: rgba(8, 12, 15, 0.92);
}

body[data-catalog="hololive"] .game-mode-switch button,
body[data-catalog="hololive"] .game-mode-switch a,
body[data-catalog="hololive"] .control-label,
body[data-catalog="hololive"] .faq-link {
  letter-spacing: 0;
}

body[data-catalog="hololive"] .game-mode-switch button.is-selected {
  color: #071115;
  background: #42d6e8;
}

body[data-catalog="hololive"] .game-hint {
  color: #77848c;
}

.hololive-about {
  border-top: 1px solid rgba(66, 214, 232, 0.2);
  background: #0c1013;
}

.hololive-about-inner {
  width: min(1120px, calc(100% - 48px));
  padding: 72px 0 60px;
  margin: 0 auto;
}

.hololive-about header {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  align-items: end;
  gap: 48px;
}

.hololive-about header p {
  margin: 0 0 8px;
  color: #42d6e8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.hololive-about h2 {
  margin: 0;
  color: #f3f7f8;
  font-size: clamp(36px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hololive-about-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 48px;
  padding-top: 44px;
}

.hololive-about-copy > p {
  margin: 0;
  color: #a9b3b8;
  font-size: 14px;
  line-height: 1.75;
}

.hololive-about dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.hololive-about dl div {
  padding: 3px 22px;
  border-left: 1px solid rgba(255, 102, 125, 0.32);
}

.hololive-about dt {
  color: #ffd447;
  font-size: 29px;
  font-weight: 850;
  letter-spacing: 0;
}

.hololive-about dd {
  margin: 5px 0 0;
  color: #7f8a90;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hololive-rights {
  padding-top: 38px;
  margin: 48px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: #68737a;
  font-size: 10px;
  line-height: 1.7;
}

.hololive-catalog-showcase {
  padding: 62px 0 18px;
  margin-top: 62px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hololive-showcase-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 48px;
}

.hololive-showcase-intro > p {
  margin: 0;
  color: #42d6e8;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.hololive-showcase-intro h3 {
  margin: 0;
  color: #f1f6f7;
  font-size: 28px;
  line-height: 1.18;
}

.hololive-showcase-intro div > p {
  max-width: 640px;
  margin: 14px 0 0;
  color: #a9b3b8;
  font-size: 14px;
  line-height: 1.7;
}

.hololive-cover-reel {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.hololive-cover-card {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: #141a1e;
  color: #f5f8f9;
  isolation: isolate;
}

.hololive-cover-art,
.hololive-cover-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hololive-cover-art {
  z-index: 1;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.hololive-cover-fallback {
  display: grid;
  place-items: center;
  color: #68737a;
  font-family: "Courier New", monospace;
  font-size: 22px;
  font-weight: 800;
}

.hololive-cover-branch,
.hololive-cover-meta {
  position: absolute;
  z-index: 2;
}

.hololive-cover-branch {
  top: 9px;
  left: 9px;
  padding: 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  background: rgba(8, 10, 12, 0.78);
  color: #f7fafb;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.hololive-cover-meta {
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 3px;
  padding: 11px;
  background: rgba(8, 10, 12, 0.88);
}

.hololive-cover-meta strong,
.hololive-cover-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hololive-cover-meta strong {
  font-size: 12px;
  line-height: 1.25;
}

.hololive-cover-meta span {
  color: #a9b3b8;
  font-size: 8px;
}

.hololive-cover-card:hover .hololive-cover-art,
.hololive-cover-card:focus-visible .hololive-cover-art {
  opacity: 0.78;
  transform: scale(1.045);
}

.hololive-editorial {
  margin-top: 64px;
}

.hololive-guide-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 48px;
  padding: 54px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hololive-guide-section > header {
  display: block;
}

.hololive-guide-section > header p {
  margin: 0 0 12px;
  color: #42d6e8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hololive-guide-section h3 {
  margin: 0;
  color: #f1f6f7;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hololive-guide-copy {
  display: grid;
  gap: 18px;
}

.hololive-guide-copy p,
.hololive-faq-list p {
  margin: 0;
  color: #a9b3b8;
  font-size: 14px;
  line-height: 1.78;
}

.hololive-faq-list {
  border-top: 1px solid rgba(255, 102, 125, 0.22);
}

.hololive-faq-list details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hololive-faq-list summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #edf4f5;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.hololive-faq-list summary::-webkit-details-marker {
  display: none;
}

.hololive-faq-list summary span {
  color: #ff667d;
  font-size: 20px;
  font-weight: 400;
  transition: transform 160ms ease;
}

.hololive-faq-list details[open] summary span {
  transform: rotate(45deg);
}

.hololive-faq-list details p {
  padding: 0 0 22px;
}

@media (max-width: 620px) {
  body[data-catalog="hololive"] .wordmark {
    top: 190px;
    font-size: 36px;
  }

  body[data-catalog="hololive"] .topic-context {
    top: 104px;
    max-width: calc(100vw - 32px);
  }

  body[data-catalog="hololive"] .hololive-edition-note {
    display: grid;
    justify-items: center;
    gap: 2px;
    text-align: center;
  }

  body[data-catalog="hololive"] .hololive-mode-switch button,
  body[data-catalog="hololive"] .hololive-mode-switch a {
    padding: 0 7px;
    font-size: 9px;
  }

  .hololive-about-inner {
    width: calc(100% - 36px);
    padding: 52px 0 44px;
  }

  .hololive-about header,
  .hololive-about-copy,
  .hololive-guide-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hololive-about h2 {
    font-size: 42px;
  }

  .hololive-about-copy {
    padding-top: 30px;
  }

  .hololive-editorial {
    margin-top: 46px;
  }

  .hololive-catalog-showcase {
    padding-top: 46px;
    margin-top: 48px;
  }

  .hololive-showcase-intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hololive-showcase-intro > p {
    padding-inline-start: 52px;
  }

  .hololive-showcase-intro h3 {
    font-size: 25px;
  }

  .hololive-cover-reel {
    display: flex;
    gap: 10px;
    padding: 0 18px 8px 0;
    margin-right: -18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .hololive-cover-reel::-webkit-scrollbar {
    display: none;
  }

  .hololive-cover-card {
    flex: 0 0 min(62vw, 230px);
    scroll-snap-align: start;
  }

  .hololive-guide-section {
    padding: 42px 0;
  }

  .hololive-guide-section > header p {
    padding-inline-start: 52px;
  }

  .hololive-guide-section h3 {
    font-size: 25px;
  }

  .hololive-about dl div {
    padding: 3px 10px;
  }

  .hololive-about dt {
    font-size: 22px;
  }

  .hololive-about dd {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hololive-cover-art {
    transition: none;
  }
}

button:not(:disabled),
a {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.game-shell {
  --board-width: 480px;
  position: relative;
  min-height: 700px;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 61%, rgba(var(--accent-rgb), 0.025), transparent 29%),
    var(--page);
  transition: background-color 260ms ease;
}

.game-shell::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  opacity: 0;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 82%, transparent);
  transition: opacity 240ms ease;
}

.game-shell[data-style="arcade"]::after {
  opacity: 1;
}

.game-shell[data-style="arcade"] .wordmark,
.game-shell[data-style="arcade"] .play-duration,
.game-shell[data-style="arcade"] .progress-marker {
  font-family: "Courier New", monospace;
  letter-spacing: -0.04em;
}

.game-shell[data-style="arcade"] .wordmark {
  color: #18231b;
  text-shadow: 2px 2px 0 rgba(var(--accent-rgb), 0.08);
}

.game-shell[data-style="arcade"] .difficulty-tab,
.game-shell[data-style="arcade"] .search-wrap,
.game-shell[data-style="arcade"] .skip-button,
.game-shell[data-style="arcade"] .control-chip,
.game-shell[data-style="arcade"] .split-control button {
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.36);
}

.game-shell[data-style="arcade"] .progress-track {
  border: 2px solid rgba(var(--accent-rgb), 0.55);
  border-radius: 5px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.game-shell[data-style="arcade"] .play-button {
  border: 4px solid color-mix(in srgb, var(--accent) 72%, #fff);
  box-shadow: 0 9px 0 color-mix(in srgb, var(--accent) 52%, #020603), 0 18px 55px rgba(0, 0, 0, 0.52);
}

.game-shell[data-style="arcade"] .play-button:active {
  transform: translateY(6px);
  box-shadow: 0 3px 0 color-mix(in srgb, var(--accent) 52%, #020603), 0 10px 32px rgba(0, 0, 0, 0.5);
}

.spotlight-beam {
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: -1;
  width: min(960px, 80vw);
  transform: translateX(-50%);
  clip-path: polygon(18.75% 0, 81.25% 0, 100% 100%, 0 100%);
  background: rgba(17, 26, 20, 0.57);
  transition: opacity 280ms ease, filter 280ms ease;
}

.spotlight-beam::before,
.spotlight-beam::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  content: "";
  background: linear-gradient(to bottom, rgba(107, 137, 115, 0.12), rgba(107, 137, 115, 0.025));
}

.spotlight-beam::before {
  left: 18.75%;
  transform: skewX(-12deg);
  transform-origin: top;
}

.spotlight-beam::after {
  right: 18.75%;
  transform: skewX(12deg);
  transform-origin: top;
}

.game-shell[data-spotlight="real"] .spotlight-beam {
  filter: blur(4px);
  opacity: 0.82;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(var(--accent-rgb), 0.05), transparent 62%),
    rgba(23, 34, 26, 0.62);
}

.game-board {
  position: relative;
  z-index: 2;
  width: min(var(--board-width), 100%);
  min-height: 700px;
  height: 100%;
  margin: 0 auto;
  transition: width 240ms ease;
}

.game-shell[data-layout="wide"] {
  --board-width: 608px;
}

.wordmark {
  position: absolute;
  top: clamp(132px, 24.4vh, 213px);
  left: 50%;
  transform: translateX(-50%);
  color: #111a14;
  font-size: 52px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.07em;
  user-select: none;
}

.topic-context {
  position: absolute;
  top: clamp(73px, 11vh, 96px);
  right: 0;
  left: 0;
  z-index: 4;
  width: max-content;
  max-width: calc(100vw - 40px);
  height: 31px;
  margin: 0 auto;
}

.quiz-browser-entry,
.topic-context-pill {
  display: flex;
  height: 31px;
  align-items: stretch;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 999px;
  background: rgba(7, 13, 9, 0.86);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.quiz-browser-entry > a,
.topic-switcher-trigger {
  display: flex;
  padding: 0 0 0 12px;
  align-items: center;
  gap: 7px;
  border: 0;
  color: inherit;
  background: transparent;
  text-decoration: none;
  white-space: nowrap;
}

.quiz-browser-entry > a { padding: 0 12px; gap: 10px; }
.quiz-browser-entry strong,
.topic-switcher-trigger > strong { color: color-mix(in srgb, var(--accent) 88%, white); font-size: 10px; }
.quiz-browser-entry small,
.topic-switcher-trigger > small { color: #667169; font-family: "Courier New", monospace; font-size: 8px; }
.quiz-browser-entry small { display: inline-flex; align-items: center; gap: 10px; }
.quiz-browser-entry small::before { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px rgba(var(--accent-rgb), 0.85); content: ""; }
.topic-switcher { --topic-active-accent: var(--accent); --topic-active-rgb: var(--accent-rgb); height: auto; }
.topic-context-pill { position: relative; z-index: 3; border-color: rgba(var(--topic-active-rgb), 0.3); }
.topic-switcher-trigger { height: 29px; cursor: pointer; }
.topic-kind { color: #65736a; font-size: 7px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.topic-switcher-trigger > strong { color: color-mix(in srgb, var(--topic-active-accent) 88%, white); }
.topic-switcher-trigger:hover > strong { color: #f2fff5; }
.topic-switcher-trigger:focus-visible { outline: 2px solid var(--topic-active-accent); outline-offset: 3px; border-radius: 999px 0 0 999px; }
.topic-switcher-action { display: flex; height: 29px; padding: 0 9px; align-items: center; gap: 4px; border-left: 1px solid rgba(var(--topic-active-rgb), 0.2); color: color-mix(in srgb, var(--topic-active-accent) 72%, white); background: rgba(var(--topic-active-rgb), 0.1); font-size: 9px; font-weight: 800; transition: color 160ms ease, background 160ms ease; }
.topic-switcher-trigger:hover .topic-switcher-action { color: #f2fff5; background: rgba(var(--topic-active-rgb), 0.2); }
.topic-switcher-chevron { display: grid; width: 13px; height: 13px; place-items: center; color: currentColor; transition: transform 160ms ease; }
.topic-switcher-chevron svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.topic-switcher.is-open .topic-switcher-action { color: #f2fff5; background: rgba(var(--topic-active-rgb), 0.22); }
.topic-switcher.is-open .topic-switcher-chevron { transform: rotate(180deg); }
.topic-picker .topic-switcher-trigger:focus-visible { border-radius: 999px; }
.topic-picker .topic-switcher-action { border-radius: 0 999px 999px 0; }
.topic-clear { display: grid; width: 31px; padding: 0; place-items: center; border-left: 1px solid var(--line); border-radius: 0 999px 999px 0; color: #748077; text-decoration: none; }
.topic-clear svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.topic-clear:hover { color: #eff8f1; background: rgba(255, 255, 255, 0.04); }
.topic-clear:focus-visible { outline: 2px solid var(--topic-active-accent); outline-offset: 3px; }

.topic-switcher-scrim { display: none; }

.topic-switcher-panel {
  position: absolute;
  top: 43px;
  left: 50%;
  z-index: 4;
  width: 570px;
  padding: 17px;
  border: 1px solid rgba(var(--topic-active-rgb), 0.3);
  border-radius: 16px;
  visibility: hidden;
  color: #dce6de;
  background: rgba(7, 14, 9, 0.97);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.52);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -7px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  backdrop-filter: blur(18px);
}

.topic-switcher.is-open { z-index: 60; }
.topic-switcher.is-open .topic-switcher-panel { visibility: visible; opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.topic-switcher-panel header { display: flex; min-height: 38px; align-items: flex-start; justify-content: space-between; }
.topic-switcher-panel header > div { display: grid; gap: 3px; }
.topic-switcher-panel header strong { color: #edf7ef; font-size: 13px; letter-spacing: -0.015em; }
.topic-switcher-panel header small { color: #68756c; font-size: 8px; font-weight: 750; letter-spacing: 0.11em; text-transform: uppercase; }
.topic-switcher-panel header button { display: grid; width: 30px; height: 30px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: #758178; background: #121c15; }
.topic-switcher-panel header button:hover { color: #edf7ef; background: #1a261e; }
.topic-switcher-panel header button:focus-visible { outline: 2px solid var(--topic-active-accent); outline-offset: 2px; }
.topic-switcher-panel header svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.topic-switcher-search {
  display: flex;
  height: 38px;
  padding: 0 11px;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  border: 1px solid #1c2820;
  border-radius: 11px;
  background: #0c1510;
}
.topic-switcher-search:focus-within { border-color: rgba(var(--topic-active-rgb), 0.55); box-shadow: 0 0 0 2px rgba(var(--topic-active-rgb), 0.1); }
.topic-switcher-search svg { width: 14px; height: 14px; flex: 0 0 auto; fill: none; stroke: #647168; stroke-width: 1.8; }
.topic-switcher-search input { min-width: 0; width: 100%; border: 0; outline: 0; color: #eaf4ec; background: transparent; font: inherit; font-size: 10px; }
.topic-switcher-search input::placeholder { color: #59645c; }
.topic-switcher-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.topic-switcher-group h3 { margin: 0 0 7px 3px; color: #727f75; font-size: 8px; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
.topic-switcher-options { display: grid; gap: 5px; }
.topic-switcher-options a {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) 15px;
  min-height: 45px;
  padding: 7px 9px;
  align-items: center;
  gap: 7px;
  border: 1px solid #1c2820;
  border-radius: 12px;
  color: inherit;
  background: #0c1510;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}
.topic-switcher-options a:hover { border-color: rgba(var(--topic-option-rgb), 0.42); background: rgba(var(--topic-option-rgb), 0.08); transform: translateY(-1px); }
.topic-switcher-options a:focus-visible { outline: 2px solid var(--topic-option-accent); outline-offset: 2px; }
.topic-switcher-options a.is-current { border-color: rgba(var(--topic-option-rgb), 0.46); background: rgba(var(--topic-option-rgb), 0.12); }
.topic-switcher-options a > i { width: 6px; height: 6px; border-radius: 50%; background: var(--topic-option-accent); box-shadow: 0 0 10px rgba(var(--topic-option-rgb), 0.6); }
.topic-switcher-options a > span { display: grid; min-width: 0; gap: 2px; }
.topic-switcher-options a strong { overflow: hidden; color: #dfe9e1; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.topic-switcher-options a small { color: #667269; font-family: "Courier New", monospace; font-size: 7px; }
.topic-switcher-options a > b { display: grid; width: 15px; height: 15px; place-items: center; color: var(--topic-option-accent); }
.topic-switcher-options a > b svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.topic-switcher-group[hidden],
.topic-switcher-options a[hidden],
.topic-switcher-empty[hidden] { display: none !important; }
.topic-switcher-empty { margin: 22px 0 8px; color: #748077; font-size: 10px; text-align: center; }

.topic-switcher-panel footer { display: flex; padding-top: 13px; margin-top: 14px; align-items: center; justify-content: space-between; border-top: 1px solid #1b261f; }
.topic-switcher-panel footer a { color: #78847b; font-size: 8px; font-weight: 750; text-decoration: none; }
.topic-switcher-panel footer a:hover { color: #eaf5ec; }
.topic-switcher-panel footer a:focus-visible { outline: 2px solid var(--topic-active-accent); outline-offset: 3px; border-radius: 3px; }
.game-shell[data-mode="daily"] .topic-context:not(.quiz-browser-entry) { display: none; }
.game-shell[data-mode="daily"] .quiz-browser-entry { top: 68px; z-index: 20; }
.game-shell[data-mode="practice"] .quiz-browser-entry { display: none; }
.game-shell[data-mode="archive"] .quiz-browser-entry { display: none; }

.filter-roulette-deck {
  position: absolute;
  top: calc(clamp(218px, 34vh, 297px) - 29px);
  left: 50%;
  z-index: 5;
  display: grid;
  grid-template-rows: repeat(3, 29px);
  gap: 0;
  width: min(512px, calc(100vw - 48px));
  transform: translateX(-50%);
}

.filter-roulette-ring[data-filter-roulette-ring="genre"] { grid-row: 1; }
.filter-roulette-ring[data-filter-roulette-ring="era"] { grid-row: 2; }
.filter-roulette-ring[data-filter-roulette-ring="artist"] { grid-row: 3; }

.filter-roulette-ring {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 29px;
  overflow: hidden;
}
.filter-roulette-ring-label {
  position: absolute;
  top: 5px;
  bottom: 1px;
  left: 0;
  z-index: 4;
  display: flex;
  width: 128px;
  padding-left: 9px;
  align-items: center;
  color: #4a554d;
  background: linear-gradient(90deg, rgba(8, 14, 10, 0.98) 0 92%, transparent 100%);
  font-size: 6.5px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  pointer-events: none;
}

.filter-roulette-pointer {
  position: absolute;
  top: -1px;
  left: 50%;
  z-index: 6;
  width: 16px;
  height: 12px;
  overflow: visible;
  color: color-mix(in srgb, var(--accent) 84%, #edf6ef);
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.8)) drop-shadow(0 0 5px rgba(var(--accent-rgb), 0.42));
  transform: translateX(-50%);
  transform-origin: 50% 1px;
  pointer-events: none;
}

.filter-roulette-pointer-body {
  fill: currentColor;
  stroke: rgba(3, 8, 5, 0.9);
  stroke-width: 0.7;
  stroke-linejoin: round;
}

.filter-roulette-pointer-glint {
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 0.65;
  stroke-linecap: round;
}

.filter-roulette-ring:has(.is-rolling) .filter-roulette-pointer {
  animation: roulette-pointer-tick 140ms ease-in-out infinite;
}

@keyframes roulette-pointer-tick {
  0%,
  100% { transform: translateX(-50%) rotate(0deg); }
  45% { transform: translateX(-50%) translateY(-1px) rotate(-7deg); }
  72% { transform: translateX(-50%) rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .filter-roulette-ring:has(.is-rolling) .filter-roulette-pointer {
    animation: none;
  }
}

.filter-roulette-window,
.filter-roulette-deck .era-roulette {
  position: absolute;
  top: 4px;
  left: 0;
  width: 100%;
  height: 25px;
  overflow: hidden;
  border-top: 1px solid rgba(78, 92, 82, 0.08);
  border-bottom: 1px solid rgba(78, 92, 82, 0.1);
  background:
    radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.032), transparent 34%),
    rgba(8, 14, 10, 0.22);
  transform: none;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  scrollbar-width: none;
}

.filter-roulette-window::-webkit-scrollbar { display: none; }
.filter-roulette-window::after {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 50%;
  width: 104px;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.055), transparent 72%);
  transform: translateX(-50%);
}

.filter-roulette-track,
.filter-roulette-sequence {
  display: flex;
  width: max-content;
  height: 23px;
}

.filter-roulette-sequence { flex: 0 0 auto; }
.filter-roulette-item {
  display: grid;
  flex: 0 0 112px;
  width: 112px;
  height: 23px;
  padding: 0 7px;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  color: #4d5750;
  background: transparent;
  font: inherit;
  font-size: 9px;
  font-weight: 720;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.filter-roulette-item[data-topic-copy],
.era-label[data-era-copy] { cursor: pointer; }
.filter-roulette-item[hidden],
.era-roulette button[hidden],
.era-roulette .era-label[hidden] { display: none !important; }
.filter-roulette-item:hover { color: #9ea9a1; }
.filter-roulette-item:focus-visible { outline: none; color: #e3ece5; text-shadow: 0 0 11px rgba(var(--accent-rgb), 0.3); }
.filter-roulette-item.is-selected {
  color: color-mix(in srgb, var(--topic-option-accent, var(--accent)) 72%, #dce6de);
  font-weight: 850;
  text-shadow: 0 0 14px rgba(var(--topic-option-rgb, var(--accent-rgb)), 0.2);
  transform: scale(1.035);
}
.filter-roulette-window.is-rolling .filter-roulette-track { filter: blur(0.22px) saturate(0.92); }

.era-roulette {
  --era-index: 0;
  position: absolute;
  top: clamp(218px, 34vh, 297px);
  left: 50%;
  z-index: 3;
  width: min(512px, calc(100vw - 48px));
  height: 25px;
  overflow: hidden;
  border-top: 1px solid rgba(78, 92, 82, 0.08);
  border-bottom: 1px solid rgba(78, 92, 82, 0.1);
  background:
    radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.032), transparent 34%),
    rgba(8, 14, 10, 0.22);
  transform: translateX(-50%);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  scrollbar-width: none;
}

.era-roulette::-webkit-scrollbar { display: none; }

.era-roulette::after {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 50%;
  width: 78px;
  content: "";
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.045), transparent 72%);
  transform: translateX(-50%);
}

.era-roulette-track {
  position: relative;
  display: flex;
  width: max-content;
  height: 23px;
  transition: filter 180ms ease, opacity 180ms ease;
  will-change: filter;
}

.era-sequence {
  display: flex;
  flex: 0 0 auto;
  height: 23px;
}

.era-roulette button,
.era-roulette .era-label {
  display: grid;
  flex: 0 0 72px;
  width: 72px;
  height: 23px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 5px;
  color: #4d5750;
  background: transparent;
  font-size: 10px;
  font-weight: 720;
  line-height: 1;
  white-space: nowrap;
  transition: color 180ms ease, opacity 180ms ease, text-shadow 180ms ease, transform 180ms ease;
}

.era-roulette button:hover:not(:disabled) { color: #8e9991; }
.era-roulette button:focus-visible {
  outline: none;
  color: #d0d8d2;
  text-shadow: 0 0 11px rgba(var(--accent-rgb), 0.3);
}
.era-roulette button.is-selected {
  color: #bac3bc;
  font-weight: 850;
  text-shadow: 0 0 14px rgba(var(--accent-rgb), 0.14);
  transform: scale(1.03);
}
.era-roulette .is-current-tick {
  color: #aeb9b1;
  opacity: 1;
  text-shadow: 0 0 14px rgba(var(--accent-rgb), 0.18);
  transform: scale(1.055);
}
.era-roulette button:disabled:not(.is-selected) { opacity: 0.16; }
.era-roulette.is-rolling { cursor: wait; }
.era-roulette.is-rolling .era-roulette-track { filter: blur(0.22px) saturate(0.92); }
.era-roulette.is-rolling button.is-selected:not(.is-current-tick) { color: #59645c; text-shadow: none; transform: none; }
.era-roulette.is-rolling .is-current-tick { filter: blur(0); }

.difficulty-tabs {
  position: absolute;
  top: clamp(308px, calc(38.6vh + 54px), 391px);
  left: 50%;
  display: grid;
  grid-template-columns: 0.92fr 1.22fr 0.92fr 1.05fr 1.43fr;
  gap: 5px;
  width: min(400px, calc(100vw - 48px));
  transform: translateX(-50%);
}

.difficulty-tab {
  height: 29px;
  min-width: 0;
  padding: 0 5px;
  border: 0;
  border-radius: 999px;
  color: color-mix(in srgb, var(--tab-color) 88%, white);
  background: color-mix(in srgb, var(--tab-color) 11%, transparent);
  font-size: 11.5px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.difficulty-tab:hover {
  transform: translateY(-1px);
  filter: brightness(1.25);
}

[data-difficulty="easy"] { --tab-color: #19df70; }
[data-difficulty="medium"] { --tab-color: #ffd234; }
[data-difficulty="hard"] { --tab-color: #ff8631; }
[data-difficulty="expert"] { --tab-color: #f66464; }
[data-difficulty="impossible"] { --tab-color: #ae67ed; }

.difficulty-tab.is-selected {
  color: #04160b;
  background: var(--tab-color);
  box-shadow: 0 0 22px color-mix(in srgb, var(--tab-color) 42%, transparent);
}

.progress-wrap {
  --marker: 0%;
  position: absolute;
  top: clamp(360px, calc(44.6vh + 54px), 443px);
  left: 50%;
  width: min(400px, calc(100vw - 48px));
  height: 51px;
  transform: translateX(-50%);
}

.progress-track {
  --playback-progress: 0%;
  position: relative;
  display: flex;
  width: 100%;
  height: 25px;
  overflow: hidden;
  align-items: stretch;
  border: 0;
  border-radius: 11px;
  background: #232924;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.018);
}

.progress-segment {
  position: relative;
  min-width: 0;
  height: 100%;
  flex: var(--segment-weight, 0) 1 0;
  overflow: hidden;
  background: #232924;
  transform-origin: 100% 50%;
  transition: background 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.progress-segment i {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 4;
  width: 1px;
  background: var(--page);
}

.progress-segment.is-reached {
  background: var(--accent);
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.38);
}

.playback-progress {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 4;
  width: var(--playback-progress);
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.35);
  opacity: 0;
  pointer-events: none;
  will-change: width;
  transition: opacity 120ms ease;
}

.progress-track.is-playing .playback-progress,
.progress-track.has-playback-progress .playback-progress {
  opacity: 1;
}

.progress-marker {
  position: absolute;
  top: 33px;
  left: var(--marker);
  display: flex;
  align-items: baseline;
  color: color-mix(in srgb, var(--accent) 88%, white);
  font-family: "Courier New", monospace;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
  transform: translateX(-50%);
  transition: left 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.progress-marker::before {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 4px solid transparent;
  border-bottom: 5px solid var(--accent);
  border-left: 4px solid transparent;
  content: "";
  transform: translateX(-50%);
}

.progress-marker small {
  margin-left: 1px;
  font-size: 8px;
}

.progress-wrap.is-stage-transitioning .progress-track {
  animation: progress-track-confirm 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.progress-wrap.is-stage-transitioning .progress-marker {
  animation: progress-marker-settle 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes progress-track-confirm {
  0%, 100% {
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.018), 0 0 0 rgba(var(--accent-rgb), 0);
  }
  42% {
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 0 0 1px rgba(var(--accent-rgb), 0.28), 0 0 18px rgba(var(--accent-rgb), 0.16);
  }
}

@keyframes progress-marker-settle {
  0% {
    opacity: 0.48;
    transform: translateX(-50%) translateY(3px) scale(0.82);
  }
  62% {
    opacity: 1;
    transform: translateX(-50%) translateY(-1px) scale(1.08);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.play-row {
  position: absolute;
  top: clamp(436px, calc(53.8vh + 54px), 524px);
  left: 50%;
  display: flex;
  align-items: center;
  transform: translateX(-60px);
}

.play-button {
  position: relative;
  display: grid;
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #04160b;
  background: var(--accent);
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb), 0.16),
    0 0 48px rgba(var(--accent-rgb), 0.15),
    0 18px 58px rgba(0, 0, 0, 0.35);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 240ms ease;
}

.play-button:hover {
  transform: scale(1.035);
  filter: brightness(1.05);
  box-shadow: 0 0 60px rgba(var(--accent-rgb), 0.24), 0 18px 58px rgba(0, 0, 0, 0.35);
}

.play-button:active {
  transform: scale(0.96);
}

.play-glyph {
  display: grid;
  place-items: center;
}

.play-glyph svg {
  width: 36px;
  height: 40px;
  margin-left: 6px;
  fill: currentColor;
  stroke: none;
}

.play-button.is-playing .play-glyph svg {
  width: 34px;
  height: 38px;
  margin-left: 0;
}

.play-button.is-loading {
  cursor: progress;
}

.play-button.is-loading .play-glyph {
  opacity: 0.12;
}

.play-ripple {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(var(--accent-rgb), 0.48);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
}

.play-button.is-playing .play-ripple {
  animation: play-ripple 1s ease-out infinite;
}

.play-button.is-loading .play-ripple {
  inset: 35px;
  border: 3px solid rgba(4, 22, 11, 0.22);
  border-top-color: currentColor;
  opacity: 1;
  animation: play-loading 700ms linear infinite;
}

@keyframes play-loading {
  to { transform: rotate(1turn); }
}

@keyframes play-ripple {
  0% { opacity: 0.5; transform: scale(0.95); }
  100% { opacity: 0; transform: scale(1.5); }
}

.play-duration {
  margin-left: 16px;
  color: var(--accent);
  font-family: "Courier New", monospace;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.guess-form {
  position: absolute;
  top: clamp(580px, calc(70.4vh + 54px), 669px);
  left: 50%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 6px;
  width: min(400px, calc(100vw - 48px));
  transform: translateX(-50%);
}

.search-wrap {
  position: relative;
  display: flex;
  height: 40px;
  align-items: center;
  border: 1px solid #303933;
  border-radius: 12px;
  background: rgba(18, 24, 20, 0.88);
  transition: border-color 160ms ease, background 160ms ease;
}

.search-wrap:focus-within {
  border-color: rgba(var(--accent-rgb), 0.62);
  background: #111a14;
}

.search-wrap > svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-left: 13px;
  color: #8d948e;
}

.search-wrap input {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 12px 0 8px;
  border: 0;
  outline: none;
  color: #f4f8f5;
  background: transparent;
  font-size: 13px;
}

.search-wrap input::placeholder {
  color: #9aa09b;
}

.suggestions {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 20;
  display: grid;
  max-height: 228px;
  padding: 6px;
  overflow: auto;
  gap: 1px;
  border: 1px solid #273129;
  border-radius: 16px;
  background: rgba(14, 19, 16, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
}

.suggestions:empty {
  display: none;
}

.suggestions button {
  display: flex;
  min-height: 46px;
  padding: 6px 11px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  border: 0;
  border-radius: 10px;
  color: #f4f7f4;
  background: transparent;
  text-align: left;
}

.suggestions button:first-child { background: #2b2b2b; }
.suggestions button:hover { background: rgba(var(--accent-rgb), 0.09); }
.suggestions strong { font-size: 13.5px; line-height: 1.15; }
.suggestions span { color: var(--muted); font-size: 11.5px; line-height: 1.15; }

.skip-button {
  display: flex;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #303933;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(18, 24, 20, 0.88);
  font-size: 12.5px;
  font-weight: 800;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.skip-button:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  color: #fff;
  transform: translateX(1px);
}

.skip-button svg {
  width: 14px;
  height: 14px;
}

.game-hint {
  position: absolute;
  top: clamp(632px, calc(77vh + 54px), 726px);
  left: 50%;
  width: 360px;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(187, 198, 189, 0.28);
  font-size: 10px;
  letter-spacing: 0.02em;
  text-align: center;
}

.left-rail,
.right-rail {
  position: absolute;
  z-index: 8;
}

.left-rail {
  top: 50%;
  left: max(34px, calc(50% - 740px));
  width: 181px;
  transform: translateY(-188px);
}

.right-rail {
  top: clamp(170px, 25.2vh, 211px);
  right: max(24px, calc(50% - 740px));
  width: 196px;
  max-height: calc(100svh - 230px);
  overflow: auto;
  scrollbar-width: none;
}

.right-rail::-webkit-scrollbar { display: none; }

.control-label {
  display: block;
  margin-bottom: 11px;
  color: #747b75;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.difficulty-list {
  display: grid;
  gap: 9px;
}

.difficulty-row {
  width: 100%;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 13px;
  color: #9a9f9b;
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.difficulty-row:hover {
  color: #d8ded9;
  transform: translateX(2px);
}

.difficulty-row.is-selected {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.11);
}

.rail-rule {
  height: 1px;
  margin: 20px 0 16px;
  background: var(--line);
}

.reroll-button {
  display: flex;
  width: 100%;
  height: 34px;
  padding: 0 14px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 9px;
  color: #959b96;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease;
}

.reroll-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.reroll-button svg { width: 13px; height: 13px; }
.filter-reset-button {
  margin-top: 2px;
  color: #a4aca6;
}
.filter-reset-button[hidden] { display: none; }
.filter-reset-button:not([hidden]) { animation: filter-reset-button-in 260ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.filter-reset-button svg { color: var(--accent); }
.filter-reset-button:disabled { cursor: wait; opacity: 0.46; }

@keyframes filter-reset-button-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.play-again-button { display: none; margin-top: 2px; }
.play-again-button svg path:first-child { fill: currentColor; stroke: none; }
.game-shell.is-finished .play-again-button { display: flex; }

.control-section {
  padding: 0 0 22px;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--line);
}

.control-key {
  display: flex;
  width: 100%;
  height: 40px;
  padding: 0 14px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  color: #717771;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.control-key.is-active {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.11);
}

.control-key svg { width: 12px; height: 12px; }
.control-key svg path:first-child { fill: currentColor; stroke: none; }

.coming-row { position: relative; }
.coming-soon {
  position: absolute;
  right: 4px;
  bottom: -5px;
  color: #505650;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stage-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.control-chip,
.split-control button {
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 10px;
  color: #777f79;
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease, filter 160ms ease;
}

.control-chip:hover,
.split-control button:hover { filter: brightness(1.25); }

.control-chip.is-active,
.split-control button.is-active {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.09);
}

.volume-section input {
  width: 100%;
  height: 5px;
  margin: 0;
  appearance: none;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent) 0 27%, #202722 27% 100%);
  accent-color: var(--accent);
}

.volume-section input::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.08);
}

.option-section { padding-bottom: 0; border-bottom: 0; }

.options-trigger {
  display: flex;
  width: 100%;
  height: 38px;
  padding: 0 12px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 11px;
  color: #7d837e;
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
}

.options-trigger b {
  margin-left: 5px;
  padding: 2px 6px;
  border-radius: 99px;
  color: #07120a;
  background: var(--accent);
  font-size: 8px;
  text-transform: uppercase;
}

.options-trigger svg {
  width: 13px;
  height: 13px;
  transition: transform 180ms ease;
}

.options-trigger.is-open svg { transform: rotate(180deg); }

.options-panel {
  display: grid;
  max-height: 0;
  overflow: hidden;
  gap: 18px;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 260ms ease, opacity 180ms ease, transform 180ms ease, padding 260ms ease;
}

.options-panel.is-open {
  max-height: 330px;
  padding: 18px 0 0;
  opacity: 1;
  transform: none;
}

.option-block .control-label { margin-bottom: 8px; }
.option-block small { display: block; margin-top: 6px; color: #4f5550; font-size: 8px; }
.split-control { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

.faq-link {
  position: fixed;
  right: 20px;
  bottom: 18px;
  z-index: 20;
  color: rgba(255, 255, 255, 0.2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color 160ms ease;
}

.faq-link:hover { color: rgba(255, 255, 255, 0.55); }

.mobile-menu-button {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 60;
  display: flex;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(71, 91, 77, 0.42);
  border-radius: 999px;
  color: #dce7de;
  background: rgba(13, 22, 16, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.mobile-menu-wordmark {
  font-size: 13px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.mobile-menu-glyph {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-glyph span {
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: #aeb5af;
}

.drawer-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: block;
  visibility: hidden;
  pointer-events: none;
}

.drawer-layer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.drawer-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity 240ms ease;
}

.drawer-layer.is-open .drawer-scrim { opacity: 1; }

.mobile-drawer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(330px, 88vw);
  border-right: 1px solid #273029;
  background: #07100a;
  box-shadow: 24px 0 70px rgba(0, 0, 0, 0.5);
  transform: translateX(-102%);
  transition: transform 280ms cubic-bezier(0.22, 0.8, 0.2, 1);
}

.drawer-layer.is-open .mobile-drawer { transform: none; }

.drawer-head {
  display: flex;
  height: 72px;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.drawer-brand {
  color: #dfe6e0;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  text-decoration: none;
}

.drawer-head button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #98a099;
  background: #172019;
}

.drawer-head svg { width: 16px; height: 16px; }

.drawer-scroll {
  height: calc(100% - 72px);
  padding: 24px 20px max(36px, env(safe-area-inset-bottom));
  overflow: auto;
}

.drawer-game-controls { display: grid; }
.drawer-game-controls-heading { margin-bottom: 18px; }
.drawer-game-controls > .drawer-section,
.drawer-game-controls > .control-section { margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.drawer-section .reroll-button { margin-top: 14px; }
.drawer-section .filter-reset-button { margin-top: 2px; }

.game-mode-switch {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 40;
  display: flex;
  height: 38px;
  padding: 4px;
  align-items: center;
  gap: 3px;
  border: 1px solid #242e26;
  border-radius: 999px;
  background: rgba(8, 13, 10, 0.88);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.game-mode-switch button,
.game-mode-switch a {
  display: inline-flex;
  height: 30px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #7f8981;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.game-mode-switch button.is-selected,
.game-mode-switch a.is-selected {
  color: #06140a;
  background: var(--accent);
}

.game-mode-switch button:disabled { cursor: not-allowed; opacity: 0.38; }
.game-mode-switch a:hover { color: #dce6de; }

.daily-hud {
  position: absolute;
  top: 84px;
  left: 50%;
  z-index: 8;
  display: none;
  width: min(400px, calc(100vw - 48px));
  align-items: center;
  justify-content: space-between;
  color: #7f8c82;
  font-family: "Courier New", monospace;
  font-size: 10px;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.daily-hud strong { color: var(--accent); font-size: 11px; }
.daily-hud time { color: #637068; font-variant-numeric: tabular-nums; }
.game-shell[data-mode="daily"][data-daily-view="playing"] .daily-hud,
.game-shell[data-mode="archive"][data-daily-view="playing"] .daily-hud { display: flex; }

.game-shell[data-mode="daily"] .left-rail,
.game-shell[data-mode="daily"] .drawer-section,
.game-shell[data-mode="daily"] .filter-roulette-deck,
.game-shell[data-mode="daily"] .era-roulette,
.game-shell[data-mode="daily"] .difficulty-tabs,
.game-shell[data-mode="daily"] .reroll-button,
.game-shell[data-mode="daily"] .stage-control-section { display: none; }

.game-shell[data-mode="archive"] .left-rail,
.game-shell[data-mode="archive"] .drawer-section,
.game-shell[data-mode="archive"] .filter-roulette-deck,
.game-shell[data-mode="archive"] .era-roulette,
.game-shell[data-mode="archive"] .difficulty-tabs,
.game-shell[data-mode="archive"] .reroll-button,
.game-shell[data-mode="archive"] .stage-control-section { display: none; }
.game-shell[data-mode="archive"] [data-result] [data-action="challenge"],
.game-shell[data-mode="archive"] [data-result] .result-community-link { display: none !important; }
body.archive-game-active .home-quiz-picker { display: none; }

.game-shell[data-mode="daily"] .progress-wrap { top: clamp(254px, 39vh, 340px); }
.game-shell[data-mode="daily"] .play-row { top: clamp(334px, 48.5vh, 422px); }
.game-shell[data-mode="daily"] .guess-form { top: clamp(482px, 65vh, 567px); }
.game-shell[data-mode="daily"] .game-hint { top: clamp(534px, 71vh, 622px); }
.game-shell[data-mode="daily"] .daily-hud { top: 112px; }
.game-shell[data-mode="daily"] .wordmark { top: clamp(150px, 21vh, 184px); }
.game-shell[data-mode="archive"] .progress-wrap { top: clamp(254px, 39vh, 340px); }
.game-shell[data-mode="archive"] .play-row { top: clamp(334px, 48.5vh, 422px); }
.game-shell[data-mode="archive"] .guess-form { top: clamp(482px, 65vh, 567px); }
.game-shell[data-mode="archive"] .game-hint { top: clamp(534px, 71vh, 622px); }
.game-shell[data-mode="archive"] .daily-hud { top: 112px; }
.game-shell[data-mode="archive"] .wordmark { top: clamp(150px, 21vh, 184px); }

.daily-layer {
  position: absolute;
  top: 92px;
  left: 50%;
  z-index: 18;
  display: none;
  width: min(440px, calc(100vw - 40px));
  max-height: calc(100svh - 112px);
  overflow: auto;
  scrollbar-width: thin;
  transform: translateX(-50%);
}

.daily-layer.is-visible { display: block; }
.game-shell[data-mode="daily"] .daily-layer.is-visible { top: 112px; max-height: calc(100svh - 132px); }
.game-shell[data-mode="archive"] .daily-layer.is-visible { top: 112px; max-height: calc(100svh - 132px); }

@media (min-width: 621px) and (min-height: 820px) {
  .game-shell[data-mode="daily"] [data-daily-intro].daily-layer.is-visible {
    max-height: none;
    overflow: visible;
  }
}

.game-board:has(.daily-layer.is-visible) .wordmark,
.game-board:has(.daily-layer.is-visible) .filter-roulette-deck,
.game-board:has(.daily-layer.is-visible) .era-roulette,
.game-board:has(.daily-layer.is-visible) .difficulty-tabs,
.game-board:has(.daily-layer.is-visible) .progress-wrap,
.game-board:has(.daily-layer.is-visible) .play-row,
.game-board:has(.daily-layer.is-visible) .guess-form,
.game-board:has(.daily-layer.is-visible) .game-hint,
.game-board:has(.daily-layer.is-visible) .daily-hud { display: none; }

.daily-card {
  padding: 30px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 0, rgba(var(--accent-rgb), 0.1), transparent 46%),
    rgba(11, 18, 13, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  text-align: center;
}

.daily-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.daily-card h2 { margin: 10px 0 0; font-size: 38px; letter-spacing: -0.04em; }
.daily-copy { min-height: 42px; margin: 12px auto 0; color: #929e95; font-size: 12px; line-height: 1.65; }

.archive-announcement-dialog {
  width: min(520px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100svh - 40px);
  padding: 0;
  overflow: visible;
  border: 0;
  color: #edf5ef;
  background: transparent;
}

.archive-announcement-dialog::backdrop {
  background: rgba(0, 7, 3, 0.76);
  backdrop-filter: blur(8px);
}

.archive-announcement-panel {
  position: relative;
  padding: 31px 32px 29px;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 27px;
  background:
    radial-gradient(circle at 88% 4%, rgba(var(--accent-rgb), 0.15), transparent 38%),
    linear-gradient(145deg, #0d1d12, #08110b 62%);
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.68), 0 0 55px rgba(var(--accent-rgb), 0.08);
  transform: translateY(14px) scale(0.98);
  animation: archive-dialog-in 360ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes archive-dialog-in {
  to { transform: none; }
}

.archive-announcement-orbit {
  position: absolute;
  top: -105px;
  right: -100px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(var(--accent-rgb), 0.13);
  border-radius: 50%;
  pointer-events: none;
}

.archive-announcement-orbit span {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(var(--accent-rgb), 0.1);
  border-radius: inherit;
}

.archive-announcement-orbit span:last-child { inset: 62px; }

.archive-announcement-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
}

.archive-announcement-meta span {
  display: inline-flex;
  height: 21px;
  padding: 0 8px;
  align-items: center;
  border-radius: 999px;
  color: #06140a;
  background: var(--accent);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.archive-announcement-meta small {
  color: #6f7d73;
  font-family: "Courier New", monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-announcement-kicker {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
  color: var(--accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.archive-announcement-panel h2 {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  font-size: clamp(36px, 7vw, 50px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.archive-announcement-panel h2 em { color: var(--accent); font-family: Georgia, serif; font-weight: 500; }

.archive-announcement-panel > p:not(.archive-announcement-kicker) {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 18px 0 0;
  color: #9aa69d;
  font-size: 12px;
  line-height: 1.65;
}

.archive-announcement-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid #233127;
  border-radius: 14px;
  background: #233127;
}

.archive-announcement-facts span { display: grid; padding: 13px 14px; gap: 3px; background: rgba(7, 15, 9, 0.94); }
.archive-announcement-facts strong { color: #dfe9e2; font-size: 10px; }
.archive-announcement-facts small { color: #66736a; font-size: 8px; letter-spacing: 0.06em; text-transform: uppercase; }

.archive-announcement-actions {
  position: relative;
  z-index: 1;
  display: flex;
  margin-top: 22px;
  align-items: center;
  gap: 16px;
}

.archive-announcement-actions .primary-button {
  display: inline-flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  gap: 9px;
  border-radius: 13px;
  text-decoration: none;
}

.archive-announcement-actions .primary-button svg { width: 15px; height: 15px; transition: transform 160ms ease; }
.archive-announcement-actions .primary-button:hover svg { transform: translateX(3px); }
.archive-announcement-actions > button { min-height: 44px; padding: 0; border: 0; color: #78847b; background: transparent; font-size: 10px; font-weight: 750; }
.archive-announcement-actions > button:hover { color: #d7e1da; }

.archive-announcement-dismiss {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #718077;
  background: rgba(4, 12, 7, 0.42);
  transition: color 160ms ease, background 160ms ease;
}

.archive-announcement-dismiss:hover { color: #e3ece5; background: rgba(255, 255, 255, 0.07); }
.archive-announcement-dismiss svg { width: 15px; height: 15px; }

.daily-progress,
.daily-result-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin-top: 22px;
}

.daily-progress span,
.daily-result-grid span {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #283329;
  border-radius: 12px;
  color: #647067;
  background: #111913;
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 900;
}

.daily-progress span.is-current { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.12); }
.daily-progress span.is-correct,
.daily-result-grid span.is-correct { border-color: #19df70; color: #06140a; background: #19df70; }
.daily-progress span.is-missed,
.daily-result-grid span.is-missed { border-color: #384139; color: #9ba39d; background: #252d27; }

.daily-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #222d24;
  border-radius: 14px;
  background: #222d24;
}

.daily-metrics span { display: grid; padding: 13px 8px; gap: 5px; background: #0d150f; }
.daily-metrics small { color: #657068; font-size: 8px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.daily-metrics strong { color: #dfe9e1; font-family: "Courier New", monospace; font-size: 12px; font-variant-numeric: tabular-nums; }
.daily-start { width: 100%; margin-top: 16px; }
.daily-start:disabled { opacity: 0.46; }

.daily-practice-link {
  margin-top: 13px;
  border: 0;
  color: #738077;
  background: transparent;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.daily-secondary-links {
  display: flex;
  margin-top: 13px;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.daily-secondary-links a,
.daily-secondary-links .daily-practice-link { margin-top: 0; color: #819087; font-size: 10px; }
.daily-secondary-links a { text-underline-offset: 3px; }

.archive-loading-card {
  overflow: hidden;
  background:
    linear-gradient(120deg, transparent 0 48%, rgba(var(--accent-rgb), 0.045) 48% 52%, transparent 52%),
    radial-gradient(circle at 50% 0, rgba(var(--accent-rgb), 0.13), transparent 48%),
    rgba(11, 18, 13, 0.96);
  background-size: 100% 100%, 100% 100%, 100% 100%;
}

.archive-loading-pulse {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin-top: 24px;
}

.archive-loading-pulse span {
  height: 7px;
  border-radius: 999px;
  background: #253128;
  animation: archive-scan 1.2s ease-in-out infinite;
}
.archive-loading-pulse span:nth-child(2) { animation-delay: 90ms; }
.archive-loading-pulse span:nth-child(3) { animation-delay: 180ms; }
.archive-loading-pulse span:nth-child(4) { animation-delay: 270ms; }
.archive-loading-pulse span:nth-child(5) { animation-delay: 360ms; }
.archive-loading-pulse span.is-correct { background: #19df70; animation: none; }
.archive-loading-pulse span.is-missed { background: #5e6961; animation: none; }

@keyframes archive-scan {
  0%, 100% { opacity: 0.34; transform: scaleX(0.72); }
  50% { opacity: 1; transform: scaleX(1); background: var(--accent); }
}

.archive-summary-date {
  margin: 8px 0 0;
  color: #718078;
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.daily-top-five { margin-top: 24px; padding-top: 19px; border-top: 1px solid #202a22; text-align: left; }
.daily-top-five > div { display: flex; align-items: center; justify-content: space-between; color: #7c887f; font-size: 9px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.daily-top-five a { color: var(--accent); text-decoration: none; }
.daily-top-five ol { display: grid; padding: 0; margin: 11px 0 0; gap: 6px; list-style: none; }
.daily-top-five li { display: flex; min-height: 28px; padding: 0 8px; align-items: center; justify-content: space-between; border-radius: 7px; color: #8c978f; background: rgba(255, 255, 255, 0.025); font-size: 10px; }
.daily-top-player,
.daily-top-points { display: flex; align-items: center; }
.daily-top-player { min-width: 0; gap: 8px; }
.daily-top-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.daily-top-rank { display: grid; flex: 0 0 23px; width: 23px; height: 23px; place-items: center; color: #707c74; font-family: "Courier New", monospace; font-size: 9px; font-weight: 800; font-variant-numeric: tabular-nums; }
.daily-top-points { flex: 0 0 auto; min-width: 66px; justify-content: flex-end; gap: 6px; }
.daily-top-five li strong { color: #dce5de; font-family: "Courier New", monospace; font-variant-numeric: tabular-nums; }
.daily-top-five li.is-podium {
  --medal-rgb: 245, 196, 81;
  min-height: 32px;
  padding-left: 7px;
  border: 1px solid rgba(var(--medal-rgb), 0.16);
  background: linear-gradient(90deg, rgba(var(--medal-rgb), 0.1), rgba(255, 255, 255, 0.025) 62%);
}
.daily-top-five li.is-rank-1 { border-color: rgba(var(--medal-rgb), 0.26); }
.daily-top-five li.is-rank-2 { --medal-rgb: 195, 207, 203; }
.daily-top-five li.is-rank-3 { --medal-rgb: 205, 132, 84; }
.daily-top-five li.is-podium .daily-top-rank {
  border: 1px solid rgba(var(--medal-rgb), 0.72);
  border-radius: 50%;
  color: #0a110c;
  background: rgb(var(--medal-rgb));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -2px 3px rgba(5, 10, 7, 0.2);
}
.daily-top-five li.is-podium .daily-top-name { color: rgba(var(--medal-rgb), 0.88); font-weight: 700; }
.daily-top-five li.is-rank-1 .daily-top-name { color: #f1f5f2; }
.daily-top-trophy { display: grid; width: 15px; height: 15px; place-items: center; color: rgb(var(--medal-rgb)); }
.daily-top-trophy svg { width: 15px; height: 15px; stroke-width: 1.7; }
.player-avatar {
  display: grid;
  width: 24px;
  height: 24px;
  overflow: hidden;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid #303a32;
  border-radius: 50%;
  color: #aab6ad;
  background: #18211b;
  font-family: "Courier New", monospace;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.player-avatar img { width: 100%; height: 100%; object-fit: cover; }
.daily-top-avatar { width: 20px; height: 20px; flex-basis: 20px; font-size: 7px; }
.player-streak {
  display: inline-flex;
  height: 20px;
  padding: 0 7px 0 6px;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 999px;
  color: #aeb7b0;
  background: #1a221c;
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.player-streak svg { width: 12px; height: 12px; flex: 0 0 12px; fill: currentColor; }
.daily-top-streak { height: 18px; padding: 0 5px; font-size: 8px; }
.daily-top-streak svg { width: 10px; height: 10px; flex-basis: 10px; }
.daily-top-name + .player-streak { margin-left: -4px; }

.daily-summary-card h2 { font-size: 34px; }
.daily-result-grid { margin: 24px auto 0; }
.daily-result-grid span { font-size: 18px; }
.daily-summary-meta { margin: 14px 0 0; color: #8e9991; font-size: 11px; }
.publish-profile-panel { margin-top: 22px; }
.publish-profile-panel[hidden],
.nickname-panel[hidden] { display: none; }
.nickname-panel { text-align: left; }
.nickname-panel label { display: block; margin-bottom: 8px; color: #dce5de; font-size: 11px; font-weight: 800; }
.nickname-panel input { width: 100%; height: 44px; padding: 0 13px; border: 1px solid #303b32; border-radius: 12px; outline: none; color: #eff8f1; background: #111913; font-size: 13px; }
.nickname-panel input:focus { border-color: var(--accent); }
.nickname-panel p { margin: 8px 0 0; color: #646e67; font-size: 9px; line-height: 1.55; }
.nickname-panel code { color: #a7b2aa; }
.avatar-upload {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  min-height: 62px;
  padding: 8px 10px 8px 8px;
  margin-top: 12px;
  align-items: center;
  gap: 11px;
  border: 1px solid #29342b;
  border-radius: 14px;
  color: inherit;
  background: #0f1711;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}
.nickname-panel[hidden] + .avatar-upload { margin-top: 0; }
.avatar-upload:hover,
.avatar-upload:focus-within { border-color: rgba(var(--accent-rgb), 0.46); background: #111b14; }
.avatar-upload-preview {
  display: grid;
  width: 44px;
  height: 44px;
  overflow: hidden;
  place-items: center;
  border: 1px solid #344037;
  border-radius: 50%;
  color: #758078;
  background: #18221b;
}
.avatar-upload-preview svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.avatar-upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.avatar-upload-copy { display: grid; min-width: 0; gap: 4px; }
.avatar-upload-copy strong { color: #dce6de; font-size: 10px; }
.avatar-upload-copy small { overflow: hidden; color: #667169; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.avatar-upload-action { padding: 7px 9px; border: 1px solid #303b32; border-radius: 8px; color: #aeb8b0; background: #161f18; font-size: 8px; font-weight: 800; white-space: nowrap; }
.turnstile-slot { min-height: 65px; margin-top: 16px; }
.turnstile-slot:empty { min-height: 0; }
.publish-error { min-height: 16px; margin: 8px 0 0; color: #ee7168; font-size: 10px; }
.daily-summary-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; justify-content: center; }
.daily-summary-actions > [hidden] { display: none; }
.result-score { color: var(--accent) !important; font-family: "Courier New", monospace; }

.result-layer {
  position: absolute;
  top: clamp(282px, 36.8vh, 322px);
  left: 50%;
  z-index: 12;
  display: none;
  width: min(420px, calc(100vw - 48px));
  transform: translateX(-50%);
}

.result-layer.is-visible { display: block; }

.game-board:has(.result-layer.is-visible) .difficulty-tabs,
.game-board:has(.result-layer.is-visible) .filter-roulette-deck,
.game-board:has(.result-layer.is-visible) .era-roulette,
.game-board:has(.result-layer.is-visible) .progress-wrap,
.game-board:has(.result-layer.is-visible) .play-row,
.game-board:has(.result-layer.is-visible) .guess-form,
.game-board:has(.result-layer.is-visible) .game-hint { display: none; }

.result-card {
  position: relative;
  width: 100%;
  text-align: center;
  animation: result-enter 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes result-enter {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.result-cover {
  display: block;
  width: 118px;
  height: 118px;
  margin: 0 auto 17px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.result-kicker {
  display: block;
  color: #ee7168;
  font-family: "Courier New", monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.result-card h2 { margin: 7px 0 0; font-size: 30px; font-weight: 800; line-height: 1.08; }
.result-card p { max-width: 390px; margin: 8px auto 0; overflow: hidden; color: #858b86; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.result-source { display: inline-block; margin-top: 8px; color: #c8cdc9; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.result-source:hover { color: #fff; }
.result-stamp { position: absolute; top: 153px; right: 54px; padding: 3px 7px; border: 2px solid #ee7168; color: #ee7168; font-family: "Courier New", monospace; font-size: 17px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; transform: rotate(-10deg); }
.result-stamp.is-win { border-color: var(--accent); color: var(--accent); }
.result-actions { display: flex; gap: 8px; margin-top: 22px; justify-content: center; }
.result-actions .secondary-button { min-width: 192px; }
.result-actions .primary-button { min-width: 116px; }
.result-actions svg { width: 14px; height: 14px; }
.result-community-link {
  display: inline-flex;
  margin-top: 13px;
  align-items: center;
  gap: 7px;
  color: #99d9ad;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}
.result-community-link:hover { color: #c6f6d4; }
.result-community-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.result-community-link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.primary-button { color: #04160b; background: var(--accent); }
.secondary-button { color: #dce2dd; background: #19211b; }
.primary-button:hover, .secondary-button:hover { filter: brightness(1.1); }

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 160;
  padding: 10px 14px;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 999px;
  color: #d9e2db;
  background: rgba(13, 21, 16, 0.94);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  font-size: 11px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

body.drawer-open { overflow: hidden; }

.ui-notice-layer {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  padding: 20px;
  place-items: center;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  backdrop-filter: blur(3px);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.ui-notice-layer.is-visible { visibility: visible; opacity: 1; }
.ui-notice { width: min(390px, 100%); padding: 25px 26px 24px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; background: rgba(17, 23, 18, 0.95); box-shadow: 0 26px 90px rgba(0, 0, 0, 0.58); text-align: center; }
.ui-notice-badge { display: inline-flex; height: 22px; padding: 0 9px; align-items: center; border-radius: 99px; color: #04160b; background: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.ui-notice h2 { margin: 13px 0 10px; font-size: 22px; line-height: 1.18; }
.ui-notice p { margin: 0; color: #9ba19c; font-size: 13px; line-height: 1.65; }
.ui-notice .primary-button { min-width: 112px; min-height: 38px; margin-top: 22px; border-radius: 999px; }

/* Search content, navigation and trust pages */
.skip-link {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  color: #06140a;
  background: var(--accent);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  transform: translate(-50%, -150%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translate(-50%, 0); }

.home-quiz-picker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 0, rgba(var(--accent-rgb), 0.09), transparent 34%),
    linear-gradient(180deg, #09120c 0%, #060b08 100%);
}

.home-quiz-picker::before {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 42px;
  pointer-events: none;
  content: "";
}

.home-quiz-picker-inner {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  padding: 76px 0 80px;
  margin: 0 auto;
}

.home-quiz-picker-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  align-items: end;
  gap: 40px;
}

.home-quiz-picker-heading h2 {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.home-quiz-picker-heading > p {
  margin: 0 0 4px;
  color: #89958c;
  font-size: 13px;
  line-height: 1.7;
}

.home-quiz-groups { display: grid; gap: 34px; margin-top: 44px; }
.home-quiz-group-heading { display: flex; margin-bottom: 12px; align-items: center; justify-content: space-between; }
.home-quiz-group-heading h3 { margin: 0; color: #aab6ad; font-size: 10px; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.home-quiz-group-heading span { display: none; color: #647168; font-size: 9px; }
.home-quiz-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.home-quiz-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 154px;
  padding: 21px 18px 18px;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(var(--card-rgb), 0.2);
  border-radius: 17px;
  color: inherit;
  background:
    linear-gradient(155deg, rgba(var(--card-rgb), 0.09), transparent 58%),
    #0b130e;
  text-decoration: none;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.home-quiz-card::before {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(var(--card-rgb), 0.32);
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-accent) 0 2px, transparent 3px);
  box-shadow: 0 0 28px rgba(var(--card-rgb), 0.12);
  content: "";
}

.home-quiz-card::after {
  position: absolute;
  top: 32px;
  right: 10px;
  width: 46px;
  height: 1px;
  background: rgba(var(--card-rgb), 0.22);
  content: "";
}

.home-quiz-card > span {
  position: absolute;
  top: 20px;
  left: 18px;
  color: var(--card-accent);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-quiz-card h4 { margin: 0; color: #edf7ef; font-size: 21px; letter-spacing: -0.035em; }
.home-quiz-card p { margin: 8px 0 0; color: #7d8980; font-size: 11px; line-height: 1.55; }
.home-quiz-card:hover { border-color: rgba(var(--card-rgb), 0.48); background: linear-gradient(155deg, rgba(var(--card-rgb), 0.14), transparent 62%), #0c1510; transform: translateY(-3px); }
.home-quiz-card:focus-visible { outline: 2px solid var(--card-accent); outline-offset: 3px; }

.home-quiz-all {
  display: inline-flex;
  margin-top: 25px;
  align-items: center;
  gap: 11px;
  color: #a7b2a9;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.home-quiz-all span:last-child { color: var(--accent); font-family: "Courier New", monospace; font-size: 15px; transition: transform 180ms ease; }
.home-quiz-all:hover { color: #f0f8f2; }
.home-quiz-all:hover span:last-child { transform: translate(2px, -2px); }

.home-content {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(13, 24, 17, 0.75), transparent 28%),
    var(--page);
}

.content-glow {
  position: absolute;
  top: -260px;
  left: 50%;
  width: 820px;
  height: 520px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.075);
  filter: blur(90px);
  pointer-events: none;
  transform: translateX(-50%);
}

.home-content-inner,
.content-page {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

.home-content-inner {
  position: relative;
  padding: 104px 0 92px;
}

.content-eyebrow,
.content-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.content-kicker { color: #7b9785; }

.home-content h2,
.content-page h1,
.content-page h2,
.not-found-page h1 {
  letter-spacing: -0.035em;
}

.home-content-inner > h2 {
  max-width: 780px;
  margin: 15px 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}

.content-lede {
  max-width: 800px;
  margin: 0;
  color: #a8b2aa;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
}

.content-lede strong { color: #edf8f0; }

.howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  margin: 60px 0 100px;
  list-style: none;
}

.howto-grid li,
.values-grid article {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(22, 33, 25, 0.92), rgba(8, 13, 10, 0.96));
}

.howto-grid li > span,
.values-grid article > span {
  color: var(--accent);
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 900;
}

.howto-grid h3,
.values-grid h3 { margin: 38px 0 9px; font-size: 19px; }
.howto-grid p,
.values-grid p { margin: 0; color: #89938b; font-size: 13px; line-height: 1.65; }

.content-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 7vw, 86px);
}

.content-split h2,
.prose-section h2 {
  margin: 11px 0 18px;
  font-size: clamp(26px, 3.4vw, 37px);
  line-height: 1.12;
}

.content-split p:not(.content-kicker),
.prose-section > p,
.policy-page .prose-section li {
  color: #98a39a;
  font-size: 15px;
  line-height: 1.8;
}

.content-page a:not(.primary-button):not(.secondary-button),
.home-content a:not(.primary-button):not(.secondary-button) { color: #8ae8ac; text-underline-offset: 3px; }

.clip-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  padding: 0;
  margin: 27px 0 0;
  list-style: none;
}

.clip-scale li {
  display: flex;
  min-width: 0;
  min-height: 76px;
  padding: 12px 6px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0e1611;
}

.clip-scale li:first-child { border-color: rgba(var(--accent-rgb), 0.28); background: rgba(var(--accent-rgb), 0.08); }
.clip-scale strong { color: #eaf8ef; font-family: "Courier New", monospace; font-size: 13px; }
.clip-scale span { margin-top: 5px; color: #647168; font-size: 8px; text-transform: uppercase; }

.home-brand-primer,
.home-mode-board,
.home-score-ledger,
.home-faq {
  padding-top: 104px;
  margin-top: 104px;
  border-top: 1px solid var(--line);
}

.home-section-heading { max-width: 760px; }
.home-section-heading h2 {
  margin: 11px 0 0;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.04;
}
.home-section-heading-row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
}
.home-section-heading-row > p {
  width: min(350px, 40%);
  margin: 0 0 4px;
  color: #7e8a80;
  font-size: 13px;
  line-height: 1.65;
}

.brand-primer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.72fr);
  gap: clamp(48px, 8vw, 104px);
  margin-top: 42px;
  align-items: start;
}
.brand-primer-copy { counter-reset: paragraph; }
.brand-primer-copy p {
  position: relative;
  padding-left: 42px;
  margin: 0;
  color: #98a39a;
  font-size: 15px;
  line-height: 1.82;
}
.brand-primer-copy p + p { margin-top: 24px; }
.brand-primer-copy p::before {
  counter-increment: paragraph;
  content: "0" counter(paragraph);
  position: absolute;
  top: 4px;
  left: 0;
  color: #4f6556;
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 800;
}
.brand-primer-copy strong { color: #e9f5ec; }
.brand-signal-card {
  position: sticky;
  top: 24px;
  padding: 32px 28px 25px;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 50% 50% 20px 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), 0.17), transparent 42%),
    #0b1510;
}
.signal-pulse {
  display: block;
  width: 10px;
  height: 10px;
  margin: 2px auto 34px;
  border: 2px solid #07100a;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(var(--accent-rgb), 0.08), 0 0 28px rgba(var(--accent-rgb), 0.55);
}
.brand-signal-card > p { text-align: center; }
.brand-signal-card dl { margin: 22px 0 0; }
.brand-signal-card dl div {
  display: flex;
  padding: 13px 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(57, 75, 63, 0.52);
}
.brand-signal-card dt { color: #647168; font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.brand-signal-card dd { margin: 0; color: #c9d7cc; font-size: 11px; font-weight: 750; text-align: right; }

.mode-tracks { margin-top: 46px; border-bottom: 1px solid var(--line); }
.mode-track {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 34px;
  padding: 42px 4px;
  border-top: 1px solid var(--line);
}
.mode-track-index {
  color: rgba(var(--accent-rgb), 0.5);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
}
.mode-track > div:last-child {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.8fr);
  column-gap: clamp(34px, 6vw, 76px);
}
.mode-label {
  grid-column: 1 / -1;
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mode-track h3 { margin: 0; color: #edf7ef; font-size: clamp(22px, 3vw, 31px); line-height: 1.15; }
.mode-track p:not(.mode-label) { margin: 17px 0 0; color: #8e9a90; font-size: 14px; line-height: 1.78; }
.mode-track ul { grid-column: 2; grid-row: 2 / span 3; padding: 2px 0 0; margin: 0; list-style: none; }
.mode-track li { padding: 12px 0; border-bottom: 1px solid rgba(57, 75, 63, 0.42); color: #819086; font-size: 11px; }
.mode-track li::before { content: "•"; margin-right: 9px; color: var(--accent); }
.mode-track-link { display: inline-flex; width: fit-content; min-height: 44px; padding: 10px 0; margin-top: 14px; gap: 8px; align-items: center; color: #c9f4d5 !important; font-size: 11px; font-weight: 850; text-decoration: none; }
.mode-track-link span { transition: transform 170ms ease; }
.mode-track-link:hover span { transform: translate(2px, -2px); }
.mode-track-practice { background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.035), transparent); }

.score-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 46px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}
.score-ledger li { padding: 31px 30px 35px; border-left: 1px solid var(--line); }
.score-ledger li:first-child { padding-left: 0; border-left: 0; }
.score-ledger li:last-child { padding-right: 0; }
.score-ledger-number { color: var(--accent); font-family: "Courier New", monospace; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.score-ledger h3 { margin: 38px 0 12px; color: #e7f2e9; font-size: 18px; }
.score-ledger p { margin: 0; color: #849087; font-size: 13px; line-height: 1.75; }

.home-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; margin-top: 46px; border-top: 1px solid var(--line); }
.home-faq details { border-bottom: 1px solid var(--line); }
.home-faq summary {
  display: flex;
  min-height: 70px;
  padding: 20px 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #d7e5da;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary span { color: var(--accent); font-family: "Courier New", monospace; font-size: 18px; transition: transform 170ms ease; }
.home-faq details[open] summary span { transform: rotate(45deg); }
.home-faq details p { padding: 0 34px 25px 0; margin: -3px 0 0; color: #7f8b82; font-size: 12px; line-height: 1.75; }

.home-cta-panel,
.page-cta {
  display: flex;
  padding: 34px 38px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 20%, rgba(var(--accent-rgb), 0.1), transparent 45%),
    #0c1510;
}

.home-cta-panel { margin-top: 98px; }
.home-cta-panel h2,
.page-cta h2 { margin: 8px 0 0; font-size: clamp(24px, 3vw, 34px); }
.home-cta-panel p:not(.content-kicker) { margin: 9px 0 0; color: #8f9a91; font-size: 13px; }
.home-cta-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.rights-note { margin: 32px auto 0; color: #525e55; font-size: 11px; line-height: 1.7; text-align: center; }

.site-footer {
  display: grid;
  grid-template-areas:
    "intro groups"
    "meta meta";
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 2.2fr);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 24px;
  align-items: start;
  column-gap: clamp(48px, 7vw, 108px);
  row-gap: 44px;
  border-top: 1px solid var(--line);
}

.footer-intro { grid-area: intro; }
.footer-intro > p {
  max-width: 220px;
  margin: 14px 0 0;
  color: #69746c;
  font-size: 12px;
  line-height: 1.65;
}

.footer-brand,
.site-nav-brand {
  color: #d7e6da;
  font-size: 21px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.footer-groups {
  grid-area: groups;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.footer-link-group { min-width: 0; }
.footer-link-heading {
  display: block;
  margin-bottom: 15px;
  color: #5d6a60;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-link-list {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 10px;
}
.footer-privacy-slot { display: contents; }
.footer-link-list a,
.footer-link-list .privacy-choices-button,
.site-nav nav a { color: #7f8a81; font-size: 11px; font-weight: 700; text-decoration: none; transition: color 160ms ease, background-color 160ms ease; }
.footer-link-list a:hover,
.footer-link-list .privacy-choices-button:hover,
.footer-link-list a[aria-current="page"],
.site-nav nav a:hover,
.site-nav nav a[aria-current="page"] { color: #eaf5ec; }
.footer-link-list a[data-analytics-event="reddit_click"] { color: #9acfab; }
.footer-link-list a[data-analytics-event="reddit_click"]:hover { color: #d7f7e1; }
.footer-meta {
  grid-area: meta;
  display: flex;
  padding-top: 19px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(57, 75, 63, 0.42);
  color: #59645c;
  font-size: 10px;
}
.footer-meta p { margin: 0; }

.site-nav {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: min(1180px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.site-nav.game-global-nav {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 50;
  display: none;
  transform: translateX(-50%);
}

.site-nav-primary { display: flex; gap: 28px; }
.site-nav-actions { display: flex; align-items: center; justify-self: end; gap: 8px; }
.nav-play { justify-self: end; padding: 9px 14px; border-radius: 999px; color: #05140a; background: var(--accent); font-size: 10px; font-weight: 900; text-decoration: none; }

.site-nav-menu { position: relative; display: none; }
.site-nav-menu summary {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(71, 91, 77, 0.42);
  border-radius: 50%;
  background: #101913;
  cursor: pointer;
  list-style: none;
}
.site-nav-menu summary::-webkit-details-marker { display: none; }
.site-nav-menu-icon { display: flex; flex-direction: column; gap: 4px; }
.site-nav-menu-icon span { width: 14px; height: 1.5px; border-radius: 2px; background: #aeb5af; }
.site-nav-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  display: grid;
  width: min(320px, calc(100vw - 36px));
  padding: 18px;
  gap: 12px;
  border: 1px solid #273029;
  border-radius: 16px;
  background: #09110c;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}
.site-nav-menu-heading,
.drawer-navigation-heading {
  color: #657068;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-nav-menu-panel nav { display: grid; gap: 2px; }
.site-nav-menu-panel nav a {
  display: flex;
  min-height: 44px;
  padding: 0 12px;
  align-items: center;
  border-radius: 10px;
  font-size: 13px;
}
.site-nav-menu-panel nav a[aria-current="page"] { background: rgba(var(--accent-rgb), 0.09); }
.site-nav-menu-play {
  display: flex;
  min-height: 44px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #05140a;
  background: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.content-page {
  min-height: calc(100vh - 206px);
  padding: 65px 0 96px;
}

.content-page:not(.guide-page):not(.faq-page) { width: min(880px, calc(100% - 48px)); }
.breadcrumbs { display: flex; align-items: center; gap: 9px; margin-bottom: 58px; color: #748078; font-size: 10px; }
.breadcrumbs a { color: #7d8b81 !important; text-decoration: none; }
.content-page > h1 { max-width: 810px; margin: 14px 0 18px; font-size: clamp(40px, 6vw, 68px); line-height: 1; }
.content-page > .content-lede { margin-bottom: 76px; }

.prose-section { margin-top: 80px; }
.prose-section ul { padding-left: 21px; }
.prose-section li + li { margin-top: 9px; }

.guide-summary {
  padding: 35px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 24px;
  background: #0b130e;
}

.guide-summary h2 { margin: 10px 0 28px; font-size: clamp(25px, 3vw, 36px); }
.guide-summary ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; }
.guide-summary li { min-width: 0; }
.guide-summary li > span { display: grid; width: 30px; height: 30px; margin-bottom: 16px; place-items: center; border-radius: 50%; color: #06140a; background: var(--accent); font-size: 11px; font-weight: 900; }
.guide-summary strong { font-size: 13px; }
.guide-summary li p { margin: 7px 0 0; color: #758079; font-size: 11px; line-height: 1.6; }

.table-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: 16px; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 620px; }
.table-wrap th,
.table-wrap td { padding: 16px 18px; border-bottom: 1px solid var(--line); color: #8d9990; font-size: 12px; text-align: left; }
.table-wrap th { color: #5f6f63; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; }
.table-wrap td:first-child { color: var(--accent); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }

.control-definitions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; margin: 28px 0 0; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.control-definitions > div { padding: 22px; background: #0c120e; }
.control-definitions dt { color: #e6efe8; font-size: 13px; font-weight: 800; }
.control-definitions dd { margin: 8px 0 0; color: #7f8b82; font-size: 12px; line-height: 1.65; }

.difficulty-guide { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 28px; }
.difficulty-guide article { padding: 18px 14px; border: 1px solid var(--line); border-radius: 14px; background: #0d140f; }
.difficulty-guide span { color: var(--accent); font-size: 12px; font-weight: 850; }
.difficulty-guide p { margin: 10px 0 0; color: #758078; font-size: 11px; line-height: 1.6; }

.page-cta { margin-top: 90px; }
.related-links { margin: 25px 0 0; color: #657169; font-size: 12px; text-align: center; }

.faq-quickstart { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 34px; padding: 28px 30px; border: 1px solid rgba(var(--accent-rgb), 0.18); border-radius: 20px; background: #0b130e; }
.faq-quickstart h2 { margin: 8px 0 0; font-size: 26px; }
.faq-quickstart ol { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.faq-quickstart li { display: grid; grid-template-columns: 58px 1fr; gap: 10px; }
.faq-quickstart strong { color: #e9f5ec; font-size: 12px; }
.faq-quickstart span { color: #77827a; font-size: 11px; }

.manifesto-card { padding: clamp(32px, 6vw, 64px); border: 1px solid rgba(var(--accent-rgb), 0.18); border-radius: 28px; background: radial-gradient(circle at 20% 0, rgba(var(--accent-rgb), 0.11), transparent 55%), #0a120d; }
.manifesto-card p { max-width: 700px; margin: 0; color: #e8f4eb; font-size: clamp(25px, 4vw, 42px); font-weight: 750; line-height: 1.22; letter-spacing: -0.03em; }
.values-section { margin-top: 88px; }
.values-section > h2 { margin: 10px 0 28px; font-size: clamp(28px, 4vw, 40px); }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.update-log { display: grid; }
.update-entry {
  position: relative;
  display: grid;
  grid-template-columns: 132px 24px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
  padding-bottom: 20px;
}
.update-entry:last-child { padding-bottom: 0; }
.update-entry::before {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  width: 14px;
  height: 14px;
  margin-top: 22px;
  border: 2px solid #385043;
  border-radius: 50%;
  background: #0d1711;
  box-shadow: 0 0 0 5px #030704;
  content: "";
  justify-self: center;
}
.update-entry:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 29px;
  bottom: -29px;
  left: 164px;
  width: 1px;
  background: linear-gradient(rgba(var(--accent-rgb), 0.42), rgba(var(--accent-rgb), 0.12));
  content: "";
}
.update-entry.is-latest::before {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 5px #030704, 0 0 0 7px rgba(var(--accent-rgb), 0.14);
}
.update-copy {
  grid-column: 3;
  grid-row: 1;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0a110d;
  transition: border-color 180ms ease, transform 180ms ease;
}
.update-entry:hover .update-copy { border-color: rgba(var(--accent-rgb), 0.18); transform: translateX(3px); }
.update-entry.is-latest .update-copy {
  border-color: rgba(var(--accent-rgb), 0.24);
  background: radial-gradient(circle at 92% 0, rgba(var(--accent-rgb), 0.1), transparent 46%), #0b130e;
}
.update-meta { display: grid; grid-column: 1; grid-row: 1; align-content: start; justify-items: end; gap: 11px; padding-top: 19px; text-align: right; }
.update-meta time { color: #7b887f; font-size: 10px; font-weight: 750; letter-spacing: 0.04em; }
.update-tag,
.update-latest {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 0 9px;
  border: 1px solid #263129;
  border-radius: 999px;
  color: #9ba79e;
  background: rgba(255, 255, 255, 0.025);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.update-tag-new { border-color: rgba(var(--accent-rgb), 0.22); color: var(--accent); background: rgba(var(--accent-rgb), 0.06); }
.update-tag-fix { border-color: rgba(246, 174, 93, 0.24); color: #e9b77e; background: rgba(246, 174, 93, 0.06); }
.update-title-row { display: flex; align-items: flex-start; gap: 12px; }
.update-copy h2 { margin: 0; color: #e9f3eb; font-size: clamp(21px, 3vw, 29px); line-height: 1.18; letter-spacing: -0.025em; }
.update-latest { flex: 0 0 auto; border-color: rgba(var(--accent-rgb), 0.3); color: #07160b; background: var(--accent); }
.update-copy p { margin: 13px 0 0; color: #879289; font-size: 13px; line-height: 1.75; }
.update-copy ul { display: grid; gap: 7px; padding-left: 18px; margin: 17px 0 0; color: #7c8880; font-size: 12px; line-height: 1.65; }
.update-copy li::marker { color: var(--accent); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.contact-grid > a { display: flex; min-width: 0; min-height: 220px; padding: 25px; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; color: inherit !important; background: #0d140f; text-decoration: none; transition: border-color 160ms ease, transform 160ms ease; }
.contact-grid > a:hover { border-color: rgba(var(--accent-rgb), 0.28); transform: translateY(-2px); }
.contact-grid span { color: var(--accent); font-size: 9px; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.contact-grid strong { overflow-wrap: anywhere; margin-top: auto; font-size: 15px; }
.contact-grid p { margin: 12px 0 0; color: #7e8980; font-size: 11px; line-height: 1.65; }
.contact-help { padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #0b110d; }

.policy-page { width: min(780px, calc(100% - 48px)) !important; }
.policy-page .prose-section { padding-top: 42px; margin-top: 42px; border-top: 1px solid var(--line); }
.policy-page .prose-section:first-of-type { border-top: 0; }
.policy-page code { padding: 3px 7px; border: 1px solid var(--line); border-radius: 6px; color: #b6e8c6; background: #0d1510; font-size: 12px; }

.leaderboard-page { width: min(980px, calc(100% - 48px)); }
.leaderboard-hero { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 44px; align-items: end; }
.leaderboard-hero h1 { margin-bottom: 14px; }
.leaderboard-hero .content-lede { margin: 0; }
.leaderboard-reset { display: grid; padding: 22px; gap: 8px; border: 1px solid rgba(var(--accent-rgb), 0.2); border-radius: 18px; background: #0b130e; }
.leaderboard-reset small { color: #728078; font-size: 9px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.leaderboard-reset strong { color: var(--accent); font-family: "Courier New", monospace; font-size: 25px; font-variant-numeric: tabular-nums; }
.leaderboard-reset span { color: #59645d; font-size: 10px; }

.my-ranking { display: grid; grid-template-columns: 0.8fr 2fr; gap: 28px; padding: 28px; margin-top: 55px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, #0d1710, #0a100c); }
.my-ranking h2 { margin: 8px 0 0; font-size: 24px; }
.my-ranking > div > p:last-child { margin: 10px 0 0; color: #77827a; font-size: 11px; line-height: 1.6; }
.my-ranking dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.my-ranking dl div { min-width: 0; padding: 13px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); }
.my-ranking dt { color: #69746c; font-size: 8px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.my-ranking dd { margin: 7px 0 0; overflow: hidden; color: #e5eee7; font-family: "Courier New", monospace; font-size: 15px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }

.leaderboard-board { margin-top: 72px; }
.leaderboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.leaderboard-heading h2 { margin: 8px 0 0; font-size: 31px; }
.leaderboard-table-wrap { margin-top: 22px; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #0a100c; }
.leaderboard-table-wrap table { width: 100%; min-width: 650px; border-collapse: collapse; }
.leaderboard-table-wrap th,
.leaderboard-table-wrap td { height: 58px; padding: 0 18px; border-bottom: 1px solid var(--line); color: #8e9991; font-size: 12px; text-align: left; }
.leaderboard-table-wrap th { height: 42px; color: #5e6a61; font-size: 8px; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; }
.leaderboard-table-wrap tr:last-child td { border-bottom: 0; }
.leaderboard-table-wrap td:first-child { width: 88px; color: var(--accent); font-family: "Courier New", monospace; font-weight: 900; }
.leaderboard-table-wrap td:nth-child(2) { color: #e2ebe4; font-weight: 750; }
.leaderboard-table-wrap td:nth-child(n+3) { font-family: "Courier New", monospace; font-variant-numeric: tabular-nums; }
.leaderboard-player { display: flex; min-width: 0; align-items: center; gap: 9px; }
.leaderboard-player-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaderboard-player-name + .player-streak { margin-left: -4px; }
.leaderboard-row.is-podium {
  --medal-rgb: 245, 196, 81;
  background: linear-gradient(90deg, rgba(var(--medal-rgb), 0.1), rgba(var(--medal-rgb), 0.025) 54%, transparent 100%);
}
.leaderboard-row.is-rank-1 { background-color: rgba(var(--medal-rgb), 0.018); }
.leaderboard-row.is-rank-2 { --medal-rgb: 195, 207, 203; }
.leaderboard-row.is-rank-3 { --medal-rgb: 205, 132, 84; }
.leaderboard-row.is-podium td { border-bottom-color: rgba(var(--medal-rgb), 0.18); }
.leaderboard-row.is-podium td:nth-child(2) { color: rgba(var(--medal-rgb), 0.9); }
.leaderboard-row.is-rank-1 td:nth-child(2) { color: #f1f5f2; }
.leaderboard-rank-cell { white-space: nowrap; }
.leaderboard-rank-badge { display: inline-grid; min-width: 27px; height: 27px; place-items: center; vertical-align: middle; font-variant-numeric: tabular-nums; }
.leaderboard-row.is-podium .leaderboard-rank-badge {
  width: 27px;
  border: 1px solid rgba(var(--medal-rgb), 0.74);
  border-radius: 50%;
  color: #0a110c;
  background: rgb(var(--medal-rgb));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -2px 3px rgba(5, 10, 7, 0.2);
}
.leaderboard-trophy { display: inline-grid; width: 17px; height: 17px; margin-left: 9px; place-items: center; vertical-align: middle; color: rgb(var(--medal-rgb)); }
.leaderboard-trophy svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.leaderboard-error { min-height: 18px; margin: 12px 0 0; color: #ee7168; font-size: 11px; }

.profile-danger { display: flex; padding: 25px 27px; margin-top: 72px; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid rgba(238, 113, 104, 0.2); border-radius: 18px; background: rgba(238, 113, 104, 0.035); }
.profile-danger[hidden] { display: none; }
.profile-danger h2 { margin: 0; font-size: 18px; }
.profile-danger p { max-width: 670px; margin: 8px 0 0; color: #7d8880; font-size: 11px; line-height: 1.6; }
.profile-danger button { min-height: 38px; padding: 0 14px; flex: 0 0 auto; border: 1px solid rgba(238, 113, 104, 0.32); border-radius: 10px; color: #ee8a82; background: transparent; font-size: 10px; font-weight: 800; }

.not-found-page { display: flex; width: min(620px, calc(100% - 48px)); min-height: calc(100svh - 206px); margin: 0 auto; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.not-found-code { margin: 0 0 -12px; color: rgba(var(--accent-rgb), 0.1); font-family: "Courier New", monospace; font-size: clamp(100px, 24vw, 180px); font-weight: 900; line-height: 0.8; }
.not-found-page h1 { margin: 13px 0 10px; font-size: clamp(38px, 8vw, 66px); }
.not-found-page > p:not(.not-found-code):not(.content-eyebrow) { max-width: 500px; margin: 0; color: #88938b; font-size: 14px; line-height: 1.7; }

.collection-page,
.topic-page { width: min(1080px, calc(100% - 48px)) !important; }

.collection-hero { max-width: 850px; padding: 32px 0 16px; }
.collection-hero h1,
.topic-hero h1 { margin: 14px 0 18px; font-size: clamp(46px, 7vw, 78px); line-height: 0.94; letter-spacing: -0.055em; }
.collection-hero .content-lede { max-width: 760px; }

.seo-intro,
.topic-audience {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  padding: 42px 0;
  margin-top: 74px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.seo-intro h2,
.topic-audience h2 { margin: 10px 0 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.04em; }
.seo-intro > div:last-child p,
.topic-audience > div:last-child p { margin: 0; color: #8b968e; font-size: 14px; line-height: 1.82; }
.seo-intro > div:last-child p + p,
.topic-audience > div:last-child p + p { margin-top: 16px; }
.seo-intro strong,
.topic-audience strong { color: #dce9df; }

.collection-browser { margin-top: 72px; }
.collection-browser-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 350px); align-items: end; gap: 32px; }
.collection-browser-heading h2 { margin: 10px 0 0; font-size: clamp(32px, 4vw, 48px); }
.collection-search { display: flex; height: 46px; padding: 0 15px; align-items: center; border: 1px solid var(--line); border-radius: 13px; background: #0b130e; }
.collection-search:focus-within { border-color: rgba(var(--accent-rgb), 0.48); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.08); }
.collection-search input { width: 100%; border: 0; outline: 0; color: #eaf5ec; background: transparent; font: inherit; font-size: 12px; }
.collection-search input::placeholder { color: #5f6b62; }
.collection-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.collection-filters button { min-height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: #748078; background: #0b130e; font-size: 10px; font-weight: 800; cursor: pointer; }
.collection-filters button:hover { color: #dce9df; border-color: #344138; }
.collection-filters button.is-active { border-color: rgba(var(--accent-rgb), 0.42); color: #07110a; background: var(--accent); }
.collection-groups { display: grid; gap: 54px; margin-top: 42px; }
.collection-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.collection-group-heading h2 { margin: 0; color: #e7f1e9; font-size: 22px; }
.collection-group-heading span { color: #748078; font-family: "Courier New", monospace; font-size: 10px; text-transform: uppercase; }
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.collection-card {
  position: relative;
  display: flex;
  min-height: 238px;
  padding: 24px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(var(--topic-rgb), 0.14);
  border-radius: 24px;
  color: inherit !important;
  background:
    radial-gradient(circle at 100% 0, rgba(var(--topic-rgb), 0.13), transparent 42%),
    linear-gradient(145deg, #0f1812, #090f0b 72%);
  text-decoration: none;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.collection-card::after {
  position: absolute;
  right: -28px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(var(--topic-rgb), 0.1);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 24px rgba(var(--topic-rgb), 0.02), 0 0 0 48px rgba(var(--topic-rgb), 0.018);
}

.collection-card:hover { border-color: rgba(var(--topic-rgb), 0.36); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28); transform: translateY(-4px); }
.collection-card > span { color: var(--topic-accent); font-size: 9px; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.collection-card h3 { margin: 18px 0 11px; color: #eef8f0; font-size: clamp(25px, 3vw, 34px); letter-spacing: -0.045em; }
.collection-card p { max-width: 470px; margin: 0; color: #869189; font-size: 12px; line-height: 1.72; }
.collection-card > strong { position: relative; z-index: 1; display: flex; margin-top: auto; padding-top: 32px; align-items: center; justify-content: space-between; color: #cdd9cf; font-family: "Courier New", monospace; font-size: 11px; text-transform: uppercase; }
.collection-card > strong i { color: var(--topic-accent); font-family: inherit; font-size: 17px; font-style: normal; }
.collection-group[hidden],
.collection-card[hidden],
.collection-empty[hidden] { display: none !important; }
.collection-empty { padding: 40px; margin: 32px 0 0; border: 1px dashed #26322a; border-radius: 18px; color: #758078; text-align: center; }

.collection-method { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; padding: 42px; margin-top: 82px; align-items: start; border: 1px solid var(--line); border-radius: 24px; background: #0b120e; }
.collection-method h2 { margin: 10px 0 0; font-size: 34px; }
.collection-method-copy > p { margin: 0; color: #8b968e; font-size: 14px; line-height: 1.8; }
.collection-method-copy ol { display: grid; gap: 14px; padding: 0; margin: 24px 0 0; list-style: none; counter-reset: quiz-step; }
.collection-method-copy li { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 14px 0 0 34px; position: relative; border-top: 1px solid var(--line); counter-increment: quiz-step; }
.collection-method-copy li::before { position: absolute; top: 15px; left: 0; color: #19df70; content: "0" counter(quiz-step); font-family: "Courier New", monospace; font-size: 9px; }
.collection-method-copy strong { color: #dce9df; font-size: 12px; }
.collection-method-copy span { color: #758078; font-size: 11px; line-height: 1.6; }

.collection-guide { margin-top: 86px; }
.collection-guide > h2 { margin: 10px 0 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.045em; }
.collection-guide > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.collection-guide article { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #0b120e; }
.collection-guide h3 { margin: 0; color: #e5efe7; font-size: 18px; }
.collection-guide article p { margin: 12px 0 0; color: #7f8b82; font-size: 12px; line-height: 1.75; }

.song-guess-page {
  --accent: #d7fa3d;
  --accent-rgb: 215, 250, 61;
  overflow-x: clip;
}

.song-guess-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(40px, 7vw, 82px);
  padding: 20px 0 30px;
  align-items: end;
}

.song-guess-hero::before {
  position: absolute;
  top: -130px;
  right: 60px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 28px rgba(var(--accent-rgb), 0.025), 0 0 0 58px rgba(var(--accent-rgb), 0.018);
  pointer-events: none;
}

.song-guess-hero h1 { position: relative; max-width: 700px; margin: 14px 0 18px; font-size: clamp(58px, 9vw, 104px); line-height: 0.86; letter-spacing: -0.07em; }
.song-guess-hero .content-lede { position: relative; max-width: 690px; }
.song-guess-hero .topic-actions { position: relative; }

.song-guess-hero-card {
  position: relative;
  display: flex;
  min-height: 266px;
  padding: 25px;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(var(--accent-rgb), 0.32);
  border-radius: 30px 30px 76px 30px;
  background:
    linear-gradient(150deg, rgba(var(--accent-rgb), 0.13), transparent 47%),
    #0b130e;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.song-guess-hero-card::before,
.song-guess-hero-card::after {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  border-radius: 50%;
  content: "";
}

.song-guess-hero-card::before { top: -104px; right: -52px; }
.song-guess-hero-card::after { top: -76px; right: -24px; opacity: 0.45; }
.song-guess-card-label { position: relative; z-index: 1; color: #91a16d; font-size: 9px; font-weight: 850; letter-spacing: 0.16em; text-transform: uppercase; }
.song-guess-hero-card > strong { position: relative; z-index: 1; margin: 12px 0 5px; color: var(--accent); font-family: "Courier New", monospace; font-size: clamp(64px, 8vw, 88px); line-height: 0.8; letter-spacing: -0.1em; text-shadow: 0 0 28px rgba(var(--accent-rgb), 0.25); }
.song-guess-hero-card > strong small { margin-left: 8px; color: #b5c68a; font-size: 18px; letter-spacing: 0; }
.song-guess-card-caption { position: relative; z-index: 1; color: #78857a; font-size: 10px; }
.song-guess-stage-line { position: relative; z-index: 1; display: flex; margin-top: 28px; align-items: center; gap: 5px; color: #677369; font-family: "Courier New", monospace; font-size: 9px; }
.song-guess-stage-line i { display: grid; min-width: 26px; height: 26px; place-items: center; border: 1px solid rgba(var(--accent-rgb), 0.17); border-radius: 50%; font-style: normal; }
.song-guess-stage-line i:first-child { color: #0a1308; background: var(--accent); border-color: var(--accent); }
.song-guess-stage-line b { margin-left: 1px; color: #91a16d; font-size: 8px; font-weight: 700; }

.song-guess-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 62px; }
.song-guess-stats article { min-height: 156px; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.045), #0b120e 72%); }
.song-guess-stats span { color: var(--accent); font-family: "Courier New", monospace; font-size: 10px; }
.song-guess-stats strong { display: block; margin-top: 27px; color: #edf8ee; font-size: 17px; letter-spacing: -0.025em; }
.song-guess-stats p { margin: 8px 0 0; color: #78847b; font-size: 11px; line-height: 1.65; }

.song-guess-clues { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 50px; margin-top: 86px; align-items: start; }
.song-guess-clues > div { min-width: 0; }
.song-guess-clues h2 { margin: 10px 0 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.02; }
.song-guess-clues .table-wrap { min-width: 0; max-width: 100%; margin-top: 0; }
.song-guess-clues .table-wrap table { min-width: 510px; }
.song-guess-clues .table-wrap td:first-child { width: 58px; }
.song-guess-why { margin-top: 86px; }
.page-cta-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; }

@media (max-width: 620px) {
  .song-guess-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 8px; }
  .song-guess-hero::before { top: -90px; right: -100px; }
  .song-guess-hero h1 { font-size: 62px; }
  .song-guess-hero .topic-actions { flex-direction: column; }
  .song-guess-hero .topic-actions a { width: 100%; }
  .song-guess-hero-card { min-height: 196px; border-radius: 24px 24px 56px 24px; }
  .song-guess-stats { grid-template-columns: 1fr; margin-top: 44px; }
  .song-guess-stats article { min-height: 0; }
  .song-guess-stats strong { margin-top: 18px; }
  .song-guess-clues { grid-template-columns: 1fr; gap: 26px; margin-top: 62px; }
  .song-guess-clues .table-wrap { margin-top: 0; }
  .song-guess-why { margin-top: 62px; }
  .song-guess-page .page-cta-actions { width: 100%; flex-direction: column; }
  .song-guess-page .page-cta-actions a { width: 100%; }
}

.topic-hero { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 70px; padding: 24px 0 18px; align-items: end; }
.topic-hero .content-lede { max-width: 740px; }
.topic-actions { display: flex; gap: 8px; margin-top: 30px; }
.topic-counter { position: relative; display: flex; min-height: 210px; padding: 28px; overflow: hidden; flex-direction: column; justify-content: flex-end; border: 1px solid rgba(var(--accent-rgb), 0.22); border-radius: 26px; background: radial-gradient(circle at 50% 15%, rgba(var(--accent-rgb), 0.18), transparent 55%), #0b130e; }
.topic-counter::before { position: absolute; top: 22px; right: 22px; width: 9px; height: 9px; border-radius: 50%; content: ""; background: var(--accent); box-shadow: 0 0 22px var(--accent); }
.topic-counter span { color: #758078; font-size: 8px; font-weight: 850; letter-spacing: 0.15em; text-transform: uppercase; }
.topic-counter strong { margin-top: 12px; color: #effaf1; font-family: "Courier New", monospace; font-size: 64px; line-height: 0.9; letter-spacing: -0.09em; }
.topic-counter small { margin-top: 9px; color: color-mix(in srgb, var(--accent) 70%, white); font-size: 10px; }

.topic-difficulty { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 64px; padding: 36px 0 42px; margin-top: 88px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.topic-difficulty h2,
.topic-tracklist h2,
.topic-rules h2,
.related-collections h2 { margin: 10px 0 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.04em; }
.topic-difficulty ul { display: grid; gap: 13px; padding: 0; margin: 0; list-style: none; }
.topic-difficulty li { position: relative; display: grid; grid-template-columns: 1fr auto; padding-bottom: 10px; overflow: hidden; color: #8d988f; font-size: 10px; font-weight: 750; }
.topic-difficulty li i { position: absolute; bottom: 0; left: 0; width: var(--topic-fill); height: 2px; background: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.45); }
.topic-difficulty li::after { position: absolute; right: 0; bottom: 0; left: 0; z-index: -1; height: 2px; content: ""; background: #1c251f; }
.topic-difficulty li strong { color: #e2ece4; font-family: "Courier New", monospace; }
.topic-difficulty li.is-empty { opacity: 0.32; }
.section-copy { max-width: 720px; margin: 14px 0 0; color: #78847b; font-size: 12px; line-height: 1.72; }

.topic-tracklist { margin-top: 86px; }
.topic-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.topic-section-heading > span { color: #657168; font-family: "Courier New", monospace; font-size: 10px; }
.topic-tracklist > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 28px 0 0; list-style: none; }
.topic-tracklist li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; min-height: 70px; padding: 8px 15px 8px 8px; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 15px; background: #0b120e; }
.topic-tracklist img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; filter: saturate(0.82); }
.topic-tracklist li div { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.topic-tracklist li strong { overflow: hidden; color: #dfe9e1; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.topic-tracklist li span { overflow: hidden; color: #78837b; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.topic-tracklist li small { color: var(--accent); font-size: 7px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.catalog-note { margin: 18px 0 0; color: #647067; font-size: 10px; line-height: 1.65; }

.recognition-signals { margin-top: 86px; }
.recognition-signals > h2 { margin: 10px 0 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.04em; }
.recognition-signals > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.recognition-signals article { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.045), transparent 68%), #0b120e; }
.recognition-signals h3 { margin: 0; color: #dfeae1; font-size: 14px; }
.recognition-signals article p { margin: 10px 0 0; color: #77837a; font-size: 11px; line-height: 1.7; }

.topic-rules { padding: 42px; margin-top: 86px; border: 1px solid rgba(var(--accent-rgb), 0.17); border-radius: 26px; background: radial-gradient(circle at 100% 0, rgba(var(--accent-rgb), 0.08), transparent 44%), #0b130e; }
.topic-rules > ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0; margin: 34px 0 0; list-style: none; }
.topic-rules li { padding-top: 18px; border-top: 1px solid var(--line); }
.topic-rules li span { color: var(--accent); font-family: "Courier New", monospace; font-size: 9px; }
.topic-rules li strong { display: block; margin-top: 15px; color: #e4eee6; font-size: 13px; }
.topic-rules li p { margin: 8px 0 0; color: #7e8981; font-size: 11px; line-height: 1.65; }

.topic-audience { margin-top: 86px; }

.page-faqs { margin-top: 88px; }
.page-faqs > h2 { margin: 10px 0 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.04em; }
.page-faqs > div { display: grid; gap: 8px; margin-top: 28px; }
.page-faqs details { border: 1px solid var(--line); border-radius: 15px; background: #0a110d; }
.page-faqs details[open] { border-color: rgba(var(--accent-rgb), 0.22); }
.page-faqs summary { display: flex; min-height: 62px; padding: 16px 20px; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; }
.page-faqs summary::-webkit-details-marker { display: none; }
.page-faqs h3 { margin: 0; color: #dce7de; font-size: 14px; letter-spacing: -0.01em; }
.page-faqs summary span { color: var(--accent); font-size: 20px; transition: transform 180ms ease; }
.page-faqs details[open] summary span { transform: rotate(45deg); }
.page-faqs details > p { max-width: 820px; padding: 0 20px 20px; margin: -2px 0 0; color: #7c887f; font-size: 12px; line-height: 1.75; }

.related-collections { margin-top: 88px; }
.related-collections > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; }
.related-collections .collection-card { min-height: 230px; padding: 22px; }
.related-collections .collection-card h2 { font-size: 30px; }
.related-collections .collection-card p { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .collection-grid .collection-card { animation: collection-card-in 560ms both cubic-bezier(0.22, 1, 0.36, 1); }
  .collection-grid .collection-card:nth-child(2) { animation-delay: 60ms; }
  .collection-grid .collection-card:nth-child(3) { animation-delay: 120ms; }
  .collection-grid .collection-card:nth-child(4) { animation-delay: 180ms; }
  .collection-grid .collection-card:nth-child(5) { animation-delay: 240ms; }
  .collection-grid .collection-card:nth-child(6) { animation-delay: 300ms; }
  .collection-grid .collection-card:nth-child(7) { animation-delay: 360ms; }
}

@keyframes collection-card-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.not-found-page > div { display: flex; gap: 8px; margin-top: 30px; }

.drawer-navigation {
  display: grid;
  gap: 12px;
}
.drawer-site-links { display: grid; gap: 2px; }
.drawer-site-links a {
  display: flex;
  min-height: 44px;
  padding: 0 12px;
  align-items: center;
  border-radius: 10px;
  color: #8f978f;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.drawer-site-links a:hover,
.drawer-site-links a[aria-current="page"] { color: #eaf5ec; background: rgba(var(--accent-rgb), 0.09); }

/* FAQ */
.faq-page {
  width: min(760px, 100%);
  min-height: 100vh;
  padding: 64px 26px 90px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #777e78;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.back-link:hover { color: #fff; transform: translateX(-2px); }
.back-link svg { width: 13px; height: 13px; }

.faq-page h1 {
  margin: 28px 0 14px;
  font-size: clamp(34px, 6vw, 38px);
  font-weight: 900;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.faq-intro {
  margin: 0;
  color: #929892;
  font-size: 15px;
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 42px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #202922;
  border-radius: 14px;
  background: #0d120f;
  transition: border-color 180ms ease, background 180ms ease;
}

.faq-item[open] {
  border-color: rgba(var(--accent-rgb), 0.27);
  background: #0f1712;
}

.faq-item summary {
  display: flex;
  width: 100%;
  min-height: 59px;
  padding: 15px 22px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  color: #eef2ef;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h2 { min-width: 0; padding-right: 12px; margin: 0; font-size: 16px; font-weight: 700; letter-spacing: 0; }
.faq-item summary b { flex: 0 0 auto; color: #69706a; font-size: 21px; font-weight: 400; transition: transform 180ms ease; }
.faq-item[open] summary b { transform: rotate(45deg); }
.faq-answer p { padding: 0 22px 20px; margin: -2px 0 0; color: rgba(255, 255, 255, 0.55); font-size: 15px; line-height: 1.7; }
.faq-cta { margin-top: 44px; padding: 0 30px; background: #19df70; }

@media (max-width: 1359px) {
  .left-rail,
  .right-rail,
  .faq-link {
    display: none;
  }
}

@media (min-width: 1360px) {
  .site-nav.game-global-nav { display: grid; }
  .game-mode-switch { top: 90px; }
  .game-shell[data-mode="daily"] .quiz-browser-entry { top: 96px; }
  .game-board {
    top: 44px;
    height: calc(100% - 44px);
  }
  .mobile-menu-button,
  .drawer-layer {
    display: none;
  }
}

@media (max-width: 620px) {
  body.topic-switcher-open { overflow: hidden; }
  body.topic-switcher-open .mobile-menu-button,
  body.topic-switcher-open .game-mode-switch { visibility: hidden; opacity: 0; pointer-events: none; }
  .mobile-menu-button { width: 42px; padding: 0; border-radius: 50%; }
  .mobile-menu-wordmark { display: none; }
  #app { min-height: max(650px, 100svh); }
  .game-shell,
  .game-board { min-height: 650px; }
  .spotlight-beam { display: none; }
  .game-hint { display: none; }
  .wordmark { top: 213px; font-size: 44px; }
  .topic-context { top: 118px; }
  .filter-roulette-deck { top: 267px; width: calc(100vw - 48px); }
  .topic-switcher-trigger { max-width: calc(100vw - 84px); }
  .topic-kind { display: none; }
  .topic-switcher-scrim {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: block;
    border: 0;
    visibility: hidden;
    background: rgba(0, 5, 2, 0.68);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
  }
  .topic-switcher.is-open .topic-switcher-scrim { visibility: visible; opacity: 1; pointer-events: auto; }
  .topic-switcher-panel {
    position: fixed;
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 4;
    width: auto;
    max-height: calc(100svh - 24px);
    padding: 20px;
    overflow-y: auto;
    border-radius: 20px;
    transform: translateY(22px);
  }
  .topic-switcher.is-open .topic-switcher-panel { transform: none; }
  .topic-switcher-panel header { position: sticky; top: -20px; z-index: 2; padding: 2px 0 12px; background: #07100a; }
  .topic-switcher-panel header strong { font-size: 15px; }
  .topic-switcher-panel header button { width: 38px; height: 38px; }
  .topic-switcher-search { position: sticky; top: 43px; z-index: 2; margin-top: 2px; background: #0c1510; }
  .topic-switcher-groups { grid-template-columns: 1fr; gap: 18px; margin-top: 14px; }
  .topic-switcher-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .topic-switcher-options a { min-height: 51px; padding: 8px 10px; }
  .topic-switcher-options a strong { font-size: 11px; }
  .topic-switcher-panel footer { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .topic-switcher-panel footer a { display: grid; min-height: 42px; padding: 8px; place-items: center; border-radius: 10px; background: #101a13; text-align: center; }
  .era-roulette { top: 296px; }
  .difficulty-tabs { top: 391px; }
  .progress-wrap { top: 443px; }
  .play-row { top: 524px; }
  .guess-form { top: 668px; }
  .play-duration { margin-left: 16px; }
  .result-layer { top: 286px; width: calc(100vw - 48px); }
  .result-cover { width: 110px; height: 110px; }
  .result-stamp { top: 143px; right: 16px; }
  .result-actions { flex-direction: column; }
  .toast { bottom: 18px; width: max-content; max-width: calc(100vw - 36px); text-align: center; }
  .game-mode-switch { top: 18px; right: 14px; left: 70px; width: auto; transform: none; }
  .game-mode-switch button,
  .game-mode-switch a { min-width: 0; padding: 0 9px; flex: 1 1 auto; }
  .daily-layer { top: 74px; width: calc(100vw - 28px); max-height: calc(100svh - 88px); }
  .daily-card { padding: 24px 20px; border-radius: 22px; }
  .daily-card h2 { font-size: 34px; }
  .daily-copy { font-size: 11px; }
  .archive-announcement-dialog { width: calc(100% - 24px); max-height: calc(100svh - 24px); }
  .archive-announcement-panel { padding: 27px 23px 24px; border-radius: 23px; }
  .archive-announcement-panel h2 { padding-right: 38px; font-size: 40px; }
  .archive-announcement-panel > p:not(.archive-announcement-kicker) { font-size: 11px; }
  .archive-announcement-actions { align-items: stretch; flex-direction: column; gap: 3px; }
  .archive-announcement-actions .primary-button { justify-content: center; }
  .archive-announcement-actions > button { width: 100%; }
  .archive-announcement-dismiss { top: 11px; right: 11px; }
  .daily-progress, .daily-result-grid { gap: 5px; }
  .game-shell[data-mode="daily"] .quiz-browser-entry { top: 68px; }
  .game-shell[data-mode="daily"] .wordmark { top: 153px; }
  .game-shell[data-mode="daily"] .daily-hud { top: 115px; }
  .game-shell[data-mode="daily"] .progress-wrap { top: 276px; }
  .game-shell[data-mode="daily"] .play-row { top: 356px; }
  .game-shell[data-mode="daily"] .guess-form { top: 500px; }
  .game-shell[data-mode="archive"] .wordmark { top: 153px; }
  .game-shell[data-mode="archive"] .daily-hud { top: 115px; }
  .game-shell[data-mode="archive"] .progress-wrap { top: 276px; }
  .game-shell[data-mode="archive"] .play-row { top: 356px; }
  .game-shell[data-mode="archive"] .guess-form { top: 500px; }

  .home-quiz-picker-inner,
  .home-content-inner,
  .content-page { width: calc(100% - 36px); }
  .home-quiz-picker-inner { padding: 58px 0 62px; }
  .home-quiz-picker-heading { display: block; }
  .home-quiz-picker-heading h2 { font-size: 37px; }
  .home-quiz-picker-heading > p { max-width: 330px; margin-top: 17px; }
  .home-quiz-groups { gap: 32px; margin-top: 36px; }
  .home-quiz-group-heading { margin-bottom: 9px; }
  .home-quiz-group-heading span { display: inline; }
  .home-quiz-grid {
    grid-template-columns: none;
    grid-auto-columns: minmax(242px, 78vw);
    grid-auto-flow: column;
    gap: 10px;
    padding: 2px 18px 15px 0;
    margin-right: -18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--accent-rgb), 0.28) transparent;
  }
  .home-quiz-card { min-height: 174px; scroll-snap-align: start; }
  .home-quiz-all { margin-top: 20px; }
  .home-content-inner { padding: 76px 0 68px; }
  .home-content-inner > h2 { font-size: 38px; }
  .howto-grid { grid-template-columns: 1fr; margin: 42px 0 72px; }
  .howto-grid h3 { margin-top: 24px; }
  .content-split { grid-template-columns: 1fr; gap: 54px; }
  .clip-scale { grid-template-columns: repeat(5, minmax(54px, 1fr)); overflow-x: auto; padding-bottom: 6px; }
  .home-brand-primer,
  .home-mode-board,
  .home-score-ledger,
  .home-faq { padding-top: 74px; margin-top: 74px; }
  .home-section-heading-row { display: block; }
  .home-section-heading-row > p { width: auto; margin-top: 15px; }
  .brand-primer-grid { grid-template-columns: 1fr; gap: 38px; margin-top: 34px; }
  .brand-primer-copy p { padding-left: 34px; }
  .brand-signal-card { position: relative; top: auto; max-width: 420px; border-radius: 120px 120px 18px 18px; }
  .mode-tracks { margin-top: 34px; }
  .mode-track { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; padding: 34px 0; }
  .mode-track > div:last-child { display: block; }
  .mode-track ul { margin-top: 22px; }
  .score-ledger { grid-template-columns: 1fr; margin-top: 34px; }
  .score-ledger li,
  .score-ledger li:first-child,
  .score-ledger li:last-child { padding: 27px 0; border-top: 1px solid var(--line); border-left: 0; }
  .score-ledger li:first-child { border-top: 0; }
  .score-ledger h3 { margin-top: 19px; }
  .home-faq-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .home-faq summary { min-height: 64px; }
  .home-faq details p { padding-right: 12px; }
  .home-cta-panel,
  .page-cta { padding: 27px 24px; flex-direction: column; align-items: flex-start; }
  .home-cta-panel { margin-top: 72px; }
  .home-cta-actions { width: 100%; flex-direction: column; }
  .home-cta-actions a { width: 100%; }

  .site-nav { grid-template-columns: 1fr auto; width: calc(100% - 36px); min-height: 68px; }
  .site-nav > .site-nav-primary { display: none; }
  .site-nav-menu { display: block; }
  .site-nav-actions > .nav-play { display: none; }
  .site-footer {
    grid-template-areas:
      "intro"
      "groups"
      "meta";
    grid-template-columns: 1fr;
    width: calc(100% - 36px);
    padding: 40px 0 26px;
    gap: 34px;
    text-align: left;
  }
  .footer-intro > p { max-width: 260px; }
  .footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .footer-link-heading { margin-bottom: 12px; }
  .footer-link-list { gap: 9px; }
  .footer-meta { align-items: flex-start; flex-direction: column; gap: 8px; }

  .content-page { padding: 46px 0 68px; }
  .content-page:not(.guide-page):not(.faq-page),
  .policy-page { width: calc(100% - 36px) !important; }
  .breadcrumbs { margin-bottom: 44px; }
  .content-page > h1 { font-size: 43px; }
  .content-page > .content-lede { margin-bottom: 54px; }
  .prose-section { margin-top: 60px; }
  .update-entry { grid-template-columns: 20px minmax(0, 1fr); column-gap: 13px; padding-bottom: 16px; }
  .update-entry::before { grid-column: 1; margin-top: 3px; box-shadow: 0 0 0 4px #030704; }
  .update-entry.is-latest::before { box-shadow: 0 0 0 4px #030704, 0 0 0 6px rgba(var(--accent-rgb), 0.14); }
  .update-entry:not(:last-child)::after { top: 17px; bottom: -20px; left: 6.5px; }
  .update-meta { display: flex; grid-column: 2; grid-row: 1; align-items: center; justify-content: space-between; gap: 12px; padding-top: 0; text-align: left; }
  .update-copy { grid-column: 2; grid-row: 2; padding: 22px 20px; margin-top: 12px; border-radius: 18px; }
  .update-entry:hover .update-copy { transform: none; }
  .update-title-row { flex-wrap: wrap; align-items: center; }

  .guide-summary { padding: 27px 23px; }
  .guide-summary ol { grid-template-columns: 1fr; }
  .guide-summary li { display: grid; grid-template-columns: 38px 1fr; gap: 10px; }
  .guide-summary li > span { margin: 0; }
  .control-definitions { grid-template-columns: 1fr; }
  .difficulty-guide { grid-template-columns: 1fr; }
  .difficulty-guide article { display: grid; grid-template-columns: 86px 1fr; gap: 12px; align-items: baseline; }
  .difficulty-guide p { margin: 0; }

  .faq-quickstart { grid-template-columns: 1fr; padding: 24px 21px; }
  .faq-quickstart h2 { font-size: 23px; }
  .faq-item summary h2 { font-size: 14px; }
  .values-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > a { min-height: 180px; }
  .leaderboard-hero { grid-template-columns: 1fr; gap: 24px; }
  .leaderboard-reset { width: 100%; }
  .my-ranking { grid-template-columns: 1fr; padding: 22px; }
  .my-ranking dl { grid-template-columns: repeat(2, 1fr); }
  .leaderboard-heading { align-items: flex-start; flex-direction: column; }
  .leaderboard-heading .secondary-button { width: 100%; }
  .profile-danger { align-items: stretch; flex-direction: column; }
  .profile-danger button { width: 100%; }
  .not-found-page > div { width: 100%; flex-direction: column; }
  .collection-page,
  .topic-page { width: calc(100% - 36px) !important; }
  .collection-hero { padding-top: 8px; }
  .collection-hero h1,
  .topic-hero h1 { font-size: 47px; }
  .collection-browser { margin-top: 58px; }
  .collection-browser-heading { grid-template-columns: 1fr; gap: 20px; }
  .collection-search { width: 100%; }
  .collection-filters { flex-wrap: nowrap; padding-bottom: 5px; overflow-x: auto; }
  .collection-filters button { flex: 0 0 auto; }
  .collection-groups { gap: 46px; margin-top: 34px; }
  .collection-grid { grid-template-columns: 1fr; margin-top: 14px; }
  .collection-card { min-height: 250px; padding: 24px; }
  .seo-intro,
  .topic-audience { grid-template-columns: 1fr; gap: 24px; padding: 34px 0; margin-top: 58px; }
  .collection-method { grid-template-columns: 1fr; gap: 22px; padding: 27px 24px; margin-top: 60px; }
  .collection-guide { margin-top: 62px; }
  .collection-guide > div { grid-template-columns: 1fr; }
  .topic-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 8px; }
  .topic-actions { flex-direction: column; }
  .topic-actions a { width: 100%; }
  .topic-counter { min-height: 150px; }
  .topic-difficulty { grid-template-columns: 1fr; gap: 32px; margin-top: 64px; }
  .topic-tracklist { margin-top: 62px; }
  .topic-tracklist > ul { grid-template-columns: 1fr; }
  .topic-section-heading { align-items: flex-start; flex-direction: column; }
  .recognition-signals { margin-top: 62px; }
  .recognition-signals > div { grid-template-columns: 1fr; }
  .topic-rules { padding: 28px 23px; margin-top: 62px; }
  .topic-rules > ol { grid-template-columns: 1fr; gap: 16px; }
  .topic-audience,
  .page-faqs { margin-top: 64px; }
  .page-faqs summary { padding: 15px 16px; }
  .page-faqs h3 { font-size: 13px; }
  .page-faqs details > p { padding: 0 16px 18px; }
  .related-collections { margin-top: 64px; }
  .related-collections > div { grid-template-columns: 1fr; }
  .related-collections .collection-card { min-height: 190px; }
}

@media (max-height: 720px) and (min-width: 621px) {
  .filter-roulette-deck { top: 129px; }
  .wordmark { top: 70px; }
  .era-roulette { top: 158px; }
  .difficulty-tabs { top: 244px; }
  .progress-wrap { top: 294px; }
  .play-row { top: 364px; }
  .guess-form { top: 510px; }
  .game-hint { top: 566px; }
}

@media (max-width: 620px) and (max-height: 760px) {
  .filter-roulette-deck { top: 191px; }
  .wordmark { top: 136px; }
  .era-roulette { top: 220px; }
  .difficulty-tabs { top: 308px; }
  .progress-wrap { top: 358px; }
  .play-row { top: 428px; }
  .guess-form { top: 572px; }
}

@media (max-width: 560px) {
  .faq-page { padding: 34px 20px 70px; }
  .faq-list { margin-top: 32px; }
  .faq-item summary { min-height: 58px; padding: 14px 16px; font-size: 14px; }
  .faq-answer p { padding: 0 16px 18px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
