html[data-web-shell] {
  --web-ink: hsl(263 59.9% 91.0% / 1);
  --web-muted: hsl(263 33.9% 67.5% / 1);
  --web-gold: hsl(263 68.0% 71.6% / 1);
  --web-jade: #8bdfcb;
  --web-base: hsl(263 25.0% 7.1% / 1);
  --web-panel: hsl(263 30.2% 10.4% / 1);
  --web-line: hsl(263 33.3% 22.7% / 1);
  --web-font: "Segoe UI", Tahoma, Arial, sans-serif;
  --web-gutter: clamp(.65rem, 1.55vw, 2rem);
  --web-width: calc(100% - 2 * var(--web-gutter));
  color-scheme: dark;
}

html[data-web-shell]:not([data-saha-web]) { font-size: clamp(100%, calc(94% + .3vw), 137.5%); }

.web-body { box-sizing: border-box; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; margin: 0; color: var(--web-ink); background: radial-gradient(ellipse at 90% -15%, hsl(263 44.5% 18.2% / 0.302), transparent 52%), var(--web-base); font: 1rem / 1.65 var(--web-font); }
.web-body *, .web-body *::before, .web-body *::after, .web-header *, .web-skip { box-sizing: border-box; }
.web-body [hidden] { display: none !important; }
.web-body h1, .web-body h2, .web-body h3, .web-body p { margin: 0; }
.web-body :is(input, button, textarea, select), .web-header button { font: inherit; }
.web-body :is(a, button, input, textarea, select, summary):focus-visible,
.web-header :is(a, button):focus-visible, .web-skip:focus-visible { outline: 2px solid var(--web-jade); outline-offset: 3px; }
.web-body button:not(:disabled), .web-header button:not(:disabled) { cursor: pointer; }
.web-body button:disabled, .web-header button:disabled { opacity: .55; }
.web-body a { color: var(--web-gold); }

.web-skip { position: fixed; inset-inline-start: 1rem; inset-block-start: .65rem; translate: 0 -180%; z-index: 90; padding: .65rem 1rem; color: var(--web-base); background: var(--web-gold); border-radius: .4rem; text-decoration: none; }
.web-body .web-skip { color: var(--web-base); }
.web-skip:focus { translate: 0; }
body > .web-header { position: sticky; inset-block-start: 0; z-index: 30; display: block; width: 100%; max-width: none; min-height: 0; margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--web-line); border-radius: 0; background: hsl(263 28.7% 7.1% / 1); color: var(--web-ink); box-shadow: none; font-family: var(--web-font); }
.web-header-inner { width: var(--web-width); margin-inline: auto; min-height: 4.7rem; display: grid; grid-template-areas: "brand nav actions"; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.4rem; }
.web-brand { grid-area: brand; display: inline-flex; align-items: center; gap: .65rem; color: var(--web-ink); font-size: 1.06rem; font-weight: 800; white-space: nowrap; line-height: 1.25; text-decoration: none; }
.web-brand, .web-brand > span:last-child { min-width: 0; }
.web-brand small { display: block; margin-block-start: .2rem; color: var(--web-muted); text-align: right; font: 600 .6rem / 1.1 var(--web-font); letter-spacing: .2em; }
.web-brand-mark { display: block; flex: none; inline-size: 52px; block-size: 52px; object-fit: contain; }
.web-brand-name { display: block; max-width: 13rem; overflow: hidden; text-overflow: ellipsis; }
.web-nav { grid-area: nav; display: flex; flex-wrap: wrap; gap: .15rem .3rem; justify-content: center; min-width: 0; }
.web-header-actions { grid-area: actions; display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: .4rem; }
.web-logout { margin: 0; }
.web-nav a, .web-header .web-header-control { border: 1px solid transparent; border-radius: .55rem; display: inline-flex; align-items: center; justify-content: center; min-height: 2.65rem; padding: .4rem .68rem; color: var(--web-muted); background: none; box-shadow: none; font-size: .87rem; font-weight: 650; white-space: nowrap; text-decoration: none; }
.web-nav a:hover, .web-nav a[aria-current], .web-header .web-header-control:hover { color: var(--web-ink); background: hsl(263 36.6% 15.5% / 1); }
.web-nav a[aria-current], .web-header .web-header-control[aria-current] { border-color: hsl(263 38.0% 30.8% / 1); color: var(--web-gold); background: hsl(263 36.6% 15.5% / 1); }
.web-header .web-header-control { color: var(--web-ink); border-color: var(--web-line); }
.web-header .web-header-login { color: var(--web-gold); border-color: hsl(263 43.6% 39.8% / 1); }
html[data-saha-web] body > .web-header #audienceToggle { position: static; inset: auto; }
.web-native-back { display: inline-block; margin-block-start: .55rem; color: var(--web-gold); font-weight: 650; text-underline-offset: .24em; }
html[data-saha-web] :is(main.people-page, body:not(.match-view) main.play-page) { width: var(--web-width); margin-inline: auto; }
html[data-saha-web] :is(main.people-page, main.play-page) .page-context { padding-block-end: 1rem; border-bottom-color: var(--web-line); }
.audience-view > .web-header .web-nav, .audience-view > .web-header :is(#setupToggle, .web-logout) { display: none; }
.audience-view > .web-header .web-header-inner { grid-template-areas: "brand actions"; grid-template-columns: 1fr auto; min-height: 3.45rem; }

.web-body .web-page { flex: 1 0 auto; width: var(--web-width); margin: clamp(1rem, 2.6vw, 2.5rem) auto; }
.web-body .web-home { margin-block-start: clamp(1.25rem, 3.2vw, 2.8rem); }
.web-body .web-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .55rem 1rem; width: var(--web-width); margin-inline: auto; padding: 1.1rem 0; color: var(--web-muted); font-size: .875rem; border-top: 1px solid var(--web-line); }
.web-page > section, .web-page > article { min-width: 0; }
.web-body .web-card { min-width: 0; padding: clamp(1.2rem, 3.4vw, 2.6rem); border: 1px solid var(--web-line); border-radius: 1rem; background: linear-gradient(158deg, hsl(263 31.0% 12.2% / 1), var(--web-panel) 66%); }
.web-body :is(.web-card, .web-auth-card) h1 { font-size: clamp(2rem, 3.7vw, 3rem); line-height: 1.2; margin-block-end: .7rem; }
.web-body h2 { font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.4; }
.web-body :is(.web-card-heading, .web-section-heading) p, .web-entry-card p, .web-note { color: var(--web-muted); }
.web-card-heading { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: .4rem 1rem; }
.web-card-heading p { margin-block-start: .25rem; }
.web-section-heading { margin-block-end: 1rem; }
.web-section-heading p { margin-block-start: .4rem; }

