/* Fishing Bass Derby: site styles.
   Scoreboard dark base, electric blue, derby yellow and signal green. */

:root {
  --night: #0e1116;
  --deck: #181d25;
  --deck-2: #1f2631;
  --deck-3: #262e3b;
  --blue: #2f80ed;
  --blue-soft: rgba(47, 128, 237, 0.16);
  --yellow: #ffcf33;
  --yellow-soft: rgba(255, 207, 51, 0.14);
  --green: #27ae60;
  --green-bright: #4cd38a;
  --green-soft: rgba(39, 174, 96, 0.16);
  --red: #ef5a3c;
  --text: #f2f4f7;
  --muted: #9aa3b0;
  --lift: 0 18px 44px rgba(0, 0, 0, 0.38);
  --lift-sm: 0 8px 22px rgba(0, 0, 0, 0.28);
  --round: 18px;
  --round-sm: 12px;
  --head: "Exo 2", "Roboto", "Segoe UI", Arial, sans-serif;
  --body: "Roboto", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(47, 128, 237, 0.22), transparent 70%),
    radial-gradient(700px 420px at -10% 40%, rgba(39, 174, 96, 0.1), transparent 70%),
    var(--night);
  color: var(--text);
  font: 400 1rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--night);
  font-weight: 700;
}
.skip:focus { top: 12px; }

.shell { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }

/* ---------- header ---------- */
.mast {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 17, 22, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.mast__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.mast__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.mast__badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--blue), #1a4f9c 60%, var(--green));
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(47, 128, 237, 0.4);
}

.mast__brand em { font-style: normal; color: var(--yellow); }

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

.mast__nav { display: flex; align-items: center; gap: 4px; }

.mast__link {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--head);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.18s, color 0.18s;
}
.mast__link:hover { color: var(--text); background: var(--blue-soft); }
.mast__link[aria-current="page"] { color: var(--night); background: var(--yellow); }

.mast__burger {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--deck-2);
  color: var(--text);
  font: 600 0.86rem var(--head);
  cursor: pointer;
}
.mast__burger-icon { font-size: 1.05rem; line-height: 1; }

/* ---------- language switcher ---------- */
.lingo { position: relative; }

.lingo__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--deck-2);
  color: var(--text);
  font: 700 0.82rem var(--head);
  cursor: pointer;
  transition: background-color 0.18s;
}
.lingo__toggle:hover,
.lingo__toggle[aria-expanded="true"] { background: var(--blue); }
.lingo__caret { font-size: 0.7rem; opacity: 0.8; }

.lingo__list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  display: none;
  min-width: 190px;
  padding: 6px;
  border-radius: 16px;
  background: var(--deck);
  box-shadow: var(--lift);
}
.lingo__list.is-open { display: grid; gap: 2px; }

.lingo__pick {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: 500 0.9rem var(--body);
  text-align: left;
  cursor: pointer;
}
.lingo__pick:hover { background: var(--blue-soft); color: var(--text); }
.lingo__pick.is-on { background: var(--yellow-soft); color: var(--yellow); font-weight: 700; }
.lingo__flag { font-size: 1.1rem; }

/* ---------- shared bits ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: var(--yellow);
  font: 700 0.74rem var(--head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  justify-self: start;
  width: fit-content;
}
.chip--blue { background: var(--blue-soft); color: #8ab9ff; }
.chip--green { background: var(--green-soft); color: var(--green-bright); }

.lede { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--night);
  font: 700 0.95rem var(--head);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 207, 51, 0.28);
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 207, 51, 0.36); }
.btn--blue { background: var(--blue); color: var(--text); box-shadow: 0 8px 22px rgba(47, 128, 237, 0.35); }
.btn--blue:hover { box-shadow: 0 12px 28px rgba(47, 128, 237, 0.45); }
.btn--ghost { background: var(--deck-2); color: var(--text); box-shadow: none; }
.btn--ghost:hover { background: var(--deck-3); box-shadow: none; }

.headline { display: grid; gap: 12px; margin-bottom: 26px; }
.headline h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }

.block { padding-block: 34px; }

/* ---------- home: arena ---------- */
.arena { padding-block: 34px 20px; }

