:root {
  --bg: #f7f4ee;
  --panel: rgba(255, 255, 255, 0.82);
  --line: rgba(27, 27, 27, 0.1);
  --text: #151515;
  --muted: rgba(21, 21, 21, 0.66);
  --gold: #c8741f;
  --orange: #f08a2e;
  --green: #17784c;
  --soft: rgba(255, 255, 255, 0.7);
  --shadow: rgba(20, 20, 20, 0.08);
  --terrace-a: #c2a284;
  --terrace-b: #a58368;
  --terrace-c: #85654d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Georgia", "Times New Roman", serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(240, 138, 46, 0.08), transparent 20%),
    radial-gradient(circle at 100% 10%, rgba(23, 120, 76, 0.06), transparent 18%),
    linear-gradient(180deg, #fff, var(--bg));
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px);
  background-size: 100% 8px;
  opacity: 0.35;
}

.page-shell {
  width: min(1180px, calc(100% - 1.2rem));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0 1.2rem;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: min(26rem, 76vw);
  height: 4.1rem;
  display: grid;
  place-items: center;
  border-radius: 1.15rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.75));
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 0.25rem 0.5rem;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-text {
  display: grid;
  gap: 0.08rem;
  margin-left: 0.15rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mode-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.mode-pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  border-radius: 999px;
  min-height: 2.55rem;
  padding: 0 0.95rem;
  font: inherit;
  text-transform: lowercase;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.mode-pill:hover {
  transform: translateY(-1px);
}

.mode-pill.is-active {
  background: #151515;
  color: #fff;
  border-color: #151515;
}

.hero {
  flex: 1;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  align-items: start;
}

.copy {
  padding: 2rem 1rem 1rem 0.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0.55rem 0 0.8rem;
  font-size: clamp(3.1rem, 10vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: lowercase;
}

.lede {
  max-width: 28rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.howto {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.howto span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.cover-card {
  display: grid;
  gap: 0.7rem;
  align-items: start;
  text-align: left;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px var(--shadow);
  padding: 0.7rem;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.cover-card:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 138, 46, 0.22);
  box-shadow: 0 18px 34px rgba(20, 20, 20, 0.1);
}

.cover-card.is-active {
  border-color: rgba(27, 27, 27, 0.14);
  box-shadow: 0 18px 36px rgba(20, 20, 20, 0.12);
}

.cover-card-inline {
  grid-template-columns: auto 1fr;
  align-items: center;
  margin-bottom: 0.25rem;
  min-height: 6.4rem;
  cursor: default;
}

.cover-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.3));
  border: 1px solid rgba(27, 27, 27, 0.08);
}

.cover-card-inline .cover-art {
  width: 11.5rem;
}

.sunline-art {
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 197, 96, 0.95), transparent 14%),
    linear-gradient(180deg, rgba(255, 220, 183, 0.95), rgba(244, 228, 208, 0.6));
}

.echo-art {
  background:
    radial-gradient(circle at 82% 22%, rgba(225, 225, 225, 0.95), transparent 12%),
    linear-gradient(180deg, rgba(240, 241, 247, 0.96), rgba(222, 227, 233, 0.6));
}

.pulse-art {
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 197, 96, 0.92), transparent 12%),
    linear-gradient(180deg, rgba(249, 245, 233, 0.98), rgba(226, 215, 199, 0.7));
}

.mirror-art {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0 48%, rgba(27, 27, 27, 0.04) 48% 52%, rgba(255, 255, 255, 0.9) 52% 100%),
    linear-gradient(180deg, rgba(240, 238, 243, 0.95), rgba(226, 223, 232, 0.62));
}

.sprint-art {
  background:
    radial-gradient(circle at 78% 26%, rgba(240, 138, 46, 0.95), transparent 12%),
    linear-gradient(180deg, rgba(255, 244, 227, 0.98), rgba(240, 233, 225, 0.62));
}

.orbit-art {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.7) 0 12%, transparent 13%),
    linear-gradient(180deg, rgba(243, 246, 248, 0.98), rgba(223, 228, 233, 0.64));
}

