:root {
  font-family: "Trebuchet MS", system-ui, sans-serif;
  color: #f8f6ff;
  background: #faf8ff;
  font-synthesis: none;
  --ink: #f8f6ff;
  --purple: #7039d4;
  --muted: #c6c3d6;
  --border: #38364d;
  --surface: #171627;
  --card: #202031;
  --lavender: #d6c4ff;
  --lime: #e2fc8d;
}

* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; }
:focus-visible { outline: 3px solid #9360ff; outline-offset: 4px; }
h1:focus { outline: none; }

.shell { width: min(650px, calc(100% - 24px)); margin: clamp(12px, 5vh, 52px) auto 24px; padding: 15px clamp(12px, 4vw, 22px); background: var(--surface); border-radius: 20px; }
.header { min-height: 48px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 12px; }
.brand { display: inline-flex; align-items: center; font-size: 25px; font-weight: 900; letter-spacing: -.065em; text-decoration: none; }
.brand > span:last-child { color: var(--lavender); margin-left: .22em; }
.brand-icon { display: inline-grid; place-items: center; width: 37px; height: 37px; margin-right: 8px; border-radius: 12px; background: #683ed1; color: #fff; font-size: 25px; line-height: 1; }
.help { min-height: 44px; border: 1px solid var(--border); background: var(--card); border-radius: 999px; padding: 0 13px; color: var(--ink); font-size: 13px; font-weight: 800; }
.help:hover { background: #332852; }
.help span { display: inline-grid; place-items: center; margin-right: 4px; width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%; }

.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 0; max-width: 100%; min-height: 54px; padding: 12px 18px; border: 0; border-radius: 14px; background: var(--purple); color: white; font-size: 16px; font-weight: 850; }
.button:hover:not(:disabled) { background: #4726a1; }
.button:disabled { background: #333149; color: #b5b1c7; }
.button.lime { background: var(--lime); color: #231239; }
.button.lime:hover { background: #f1ffbd; }
.button span { font-size: 19px; }
.full { width: 100%; }

.step-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; font-size: 26px; font-weight: 900; line-height: 1; }
.purple { background: #eee2ff; color: #6534ca; }
.pink { background: #ffe1f2; color: #9c2c72; }
.green { background: #edf9c5; color: #3d570a; }
footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 25px; padding: 17px 0 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }
footer span:first-child { font-weight: 850; color: var(--ink); }

.play { max-width: 650px; margin: 16px auto 0; }
.round-meta { display: flex; justify-content: space-between; font-size: 14px; font-weight: 850; color: var(--lavender); }
.progress { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; margin: 9px 0 17px; }
.progress span { height: 6px; border-radius: 99px; background: #38364d; }
.progress .filled { background: #8158df; }
.panel { border: 1px solid var(--border); border-radius: 26px; padding: clamp(14px, 4.8vw, 38px); background: var(--card); overflow-wrap: anywhere; }
.panel h1 { margin: 15px 0; font-size: clamp(28px, 5vw, 46px); letter-spacing: -.062em; line-height: 1.05; }
.panel p { margin: 0 0 20px; color: var(--muted); line-height: 1.5; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-block; padding: 6px 11px; border-radius: 99px; background: #382b56; color: var(--lavender); font-size: 12px; font-weight: 850; }
.player { background: #48293f; color: #f5bfdf; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 22px 0; }
.numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { padding: 12px 7px; min-height: 74px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; justify-items: center; align-content: center; border: 2px solid var(--border); border-radius: 14px; background: #26243a; color: var(--ink); font-weight: 800; overflow-wrap: anywhere; text-align: center; }
.numbers .choice { font-size: 23px; min-height: 51px; }
.choice:hover { border-color: #bda7eb; }
.choice[aria-pressed="true"] { border-color: #a58af4; background: #3b2d61; box-shadow: inset 0 0 0 1px #7247d4; }
.emoji { font-size: 24px; line-height: 1; }
.shape { display: inline-block; width: 34px; height: 34px; }
.star { background: #8756d8; clip-path: polygon(50% 0, 63% 35%, 100% 38%, 71% 61%, 80% 100%, 50% 78%, 20% 100%, 29% 61%, 0 38%, 37% 35%); }
.circle { background: #dc6cb1; border-radius: 50%; }
.bolt { background: #a4c64f; clip-path: polygon(57% 0, 13% 57%, 44% 57%, 36% 100%, 88% 38%, 55% 38%); }
.diamond { background: #469fc3; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.centered { text-align: center; }
.large { width: 64px; height: 64px; margin: 0 auto 14px; font-size: 36px; }
.reveal .step-icon { animation: pop .38s ease-out both; }
@keyframes pop { 0% { transform: scale(.65) rotate(-14deg); } 68% { transform: scale(1.1) rotate(5deg); } }
.match { background: linear-gradient(#272341, var(--card) 56%); }
.answer-pair, .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 19px 0; }
.answer-pair > div, .stats > div { display: grid; justify-items: center; align-content: center; gap: 7px; min-height: 72px; padding: 11px 6px; border-radius: 13px; background: #2c2843; overflow-wrap: anywhere; }
.answer-pair small, .stats span { color: var(--muted); font-size: 12px; }
.score { color: var(--lavender); font-size: clamp(62px, 12vw, 100px); font-weight: 950; letter-spacing: -.095em; line-height: 1; margin-top: 12px; }
.results h1 { margin: 5px 0 7px; }
.score-strip { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.score-strip > span { background: #343149; padding: 5px 0; border-radius: 6px; color: #c6c3d6; font-weight: 900; }
.score-strip .hit { color: #221945; background: #b197fa; }
.stats strong { font-size: 22px; }
.text-button { display: block; min-height: 44px; margin: 6px auto 0; border: 0; background: transparent; color: var(--lavender); font-weight: 800; }
.text-button:hover { text-decoration: underline; }

dialog { width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom))); overflow-y: auto; border: 1px solid var(--border); border-radius: 22px; padding: clamp(14px, 5vw, 24px); color: var(--ink); background: var(--card); }
dialog::backdrop { background: #2113369c; }
dialog h2 { margin: 6px 0 12px; }
dialog ol { padding-left: 20px; line-height: 1.45; color: var(--muted); }
dialog li { margin: 8px 0; }
.close { float: right; min-width: 44px; min-height: 44px; border: 0; border-radius: 10px; background: #383155; color: var(--ink); font-size: 23px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 760px) {
  .play { margin-top: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal .step-icon { animation: none; }
}

.online-link { display: inline-block; padding-block: 12px; font-weight: 800; }
.room-status { color: var(--muted); padding-inline: 8px; }
.room-type { margin-top: 12px !important; margin-bottom: 0 !important; }
.invite { display: block; width: 100%; min-height: 44px; padding: 12px; margin: 5px 0 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; }
fieldset.choices { min-width: 0; padding: 0; border: 0; }
label.choice { cursor: pointer; }
.choice:has(input:focus-visible) { outline: 3px solid #9360ff; outline-offset: 4px; }
.choice:has(input:checked) { border-color: #a58af4; background: #3b2d61; }

.daily-label { margin-bottom: 7px; color: var(--lavender); font-size: 13px; font-weight: 850; }

.scorecard-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.scorecard-actions .text-button { margin-inline: 0; }
.scorecard-status { overflow-wrap: anywhere; }
.scorecard-status:empty { display: none; }

.room-actions { display: grid; gap: 10px; }

.brain-links-list { display: grid; gap: 10px; text-align: left; }
.brain-links-list article { padding: 14px; background: #242238; border-radius: 12px; }
.brain-links-list h2 { margin: 0 0 6px; font-size: 17px; }
.brain-links-list p { margin: 0 0 5px; }
.brain-links-list .text-button { margin: 0; }

.discovery-panel { margin-top: 18px; padding: 14px; background: #242238; border-radius: 12px; }
.discovery-panel h2 { margin: 0 0 8px; font-size: 18px; }
.discovery-panel .text-button { margin-inline: auto; }
.discovery-status:empty { display: none; }
.discovery-matches ol { margin: 8px 0; padding-left: 24px; text-align: left; }

.discovery-matches ul { padding-left: 24px; text-align: left; }
.discovery-matches li + li { margin-top: 6px; }
.discovery-matches .text-button { display: inline-block; margin: 0 0 0 10px; padding: 0 4px; }
.wave-label { margin-left: 8px; color: var(--lavender); font-size: 13px; font-weight: 800; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .help strong { font: inherit; }
.header-actions .help > span { margin-right: 5px; }
.profile-control[hidden] { display: none; }
.dashboard { background: #faf8ff; }
.dashboard .shell {
  --dashboard-bg: #171627;
  --dashboard-panel: #202031;
  --dashboard-border: #343348;
  --dashboard-text: #f8f6ff;
  --dashboard-muted: #c6c3d6;
  width: min(550px, calc(100% - 24px));
  margin: clamp(12px, 5vh, 52px) auto 24px;
  padding: 15px clamp(12px, 4vw, 22px) 4px;
  color: var(--dashboard-text);
  background: var(--dashboard-bg);
  border-radius: 20px;
}
.dashboard .header { min-height: 48px; margin-bottom: 10px; }
.dashboard .brand { font-size: clamp(22px, 5vw, 33px); letter-spacing: -.035em; text-transform: uppercase; }
.dashboard .brand > span { color: #c1acf8; margin-left: .22em; }
.profile-control, .dashboard .help {
  min-height: 44px;
  padding: 0 5px;
  border: 0;
  background: transparent;
  color: var(--dashboard-muted);
  font-size: 13px;
  font-weight: 650;
}
.dashboard .header-actions { gap: 4px; }
.dashboard .help strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.dashboard .header-actions .help > span { margin: 0; }
.dashboard .help { min-width: 44px; }
.dashboard footer { display: none; }
.daily-card { border-radius: 13px; background: #6b33d0; padding: clamp(14px, 4vw, 22px); }
.daily-kicker { color: #f4eaff; text-transform: uppercase; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.daily-card h1 { margin: 7px 0; font-size: clamp(24px, 5vw, 31px); line-height: 1.16; letter-spacing: -.035em; }
.daily-card p { margin: 8px 0 13px; color: #f4eaff; font-size: 15px; line-height: 1.43; }
.daily-card .daily-cta { justify-content: center; min-height: 44px; padding: 8px 10px; border-radius: 10px; background: #834ddd; font-size: 14px; }
.daily-card .daily-cta:hover { background: #713ac9; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 11px; }
.dashboard-tile {
  min-height: 88px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 4px; padding: 11px; text-align: left; background: var(--dashboard-panel);
  color: var(--dashboard-muted); border: 1px solid var(--dashboard-border); border-radius: 12px;
  font-size: 13px; line-height: 1.22;
}
.dashboard-tile:hover { background: #2b2844; }
.dashboard-tile strong { color: var(--dashboard-text); font-size: 15px; }
.tile-category { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 850; }
.tile-play { color: #ffdb7d; }
.tile-invite { color: #7be2d0; }
.tile-links { color: #f19bd2; }
.tile-chat { color: #bbbcfc; }
.dashboard-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 12px; padding: 6px 0; border-top: 1px solid var(--dashboard-border); background: var(--dashboard-bg); }
.dashboard-nav button { min-height: 46px; padding: 4px; border: 0; border-radius: 9px; background: transparent; color: var(--dashboard-muted); font-size: 13px; font-weight: 700; }
.dashboard-nav button[aria-current] { background: #30254a; color: #e3d7ff; }
.dashboard-nav button:hover, .profile-control:hover, .dashboard .help:hover { color: white; }
.dashboard-page { min-height: 240px; padding: clamp(13px, 4vw, 18px); background: var(--dashboard-panel); border: 1px solid var(--dashboard-border); border-radius: 13px; overflow-wrap: anywhere; }
.dashboard-page h1 { font-size: 27px; letter-spacing: -.035em; margin: 0 0 10px; }
.dashboard-page p { color: var(--dashboard-muted); font-size: 14px; line-height: 1.45; }
.dashboard-page [role="status"]:empty { display: none; }
.dashboard-page .button { font-size: 14px; min-height: 45px; text-decoration: none; }
.dashboard-page .text-button { color: #d8c7ff; }
.dashboard-options { display: grid; gap: 9px; }
.dashboard-page .profile-progress { font-weight: 800; color: var(--dashboard-text); }
.dashboard-page .brain-links-list article, .dashboard-page .discovery-panel { background: var(--dashboard-bg); border: 1px solid var(--dashboard-border); }
.dashboard-page .wave-label { color: #d8c7ff; }

.section-kicker {
  color: var(--lavender); font-size: 11px; font-weight: 850; text-transform: uppercase;
  letter-spacing: .08em; margin: 0 0 9px;
}
.person-avatar {
  display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: #6240ae; color: #fff; font-size: 13px; font-weight: 900;
}
.person-avatar[data-tone="1"] { background: #9c437b; }
.person-avatar[data-tone="2"] { background: #226b68; }
.person-avatar[data-tone="3"] { background: #8a5929; }
.match-segments { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; margin: 12px 0; }
.match-segments span { height: 7px; border-radius: 3px; background: #413a57; }
.match-segments .filled { background: #af90f8; }
.top-match { text-align: left; border: 1px solid #9b72eb; background: #2d2351; border-radius: 11px; padding: 12px; }
.top-match .match-percent { font-size: 32px; }
.top-match p { margin: 5px 0; text-align: center; }
.match-summary, .partner-summary { display: flex; align-items: center; gap: 9px; min-width: 0; }
.match-summary strong { font-size: 14px; overflow-wrap: anywhere; }
.match-percent, .partner-score { margin-inline-start: auto; flex: none; color: var(--lavender); font-weight: 900; }
.match-controls { display: flex; align-items: center; justify-content: end; flex-wrap: wrap; gap: 0 8px; margin-top: 4px; }
.top-match .match-controls .button { justify-content: center; flex: 1; min-height: 44px; }
.discovery-matches h3:not(.section-kicker) { margin: 16px 0 5px; font-size: 16px; }
.discovery-matches ol, .discovery-matches ul { list-style: none; padding: 0; margin: 0; }
.match-row { padding: 9px 2px 3px; border-bottom: 1px solid var(--border); }
.match-controls .wave-label { margin: 0 auto 0 0; }
.partner-summary > div:nth-child(2) { min-width: 0; }
.partner-summary h2 { overflow-wrap: anywhere; }
.partner-score { display: grid; text-align: right; font-size: 15px; }
.partner-score span { color: var(--muted); font-size: 12px; font-weight: 650; }
.partner-meter { display: block; width: 100%; height: 5px; margin-top: 11px; border: 0; border-radius: 6px; overflow: hidden; background: #38334e; }
.partner-meter::-webkit-progress-bar { background: #38334e; }
.partner-meter::-webkit-progress-value { background: #a98cf2; }
.partner-meter::-moz-progress-bar { background: #a98cf2; }
.journey-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.journey-grid > div { display: grid; gap: 4px; padding: 12px; border-radius: 9px; background: var(--surface); }
.journey-grid strong { color: var(--lavender); font-size: clamp(17px, 5vw, 27px); }
.journey-grid span { color: var(--muted); font-size: 12px; }
.journey-today, .moments-empty { border-top: 1px solid var(--border); padding-top: 13px; }
.journey-note { margin-bottom: 0; }
.moments-empty h2 { font-size: 18px; }
.connection-pair { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 12px 0; color: var(--lavender); }
.connection-pair span:not(:nth-child(2)) { display: inline-grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; background: #6240ae; color: white; font-size: 12px; font-weight: 800; }
.connection-pair span:last-child { background: #9c437b; }

.install-panel {
  margin-block: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  text-align: left;
}
.install-panel h2 { margin: 0 0 5px; font-size: 17px; }
.install-panel p { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.install-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.install-actions .button { min-height: 44px; font-size: 14px; }
.install-actions .text-button { margin: 0; }
.install-panel .install-status { margin: 8px 0 0; }
.install-status:empty { display: none; }

@media (max-width: 760px), (display-mode: standalone) {
  body, body.dashboard { background: var(--surface); }
  .shell, .dashboard .shell, .host-display .party-shell {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    --screen-gutter: clamp(12px, 4vw, 22px);
    padding: max(12px, env(safe-area-inset-top)) max(var(--screen-gutter), env(safe-area-inset-right))
      max(8px, env(safe-area-inset-bottom)) max(var(--screen-gutter), env(safe-area-inset-left));
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }
  .shell > main { width: 100%; }
  .dashboard #app { display: flex; flex: 1; flex-direction: column; }
  .dashboard-nav {
    position: sticky;
    z-index: 2;
    bottom: max(8px, env(safe-area-inset-bottom));
    margin-top: auto;
    padding-bottom: 6px;
  }
  .dashboard #app > :nth-last-child(2) { margin-bottom: 12px; }
}

.journey-discoveries, .comparison-setting { border-top: 1px solid var(--border); margin-top: 15px; padding-top: 13px; }
.journey-discoveries ul { list-style: none; padding: 0; margin: 0; }
.journey-discoveries li { display: grid; gap: 3px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.journey-discoveries li span { color: var(--muted); font-size: 13px; }
.comparison-setting h2 { margin: 0 0 8px; font-size: 17px; }
.comparison-setting label { font-weight: 800; }
.comparison-setting label:has(> input[type="checkbox"]) { display: flex; align-items: center; min-height: 44px; gap: 10px; }
.comparison-setting input[type="checkbox"] { flex: none; width: 18px; height: 18px; accent-color: var(--purple); }
#comparison-setting-status:empty { display: none; }
#prompt-language { display: block; width: 100%; min-height: 44px; margin-top: 6px; padding: 8px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; }

#settings-recovery label { font-size: 14px; }
#settings-recovery form { margin-top: 13px; }
#settings-recovery p { margin-block: 8px; }
.recovery-status:empty { display: none; }

.moment-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.moment-clock { color: #9be7c9; font-size: 27px; font-weight: 900; font-variant-numeric: tabular-nums; }
.moment-icebreaker { margin: 8px 0; padding: 10px; background: var(--surface); border-radius: 8px; font-size: 13px; }
.moment-icebreaker:empty, .moment-status:empty { display: none; }
.moment-transcript { min-height: 94px; max-height: 250px; overflow: auto; display: flex; flex-direction: column; gap: 7px; padding: 9px 0; }
.moment-transcript p { margin: 0; padding: 8px 10px; border-radius: 9px; color: white; max-width: 85%; }
.moment-mine { align-self: flex-end; background: #6b33d0; }
.moment-theirs { align-self: flex-start; background: #38354d; }
#moment-panel form:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#moment-panel form label { width: 100%; font-size: 13px; }
#moment-panel select { flex: 1; min-width: 90px; min-height: 44px; padding: 5px; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
.moment-controls { display: flex; justify-content: space-between; gap: 8px; }

.invite-qr { display: block; max-width: 100%; height: auto; margin: 12px auto; border-radius: 8px; }
.arcade-grid { display: grid; gap: 4px; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-block: 12px; }
.arcade-grid .button { min-width: 0; padding-inline: 0; }
#arcade-game .button:not(.arcade-grid .button) { margin-block: 4px; }
#arcade-game label { display: grid; gap: 8px; margin-block: 8px; }
#arcade-game :is(input, select) { min-height: 44px; max-width: 100%; font: inherit; }

.feedback-panel { margin-block: 12px; text-align: left; }
.feedback-panel summary { cursor: pointer; padding-block: 10px; }
.feedback-panel label { display: grid; gap: 5px; margin-block: 10px; }
.feedback-panel :is(select, textarea) { width: 100%; min-height: 44px; font: inherit; color: inherit; background: #211e34; border: 1px solid #74688d; border-radius: 8px; padding: 8px; }

.party-shell #party .button { margin-block: 5px; }
.party-shell #party fieldset { border: 0; padding: 0; min-width: 0; }
.party-shell #party input[type="radio"] { accent-color: #b599ff; }
.party-shell .party-results { list-style: none; padding: 0; }
.party-results li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #524963; }
.party-results li > span { display: flex; align-items: center; gap: 8px; }
.host-display .party-shell { max-width: none; }
@media (min-width: 761px) and (display-mode: browser) {
  .host-display .party-shell { width: min(100% - 30px, 1000px); }
}
.host-display #party h1 { font-size: clamp(30px, 5vw, 60px); }
.host-display #party .party-results { font-size: clamp(17px, 2.8vw, 28px); }

.account-form label { display: grid; gap: 6px; margin: 12px 0; }
.account-form input { width: 100%; min-height: 44px; font: inherit; padding: 8px; border-radius: 8px; }
.account-notice { margin-top: 12px; padding: 12px; border: 1px solid #514768; border-radius: 10px; overflow-wrap: anywhere; }
.account-notice p { white-space: pre-wrap; }
.standalone-back { display: inline-flex; align-items: center; margin-inline-start: auto; text-decoration: none; text-align: right; }

.play-guide dt { margin-top: 12px; font-weight: 750; }
.play-guide dd { margin: 3px 0 0; color: var(--muted); }

.landing-page { --surface: #171629; }
.landing-page .header { justify-content: flex-end; }
.landing-page :is(.header .brand, footer),
body:not(.dashboard) .extra-guide { display: none; }
.landing-hero {
  padding: clamp(16px, 5vh, 48px) 0 clamp(20px, 4vh, 36px);
  text-align: center;
}
.landing-hero img { display: block; width: min(80%, 450px); height: auto; margin: 0 auto; }
.landing-players {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(86%, 505px);
  margin: clamp(10px, 3vw, 20px) auto 0;
  color: #a4aefa;
  font-size: clamp(12px, 2.5vw, 15px);
  text-transform: uppercase;
}
.landing-players span:last-child { color: #ffa6cf; }
.landing-hero h1 {
  margin: clamp(16px, 4vw, 29px) 0 4px;
  font-size: clamp(34px, 8.5vw, 62px);
  font-weight: 400;
  line-height: 1.07;
  text-transform: uppercase;
}
.landing-hero h1 span { color: #c4b2ff; }
.landing-hero p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: clamp(13px, 2.8vw, 16px);
}
.landing-actions { display: grid; gap: 7px; }
.landing-hero .landing-count { margin: 14px 0 0; font-size: 13px; }
.quick-play a.button { text-decoration: none; }
.landing-actions .button {
  justify-content: center;
  text-decoration: none;
  min-height: 46px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #7136dc;
  font-size: 15px;
}
.landing-actions .landing-secondary { border: 1px solid #554c74; background: #29263d; }
.landing-actions .landing-secondary:hover { background: #3a3053; }
.landing-actions [hidden] { display: none; }
@media (max-width: 760px), (display-mode: standalone) {
  .landing-page .shell > main { display: grid; align-content: center; flex: 1; }
}