.arena__top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.arena__title {
  margin-top: 14px;
  font-size: clamp(2.3rem, 5.6vw, 4.2rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.01em;
}
.arena__title span { color: var(--yellow); }

.arena__intro { display: grid; gap: 14px; }

.arena__keys {
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--round-sm);
  background: var(--deck);
  color: var(--muted);
  font-size: 0.88rem;
}

.arena__screen {
  padding: 12px;
  border-radius: 24px;
  background: linear-gradient(150deg, var(--deck-3), var(--deck) 45%, #10141a);
  box-shadow: var(--lift), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}

.arena__canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 620;
  border-radius: 16px;
  background: #123f7a;
  touch-action: none;
  cursor: crosshair;
}

/* ---------- home: banner ---------- */
.pennant {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(120deg, #173d72, var(--deck) 58%);
  box-shadow: var(--lift);
}
.pennant__text { display: grid; align-content: center; gap: 16px; padding: clamp(26px, 4vw, 52px); }
.pennant__text h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 900; font-style: italic; }
.pennant__text p { color: #c5cedb; }
.pennant__text .btn { justify-self: start; }
.pennant__art { min-height: 100%; }
.pennant__art img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- home: scoring tiles ---------- */
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tally {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px 22px 26px;
  border-radius: var(--round);
  background: linear-gradient(175deg, var(--tone-soft, var(--blue-soft)), var(--deck) 58%);
  box-shadow: var(--lift-sm);
  overflow: hidden;
}
.tally__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--tone-soft, var(--blue-soft));
  font-size: 1.4rem;
}
.tally h3 { font-size: 1.16rem; font-weight: 700; }
.tally p { color: var(--muted); font-size: 0.93rem; }
.tally--gold { --tone: var(--yellow); --tone-soft: var(--yellow-soft); }
.tally--green { --tone: var(--green); --tone-soft: var(--green-soft); }
.tally--blue { --tone: #7fb2ff; --tone-soft: var(--blue-soft); }
.tally--red { --tone: var(--red); --tone-soft: rgba(239, 90, 60, 0.16); }

/* ---------- perks grid ---------- */
.perkset {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.perk {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border-radius: var(--round);
  background: linear-gradient(160deg, var(--deck-2), var(--deck));
  box-shadow: var(--lift-sm);
  transition: transform 0.18s;
}
.perk:hover { transform: translateY(-3px); }
.perk__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--hue, var(--blue));
  font-size: 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.perk h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.perk p { color: var(--muted); font-size: 0.92rem; }

/* ---------- contact teaser ---------- */
.relay {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 26px;
  background:
    radial-gradient(500px 240px at 100% 0%, rgba(255, 207, 51, 0.16), transparent 70%),
    linear-gradient(135deg, #1b3f78, #142034);
  box-shadow: var(--lift);
}
.relay__copy { display: grid; gap: 12px; }
.relay__copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.relay__copy p { color: #c5cedb; }
.relay__mails { display: grid; gap: 10px; }
.relay__mail {
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(14, 17, 22, 0.55);
  transition: background-color 0.18s;
}
.relay__mail:hover { background: rgba(14, 17, 22, 0.85); }
.relay__mail span { color: var(--muted); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; }
.relay__mail strong { color: var(--yellow); font-weight: 600; overflow-wrap: anywhere; }
.relay__more { color: var(--green-bright); font-weight: 700; font-family: var(--head); }
.relay__more:hover { color: var(--yellow); }

/* ---------- inner page hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  padding-block: 46px 22px;
}
.hero--solo { grid-template-columns: 1fr; }
.hero__copy { display: grid; gap: 16px; }
.hero__copy h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 900; font-style: italic; }
.hero__stamp { color: var(--muted); font-size: 0.88rem; }
.hero__art { border-radius: 24px; overflow: hidden; box-shadow: var(--lift); background: var(--deck); }

/* ---------- team ---------- */
.crew {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.mate {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: var(--round);
  background: var(--deck);
  box-shadow: var(--lift-sm);
}
.mate__face {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(140deg, var(--face-a, var(--blue)), var(--face-b, #1a4f9c));
  font: 800 1.35rem var(--head);
  color: var(--text);
  font-style: italic;
}
.mate:nth-child(2) .mate__face { --face-a: var(--green); --face-b: #17733f; }
.mate:nth-child(3) .mate__face { --face-a: var(--yellow); --face-b: #c99600; color: var(--night); }
.mate:nth-child(4) .mate__face { --face-a: var(--red); --face-b: #a8341f; }
.mate__role { color: var(--yellow); font: 700 0.74rem var(--head); letter-spacing: 0.12em; text-transform: uppercase; }
.mate h2 { font-size: 1.25rem; margin: 4px 0 6px; }
.mate p { color: var(--muted); font-size: 0.94rem; }

.ethos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ethos__item {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: var(--round);
  background: var(--deck-2);
}
.ethos__icon { font-size: 1.6rem; }
.ethos__item h3 { font-size: 1.1rem; }
.ethos__item p { color: var(--muted); font-size: 0.93rem; }

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
  border-radius: 22px;
  background: linear-gradient(120deg, var(--green-soft), var(--blue-soft));
}
.callout h2 { font-size: 1.35rem; margin-bottom: 6px; }
.callout p { color: #c5cedb; }

/* ---------- contact ---------- */
.desks {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.desks > li { grid-column: span 2; }
.desks > li:nth-child(n + 4) { grid-column: span 3; }
.desk {
  display: grid;
  gap: 10px;
  align-content: start;
  height: 100%;
  padding: 22px;
  border-radius: var(--round);
  background: var(--deck);
  box-shadow: var(--lift-sm);
}
.desk__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--blue-soft);
  font-size: 1.3rem;
}
.desk h2 { font-size: 1.12rem; }
.desk p { color: var(--muted); font-size: 0.92rem; }
.desk__mail {
  justify-self: start;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--yellow-soft);
  color: var(--yellow);
  font-weight: 600;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}
.desk__mail:hover { background: var(--yellow); color: var(--night); }
.desk__time { color: var(--green-bright); font-size: 0.84rem; }

.pitlane {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pit {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
  border-radius: var(--round);
  background: var(--deck-2);
}
.pit h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.pit p { color: #c5cedb; font-size: 0.95rem; }
.pit--warn { background: linear-gradient(160deg, rgba(239, 90, 60, 0.16), var(--deck-2)); }
.pit--ok { background: linear-gradient(160deg, var(--green-soft), var(--deck-2)); }

.ticks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 28px; color: #c5cedb; font-size: 0.94rem; }
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-bright);
  font-weight: 700;
}
.ticks--stop li::before { content: "✕"; color: var(--red); }
.ticks--star li::before { content: "★"; color: var(--yellow); }

.qa { display: grid; gap: 10px; }
.qa__item {
  border-radius: 14px;
  background: var(--deck);
  box-shadow: var(--lift-sm);
}
.qa__item summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  font: 600 1rem var(--head);
  cursor: pointer;
  list-style: none;
}
.qa__item summary::-webkit-details-marker { display: none; }
.qa__item summary::after { content: "+"; color: var(--yellow); font-size: 1.3rem; line-height: 1; transition: transform 0.2s; }
.qa__item[open] summary::after { transform: rotate(45deg); }
.qa__item p { padding: 0 20px 18px; color: var(--muted); }

.privacy-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--blue-soft);
}
.privacy-hint p { color: #c5cedb; }
.privacy-hint a { color: var(--yellow); font-weight: 700; font-family: var(--head); }
.privacy-hint a:hover { color: var(--text); }

/* ---------- legal ---------- */
.rulebook { display: grid; gap: 16px; padding-bottom: 40px; }
.rulebook__notice {
  padding: 20px 24px;
  border-radius: 18px;
  background: linear-gradient(120deg, var(--yellow-soft), rgba(255, 207, 51, 0.04));
  color: #f6e7b0;
  font-weight: 500;
}
.rulebook__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.clause {
  padding: 22px 24px;
  border-radius: var(--round);
  background: var(--deck);
}
.clause:nth-child(4n + 1),
.clause:nth-child(4n + 4) { background: var(--deck-2); }
.clause:last-child:nth-child(odd) { grid-column: 1 / -1; }
.clause h2 { font-size: 1.12rem; margin-bottom: 8px; color: #dbe7ff; }
.clause p { color: var(--muted); font-size: 0.95rem; }
.clause a { color: var(--yellow); font-weight: 600; }
.clause a:hover { color: var(--text); }

/* ---------- derby format & personal best ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px;
  border-radius: var(--round);
  background: var(--deck);
  box-shadow: var(--lift-sm);
}
.step:nth-child(odd) { background: linear-gradient(170deg, var(--deck-2), var(--deck)); }
.step__icon { font-size: 1.7rem; }
.step h2 { font-size: 1.08rem; font-weight: 700; }
.step p { color: var(--muted); font-size: 0.92rem; }

.record {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px 30px;
  border-radius: 24px;
  background: linear-gradient(130deg, #1d4f99, #172133 70%);
  box-shadow: var(--lift);
}
.record__label { color: #c5cedb; font-size: 0.9rem; }
.record__value {
  display: block;
  margin-top: 6px;
  font: 900 italic clamp(2.6rem, 7vw, 4rem) / 1 var(--head);
  color: var(--yellow);
}
.record__note { grid-column: 1 / -1; color: var(--green-bright); font-size: 0.92rem; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.center-cta { display: flex; justify-content: center; padding-top: 26px; }

/* ---------- compass (wheel dialog) ---------- */
.compass {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 11, 16, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: compassIn 0.25s ease-out;
}
.compass.is-leaving { opacity: 0; transition: opacity 0.22s ease; }

.compass__card {
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: 26px;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(47, 128, 237, 0.22), transparent 70%),
    var(--deck);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.compass__kicker { color: var(--yellow); font: 700 0.74rem var(--head); letter-spacing: 0.16em; }
.compass__title { margin-top: 8px; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 900; font-style: italic; }
.compass__lead { margin: 14px 0 20px; color: var(--muted); }

.compass__key {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.compass__key-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--deck-2);
  font-size: 0.84rem;
  font-weight: 500;
}
.compass__glyph {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background: var(--deck-3);
  font-size: 1rem;
}

.compass__stage { position: relative; display: grid; justify-items: center; gap: 16px; }

.compass__dial {
  position: relative;
  width: min(360px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(
    #2f80ed 0 60deg, #ffcf33 60deg 120deg, #27ae60 120deg 180deg,
    #7b61ff 180deg 240deg, #ff8a3d 240deg 300deg, #1fb6c9 300deg 360deg);
  box-shadow: 0 0 0 10px var(--deck-3), 0 0 0 14px var(--yellow), 0 24px 50px rgba(0, 0, 0, 0.5);
  transition: transform 3s cubic-bezier(0.12, 0.65, 0.18, 1);
}
.compass__dial::after {
  content: "FBD";
  position: absolute;
  inset: 36%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a3342, var(--night));
  box-shadow: 0 0 0 4px var(--yellow);
  color: var(--text);
  font: 900 italic 1.1rem var(--head);
}
.compass__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -22px;
  border-radius: 50%;
  background: rgba(14, 17, 22, 0.78);
  font-size: 1.35rem;
  transform: rotate(calc(var(--seat) * 60deg + 30deg)) translateY(-128px) rotate(calc(var(--seat) * -60deg - 30deg));
}
.compass__needle {
  position: absolute;
  z-index: 2;
  top: -16px;
  width: 38px;
  height: 40px;
  background: var(--text);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.45));
}

.compass__go,
.compass__done {
  min-height: 50px;
  padding: 12px 26px;
  border: 0;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--night);
  font: 800 0.9rem var(--head);
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 207, 51, 0.3);
}
.compass__go:disabled { opacity: 0.6; cursor: wait; }
.compass__done { background: var(--green); color: var(--text); box-shadow: 0 8px 22px rgba(39, 174, 96, 0.35); }

.compass__outcome { min-height: 64px; text-align: center; }
.compass__outcome small,
.compass__outcome strong,
.compass__outcome span { display: block; }
.compass__outcome small { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; }
.compass__outcome strong { margin-top: 4px; color: var(--yellow); font: 800 1.25rem var(--head); }
.compass__outcome span { max-width: 420px; margin-top: 4px; color: var(--text); font-size: 0.9rem; }

@keyframes compassIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- footer ---------- */
.base {
  margin-top: auto;
  padding: 46px 0 34px;
  background: linear-gradient(180deg, transparent, #0a0d11 30%);
}
.base__top {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 26px;
}
.base__brand { display: grid; gap: 10px; }
.base__brand p { color: var(--muted); font-size: 0.92rem; }
.base__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.base__links a {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--deck);
  color: var(--muted);
  font-size: 0.86rem;
  transition: background-color 0.18s, color 0.18s;
}
.base__links a:hover { background: var(--blue); color: var(--text); }

.base__notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--deck);
}
.base__age {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--night);
  font: 900 1.1rem var(--head);
  text-align: center;
  line-height: 1;
}
.base__lines { display: grid; gap: 6px; }
.base__lines p { color: #b8c1cd; font-size: 0.86rem; }
.base__lines .base__adult { color: var(--yellow); font: 700 0.78rem var(--head); letter-spacing: 0.12em; text-transform: uppercase; }
.base__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.84rem;
}
.base__foot strong { color: var(--text); font-weight: 500; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .mast__burger { display: inline-flex; }
  .mast__nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: 18px;
    background: var(--deck);
    box-shadow: var(--lift);
  }
  .mast__nav.is-open { display: flex; }
  .mast__link { padding: 12px 16px; border-radius: 12px; font-size: 0.95rem; }
}