.drift-art {
  background:
    radial-gradient(circle at 20% 28%, rgba(244, 198, 122, 0.38), transparent 16%),
    radial-gradient(circle at 82% 24%, rgba(27, 27, 27, 0.12), transparent 10%),
    linear-gradient(180deg, rgba(248, 243, 232, 0.98), rgba(234, 229, 221, 0.7));
}

.cover-sun,
.cover-moon,
.cover-ridge,
.cover-trail,
.cover-blocks,
.cover-dots {
  position: absolute;
}

.cover-sun {
  top: 14%;
  right: 10%;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7df, #ffb24f 68%, #d76a18 100%);
  box-shadow: 0 0 24px rgba(240, 138, 46, 0.24);
}

.cover-moon {
  top: 16%;
  right: 10%;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #dce0e8 68%, #aeb7c4 100%);
  box-shadow: 0 0 18px rgba(140, 149, 163, 0.16);
}

.cover-ridge {
  inset: auto -2% 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(109, 86, 67, 0.1), rgba(109, 86, 67, 0.52));
  clip-path: polygon(0 100%, 16% 66%, 33% 79%, 49% 38%, 64% 63%, 82% 29%, 100% 50%, 100% 100%);
}

.cover-trail {
  inset: auto 0 16% 0;
  height: 20%;
  background: linear-gradient(90deg, transparent 0%, rgba(27, 27, 27, 0.15) 22%, rgba(27, 27, 27, 0.18) 78%, transparent 100%);
  opacity: 0.7;
}

.cover-blocks {
  inset: 14% 10% auto 10%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.cover-blocks::before,
.cover-blocks::after {
  content: "";
  display: block;
  height: 1.5rem;
  border-radius: 0.45rem;
  background: rgba(122, 93, 70, 0.42);
  box-shadow:
    0 1.8rem 0 rgba(122, 93, 70, 0.28),
    0 3.6rem 0 rgba(122, 93, 70, 0.18);
}

.cover-dots {
  inset: auto 10% 14% auto;
  width: 40%;
  height: 28%;
  background:
    radial-gradient(circle at 18% 28%, rgba(27, 27, 27, 0.28) 0 5px, transparent 6px),
    radial-gradient(circle at 44% 40%, rgba(27, 27, 27, 0.28) 0 5px, transparent 6px),
    radial-gradient(circle at 72% 26%, rgba(27, 27, 27, 0.28) 0 5px, transparent 6px),
    radial-gradient(circle at 30% 74%, rgba(27, 27, 27, 0.28) 0 5px, transparent 6px),
    radial-gradient(circle at 66% 70%, rgba(27, 27, 27, 0.28) 0 5px, transparent 6px);
}

.pulse-beam {
  position: absolute;
  left: 14%;
  top: 20%;
  width: 20%;
  height: 60%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(240, 138, 46, 0.08), rgba(240, 138, 46, 0.46));
}

.pulse-bars {
  inset: 20% 14% 18% 36%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
}

.pulse-bars::before,
.pulse-bars::after {
  content: "";
  display: block;
  border-radius: 0.4rem;
  background:
    linear-gradient(180deg, rgba(122, 93, 70, 0.36), rgba(122, 93, 70, 0.16)),
    rgba(255, 255, 255, 0.4);
  height: 1.45rem;
  box-shadow:
    0 1.6rem 0 rgba(122, 93, 70, 0.18),
    0 3.2rem 0 rgba(122, 93, 70, 0.12);
}

.mirror-line {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(27, 27, 27, 0.15);
  transform: translateX(-1px);
}

.mirror-shape {
  inset: 20% 18%;
  background:
    radial-gradient(circle at 35% 40%, rgba(27, 27, 27, 0.18) 0 7px, transparent 8px),
    radial-gradient(circle at 65% 60%, rgba(27, 27, 27, 0.18) 0 7px, transparent 8px);
}

.mirror-shape::before {
  content: "";
  position: absolute;
  inset: 16% 20% 16% 20%;
  border-radius: 999px;
  background: rgba(240, 138, 46, 0.18);
}

