:root {
  color-scheme: dark;
  --bg: #101410;
  --panel: #171d17;
  --panel-raised: #1e261e;
  --text: #f6f3e9;
  --muted: #aeb6a6;
  --green: #bbd474;
  --gold: #e6bd70;
  --line: rgb(246 243 233 / 12%);
  --danger: #e68d78;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 48% -15%, rgb(187 212 116 / 12%), transparent 46%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Inter, system-ui, sans-serif;
  line-height: 1.55;
}

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: .83rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgb(230 189 112 / 65%);
  border-radius: 50%;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
}

.button {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font-size: .86rem;
  font-weight: 700;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.button:hover { transform: translateY(-1px); }
.button-quiet { border-color: var(--line); background: transparent; color: var(--text); }
.button-quiet:hover { border-color: rgb(230 189 112 / 55%); }
.button-primary { background: var(--green); color: #182015; }
.button-primary:hover { background: #c9e183; }

main {
  width: min(1320px, calc(100% - 56px));
  margin: 0 auto;
}

.intro {
  max-width: 720px;
  margin: 84px auto 66px;
  text-align: center;
}

.eyebrow {
  color: var(--green);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.intro .eyebrow { display: inline-flex; align-items: center; gap: 9px; }

.live-dot, .legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px rgb(187 212 116 / 60%);
}

h1 {
  margin: 22px 0 19px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 8vw, 6.65rem);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .98;
}

h1 span { color: var(--gold); font-style: italic; }
.intro-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-size: .78rem;
}

.chip-icon { color: var(--gold); }
.dashboard { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .8fr); align-items: start; gap: 22px; }
.road-panel, .side-panel { border: 1px solid var(--line); border-radius: 17px; background: rgb(23 29 23 / 88%); }
.road-panel { overflow: hidden; padding: 28px clamp(20px, 3vw, 38px) 30px; }
.side-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.side-heading h2 { margin: 6px 0 0; font-size: 1.55rem; letter-spacing: -.035em; }

.roadmap-track { position: relative; display: grid; gap: 14px; }
.roadmap-track::before {
  position: absolute;
  top: 25px;
  bottom: 24px;
  left: 21px;
  width: 3px;
  border-radius: 5px;
  background: repeating-linear-gradient(to bottom, rgb(187 212 116 / 40%) 0 8px, transparent 8px 15px);
  content: "";
}

.week-stop { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 13px; }
.stop-marker {
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgb(187 212 116 / 35%);
  border-radius: 50%;
  background: var(--bg);
  color: var(--green);
  font-size: .72rem;
  font-weight: 800;
}