@media (max-width: 980px) {
  .arena__top,
  .hero,
  .pennant,
  .relay,
  .base__top { grid-template-columns: 1fr; }
  .pennant__art { order: -1; max-height: 320px; overflow: hidden; }
  .board,
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perkset,
  .pitlane,
  .desks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desks > li,
  .desks > li:nth-child(n + 4) { grid-column: auto; }
  .desks > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .base__links { justify-content: flex-start; }
  .hero__art { max-width: 520px; }
  .compass__card { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 720px) {
  .shell { width: min(var(--wrap), calc(100% - 32px)); }
  .mast__row { min-height: 62px; }
  .mast__brand { font-size: 0.98rem; gap: 10px; }
  .mast__badge { width: 38px; height: 38px; font-size: 0.7rem; }
  .mast__brand-name { font-size: 0.86rem; }
  .board,
  .steps,
  .perkset,
  .pitlane,
  .desks,
  .crew,
  .ethos,
  .rulebook__list,
  .duo { grid-template-columns: 1fr; }
  .arena__screen { padding: 6px; border-radius: 16px; }
  .arena__canvas { border-radius: 12px; }
  .record { grid-template-columns: 1fr; }
  .compass { padding: 10px; }
  .compass__card { padding: 22px 16px; max-height: calc(100vh - 20px); }
  .compass__key { gap: 6px; }
  .compass__key-item { font-size: 0.76rem; padding: 6px 8px; }
  .compass__dial { width: min(280px, 72vw); }
  .compass__mark { width: 36px; height: 36px; margin: -18px; font-size: 1.1rem;
    transform: rotate(calc(var(--seat) * 60deg + 30deg)) translateY(-98px) rotate(calc(var(--seat) * -60deg - 30deg)); }
  .base__notice { grid-template-columns: 1fr; justify-items: start; }
}

@media (max-width: 420px) {
  .mast__burger-text { display: none; }
  .compass__lead { margin: 8px 0 12px; font-size: 0.84rem; }
  .compass__key-item { gap: 6px; }
  .compass__glyph { width: 24px; height: 24px; flex-basis: 24px; font-size: 0.85rem; }
  .compass__dial { width: 240px; }
  .compass__mark { transform: rotate(calc(var(--seat) * 60deg + 30deg)) translateY(-84px) rotate(calc(var(--seat) * -60deg - 30deg)); }
  .mate { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .mast__brand-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .compass__dial { transition-duration: 0.6s; }
  .btn, .perk { transition: none; }
}

/* Wheel dialog: wheel and button only, no side text column */
.compass__card {
  width: min(460px, 100%);
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
}
.compass__card .compass__stage { width: 100%; }
.wheel-sr-title {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