.sprint-line {
  inset: 46% 8% 42% 8%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(240, 138, 46, 0.22) 30%, rgba(27, 27, 27, 0.12) 55%, transparent 100%);
}

.sprint-bolt {
  inset: 18% 22% 20% 52%;
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(240, 138, 46, 0.72) 47% 60%, transparent 61% 100%),
    linear-gradient(225deg, transparent 0 46%, rgba(27, 27, 27, 0.1) 47% 58%, transparent 59% 100%);
}

.orbit-ring {
  inset: 14%;
  border-radius: 50%;
  border: 2px solid rgba(27, 27, 27, 0.12);
}

.orbit-ring::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(27, 27, 27, 0.16);
}

.orbit-core {
  top: 40%;
  left: 50%;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #b6c0cc 70%, #7d8793 100%);
  transform: translate(-50%, -50%);
}

.drift-haze {
  inset: 14% 12%;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 18% 28%, rgba(244, 198, 122, 0.5), transparent 18%),
    radial-gradient(circle at 78% 68%, rgba(27, 27, 27, 0.08), transparent 16%);
}

.drift-path {
  inset: 50% 10% 20% 10%;
  background: linear-gradient(90deg, transparent 0%, rgba(27, 27, 27, 0.12) 20%, rgba(27, 27, 27, 0.16) 80%, transparent 100%);
  border-radius: 999px;
}

.cover-copy {
  display: grid;
  gap: 0.12rem;
}

.cover-copy strong {
  font-size: 0.98rem;
  line-height: 1.1;
  text-transform: lowercase;
}

.cover-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.playbook strong {
  display: block;
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.45rem;
}

.playbook p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.game-card {
  border-radius: 1.8rem;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 68px var(--shadow);
  padding: 0.95rem;
  display: grid;
  gap: 0.9rem;
}

.game-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.game-meta > div {
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.7rem 0.8rem;
}

.meta-label {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(21, 21, 21, 0.5);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.game-meta strong {
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}

.stage {
  position: relative;
  padding: 0.95rem;
  border-radius: 1.55rem;
  border: 1px solid rgba(27, 27, 27, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.72)),
    #fff;
  display: grid;
  gap: 0.85rem;
  grid-template-rows: auto auto auto auto;
}

.sky {
  position: relative;
  height: 4.7rem;
  border-radius: 1.25rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(240, 138, 46, 0.12), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, rgba(23, 120, 76, 0.08), rgba(27, 27, 27, 0.02));
  border: 1px solid rgba(27, 27, 27, 0.06);
}

.sun {
  position: absolute;
  top: 0.75rem;
  right: 1.1rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7df, #ffb24f 68%, #d76a18 100%);
  box-shadow: 0 0 32px rgba(240, 138, 46, 0.26);
  transform-origin: center;
}

.mountain {
  position: relative;
  min-height: 18.5rem;
  border-radius: 1.35rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(216, 205, 189, 0.3), rgba(236, 229, 218, 0.86));
  border: 1px solid rgba(27, 27, 27, 0.06);
}

.mountain::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.08)),
    linear-gradient(180deg, rgba(164, 143, 124, 0.22), rgba(129, 103, 84, 0.5));
  clip-path: polygon(0 100%, 16% 56%, 33% 71%, 49% 32%, 64% 59%, 82% 25%, 100% 52%, 100% 100%);
}

.ridge {
  position: absolute;
  inset: auto 0 0;
  pointer-events: none;
  opacity: 0.9;
}

.ridge-a {
  height: 62%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  clip-path: polygon(0 100%, 13% 67%, 29% 77%, 41% 51%, 52% 69%, 68% 35%, 82% 52%, 100% 28%, 100% 100%);
}

.ridge-b {
  height: 56%;
  background: linear-gradient(180deg, rgba(23, 120, 76, 0.08), rgba(23, 120, 76, 0));
  clip-path: polygon(0 100%, 22% 84%, 38% 58%, 54% 76%, 68% 46%, 82% 61%, 100% 44%, 100% 100%);
}

