:root {
  color-scheme: dark;
  --ink: #f4f6ed;
  --muted: #a4aea5;
  --lime: #d8fa7a;
  --base: #101510;
  --panel: #171e17;
  --line: #323d32;
  --mono: 'Cascadia Mono', Consolas, monospace;
  font-family: 'Segoe UI', Arial, sans-serif;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--base); color: var(--ink); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.shell { width: min(1260px, calc(100% - 64px)); margin: 0 auto; }
.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; letter-spacing: -.055em; }
.brand-mark { display: inline-grid; flex: 0 0 auto; place-items: center; inline-size: 30px; block-size: 30px;
  border-radius: 50%; background: var(--lime); color: var(--base); font: 800 13px/1 'Segoe UI', Arial, sans-serif; letter-spacing: 0; }
.brand-mark-raised { inline-size: 2em; block-size: 2em; margin-inline-start: .4em; font-size: .21em; vertical-align: super; }
.brand-accent, .eyebrow span { color: var(--lime); }
nav { display: flex; gap: clamp(15px, 4vw, 38px); color: var(--muted); font-size: 14px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
nav a:hover, .footer a:hover { color: var(--lime); }
.eyebrow { font: 600 11px/1.4 var(--mono); letter-spacing: .12em; }
.togar-sponsor { display: grid; justify-items: center; gap: 2px; white-space: nowrap; color: #72e6d1; }
.togar-sponsor span, .togar-sponsor small { font: 700 10px/1.2 var(--mono); }
.togar-sponsor span { text-transform: uppercase; letter-spacing: .08em; }
.togar-sponsor strong { display: flex; align-items: center; gap: .36em; font: 700 1em/1 Georgia, serif; letter-spacing: .12em; }
.togar-sponsor i { display: block; width: .19em; height: .62em; margin: 0 .36em 0 .24em; background: #35c9b9; box-shadow: -.24em 0 #14b8a6, .24em 0 #72e6d1; transform: skewX(-20deg); }
.togar-sponsor-small { padding: 5px 0; }
.togar-sponsor-small span { color: #a4aea5; }
.togar-sponsor-hero { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  width: fit-content; max-width: 100%; min-height: 44px; margin-top: 15px; padding: 7px 13px;
  border: 2px solid #51b7a9; border-radius: 8px; background: #0f172a; }
.togar-sponsor-hero span { color: #c4dbdf; }
.togar-sponsor-hero strong { font-size: 23px; }
.togar-sponsor-hero:hover { background: #172638; border-color: #72e6d1; }
.hero { margin-top: 21px; display: block; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #182019; }
.hero-copy { padding: 24px clamp(20px, 3vw, 37px); align-self: center; }
.eyebrow { margin: 0 0 14px; color: #c2d0bf; }
h1, h2, h3, h4 { margin: 0; line-height: 1.02; letter-spacing: -.055em; }
h1 { font-size: clamp(55px, 7vw, 98px); font-weight: 850; line-height: .88; }
h1 em { color: var(--lime); font-weight: 800; }
.hero h1 { font-size: clamp(38px, 5.2vw, 68px); line-height: .96; }
.hero h1 em { display: inline; font-style: normal; white-space: nowrap; }
.hero-copy > p { color: #c6d0c5; max-width: 49ch; line-height: 1.5; margin: 13px 0 16px; font-size: 17px; }
.cta { display: inline-flex; align-items: center; gap: 28px; border-radius: 10px; padding: 13px 17px; background: var(--lime); color: var(--base); font-weight: 750; }
.cta:hover { background: #ecffbc; }
/* The height is reserved while empty, so filling the line moves nothing. */
.hero-copy > #hero-last-match { max-width: none; min-height: 1.5em; margin: 0 0 12px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.hero-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-align: center; }
.hero-actions > .text-link { padding-inline: 8px; }
.secondary-link { padding: 13px 17px; border: 1px solid var(--lime); border-radius: 10px; color: var(--lime); font-weight: 750; }
.secondary-link:hover { background: var(--panel); }
.form-check-panel { border: 1px solid var(--line); border-top: 3px solid var(--lime); border-radius: 20px;
  background: var(--panel); padding: clamp(18px, 3.2vw, 36px); }
.form-check-panel .compare-head p { margin: 10px 0 0; line-height: 1.45; }
.form-check-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.form-check-picks button, #form-check-options button { min-height: 44px; text-align: start; overflow-wrap: anywhere; }
.form-check-picks button { min-height: 68px; padding: 14px 16px; font-size: clamp(15px, 2vw, 19px); font-weight: 700; }
.form-check-picks button[data-next] { border-color: var(--lime); background: var(--lime); color: var(--base); }
.form-check-picks button[data-next]:hover { filter: brightness(1.08); }
#form-check-status:empty { display: none; }
.section-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.section-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; white-space: nowrap; }
.form-check-country { display: grid; gap: 4px; margin-bottom: 12px; }
.form-check-country select { min-height: 44px; }
.form-check-result-count { margin-bottom: 6px; }
.form-check-more { margin-top: 8px; min-height: 44px; width: 100%; }
.form-check-toolbar { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: end; }
#form-check-filters:not([hidden]), #form-check-share:not(:empty) { margin-top: 12px; }
#form-check-share:not(:empty) { margin-inline-start: auto; }
#form-check-results { align-items: start; }
.form-check-share-button { min-height: 44px; justify-content: center; }
.form-check-match-history { border-top: 1px solid var(--line); font-size: .875rem; }
.form-check-match-history summary { cursor: pointer; padding-block: 8px; }
.form-check-match-history td:first-child { white-space: normal; }
.form-check-match-history :is(th, td):last-child { text-align: end; white-space: nowrap; }
.form-check-match-history td:last-child { color: var(--lime); font-weight: 700; font-variant-numeric: tabular-nums; }
.form-check-match-history tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .hero-copy > #hero-last-match { min-height: 3em; }
  .hero-actions > .cta, .hero-actions > .secondary-link { width: 100%; }
  .form-check-picks, #form-check-results { grid-template-columns: minmax(0, 1fr); }
  .form-check-picks button { min-height: 56px; }
  #form-check-share:not(:empty) { width: 100%; }
  #form-check-share .form-check-share-button { width: 100%; }
}
.coverage { margin: 14px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.coverage div { background: var(--panel); border: 1px solid var(--line); padding: 16px clamp(12px, 2vw, 26px); border-radius: 14px; display: flex; flex-direction: column-reverse; justify-content: start; gap: 5px; }
.coverage dt, .muted { color: var(--muted); }
.coverage dt { font-size: 13px; }
.coverage dd { margin: 0; font-size: clamp(22px, 3vw, 40px); letter-spacing: -.065em; font-weight: 800; font-variant-numeric: tabular-nums; }
.section { margin-top: 25px; scroll-margin-top: 16px; }
h2 { font-size: clamp(35px, 5vw, 66px); font-weight: 780; }
.compare { margin-top: 34px; }
#matchup { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.compare-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.compare-head h2 { font-size: clamp(31px, 4.6vw, 60px); }
#matchup-title { font-size: clamp(31px, 3.7vw, 46px); }
.compare-head label { display: grid; gap: 6px; }
.matchup-filters { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.matchup-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 10px 0 13px; }
#matchup-score-model:empty { display: none; }
#matchup-status { margin: 0; font-size: 14px; line-height: 1.45; }
#matchup-status.example-note { color: #ffdd9a; }
.matchup-view { display: flex; flex-wrap: wrap; gap: 6px; }
.matchup-view button[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: #161d14; }
#main-view { margin-top: 12px; }
#main-view button, #series-retry, .series-actions button, #series-team { min-height: 44px; }
#series-controls { flex: 0 1 280px; min-width: 0; }
.series-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.series-head > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.series-head h3 { font-size: clamp(21px, 3.2vw, 32px); line-height: 1.15; letter-spacing: -.025em; }
.series-head p { margin: 4px 0 0; font-size: 14px; }
.series-actions { display: flex; flex-wrap: wrap; gap: 6px; }
#series-cards-note { margin-top: 10px; }
#series-matches { margin-top: 10px; }
.series-options { display: grid; gap: 6px; }
.series-option { display: grid; gap: 3px; min-height: 52px; text-align: left; overflow-wrap: anywhere; }
.series-option small { color: var(--muted); }
.series-option[aria-current="true"] { border: 2px solid var(--lime); }
.series-view { margin: 12px 0 15px; }
#series-tools { margin-bottom: 0; }
.series-controls { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.series-controls label { display: grid; gap: 6px; flex: 1 1 180px; min-width: 0; }
#compare-fields label:not(:last-child) { flex: 2 1 240px; }
.series-controls select { min-width: 0; min-height: 44px; }
#series-status:empty { display: none; }
.series-summary h3 { margin-top: 14px; font-size: clamp(19px, 2.8vw, 28px); line-height: 1.2; letter-spacing: -.02em; }
.series-summary p { margin: 6px 0 10px; }
.series-group { margin-top: 12px; }
.series-rows, .series-cells { margin: 0; padding: 0; list-style: none; }
.series-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; padding: 9px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.series-identity small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.series-average { margin: 0; text-align: right; font-size: 20px; font-weight: 750; font-variant-numeric: tabular-nums; }
.series-cells { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 4px; }
.series-cell { display: grid; width: 100%; min-height: 64px; align-content: end; justify-items: center; gap: 2px; padding: 4px 0; border: 1px solid var(--line); border-radius: 8px; background: transparent; font-size: 11px; font-variant-numeric: tabular-nums; }
button.series-cell:hover { border-color: var(--lime); }
.series-cell-empty { align-content: center; color: var(--muted); font-size: 18px; }
.series-track { position: relative; width: 18px; height: 36px; border-bottom: 1px solid var(--muted); }
.series-fill { position: absolute; inset: auto 0 0; border-radius: 3px 3px 0 0; background: var(--lime); }
.compare-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 9px 8px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.compare-row .series-identity { flex: 1 1 150px; min-width: 0; }
.compare-figures { margin: 0 0 0 auto; text-align: right; font-variant-numeric: tabular-nums; }
.compare-figures strong, .compare-figures small { display: block; }
.compare-figures small { color: var(--muted); font-size: 12px; }
.compare-highlight { border: 2px solid var(--lime); border-radius: 8px; }
.series-identity .compare-rise { color: var(--lime); font-weight: 750; }
.compare-same summary { min-height: 44px; padding-block: 12px; cursor: pointer; }
/* Fixed name and average columns keep every row's boxes wrapping at the same width. */
@media (min-width: 761px) {
  .series-row { grid-template-columns: 220px 64px minmax(0, 1fr); }
  .series-cells { grid-column: auto; }
}
.matchup-settings { scroll-margin-top: 16px; margin-bottom: 15px; padding: clamp(12px, 2vw, 20px);
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.matchup-settings h3 { font-size: clamp(19px, 2.4vw, 24px); margin-bottom: 12px; }
.matchup-settings .matchup-filters { align-items: end; }
.matchup-settings label { display: grid; gap: 6px; }
.matchup-settings :is(select, input, button) { min-height: 44px; max-width: 100%; }
.matchup-settings #score-date-help { margin: 8px 0 0; }
.matchup-settings #toggle-demo { margin-top: 10px; }
.score-note { padding: 10px 13px; margin-bottom: 13px; border: 1px solid var(--line); border-inline-start: 2px solid var(--lime); border-radius: 10px; background: #1a231b; font-size: 13px; line-height: 1.45; }
.score-note summary { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-weight: 650; }
.score-note summary::-webkit-details-marker { display: none; }
.score-note summary span { display: inline-grid; place-items: center; width: 17px; height: 17px; border: 1px solid var(--lime); border-radius: 50%; color: var(--lime); }
.score-note dl { display: grid; gap: 7px; margin: 9px 0 0; }
.score-note dt { font-weight: 650; }
.score-note dd { margin: 0; color: var(--muted); }
.score-note p { margin: 8px 0 0; color: var(--muted); }
.matchup-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(6px, 1.5vw, 18px); align-items: start; }
.preview-score-context { grid-column: 1 / -1; }
.preview-score-context.compact { margin: 0; line-height: 1.4; }
.share-dialog canvas { display: block; max-width: 100%; max-height: 46dvh; width: auto; height: auto; margin: 15px auto; border-radius: 9px; }
.share-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 14px; }
.share-panel { display: grid; gap: 10px; }
.share-panel h4, .share-panel ol { margin: 0; }
.share-panel :is(.cta, .secondary) { justify-content: center; min-height: 48px; font-size: 15px; font-weight: 750; text-align: center; }
.share-panel .cta { border: 1px solid transparent; }
.share-places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.share-places :is(.cta, .secondary) { padding-inline: 4px; }
.share-plain { justify-self: center; min-height: 44px; border: 0; background: none; padding: 10px 12px; text-align: center; }
#share-back { display: block; margin-inline: auto; }
#share-status { width: fit-content; max-width: 100%; margin: 0 0 12px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 18px; font: 700 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
#share-status[data-done="true"] { border-color: var(--lime); background: var(--lime); color: var(--base); }
#share-status[data-done="true"]::before { content: "\2713  " / ""; }
#share-status:empty { display: none; }
#share-status + .share-link-field { margin: 0 0 12px; }
.share-dialog:has(#share-steps-panel:not([hidden])) .job-dialog-head h3 { font-size: 18px; }
#share-steps-title { font-size: clamp(34px, 9vw, 44px); font-weight: 850; line-height: 1.04; letter-spacing: -.035em; }
#share-steps-title em { display: block; color: var(--lime); font-style: normal; }
#share-steps { display: grid; gap: 10px; padding: 0; list-style: none; counter-reset: step; }
#share-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; column-gap: 14px; padding: 12px 16px; border-radius: 14px; background: #222b21 linear-gradient(115deg, transparent 84%, #3f5230 84%); counter-increment: step; }
#share-steps li::before { content: counter(step); grid-row: span 2; color: var(--lime); font-size: 48px; font-weight: 850; line-height: 1; }
#share-steps b { font-size: 20px; }
#share-steps small { font-size: 14px; }
#shared-matchup-teams { margin-top: 14px; }
#shared-matchup-teams.shared-single-team { grid-template-columns: minmax(0, 1fr); }
.share-link-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; margin-top: 12px; }
.share-link-field label { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.share-link-field input { width: 100%; min-width: 0; margin: 0; }
.shared-score { display: grid; gap: 4px; padding: 8px 0; }
.shared-score dt { font-size: 14px; font-weight: 700; }
.shared-score dd { margin: 0; font-size: 25px; font-weight: 750; }
.shared-score:last-child dd { color: var(--lime); }
.shared-xi { width: 100%; margin-top: 8px; border-collapse: collapse; }
.shared-xi th, .shared-xi td { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
.shared-xi th { color: var(--muted); font-size: 12px; }
.shared-xi :is(th, td):last-child { text-align: right; white-space: nowrap; }
.shared-xi td:last-child { color: var(--side-color); font-family: var(--mono); font-weight: 700; }
.matchup-side { --side-color: var(--lime); min-width: 0; padding: clamp(10px, 2.5vw, 24px); border: 1px solid #415240; border-radius: 18px; background: radial-gradient(ellipse 130% 270px at 0 0, #304022, #1a241a 80%); }
.matchup-side + .matchup-side { --side-color: #91e2dd; background: radial-gradient(ellipse 130% 270px at 100% 0, #28413b, #1a2420 80%); }
.matchup-team { margin-bottom: 12px; }
.matchup-team h3 { font-size: clamp(24px, 4.6vw, 54px); }
.compare-team { margin: 0 0 6px; color: var(--side-color); font: 600 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.matchup-totals { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 10px; }
.score-explainer-trigger { display: inline-block; padding: 1px 0; border: 0; border-bottom: 1px dotted currentColor; border-radius: 0; background: transparent; font-weight: 750; font-variant-numeric: tabular-nums; }
.score-explainer-trigger:hover { border-bottom-style: solid; }

.recorded-match-list { display: grid; gap: 12px; }
.recorded-fixture-card { padding: clamp(10px, 2vw, 19px); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.recorded-fixture-card:has(> .recorded-fixture-overview) { cursor: pointer; }
.recorded-fixture-card :is(.xi-comparison, .selection-debates, details) { cursor: auto; }
.recorded-fixture-overview { cursor: pointer; }
.recorded-fixture-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 0; border: 0; background: transparent; text-align: left; }
.recorded-fixture-subject { display: grid; gap: 5px; }
.recorded-fixture-subject strong { font-size: clamp(16px, 2.8vw, 25px); letter-spacing: -.025em; }
.recorded-fixture-meta, .recorded-fixture-result { color: var(--muted); font-size: 12px; line-height: 1.45; }
.recorded-fixture-result { margin: 6px 0 12px; }
.recorded-fixture-result a { text-decoration: underline; text-underline-offset: 3px; }
.upcoming-preview { padding-top: 6px; }
.upcoming-preview .matchup-team { margin-bottom: 8px; }
.recorded-fixture-indicator { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; color: var(--lime); font-size: 12px; white-space: nowrap; }
.recorded-fixture-indicator::after { content: '+'; font-size: 16px; }
.recorded-fixture-toggle[aria-expanded="true"] .recorded-fixture-indicator::after { content: '−'; }
.recorded-fixture-toggle:hover .recorded-fixture-indicator { border-color: var(--lime); }
.recorded-fixture-card .matchup-team h5 { margin: 0; font-size: clamp(18px, 3vw, 32px); line-height: 1.05; letter-spacing: -.035em; }
.matchup-team-actions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: 10px; }
.matchup-team-actions .cta, .debate-share.cta { min-height: 44px; justify-content: center; padding: 8px 12px; border: 1px solid transparent; text-align: center; font-size: clamp(13px, 2vw, 16px); }
:is(.matchup-team-actions .cta, .debate-share.cta):hover:not(:disabled) { border-color: var(--base); box-shadow: 0 0 0 2px var(--lime); }
.squad-source { margin-top: 11px; color: var(--muted); font-size: 12px; }
.squad-source summary { cursor: pointer; color: var(--ink); }
.squad-source p { margin: 7px 0 0; line-height: 1.4; }
.xi-comparison { margin-top: 19px; padding: clamp(10px, 2vw, 20px); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); scroll-margin-top: 16px; }
.xi-comparison-title { margin: 0 0 7px; font-size: clamp(23px, 3.6vw, 42px); line-height: 1.02; letter-spacing: -.055em; }
.xi-share-button.secondary { min-height: 44px; border-color: var(--side-color, var(--lime)); color: var(--side-color, var(--lime)); }
.xi-team { --side-color: var(--lime); min-width: 0; margin-top: 14px; }
.xi-team + .xi-team { --side-color: #91e2dd; }
.xi-team-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; }
.xi-team-share strong { color: var(--side-color); overflow-wrap: anywhere; }
.xi-role-section { margin-top: 8px; }
.xi-role-title { margin: 0; padding: 7px 8px; border-radius: 7px; background: #252f25; color: #e5ede1; font-size: clamp(12px, 1.75vw, 16px); letter-spacing: -.015em; }
.xi-empty { margin: 8px 0; font-size: 11px; }

/* Player rows and team headings (matchup.js). One team after the other. */
#matchup-cards, .upcoming-preview { grid-template-columns: minmax(0, 1fr); }
:is(#matchup-cards, .upcoming-preview) .matchup-team-actions { max-width: 22rem; }
.recorded-teams { display: grid; gap: 10px; }
.team-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.team-line :is(h3, h5) { margin: 0; font-size: clamp(18px, 3vw, 30px); line-height: 1.1; overflow-wrap: anywhere; }
.team-score { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(20px, 3vw, 30px); font-variant-numeric: tabular-nums; }
:is(.team-line, .team-match) .score-explainer-trigger { min-width: 44px; min-height: 44px; border-bottom: 0; text-decoration: underline dotted; text-underline-offset: 5px; }
.team-match { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; margin: 4px 0 0; }
.team-table { margin-top: 8px; }
.team-boxes { display: flex; flex-wrap: wrap; gap: 8px; }

.player-line { position: relative; display: grid; gap: 2px 8px; align-items: center; width: 100%; min-height: 44px; padding: 6px 4px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; text-align: left; font-size: 13px; font-variant-numeric: tabular-nums; }
.preview-line { grid-template-columns: minmax(0, 1fr) 104px; }
.recorded-line { grid-template-columns: minmax(0, 1fr) 94px 94px 94px; }
.player-line > :not(.line-name) { text-align: right; }
button.player-line:hover { background: #222b21; }
.line-name { min-width: 0; overflow-wrap: anywhere; }
.line-name small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.player-line .job-trigger { text-align: left; }
.player-line-head > :is(.line-before, .line-match, .line-after) { text-align: center; }
.player-line-head { min-height: 0; border-top: 0; color: var(--muted); font-size: 12px; }
@media (max-width: 560px) {
  .player-line { display: flex; flex-wrap: wrap; column-gap: 14px; }
  .player-line > .line-name { flex: 1 1 0; order: 1; }
  .player-line > .line-rolling { order: 2; }
  .player-line::after { content: ''; flex-basis: 100%; order: 3; }
  .player-line-head::after { display: none; }
}
/* A past match's three boxes need their own row under the name on narrow screens. */
@media (max-width: 680px) {
  .player-line.recorded-line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .player-line.recorded-line::after { display: none; }
  .player-line.recorded-line > .line-name { order: -1; grid-column: 1 / -1; font-weight: 700; }
  /* Tight enough for a five-digit score near a grade line (61.973) on a 320px screen. */
  .recorded-line .job-trigger { min-width: 0; padding-inline: 5px; column-gap: 3px; }
  .player-line-head.recorded-line { display: none; }
}
.brief { display: grid; gap: 10px; margin: 4px 0 14px; }
.brief-sum { margin: 0; padding: 12px 14px; border: 1px solid var(--lime); border-radius: 12px; font-weight: 700; line-height: 1.5; }
.brief-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.brief-card { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.brief-card h4 { margin: 0 0 8px; font-size: 17px; }
.brief-card dl { margin: 0; display: grid; gap: 8px; }
.brief-card dt { font-weight: 700; color: var(--lime); font-size: 13px; }
.brief-card dd { margin: 0; color: #c6d0c5; line-height: 1.5; font-size: 14px; }
.brief-note { margin: 0; color: #c6d0c5; font-size: 14px; line-height: 1.55; }
@media (max-width: 560px) { .brief-cols { grid-template-columns: minmax(0, 1fr); } }
.selection-debates, .debate-evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.selection-debates { margin-top: 16px; align-items: start; }
.selection-debate { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 10px; scroll-margin-top: 16px; }
.selection-debate > summary { font-weight: 700; }
.selection-debate summary { cursor: pointer; }
.debate-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.debate-controls label { flex: 1 1 132px; min-width: 0; color: var(--muted); font-size: .875rem; }
.debate-controls select { margin-top: 3px; color: var(--ink); }
.debate-recommendation { margin-top: 12px; padding: 11px 12px; border: 1px solid #536437; border-radius: 8px; background: #253222; overflow-wrap: anywhere; }
.debate-recommendation-label { margin: 0 0 4px; color: var(--lime); font: 700 12px/1.3 var(--mono); }
.debate-recommendation strong { font-size: 1.125rem; }
.debate-recommendation-reason { margin: 4px 0 0; color: #d2ddcf; font-size: .875rem; line-height: 1.45; }
.debate-evidence { margin-top: 12px; }
.debate-share.cta { width: 100%; margin-top: 12px; }
.debate-player { min-width: 0; padding: 9px; border-radius: 8px; background: #202a21; overflow-wrap: anywhere; }
.debate-player h6 { margin: 0; font-size: .95rem; }
.debate-scores { margin: 8px 0; }
.debate-scores dt { color: var(--muted); font-size: .875rem; }
.debate-scores dd { margin: 0 0 8px; color: var(--lime); font-size: 1.125rem; font-weight: 700; }
.debate-scores small { display: block; color: var(--muted); font-size: .75rem; font-weight: 400; }
.debate-match-history { font-size: .875rem; }
.debate-match-history ul { display: grid; gap: 5px; padding: 0; list-style: none; }
.debate-match-history li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px; }
.debate-match-history .job-trigger { max-width: 100%; }
@media (max-width: 860px) {
  .selection-debates { grid-template-columns: minmax(0, 1fr); }
}
.picker-tools { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.picker-chart-key { padding-bottom: 5px; }
.picker-players { padding-inline-end: 4px; }
.picker-players h4 { margin: 0 0 5px; color: var(--muted); font-size: 12px; }
.picker-player-rows { display: grid; gap: 5px; }
.picker-score-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: center; gap: 5px 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.picker-player-identity { display: grid; gap: 4px; justify-items: start; }
.picker-player-identity .player-button { width: 100%; overflow-wrap: anywhere; }
.picker-player-identity .picked-player { color: var(--lime); background: #26341e; }
.picker-score-row .score-explainer-trigger { color: var(--lime); font-size: 12px; }
.picker-score-row > small { grid-column: 1 / -1; color: var(--muted); }
.picker-chart-empty { font-size: 11px; text-align: right; }
.picker-match-bars { display: flex; justify-content: flex-end; gap: 3px; }
.picker-match-bar { flex: 0 0 38px; display: grid; grid-template-rows: 28px auto; justify-items: center; gap: 2px; color: var(--ink); font-size: 11px; font-variant-numeric: tabular-nums; }
.picker-match-track { position: relative; width: 18px; height: 100%; border-radius: 3px 3px 0 0; background: #29352a; box-shadow: inset 0 -1px #596856; }
.picker-match-fill { position: absolute; inset: auto 0 0; border-radius: inherit; background: var(--lime); }
.picker-apply { margin-top: 12px; }
dialog { width: min(460px, calc(100% - 30px)); max-height: 85vh; padding: 18px; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
dialog::backdrop { background: #080e0bd5; }
.picker-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.picker-head h3 { font-size: 26px; }
dialog input { margin: 7px 0 9px; }
dialog .player-list { max-height: min(42vh, 360px); }
.disclosure { border: 1px solid var(--line); border-radius: 15px; padding: 0 16px; }
.disclosure summary { min-height: 64px; padding: 12px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; align-items: center; gap: 12px; list-style: none; cursor: pointer; }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after { content: '+'; color: var(--lime); font-size: 23px; text-align: right; }
.disclosure[open] summary::after { content: '−'; }
.disclosure h2 { font-size: clamp(20px, 3vw, 30px); }
.disclosure summary span { font-size: 13px; }
.disclosure .coverage { margin: 0 0 14px; }
.disclosure .workspace { margin-bottom: 16px; }
.workspace { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 14px; align-items: start; }
.directory, .profile { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.directory { display: grid; gap: 8px; padding: 18px; }
label { color: #d6ded3; font-size: 13px; }
input, select { width: 100%; min-height: 41px; border-radius: 8px; border: 1px solid #495749; background: #111811; padding: 8px; }
.directory select { margin-bottom: 5px; }
.compact { font-size: 12px; margin: 0 0 6px; }
.player-list { max-height: 440px; overflow: auto; display: grid; gap: 5px; }
.player-button { text-align: left; border-radius: 8px; border: 1px solid transparent; padding: 8px 10px; background: #1c251c; }
.player-button small { color: var(--muted); display: block; margin-top: 4px; }
.player-button:hover, .player-button[aria-pressed='true'] { border-color: #8ea75a; }
.player-button[aria-pressed='true'] { color: var(--lime); background: #26341e; }
.profile { padding: clamp(14px, 2.35vw, 29px); }
.profile-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: start; }
h3 { font-size: clamp(32px, 5.5vw, 62px); overflow-wrap: anywhere; }
.score { display: grid; gap: 5px; border-radius: 10px; border: 1px solid var(--line); background: #111811; padding: 10px 13px; }
.score span, .player-totals span { font-size: 12px; color: var(--muted); }
.score strong { color: var(--lime); font-size: 14px; }
.player-totals { margin: 23px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.player-totals > div { display: grid; gap: 4px; background: #212a20; border-radius: 9px; padding: 11px; }
.player-totals strong { font-size: clamp(20px, 3vw, 32px); font-weight: 750; letter-spacing: -.055em; }
.history-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
h4 { font-size: 24px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters label { display: grid; gap: 4px; }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead { text-align: left; color: var(--muted); }
th, td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; font-weight: 600; }
td small { color: var(--muted); display: block; margin-top: 4px; }
td a { color: var(--lime); }
td a:hover { text-decoration: underline; }
td:first-child { white-space: nowrap; }
.job-did { --job-accent: #d8fa7a; }
.job-half { --job-accent: #ffd68c; }
.job-failed { --job-accent: #ffb0b7; }
.job-unavailable { --job-accent: var(--muted); }
.job-trigger { min-width: 94px; min-height: 46px; display: grid; grid-template-columns: 1fr auto; gap: 2px 7px; align-items: center; padding: 5px 8px; border: 1px solid #475446; border-radius: 10px; text-align: left; background: #232d22; color: var(--job-accent); }
.job-trigger:hover { border-color: var(--job-accent); background: #2b3929; }
.job-trigger strong { font-size: 17px; line-height: 1; font-variant-numeric: tabular-nums; }
.job-trigger .score-unit { margin-inline-start: 2px; font-size: .57em; letter-spacing: 0; }
.job-trigger-arrow { font-size: 13px; }
.job-trigger-metric { grid-column: 1 / -1; color: var(--ink); font-size: 11px; font-weight: 700; line-height: 1.2; overflow-wrap: normal; }
.job-trigger-verdict { grid-column: 1 / -1; font-size: 11px; white-space: nowrap; }
dialog.job-dialog { width: min(710px, calc(100% - 26px)); max-height: min(90dvh, calc(100% - 20px)); padding: clamp(13px, 3vw, 25px); border-radius: 22px; }
.job-dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 9px; margin-bottom: 15px; }
.job-dialog-head .eyebrow { margin: 0 0 5px; overflow-wrap: anywhere; }
.job-dialog-head h3 { font-size: clamp(23px, 5vw, 40px); }
.job-dialog-head button { min-height: 44px; }
#job-breakdown-body { display: grid; gap: 12px; }
.job-headline { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 18px; padding: clamp(10px, 2.3vw, 16px); border: 1px solid var(--line); border-radius: 15px; background: radial-gradient(ellipse at left top, #33432b, #202920 76%); }
.job-headline-score { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.job-headline-score strong { font-size: clamp(36px, 7vw, 56px); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--job-accent); }
.job-headline-score span, .job-rating span, .job-headline-copy span { font-size: 13px; color: var(--muted); }
.job-headline-copy { display: grid; gap: 2px; }
.job-headline-copy strong { font-size: 19px; }
.job-components { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.job-component { --component-color: #d8fa7a; display: grid; align-content: start; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #1c251e; }
.job-pressure { --component-color: #afcbff; }
.job-impact { --component-color: #91e2dd; }
.job-component-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; column-gap: 5px; }
.job-component h4, .job-adjustment h4 { font-size: 16px; letter-spacing: -.02em; }
.job-weight { color: var(--component-color); font-size: 11px; white-space: nowrap; }
.job-rating { display: flex; align-items: baseline; gap: 4px; }
.job-rating strong { color: var(--component-color); font-size: 24px; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.job-track { display: block; height: 4px; border-radius: 4px; overflow: hidden; background: #3b4a3b; }
.job-track i { display: block; height: 100%; border-radius: inherit; background: var(--component-color); }
.job-component p, .job-adjustment p, .job-context p { margin: 0; color: #c5d0c4; font-size: 13px; line-height: 1.4; }
.job-adjustment { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.job-equation { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.job-equation div { padding: 6px; border-radius: 7px; background: #212d22; }
.job-equation dt { color: #c5d0c4; font-size: 11px; }
.job-equation dd { margin: 2px 0 0; font-weight: 750; font-size: clamp(14px, 3.5vw, 20px); overflow-wrap: anywhere; }
.job-equation div:last-child dd { color: var(--lime); }
.job-context summary { cursor: pointer; color: #d7e4d4; font-size: 13px; padding: 6px 0; }
.job-context p + p { margin-top: 4px; }
.score-breakdown-body { display: grid; gap: 12px; }
.score-breakdown-body .job-headline p { margin: 0; font-size: 14px; line-height: 1.45; }
.score-breakdown-notes { display: grid; gap: 7px; color: #c5d0c4; }
.score-breakdown-notes p { margin: 0; font-size: 13px; line-height: 1.45; }
.score-breakdown-list { display: grid; gap: 5px; padding: 0; margin: 6px 0 0; list-style: none; }
.score-breakdown-list li { display: flex; align-items: start; justify-content: space-between; gap: 10px; padding: 7px 9px; border-radius: 8px; background: #202a21; }
.score-breakdown-list small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.score-breakdown-list strong { color: var(--lime); font-variant-numeric: tabular-nums; }
.score .score-explainer-trigger { color: var(--lime); font-size: 14px; }
@media (max-width: 525px) {
  .matchup-cards, .selection-debates { grid-template-columns: minmax(0, 1fr); }
  .job-components { grid-template-columns: minmax(0, 1fr); }
  .job-component { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 9px; }
  .job-component-head { justify-content: start; align-self: center; }
  .job-component .job-track, .job-component p { grid-column: 1 / -1; }
  .job-rating strong { font-size: 20px; }
}
@media (max-width: 440px) {
  .recorded-fixture-toggle { flex-wrap: wrap; }
}
.secondary { border: 1px solid var(--line); background: #222b21; padding: 8px 11px; border-radius: 8px; font-size: 13px; }
.secondary:hover:not(:disabled) { border-color: var(--lime); }
.pagination { display: flex; justify-content: space-between; gap: 8px; margin-top: 13px; }
.npl-stories > h2 { font-size: clamp(28px, 3.7vw, 46px); }
.method > .method-intro { margin: 14px 0 8px; }
.method > .method-scope { max-width: 75ch; margin-bottom: 0; }
.method :is(.method-intro, .method-scope) strong { color: var(--ink); }
.method > .disclosure > summary { grid-template-columns: minmax(0, 1fr) 20px; font-weight: 700; }
.score-guide { margin: 14px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.score-guide > div { padding: clamp(12px, 2vw, 20px); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.score-guide dt { font-weight: 750; margin-bottom: 6px; }
.score-guide dt > span { color: var(--job-accent); display: block; font-variant-numeric: tabular-nums; }
.score-guide dd { margin: 0; color: var(--muted); line-height: 1.5; }
.npl-story-intro { max-width: 75ch; line-height: 1.55; margin: 12px 0 0; }
.npl-story-intro strong { color: var(--ink); }
.npl-story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; align-items: start; }
.npl-story { min-width: 0; padding: clamp(14px, 2vw, 20px); border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.npl-story h3 { font-size: clamp(19px, 2.2vw, 26px); line-height: 1.12; }
.npl-story p { margin: 10px 0; color: var(--muted); line-height: 1.5; }
.npl-story p > strong { color: var(--ink); }
.npl-story-grades { display: grid; gap: 5px; margin: 14px 0 0; }
.npl-story-grades > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 3px 10px; padding: 7px 9px; background: #202a21; border-radius: 6px; font-size: 14px; }
.npl-story-grades dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.npl-story-grades dd > strong { font-size: 16px; }
.npl-story-details summary { min-height: 44px; padding-block: 12px; cursor: pointer; color: var(--lime); font-weight: 650; }
.npl-story-details :is(th, td) { padding: 6px 4px; text-align: end; font-variant-numeric: tabular-nums; }
.npl-story-details th:first-child { text-align: start; }
.npl-story-details p, .npl-story-source { font-size: 14px; }
.npl-replay-method { margin-top: 12px; }
.npl-replay-method > summary { grid-template-columns: minmax(0, 1fr) 20px; font-weight: 700; }
.npl-replay-method p { color: var(--muted); line-height: 1.55; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 680px) { .npl-story-grid { grid-template-columns: minmax(0, 1fr); } }
.score-context-quote { margin: 18px 0; padding-inline-start: 12px; border-inline-start: 2px solid var(--lime); }
.score-context-quote blockquote { margin: 0; font-weight: 650; }
.score-context-quote figcaption { margin-top: 4px; color: var(--muted); }
@media (max-width: 680px) { .score-guide { grid-template-columns: minmax(0, 1fr); } }
.method-body { max-width: 80ch; padding-top: 8px; }
.method p:not(.eyebrow), .method .parts ul { line-height: 1.55; color: #c6d0c5; margin-top: 0; }
.method .parts-title { margin: 18px 0 10px; }
.method .parts { margin-bottom: 10px; }
.method .parts > summary { grid-template-columns: minmax(0, 1fr) 20px; font-weight: 700; }
.method .parts ul { margin-bottom: 16px; padding-left: 20px; }
.method .parts li { margin-bottom: 6px; }
.method .parts strong { color: var(--ink); }
.text-link { color: var(--lime); text-decoration: underline; text-underline-offset: 4px; }
.footer { color: var(--muted); display: flex; justify-content: space-between; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 800px) {
  .shell { width: calc(100% - 36px); }
  .hero { margin-top: 13px; }
  .hero-copy { padding: 17px 16px; }
  h1 { font-size: clamp(40px, 8.3vw, 62px); }
  .hero-copy > p { font-size: 14px; margin: 10px 0 12px; }
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .player-list { max-height: 190px; }
}
@media (max-width: 460px) {
  .shell { width: calc(100% - 24px); }
  .topbar-inner { gap: 8px; flex-wrap: wrap; padding-block: 8px; }
  nav { gap: 12px; font-size: 13px; order: 1; flex-basis: 100%; justify-content: center; }
  .hero h1 { font-size: clamp(31px, 9.7vw, 44px); }
  .hero-copy .cta, .hero-copy .secondary-link { min-height: 44px; padding: 10px 12px; font-size: 14px; }
  #matchup { margin-top: 26px; padding-top: 18px; }
  .disclosure summary { grid-template-columns: minmax(0, 1fr) 20px; gap: 4px 8px; }
  .disclosure summary span { grid-row: 2; }
  .disclosure summary::after { grid-column: 2; grid-row: 1 / span 2; }
  .coverage { gap: 5px; }
  .coverage div { border-radius: 9px; padding: 10px 7px; }
  .coverage dt, .player-totals span { font-size: 11px; }
  .player-totals > div { padding: 7px; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }

.footer { align-items: center; flex-wrap: wrap; }
.footer-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.footer-actions button { min-height: 44px; border: 0; background: transparent; padding: 0; color: inherit; display: none; }
.footer-actions button:hover { color: var(--lime); }
@media (prefers-reduced-motion: no-preference) {
  .togar-intro-ready .footer-actions button { display: inline-block; }
}

dialog.togar-intro { --intro-time: 1; position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; overflow: hidden; overscroll-behavior: contain; border: 0; border-radius: 0; background: transparent; color: #effff9; }
dialog.togar-intro::backdrop { background: transparent; }
.togar-intro-stage { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 43%, #103e36, #071c1d 40%, #040e14 82%); }
.togar-intro-stage::before { position: absolute; inset: 0; content: ''; background: radial-gradient(ellipse at 50% 48%, transparent 36%, #040c14b3 80%), repeating-linear-gradient(117deg, transparent 0 42px, #77cdb20a 43px 44px, transparent 45px 90px); }
.togar-intro-lockup { position: relative; display: grid; justify-items: center; margin-top: -4vmin; text-align: center; }
.togar-intro-lockup strong { font-size: clamp(53px, 11vw, 114px); font-weight: 850; line-height: .94; letter-spacing: -.065em; text-shadow: 0 0 34px #74ffbd42; }
.togar-intro-lockup > span { margin-top: 11px; color: #ffe4a8; font: 700 clamp(11px, 2.3vw, 16px)/1.3 var(--mono); letter-spacing: .25em; text-transform: uppercase; }
.togar-intro-scene { position: relative; width: min(570px, 94vw, 105dvh); aspect-ratio: 2.18 / 1; container-type: inline-size; isolation: isolate; }
.togar-intro-field { position: absolute; inset: 8% 4%; border: 1px solid #9af4c82e; border-radius: 50%; background: radial-gradient(ellipse, transparent 28%, #68d7b324 29%, transparent 30%, transparent 56%, #68d7b324 57%, transparent 58%); transform: rotate(-11deg); }
.togar-intro-field::before, .togar-intro-field::after { position: absolute; content: ''; inset: 13% 12%; border: 1px dashed #b0f5d427; border-radius: 50%; }
.togar-intro-field::after { inset: 0; border: 0; background: radial-gradient(circle at 3% 62%, #fff1bf 0 1px, transparent 3px), radial-gradient(circle at 31% 16%, #99ffc8 0 1px, transparent 3px), radial-gradient(circle at 79% 76%, #fff1bf 0 1px, transparent 3px), radial-gradient(circle at 88% 22%, #99ffc8 0 1px, transparent 3px); }
.togar-intro-emblem { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; gap: 3.5cqw; }
.togar-intro-emblem i { position: relative; width: 8.5cqw; height: 23cqw; border-radius: 4px; transform: skewX(-20deg); background: linear-gradient(151deg, var(--glint), var(--tone) 62%, var(--shade)); box-shadow: inset 1px 2px 1px #e6fff173, inset -3px -3px 1px #032b2b91, 2px 2px var(--shade), 5px 5px var(--shade), 0 0 26px #57ffc23b; }
.togar-intro-emblem i::before { position: absolute; inset: 0; content: ''; border-radius: inherit; background: linear-gradient(transparent, #f7d87e 70%, #ffe6a0); }
.togar-intro-emblem i:nth-child(1) { --glint: #bcffde; --tone: #14b8a6; --shade: #0b6659; --draw-delay: 240ms; }
.togar-intro-emblem i:nth-child(2) { --glint: #8eead6; --tone: #0d9488; --shade: #07574d; --draw-delay: 580ms; }
.togar-intro-emblem i:nth-child(3) { --glint: #65c7ae; --tone: #08786e; --shade: #06473e; --draw-delay: 910ms; }
.togar-intro-ball { position: absolute; top: 50%; left: 50%; z-index: 1; width: 3.5cqw; min-width: 10px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 31% 26%, #fff5c1, #f6ae5a 29%, #b0583c 67%, #391e26); box-shadow: 0 0 10px #ffe096, 0 0 45px #fdb7529c; }
.togar-intro-ball::before { position: absolute; inset: 8% 27%; content: ''; border-inline: 1px dashed #fff2bc; border-radius: 50%; transform: rotate(28deg); }
.togar-intro-sparks { position: absolute; inset: 0; pointer-events: none; }
.togar-intro-sparks i { position: absolute; top: 50%; left: 50%; width: clamp(2px, .95cqw, 6px); aspect-ratio: 1; border-radius: 50%; background: #ffe5a8; box-shadow: 0 0 9px #ffd57b; }
.togar-intro-sparks i:nth-child(1) { --x: -39cqw; --y: -10cqw; }
.togar-intro-sparks i:nth-child(2) { --x: -30cqw; --y: -22cqw; }
.togar-intro-sparks i:nth-child(3) { --x: -37cqw; --y: 13cqw; }
.togar-intro-sparks i:nth-child(4) { --x: 22cqw; --y: -20cqw; }
.togar-intro-sparks i:nth-child(5) { --x: 36cqw; --y: -12cqw; }
.togar-intro-sparks i:nth-child(6) { --x: 41cqw; --y: 7cqw; }
.togar-intro-sparks i:nth-child(7) { --x: 25cqw; --y: 16cqw; }
.togar-intro-sparks i:nth-child(8) { --x: -18cqw; --y: 20cqw; }
.togar-intro-skip { position: absolute; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); min-height: 44px; padding: 0 15px; border: 1px solid #82d5c5; border-radius: 999px; background: #092522; color: #effff9; font-size: 14px; font-weight: 700; }
.togar-intro-skip:hover { background: #14564f; }

.togar-intro[open] .togar-intro-stage { animation: togar-iris calc(470ms * var(--intro-time)) cubic-bezier(.7, .01, .7, .3) calc(2100ms * var(--intro-time)) both; }
.togar-intro[open] .togar-intro-field { animation: togar-wordmark calc(570ms * var(--intro-time)) ease-out both; }
.togar-intro[open] .togar-intro-emblem i { animation: togar-etch calc(250ms * var(--intro-time)) ease-out calc(var(--draw-delay) * var(--intro-time)) both; }
.togar-intro[open] .togar-intro-emblem i::before { animation: togar-cool calc(420ms * var(--intro-time)) ease-out calc(var(--draw-delay) * var(--intro-time)) both; }
.togar-intro[open] .togar-intro-ball { animation: togar-delivery calc(1370ms * var(--intro-time)) linear both; }
.togar-intro[open] .togar-intro-sparks i { animation: togar-embers calc(750ms * var(--intro-time)) ease-out calc(1000ms * var(--intro-time)) both; }
.togar-intro[open] .togar-intro-lockup strong { animation: togar-wordmark calc(355ms * var(--intro-time)) ease-out calc(1120ms * var(--intro-time)) both; }
.togar-intro[open] .togar-intro-lockup > span { animation: togar-wordmark calc(350ms * var(--intro-time)) ease-out calc(1260ms * var(--intro-time)) both; }

@keyframes togar-delivery {
  0% { transform: translate(calc(-50% - 50cqw), calc(-50% + 2cqw)) scale(.45); opacity: 0; }
  10% { transform: translate(calc(-50% - 32cqw), calc(-50% + 7cqw)) scale(.85); opacity: 1; }
  18% { transform: translate(calc(-50% - 16.2cqw), calc(-50% + 11.5cqw)); opacity: 1; }
  33% { transform: translate(calc(-50% - 7.8cqw), calc(-50% - 11.5cqw)); }
  38% { transform: translate(calc(-50% - 2cqw), calc(-50% - 1cqw)) scale(.8); }
  43% { transform: translate(calc(-50% - 4.2cqw), calc(-50% + 11.5cqw)); }
  57% { transform: translate(calc(-50% + 4.2cqw), calc(-50% - 11.5cqw)); }
  62% { transform: translate(calc(-50% + 10cqw), calc(-50% - 1cqw)) scale(.8); }
  67% { transform: translate(calc(-50% + 7.8cqw), calc(-50% + 11.5cqw)); }
  82% { transform: translate(calc(-50% + 16.2cqw), calc(-50% - 11.5cqw)); opacity: 1; }
  100% { transform: translate(calc(-50% + 28cqw), calc(-50% - 18cqw)) scale(.2); opacity: 0; }
}
@keyframes togar-etch {
  from { clip-path: inset(100% -16px -16px -16px); }
  to { clip-path: inset(-28px); }
}
@keyframes togar-cool {
  0%, 20% { opacity: .9; }
  100% { opacity: 0; }
}
@keyframes togar-embers {
  0% { transform: translate(12cqw, -6cqw) scale(.15); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translate(var(--x), var(--y)) scale(.45); opacity: 0; }
}
@keyframes togar-wordmark {
  from { opacity: 0; filter: blur(3px); }
  to { opacity: 1; filter: blur(0); }
}
@keyframes togar-iris {
  from { clip-path: circle(150% at 50% 45%); opacity: 1; }
  80% { opacity: 1; }
  to { clip-path: circle(0% at 50% 45%); opacity: 0; }
}