.is-current .stop-marker { border-color: var(--green); background: #283222; box-shadow: 0 0 0 5px rgb(187 212 116 / 7%), 0 0 20px rgb(187 212 116 / 13%); }
.is-finale .stop-marker { border-color: var(--gold); color: var(--gold); }
.stop-card { min-width: 0; padding: 18px 20px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-raised); }
.is-current .stop-card { border-color: rgb(187 212 116 / 31%); background: linear-gradient(120deg, rgb(187 212 116 / 7%), transparent 70%), var(--panel-raised); }
.is-finale .stop-card { border-color: rgb(230 189 112 / 28%); }
.stop-meta, .stop-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stop-meta { color: var(--muted); font-size: .62rem; font-weight: 800; letter-spacing: .14em; }
.status-tag { color: var(--green); letter-spacing: .12em; }
.status-later { color: #8e9888; }
.status-finale { color: var(--gold); }
.stop-card h3 { margin: 8px 0 5px; font-family: Georgia, "Times New Roman", serif; font-size: 1.38rem; font-weight: 500; letter-spacing: -.02em; }
.stop-card p { max-width: 600px; margin: 0; color: var(--muted); font-size: .83rem; }
.stop-footer { flex-wrap: wrap; margin-top: 13px; color: #d8d6ca; font-size: .71rem; }
.text-button { padding: 0; border: 0; background: none; color: var(--green); cursor: pointer; font-size: .73rem; font-weight: 750; }
.text-button:hover { color: #d5eca0; }
.points-note { color: var(--muted); }
.stop-card-compact { padding-block: 14px; }
.stop-card-compact h3 { margin-top: 6px; font-size: 1.15rem; }
.stop-card-compact p { font-size: .77rem; }

.side-panels { display: grid; gap: 17px; }
.side-panel { padding: 22px; }
.side-heading { margin-bottom: 19px; }
.side-heading h2 { font-size: 1.38rem; }
.mini-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--green); font-size: 1.15rem; }
.leaderboard-head, .budget-heading { display: flex; justify-content: space-between; gap: 10px; padding: 0 1px 9px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .13em; }
.leaderboard-list, .budget-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.empty-row, .budget-empty { padding: 20px 4px; color: var(--muted); font-size: .8rem; text-align: center; }
.rank-row, .budget-row { display: grid; grid-template-columns: 29px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 46px; border-bottom: 1px solid rgb(246 243 233 / 7%); font-size: .81rem; }
.rank-number { color: var(--muted); font-size: .72rem; }
.rank-row:first-child .rank-number { color: var(--gold); }
.rank-points { color: var(--green); font-variant-numeric: tabular-nums; font-weight: 750; }
.panel-footnote { margin: 13px 0 0; color: #838c7f; font-size: .68rem; }
.counter-panel { background: linear-gradient(155deg, rgb(230 189 112 / 6%), transparent 48%), var(--panel); }
.counter-copy { margin: -4px 0 18px; color: var(--muted); font-size: .79rem; }
.offer-board { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: rgb(10 14 10 / 28%); }
.offer-empty { display: grid; min-height: 89px; place-content: center; text-align: center; }
.offer-empty span { color: var(--gold); font-size: 1.15rem; line-height: 1; }
.offer-empty p { margin: 5px 0 0; color: var(--muted); font-size: .74rem; }
.offer-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px 12px; padding: 13px; border-bottom: 1px solid var(--line); }
.offer-item:last-child { border-bottom: 0; }
.offer-item p { margin: 0; font-size: .79rem; }
.offer-item > strong { color: var(--gold); font-size: .81rem; white-space: nowrap; }
.offer-meta, .offer-state { color: var(--muted); font-size: .68rem; }
.offer-meta { display: block; margin-top: 5px; }
.offer-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.offer-action { min-height: 34px; padding: 0 10px; font-size: .72rem; }
.offer-recipient { min-width: 0; min-height: 34px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 7px; background: #0e120e; color: var(--text); font-size: .72rem; }
.offer-action:disabled, .button:disabled { cursor: wait; opacity: .6; transform: none; }
.offer-form { margin: 0 0 18px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: rgb(10 14 10 / 28%); }
.account-form input, .account-form textarea { width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; background: #0e120e; color: var(--text); }
.account-form textarea { resize: vertical; }
.budget-heading { margin-top: 17px; padding-bottom: 8px; font-size: .54rem; }
.budget-row { grid-template-columns: minmax(0, 1fr) auto; min-height: 37px; font-size: .75rem; }
.budget-amount { color: var(--gold); font-variant-numeric: tabular-nums; font-weight: 750; }
.budget-empty { padding: 11px 0; font-size: .7rem; }
.points-note-panel { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 16px; border: 1px solid rgb(230 189 112 / 18%); border-radius: 13px; background: rgb(230 189 112 / 5%); }
.points-star { color: var(--gold); font-size: 1rem; }
.points-note-panel p { margin: 0; color: var(--muted); font-size: .75rem; }
.points-note-panel strong { color: var(--text); }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px 25px; width: min(1320px, calc(100% - 56px)); margin: 42px auto 0; padding: 23px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: .73rem; }
.site-footer .brand { color: var(--text); font-size: .72rem; }
.site-footer .brand-mark { width: 25px; height: 25px; font-size: .84rem; }
.footer-disclaimer { color: #8c9587; }

.modal { position: fixed; width: min(440px, calc(100% - 30px)); max-height: min(88vh, 720px); padding: 32px; overflow-y: auto; border: 1px solid rgb(230 189 112 / 30%); border-radius: 17px; background: #171d17; color: var(--text); box-shadow: 0 28px 90px rgb(0 0 0 / 56%); }
.modal::backdrop { background: rgb(4 7 4 / 76%); backdrop-filter: blur(5px); }
.modal-close { position: absolute; top: 12px; right: 15px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 1.65rem; line-height: 1; }
.modal h2 { margin: 8px 0 9px; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 500; }
.modal-copy { margin: 0 0 21px; color: var(--muted); font-size: .86rem; }
.modal.minute-details { width: min(640px, calc(100% - 30px)); }
.minute-details .modal-copy { font-size: .95rem; line-height: 1.6; }
.minute-details .modal-copy p { margin: 16px 0; }
.minute-details .modal-copy h3 { margin: 22px 0 10px; color: var(--text); font-size: 1.05rem; }
.minute-details .modal-copy ul { padding-left: 22px; }
.minute-details .modal-copy li { margin: 12px 0; }
.minute-details .modal-copy strong { color: var(--text); }
.account-form { display: grid; gap: 14px; }
.account-form label { display: grid; gap: 6px; color: var(--muted); font-size: .75rem; font-weight: 650; }
.account-form .button { margin-top: 3px; }
.form-status { min-height: 1.25em; margin: 0; color: var(--muted); font-size: .76rem; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--green); }
.modal-switch { margin-top: 16px; }
.hidden { display: none !important; }
.game-modal { width: min(1120px, calc(100% - 30px)); max-height: min(92vh, 900px); padding: 32px; }
.game-header { text-align: center; }
.game-logo { display: flex; justify-content: center; gap: clamp(3px, 1vw, 7px); margin: 18px auto 12px; }
.game-logo span { display: grid; width: clamp(22px, 8vw, 70px); aspect-ratio: 1; place-items: center; color: #fff; font-size: clamp(.85rem, 4.2vw, 3rem); font-weight: 800; line-height: 1; }
.game-logo .is-gold { background: #c9b457; }
.game-logo .is-gray { background: #797d80; }
.game-logo .is-green { background: #68ad63; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.game-intro { margin: 0 0 4px; font-family: Georgia, serif; font-size: clamp(1.25rem, 3vw, 1.7rem); }
.game-header .modal-copy { max-width: 600px; margin: 0 auto 22px; }
.game-status { padding: 13px 15px; border: 1px solid rgb(230 189 112 / 25%); border-radius: 9px; background: rgb(230 189 112 / 6%); color: var(--gold); font-size: .82rem; }
.game-demo-note { margin: 14px 0 -4px; color: var(--gold); font-size: .75rem; text-align: center; }
.game-round-meta { display: flex; justify-content: space-between; gap: 12px; margin: 24px 0 12px; color: var(--green); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.clue-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.clue-card { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 12px; min-height: 56px; padding: 11px 15px; border: 1px solid rgb(246 243 233 / 9%); border-radius: 8px; background: #1b211f; color: #b7beb5; animation: clue-in .25s ease both; }
.clue-card.is-current { border-color: rgb(187 212 116 / 35%); background: #20291f; color: var(--text); }
.clue-card-label { color: var(--green); font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.clue-card-text { font-size: .87rem; }
.game-prompt { margin: 24px 0 12px; font-family: Georgia, serif; font-size: 1.2rem; text-align: center; }
.guess-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.guess-button { display: grid; min-width: 0; padding: 9px; gap: 8px; justify-items: center; border: 1px solid var(--line); border-radius: 9px; background: #1a201e; color: var(--text); cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.guess-button:hover { transform: translateY(-2px); border-color: rgb(187 212 116 / 55%); background: #222a23; }
.guess-avatar { display: grid; width: 100%; aspect-ratio: 1.15; place-items: center; border-radius: 5px; background: color-mix(in srgb, var(--card-accent) 25%, #171d1b); color: var(--card-accent); font-size: clamp(1.3rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: .04em; }
.guess-name { overflow: hidden; width: 100%; font-size: .8rem; font-weight: 650; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.guess-button.is-wrong, .guess-button.is-newly-wrong { border-color: #c9b457; background: #c9b457; color: #211b13; cursor: not-allowed; }
.guess-button.is-wrong .guess-avatar, .guess-button.is-newly-wrong .guess-avatar { background: #c9b457; color: #211b13; filter: none; }
.guess-button.is-newly-wrong { animation: guess-wrong .6s ease; }
.guess-button.is-correct { border-color: #68ad63; background: rgb(104 173 99 / 16%); animation: guess-correct .6s ease; }
.guess-button:disabled { cursor: not-allowed; }
.game-play .form-status { margin: 12px 0 0; text-align: center; }
.game-points-note { margin: 14px 0 0; color: var(--muted); font-size: .69rem; text-align: center; }
.game-results { max-width: 760px; margin: 25px auto 0; text-align: center; }
.game-result-label { margin: 0 0 4px; color: var(--green); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.game-result-answer { margin: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.game-result-points { margin: 7px 0 20px; color: var(--gold); }
.result-clue-list { text-align: left; }
.result-clue-list .clue-card { animation: none; }

@keyframes clue-in { from { transform: translateY(6px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes guess-wrong { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes guess-correct { 0% { transform: scale(1); } 45% { transform: scale(1.06); } 100% { transform: scale(1); } }

@media (min-width: 540px) {
  .guess-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .guess-list { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .game-modal { padding: 28px 17px 20px; }
  .clue-card { grid-template-columns: 56px 1fr; gap: 8px; padding: 10px; }
  .clue-card-text { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .clue-card, .guess-button.is-newly-wrong, .guess-button.is-correct { animation: none; }
}

@media (min-width: 1200px) {
  .road-panel { padding-inline: 40px; }
  .roadmap-track { gap: 16px; }
}

@media (max-width: 900px) {
  main, .site-footer { width: min(760px, calc(100% - 36px)); }
  .intro { margin: 65px auto 50px; }
  .dashboard { grid-template-columns: 1fr; }
  .side-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .points-note-panel { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .brand { gap: 7px; font-size: .72rem; }
  .brand-mark { width: 27px; height: 27px; }
  main, .site-footer { width: calc(100% - 28px); }
  .intro { margin: 60px auto 43px; }
  h1 { font-size: clamp(3.3rem, 17vw, 5rem); }
  .intro-note { font-size: .69rem; }
  .road-panel { padding: 20px 14px 22px; }

  .roadmap-track::before { left: 17px; }
  .week-stop { grid-template-columns: 36px minmax(0, 1fr); gap: 9px; }
  .stop-marker { width: 36px; height: 36px; font-size: .64rem; }
  .stop-card { padding: 14px 13px 13px; }
  .stop-meta { font-size: .56rem; }
  .stop-card h3 { font-size: 1.22rem; }
  .stop-card p { font-size: .75rem; }
  .stop-footer { font-size: .66rem; }
  .stop-card-compact h3 { font-size: 1.05rem; }
  .side-panels { grid-template-columns: 1fr; }
  .side-panel { padding: 19px; }
  .points-note-panel { grid-column: auto; }
  .site-footer { margin-top: 28px; }
  .site-footer > span:last-child { width: 100%; }
  .modal { padding: 29px 23px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

:root {
  color-scheme: dark;
  --bg: #11100f;
  --panel: #1b1916;
  --panel-raised: #25211c;
  --text: #fff9e9;
  --muted: #c0b7a5;
  --green: #19764d;
  --gold: #e6c976;
  --line: rgb(255 249 233 / 15%);
  --danger: #e98270;
  --royal-red: #a52319;
  --poster-gold: #e6cb83;
}

body {
  background:
    radial-gradient(ellipse at 50% 0, rgb(230 201 118 / 13%), transparent 32rem),
    repeating-linear-gradient(135deg, rgb(255 255 255 / 1.2%) 0 1px, transparent 1px 5px),
    var(--bg);
  font-family: "Segoe UI", Inter, system-ui, sans-serif;
}

.brand { letter-spacing: .17em; }
.brand-mark { border-radius: 4px; background: var(--royal-red); color: #fff4d2; }
.button-primary { background: var(--royal-red); color: #fff7e4; }
.button-primary:hover { background: #c23425; }
.button-quiet:hover { border-color: var(--gold); color: var(--gold); }

.intro {
  position: relative;
  isolation: isolate;
  max-width: 920px;
  margin: 58px auto 46px;
  padding: 52px 28px 42px;
}

.intro::before {
  position: absolute;
  z-index: -1;
  inset: 0 9%;
  background:
    linear-gradient(145deg, #edd994, #dfc579 60%, #e9d18a),
    var(--poster-gold);
  clip-path: polygon(5% 0, 95% 0, 98% 100%, 2% 100%);
  content: "";
}

.intro .eyebrow { color: #21170b; }
.live-dot { background: var(--royal-red); box-shadow: 0 0 12px rgb(165 35 25 / 55%); }
.royal-lockup { display: grid; justify-items: center; margin: 15px 0 4px; }
.royal-logo { display: block; width: min(620px, 100%); height: auto; }
.roadmap-track .week-stop { min-height: 0; }
.stop-card.game-tile {
  grid-template-columns: minmax(100px, 40%) minmax(0, 1fr);
  grid-template-rows: 1fr;
  min-height: 140px;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow .15s ease;
}
.game-tile .stop-scene { grid-row: 1; min-height: 140px; }
.game-tile h3 { align-self: center; margin: 16px; }
.game-tile:focus-visible { outline: 3px solid #a52319; outline-offset: 5px; }
.game-tile:hover { box-shadow: 0 6px 20px rgb(55 37 7 / 25%); }
.is-current .stop-card.game-tile { border: 1px solid #b3261e; box-shadow: 0 0 0 5px #b3261e; }
.game-tile .scene-newbiedle { background: #121213; }
.scene-newbiedle img { display: block; width: 100%; height: 140px; object-fit: cover; }
.game-tile .scene-bond { background: #000; }
.scene-bond img { display: block; width: 100%; height: 140px; object-fit: contain; }
.royal-wordmark {
  color: #a93a08;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(3.2rem, 11vw, 8.3rem);
  font-style: italic;
  font-weight: 950;
  letter-spacing: -.045em;
  line-height: .95;
  text-shadow: 2px 2px 0 #451b0b, 0 5px 0 rgb(0 0 0 / 10%);
}

.royal-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 24px);
  min-width: min(360px, 80%);
  margin-top: 15px;
  padding: 1px 23px;
  border: 3px solid #080808;
  background: #080808;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  letter-spacing: .15em;
  line-height: 1.45;
  transform: skewY(-1deg);
}

.royal-ribbon b {
  display: grid;
  width: 1.8em;
  height: 1.8em;
  place-items: center;
  border: 2px solid #080808;
  border-radius: 7px;
  background: var(--poster-gold);
  color: #080808;
  font-size: 1.05em;
  border-radius: 8px;
}

.royal-ribbon b::first-letter { transform: rotate(-45deg); }
.intro .button { display: inline-flex; align-items: center; text-decoration: none; }
.intro h1 { max-width: 720px; margin: 24px auto 16px; color: #16120d; font-size: clamp(2.2rem, 4.8vw, 4rem); letter-spacing: -.045em; line-height: 1.06; text-wrap: balance; }
.intro h1 span { color: #6e2117; }
.intro-note { border-color: rgb(19 17 13 / 22%); color: #30271b; background: rgb(255 250 235 / 34%); }
.chip-icon { color: var(--royal-red); }

.dashboard { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.road-panel, .side-panel {
  border-color: rgb(230 201 131 / 30%);
  border-radius: 5px;
  background: #1b1916;
  box-shadow: 0 18px 50px rgb(0 0 0 / 20%);
}
.road-panel {
  padding: 30px clamp(18px, 3.2vw, 42px) 34px;
  background:
    radial-gradient(ellipse at 50% 0, rgb(255 255 255 / 18%), transparent 55%),
    var(--poster-gold);
  color: #19130d;
}
.road-panel .eyebrow { color: #70251a; }
.road-map {
  display: none;
}

.road-map-art { display: block; width: 100%; height: 100%; overflow: visible; }
.map-connectors { fill: none; stroke: #766b53; stroke-dasharray: 3 6; stroke-width: 2; }
.map-road-edge { fill: none; stroke: #171513; stroke-linecap: round; stroke-linejoin: round; stroke-width: 46; }
.map-road { fill: none; stroke: #4a443c; stroke-linecap: round; stroke-linejoin: round; stroke-width: 39; }
.map-road-dashes { fill: none; stroke: #d8c38f; stroke-dasharray: 2 18; stroke-linecap: round; stroke-width: 2; }
.map-stop circle { fill: #e7d496; stroke: #16130f; stroke-width: 5; }
.map-stop text { fill: #17130d; font-family: "Segoe UI", sans-serif; font-size: 14px; font-weight: 900; text-anchor: middle; }
.map-stop-current circle { fill: var(--royal-red); stroke: #fff2cd; stroke-width: 4; }
.map-stop-current text, .map-stop-finale text { fill: #fff6dd; }
.map-stop-finale circle { fill: #19764d; stroke: #16130f; stroke-width: 5; }
.map-start, .map-finish {
  position: absolute;
  bottom: 4px;
  padding: 4px 8px;
  border: 1px solid rgb(22 19 15 / 30%);
  background: #171513;
  color: #fff5db;
  font-size: .55rem;
  font-weight: 850;
  letter-spacing: .13em;
}
.map-start { left: 0; }
.map-finish { right: 0; }

.roadmap-track {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: min(900px, 100%);
  margin: 0 auto;
  padding-left: 48px;
  counter-reset: road-stop;
}
.roadmap-track::before {
  position: absolute;
  top: 12px;
  bottom: 20px;
  left: 10px;
  width: 16px;
  border: 2px solid #171513;
  border-radius: 50%;
  background: repeating-linear-gradient(to bottom, #756b56 0 7px, transparent 7px 14px);
  content: "";
}
.week-stop {
  position: relative;
  display: block;
  min-width: 0;
}
.week-stop::before {
  position: absolute;
  z-index: 1;
  top: 22px;
  left: -48px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 2px solid #181511;
  border-radius: 50%;
  background: #e6d18e;
  color: #21190f;
  content: "0" counter(road-stop);
  counter-increment: road-stop;
  font-size: .65rem;
  font-weight: 900;
}
.week-stop::after {
  position: absolute;
  top: 39px;
  left: -30px;
  width: 30px;
  height: 3px;
  background: #171513;
  content: "";
}
.week-stop.is-current::before { background: var(--royal-red); color: #fff6de; }
.week-stop.is-finale::before { background: #19764d; color: #fff6de; content: "✦"; }
.stop-marker { display: none; }
.stop-card {
  display: grid;
  grid-template-columns: minmax(150px, 28%) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  height: 100%;
  padding: 0 0 14px;
  overflow: hidden;
  border: 1px solid rgb(25 19 13 / 21%);
  border-radius: 4px;
  background: #fff5d9;
  color: #211b13;
  box-shadow: 0 8px 18px rgb(55 37 7 / 13%);
}
.is-current .stop-card {
  border-color: #8c291a;
  background: #fff6db;
  box-shadow: 0 0 0 2px rgb(140 41 26 / 25%), 0 10px 20px rgb(55 37 7 / 17%);
}
.is-finale .stop-card { border-color: #19764d; background: #f5f0dc; }
.stop-scene {
  position: relative;
  display: grid;
  grid-column: 1;
  grid-row: 1 / 5;
  min-height: clamp(115px, 14vw, 168px);
  place-items: center;
  overflow: hidden;
  background-color: #d9bf78;
  background-image: linear-gradient(120deg, rgb(255 255 255 / 5%), rgb(18 15 9 / 10%)), var(--scene-image, linear-gradient(135deg, #e7cf8e, #c3a75d));
}
.stop-scene::before, .stop-scene::after { position: absolute; content: ""; }
.scene-caption {
  position: absolute;
  z-index: 1;
  top: 9px;
  left: 9px;
  color: #282016;
  font-size: .48rem;
  font-weight: 900;
  letter-spacing: .14em;
}
.scene-symbol {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 5px dashed #fff3d0;
  border-radius: 50%;
  background: var(--royal-red);
  color: #fff8e5;
  font-family: Georgia, serif;
  font-size: 1.9rem;
  font-weight: 800;
  box-shadow: 0 5px 0 #16130f, 0 12px 17px rgb(0 0 0 / 26%);
}
.scene-gate {
  background-image:
    linear-gradient(105deg, #111 0 17%, transparent 17.5% 82.5%, #111 83%),
    linear-gradient(180deg, transparent 55%, rgb(58 42 18 / 29%)),
    var(--scene-image, linear-gradient(135deg, #e7cf8e, #c3a75d));
}
.scene-gate::before {
  inset: 21% 23% -26%;
  border: 4px solid #171513;
  border-bottom: 0;
  border-radius: 48% 48% 0 0;
}
.scene-gate .scene-symbol { z-index: 1; width: 50px; height: 50px; border: 2px solid #16130f; background: #171513; color: var(--poster-gold); }
.scene-golf { background-image: linear-gradient(180deg, transparent 0 55%, #196546 56% 100%), var(--scene-image, linear-gradient(135deg, #ead997, #cdb76f)); }
.scene-golf::before { right: 18%; bottom: 18%; width: 64px; height: 26px; border: 2px solid #fff0c5; border-radius: 50%; transform: rotate(-12deg); }
.scene-golf .scene-symbol { width: 42px; height: 42px; border: 3px solid #fff0cc; background: #19764d; font-size: 1.5rem; }
.game-tile .scene-dice { background: #0b523e; }
.scene-dice img { display: block; width: 100%; height: 140px; object-fit: contain; }
.scene-dice .scene-symbol { border-radius: 10px; transform: rotate(-12deg); }
.scene-cards { background-image: linear-gradient(135deg, rgb(165 35 25 / 13%), transparent 45%), var(--scene-image, linear-gradient(140deg, #ddc783, #b9a164)); }
.scene-cards .scene-symbol { border: 2px solid #171513; border-radius: 7px; background: #fff7e5; color: var(--royal-red); transform: rotate(8deg); }
.scene-table .scene-symbol { background: #19764d; }
.scene-finale {
  background:
    linear-gradient(105deg, #10100f 0 18%, transparent 18.5% 81.5%, #10100f 82%),
    var(--scene-image, linear-gradient(140deg, #eddb9d, #c5aa62));
}
.scene-finale .scene-symbol { border-color: #fff0c8; background: #19764d; }
.stop-meta, .stop-card h3, .stop-card p, .stop-footer { margin-right: 12px; margin-left: 12px; }
.stop-meta, .stop-card h3, .stop-card p, .stop-footer { grid-column: 2; }
.stop-meta { min-height: 31px; padding-top: 9px; color: #6e604d; font-size: .48rem; letter-spacing: .11em; }
.status-tag { color: #812b1d; }
.status-later { color: #74654c; }
.status-finale { color: #166145; }
.stop-card h3 { margin-top: 2px; margin-bottom: 6px; font-size: clamp(.95rem, 1.2vw, 1.16rem); font-weight: 700; line-height: 1.15; }
.stop-card p { min-height: 75px; color: #5b5141; font-size: .7rem; line-height: 1.4; }
.stop-footer { align-items: start; margin-top: 9px; padding-top: 9px; border-top: 1px solid rgb(25 19 13 / 12%); color: #4d4130; font-size: .6rem; }
.text-button { color: #872d1e; font-size: .65rem; }
.text-button:hover { color: #ad3424; }
.points-note { color: #76684f; }

.side-panels { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.side-panel { border-radius: 5px; background: #1b1916; }
.side-heading { margin: 0; }
.side-heading h2 { font-family: Georgia, "Times New Roman", serif; }
.side-panel summary { list-style: none; cursor: pointer; }
.side-panel summary::-webkit-details-marker { display: none; }
.side-panel summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.side-panel:not([open]) .side-heading { margin-bottom: 0; }
.panel-toggle {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgb(230 201 131 / 35%);
  border-radius: 50%;
  color: var(--gold);
}
.panel-toggle::before { content: "+"; font-size: 1.15rem; line-height: 1; }
.side-panel[open] .panel-toggle::before { content: "−"; }
.side-panel-content { padding-top: 19px; }
.side-panel .eyebrow { color: var(--gold); }
.mini-icon { border-radius: 50%; border-color: rgb(230 201 131 / 48%); color: var(--gold); }
.counter-panel { background: linear-gradient(155deg, rgb(165 35 25 / 10%), transparent 55%), #1b1916; }
.points-note-panel { align-content: center; border-radius: 5px; border-color: rgb(230 201 131 / 33%); background: rgb(230 201 131 / 7%); }
.site-footer { border-color: rgb(230 201 131 / 25%); }
.modal { border-radius: 5px; background: #1b1916; }

@media (min-width: 901px) {
  .side-panels {
    --tab-height: min(140px, calc((100dvh - 68px) / 4));
    --panel-top: 16px;
    position: fixed;
    z-index: 20;
    top: var(--panel-top);
    right: 0;
    display: grid;
    grid-template-columns: 460px;
    grid-auto-rows: var(--tab-height);
    width: 460px;
    gap: 12px;
    pointer-events: none;
  }
  .side-panel {
    --row-offset: 0px;
    position: relative;
    display: flex;
    flex-direction: row;
    align-self: start;
    justify-self: end;
    width: 52px;
    height: var(--tab-height);
    min-height: var(--tab-height);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: auto;
    transition: width .34s cubic-bezier(.2, .75, .25, 1), height .34s cubic-bezier(.2, .75, .25, 1);
  }
  .side-panel[open] {
    width: 460px;
    max-width: calc(100vw - 20px);
    height: auto;
    max-height: calc(100dvh - var(--panel-top) - var(--row-offset) - 16px);
  }
  #leaderboard { --row-offset: calc(var(--tab-height) + 12px); }
  #under-table { --row-offset: calc(2 * (var(--tab-height) + 12px)); }
  .side-panel summary {
    display: grid;
    position: relative;
    z-index: 1;
    flex: 0 0 52px;
    order: 2;
    width: 52px;
    height: var(--tab-height);
    place-items: center;
    padding: 0;
    border: 1px solid #17130d;
    border-radius: 5px 0 0 5px;
    background: var(--poster-gold);
    color: #17130d;
    box-shadow: 0 5px 18px rgb(0 0 0 / 28%);
  }
  .side-heading > div { position: absolute; inset: 0; }
  .side-heading .eyebrow, .side-heading .mini-icon, .side-heading .panel-toggle { display: none; }
  .side-heading h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    color: #17130d;
    font-size: .94rem;
    line-height: 1;
    white-space: nowrap;
    transform: translate(-50%, -50%) rotate(90deg);
  }
  .side-panel-content {
    position: relative;
    flex: 1 1 408px;
    order: 1;
    width: 408px;
    max-width: calc(100vw - 72px);
    height: auto;
    min-height: 0;
    max-height: min(600px, calc(100dvh - var(--panel-top) - var(--row-offset) - 16px));
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: var(--gold) #29251e;
    scrollbar-width: thin;
    border: 1px solid rgb(230 201 131 / 30%);
    border-right: 0;
    border-radius: 5px 0 0 5px;
    background: #1b1916;
    box-shadow: 0 18px 50px rgb(0 0 0 / 42%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility 0s linear .34s;
  }
  .side-panel-content { font-size: .96rem; line-height: 1.6; }
  .side-panel-content .counter-copy { font-size: .96rem; }
  .side-panel-content .leaderboard-head,
  .side-panel-content .budget-heading { font-size: .68rem; }
  .side-panel-content .rank-row,
  .side-panel-content .budget-row { min-height: 52px; font-size: .94rem; }
  .side-panel-content .rank-number,
  .side-panel-content .panel-footnote,
  .side-panel-content .offer-meta,
  .side-panel-content .offer-state { font-size: .82rem; }
  .side-panel-content .offer-item { padding: 16px; }
  .side-panel-content .offer-item p,
  .side-panel-content .offer-item > strong { font-size: .96rem; }
  .side-panel-content .offer-form { gap: 17px; padding: 18px; }
  .side-panel-content .account-form label { font-size: .9rem; }
  .side-panel-content .account-form input,
  .side-panel-content .account-form textarea { min-height: 48px; font-size: 1rem; }
  .side-panel-content .offer-action { min-height: 42px; padding-inline: 13px; font-size: .86rem; }
  .side-panel-content .offer-recipient { min-height: 42px; font-size: .85rem; }
  .side-panel[open] .side-panel-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: .12s, 0s;
  }
  .side-panel[open] .side-heading { border-color: #17130d; }
  .side-panel[open] .panel-toggle { display: none; }
  .side-panels > .points-note-panel { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .side-panel, .side-panel-content { transition: none; }
}

@media (min-width: 701px) {
  .roadmap-track {
    grid-template-columns: minmax(0, 1fr) 46px minmax(0, 1fr);
    grid-auto-rows: minmax(190px, auto);
    gap: 18px 0;
    width: 100%;
    margin-top: 22px;
    padding-left: 0;
  }
  .roadmap-track::before {
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: calc(50% - 2px);
    width: 4px;
    border: 0;
    border-radius: 0;
    background: repeating-linear-gradient(to bottom, #171513 0 7px, transparent 7px 13px);
    content: "";
  }
  .week-stop { z-index: 1; grid-row: auto; min-height: 190px; }
  .week-stop::before, .week-stop::after { display: none; }
  .week-stop::before {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 2px solid #171513;
    border-radius: 50%;
    background: var(--poster-gold);
    color: #171513;
    content: "0" counter(road-stop);
    counter-increment: road-stop;
    font-size: .55rem;
    font-weight: 900;
    transform: translateY(-50%);
  }
  .week-stop::after {
    position: absolute;
    top: 50%;
    width: 23px;
    height: 0;
    border-top: 2px dashed #171513;
    content: "";
  }
  .week-stop:nth-of-type(1) { grid-row: 1; grid-column: 1; }
  .week-stop:nth-of-type(2) { grid-row: 2; grid-column: 3; }
  .week-stop:nth-of-type(3) { grid-row: 3; grid-column: 1; }
  .week-stop:nth-of-type(4) { grid-row: 4; grid-column: 3; }
  .week-stop:nth-of-type(5) { grid-row: 5; grid-column: 1; }
  .week-stop:nth-of-type(6) { grid-row: 6; grid-column: 3; }
  .week-stop:nth-of-type(7) { grid-row: 7; grid-column: 1; }
  .week-stop:nth-of-type(odd)::before { left: calc(100% + 8px); }
  .week-stop:nth-of-type(even)::before { left: -38px; }
  .week-stop:nth-of-type(odd)::after { right: -23px; }
  .week-stop:nth-of-type(even)::after { left: -23px; }
  .week-stop:nth-of-type(odd) .stop-card { width: 88%; justify-self: end; }
  .week-stop:nth-of-type(even) .stop-card { width: 88%; justify-self: start; }
  .stop-card { grid-template-columns: minmax(125px, 34%) minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .dashboard { grid-template-columns: minmax(0, 1fr); }
  .roadmap-track { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 12px; padding-left: 48px; }
  .week-stop { min-height: 0; justify-self: stretch !important; grid-column: 1 !important; }
  .week-stop::before, .week-stop::after { display: grid; }
  .week-stop::after {
    top: 40px;
    display: block;
    height: 0;
    border-top: 2px dashed #171513;
    background: none;
  }
  .roadmap-track::before {
    left: 16px;
    width: 4px;
    border: 0;
    border-radius: 0;
    background: repeating-linear-gradient(to bottom, #171513 0 7px, transparent 7px 13px);
  }
  .week-stop .stop-card { width: 100%; }
  .stop-card { grid-template-columns: minmax(125px, 34%) minmax(0, 1fr); }
  .stop-scene { min-height: 140px; }
  .stop-card h3 { font-size: 1.1rem; }
  .stop-card p { min-height: 3.9em; }
  .side-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .intro { margin: 35px auto 22px; padding: 42px 8px 32px; }
  .intro::before { inset-inline: 0; clip-path: polygon(3% 0, 97% 0, 99% 100%, 1% 100%); }
  .royal-wordmark { font-size: clamp(2.8rem, 14vw, 5.5rem); }
  .royal-ribbon { margin-top: 8px; }
  .intro h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .intro-note { max-width: 95%; font-size: .67rem; }
  .road-panel { padding: 22px 14px 22px; }
  .roadmap-track { gap: 12px; }
  .stop-scene { min-height: 110px; }
  .scene-symbol { width: 52px; height: 52px; }
  .stop-meta, .stop-card h3, .stop-card p, .stop-footer { margin-right: 9px; margin-left: 9px; }
  .stop-meta { font-size: .46rem; }
  .stop-card h3 { font-size: 1rem; }
  .stop-card p { min-height: 5.2em; font-size: .69rem; }
  .stop-footer { font-size: .56rem; }
  .side-panels { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .brand { font-size: .65rem; letter-spacing: .1em; }
  .roadmap-track { gap: 12px; padding-left: 48px; }
  .stop-card { display: grid; grid-template-columns: 108px minmax(0, 1fr); align-content: start; padding: 0 0 10px; }
  .stop-scene { grid-row: span 4; min-height: 100%; }
  .scene-caption { top: auto; bottom: 6px; left: 5px; font-size: .38rem; writing-mode: vertical-rl; transform: rotate(180deg); }
  .scene-symbol { width: 45px; height: 45px; font-size: 1.35rem; }
  .stop-meta, .stop-card h3, .stop-card p, .stop-footer { margin-right: 8px; margin-left: 8px; }
  .stop-meta { min-height: 28px; gap: 4px; padding-top: 7px; font-size: .41rem; }
  .stop-card h3 { align-self: end; margin-top: 3px; font-size: .94rem; }
  .stop-card p { min-height: 0; margin-bottom: 8px; font-size: .65rem; }
  .stop-footer { gap: 6px; margin-top: 0; padding-top: 6px; font-size: .52rem; }
}

/* Wide alternating stops with a measured curved route between them. */
.roadmap-track {
  display: flex;
  flex-direction: column;
  gap: 96px;
  padding: 0;
  width: 100%;
}
.roadmap-track::before,
.roadmap-track .week-stop::before,
.roadmap-track .week-stop::after { display: none; }
.roadmap-track .week-stop { position: relative; display: block; width: 100%; min-height: 0; }
.roadmap-track .week-stop .game-tile {
  width: 82%;
  min-height: 250px;
  grid-template-columns: 52% minmax(0, 1fr);
  grid-template-rows: 1fr;
}
.roadmap-track .week-stop:nth-of-type(even) .game-tile { margin-left: auto; }
.roadmap-track .week-stop:nth-of-type(odd) .game-tile { margin-left: 0; margin-right: auto; }
.roadmap-track .game-tile .stop-scene { grid-row: 1; min-height: 250px; }
.scene-cards img { display: block; width: 100%; height: 250px; object-fit: contain; }
.scene-bounties img { display: block; width: 100%; height: 250px; object-fit: contain; }
.roadmap-track .game-tile .scene-bounties { background: #fff; }
.roadmap-track .game-tile .scene-cards { background: #0b0d11; }
.roadmap-track .game-tile .scene-cards img,
.roadmap-track .game-tile .scene-newbiedle img,
.roadmap-track .game-tile .scene-dice img,
.roadmap-track .game-tile .scene-bond img { height: 250px; }
.tile-copy { align-self: center; grid-column: 2; padding: 24px; }
.roadmap-track .game-tile h3 { margin: 12px 0; font-size: clamp(1.25rem, 2.2vw, 1.9rem); line-height: 1.2; }
.tile-week { font-size: .75rem; font-weight: 800; letter-spacing: .12em; color: #872d1e; }
.is-current .tile-week { display: inline-block; align-self: flex-start; padding: 6px 9px; background: #b3261e; color: #fff; border-radius: 3px; line-height: 1.4; letter-spacing: .04em; }
.tile-dates { font-size: .9rem; color: #65543b; }
.roadmap-track .scene-symbol { width: 84px; height: 84px; font-size: 2.6rem; }
.road-number {
  position: absolute; top: 50%; left: 94%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 2px solid #171513; border-radius: 50%; background: var(--poster-gold);
  color: #171513; font-size: .8rem; font-weight: 900; z-index: 2;
}
.week-stop:nth-of-type(even) .road-number { left: 6%; }
.is-current .road-number { background: #b3261e; color: white; }
.is-finale .road-number { background: #19764d; color: white; }
.winding-road { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.winding-road path { fill: none; stroke: #29231b; stroke-width: 5; stroke-dasharray: 10 9; stroke-linecap: butt; }
@media (min-width: 701px) {
  .roadmap-track .week-stop:nth-of-type(even) .game-tile { grid-template-columns: minmax(0, 1fr) 52%; }
  .roadmap-track .week-stop:nth-of-type(even) .stop-scene { grid-column: 2; grid-row: 1; }
  .roadmap-track .week-stop:nth-of-type(even) .tile-copy { grid-column: 1; grid-row: 1; }
}
@media (max-width: 700px) {
  .roadmap-track { gap: 36px; }
  .roadmap-track .week-stop:nth-of-type(n) .game-tile { width: calc(100% - 44px); margin-left: 44px; margin-right: 0; grid-template-columns: 1fr; }
  .roadmap-track .game-tile .stop-scene { min-height: 200px; grid-column: 1; grid-row: 1; }
  .roadmap-track .game-tile .scene-cards img,
  .roadmap-track .game-tile .scene-bounties img,
  .roadmap-track .game-tile .scene-newbiedle img,
  .roadmap-track .game-tile .scene-dice img,
  .roadmap-track .game-tile .scene-bond img { height: 200px; }
  .tile-copy { grid-column: 1; grid-row: 2; padding: 20px; }
  .road-number, .week-stop:nth-of-type(even) .road-number { left: 15px; width: 30px; height: 30px; font-size: .65rem; }
}

/* Royal Odds shares the side-tab rail and opens the betting floor. */
.royal-odds-tab {
  position: relative;
  background: var(--royal-red);
  color: #fff4df;
  border: 1px solid #17130d;
  text-decoration: none;
}
.royal-odds-tab h2 { color: inherit; }
.royal-odds-tab:hover { background: #c23425; }
.royal-odds-tab:focus-visible { outline: 3px solid #fff4df; outline-offset: -4px; }
@media (min-width: 901px) {
  .royal-odds-tab {
    border-radius: 5px 0 0 5px;
    box-shadow: 0 5px 18px rgb(0 0 0 / 28%);
  }
}
.rank-points, .budget-amount { white-space: nowrap; }
.rank-name, .budget-row > :first-child { min-width: 0; overflow-wrap: anywhere; }

/* A steady neon frame keeps Royal odds prominent without flashing. */
.royal-odds-tab {
  border: 2px solid #ffbdad;
  background: linear-gradient(135deg, #c92e24, #8e101d);
  box-shadow: inset 0 0 10px #ff675e, 0 0 9px #ff4b45, 0 0 24px rgb(255 40 55 / 65%);
}
.royal-odds-tab h2 {
  font-weight: 800;
  text-shadow: 0 0 5px #fff0d8, 0 0 12px #ff6c62;
}
.royal-odds-tab:hover, .royal-odds-tab:focus-visible {
  background: #ce352c;
  box-shadow: inset 0 0 12px #ff8978, 0 0 14px #ff6b58, 0 0 32px rgb(255 40 55 / 80%);
}
.guess-avatar { position: relative; overflow: hidden; }
.guess-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guess-button.is-wrong .guess-avatar img, .guess-button.is-newly-wrong .guess-avatar img { opacity: .45; }

/* Separate organiser desk on the side-tab rail. */
.points-desk-panel > summary { background: #294c43; color: #fff4df; }
.points-desk-panel > summary h2 { color: inherit; }
@media (min-width: 901px) {
  .side-panels:has(#points-desk:not(.hidden)) { --tab-height: min(140px, calc((100dvh - 80px) / 5)); }
  #points-desk { --row-offset: calc(4 * (var(--tab-height) + 12px)); }
  #points-desk[open] {
    align-self: end;
    max-height: calc(var(--row-offset) + var(--tab-height));
  }
  #points-desk > summary { align-self: flex-end; }
  #points-desk > .side-panel-content {
    max-height: min(700px, calc(var(--row-offset) + var(--tab-height)));
  }
}

/* Halloween reception announcement */
.modal.halloween-modal { width: min(920px, calc(100% - 28px)); max-height: 92dvh; padding: 0; border: 1px solid #c58847; border-radius: 12px; background: #241c2d; }
.halloween-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.halloween-copy { grid-column: 2; grid-row: 1; padding: 40px 30px; }
.halloween-poster { grid-column: 1; grid-row: 1; display: block; width: 100%; height: auto; }
.halloween-modal .modal-close { z-index: 1; width: 32px; height: 32px; top: 10px; right: 10px; border-radius: 50%; background: #241c2d; color: #fff; }
.halloween-eyebrow { color: #efb36e; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.halloween-modal h2 { margin: 15px 0 20px; color: #fff1df; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; }
.halloween-where { color: #e8d9eb; font-size: 1rem; line-height: 1.7; }
.halloween-prize { margin: 24px 0 18px; padding: 18px; border: 1px solid #e2a354; border-radius: 7px; background: #352637; }
.halloween-prize span { display: block; color: #f5c994; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.halloween-prize strong { display: block; margin-top: 5px; color: #ffcd75; font-size: 1.8rem; }
.halloween-invite { color: #e8d9eb; line-height: 1.6; }
.halloween-modal .primary-button { margin-top: 10px; padding: 12px 22px; border: 0; border-radius: 5px; background: #efb36e; color: #241c2d; font: inherit; font-weight: 800; cursor: pointer; }
@media (max-width: 640px) {
  .halloween-layout { grid-template-columns: 1fr; }
  .halloween-copy { grid-column: 1; grid-row: 1; padding: 32px 24px 24px; }
  .halloween-poster { grid-column: 1; grid-row: 2; }
}

#desk-access-list label { display: flex; flex-direction: row; align-items: center; gap: 10px; margin: 8px 0; }
#desk-access-list input[type=checkbox] { width: 18px; height: 18px; flex: 0 0 18px; }

.bounties-callout { margin: 0 0 24px; padding: 20px; border: 2px solid #e9c46a; border-radius: 10px; background: #342b17; }
.bounties-callout h3 { margin: 0 0 10px; color: #ffe2a1; font-size: 1.4rem; }
.bounties-callout p { margin: 0 0 16px; color: #fff0cf; font-size: .95rem; line-height: 1.5; }
.bounties-callout .bounties-callout-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 12px 16px; background: #e9c46a; color: #241d10; font-size: 1rem; font-weight: 800; text-decoration: none; }
.bounties-callout .bounties-callout-button:hover { background: #ffe2a1; }
.bounties-callout .bounties-callout-button:focus-visible { outline: 3px solid #fff0cf; outline-offset: 4px; }