.ridge-c {
  height: 44%;
  background: linear-gradient(180deg, rgba(240, 138, 46, 0.08), rgba(240, 138, 46, 0));
  clip-path: polygon(0 100%, 18% 92%, 34% 67%, 47% 83%, 61% 56%, 75% 71%, 100% 58%, 100% 100%);
}

.terraces {
  position: absolute;
  inset: 1rem 1rem 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-content: end;
  z-index: 2;
}

.terrace {
  appearance: none;
  border: 0;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, var(--terrace-a), var(--terrace-b) 56%, var(--terrace-c));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 8px 18px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  position: relative;
  min-height: 5.2rem;
  transition:
    transform 160ms ease,
    filter 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.terrace::before {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border-radius: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.terrace:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.terrace:focus-visible {
  outline: 2px solid rgba(240, 138, 46, 0.75);
  outline-offset: 3px;
}

.terrace.active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #ffd56c, #ff9950 56%, #e26d2f);
  box-shadow:
    0 0 0 1px rgba(240, 138, 46, 0.2),
    0 0 24px rgba(240, 138, 46, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 10px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px) scale(1.02);
}

.terrace.wrong {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #d27c63, #ab664c 56%, #87513e);
}

.panel-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.panel {
  min-height: 4.4rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  padding: 0.78rem 0.9rem;
}

.panel-label {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(21, 21, 21, 0.46);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.route-title {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.route-subtitle {
  margin: -0.1rem 0 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.progress-meter {
  position: relative;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(27, 27, 27, 0.05);
  border: 1px solid rgba(27, 27, 27, 0.06);
  overflow: hidden;
  margin-bottom: 0.7rem;
}

.progress-meter span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  box-shadow: 0 0 18px rgba(240, 138, 46, 0.24);
  transition: width 220ms ease;
}

.sequence-track {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 1.2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.95rem;
  min-height: 1.95rem;
  border-radius: 999px;
  padding: 0 0.6rem;
  background: rgba(240, 138, 46, 0.12);
  border: 1px solid rgba(240, 138, 46, 0.14);
  color: var(--text);
  font-size: 0.82rem;
}

.status-title {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 0.94rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.actions button,
.signup-form button {
  min-height: 3.2rem;
  border: 0;
  border-radius: 999px;
  padding: 0 1.05rem;
  background: linear-gradient(135deg, #f4c67a, var(--orange));
  color: #171717;
  font: inherit;
  font-weight: 700;
  text-transform: lowercase;
  cursor: pointer;
}

.actions .ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  border: 1px solid var(--line);
}

.footer-strip {
  display: grid;
  gap: 0.75rem;
  padding-top: 0.2rem;
}

.signup-form {
  width: min(34rem, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: start;
}

.signup-form input {
  min-height: 3.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  padding: 0 1rem;
  font: inherit;
  outline: none;
}

.signup-form input::placeholder {
  color: rgba(21, 21, 21, 0.4);
}

.signup-form input:focus {
  border-color: rgba(240, 138, 46, 0.5);
  box-shadow: 0 0 0 3px rgba(240, 138, 46, 0.12);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.saved {
  color: var(--green);
}

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

.win {
  color: var(--green);
}

.lose {
  color: #a04632;
}

.stage.win .hint,
.stage.win .route-title,
.stage.win .status-title,
.stage.win .route-subtitle {
  color: var(--green);
}

.stage.lose .hint,
.stage.lose .route-title,
.stage.lose .status-title,
.stage.lose .route-subtitle {
  color: #a04632;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .copy {
    padding: 0.4rem 0.1rem 0;
  }

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

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

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, 720px);
  }

  .topbar {
    align-items: flex-start;
  }

  .brand-mark {
    width: min(22rem, 92vw);
    height: 3.9rem;
  }

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

  .cover-card-inline {
    grid-template-columns: 1fr;
  }

  .cover-card-inline .cover-art {
    width: 100%;
  }

  .stage {
    padding: 0.8rem;
    border-radius: 1.45rem;
  }

  .mountain {
    min-height: 17rem;
  }

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

  .signup-form {
    grid-template-columns: 1fr;
  }

  .signup-form button {
    width: 100%;
  }
}