.web-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(26rem, 40vw, 34rem); border: 1px solid hsl(263 41.1% 28.6% / 1); border-radius: 1.35rem; background: hsl(263 27.8% 8.4% / 1); overflow: clip; }
.web-hero-host { min-height: clamp(23rem, 34vw, 29rem); }
.web-hero-art { position: absolute; z-index: -1; inset: 0; }
.web-hero-copy { width: min(54%, 34rem); padding: clamp(1.8rem, 5vw, 4.6rem); padding-inline-end: .6rem; }
.web-body .web-eyebrow { display: flex; gap: .52rem; align-items: center; color: var(--web-gold); font-size: .88rem; font-weight: 700; margin-block-end: .8rem; }
.web-live-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--web-jade); box-shadow: 0 0 12px #8bdfcb80; }
.web-body .web-hero h1 { color: var(--web-ink); font-size: clamp(2.8rem, 6.3vw, 5.4rem); font-weight: 850; line-height: 1.03; letter-spacing: -.045em; overflow-wrap: anywhere; }
.web-public-hero .web-hero-copy { width: min(56%, 42rem); }
.web-body .web-public-hero h1 { font-size: clamp(2.8rem, 5.1vw, 4.75rem); }
.web-body .web-hero-host h1 { font-size: clamp(2.6rem, 5.2vw, 4.7rem); }
.web-hero h1 em { font-style: normal; color: var(--web-gold); }
.web-body .web-hero-copy > p:not(.web-eyebrow) { max-width: 31rem; margin-block: 1.2rem 1.7rem; color: hsl(263 42.9% 77.6% / 1); font-size: clamp(.95rem, 1.38vw, 1.15rem); line-height: 1.8; }
.web-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.web-body :is(.web-primary, .web-secondary) { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 2.9rem; padding: .58rem 1.05rem; border: 1px solid hsl(263 38.0% 34.5% / 1); border-radius: .58rem; background: hsl(263 35.0% 16.7% / 1); color: var(--web-ink); font-weight: 720; text-decoration: none; }
.web-body .web-primary { border-color: hsl(263 68.0% 78.6% / 1); background: linear-gradient(125deg, hsl(263 68.0% 77.6% / 1), hsl(263 68.0% 63.5% / 1)); color: hsl(263 42.3% 11.0% / 1); box-shadow: 0 5px 15px hsl(263 36.0% 4.7% / 0.4392); }
.web-body .web-primary:hover { background: hsl(263 68.0% 78.4% / 1); }
.web-body .web-secondary:hover { border-color: hsl(263 42.4% 51.8% / 1); background: hsl(263 38.1% 20.4% / 1); }
.web-text-link { white-space: normal; font-size: .88rem; font-weight: 700; text-decoration: none; }
.web-text-link:hover { text-decoration: underline; }
.web-public-section { margin-block-start: clamp(2.3rem, 6vw, 5.1rem); scroll-margin-top: 7.5rem; }
.web-public-section > .web-section-heading h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.web-invite-link { display: inline-block; margin-block-start: 1rem; }
.web-how-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 1rem; }
.web-game-steps { list-style: none; margin: 0; padding: 0; counter-reset: game-step; display: grid; gap: .65rem; }
.web-game-steps li { counter-increment: game-step; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .85rem; padding: .66rem .85rem; border: 1px solid var(--web-line); border-radius: .6rem; background: hsl(263 29.0% 8.6% / 1); }
.web-game-steps li::before { content: counter(game-step); grid-row: span 2; display: grid; place-items: center; width: 2rem; height: 2rem; color: var(--web-gold); background: hsl(263 40.4% 15.7% / 1); border-radius: .45rem; font-weight: 800; }
.web-game-steps h3 { font-size: 1rem; }
.web-game-steps p, .web-faq p { color: var(--web-muted); font-size: .92rem; }
.web-body .web-question-sample { display: grid; align-content: start; gap: 1.25rem; border-color: hsl(263 36.0% 32.4% / 1); background: radial-gradient(ellipse at 0 0, hsl(263 26.2% 15.9% / 1), transparent 70%), hsl(263 28.3% 9.0% / 1); }
.web-question-sample header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.web-question-sample header span { color: var(--web-jade); font-size: .82rem; font-weight: 700; }
.web-question-sample > p { font-size: clamp(1.3rem, 3vw, 2.15rem); font-weight: 750; }
.web-faq { display: grid; gap: .55rem; }
:is(.web-question-sample, .web-faq) details { background: hsl(263 27.2% 7.8% / 1); padding: 0 .85rem; border: 1px solid var(--web-line); border-radius: .56rem; }
:is(.web-question-sample, .web-faq) summary { padding-block: .7rem; cursor: pointer; color: var(--web-gold); font-weight: 700; }
:is(.web-question-sample, .web-faq) details p { padding-block: 0 .8rem; }
.web-empty { color: var(--web-muted); padding-block: .55rem; }
.web-home-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); margin-block-start: 1rem; gap: 1rem; }
.web-body .web-entry-card { padding: 1.25rem 1.42rem; color: var(--web-ink); text-decoration: none; }
.web-entry-icon { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; border-radius: .6rem; border: 1px solid hsl(263 38.8% 33.9% / 1); margin-block-end: .8rem; background: hsl(263 43.7% 17.8% / 1); color: hsl(263 68.0% 75.9% / 1); font-size: 1.25rem; }
.web-entry-card h3, .web-entry-card h2 { font-size: 1.12rem; }
.web-entry-card p { margin-block-start: .28rem; font-size: .91rem; }
.web-body a.web-entry-card:hover { border-color: var(--web-gold); }
.web-dashboard { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 1rem; margin-block: 1rem; }
.web-body .web-dashboard .web-card { padding: 1.35rem 1.5rem; }
.web-balance-number strong { color: var(--web-gold); font-size: 2.2rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.web-team-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .5rem; list-style: none; padding: 0; margin-block: .9rem 0; }
.web-team-strip li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .55rem .65rem; border: 1px solid var(--web-line); border-radius: .5rem; background: hsl(263 25.3% 8.0% / 1); }
.web-team-strip span { overflow-wrap: anywhere; }
.web-team-strip strong { color: var(--web-jade); }
.web-bank-strip { padding: 1rem 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: .6rem 1rem; border: 1px solid var(--web-line); border-inline-start: 3px solid var(--web-jade); border-radius: .7rem; background: #20211a; }
.web-bank-strip h2 { font-size: 1.05rem; }
.web-bank-strip p { color: var(--web-muted); font-size: .88rem; }

.web-auth { width: min(100%, 60rem); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); border: 1px solid var(--web-line); border-radius: 1.2rem; overflow: clip; background: hsl(263 30.2% 10.4% / 1); }
.web-auth-card { padding: clamp(1.35rem, 4.6vw, 3.4rem); }
.web-auth-art { min-height: 100%; }
.web-form { width: min(100%, 39rem); margin-inline: auto; }
.web-form form, .web-auth-card form, .web-editor form { display: grid; gap: .85rem; margin-block: 1.2rem; }
.web-form form button, .web-auth-card form button, .web-editor form button { justify-self: start; }
.web-body form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]), textarea, select) { display: block; width: 100%; min-width: 0; padding: .58rem .75rem; border: 1px solid hsl(263 35.0% 35.1% / 1); border-radius: .52rem; color: var(--web-ink); background: hsl(263 30.1% 7.3% / 1); }
.web-body form label { display: block; }
.web-body form label:has(input[type=checkbox]) { display: inline; }
.web-body input:is([type=checkbox], [type=radio]) { accent-color: var(--web-jade); }
.web-body form .helptext, .web-body form ul:not(.errorlist) { color: var(--web-muted); font-size: .82rem; }
.web-error, .web-body .errorlist { color: hsl(263 68.0% 85.7% / 1); overflow-wrap: anywhere; }
.web-error, .web-billing-note { padding: .7rem .85rem; border-inline-start: 3px solid; background: hsl(263 34.8% 14.3% / 1); border-radius: .35rem; }
.web-billing-note { color: #b2e9dc; background: #1d2b23; }
.web-body form :is(.helptext, .errorlist), .web-body .web-scores { margin-block: .35rem; }

.web-body .web-page-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; margin-block-end: 1.55rem; }
.web-body .web-page-heading h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.2; color: var(--web-ink); }
.web-page-heading p { color: var(--web-muted); margin-block-start: .45rem; }
.web-breadcrumb { display: flex; gap: .65rem; align-items: center; flex-wrap: wrap; margin-block-end: .8rem; font-size: .88rem; }
.web-breadcrumb span { color: var(--web-muted); }
.web-page .web-scores { padding: 0; list-style: none; }
.web-scores > li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding: .72rem 0; border-bottom: 1px solid var(--web-line); }
.web-scores > li:last-child { border-bottom: 0; }
.web-import-levels { display: flex; flex-wrap: wrap; gap: .25rem .65rem; color: var(--web-muted); }
.web-editor code { overflow-wrap: anywhere; }
.web-package-grid, .web-history-teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .85rem; margin-block: 1rem; }
.web-package-grid article, .web-history-teams article { padding: 1.2rem; background: hsl(263 25.3% 8.0% / 1); border: 1px solid var(--web-line); border-radius: .75rem; }
.web-package-grid article:has(.web-plan-price) { display: flex; flex-direction: column; align-items: start; }
.web-package-grid article form { margin-block-start: auto; padding-block-start: .75rem; }
.web-package-grid .web-plan-price { margin-block: .55rem; color: var(--web-gold); font-size: 1.28rem; font-weight: 700; }
.web-plan .web-plan-kind { color: var(--web-jade); font-size: .78rem; font-weight: 700; }
.web-plan h3 { margin-block: .25rem; }
.web-plan p { color: var(--web-muted); }
.web-plan .web-plan-price small { color: var(--web-muted); font-size: .72em; }
.web-plan > a { margin-block-start: auto; }
.web-body .web-checkout section + section { margin-block-start: 1.2rem; }
.web-body .web-checkout h2 { margin-block-end: .45rem; }
.web-checkout form { display: flex; flex-wrap: wrap; gap: .7rem; margin-block: 1rem; }
.web-checkout small { overflow-wrap: anywhere; }
.web-order-status { color: var(--web-gold); }
.web-order-status[data-order-status="paid"] { color: var(--web-jade); }
.web-order-date { display: block; color: var(--web-muted); }
.web-balance-panel, .web-wallet-log { margin-block: 1rem; }
.web-wallet-log { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.web-history-list { list-style: none; padding: 0; margin: 0; }
.web-history-list li + li { border-top: 1px solid var(--web-line); }
.web-history-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .6rem 1rem; padding: .95rem .6rem; text-decoration: none; border-radius: .5rem; }
.web-history-list a:hover { background: hsl(263 34.0% 16.9% / 1); }
.web-history-list time { color: var(--web-muted); font-size: .85rem; }
.web-history-list strong { display: block; overflow-wrap: anywhere; color: var(--web-ink); }
.web-history .web-history-table { overflow-x: auto; margin-block: .55rem 1.45rem; }
.web-history-table table { width: 100%; min-width: 34rem; border-collapse: collapse; }
.web-history-table :is(th, td) { padding: .62rem .7rem; border-bottom: 1px solid var(--web-line); text-align: start; }
.web-history-table thead { background: hsl(263 37.6% 16.5% / 1); color: var(--web-gold); }
.web-history-teams strong { color: var(--web-gold); }
.web-history section + section { margin-block-start: 1.6rem; }
.web-auth-card .web-secondary, .web-form .web-secondary { margin-block: .15rem; }
.web-support p { margin-block: .55rem 1rem; color: var(--web-muted); }
.web-support dl { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem 1rem; }
.web-support dd { margin: 0; color: var(--web-gold); }
.web-platform-status { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .7rem; margin-block-end: 1rem; }
.web-platform-status div { padding: .75rem 1rem; background: var(--web-panel); border: 1px solid var(--web-line); border-radius: .6rem; }
.web-platform-status dt { color: var(--web-muted); }
.web-platform-status dd { margin: 0; color: var(--web-jade); font-weight: 700; }
.web-platform-list { overflow-wrap: anywhere; }
.web-body .web-actions [aria-current="page"] { border-color: var(--web-gold); color: var(--web-gold); }
.web-error-actions { margin-block-start: 1rem; }
.web-account-sessions { margin-block: 1.55rem; padding-block-start: 1rem; border-top: 1px solid var(--web-line); }
.web-account-sessions p { margin-block-start: .35rem; }
html[data-saha-web] #roundSetup .setup-readiness:has(.web-readiness-error) { background: hsl(263 33.6% 14.5% / 1); border-color: hsl(263 43.3% 45.9% / 1); }
html[data-saha-web] #roundSetup #setupReadinessSummary:has(.web-readiness-error) { color: hsl(263 66.6% 78.8% / 1); }
#setupReadinessSummary ul { flex-basis: 100%; margin-block: .25rem; padding-inline-start: 1.4rem; max-height: 8rem; overflow-y: auto; }
#setupReadinessSummary li + li { margin-block-start: .22rem; }

