:root {
  color-scheme: dark;
  --bg: #15171b;
  --surface: #23262d;
  --surface-2: #2b2e36;
  --accent: #dcc395;
  --accent-strong: #f0d9ad;
  --text: #f2f0ea;
  --muted: #b8b9c0;
  --line: rgba(242, 240, 234, 0.13);
  --success: #a8d8b2;
  --danger: #e4a4a4;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 20px;
  font-family:
    "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  min-width: 320px;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% -10%, rgba(220, 195, 149, 0.12), transparent 34rem),
    linear-gradient(180deg, #181a1f 0%, var(--bg) 42%, #111317 100%);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  box-sizing: border-box;
  color: #15171b;
  background: var(--accent);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.app-shell {
  width: min(1180px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 20px 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  border: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0.18em;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.brand small {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.3em;
}

.brand-mark {
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 39px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.topbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.topbar-actions .text-button {
  min-width: 44px;
}

.fiction-pill {
  display: none;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.text-button {
  min-height: 44px;
  padding: 8px 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.text-button:hover {
  color: var(--text);
  text-decoration-color: var(--accent);
}

.primary-button,
.secondary-button {
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.primary-button {
  color: #17191d;
  background: var(--accent);
  border: 1px solid var(--accent);
}

.primary-button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.secondary-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}

.secondary-button:hover {
  border-color: rgba(220, 195, 149, 0.5);
  transform: translateY(-1px);
}

.compact {
  width: auto;
}

.home-layout {
  padding-top: clamp(28px, 4vw, 48px);
}

.hero {
  position: relative;
  max-width: 850px;
}

.hero::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 180px;
  aspect-ratio: 1;
  content: "∞";
  color: rgba(220, 195, 149, 0.07);
  font-family: Georgia, serif;
  font-size: 260px;
  line-height: 1;
  pointer-events: none;
  transform: translate(20%, -50%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: pretty;
}

.hero h1,
.question-title,
.identity-card h1,
.event-card h1,
.result-card h1,
.ending-head h1,
.archive-layout > h1,
.compare-layout > h1 {
  margin: 0;
  font-family: "Noto Serif TC", "PMingLiU", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 770px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.96;
}

.hero-lead {
  position: relative;
  z-index: 1;
  max-width: 630px;
  margin: 18px 0 18px;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.65;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-row span {
  padding: 7px 10px;
  color: var(--muted);
  font-family: "Cascadia Mono", "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.07em;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.challenge-panel {
  margin-top: 58px;
  padding: clamp(24px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(220, 195, 149, 0.11), transparent 55%),
    var(--surface);
  border: 1px solid rgba(220, 195, 149, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.challenge-panel h2,
.section-heading h2 {
  margin: 8px 0 12px;
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: clamp(26px, 4vw, 40px);
}

.challenge-panel p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
}

.challenge-panel .primary-button {
  margin-top: 12px;
}

.challenge-host-ending {
  color: var(--text) !important;
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: 18px;
}

.panel-index {
  display: inline-block;
  color: var(--accent);
  font-family: "Cascadia Mono", "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.microcopy,
.trust-line,
.legal-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.action-stack {
  display: grid;
  gap: 10px;
  max-width: 420px;
  margin-top: 46px;
}

.story-shelf {
  margin-top: clamp(30px, 4vw, 48px);
  scroll-margin-top: 26px;
}

.story-shelf-heading {
  gap: 22px;
  align-items: end;
}

.story-shelf-heading h2 {
  margin: 0 0 10px;
  font-family: "Noto Serif TC", "PMingLiU", Georgia, serif;
  font-size: clamp(30px, 4.8vw, 48px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.story-shelf-heading p:not(.eyebrow) {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.shelf-rule {
  width: fit-content;
  padding: 8px 12px;
  color: var(--accent);
  font-family: "Cascadia Mono", "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  border: 1px solid rgba(220, 195, 149, 0.32);
  border-radius: 999px;
}

.story-poster-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.story-poster {
  position: relative;
  display: flex;
  min-height: 340px;
  padding: clamp(24px, 4vw, 36px);
  overflow: hidden;
  color: var(--text);
  text-align: left;
  background:
    linear-gradient(155deg, rgba(220, 195, 149, 0.12), transparent 46%),
    #1d2026;
  border: 1px solid rgba(220, 195, 149, 0.25);
  border-radius: 22px;
  cursor: pointer;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, transform 180ms ease;
}

.story-poster::after {
  position: absolute;
  right: -42px;
  bottom: 68px;
  content: "∞";
  color: rgba(220, 195, 149, 0.07);
  font-family: Georgia, serif;
  font-size: 220px;
  line-height: 0.8;
  pointer-events: none;
  transform: rotate(-8deg);
}

.story-tone-business {
  background:
    radial-gradient(circle at 92% 8%, rgba(232, 174, 92, 0.2), transparent 16rem),
    linear-gradient(145deg, rgba(122, 52, 38, 0.42), transparent 56%),
    #1d2027;
}

.story-tone-wuxia {
  background:
    radial-gradient(circle at 90% 12%, rgba(108, 166, 145, 0.2), transparent 16rem),
    linear-gradient(145deg, rgba(26, 69, 58, 0.5), transparent 58%),
    #171e1d;
}

.story-poster:hover {
  border-color: rgba(220, 195, 149, 0.62);
  transform: translateY(-3px);
}

.story-poster-top,
.story-poster-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.story-poster-top {
  align-items: center;
  color: var(--muted);
  font-family: "Cascadia Mono", "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-poster-top b {
  color: var(--accent);
  font-size: 12px;
}

.story-poster-title {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 92%;
  margin-top: 70px;
  font-family: "Noto Serif TC", "PMingLiU", Georgia, serif;
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.story-poster-line {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 560px;
  margin-top: 22px;
  color: #d7d5cf;
  font-size: 15px;
  line-height: 1.72;
}

.story-poster-role {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.story-poster-footer {
  align-items: end;
  margin-top: auto;
  padding-top: 32px;
  color: var(--muted);
  font-family: "Cascadia Mono", "Courier New", monospace;
  font-size: 10px;
}

.story-poster-footer strong {
  color: var(--accent);
  font-size: 11px;
}

.story-poster.is-locked {
  min-height: 250px;
  cursor: default;
  opacity: 0.58;
  background: rgba(255, 255, 255, 0.022);
  box-shadow: none;
}

.story-poster.is-locked:hover {
  transform: none;
}

.story-poster.is-locked .story-poster-title {
  margin-top: 42px;
  font-size: clamp(28px, 4vw, 42px);
}

.action-stack .secondary-button {
  display: flex;
  justify-content: space-between;
}

.trust-line {
  margin: 14px 0 0 18px;
}

.code-entry {
  display: grid;
  gap: 14px;
  max-width: 680px;
  margin-top: 40px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.code-entry strong {
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: 19px;
}

.code-entry p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.code-entry-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.code-entry input {
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  color: var(--text);
  font-family: "Cascadia Mono", "Courier New", monospace;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.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;
}

.feature-grid {
  display: grid;
  gap: 1px;
  margin-top: 74px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-grid article {
  min-height: 190px;
  padding: 26px;
  background: rgba(24, 26, 31, 0.88);
}

.feature-grid span {
  color: var(--accent);
  font-family: "Cascadia Mono", monospace;
  font-size: 10px;
}

.feature-grid strong {
  display: block;
  margin-top: 44px;
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
}

.feature-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.legal-note {
  max-width: 760px;
  margin: 42px 0 0;
}

.warning-banner {
  margin: 16px 0;
  padding: 13px 16px;
  color: #ffe6bf;
  font-size: 13px;
  background: rgba(113, 74, 24, 0.42);
  border: 1px solid rgba(255, 205, 132, 0.35);
  border-radius: 12px;
}

.flow-layout {
  width: min(800px, 100%);
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: clamp(46px, 8vh, 96px) 0;
}

.progress-track,
.run-progress,
.trait-meter {
  display: block;
  width: 100%;
  height: 3px;
  overflow: hidden;
  appearance: none;
  background: var(--line);
  border: 0;
  border-radius: 999px;
}

.progress-track {
  margin-bottom: 58px;
}

.progress-track::-webkit-progress-bar,
.run-progress::-webkit-progress-bar,
.trait-meter::-webkit-progress-bar {
  background: var(--line);
  border-radius: 999px;
}

.progress-track::-webkit-progress-value,
.run-progress::-webkit-progress-value,
.trait-meter::-webkit-progress-value {
  background: var(--accent);
  border-radius: 999px;
}

.progress-track::-moz-progress-bar,
.run-progress::-moz-progress-bar,
.trait-meter::-moz-progress-bar {
  background: var(--accent);
  border-radius: 999px;
}

.question-title {
  max-width: 700px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.05;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 38px;
}

.choice-tile {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 18px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 15px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.choice-tile:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(220, 195, 149, 0.42);
  transform: translateY(-1px);
}

.choice-tile.is-selected {
  background: rgba(220, 195, 149, 0.1);
  border-color: var(--accent);
}

.choice-tile span,
.event-options button > span {
  color: var(--accent);
  font-family: "Cascadia Mono", monospace;
  font-size: 11px;
}

.choice-tile strong {
  font-size: 16px;
  font-weight: 600;
}

.flow-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
}

.reveal-layout {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(46px, 8vh, 94px) 0;
}

.identity-card {
  position: relative;
  padding: clamp(26px, 5vw, 46px);
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 0%, rgba(220, 195, 149, 0.16), transparent 18rem),
    var(--surface);
  border: 1px solid rgba(220, 195, 149, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.identity-seal {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: var(--accent);
  font-family: "Cascadia Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  border: 1px solid rgba(220, 195, 149, 0.45);
  border-radius: 50%;
}

.identity-card h1 {
  max-width: 560px;
  margin-top: 10px;
  padding-right: 60px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
}

.identity-line {
  max-width: 570px;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.story-premise {
  margin: 24px 0;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(220, 195, 149, 0.1), transparent 58%),
    rgba(15, 17, 20, 0.72);
  border: 1px solid rgba(220, 195, 149, 0.28);
  border-radius: var(--radius);
}

.story-premise h2 {
  margin: 8px 0 22px;
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: clamp(24px, 4.5vw, 38px);
  line-height: 1.35;
}

.story-premise-pair {
  display: grid;
  gap: 12px;
}

.story-premise-pair div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.story-premise-pair span,
.story-premise-pair strong {
  display: block;
}

.story-premise-pair span {
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.story-premise-pair strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

.identity-meta {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.identity-meta div {
  padding: 16px;
  background: rgba(20, 22, 26, 0.74);
}

.identity-meta span,
.identity-meta strong {
  display: block;
}

.identity-meta span {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.identity-meta strong {
  font-size: 16px;
}

.trait-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.trait-list div {
  display: grid;
  grid-template-columns: 100px 1fr 36px;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  text-transform: capitalize;
}

.trait-list .trait-meter {
  height: 4px;
}

.trait-list em {
  color: var(--text);
  font-family: "Cascadia Mono", monospace;
  font-style: normal;
  text-align: right;
}

.reveal-layout > .primary-button {
  width: 100%;
  margin-top: 20px;
}

.reveal-layout > .text-button {
  display: block;
  margin: 10px auto 0;
}

.game-layout {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 28px 0 50px;
}

.story-run-context {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-bottom: 18px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.story-run-context div {
  min-width: 0;
  padding: 10px 12px;
  background: rgba(19, 21, 25, 0.88);
}

.story-run-context span,
.story-run-context strong {
  display: block;
}

.story-run-context span {
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-run-context strong {
  overflow: hidden;
  font-family: "Noto Serif TC", "PMingLiU", Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: "Cascadia Mono", "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.run-progress {
  margin-bottom: 18px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 0 22px;
}

.stat-chip {
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.stat-chip span,
.stat-chip strong {
  display: block;
}

.stat-chip span {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-chip strong {
  margin-top: 3px;
  font-family: "Cascadia Mono", monospace;
  font-size: 15px;
}

.event-card,
.result-card {
  position: relative;
  padding: clamp(26px, 5vw, 48px);
  background:
    linear-gradient(145deg, rgba(220, 195, 149, 0.06), transparent 48%),
    var(--surface);
  border: 1px solid rgba(220, 195, 149, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.event-card h1 {
  max-width: 720px;
  margin-top: 22px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.1;
}

.story-event-card {
  padding-top: clamp(22px, 4vw, 36px);
}

.story-event-card .panel-index {
  margin-top: 2px;
}

.story-event-card h1 {
  margin-top: 10px;
}

.story-chapter-after-scene {
  margin: 8px 0 28px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.scene-setting {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 10px;
  color: #f4dfb8;
  font-family: "Cascadia Mono", "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  background: rgba(220, 195, 149, 0.09);
  border: 1px solid rgba(220, 195, 149, 0.25);
  border-radius: 7px;
}

.story-chapter {
  display: grid;
  gap: 5px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.story-chapter span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-chapter strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.event-scene {
  max-width: 700px;
  margin: 24px 0 36px;
  color: #d6d5d0;
  font-size: clamp(16px, 2.5vw, 19px);
  line-height: 1.82;
}

.choice-prompt {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-options {
  display: grid;
  gap: 9px;
}

.event-options button {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 60px;
  padding: 14px 16px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, padding 160ms ease;
}

.event-options button:hover {
  padding-left: 20px;
  background: rgba(220, 195, 149, 0.065);
  border-color: rgba(220, 195, 149, 0.4);
}

.event-options strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
}

.game-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
}

.story-stakes {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 12px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.story-stakes > span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-stakes > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.story-stakes > div span {
  display: flex;
  gap: 5px;
  align-items: baseline;
  justify-content: flex-end;
  min-width: 0;
}

.story-stakes small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-stakes strong {
  color: var(--text);
  font-family: "Cascadia Mono", "Courier New", monospace;
  font-size: 12px;
}

.result-layout > .primary-button {
  width: 100%;
  margin-top: 20px;
}

.story-hook {
  margin-top: 18px;
  padding: 18px 20px;
  background: rgba(220, 195, 149, 0.07);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
}

.plot-armor {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 32px);
  background:
    radial-gradient(circle at 95% 0%, rgba(232, 174, 92, 0.2), transparent 16rem),
    linear-gradient(135deg, rgba(113, 38, 32, 0.36), rgba(29, 24, 23, 0.9));
  border: 1px solid rgba(237, 178, 104, 0.5);
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(208, 108, 56, 0.08);
}

.plot-armor > span {
  color: #f0c37a;
  font-family: "Cascadia Mono", "Courier New", monospace;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.plot-armor h2 {
  margin: 8px 0 10px;
  font-family: "Noto Serif TC", "PMingLiU", Georgia, serif;
  font-size: clamp(26px, 4vw, 38px);
}

.plot-armor p {
  margin: 0;
  color: #f2e5d3;
  font-size: 16px;
  line-height: 1.75;
}

.story-hook span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.story-hook p {
  margin: 7px 0 0;
  color: var(--text);
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: clamp(18px, 3vw, 24px);
  line-height: 1.5;
}

.result-card h1 {
  margin-top: 18px;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.3;
}

.delta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.delta-row span,
.mini-tags span {
  padding: 7px 9px;
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.up {
  color: var(--success);
}

.down {
  color: var(--danger);
}

.reaction-panel {
  margin-top: 20px;
  padding: clamp(22px, 4vw, 32px);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.reaction-panel h2 {
  margin: 0 0 20px;
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: 26px;
}

.reaction-heading {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reaction-heading h2 {
  margin-bottom: 18px;
}

.reaction-collapsed {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  padding: 12px 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  text-align: left;
  background: rgba(255, 255, 255, 0.018);
  border: 1px dashed var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.reaction-feed {
  display: grid;
  gap: 12px;
}

.reaction-feed article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.reaction-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--accent);
  font-family: "Noto Serif TC", Georgia, serif;
  border: 1px solid rgba(220, 195, 149, 0.3);
  border-radius: 50%;
}

.reaction-feed strong {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.reaction-feed p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.ending-layout {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: clamp(48px, 8vh, 92px) 0;
}

.ending-head {
  position: relative;
  max-width: 780px;
  padding-bottom: 40px;
}

.ending-glyph {
  position: absolute;
  top: -18px;
  right: 0;
  color: var(--accent);
  font-size: 58px;
  opacity: 0.8;
}

.ending-head > p:first-of-type {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ending-head h1 {
  margin-top: 14px;
  font-size: clamp(50px, 9vw, 94px);
  line-height: 0.98;
}

.ending-story-label {
  margin: -6px 0 20px;
  color: var(--accent);
  font-family: "Cascadia Mono", "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.07em;
}

.ending-head blockquote {
  max-width: 710px;
  margin: 30px 0;
  color: var(--accent);
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: clamp(21px, 3vw, 31px);
  line-height: 1.55;
}

.ending-narrative {
  max-width: 720px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
}

.rewards-panel {
  display: grid;
  gap: 28px;
  margin: 26px 0;
  padding: clamp(22px, 4vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.life-grid-shell {
  margin: 22px 0;
  padding: clamp(20px, 4vw, 30px);
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compact-heading {
  margin-bottom: 16px;
}

.compact-heading h2 {
  max-width: 680px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 5px;
}

.life-cell {
  position: relative;
  aspect-ratio: 1;
  background: var(--surface-2);
  border-radius: 3px;
}

.life-cell.is-breakthrough {
  background: var(--accent);
}

.life-cell.is-steady {
  background: rgba(184, 185, 192, 0.28);
}

.life-cell.is-strain {
  background: #9c6d53;
}

.life-cell.is-crisis {
  background: #78404b;
}

.life-cell.is-milestone::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 35%;
  aspect-ratio: 1;
  content: "";
  background: var(--bg);
  border: 1px solid var(--accent);
  transform: translate(-50%, -50%) rotate(45deg);
}

.grid-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.grid-legend span::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  content: "";
  background: var(--surface-2);
  border-radius: 1px;
}

.grid-legend .is-breakthrough::before {
  background: var(--accent);
}

.grid-legend .is-steady::before {
  background: rgba(184, 185, 192, 0.45);
}

.grid-legend .is-strain::before {
  background: #9c6d53;
}

.grid-legend .is-crisis::before {
  background: #78404b;
}

.challenge-comparison,
.unfinished-echo {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 32px);
  background:
    linear-gradient(135deg, rgba(220, 195, 149, 0.07), transparent 52%),
    var(--surface);
  border: 1px solid rgba(220, 195, 149, 0.24);
  border-radius: var(--radius);
}

.ending-pair {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.ending-pair > div {
  padding: 16px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.ending-pair span,
.ending-pair strong {
  display: block;
}

.ending-pair span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ending-pair strong {
  margin-top: 7px;
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: 21px;
}

.divergence-card {
  padding: 18px;
  background: rgba(220, 195, 149, 0.06);
  border: 1px solid rgba(220, 195, 149, 0.28);
  border-radius: 13px;
}

.divergence-card > span {
  color: var(--accent);
  font-family: "Cascadia Mono", "Courier New", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.divergence-card h3 {
  margin: 10px 0 14px;
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: clamp(23px, 4vw, 34px);
}

.divergence-options {
  display: grid;
  gap: 7px;
}

.divergence-options p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.divergence-options b {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 10px;
}

.unfinished-echo {
  border-style: dashed;
  background:
    radial-gradient(circle at 92% 8%, rgba(220, 195, 149, 0.12), transparent 12rem),
    rgba(255, 255, 255, 0.018);
}

.unfinished-echo h2 {
  margin: 8px 0 12px;
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.35;
}

.unfinished-echo > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.echo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-list,
.relic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span,
.relic-list span {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.relic-list span {
  color: var(--text);
  background: rgba(220, 195, 149, 0.065);
}

.relic-list b {
  margin-right: 6px;
  color: var(--accent);
}

.share-section,
.fork-panel {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.segmented button {
  min-height: 44px;
  padding: 7px 13px;
  color: var(--muted);
  font-size: 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.segmented button.is-active {
  color: #16181c;
  background: var(--accent);
}

.card-preview {
  max-width: 440px;
  margin: 0 auto 20px;
  overflow: hidden;
  background: #0f1013;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.card-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.fork-panel > p {
  color: var(--muted);
  line-height: 1.7;
}

.checkpoint-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.checkpoint-list article {
  padding: 16px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.checkpoint-list article > span {
  color: var(--accent);
  font-family: "Cascadia Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.checkpoint-list article > p {
  margin: 9px 0 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.checkpoint-list article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.checkpoint-list .secondary-button {
  min-height: 44px;
  padding: 9px 13px;
  font-size: 12px;
}

.ending-actions {
  margin-top: 26px;
}

.feedback-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 24px;
  padding: 24px;
  background:
    radial-gradient(circle at 95% 10%, rgba(220, 195, 149, 0.13), transparent 12rem),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(220, 195, 149, 0.28);
  border-radius: var(--radius);
}

.feedback-panel h2 {
  margin: 4px 0 8px;
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: clamp(24px, 4vw, 34px);
}

.feedback-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.feedback-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.archive-layout {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(48px, 8vh, 92px) 0;
}

.archive-layout > h1,
.compare-layout > h1 {
  font-size: clamp(44px, 8vw, 80px);
  line-height: 1;
}

.lead-copy {
  max-width: 670px;
  color: var(--muted);
  line-height: 1.75;
}

.relic-selector {
  display: grid;
  gap: 9px;
  margin: 28px 0 14px;
}

.relic-selector label {
  display: grid;
  grid-template-columns: 24px 32px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 82px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.relic-selector label.is-selected {
  background: rgba(220, 195, 149, 0.08);
  border-color: var(--accent);
}

.relic-selector input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.relic-icon {
  color: var(--accent);
  font-size: 26px;
}

.relic-selector strong,
.relic-selector small {
  display: block;
}

.relic-selector strong {
  font-size: 15px;
}

.relic-selector small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.inheritance-preview {
  margin: 16px 0 8px;
  padding: 14px 16px;
  background: rgba(220, 195, 149, 0.055);
  border: 1px solid rgba(220, 195, 149, 0.2);
  border-radius: 12px;
}

.inheritance-preview > span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.inheritance-preview div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.inheritance-preview b,
.inheritance-preview em {
  color: var(--success);
  font-family: "Cascadia Mono", monospace;
  font-size: 11px;
  font-style: normal;
}

.resonance-card {
  margin: 12px 0;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(220, 195, 149, 0.1), transparent 62%),
    rgba(0, 0, 0, 0.13);
  border: 1px solid rgba(220, 195, 149, 0.34);
  border-radius: 13px;
}

.resonance-card span,
.resonance-card strong {
  display: block;
}

.resonance-card span {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resonance-card strong {
  margin-top: 5px;
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: 20px;
}

.resonance-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.archive-layout > .primary-button {
  width: 100%;
  margin-top: 20px;
}

.archive-layout > .text-button {
  display: block;
  margin: 8px auto 0;
}

.empty-state {
  margin: 28px 0;
  padding: 36px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.archive-list {
  display: grid;
  gap: 10px;
  margin: 30px 0;
}

.archive-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.archive-card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.archive-card-top span {
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: 21px;
}

.archive-card-top small,
.archive-meta {
  color: var(--muted);
  font-size: 10px;
}

.archive-card > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 6px;
}

.account-note {
  margin-top: 40px;
  padding: 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.account-note strong {
  color: var(--text);
}

.export-button {
  display: block;
  width: 100%;
  margin-top: 14px;
}

.danger-link {
  display: block;
  min-height: 44px;
  margin: 28px auto 0;
  color: #c98e8e;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.compare-layout {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: clamp(48px, 8vh, 92px) 0;
}

.compare-grid {
  display: grid;
  gap: 10px;
  margin: 28px 0 16px;
}

.compare-grid article {
  min-height: 240px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compare-grid h2 {
  margin: 18px 0 6px;
  font-family: "Noto Serif TC", Georgia, serif;
  font-size: clamp(28px, 5vw, 44px);
}

.compare-grid article > p {
  color: var(--muted);
  font-size: 12px;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 28px;
}

.stat-compare {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat-compare div {
  display: grid;
  grid-template-columns: 1fr 40px 1px 40px 55px;
  gap: 10px;
  align-items: center;
  padding: 13px 16px;
  font-size: 11px;
  border-bottom: 1px solid var(--line);
}

.stat-compare div:last-child {
  border-bottom: 0;
}

.stat-compare span {
  color: var(--muted);
}

.stat-compare strong,
.stat-compare em {
  font-family: "Cascadia Mono", monospace;
  font-style: normal;
}

.stat-compare i {
  width: 1px;
  height: 18px;
  background: var(--line);
}

.stat-compare em {
  font-size: 10px;
  text-align: right;
}

.compare-layout > .primary-button {
  width: 100%;
  margin-top: 22px;
}

.compare-layout > .text-button {
  display: block;
  margin: 8px auto 0;
}

.toast {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 30;
  max-width: min(420px, calc(100vw - 32px));
  padding: 12px 16px;
  color: #16181c;
  font-size: 12px;
  font-weight: 650;
  text-align: center;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.fatal-error {
  max-width: 600px;
  margin: 15vh auto;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fatal-error p {
  color: var(--muted);
}

.page-enter {
  animation: enter 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.qa-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  color: var(--muted);
  font-family: "Cascadia Mono", "Courier New", monospace;
  font-size: 9px;
  line-height: 1.5;
  background: rgba(220, 195, 149, 0.06);
  border: 1px solid rgba(220, 195, 149, 0.2);
  border-radius: 10px;
}

.qa-toolbar > div {
  display: flex;
  gap: 6px;
}

.qa-toolbar button {
  min-height: 44px;
  padding: 7px 9px;
  color: var(--text);
  font: inherit;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 560px) {
  .fiction-pill {
    display: inline-flex;
  }

  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .identity-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-premise-pair {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .section-heading {
    flex-direction: row;
    align-items: flex-end;
  }

  .rewards-panel {
    grid-template-columns: 1fr 1fr;
  }

  .compare-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ending-pair {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 820px) {
  .app-shell {
    padding-inline: 34px;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .story-poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-layout {
    padding-top: 44px;
  }

  .challenge-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px 36px;
    align-items: end;
  }

  .challenge-panel .panel-index,
  .challenge-panel h2,
  .challenge-panel p {
    grid-column: 1;
  }

  .challenge-panel .primary-button {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: center;
  }

  .feedback-panel {
    flex-direction: row;
    align-items: center;
  }

  .game-layout {
    padding-top: 42px;
  }
}

@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;
  }
}