.web-body .web-page, html[data-saha-web] main.people-page { animation: 185ms ease-out both web-page-arrive; }
@keyframes web-page-arrive { from { opacity: .55; } }
html[data-saha-web] #roundSetup [data-setup-panel]:not([hidden]) { animation: 170ms ease-out both web-setup-arrive; }
html[data-saha-web] body.reduced-motion #roundSetup [data-setup-panel]:not([hidden]) { animation: none; }
@keyframes web-setup-arrive { from { opacity: .45; translate: 0 4px; } }
.web-nav a, .web-header-control, .web-entry-card, .web-primary, .web-secondary, .web-history-list a { transition: background-color .14s ease, border-color .14s ease, color .14s ease; }

@media (max-width: 62rem) {
  .web-header-inner { grid-template-areas: "brand actions" "nav nav"; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem .65rem; padding-block: .75rem .4rem; min-height: 0; }
  .web-nav { justify-content: flex-start; }
}
@media (max-width: 42rem) {
  .web-header-inner { grid-template-columns: minmax(0, 1fr) minmax(0, max-content); }
  .web-brand { font-size: .9rem; gap: .4rem; }
  .web-brand-name { white-space: normal; overflow-wrap: anywhere; }
  .web-brand small { display: none; }
  .web-nav { gap: .15rem; }
  .web-nav a, .web-header .web-header-control { min-height: 2.4rem; padding: .24rem .34rem; font-size: .85rem; }
  .web-hero, .web-hero-host { min-height: 0; align-items: end; }
  .web-hero-copy { width: 100%; padding: clamp(8.5rem, 44vw, 15rem) 1.15rem 1.45rem; }
  .web-public-hero .web-hero-copy { width: 100%; }
  .web-body .web-hero-host .web-hero-copy { padding-block-start: clamp(6.5rem, 35vw, 12rem); }
  .web-body .web-hero h1 { font-size: clamp(2.45rem, 11.5vw, 3.7rem); }
  .web-body .web-public-hero h1 { font-size: clamp(2.2rem, 9.1vw, 3.4rem); }
  .web-dashboard, .web-wallet-log, .web-auth { grid-template-columns: 1fr; }
  .web-how-layout { grid-template-columns: 1fr; }
  .web-public-section { scroll-margin-top: 7rem; }
  .web-auth-art { display: none; }
  .web-bank-strip { align-items: start; flex-direction: column; }
  .web-nav a, .web-card a, .web-history-list strong { overflow-wrap: anywhere; }
  html[data-saha-web] .web-header-inner { grid-template-areas: "brand nav" "actions actions"; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); }
  html[data-saha-web] .web-header-actions { justify-content: start; }
  html[data-saha-web] .audience-view > .web-header .web-header-inner { grid-template-areas: "brand actions"; grid-template-columns: 1fr auto; }
}

@media (max-width: 24rem) {
  body > .web-header { position: static; }
  .web-header-inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); }
}

@media (orientation: landscape) and (max-height: 32rem) {
  body > .web-header { position: static; }
  .web-header-inner { padding-block: .35rem; }
  .web-body .web-page { margin-block: .85rem 1.4rem; }
}

@media (orientation: landscape) and (min-width: 48rem) and (max-height: 32rem) {
  .web-header-inner {
    grid-template-areas: "brand nav actions";
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .55rem;
  }
  .web-nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .web-body .web-page, html[data-saha-web] main.people-page,
  html[data-saha-web] #roundSetup [data-setup-panel]:not([hidden]) { animation: none; }
  .web-nav a, .web-header-control, .web-entry-card, .web-primary, .web-secondary, .web-history-list a { transition: none; }
}

.web-result-hero { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: clamp(1.1rem, 3.5vw, 2.2rem); margin-block: .65rem 1rem; border: 1px solid hsl(263 42.3% 49.4% / 1); border-radius: .85rem; background: radial-gradient(ellipse at 87% 0, hsl(263 44.2% 25.3% / 1), hsl(263 33.2% 12.2% / 1) 76%); }
.web-result-hero h2 { color: var(--web-gold); font-size: clamp(1.55rem, 3vw, 2.5rem); overflow-wrap: anywhere; }
.web-result-hero dl { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; margin: 0; }
.web-result-hero dt { color: var(--web-muted); font-size: .86rem; }
.web-result-hero dd { margin: .3rem 0 0; color: var(--web-ink); font-size: 1.2rem; font-weight: 750; }
.web-history-teams .web-team-leader { border-color: hsl(263 40.2% 47.5% / 1); background: linear-gradient(145deg, hsl(263 38.4% 18.0% / 1), hsl(263 30.2% 10.4% / 1)); }

.editorial-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); gap: .65rem; margin-block: 0 1.15rem; }
.editorial-metrics > div { min-width: 0; padding: .8rem 1rem; border: 1px solid var(--web-line); border-inline-start: 3px solid var(--web-jade); border-radius: .6rem; background: hsl(263 29.2% 12.7% / 1); }
.editorial-metrics dt { font-size: .88rem; color: var(--web-muted); }
.editorial-metrics dd { margin: .2rem 0 0; color: var(--web-gold); font-size: clamp(1.45rem, 2.5vw, 2.25rem); font-weight: 820; }
.editorial-workspace .editorial-panel { margin-block: .95rem; padding: clamp(1rem, 2.65vw, 2rem); }
.editorial-filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; margin-block: 1rem; }
.editorial-filters label { flex: 1 1 11rem; }
.editorial-filters :is(input, select) { margin-block-start: .3rem; }
.editorial-list small { display: block; margin-block-start: .25rem; color: var(--web-muted); }
.editorial-pages, .editorial-publish { margin-block: .9rem; }
.editorial-state { display: inline-block; width: fit-content; padding: .25rem .56rem; color: hsl(263 68.0% 85.1% / 1); border: 1px solid hsl(263 40.4% 41.2% / 1); border-radius: .38rem; background: hsl(263 38.3% 14.9% / 1); font-size: .83rem; font-weight: 700; }
.editorial-state[data-status="published"] { color: #b6f0df; border-color: #4d9e8a; background: #1a3029; }
.editorial-state[data-status="archived"] { color: hsl(263 42.1% 78.8% / 1); border-color: hsl(263 25.4% 34.1% / 1); background: hsl(263 24.2% 15.3% / 1); }
.editorial-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .55rem; }
.editorial-summary li { list-style: none; padding: .45rem .6rem; background: hsl(263 31.1% 10.6% / 1); border-radius: .45rem; }
.editorial-detail { display: grid; gap: .65rem; }
.editorial-detail :is(textarea, input) { margin-block-start: .3rem; }
.editorial-detail :is(summary, label) { color: var(--web-ink); }
.editorial-detail summary { cursor: pointer; margin-block: .5rem; }
.editorial-detail .web-actions { margin-block: .3rem; }
.editorial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .75rem; }
.editorial-preview blockquote { margin: .5rem 0; padding: .75rem; border-inline-start: 3px solid var(--web-jade); background: hsl(263 24.7% 8.4% / 1); white-space: pre-wrap; overflow-wrap: anywhere; }
.editorial-preview li, .editorial-detail :is(code, a) { overflow-wrap: anywhere; }

.editorial-preview :is(img, video, audio) { display: block; max-width: 100%; margin-block: .65rem; }
.editorial-preview :is(img, video) { max-height: 380px; object-fit: contain; border-radius: .55rem; }
.editorial-preview [aria-current="page"] { border-color: var(--web-jade); color: var(--web-jade); }

.editorial-detail [hidden] { display: none; }
.editorial-field, .editorial-row > div { margin-block: .45rem; min-width: 0; }
.editorial-field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .65rem; }
.editorial-rows { border-top: 1px solid var(--web-line); padding-block-start: .7rem; }
.editorial-rows h3 { margin-block: 0 .65rem; }
.editorial-rows [data-edit-rows] { display: grid; gap: .65rem; margin-block-end: .55rem; }
.editorial-row { min-width: 0; margin: 0; padding: .3rem .65rem .6rem; border: 1px solid hsl(263 37.1% 31.4% / 1); border-radius: .5rem; background: hsl(263 30.1% 8.8% / 1); }
.editorial-row legend { padding-inline: .35rem; color: var(--web-gold); font-size: .88rem; }
.editorial-row-removed > div:not(.editorial-delete) { display: none; }
.editorial-row-removed legend { color: var(--web-muted); }
.editorial-detail :is(input, textarea)[name$="-src"], .editorial-detail input[name$="Image"], .editorial-detail input[name="videoPoster"] { direction: ltr; }

html[data-saha-web] #roundSetup { scroll-margin-block-start: 8rem; }
.web-setup-save { display: grid; gap: .45rem; margin-block: .5rem; }
.web-setup-save a { color: var(--web-gold); font-size: .85rem; text-underline-offset: .2em; }
.web-setup-save p { margin: 0; color: var(--web-ink); font-size: .85rem; }
.web-setup-save p:empty { display: none; }

.editorial-asset { padding: .7rem 0; display: grid; gap: .35rem; }
.editorial-asset input { min-width: 0; width: 100%; padding: .45rem; border: 1px solid var(--web-line); border-radius: .4rem; color: var(--web-ink); background: hsl(263 30.1% 7.3% / 1); }

.editorial-grid { align-items: start; }
.editorial-save { position: sticky; z-index: 1; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .75rem; padding: .65rem; border: 1px solid var(--web-line); border-radius: .55rem; background: hsl(263 32.0% 10.8% / 1); }
.editorial-save p { margin: 0; color: var(--web-muted); font-size: .85rem; }
.editorial-save p:empty { display: none; }
.editorial-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .65rem; }
.editorial-row .errorlist, .editorial-row .editorial-delete { grid-column: 1 / -1; }
.web-body .editorial-row .editorial-delete label { display: inline; margin-inline-start: .25rem; }
.editorial-row textarea[name$="_images"], .editorial-detail textarea[name$="Images72"], .editorial-detail textarea[name="revealImages"] { direction: ltr; }
@media (max-width: 760px) { .editorial-row { grid-template-columns: minmax(0, 1fr); } }
.web-history-logo { object-fit: contain; vertical-align: middle; margin-inline-end: .55rem; }

.player-profile-page { max-inline-size: 70rem; }
.player-profile-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.75rem, 2.6vw, 1.8rem);
  border-color: hsl(263 36.4% 41.0% / 1);
  background: radial-gradient(ellipse at 92% 4%, hsl(263 39.0% 17.1% / 1), hsl(263 30.2% 10.4% / 1) 68%);
}
.player-profile-portrait {
  display: grid;
  place-items: center;
  inline-size: clamp(4rem, 9vw, 6rem);
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid hsl(263 42.1% 54.9% / 1);
  background: #242922;
  color: hsl(263 68.0% 73.5% / 1);
}
.player-profile-portrait img { inline-size: 100%; block-size: 100%; object-fit: contain; }
.player-avatar-default { font-size: clamp(1.85rem, 4vw, 2.8rem); font-weight: 800; }
.player-profile-identity > p { margin: .3rem 0; }
.player-profile-identity h1 { margin: .35rem 0; overflow-wrap: anywhere; }
.player-profile-kicker { color: hsl(263 61.4% 73.5% / 1); font-size: .85rem; }
.player-profile-handle { color: hsl(263 46.0% 74.9% / 1); overflow-wrap: anywhere; }
.player-profile-visibility { color: #a7e0d0; font-size: .86rem; }
.player-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.player-profile-grid .web-card { margin-block: 0; min-inline-size: 0; }
.player-profile-stats { margin-block: 1rem; }
.player-profile-stats dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin: 0; }
.player-profile-stats dl > div { padding: .85rem 1rem; border-radius: .7rem; background: hsl(263 32.6% 12.5% / 1); }
.player-profile-stats dt { color: hsl(263 48.1% 77.3% / 1); font-size: .93rem; }
.player-profile-stats dd { margin: .4rem 0 0; font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; color: #a8e2d3; }
.player-profile-section-header { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.player-profile-rounds { list-style: none; margin: 0; padding: 0; }
.player-profile-rounds li + li { border-block-start: 1px solid var(--web-line); }
.player-profile-rounds a { display: flex; align-items: center; justify-content: space-between; gap: .9rem; padding-block: .65rem; }
.player-profile-rounds :is(small, time), .player-profile-form small { color: hsl(263 31.7% 70.0% / 1); }
.player-profile-rounds small { display: block; }
.player-profile-form { display: grid; gap: .6rem; margin-block: .55rem 0; }
.player-profile-form :is(input:not([type=checkbox]), select) {
  box-sizing: border-box;
  inline-size: 100%;
  min-inline-size: 0;
  padding: .6rem;
  border: 1px solid var(--web-line);
  border-radius: .55rem;
  background: hsl(263 27.8% 8.4% / 1);
  color: var(--web-ink);
}
.player-profile-form :is(button, .player-profile-toggle) { justify-self: start; }
.player-profile-form .player-profile-toggle { display: flex; align-items: center; min-block-size: 2.3rem; gap: .6rem; }
.player-profile-form [type=checkbox] { inline-size: 1.12rem; block-size: 1.12rem; accent-color: hsl(263 58.9% 65.7% / 1); }
.player-profile-form .errorlist { margin: 0; color: hsl(263 68.0% 84.7% / 1); }
.player-profile-remove { margin-block-start: .65rem; }
.player-profile-report summary { cursor: pointer; }
.player-profile-report { margin-block-start: 1rem; }
@media (max-width: 670px) {
  .player-profile-grid { grid-template-columns: minmax(0, 1fr); }
  .player-profile-heading { grid-template-columns: auto minmax(0, 1fr); }
  .player-profile-heading nav { grid-column: 1 / -1; }
}
.saha-signup { max-inline-size: 54rem; margin-inline: auto; }
.saha-signup-small { max-inline-size: 39rem; }
.saha-signup .web-card { max-inline-size: none; }
.saha-signup h1 { margin-block: 0 .4rem; }
.saha-signup header p { margin-block: 0 1.25rem; }
.saha-signup-form { display: grid; gap: 1.1rem; }
.saha-signup-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem 1.2rem; }
.saha-signup-field { display: grid; align-content: start; gap: .35rem; min-inline-size: 0; }
.saha-signup-field label { font-weight: 700; }
.saha-signup-field :is(input, select) { box-sizing: border-box; inline-size: 100%; min-block-size: 2.7rem; }
.saha-signup-field small { opacity: .9; line-height: 1.45; }
.saha-signup .errorlist { margin-block: 0; padding-inline-start: 1.1rem; color: hsl(263 68.0% 83.5% / 1); }
.saha-signup-field-error :is(input, select), .saha-signup [aria-invalid="true"] { outline: 2px solid hsl(263 64.1% 69.0% / 1); }
.saha-signup-form > button { justify-self: start; }
.saha-signup-small .web-actions { margin-block-start: 1.1rem; }
@media (max-width: 42rem) {
    .saha-signup-fields { grid-template-columns: 1fr; }
    .saha-signup-form > button { justify-self: stretch; }
}
.web-body .web-hero-copy > p.web-preview-entry-note {
  margin-block: .85rem 0;
  font-size: .9rem;
  color: hsl(263 50.7% 85.9% / 1);
}
.web-auth-help {
  margin-block-start: .9rem;
  padding-block-start: .75rem;
  border-block-start: 1px solid hsl(263 34.8% 29.2% / 1);
}
.web-auth-help p { margin-block: .35rem; }
.web-body [aria-invalid="true"] { outline: 1px solid hsl(263 60.7% 73.1% / 1); outline-offset: 2px; }
@media (max-width: 700px) {
  .web-body .web-home .web-hero-host .web-hero-copy { padding-block-start: clamp(5rem, 20vw, 9rem); }
}
/* Keep account destinations together while the play destinations stay in reach. */
.web-header .host-menu { position: relative; align-self: center; padding: 0; margin: 0; background: transparent; border: 0; }
.web-header .host-menu summary { cursor: pointer; padding: .55rem .7rem; color: var(--web-muted); font-size: .87rem; font-weight: 650; }
.web-header .host-menu[open] summary, .web-header .host-menu:has([aria-current]) summary { color: var(--web-gold); }
.web-header .host-menu summary:focus-visible { outline: 2px solid var(--web-jade); border-radius: .45rem; }
.web-header .host-menu > div { position: absolute; inset-inline-end: 0; inset-block-start: 100%; z-index: 5; display: grid; min-inline-size: 10rem; padding: .35rem; background: hsl(263 31.6% 11.8% / 1); border: 1px solid hsl(263 38.4% 39.2% / 1); border-radius: .65rem; box-shadow: 0 .6rem 1.5rem #0007; }
.web-header .host-menu > div a { justify-content: start; min-height: 2.65rem; }
@media (max-width: 700px) {
  html[data-web-shell] .web-header-inner:has(.host-menu) { grid-template-areas: "brand actions" "nav nav"; grid-template-columns: minmax(0,1fr) auto; }
  .web-header-inner:has(.host-menu) .web-nav { justify-content: start; }
  .web-header-inner:has(.host-menu) .web-header-actions { max-inline-size: 60vw; }
  .web-header .host-menu { position: static; }
  .web-header .web-nav:has(.host-menu) { position: relative; }
  .web-header .host-menu summary { font-size: .78rem; padding: .42rem; }
  html[data-web-shell] .audience-view .web-header-inner:has(.host-menu) { grid-template-areas: "brand actions"; }
}
.player-shell .web-page { margin-block:clamp(1.25rem,3.6vw,3rem); }
.player-shell .web-page-heading { align-items:center; border-block-end:1px solid var(--web-line); padding-block-end:1rem; }
.player-shell :is(.web-card,.web-auth-card) { overflow-wrap:anywhere; }
.player-shell .web-form > h1, .player-shell .web-auth-card h1 { margin-block-start:0; line-height:1.35; }
.player-shell .web-page :is(h2,h3)[id] { scroll-margin-block-start:9rem; }
.player-shell :is(button,a,summary,input,select,textarea):focus-visible { outline:2px solid var(--web-jade); outline-offset:3px; }
.web-body :is(input,textarea,select)[aria-invalid="true"] { border-color:hsl(263 68.0% 79.4% / 1); }
.web-body .errorlist { color:hsl(263 68.0% 85.9% / 1); padding-inline-start:1.2rem; }
.section-links { display:flex; flex-wrap:wrap; gap:.35rem; padding:.45rem; border:1px solid var(--web-line); border-radius:.75rem; background:hsl(263 28.7% 10.6% / 1); margin-block:1rem; }
.section-links a { padding:.45rem .8rem; color:var(--web-ink); border-radius:.45rem; text-decoration:none; }
.section-links a:hover, .section-links a:focus-visible { color:var(--web-gold); background:hsl(263 33.1% 17.6% / 1); }
.account-layout { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; align-items:stretch; }
.account-layout > .web-card { margin:0; }
.account-layout h2 { margin-block-start:0; }
.account-security { grid-column:1/-1; }
.account-links { display:grid; gap:.45rem; }
.account-links a { justify-content:start; }
.account-facts { display:grid; grid-template-columns:auto minmax(0,1fr); gap:.65rem 1rem; }
.account-facts dt { color:var(--web-muted); }
.account-facts dd { margin:0; font-weight:700; }
@media(max-width:680px) {
 .account-layout { grid-template-columns:1fr; }
 .player-shell .web-page :is(h2,h3)[id] { scroll-margin-block-start:12rem; }
 .player-shell .web-page-heading .web-actions { width:100%; }
 .section-links a { flex:auto; text-align:center; }
}
.web-header-actions .host-menu { position:relative; }
.web-header-actions .host-menu summary { border:1px solid hsl(263 34.0% 30.4% / 1); border-radius:.55rem; color:var(--web-ink); }
.web-header-actions .host-menu > div { inset-inline-end:0; min-width:12rem; }
.web-header-actions .host-menu a, .web-header-actions .host-menu form button { display:block; text-align:start; color:var(--web-ink); text-decoration:none; border:0; border-radius:.4rem; background:transparent; padding:.6rem .75rem; font:inherit; font-size:.9rem; }
.web-header-actions .host-menu a:hover,.web-header-actions .host-menu a[aria-current] { background:hsl(263 36.5% 16.7% / 1); color:var(--web-gold); }
.web-header-actions .host-menu form { border-top:1px solid var(--web-line); }
.audience-view > .web-header .host-menu { display:none; }
@media(max-width:700px) {
 .web-header-inner:has(.host-menu) .web-nav { justify-content:space-between; }
 .web-header-actions .host-menu summary { min-height:2.35rem; }
}

.sar-price { display: inline-flex; flex: 0 0 auto; align-items: baseline; direction: ltr; unicode-bidi: isolate; white-space: nowrap; gap: .22em; font-variant-numeric: tabular-nums; }
.sar-price svg { flex: none; align-self: center; inline-size: .7em; block-size: .8em; fill: currentColor; }
.finance-sr-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
