:root {
  --ink: #18231d;
  --muted: #667169;
  --line: #dfe3dc;
  --paper: #fffefb;
  --canvas: #f4f3ed;
  --green: #176b45;
  --green-dark: #0e4f33;
  --lime: #d8f257;
  --clay: #cf6948;
  --soft-green: #e8f2ec;
  --soft-yellow: #f6f4d8;
  --shadow: 0 14px 40px rgba(24, 35, 29, 0.08);
  --radius: 18px;
}

/* Confirmed product navigation, catalogue and data surfaces */
.catalogue-filter-tools { display:grid; gap:12px; margin:0 0 18px; }
.catalogue-filter { display:grid; gap:7px; }
.catalogue-filter > span,
.catalogue-advanced-field > span { color:var(--muted); font-size:11px; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }
.catalogue-filter-chips { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.catalogue-filter-chip,
.catalogue-advanced-toggle,
.catalogue-filter-reset { min-height:42px; padding:0 14px; border:1px solid var(--line); border-radius:999px; background:#fff; color:var(--muted); font:inherit; font-size:12px; font-weight:850; cursor:pointer; box-shadow:0 8px 18px rgba(24,35,29,.04); }
.catalogue-filter-chip.active,
.catalogue-advanced-toggle.active { border-color:var(--ink); background:var(--ink); color:#fff; }
.catalogue-advanced-toggle { border-color:rgba(23,107,69,.24); background:#eff7f2; color:var(--green); }
.catalogue-filter-divider { width:1px; height:28px; margin:0 3px; background:var(--line); }
.catalogue-advanced-filters { display:grid; grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(130px,1fr)) auto; gap:10px; align-items:end; padding:14px; border:1px solid var(--line); border-radius:18px; background:#f7f9f6; }
.catalogue-advanced-field { display:grid; gap:7px; }
.catalogue-advanced-field input,
.catalogue-advanced-field select { width:100%; min-height:44px; box-sizing:border-box; padding:0 12px; border:1px solid var(--line); border-radius:12px; background:#fff; color:var(--ink); font:inherit; font-size:13px; font-weight:750; }
.tournament-catalogue { overflow:hidden; border:1px solid var(--line); border-radius:20px; background:#fff; }
.tournament-catalogue-head,
.tournament-catalogue-row { display:grid; grid-template-columns:minmax(118px,.95fr) minmax(190px,1.7fr) minmax(135px,1.15fr) 54px 72px 70px 82px minmax(150px,1.2fr); gap:14px; align-items:center; }
.tournament-catalogue-head { min-height:48px; padding:0 18px; background:#f2f5f1; color:var(--muted); font-size:9px; font-weight:900; letter-spacing:.035em; text-transform:uppercase; }
.tournament-catalogue-head > span { min-width:0; }
.tournament-catalogue-head button { display:inline-flex; width:100%; min-height:36px; align-items:center; gap:5px; padding:0; border:0; background:transparent; color:inherit; font:inherit; letter-spacing:inherit; text-align:left; text-transform:inherit; cursor:pointer; }
.tournament-catalogue-head button i { color:var(--green); font-size:12px; font-style:normal; line-height:1; }
.tournament-catalogue-head button:hover span,
.tournament-catalogue-head button:focus-visible span { color:var(--ink); }
.tournament-catalogue-head > span:first-child button { padding-left:34px; }
.tournament-catalogue-row { min-height:82px; padding:10px 18px; border-top:1px solid var(--line); color:var(--muted); font-size:13px; }
.catalogue-location { display:flex; align-items:center; gap:9px; color:var(--ink); }
.catalogue-country-flag .country-flag { font-size:25px; }
.catalogue-tournament { display:grid; gap:3px; color:var(--ink); }
.catalogue-tournament small { color:var(--muted); }
.catalogue-status { display:inline-flex; width:max-content; padding:6px 9px; border-radius:999px; background:#edf1ed; color:var(--muted); font-size:11px; }
.catalogue-status.status-live { background:#e2f4e9; color:var(--green); }
.catalogue-action { display:flex; align-items:center; justify-content:flex-end; gap:10px; }
.catalogue-champion { display:grid; gap:2px; min-width:0; }
.catalogue-champion small { color:var(--muted); font-size:10px; font-weight:850; text-transform:uppercase; }
.catalogue-champion strong { overflow:hidden; color:var(--ink); font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.catalogue-mobile-meta { display:none; }
.home-action-card { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:28px; border:1px solid #bed5c8; border-left:6px solid var(--green); border-radius:22px; background:#f2f8f4; }
.home-action-card span,.home-dashboard-tile span { color:var(--muted); font-size:12px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; }
.home-action-card h2 { margin:7px 0; }
.home-action-card h2 a { color: inherit; text-decoration: none; }
.home-action-card h2 a:hover, .home-action-card h2 a:focus-visible { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.home-action-card p { margin:0; color:var(--muted); }
.home-dashboard-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.home-dashboard-tile { display:grid; gap:9px; min-height:130px; padding:22px; border:1px solid var(--line); border-radius:20px; background:#fff; color:var(--ink); text-align:left; cursor:pointer; }
.home-dashboard-tile strong { font-size:20px; }
.home-review { gap: 18px; padding: 24px; border-radius: 28px; background: #f1f3ef; }
.home-review > .page-header { margin-bottom: 0; }
.home-page-header { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.home-page-header .text-button { flex:0 0 auto; }
.home-review-preview-note { color: var(--muted); font-size: .8em; }
.home-first-intro { display: flex; align-items: center; gap: 26px; padding: 27px 30px; border: 1px solid #cbded0; border-left: 6px solid var(--green); border-radius: 22px; background: linear-gradient(110deg,#e7f3e9,#f7faf7 64%,#fff); }
.home-first-intro .crest { flex: 0 0 auto; }
.home-first-intro h2 { margin: 0 0 8px; font-size: 29px; }
.home-first-intro p { max-width: 660px; margin: 0; color: var(--muted); line-height: 1.5; }
.home-first-intro.has-open-choice { padding-block: 18px; }
.home-first-intro.has-open-choice h2 { font-size: 23px; }
.home-review-section--quiet { gap: 6px; padding-block: 18px; }
.home-review-section--quiet .home-review-section-head h2 { font-size: 19px; }
.home-review-section--quiet .home-review-empty { padding: 0; border: 0; background: transparent; }
.home-review-section--quiet .home-review-empty strong { font-size: 14px; }
.home-review-section--quiet .home-review-empty p { margin-top: 2px; }
.home-review-section { display: grid; align-content: start; gap: 16px; min-width: 0; padding: 24px; border: 1px solid #e1e6df; border-radius: 22px; background: #fff; box-shadow: 0 8px 24px rgba(26, 48, 34, .045); }
.home-review-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.home-review-section-head h2 { margin: 0; font-size: 23px; }
.home-review-section-head p { margin: 5px 0 0; color: var(--muted); }
.interseason-intro { min-height:252px; align-content:center; gap:10px; padding:30px 28px; }
.interseason-intro h2 { margin:0; font-size:36px; line-height:1.04; letter-spacing:-.04em; }
.interseason-intro>p { margin:0; color:var(--muted); font-size:17px; line-height:1.4; }
.interseason-countdown { display:grid; grid-template-columns:repeat(4,minmax(78px,108px)); width:max-content; max-width:100%; margin-top:10px; overflow:hidden; border:1px solid rgba(255,255,255,.12); border-radius:18px; background:linear-gradient(135deg,#123e30 0%,#08794e 100%); box-shadow:0 12px 26px rgba(8,74,49,.18); }
.interseason-countdown>div { display:grid; gap:6px; padding:16px 17px 13px; border-right:1px solid rgba(255,255,255,.2); text-align:center; }
.interseason-countdown>div:last-child { border-right:0; background:rgba(255,255,255,.1); }
.interseason-countdown strong { color:#fff; font-size:34px; font-weight:850; line-height:.95; letter-spacing:-.025em; font-variant-numeric:tabular-nums; text-shadow:0 1px 0 rgba(0,0,0,.12); }
.interseason-countdown span { color:rgba(255,255,255,.76); font-size:10px; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.interseason-intro .interseason-countdown-caption { margin-top:4px; color:var(--ink); font-size:14px; font-weight:750; }
.interseason-event-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.interseason-event-card { overflow:hidden; border:1px solid var(--line); border-radius:17px; background:#f8faf8; }
.interseason-event-art { position:relative; display:block; aspect-ratio:3 / 1; min-height:0; overflow:hidden; color:#fff; background:#1679d0; }
.interseason-event-art:after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(7,28,21,.02),rgba(7,28,21,.36)); }
.interseason-event-art img { display:block; width:100%; height:100%; object-fit:contain; }
.interseason-event-art>span { position:absolute; z-index:1; top:14px; left:14px; padding:7px 11px; border-radius:999px; background:rgba(8,59,42,.82); color:#fff; font-size:10px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.interseason-event-copy { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:14px; padding:17px; }
.interseason-event-copy h3 { margin:0; font-size:20px; }
.interseason-event-copy p { margin:7px 0 0; color:var(--muted); font-size:13px; }
.interseason-event-copy a,.interseason-recap a { color:var(--green); font-size:13px; font-weight:850; text-decoration:none; }
.interseason-recap { grid-template-columns:minmax(0,1fr) auto; align-items:center; }
.interseason-recap h2 { margin:0; font-size:25px; letter-spacing:-.025em; }
.interseason-recap p { margin:7px 0 0; color:var(--muted); font-size:14px; line-height:1.45; }
.interseason-recap nav { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:12px 20px; }
.interseason-recap nav .text-button { padding:0; font-size:13px; }
.game-guidance > p { margin: 0; color: var(--muted); line-height: 1.55; }
.game-guidance .home-review-section-head { align-items: center; }
.game-guidance .text-button { white-space: nowrap; padding: 8px 0; }
.game-guidance details p { color: var(--muted); line-height: 1.55; }
.game-guidance summary { cursor: pointer; }
.game-guidance details[open] > summary + p { margin-top: 12px; }
.selection-guidance { margin: 0 0 16px; color: var(--muted); line-height: 1.55; }
.standing-hidden-selection { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--muted); line-height: 1.5; }
.standing-hidden-selection strong { color: var(--ink); }
.round-points-summary { display: flex; flex-direction: column; gap: 5px; margin: 0 0 16px; font-size: 14px; line-height: 1.55; color: var(--ink); }
.round-points-summary small { flex-basis: 100%; font-size: 12px; color: var(--muted); }
.round-points-values { display: flex; flex-direction: column; gap: 4px; }
.round-points-values > span { white-space: normal; }
.points-info-button { display: inline-grid; place-items: center; min-width: 28px; min-height: 28px; border: 0; background: transparent; color: var(--green); cursor: pointer; font-size: 20px; vertical-align: middle; }
.points-heading-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.points-heading-row > h2, .points-heading-row > p { min-width: 0; margin: 0; }
.points-info-link { flex: 0 0 auto; white-space: nowrap; font-size: 14px; padding: 8px 0; }
.leaderboard-subtitle-row { margin-top: 5px; }
#ranking-top .page-header > div { width: 100%; }
.points-explanation { width: min(460px,calc(100vw - 32px)); max-height: min(640px,calc(100dvh - 40px)); overflow-y: auto; padding: 22px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: white; box-shadow: 0 12px 50px rgba(9,29,20,.2); text-transform: none; letter-spacing: normal; font-weight: 400; font-size: 14px; text-align: left; }
.points-explanation > header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.points-explanation h3 { margin: 0; font-size: 20px; }
.points-explanation h4 { margin: 18px 0 6px; font-size: 14px; }
.points-explanation .points-event-heading { margin: 22px 0 14px; font-size: 16px; }
.points-explanation p { line-height: 1.55; color: var(--muted); }
.points-explanation header button { min-height: 44px; min-width: 44px; }
.game-rules-dialog { width: min(760px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: white; color: var(--ink); box-shadow: 0 20px 70px rgba(9,29,20,.25); overflow-y: auto; overscroll-behavior: contain; }
.game-rules-dialog::backdrop { background: rgba(9,29,20,.58); backdrop-filter: blur(5px); }
.game-rules-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.game-rules-dialog h2 { margin: 0; }
.game-rules-dialog > header button { min-width: 44px; min-height: 44px; font-size: 24px; }
.game-rules-how-to { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:13px; width:100%; margin:0 0 16px; padding:15px 16px; border:1px solid #bdd5c6; border-radius:15px; background:#f2f8f4; color:var(--ink); text-align:left; cursor:pointer; }
.game-rules-how-to > span:first-child { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:var(--green); color:#fff; font-size:13px; }
.game-rules-how-to strong,.game-rules-how-to small { display:block; }
.game-rules-how-to strong { font-size:15px; }
.game-rules-how-to small { margin-top:3px; color:var(--muted); }
.game-rules-how-to b { color:var(--green); font-size:20px; }
.game-rules-how-to:hover,.game-rules-how-to:focus-visible { border-color:var(--green); background:#e9f4ec; outline:3px solid rgba(23,107,69,.1); }
.game-rules-dialog .accordion-item > summary { padding: 18px; cursor: pointer; font-weight: 700; }
@media (max-width: 600px) {
  .game-rules-dialog { padding: 18px; max-height: calc(100dvh - 24px); }
  .game-guidance .home-review-section-head .text-button { align-self: flex-end; }
}
.home-review-actions { display: grid; gap: 10px; }

body.home-tutorial-open { overflow:hidden; }
.home-tutorial-shell { position:fixed; z-index:220; inset:0; display:grid; place-items:center; padding:24px; }
.home-tutorial-backdrop { position:absolute; inset:0; width:100%; height:100%; padding:0; border:0; border-radius:0; background:rgba(8,28,19,.66); backdrop-filter:blur(7px); cursor:default; }
.home-tutorial-dialog { position:relative; z-index:1; display:flex; flex-direction:column; width:min(880px,100%); min-height:min(540px,calc(100dvh - 48px)); max-height:calc(100dvh - 48px); box-sizing:border-box; padding:26px; overflow:hidden; border:1px solid rgba(255,255,255,.72); border-radius:28px; background:#fff; box-shadow:0 32px 90px rgba(5,25,16,.3); }
.home-tutorial-dialog > header { flex:none; margin-bottom:10px; color:var(--muted); font-size:12px; font-weight:850; letter-spacing:.06em; text-transform:uppercase; }
.home-tutorial-body { display:grid; flex:1 1 auto; min-height:0; grid-template-columns:minmax(0,1.1fr) minmax(270px,.9fr); column-gap:36px; padding-bottom:12px; overflow-y:auto; overscroll-behavior:contain; }
.home-tutorial-demo { align-self:center; min-width:0; padding:22px; border:1px solid #d9e3dc; border-radius:22px; background:#f5f8f5; box-shadow:0 12px 30px rgba(19,53,34,.08); }
.home-tutorial-copy { align-self:center; min-width:0; }
.home-tutorial-copy h2 { margin:0; font-size:clamp(30px,4vw,46px); line-height:1.02; letter-spacing:-.045em; }
.home-tutorial-copy > p:last-child { max-width:330px; margin:16px 0 0; color:var(--muted); font-size:17px; line-height:1.5; }
.home-tutorial-dialog > footer { flex:none; display:flex; justify-content:space-between; align-items:center; gap:12px; padding-top:16px; border-top:1px solid var(--line); }
.home-tutorial-dialog footer [data-home-tutorial-skip] { min-height:44px; padding:0 6px; border:0; background:transparent; color:var(--green); font:inherit; font-size:14px; font-weight:850; cursor:pointer; }
.nickname-announcement-open { overflow:hidden; }
.nickname-announcement-layer { position:fixed; inset:0; z-index:10000; display:grid; place-items:center; padding:20px; background:rgba(10,25,17,.72); backdrop-filter:blur(8px); }
.nickname-announcement-dialog { position:relative; width:min(100%,520px); box-sizing:border-box; padding:32px; border-radius:26px; background:#fff; box-shadow:0 30px 90px rgba(0,0,0,.28); }
.nickname-announcement-close { position:absolute; top:16px; right:16px; display:grid; width:42px; height:42px; place-items:center; border:1px solid var(--line); border-radius:50%; background:#fff; color:var(--ink); font:500 28px/1 sans-serif; cursor:pointer; }
.nickname-announcement-close:focus-visible { outline:3px solid rgba(23,107,69,.24); outline-offset:2px; }
.nickname-announcement-dialog h2 { max-width:430px; margin:0 46px 14px 0; font-size:clamp(28px,6vw,42px); line-height:1.05; }
.nickname-announcement-dialog > p { margin:0 0 24px; color:var(--muted); font-size:17px; line-height:1.55; }
.nickname-announcement-dialog label { display:grid; gap:8px; font-weight:850; }
.nickname-announcement-dialog input { width:100%; min-height:52px; box-sizing:border-box; border:1px solid var(--line); border-radius:14px; padding:0 15px; font:inherit; font-size:18px; }
.nickname-announcement-dialog input:focus { outline:3px solid rgba(23,107,69,.22); border-color:var(--green); }
.nickname-announcement-dialog small { display:block; margin-top:8px; color:var(--muted); }
.nickname-announcement-promotion-note { margin-top:12px !important; padding-top:12px; border-top:1px solid var(--line); font-size:12px; line-height:1.45; }
.nickname-announcement-error { min-height:22px; margin:10px 0; color:#a33b31; font-weight:750; }
.home-tutorial-confetti { position:fixed; z-index:2; inset:0; overflow:hidden; pointer-events:none; }
.home-tutorial-confetti i { position:absolute; left:50%; top:46%; width:8px; height:13px; border-radius:2px; background:var(--color); opacity:0; animation:home-tutorial-confetti 1.65s cubic-bezier(.12,.86,.27,.99) var(--delay) both; }
.home-tutorial-welcome-demo { display:grid; place-items:center; min-height:310px; border:1px solid #dce4de; background:#fff; box-shadow:0 16px 38px rgba(19,53,34,.1); }
.home-tutorial-welcome-identity { display:flex; align-items:center; justify-content:center; gap:34px; width:100%; box-sizing:border-box; padding:32px; }
.home-tutorial-welcome-identity strong { display:grid; min-width:0; color:var(--ink); font-size:28px; line-height:1.03; letter-spacing:-.035em; overflow-wrap:anywhere; }
.home-tutorial-welcome-crest { flex:0 0 auto; display:grid; place-items:center; filter:drop-shadow(0 14px 18px rgba(22,72,44,.22)); }
.home-tutorial-welcome-crest .crest.large { width:116px; height:136px; }
@keyframes home-tutorial-confetti { 0% { opacity:0; transform:translate(-50%,-50%) rotate(0) scale(.2); } 8%,70% { opacity:1; } 100% { opacity:0; transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy) + 100px)) rotate(var(--spin)) scale(1); } }
.home-tutorial-actions { display:flex; justify-content:flex-end; gap:10px; }
.home-tutorial-actions .button { min-width:112px; }
.home-tutorial-demo > header { display:flex; align-items:center; gap:8px; margin-bottom:18px; }
.home-tutorial-demo > header strong { font-size:15px; }
.home-tutorial-demo > header > span:last-child { margin-left:auto; color:var(--muted); font-size:11px; font-weight:750; }
.home-tutorial-player-list { display:grid; gap:8px; }
.home-tutorial-player { position:relative; display:grid; grid-template-columns:auto auto minmax(0,1fr) auto; align-items:center; gap:10px; min-width:0; padding:10px 12px; border:1px solid #dfe5df; border-radius:14px; background:#fff; }
.home-tutorial-player.selected { border-color:var(--green); background:#eff7f1; box-shadow:inset 0 0 0 1px var(--green); }
.home-tutorial-player > span { display:grid; min-width:0; gap:2px; }
.home-tutorial-player small { color:var(--muted); font-size:9px; font-weight:850; letter-spacing:.07em; text-transform:uppercase; }
.home-tutorial-player strong { min-width:0; font-size:14px; overflow-wrap:anywhere; }
.home-tutorial-player > b { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--green); color:#fff; }
.home-tutorial-player.used { opacity:.65; }
.home-tutorial-player.used .player-portrait { filter:grayscale(1); }
.home-tutorial-player > b.home-tutorial-lock { background:#dde3de; color:var(--ink); }
.home-tutorial-deadline { display:flex; align-items:center; gap:7px; margin-top:13px; color:var(--muted); font-size:11px; }
.home-tutorial-deadline span { color:var(--green); font-size:16px; }
.home-tutorial-match-demo { display:grid; gap:8px; }
.home-tutorial-match-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:3px; padding:0 2px 12px; border-bottom:1px solid var(--line); font-size:12px; font-weight:850; }
.home-tutorial-match-head span { display:flex; align-items:center; gap:7px; }
.home-tutorial-match-head i { width:8px; height:8px; border-radius:50%; background:#d34e3e; box-shadow:0 0 0 4px rgba(211,78,62,.12); }
.home-tutorial-match-head > strong { color:var(--green); }
.home-tutorial-win { display:flex; align-items:center; gap:9px; margin-top:7px; padding:12px; border-radius:12px; background:#e5f2e8; color:var(--green-dark); font-size:12px; }
.home-tutorial-win span { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:var(--green); color:#fff; }
.home-tutorial-progress-demo { display:grid; gap:18px; }
.home-tutorial-path { display:grid; grid-template-columns:auto minmax(8px,1fr) auto minmax(8px,1fr) auto minmax(8px,1fr) auto minmax(8px,1fr) auto minmax(8px,1fr) auto; align-items:start; gap:4px; }
.home-tutorial-path > span { display:grid; justify-items:center; gap:7px; min-width:42px; }
.home-tutorial-path b { display:grid; place-items:center; width:34px; height:34px; border:2px solid #cdd7d0; border-radius:50%; background:#fff; color:var(--muted); font-size:11px; }
.home-tutorial-path .complete b { border-color:var(--green); background:var(--green); color:#fff; }
.home-tutorial-path .trophy b { border-color:#dfbd43; background:#fff9dd; font-size:17px; }
.home-tutorial-path small { max-width:58px; color:var(--muted); font-size:8px; font-weight:750; line-height:1.15; text-align:center; }
.home-tutorial-path > i { height:2px; margin-top:16px; background:#d6ded8; }
.home-tutorial-progress-demo > p { display:flex; align-items:center; gap:8px; margin:0; color:var(--green); font-size:12px; font-weight:800; }
.home-tutorial-progress-demo > p span { display:grid; place-items:center; width:24px; height:24px; border-radius:50%; background:#e2efe6; }
.home-review-action { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 24px; border: 1px solid #e6ebe5; border-radius: 16px; background: #f8faf8; }
.home-review-action.urgent { border-color: #bed5c8; border-left: 5px solid var(--green); background: #f2f8f4; }
.home-review-action-main { min-width: 0; }
.home-review-event { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; }
.home-review-event strong { color: var(--ink); font-size: 15px; }
.home-review-event a, .home-review-event-link { color: var(--ink); font-weight: 800; text-decoration: none; }
.home-review-event a:hover, .home-review-event a:focus-visible, .home-review-event-link:hover, .home-review-event-link:focus-visible { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.home-review-event a:hover strong, .home-review-event a:focus-visible strong { color: var(--green); }
.home-review-event small { color: var(--muted); font-size: 12px; }
.home-review-action h3 { margin: 9px 0 3px; font-size: 21px; }
.home-review-action p, .home-review-live p, .home-review-summary p { margin: 0; color: var(--muted); font-size: 13px; }
.home-review-action .button { flex: 0 0 auto; }
.reserve-activation-alert { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:16px; padding:20px 22px; border:1px solid #eccdc6; border-left:5px solid #a7483c; border-radius:18px; background:#fdf5f3; box-shadow:0 8px 24px rgba(94,31,23,.05); }
.reserve-activation-alert-icon { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#f2d8d2; color:#8e352b; font-size:18px; font-weight:900; }
.reserve-activation-alert-copy { display:grid; gap:5px; min-width:0; }
.reserve-activation-alert-copy h2 { margin:0; font-size:20px; line-height:1.2; }
.reserve-activation-alert-copy p { margin:0; color:#59635c; font-size:13px; line-height:1.45; }
.reserve-activation-alert-copy p strong { color:var(--ink); }
.reserve-activation-alert-action { display:inline-flex; align-items:center; justify-content:center; align-self:center; box-sizing:border-box; white-space:nowrap; line-height:1.2; text-align:center; text-decoration:none; }
.home-current-card { display:grid; gap:14px; min-width:0; padding:20px 24px; border:1px solid #e1e6df; border-radius:18px; background:#f8faf8; }
.home-current-card--quiet { border-style:dashed; background:#fbfcfa; }
.home-current-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; min-width:0; }
.home-current-card-head > div { display:grid; gap:7px; min-width:0; }
.home-current-card-head .button,.home-current-card-head .text-button { flex:0 0 auto; }
.home-card-cta { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; min-height:40px; padding-inline:15px; text-align:center; line-height:1.2; text-decoration:none; }
.button.secondary.home-card-cta { border-color:#9fbea9; color:var(--green); }
.button.secondary.home-card-cta:hover,.button.secondary.home-card-cta:focus-visible { border-color:var(--green); background:#eef6f0; color:var(--green-dark); }
.home-current-status,.home-current-context { margin:0; color:var(--muted); font-size:13px; line-height:1.45; }
.home-current-status { font-weight:650; }
.home-current-context { color:#556159; }
.home-current-result strong { color:var(--green); font-weight:850; white-space:nowrap; }
.home-current-card .home-choice-result-matches { margin:0; }
.home-supporting-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.home-preventive-action { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:14px; border-top:1px solid #dce4dd; }
.home-preventive-action > div { display:grid; gap:4px; }
.home-preventive-action span { color:var(--muted); }
.home-preventive-action .button { flex:0 0 auto; }
.home-supporting-choice { display:grid; grid-template-columns:minmax(0,1fr); align-items:start; gap:6px; min-width:0; padding:12px 14px; border:1px solid #dce5de; border-radius:13px; background:#fff; }
.home-supporting-choice--reserve { border-style:dashed; border-color:#b9cbc0; background:#fff; }
.home-supporting-choice--next { border-color:#d8ded9; background:#f6f8f5; }
.home-supporting-choice--next { grid-column:1 / -1; }
.home-supporting-choice > small { grid-column:1 / -1; color:var(--muted); font-size:10px; font-weight:850; letter-spacing:.055em; text-transform:uppercase; }
.home-supporting-choice-player { display:flex; align-items:center; gap:8px; min-width:0; font-size:12px; line-height:1.3; }
.home-supporting-choice-player > .country-flag { flex:0 0 auto; font-size:12px; }
.home-supporting-choice-player strong { min-width:0; overflow:visible; text-overflow:clip; white-space:normal; overflow-wrap:normal; word-break:normal; }
.home-supporting-choice-note { color:var(--muted); font-size:11px; line-height:1.35; text-align:left; }
.home-supporting-choice-main { display:grid; min-width:0; gap:6px; }
.home-supporting-choice-main > small { color:var(--muted); font-size:10px; font-weight:850; letter-spacing:.055em; text-transform:uppercase; }
.future-pick-opponents { display:grid; gap:6px; min-width:0; }
.future-pick-opponents > small { color:var(--muted); font-size:10px; font-weight:850; letter-spacing:.055em; text-transform:uppercase; }
.future-pick-opponents > div { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.future-pick-opponents > div > span { display:flex; align-items:center; gap:6px; min-width:0; font-size:11px; }
.future-pick-opponents .country-flag { font-size:11px; }
.future-pick-opponents > div > .future-pick-opponents-or { color:var(--muted); font-size:10px; font-weight:750; text-transform:lowercase; }
@media (min-width:780px) {
  .home-supporting-choice--next:has(.future-pick-opponents) { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); align-items:center; gap:20px; }
  .home-supporting-choice--next .future-pick-opponents { align-self:stretch; align-content:center; padding-left:20px; border-left:1px solid #e1e6e2; }
}
@media (max-width:779px) {
  .home-supporting-choice--next .future-pick-opponents { margin-top:4px; padding-top:9px; border-top:1px solid #e1e6e2; }
}
.home-review-summary time { display:block; margin-top:8px; color:var(--muted); font-size:13px; font-weight:650; }
.home-review-empty { min-width: 0; padding: 22px; border: 1px dashed #cfd9d1; border-radius: 16px; background: #f8faf8; }
.home-review-empty strong { display: block; font-size: 16px; }
.home-review-empty p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.home-review-live { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border: 1px solid #e6ebe5; border-radius: 16px; background: #f8faf8; }
.home-review-live-identity { display: flex; align-items: center; gap: 15px; min-width: 0; }
.home-review-live-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 999px; background: #e8f3eb; color: var(--green); font-size: 12px; font-weight: 750; white-space: nowrap; }
.home-review-live-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.home-review-live h3 { margin: 4px 0; font-size: 19px; }
.home-review-live h3 span { color: var(--muted); font-weight: 500; }
.home-review-live-score { display: flex; align-items: center; gap: 20px; flex: 0 0 auto; }
.home-review-live-score strong { font-size: 20px; white-space: nowrap; }
.home-review-score-detail { display: grid; gap: 9px; max-width: 440px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #f7faf7; }
.home-review-score-detail > div { display: grid; grid-template-columns: minmax(0,1fr) 28px 28px; gap: 10px; }
.home-review-score-detail > div span { text-align: center; font-weight: 800; }
.home-review-score-detail small { color: var(--muted); }
.home-review-lower { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.home-review-summary { position:relative; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:16px; min-height:113px; padding:20px; border:1px solid #e6ebe5; border-radius:16px; background:#f8faf8; }
.home-review-summary p { margin-top: 10px; }
.home-summary-outcome-row { display:flex; align-items:baseline; justify-content:flex-start; gap:8px; margin-top:10px; }
.home-summary-outcome-row p { display:flex; align-items:center; gap:6px; margin:0; }
.home-summary-trophy { flex:0 0 auto; font-size:15px; line-height:1; }
.home-summary-points { display:inline-flex; align-items:center; flex:0 0 auto; color:var(--green); font-size:13px; font-weight:850; white-space:nowrap; }
.home-summary-points--zero { color:var(--muted); }
.home-review-summary .home-card-cta { grid-column:2; grid-row:2; align-self:end; justify-self:end; }
.home-review-summary .text-button { flex: 0 0 auto; }
.home-review-season { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid #e6ebe5; border-radius: 16px; background: #f8faf8; }
.home-season-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 16px 12px; min-width: 0; padding: 20px 22px; }
.home-season-card + .home-season-card { border-left: 1px solid var(--line); }
.home-season-tour { grid-column: 1 / -1; color: var(--muted); font-size: 13px; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.home-season-metric { display: grid; gap: 4px; min-width: 0; }
.home-season-metric > span { color: var(--muted); font-size: 12px; font-weight: 750; }
.home-season-metric strong { color: var(--ink); font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.home-season-points { justify-items: end; }
.stats-model-tabs { display:flex; gap:6px; overflow-x:auto; padding:5px; border-radius:14px; background:#e9ece7; scrollbar-width:none; }
.stats-model-tabs button { flex:0 0 auto; min-height:40px; padding:0 16px; border:0; border-radius:10px; background:transparent; color:var(--muted); font-weight:850; }
.stats-model-tabs button.active { background:#fff; color:var(--ink); box-shadow:0 2px 8px rgba(24,35,29,.08); }
.ranking-panel { min-width:0; background:#fff; border:1px solid var(--line); border-radius:20px; padding:24px; }
.ranking-provenance { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; color:var(--muted); font-size:14px; }
.ranking-definition { color:var(--muted); font-size:14px; margin:12px 0 24px; }
.stats-ranking-table { width:100%; border-collapse:collapse; table-layout:fixed; }
.stats-ranking-table th:first-child { width:8%; }
.stats-ranking-table th:nth-child(2) { width:24%; }
.stats-ranking-table th:nth-child(3) { width:8%; }
.stats-ranking-table td:nth-child(3) { white-space:nowrap; font-size:14px; }
.stats-ranking-table th:nth-child(n+4) { width:10%; }
.stats-ranking-table th:nth-child(6) { width:20%; }
.stats-ranking-table.without-projections th:first-child { width:10%; }
.stats-ranking-table.without-projections th:nth-child(2) { width:32%; }
.stats-ranking-table.without-projections th:nth-child(3) { width:8%; }
.stats-ranking-table.without-projections th:nth-child(4) { width:14%; }
.stats-ranking-table.without-projections th:nth-child(5) { width:12%; }
.stats-ranking-table.without-projections th:nth-child(6) { width:24%; }
.stats-activity { display:flex; flex-direction:column; gap:5px; align-items:center; font-size:13px; font-weight:500; }
.stats-tournament-name { font-size:12px; }
.stats-category { text-decoration:none; cursor:help; font-size:11px; }
.stats-activity-status { color:var(--muted); font-size:13px; font-weight:750; }
.stats-activity-status.activity-active,.stats-activity-status.activity-qualifying { color:#24603d; }
.stats-activity-status.activity-eliminated,.stats-activity-status.activity-withdrawn,.stats-activity-status.activity-exempt { color:#a04d40; }
.stats-activity-status.activity-retired { color:#865519; }
.stats-filter-tools { grid-template-columns:minmax(0,1fr) auto; align-items:center; }
.stats-filter-tools .catalogue-advanced-filters { grid-column:1 / -1; grid-template-columns:minmax(260px,1.2fr) minmax(240px,1fr) auto; }
.stats-filter-tools .catalogue-advanced-field { gap:8px; align-content:start; min-width:0; }
.stats-filter-tools .catalogue-advanced-field > span { font-size:11px; line-height:14px; font-weight:850; }
.stats-filter-tools .catalogue-advanced-field input:not([type="checkbox"]),
.stats-filter-tools .catalogue-advanced-field select,
.stats-filter-tools .stats-country-toggle,
.stats-filter-tools .catalogue-filter-reset { box-sizing:border-box; height:54px; min-height:54px; padding:0 16px; border:1px solid var(--line); border-radius:14px; background-color:#fff; color:var(--ink); font:inherit; font-size:14px; line-height:20px; font-weight:750; }
.stats-filter-tools .stats-country-toggle { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.stats-filter-tools .catalogue-advanced-field select,.stats-filter-tools .stats-country-toggle { padding-right:44px; }
.stats-filter-tools .stats-age-range input::placeholder { font-weight:750; color:var(--muted); opacity:1; }
.stats-freshness { color:var(--muted); font-size:12px; align-self:center; text-align:right; }
@media(max-width:700px) { .stats-filter-tools, .stats-filter-tools .catalogue-advanced-filters { grid-template-columns:minmax(0,1fr); } .stats-freshness { text-align:left; } }
.stats-table-scroll { overflow-x:auto; }
.stats-search { width:100%; max-width:460px; }
.stats-table-scroll .stats-ranking-table { min-width:860px; }
.stats-rank { display:inline-grid; grid-template-columns:4ch 4ch; align-items:baseline; gap:6px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.stats-rank > span:first-child { text-align:right; }
.stats-rank-change { text-align:left; font-size:12px; font-weight:650; }
.stats-rank-change.rank-down { color:#a04d40; }
.stats-country-field { position:relative; }
.stats-country-toggle { background:white; border:1px solid var(--line); border-radius:14px; padding:16px; text-align:left; min-height:54px; font-weight:750; }
.stats-filter-tools select,
.stats-country-toggle { appearance:none; -webkit-appearance:none; padding-right:44px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2365746b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-size:16px 16px; background-position:right 16px center; }
.stats-country-toggle[aria-expanded="true"] { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 10 4-4 4 4' fill='none' stroke='%2365746b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.stats-country-menu { position:absolute; top:100%; left:0; width:max(100%,280px); max-height:350px; overflow-y:auto; background:white; border:1px solid var(--line); border-radius:18px; padding:12px; box-shadow:0 12px 30px #19251e20; z-index:20; }
.stats-country-menu label { display:flex; align-items:center; gap:12px; padding:12px; cursor:pointer; font-weight:750; }
.stats-country-menu input[type="checkbox"] { width:14px; height:14px; min-height:0; padding:0; flex:none; accent-color:var(--green); }
.stats-country-menu button { background:none; border:0; padding:12px; }
.stats-age-range { display:flex; gap:8px; }
.stats-age-range input { width:50%; min-width:0; border:1px solid var(--line); background:white; border-radius:14px; padding:16px; font:inherit; }
.stats-ranking-table th { color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.07em; padding:14px 8px; text-align:center; }
.stats-ranking-table td { padding:20px 8px; border-top:1px solid var(--line); text-align:center; font-variant-numeric:tabular-nums; }
.stats-ranking-table th:nth-child(2), .stats-ranking-table td:nth-child(2) { text-align:left; }
.stats-ranking-table td:first-child, .stats-ranking-table td:last-child { font-weight:850; }
.stats-player { display:flex; align-items:center; gap:12px; font-weight:750; }
.rank-up { color:var(--green); }
.stats-load-more { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; margin-top:24px; color:var(--muted); font-size:14px; text-align:center; }
.stats-load-more button { min-height:44px; padding:0 20px; border:1px solid var(--line); border-radius:12px; background:#fff; color:var(--ink); font:inherit; font-weight:750; }
@media(max-width:779px) { .stats-model-tabs button { flex:1 1 0; min-width:0; font-size:12px; padding:0 4px; white-space:normal; } }
@container stats (max-width:779px) {
  .ranking-panel { padding:0; border:0; border-radius:0; }
  .stats-model-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); min-width:0; width:100%; max-width:100%; box-sizing:border-box; overflow:visible; gap:3px; }
  .stats-model-tabs button { width:100%; min-width:0; max-width:100%; box-sizing:border-box; padding-inline:3px; white-space:normal; overflow-wrap:anywhere; }
  .stats-filter-tools { min-width:0; grid-template-columns:minmax(0,1fr); }
  .stats-filter-tools .catalogue-filter { min-width:0; }
  .stats-filter-tools .catalogue-filter-chips { display:grid; grid-template-columns:minmax(0,.65fr) minmax(0,.65fr) minmax(0,1.4fr); gap:5px; }
  .stats-filter-tools .catalogue-filter-chip { width:100%; max-width:100%; box-sizing:border-box; min-width:0; }
  .stats-filter-tools .catalogue-filter-divider { display:none; }
  .stats-filter-tools .catalogue-advanced-toggle { grid-column:auto; min-width:0; width:100%; max-width:100%; box-sizing:border-box; padding-inline:3px; white-space:normal; overflow-wrap:anywhere; }
  .stats-filter-tools .catalogue-advanced-filters { grid-template-columns:minmax(0,1fr); }
  .stats-age-detail { display:none; }
  .stats-search { min-width:0; max-width:none; }
  .stats-freshness { min-width:0; text-align:left; overflow-wrap:anywhere; }
  .stats-table-scroll .stats-ranking-table { min-width:0; }
  .stats-ranking-table th { letter-spacing:0; padding:5px 1px; font-size:9px; overflow-wrap:anywhere; }
  .stats-ranking-table th:first-child { white-space:nowrap; font-size:7px; }
  .stats-ranking-table td { padding:4px 1px; font-size:11px; line-height:1.2; vertical-align:middle; overflow-wrap:anywhere; }
  .stats-ranking-table th:first-child { width:6%; }
  .stats-ranking-table th:nth-child(2) { width:24%; }
  .stats-ranking-table th:nth-child(3) { width:6%; }
  .stats-ranking-table th:nth-child(4) { width:12%; }
  .stats-ranking-table th:nth-child(5) { width:9%; }
  .stats-ranking-table th:nth-child(6) { width:15%; }
  .stats-ranking-table th:nth-child(7), .stats-ranking-table th:nth-child(8) { width:14%; }
  .stats-ranking-table.without-projections th:first-child { width:6%; }
  .stats-ranking-table.without-projections th:nth-child(2) { width:27%; }
  .stats-ranking-table.without-projections th:nth-child(3) { width:7%; }
  .stats-ranking-table.without-projections th:nth-child(4) { width:14%; }
  .stats-ranking-table.without-projections th:nth-child(5) { width:10%; }
  .stats-ranking-table.without-projections th:nth-child(6) { width:36%; }
  .stats-ranking-table td:nth-child(3) { white-space:normal; font-size:10px; }
  .stats-ranking-table td:nth-child(4), .stats-ranking-table td:nth-child(5), .stats-ranking-table td:nth-child(7), .stats-ranking-table td:nth-child(8) { white-space:nowrap; font-size:11px; letter-spacing:-.2px; }
  .stats-ranking-table td:nth-child(4) strong, .stats-ranking-table td:nth-child(8) { font-weight:650; }
  .stats-ranking-table td:nth-child(5) { font-size:9px; }
  .stats-rank { grid-template-columns:1fr; gap:1px; width:100%; }
  .stats-ranking-table th:first-child, .stats-ranking-table td:first-child { text-align:left; padding-left:0; }
  .stats-rank > span:first-child, .stats-rank-change { text-align:left; }
  .stats-rank > span:first-child { font-size:9px; }
  .stats-rank-change { min-height:10px; font-size:7px; line-height:1.2; }
  .stats-rank-change:empty { display:none; }
  .stats-player { display:grid; grid-template-columns:15px minmax(0,1fr); align-items:start; gap:3px; font-size:11px; font-weight:650; line-height:1.2; }
  .stats-player > .country-flag { width:15px; min-width:15px; font-size:13px; line-height:1.2; white-space:nowrap; overflow-wrap:normal; }
  .stats-player > span:not(.country-flag) { min-width:0; overflow-wrap:anywhere; }
  .stats-activity { gap:1px; font-size:7px; line-height:1.25; }
  .stats-tournament-name, .stats-category { display:block; font-size:7px; }
  .stats-category-separator { display:none; }
  .stats-activity-status { font-size:8px; line-height:1.2; font-weight:650; }
}
@container stats (max-width:360px) {
  .stats-ranking-table.has-projections th:nth-child(2) { width:21%; }
  .stats-ranking-table.has-projections th:nth-child(3) { width:7%; }
  .stats-ranking-table.has-projections th:nth-child(4), .stats-ranking-table.has-projections th:nth-child(6), .stats-ranking-table.has-projections th:nth-child(7), .stats-ranking-table.has-projections th:nth-child(8) { width:13%; }
  .stats-ranking-table.has-projections th:nth-child(5) { width:12%; }
  .stats-rank > span:first-child { font-size:9px; }
  .stats-rank-change { font-size:6.5px; }
  .stats-ranking-table td:nth-child(4), .stats-ranking-table td:nth-child(5), .stats-ranking-table td:nth-child(7), .stats-ranking-table td:nth-child(8) { font-size:9px; }
}
.live-scores-provider { display:grid; gap:14px; }
.live-scores-provider-head { display:flex; align-items:center; gap:9px; }
.live-scores-embed { overflow:hidden; border:1px solid var(--line); border-radius:18px; background:white; }
.live-score-player-context { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px; margin-bottom:16px; border:1px solid var(--line); border-radius:16px; background:white; }
.live-score-player-context p { margin:6px 0; color:var(--muted); font-size:13px; }
.live-score-player-context [role="status"] { color:var(--green); font-size:13px; }
@media(max-width:600px) { .live-score-player-context { align-items:stretch; flex-direction:column; } }
.live-scores-embed iframe { display:block; width:100%; height:80dvh; min-height:700px; border:0; }
.live-scores-provider-credit { margin:0; color:var(--muted); font-size:12px; line-height:1.5; }
.live-scores-provider-credit a { color:var(--green); font-weight:700; }
@media(max-width:600px) { .live-scores-embed { border-radius:12px; } .live-scores-embed iframe { min-height:640px; } }

@media (min-width:1100px) and (max-width:1320px) {
  .desktop-nav button { padding-inline:10px; font-size:12px; }
  .tournament-catalogue-head,.tournament-catalogue-row { grid-template-columns:110px minmax(160px,1.4fr) 125px 46px 62px 60px 72px minmax(125px,1fr); gap:8px; }
}

@media (max-width:1099px) {
  .bottom-nav { grid-template-columns:repeat(5,minmax(64px,1fr)); overflow-x:auto; justify-content:start; }
  .bottom-nav button { min-width:64px; font-size:9px; }
  .catalogue-advanced-filters { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .catalogue-advanced-field--search { grid-column:1 / -1; }
  .tournament-catalogue-head { display:none; }
  .tournament-catalogue { display:grid; gap:12px; overflow:visible; border:0; background:transparent; }
  .tournament-catalogue-row { display:grid; grid-template-columns:1fr auto; gap:8px 16px; min-height:0; padding:18px; border:1px solid var(--line); border-radius:18px; background:#fff; }
  .tournament-catalogue-row > [role="cell"] { grid-column:1; }
  .tournament-catalogue-row > [role="cell"]:nth-child(3) { display:inline-flex; grid-column:auto; }
  .tournament-catalogue-row > [role="cell"]:nth-child(4),
  .tournament-catalogue-row > [role="cell"]:nth-child(5),
  .tournament-catalogue-row > [role="cell"]:nth-child(6),
  .tournament-catalogue-row > [role="cell"]:nth-child(7) { display:none; }
  .catalogue-mobile-meta { display:block; grid-column:1; color:var(--muted); font-size:12px; font-weight:750; }
  .catalogue-action { grid-column:2 !important; grid-row:1 / span 4; align-self:stretch; flex-direction:column; justify-content:space-between; align-items:flex-end; }
}

@media (max-width:620px) {
  .home-review { gap: 12px; padding: 12px; border-radius: 20px; }
  .home-first-intro { align-items: flex-start; gap: 16px; padding: 18px; }
  .home-first-intro .crest.medium { width: 58px; height: 66px; font-size: 25px; }
  .home-first-intro h2 { font-size: 21px; }
  .home-first-intro p { font-size: 13px; }
  .home-first-review .home-review-section--quiet { gap: 3px; padding: 12px 16px; }
  .home-first-review .home-review-section--quiet .home-review-section-head h2 { font-size: 16px; }
  .home-first-review .home-review-section--quiet .home-review-empty p { display: none; }
  .home-review-section { gap: 14px; padding: 16px; border-radius: 18px; }
  .home-review-preview-note { display: block; margin-top: 3px; }
  .home-review-section-head h2 { font-size: 20px; }
  .home-review-section-head p { font-size: 12px; }
  .interseason-intro { min-height:270px; padding:25px 18px; }
  .interseason-intro h2 { font-size:29px; }
  .interseason-intro>p { font-size:15px; }
  .interseason-countdown { width:100%; grid-template-columns:repeat(4,minmax(0,1fr)); }
  .interseason-countdown>div { padding:15px 4px 12px; }
  .interseason-countdown strong { font-size:29px; }
  .interseason-countdown span { font-size:9px; letter-spacing:.055em; }
  .interseason-event-grid { grid-template-columns:1fr; }
  .interseason-event-copy { grid-template-columns:1fr; gap:9px; }
  .interseason-recap { grid-template-columns:1fr; gap:16px; }
  .interseason-recap h2 { font-size:22px; }
  .interseason-recap nav { display:grid; justify-content:stretch; gap:11px; }
  .home-review-action, .home-review-live { align-items: stretch; flex-direction: column; padding: 17px; }
  .reserve-activation-alert { grid-template-columns:auto minmax(0,1fr); align-items:start; gap:12px; padding:17px; }
  .reserve-activation-alert-icon { width:30px; height:30px; }
  .reserve-activation-alert-copy h2 { font-size:18px; }
  .reserve-activation-alert-action { grid-column:1 / -1; width:100%; margin-top:2px; }
  .home-page-header { flex-direction:row; align-items:center; }
  .home-current-card { gap:12px; padding:16px; }
  .home-current-card-head { display:contents; }
  .home-current-card-head > div { order:0; }
  .home-current-card .home-choice-result-matches { order:1; }
  .home-current-card .home-current-context { order:2; }
  .home-current-card .home-supporting-choices { order:3; }
  .home-current-card .home-preventive-action { order:4; display:grid; }
  .home-preventive-action .button { width:100%; }
  .home-current-card-head .home-card-cta { order:5; width:100%; }
  .home-supporting-choices { grid-template-columns:1fr; }
  .home-supporting-choice { grid-template-columns:minmax(0,1fr); gap:6px; }
  .home-supporting-choice-note { text-align:left; }
  .home-review-empty { padding: 18px; }
  .home-review-action .button { width: 100%; }
  .home-review-live-score { flex-wrap: wrap; justify-content: space-between; width: 100%; gap: 10px; }
  .home-review-live h3 { font-size: 16px; }
  .home-review-lower { grid-template-columns: 1fr; }
  .home-review-summary { grid-template-columns:minmax(0,1fr) auto; min-height:96px; }
  .home-review-summary > div { grid-column:1 / -1; grid-row:1; padding-right:62px; }
  .home-review-summary-upcoming > div { padding-right:0; }
  .home-summary-outcome-row { display:block; margin-top:10px; }
  .home-review-summary--won .home-summary-outcome-row { margin-right:-62px; }
  .home-summary-points { position:absolute; top:20px; right:20px; padding:0; border-radius:0; background:transparent; font-size:18px; }
  .home-review-summary .home-card-cta { grid-column:1 / -1; grid-row:2; width:100%; margin-top:4px; }
  .home-season-card { grid-template-columns: minmax(0,1fr); align-items: start; gap: 10px; padding: 15px 12px; }
  .home-season-tour { font-size: 12px; }
  .home-season-metric > span { font-size: 10px; }
  .home-season-metric strong { font-size: 23px; }
  .home-season-points { justify-items: start; padding-top: 10px; border-top: 1px solid var(--line); }
  .catalogue-filter-chips { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .catalogue-filter-chip,.catalogue-advanced-toggle { width:100%; padding-inline:8px; }
  .catalogue-filter-divider { display:none; }
  .catalogue-advanced-filters { grid-template-columns:1fr; }
  .catalogue-advanced-field--search { grid-column:auto; }
  .home-action-card { align-items:stretch; flex-direction:column; padding:20px; }
  .home-dashboard-grid { grid-template-columns:1fr; }
  .home-dashboard-tile { min-height:96px; }
  .tournament-catalogue-row { grid-template-columns:minmax(0,1fr) auto; }
  .tournament-catalogue-row > [role="cell"]:nth-child(3) { grid-column:1; }
}

@media (min-width:621px) {
  .home-current-card.urgent { grid-template-columns:minmax(0,1fr) auto; }
  .home-current-card.urgent .home-current-card-head { display:contents; }
  .home-current-card.urgent .home-current-card-head > div { grid-column:1; grid-row:1; }
  .home-current-card.urgent .home-current-context { grid-column:1; grid-row:2; }
  .home-current-card.urgent .home-card-cta { grid-column:2; grid-row:1 / 3; align-self:center; }
  .home-current-card .button.secondary.home-current-secondary-cta {
    display:none;
  }
  .home-review-summary {
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto;
    gap:6px;
    min-height:0;
    padding:16px 18px;
  }
  .home-review-summary > div { grid-column:1; grid-row:1; }
  .home-review-summary .button.secondary.home-card-cta {
    display:none;
  }
  .home-summary-points::before { content:"·"; margin-right:8px; color:var(--muted); font-weight:650; }
}

@media (max-width:360px) {
  .home-review-section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
}

/* Chengdu shadow-gameplay review */
.selection-header h2 { display: flex; align-items: center; gap: 8px; }
.info-tip { position: relative; display: inline-grid; place-items: center; width: 18px; height: 18px; flex: 0 0 18px; border: 1px solid #cbd4ce; border-radius: 50%; color: var(--muted); font-size: 11px; font-weight: 800; line-height: 1; text-transform: none; letter-spacing: 0; cursor: help; }
.info-tip-bubble { position: fixed; z-index: 80; top: 8px; left: 8px; width: max-content; max-width: calc(100vw - 16px); padding: 8px 10px; border-radius: 8px; background: #10231b; color: #fff !important; font-size: 12px !important; font-weight: 600 !important; line-height: 1.35; text-transform: none !important; letter-spacing: 0 !important; opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.info-tip:hover .info-tip-bubble, .info-tip:focus .info-tip-bubble, .info-tip:focus-within .info-tip-bubble { opacity: 1; }
.planning-selection-tooltip p { margin:0 0 10px; color:inherit; font:inherit; }
.planning-selection-tooltip p:last-child { margin-bottom:0; }
.planning-selection-tooltip ul { margin:0 0 10px; padding-left:18px; list-style:disc; }
.planning-selection-tooltip li + li { margin-top:5px; }
.selection-task-head h3 > .info-tip { margin-inline-start:8px; vertical-align:middle; top:-2px; }
.provisional-match { border-style: dashed; }
.shadow-context-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 14px; background: white; }
.shadow-context-card.warning { border-left-color: #b6691d; }
.shadow-context-card.pending { border-left-color: #557180; }
.shadow-context-card.eliminated { border-left-color: #aa4438; }
.shadow-context-main { min-width: 0; flex: 1; }
.shadow-context-card .status-line { display: flex; align-items: center; gap: 10px; }
.shadow-context-card .status-dot { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: var(--green); }
.shadow-context-card.warning .status-dot { background: #b6691d; }
.shadow-context-card.pending .status-dot { background: #557180; }
.shadow-context-card.eliminated .status-dot { background: #aa4438; }
.shadow-context-card h2, .shadow-context-card p { margin: 0; }
.shadow-context-card h2 { font-size: 18px; }
.shadow-context-card > .shadow-context-main > p { margin: 5px 0 0 20px; color: var(--muted); }
.shadow-context-action { flex: 0 0 auto; }
.shadow-context-selection { max-width: 520px; margin: 14px 0 0 20px; padding-top: 12px; border-top: 1px solid var(--line); }
.shadow-context-player { display: flex; min-height: 40px; align-items: center; justify-content: space-between; gap: 16px; }
.shadow-context-player .state { flex: 0 0 auto; color: var(--muted); font-size: 12px; font-weight: 800; }
.shadow-context-player .state.won { color: var(--green); }
.shadow-context-player .state.lost { color: #aa4438; }
.shadow-outcome-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 36px; margin-top: 18px; padding: 28px 30px; border: 1px solid #ebd7d1; border-radius: 18px; background: #fdf7f4; box-shadow: 0 10px 28px rgba(95,48,39,.05); }
.shadow-outcome-copy .eyebrow { margin: 0 0 10px; color: #8f4238; font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.shadow-outcome-title { display: flex; align-items: center; gap: 14px; }
.shadow-outcome-title h2 { margin: 0; font-size: clamp(25px,3vw,38px); line-height: 1.08; letter-spacing: -.035em; }
.shadow-outcome-mark { position: relative; display: block; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; background: #b94b3e; color: transparent; font-size: 0; }
.shadow-outcome-mark::before, .shadow-outcome-mark::after { position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; border-radius: 999px; background: #fff; content: ""; }
.shadow-outcome-mark::before { transform: translate(-50%,-50%) rotate(45deg); }
.shadow-outcome-mark::after { transform: translate(-50%,-50%) rotate(-45deg); }
.shadow-outcome-copy > p:last-child { max-width: 680px; margin: 13px 0 0 48px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.shadow-outcome-stat { display: grid; min-width: 154px; padding: 18px 20px; border: 1px solid #ead7d1; border-radius: 14px; background: rgba(255,255,255,.78); }
.shadow-outcome-stat span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.shadow-outcome-stat strong { margin-top: 2px; font-size: 38px; line-height: 1; }
.shadow-outcome-stat small { margin-top: 8px; color: #984338; font-size: 12px; font-weight: 800; }
.shadow-history .section-head > span { color: var(--muted); font-size: 12px; }
.shadow-history-list { display: grid; gap: 10px; }
.shadow-history-round { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; }
.shadow-history-round > div:first-child { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: #f3f6f1; color: var(--muted); font-size: 12px; }
.shadow-history-round > div:first-child strong { color: var(--green); }
.shadow-history-player { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; border-top: 1px solid var(--line); }
.shadow-history-player .state, .shadow-gameplay-page .summary-row .state { flex: 0 0 auto; font-size: 12px; font-weight: 800; }
.shadow-history-player .state.won, .shadow-gameplay-page .summary-row .state.won { color: var(--green); }
.shadow-gameplay-page .summary-row .state.lost { color: #aa4438; }
.shadow-state-lab { margin-bottom: 0; }

@media (max-width: 779px) {
  .shadow-context-card { align-items: stretch; flex-direction: column; gap: 16px; }
  .shadow-context-card .button { width: 100%; }
  .shadow-context-selection { max-width: none; }
  .shadow-history .section-head { align-items: flex-start; flex-direction: column; gap: 3px; }
  .shadow-history-player { padding-inline: 10px; }
  .shadow-outcome-card { grid-template-columns: 1fr; gap: 22px; padding: 22px 20px; }
  .shadow-outcome-copy > p:last-child { margin-left: 0; }
  .shadow-outcome-stat { grid-template-columns: 1fr auto; align-items: center; min-width: 0; }
  .shadow-outcome-stat strong { grid-row: 1 / span 2; grid-column: 2; }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button { font: inherit; }
.hidden { display: none !important; }

button:focus-visible {
  outline: 3px solid rgba(23, 107, 69, 0.3);
  outline-offset: 2px;
}

.app-shell {
  min-height: 100dvh;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--paper);
  padding-bottom: calc(82px + env(safe-area-inset-bottom));
}
.app-shell.auth-shell { max-width: none; padding-bottom: 0; }

.topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 251, 0.94);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.brand,
.top-actions { display: flex; align-items: center; gap: 10px; }
.brand { min-height: 44px; border: 0; background: none; color: var(--ink); font-weight: 800; padding: 0; }

.icon-button,
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  color: var(--green);
}
.icon-button { font-size: 11px; font-weight: 900; }

.avatar.settings-trigger {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border-color: rgba(20,35,29,.18);
  background: rgba(255,255,255,.9);
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(20,35,29,.06);
}
.avatar.settings-trigger:hover,
.avatar.settings-trigger:focus-visible { border-color: rgba(20,35,29,.34); box-shadow: 0 12px 24px rgba(20,35,29,.12); transform:translateY(-1px); }

.page { padding: 22px 18px 40px; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 10px; font-size: clamp(30px, 6vw, 54px); line-height: 0.98; letter-spacing: -0.045em; }
h2 { margin-bottom: 14px; font-size: 22px; letter-spacing: -0.02em; }
h3 { margin-bottom: 5px; font-size: 16px; }
.lede { max-width: 650px; color: var(--muted); font-size: 16px; line-height: 1.5; }

.hero {
  overflow: hidden;
  min-height: 280px;
  border-radius: 26px;
  padding: 26px;
  color: white;
  background:
    radial-gradient(circle at 88% 20%, rgba(216, 242, 87, 0.88) 0 7%, transparent 7.5%),
    linear-gradient(145deg, #0b5636 0%, #168055 62%, #83a92f 150%);
  position: relative;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -175px;
  width: 360px;
  height: 360px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  box-shadow: inset 0 0 0 36px rgba(255,255,255,.035);
}

.hero .eyebrow { color: var(--lime); }
.hero h1 { max-width: 560px; }
.hero p { max-width: 560px; color: rgba(255,255,255,.78); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; position: relative; z-index: 1; }

.button {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  background: var(--green);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.button:hover { background: var(--green-dark); }
.button.accent { background: var(--lime); color: var(--ink); }
.button.secondary { background: white; color: var(--ink); border: 1px solid var(--line); }
.button.ghost { background: transparent; color: var(--green); border: 1px solid #b9cfc1; }
.button.block { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: .45; }

.meta-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  font-size: 12px;
  font-weight: 750;
}

.section { margin-top: 28px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.section-head h2, .section-head p { margin-bottom: 0; }
.text-button { border: 0; background: none; color: var(--green); font-weight: 800; cursor: pointer; }

.cards { display: grid; gap: 12px; }
.card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 5px 18px rgba(24,35,29,.035);
}
.card-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card-title-row h3 { margin: 0; }
.status-chip { display: inline-flex; align-items: center; min-height: 23px; padding: 0 8px; border-radius: 999px; background: var(--soft-green); color: var(--green-dark); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.warning-card .status-chip { background: #fff1df; color: #995315; }
.active-card { border-color: #b8d5c2; }

.tournament-card { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; }
.event-mark { display: grid; place-items: center; width: 52px; height: 58px; border-radius: 16px; background: #e8ebd0; color: #526117; font-weight: 900; }
.tournament-card p { margin: 0; color: var(--muted); font-size: 13px; }
.mini-button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 11px; background: var(--ink); color: white; font-weight: 800; }
.metric span, .metric small { display: block; color: var(--muted); }
.metric span { font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.metric strong { display: block; margin: 7px 0 4px; font-size: 30px; }
.three-col { grid-template-columns: repeat(3, 1fr); }

.lifecycle-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 5px;
  margin-bottom: 16px;
  border-radius: 15px;
  background: #e9ece7;
}
.lifecycle-tabs button { min-height: 44px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font-weight: 850; }
.lifecycle-tabs button.active { background: white; color: var(--ink); box-shadow: 0 3px 12px rgba(24,35,29,.08); }
.lifecycle-tabs span { display: inline-grid; place-items: center; min-width: 21px; height: 21px; margin-left: 6px; border-radius: 999px; background: var(--soft-green); color: var(--green-dark); font-size: 10px; }
.lifecycle-content { min-height: 150px; }
.archive-tools { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-bottom: 16px; }
.archive-tools label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.archive-tools select { min-width: 120px; min-height: 42px; border: 1px solid var(--line); border-radius: 11px; padding: 0 34px 0 12px; background: white; color: var(--ink); font: inherit; font-weight: 750; }
.tour-filter { display: flex; gap: 5px; padding: 4px; border-radius: 12px; background: #e9ece7; }
.common-tour-filter { width: fit-content; margin: 0 0 16px; }
.tour-filter button { min-width: 64px; min-height: 36px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 850; }
.tour-filter button.active { background: white; color: var(--ink); box-shadow: 0 2px 8px rgba(24,35,29,.08); }
.completed-card { display: grid; gap: 16px; }
.completed-card-head { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; }
.completed-card-head .eyebrow { margin-bottom: 4px; }
.completed-card-head h3, .completed-card-head p { margin-bottom: 0; }
.completed-card-head p:not(.eyebrow) { color: var(--muted); font-size: 12px; }
.completed-results { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.completed-results div { padding: 12px; border-radius: 12px; background: #f5f6f2; }
.completed-results span, .completed-results strong { display: block; }
.completed-results span { margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.completed-results strong { font-size: 13px; line-height: 1.3; }
.completed-results .muted-result { color: var(--muted); font-weight: 650; }
.archive-empty { border: 1px dashed #cfd5ce; border-radius: 18px; background: #fafaf7; }
.archive-empty p { color: var(--muted); }
.tournament-result-line { display:block; margin-top:6px; color:var(--muted); font-size:13px; }
.tournament-result-line strong { color:var(--ink); }
.archive-result-hero { padding:32px; border:1px solid #c8d8cd; border-radius:22px; background:#f3f8f4; }
.archive-result-hero .eyebrow { margin:0 0 20px; }
.archive-final-match { overflow:hidden; border:1px solid var(--line); border-radius:16px; background:white; }

.replacement-dialog-shell { position:fixed; z-index:180; inset:0; display:grid; place-items:center; padding:18px; }
.replacement-dialog-backdrop { position:absolute; inset:0; width:100%; height:100%; border:0; border-radius:0; background:rgba(7, 28, 19, .58); backdrop-filter:blur(4px); cursor:default; }
.replacement-dialog { position:relative; z-index:1; width:min(440px, 100%); padding:26px; border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:0 22px 60px rgba(6, 28, 18, .24); }
.replacement-dialog h2 { margin:0 0 10px; font-size:clamp(1.45rem, 3vw, 1.9rem); }
.replacement-dialog p { margin:0; color:var(--muted); line-height:1.5; }
.replacement-dialog > div { display:flex; justify-content:flex-end; gap:10px; margin-top:24px; }

.selection-role-dialog-shell { position:fixed; z-index:182; inset:0; display:grid; place-items:center; padding:18px; }
.selection-role-dialog-backdrop { position:absolute; inset:0; width:100%; height:100%; border:0; border-radius:0; background:rgba(7,28,19,.58); backdrop-filter:blur(4px); cursor:default; }
.selection-role-dialog { position:relative; z-index:1; width:min(590px,100%); padding:28px; border:1px solid var(--line); border-radius:24px; background:#fff; box-shadow:0 22px 60px rgba(6,28,18,.24); }
.selection-role-dialog > header { display:flex; align-items:center; gap:12px; margin-bottom:8px; }
.selection-role-candidate-portrait { display:flex; flex:0 0 auto; }
.selection-role-candidate-portrait :is(.player-portrait,.player-portrait-placeholder) { border-radius:14px; }
.selection-role-dialog h2 { margin:0; font-size:clamp(1.55rem,3vw,2rem); line-height:1.12; }
.selection-role-dialog > p { margin:0 0 22px; color:var(--muted); font-size:17px; line-height:1.45; }
.selection-role-options { display:grid; gap:10px; }
.selection-role-option { display:grid; width:100%; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:12px; padding:12px 16px; border:1px solid var(--line); border-radius:15px; background:#fff; color:var(--ink); text-align:left; cursor:pointer; }
.selection-role-option.reserve { border-color:#c8ddd0; background:#edf5ef; }
.selection-role-option:hover,.selection-role-option:focus-visible { border-color:var(--green); outline:3px solid rgba(23,107,69,.12); }
.selection-role-option :is(.player-portrait,.player-portrait-placeholder) { border-radius:11px; }
.selection-role-option span { min-width:0; }
.selection-role-option strong,.selection-role-option small { display:block; }
.selection-role-option small { margin-top:2px; color:var(--muted); font-size:12px; }
.selection-role-option.reserve small { color:var(--green); font-weight:750; }
.selection-role-option b { color:var(--green); font-size:20px; }
.selection-role-cancel { display:block; margin:16px auto 0; padding:8px 12px; border:0; background:transparent; color:var(--ink); font-weight:800; cursor:pointer; }

@media (max-width: 560px) {
  .replacement-dialog-shell { align-items:end; padding:12px; }
  .replacement-dialog { padding:22px; border-radius:20px; }
  .replacement-dialog > div { display:grid; grid-template-columns:1fr 1fr; }
  .selection-role-dialog-shell { align-items:center; padding:20px; }
  .selection-role-dialog { padding:22px 18px; border-radius:22px; }
  .selection-role-dialog h2 { font-size:1.65rem; }
  .selection-role-dialog > p { font-size:15px; }
  .selection-role-option { padding:12px 13px; }
}
.archive-final-row { display:grid; grid-template-columns:100px minmax(0,1fr) auto; align-items:center; gap:18px; min-height:92px; padding:16px 20px; }
.archive-final-row + .archive-final-row { border-top:1px solid var(--line); }
.archive-final-row.winner { background:#f2f8f4; }
.archive-final-role { color:var(--muted); font-size:11px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.archive-final-row.winner .archive-final-role, .archive-final-row.winner .player-identity > span:last-child { color:var(--green-dark); }
.archive-final-player { display:flex; min-width:0; align-items:center; gap:12px; }
.archive-final-player .country-flag { flex:0 0 auto; }
.archive-final-name > span + span::before { content:" "; }
.archive-final-score { justify-self:end; }
.archive-final-row .overview-score-cells { min-width:96px; align-self:stretch; align-items:center; justify-content:flex-end; }
.archive-history-note { margin-top:22px; padding:26px 30px; border:1px solid var(--line); border-radius:18px; }
.archive-history-note h2 { margin:0 0 8px; font-size:20px; }
.archive-history-note p { max-width:780px; margin:0 0 10px; color:var(--muted); line-height:1.55; }
.archive-history-note small { color:var(--muted); }

.step-header { margin-bottom: 22px; }
.back-button { border: 0; background: transparent; color: var(--green); padding: 0 0 14px; font-weight: 800; }
.tournament-catalogue-return { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; margin: 0 0 10px; padding: 0; border: 0; background: transparent; color: var(--green); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.tournament-catalogue-return span { font-size: 17px; line-height: 1; transition: transform .16s ease; }
.tournament-catalogue-return:hover span, .tournament-catalogue-return:focus-visible span { transform: translateX(-3px); }
.tournament-catalogue-return:focus-visible { border-radius: 4px; outline: 2px solid color-mix(in srgb,var(--green) 45%,transparent); outline-offset: 4px; }
.passing-tournament-navigator { display:grid; grid-template-columns:auto minmax(0,1fr); gap:18px; align-items:center; margin:0 0 10px; }
.passing-tournament-navigator .tournament-catalogue-return { margin:0; white-space:nowrap; }
.passing-tournament-nav-controls { display:grid; grid-template-columns:auto minmax(220px,380px) auto; gap:8px; align-items:center; justify-content:end; }
.passing-tournament-nav-step { display:flex; min-height:42px; align-items:center; justify-content:center; gap:7px; padding:0 13px; border:1px solid var(--line); border-radius:12px; background:white; color:var(--green); font:inherit; font-size:13px; font-weight:800; text-decoration:none; white-space:nowrap; }
.passing-tournament-nav-step.is-disabled { color:#9aa49d; background:#f2f4f1; cursor:not-allowed; }
.passing-tournament-nav-select { position:relative; display:block; min-width:0; }
.passing-tournament-nav-select::after { content:'⌄'; position:absolute; top:46%; right:18px; transform:translateY(-50%); color:var(--ink); font-size:18px; font-weight:900; line-height:1; pointer-events:none; }
.passing-tournament-nav-select select { width:100%; min-width:0; height:42px; padding:0 50px 0 12px; border:1px solid var(--line); border-radius:12px; appearance:none; background:white; color:var(--ink); font:inherit; font-size:13px; font-weight:700; }
.passing-tournament-nav-step:focus-visible,.passing-tournament-nav-select select:focus-visible { outline:3px solid var(--green); outline-offset:3px; }
@media(max-width:779px){.passing-tournament-navigator{grid-template-columns:1fr;gap:10px}.passing-tournament-nav-controls{grid-template-columns:42px minmax(0,1fr) 42px}.passing-tournament-nav-step{min-width:42px;padding:0;font-size:18px}.passing-tournament-nav-step span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.passing-tournament-nav-select select{height:44px}}
.progress-track { height: 7px; overflow: hidden; background: #e8ece8; border-radius: 999px; }
.progress-fill { height: 100%; border-radius: inherit; background: var(--green); transition: width .25s ease; }
.progress-copy { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 12px; }

.half-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin: 18px 0; border-radius: 14px; background: #eef0eb; }
.half-tabs button { min-height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 800; }
.half-tabs button.active { background: white; color: var(--ink); box-shadow: 0 3px 12px rgba(24,35,29,.08); }

.search { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 14px; padding: 0 15px; background: white; color: var(--ink); font: inherit; }
.view-toggle, .ranking-tabs, .tournament-tabs { display: flex; gap: 6px; margin: 16px 0; padding: 5px; border-radius: 14px; background: #eef0eb; }
.view-toggle { width: fit-content; }
.view-toggle button, .ranking-tabs button, .tournament-tabs button { min-height: 40px; border: 0; border-radius: 10px; padding: 0 16px; background: transparent; color: var(--muted); font-weight: 850; }
.view-toggle button.active, .ranking-tabs button.active, .tournament-tabs button.active { background: white; color: var(--ink); box-shadow: 0 3px 12px rgba(24,35,29,.07); }
.selection-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px 0 12px; }
.selection-tools strong { font-size: 14px; }
.draw-board { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; overflow: auto; }
.bracket-match { position: relative; display: grid; gap: 1px; min-width: 260px; margin-bottom: 14px; padding-right: 28px; }
.bracket-match span { padding: 9px 11px; border: 1px solid var(--line); background: white; font-size: 13px; }
.bracket-match span:first-child { border-radius: 10px 10px 0 0; }
.bracket-match span:nth-child(2) { border-top: 0; border-radius: 0 0 10px 10px; }
.bracket-match b { position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 11px; }

.draw-page { overflow: visible; }
.tournament-context { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.draw-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 12px; }
.round-jump, .draw-half-filter { display: flex; gap: 5px; padding: 4px; overflow-x: auto; border-radius: 12px; background: #e9ece7; scrollbar-width: none; }
.round-jump::-webkit-scrollbar, .draw-half-filter::-webkit-scrollbar { display: none; }
.round-jump button, .draw-half-filter button { flex: 0 0 auto; min-height: 36px; border: 0; border-radius: 9px; padding: 0 13px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 850; }
.round-jump button.active, .draw-half-filter button.active { background: white; color: var(--ink); box-shadow: 0 2px 8px rgba(24,35,29,.08); }
.draw-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0 12px; }
.draw-key { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0; color: var(--muted); font-size: 11px; }
.compact-half-filter { flex: 0 0 auto; }
.draw-key span { display: inline-flex; align-items: center; gap: 6px; }
.draw-browse-tools { display: grid; grid-template-columns: minmax(260px,1fr) 220px; gap: 12px; align-items: end; margin: 14px 0; }
.draw-player-search, .draw-section-select { position: relative; display: grid; gap: 6px; min-width: 0; color: var(--muted); font-size: 11px; font-weight: 800; }
.draw-search-field { position: relative; }
.draw-search-field input, .draw-section-select select { width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); font: inherit; font-size: 13px; font-weight: 700; }
.draw-search-field input { padding: 0 42px 0 13px; }
.draw-search-field input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.draw-section-select select { padding: 0 36px 0 13px; }
.draw-search-field input:focus, .draw-section-select select:focus { border-color: var(--green); outline: 3px solid rgba(23,107,69,.12); }
.draw-search-clear { position: absolute; top: 50%; right: 8px; width: 28px; height: 28px; transform: translateY(-50%); border: 0; border-radius: 50%; background: #edf1ed; color: var(--ink); font-size: 18px; line-height: 1; }
.draw-search-results { position: absolute; z-index: 14; top: calc(100% + 5px); left: 0; right: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 12px 28px rgba(24,35,29,.14); }
.draw-search-results button { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 40px; padding: 7px 11px; border: 0; border-bottom: 1px solid #edf0ec; background: white; color: var(--ink); text-align: left; font-size: 13px; font-weight: 750; }
.draw-search-results button:last-child { border-bottom: 0; }
.draw-search-results button:hover, .draw-search-results button:focus-visible { background: var(--soft-green); outline: 0; }
.draw-search-empty { padding:12px 13px; color:var(--muted); font-size:13px; font-weight:750; }
.winner-key { width: 18px; height: 18px; border-radius: 5px; background: #e8f4eb; border: 1px solid #cfe2d4; }
.selection-key { width: 18px; height: 18px; border: 2px solid #2f6fb3; border-radius: 5px; background: #eaf3ff; }
.draw-sticky-head { position: sticky; top: 68px; z-index: 8; display: grid; grid-template-columns: 52px minmax(0,1fr) 52px; width: 100%; height: 48px; overflow: hidden; border: 1px solid var(--line); border-bottom: 0; border-radius: 20px 20px 0 0; background: rgba(247,249,244,.96); box-shadow: 0 4px 12px rgba(24,35,29,.04); backdrop-filter: blur(10px); }
.draw-heading-scroll { min-width: 0; overflow: hidden; }
.draw-window-arrow { position: relative; z-index: 2; border: 0; border-radius: 0; background: var(--green); color: white; font-size: 30px; font-weight: 900; line-height: 1; }
.draw-window-arrow:not(:disabled):hover { background: var(--green-dark); }
.draw-window-arrow:focus-visible { outline: 3px solid var(--lime); outline-offset: -4px; }
.draw-window-arrow:disabled { background: #e2e7e1; color: #879189; }
.draw-viewport { overflow-x: auto; overflow-y: hidden; border: 1px solid var(--line); border-radius: 0 0 20px 20px; background: linear-gradient(90deg,#fbfcf8,#f5f7f2); scroll-snap-type: x proximity; scrollbar-color: #aeb8af transparent; }
.bracket-stage { position: relative; width: var(--stage-width, 800px); height: var(--stage-height, 930px); }
.bracket-headings { position: relative; width: var(--stage-width, 800px); height: 48px; background: rgba(247,249,244,.95); border-bottom: 1px solid var(--line); }
.bracket-heading { position: absolute; left: var(--x); top: 0; display: flex; align-items: center; justify-content: flex-start; width: min(240px, calc(var(--column-width, 200px) - 20px)); height: 48px; padding: 0 8px; color: var(--ink); font-size: 13px; font-weight: 900; text-align: left; scroll-snap-align: start; }
.bracket-heading.is-quarterfinal { justify-content: flex-start; gap: .28em; }
.bracket-heading small { color: var(--muted); font-size: 9px; font-weight: 750; text-transform: uppercase; }
.bracket-lines { position: absolute; inset: 0; width: var(--stage-width, 800px); height: var(--stage-height, 930px); pointer-events: none; }
.bracket-lines path { fill: none; stroke: #aebbb1; stroke-width: 1.25; opacity: .56; vector-effect: non-scaling-stroke; transition: opacity .2s ease; }
.bracket-lines path.compression-boundary { stroke: #b9c4bb; stroke-width: 1; opacity: .3; }
.bracket-lines path.search-route { stroke: #2f6fb3; stroke-width: 2.3; opacity: .95; }
.bracket-lines path.search-route.future-route { stroke-dasharray: 5 4; opacity: .55; }
.bracket-card { position: absolute; left: var(--x); top: var(--layout-top, calc(var(--y) - 28px)); z-index: 2; width: min(240px, calc(var(--column-width, 200px) - 20px)); min-height: 56px; overflow: hidden; border: 1px solid #cfd6d0; border-radius: 8px; background: white; box-shadow: 0 2px 6px rgba(24,35,29,.04); transition: opacity .2s ease; }
.bracket-card.search-path { border: 2px solid #2f6fb3; box-shadow: 0 4px 12px rgba(47,111,179,.12); }
.bracket-card.search-path-future { border-style: dashed; background: #f7faff; }
.bracket-player { position: relative; display: grid; grid-template-columns: 18px 20px minmax(0,1fr) max-content; gap: 4px; align-items: center; min-height: 27px; padding: 3px 6px; border-top: 1px solid #edf0ec; font-size: 10px; }
.bracket-player:first-child { border-top: 0; }
.bracket-bye-player { display: grid; grid-template-columns: 18px 20px minmax(0,1fr) max-content; }
.bracket-bye-player .bracket-name { grid-column: 3; }
.bracket-unresolved-player { min-height: 27px; }
.bracket-name { display: flex; min-width: 0; overflow: hidden; gap: .3em; align-items: baseline; color: var(--ink); font-weight: 600; white-space: nowrap; }
.bracket-initial { flex: 0 0 auto; }
.bracket-surname { min-width: 0; }
.bracket-designation { flex: 0 0 auto; }
.bracket-name.drop-initial .bracket-initial { display: none; }
.bracket-name.wrap-designation { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; line-height: 1; white-space: normal; }
.bracket-name.wrap-designation .bracket-designation { grid-row: 2; font-size: 8px; }
.bracket-name.truncate-surname .bracket-surname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bracket-portrait-placeholder { position: relative; display: block; width: 20px; height: 20px; overflow: hidden; border: 1px solid #cfd5d2; border-radius: 50%; background: #f7f8f7; }
.bracket-portrait-placeholder::before, .bracket-portrait-placeholder::after { content: ""; position: absolute; left: 50%; background: #b4bcb8; transform: translateX(-50%); }
.bracket-portrait-placeholder::after { bottom: 0; width: 15px; height: 7px; border-radius: 9px 9px 4px 4px; }
.bracket-portrait-placeholder.male::before { top: 2px; width: 6px; height: 10px; border-radius: 45% 45% 38% 38%; }
.bracket-portrait-placeholder.female::before { top: 2px; width: 10px; height: 11px; clip-path: polygon(30% 0,70% 0,88% 18%,100% 78%,72% 70%,68% 100%,32% 100%,28% 70%,0 78%,12% 18%); }
.bracket-player.search-player { background: #eaf3ff; }
.bracket-player.winner { background: #e8f4eb; }
.bracket-player.winner .bracket-name { color: var(--green-dark); font-weight: 850; }
.bracket-player.winner.search-player { background: #eaf3ff; }
.bracket-player.winner.search-player .bracket-name { color: #174f8b; }
.bracket-country, .bracket-result { color: var(--muted); font-size: 9px; }
.bracket-country { display: grid; place-items: center; align-self: center; width: 18px; min-width: 18px; height: 18px; }
.bracket-country .country-flag { font-size: 12px; }
.bracket-country.is-empty { color: #aeb6af; }
.bracket-result { display: grid; justify-items: end; min-width: 0; font-weight: 750; line-height: .9; white-space: nowrap; }
.bracket-result small { margin-top: 2px; font-size: 7px; font-weight: 900; }
.bracket-sets { display: grid; grid-auto-flow: column; grid-auto-columns: 11px; justify-content: end; gap: 4px; }
.bracket-sets > span { position: relative; width: 11px; text-align: center; }
.bracket-sets sup { position: absolute; top: -.08em; left: calc(50% + 4px); font-size: 6px; font-weight: 850; line-height: 1; }
.muted-path { opacity: .1 !important; }
.draw-footnote { margin: 10px 2px 0; color: var(--muted); font-size: 11px; }
.draw-scroll-preserver { width: 1px; pointer-events: none; }
@media (min-width: 700px) {
  .windowed-headings, .windowed-bracket { margin-inline: auto; }
}
.match-list { display: grid; gap: 10px; margin-top: 14px; }
.match-card { padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.match-meta { display: flex; justify-content: space-between; padding: 7px 10px 5px; color: var(--muted); font-size: 11px; font-weight: 700; }
.player-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; min-height: 52px; padding: 7px 9px; border-radius: 12px; }
.player-row + .player-row { border-top: 1px solid #edf0ec; }
.player-row.selected { background: var(--soft-green); }
.player-row.selected:not(.disabled-row) { transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.player-row.selected:not(.disabled-row):not(.selection-just-added):hover { background: #f9e9e5; box-shadow: inset 0 0 0 1px rgba(154,73,61,.28); transform: translateY(-1px); }
.player-row.selected:not(.disabled-row):not(.selection-just-added):hover .pick-toggle { border-color: #9a493d; background: #9a493d; color: #fff; font-size: 0; transform: scale(1.06); }
.player-row.selected:not(.disabled-row):not(.selection-just-added):hover .pick-toggle::after { content:"−"; font-size: 20px; line-height: 1; }
.player-seed { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f0f1ed; color: var(--muted); font-size: 11px; font-weight: 800; }
.player-name { font-size: 14px; font-weight: 800; }
.player-country { display: flex; align-items: center; gap: 5px; min-height: 17px; color: var(--muted); font-size: 11px; }
.country-flag { display: inline-block; font-size: 17px; line-height: 1; vertical-align: middle; }
.country-flag img { display:block; width:1.35em; height:1em; object-fit:contain; border-radius:1px; outline:1px solid rgba(24,35,29,.1); outline-offset:-1px; }
.operational-overview [data-overview-case="operational-open"] > .overview-choice-recap { position:sticky; top:90px; z-index:12; padding:12px 16px; box-shadow:0 4px 14px #19251d10; }
.operational-overview .overview-choice-recap .overview-section-head { margin-bottom:8px; }
.operational-overview .overview-choice-recap .overview-choice-item { padding:8px; }
.home-saved-pick { margin:12px 0; }
.home-saved-pick > small { display:block; margin:5px 0 0 40px; color:var(--muted); }
.home-saved-choices { align-items:flex-start; flex-wrap:wrap; }
@media(max-width:600px) {
  .operational-overview [data-overview-case="operational-open"] > .overview-choice-recap { top:68px; padding:8px; }
  .operational-overview .overview-choice-recap .overview-choice-list { grid-template-columns:1fr 1fr; gap:6px; }
  .operational-overview .overview-choice-recap .overview-choice-starter { display:flex; flex-wrap:wrap; gap:4px; padding:4px; }
  .operational-overview .overview-choice-recap .overview-choice-starter .player-identity { flex:1 0 100%; }
  .operational-overview .overview-choice-recap .player-identity > span:last-child { white-space:normal; overflow:visible; text-overflow:clip; }
  .operational-overview .overview-choice-recap .overview-choice-role { font-size:9px; }
  .operational-overview .overview-choice-recap .player-identity { font-size:12px; }
  .operational-overview .overview-choice-recap .overview-choice-bench { margin-left:4px; padding-left:6px; flex-wrap:wrap; gap:3px; }
}
.pick-toggle { width: 34px; height: 34px; border: 1px solid #cbd3cd; border-radius: 50%; background: white; color: var(--green); font-weight: 900; transition: background-color .16s ease, border-color .16s ease, transform .16s ease; }
.selected .pick-toggle { border-color: var(--green); background: var(--green); color: white; }
.player-row.disabled-row { background: #f5f4f2; cursor: default; }
.player-row.disabled-row .player-seed { background: #e8e8e5; color: #858b86; }
.player-row.disabled-row .player-name { color: #626a65; }
.player-row.disabled-row .player-portrait { filter: grayscale(.7) saturate(.45); opacity: .62; }
.player-row.disabled-row .player-portrait-placeholder { opacity: .72; }
.player-row.used-player-row { background: #faf5f3; }
.player-status { justify-self: end; }
.player-status-used { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 10px; border: 1px solid #efd1cb; border-radius: 999px; background: #f8e4e0; color: #8d3027; font-size: 11px; font-weight: 800; line-height: 1.15; text-align: center; }

.sticky-action {
  position: sticky;
  bottom: 72px;
  z-index: 5;
  margin: 20px -4px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,254,251,.96);
  box-shadow: 0 12px 32px rgba(24,35,29,.14);
  backdrop-filter: blur(16px);
}
.sticky-action p { margin: 0 0 10px; color: var(--muted); font-size: 12px; }

.success-note { display: flex; gap: 10px; align-items: start; padding: 14px; margin-bottom: 16px; border-radius: 16px; background: var(--soft-green); color: var(--green-dark); }
.success-note strong { display: block; margin-bottom: 3px; }
.success-note p { margin: 0; font-size: 13px; }

.bench-grid { display: grid; gap: 14px; }
.bench-card { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: white; }
.bench-card .label { color: var(--green); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.protected-picks { display: flex; gap: 8px; margin: 12px 0; }
.protected-picks button { flex: 1; min-height: 40px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--muted); font-weight: 750; }
.protected-picks button.active { border-color: var(--green); background: var(--soft-green); color: var(--green-dark); }
.bench-option { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-top: 1px solid #edf0ec; }
.bench-option button { border: 0; border-radius: 10px; padding: 8px 11px; background: var(--ink); color: white; font-weight: 800; }

.status-panel { padding: 20px; border-radius: 22px; background: var(--ink); color: white; }
.status-panel .eyebrow { color: var(--lime); }
.status-line { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(216,242,87,.12); }
.status-panel p { margin: 10px 0 0; color: rgba(255,255,255,.7); }
.status-panel.warning { background: #6f4616; }
.status-panel.pending { background: #253c4a; }
.status-panel.eliminated { background: #4c302b; }
.status-panel.winner { background: linear-gradient(135deg,#0c4a30,#6b7f1f); }
.status-panel.complete { background: #343934; }
.status-panel.warning .status-dot, .status-panel.eliminated .status-dot { background: #ffb768; }
.status-panel.pending .status-dot { background: #8bd2ff; }
.status-panel.winner .status-dot { background: var(--lime); }
.tournament-tabs { margin-top: 16px; }

.deadline-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.deadline-card p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.deadline-time { text-align: right; font-weight: 900; color: var(--clay); }

.selection-summary { display: grid; gap: 8px; }
.summary-row { display: grid; grid-template-columns: 8px 1fr auto; gap: 10px; align-items: center; padding: 12px; background: #f7f7f3; border-radius: 12px; }
.summary-row .bar { width: 8px; height: 34px; border-radius: 10px; background: var(--green); }
.summary-row p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.summary-row .state { color: var(--green); font-size: 12px; font-weight: 900; }

.ranking-list { display: grid; gap: 8px; }
.ranking-row { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 10px; padding: 12px 8px; border-bottom: 1px solid #edf0ec; }
.ranking-row { width: 100%; border-left: 0; border-right: 0; border-top: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.ranking-row.you { border: 0; border-radius: 12px; background: var(--soft-yellow); }
.rank { font-weight: 900; text-align: center; }
.ranking-row p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.points { font-weight: 900; }
.advance-card { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 20px; border: 1px solid #cfe0d3; border-radius: 20px; background: var(--soft-green); }
.advance-card p { margin-bottom: 0; color: var(--muted); }
.result-summary { background: linear-gradient(135deg,#f7f7f1,#eef3e4); }
.result-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 18px; }
.result-metrics div { padding: 14px; border-radius: 14px; background: white; }
.result-metrics strong, .result-metrics span { display: block; }
.result-metrics strong { font-size: 24px; }
.result-metrics span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.completed-winners { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.completed-winners div { padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.75); }
.completed-winners span, .completed-winners strong { display: block; }
.completed-winners span { margin-bottom: 4px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.info-note { margin: 14px 0; padding: 15px 17px; border-radius: 15px; background: var(--soft-green); color: var(--green-dark); }
.info-note p { margin: 4px 0 0; }
.ranking-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; overflow: hidden; margin: 16px 0; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.ranking-summary div { padding: 16px; background: white; }
.ranking-summary span, .ranking-summary strong { display: block; }
.ranking-summary span { color: var(--muted); font-size: 12px; }
.ranking-summary strong { margin-top: 4px; font-size: 24px; }
.profile-hero { display: flex; align-items: center; gap: 22px; margin-bottom: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.profile-hero h1 { margin-bottom: 6px; }
.profile-hero p { margin-bottom: 0; color: var(--muted); }
.result-table { overflow: hidden; padding: 0; }
.table-row { display: grid; grid-template-columns: 1.4fr 1fr .65fr .65fr; align-items: center; gap: 10px; padding: 13px 15px; border-top: 1px solid var(--line); font-size: 13px; }
.table-row.header { border-top: 0; background: #eef0eb; color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }

.auth-page, .onboarding-page { min-height: 100dvh; padding: 24px; background: #f3f3ed; }
.auth-brand { display: flex; align-items: center; gap: 10px; max-width: 1180px; margin: 0 auto 24px; font-size: 18px; }
.auth-brand .language-link { margin-left: auto; }
.language-link { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: white; font-weight: 850; }
.auth-grid { display: grid; grid-template-columns: 1.15fr .85fr; min-height: calc(100dvh - 100px); max-width: 1180px; margin: 0 auto; overflow: hidden; border-radius: 28px; background: white; box-shadow: var(--shadow); }
.auth-visual { position: relative; overflow: hidden; padding: 64px; color: white; background: linear-gradient(145deg,#0c5837,#1d8a59); }
.auth-visual .eyebrow { color: var(--lime); }
.auth-visual h1 { max-width: 570px; font-size: clamp(44px,6vw,76px); }
.auth-visual p { max-width: 540px; color: rgba(255,255,255,.75); font-size: 18px; line-height: 1.5; }
.court-lines { position: absolute; right: -160px; bottom: -260px; width: 620px; height: 620px; border: 2px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: inset 0 0 0 50px rgba(255,255,255,.025); }
.auth-card { align-self: center; max-width: 440px; width: 100%; padding: 50px; margin: auto; }
.auth-card .button + .button, .identity-review + .button, .identity-review ~ .button { margin-top: 10px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 14px; color: var(--muted); font-size: 12px; }
.divider::before, .divider::after { content:""; height:1px; flex:1; background:var(--line); }
.auth-link { display: block; margin: 18px auto 0; }
.onboarding-card { width: min(700px,100%); margin: 50px auto; padding: 38px; border-radius: 26px; background: white; box-shadow: var(--shadow); }
.onboarding-card.crest-step { width: min(1120px,100%); padding: 46px 64px; }
.onboarding-progress { height: 7px; margin: -10px 0 34px; overflow: hidden; border-radius: 999px; background: #ebeee9; }
.onboarding-progress span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.onboarding-actions { display: flex; justify-content: space-between; margin-top: 28px; }
.field-label { display: grid; gap: 8px; margin-top: 20px; font-size: 13px; font-weight: 850; }
.onboarding-field-heading { position:relative; display:flex; align-items:center; gap:7px; width:max-content; max-width:100%; }
.onboarding-info-tip { display:inline-grid; place-items:center; width:18px; height:18px; flex:0 0 18px; margin:0; padding:0; border:1px solid #cbd4ce; border-radius:50%; background:transparent; color:var(--muted); font:inherit; font-size:11px; font-weight:800; line-height:1; cursor:help; }
.onboarding-info-bubble { position:absolute; z-index:120; left:0; bottom:calc(100% + 9px); box-sizing:border-box; width:max-content; max-width:min(300px,calc(100vw - 48px)); padding:9px 11px; border-radius:8px; background:#10231b; color:#fff; font-size:12px; font-weight:600; line-height:1.35; text-transform:none; letter-spacing:0; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .15s ease,visibility .15s ease; }
.onboarding-info-tip:hover + .onboarding-info-bubble,
.onboarding-info-tip:focus + .onboarding-info-bubble,
.onboarding-info-tip:focus-visible + .onboarding-info-bubble { opacity:1; visibility:visible; }
.field { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 13px; padding: 0 14px; font: inherit; font-size: 16px; }
.field-help { display: flex; justify-content: space-between; margin-top: 7px; color: var(--muted); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.crest-builder { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; margin-top: 34px; }
.crest-stage { display: grid; place-items: center; min-height: 420px; border-radius: 32px; background: #f1f2ed; }
.crest { position: relative; display: grid; place-items: center; overflow: visible; color: var(--symbol); filter:drop-shadow(0 0 1px rgba(24,35,29,.45)) drop-shadow(0 2px 3px rgba(24,35,29,.14)); }
.crest-face { position:absolute; inset:0; display:grid; place-items:center; overflow:hidden; background:var(--crest); clip-path:polygon(50% 0,92% 16%,85% 72%,50% 100%,15% 72%,8% 16%); box-shadow:inset 0 0 0 8px rgba(255,255,255,.18); }
.crest > .crest-face > .crest-symbol-wrap { position: relative; z-index: 2; display: grid; place-items: center; width: 62%; height: 62%; color: var(--symbol); }
.crest-face > i { position: absolute; z-index: 1; display: block; background: var(--pattern); }
.crest.pattern-stripe .crest-face > i { width: 150%; height: 22%; transform: rotate(-28deg); }
.crest.pattern-split .crest-face > i { width: 50%; height: 100%; right: 0; }
.crest.pattern-half-diagonal .crest-face > i { inset:0; width:100%; height:100%; clip-path:polygon(100% 0,100% 100%,0 100%); transform:none; }
.crest.pattern-plain .crest-face > i { display: none; }
.crest.large { width: 220px; height: 260px; font-size: 76px; }
.crest.medium { width: 90px; height: 100px; font-size: 38px; }
.crest.shape-round > .crest-face,.ranking-crest.shape-round > .ranking-crest-face,.shape-sample.shape-round { clip-path:circle(45% at 50% 50%); }
.crest.shape-oval > .crest-face,.ranking-crest.shape-oval > .ranking-crest-face,.shape-sample.shape-oval { clip-path:ellipse(43% 48% at 50% 50%); }
.crest.shape-diamond > .crest-face,.ranking-crest.shape-diamond > .ranking-crest-face,.shape-sample.shape-diamond { clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%); }
.symbol-list.crest-shape-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.symbol-list.crest-shape-list button { display:grid; place-items:center; gap:5px; height:78px; min-width:0; padding:8px 4px; font-size:11px; }
.crest-stage { align-self:start; position:sticky; top:24px; min-height:min(420px,calc(100dvh - 48px)); }
.team-identity-panel { display:grid; gap:20px; }
.team-identity-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.identity-summary-card,.team-inline-editor { border:1px solid var(--line); border-radius:20px; padding:20px; background:white; }
.team-identity-summary .identity-summary-card { min-height:148px; }
.identity-summary-card header { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; color:var(--muted); font-size:13px; }
.identity-summary-card>strong { display:block; overflow-wrap:anywhere; font-size:17px; }
.team-identity-summary>.identity-summary-card:not(.identity-crest-summary)>strong { margin-top:26px; }
.identity-country-lock { padding:5px 10px; border-radius:999px; background:var(--soft); font-size:12px; font-weight:700; }
.admin-issue-list { display:grid; gap:16px; }
.admin-issue-card { padding:24px; overflow-wrap:anywhere; }
.admin-issue-card header { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.admin-issue-card h2 { font-size:20px; margin:0 0 12px; }
.identity-crest-summary>div { display:flex; align-items:center; min-height:72px; }
.identity-crest-summary .ranking-crest { width:52px; height:60px; flex:0 0 52px; }
.team-inline-editor { scroll-margin-top:24px; }
@media(max-width:700px) {
  .team-identity-panel { padding-bottom:var(--team-keyboard-inset,0px); }
  .team-inline-editor input,.team-inline-editor textarea { scroll-margin-block:100px 24px; font-size:16px; }
}
.team-inline-editor h2 { font-size:22px; margin:0 0 20px; }
.team-inline-editor .form-grid .field-label,.team-inline-editor .identity-country { margin-top:0; }
.team-inline-actions { display:flex; gap:12px; margin-top:24px; }
.team-inline-crest .crest-builder { align-items:start; }
@media(max-width:700px) { .team-identity-summary { grid-template-columns:1fr; gap:12px; } .identity-summary-card,.team-inline-editor { padding:18px; } .team-inline-crest .crest-builder { grid-template-columns:1fr; gap:24px; } .team-inline-crest .crest-stage { position:static; min-height:220px; } }
.shape-sample { display:block; width:28px; height:34px; background:var(--green); clip-path:polygon(50% 0,92% 16%,85% 72%,50% 100%,15% 72%,8% 16%); }
@media(max-width:700px) {
  .team-inline-crest .crest-stage {
    position:sticky; top:calc(68px + env(safe-area-inset-top) + 8px);
    z-index:40; min-height:96px; height:96px; border-radius:16px;
    border:1px solid var(--line); box-shadow:0 6px 18px rgba(17,43,32,.08);
  }
  .team-inline-crest .crest-stage .crest.large { width:64px; height:76px; }
  .team-inline-crest .crest-controls button,.team-inline-crest .crest-controls input { scroll-margin-top:184px; }
}
@media(max-width:700px) {
  .onboarding-card.crest-step .crest-stage {
    position:sticky;
    top:calc(12px + env(safe-area-inset-top));
    z-index:40;
    min-height:96px;
    height:96px;
    border:1px solid var(--line);
    border-radius:16px;
    background:rgba(241,242,237,.96);
    box-shadow:0 6px 18px rgba(17,43,32,.08);
    backdrop-filter:blur(8px);
  }
  .onboarding-card.crest-step .crest-stage .crest.large { width:64px; height:76px; }
  .onboarding-card.crest-step .crest-controls button,
  .onboarding-card.crest-step .crest-controls input { scroll-margin-top:124px; }
}
.crest.shape-shield > .crest-face,.ranking-crest.shape-shield > .ranking-crest-face,.shape-sample.shape-shield { clip-path:none; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M50%203%20L94%2015%20C94%2058%2084%2080%2050%2097%20C16%2080%206%2058%206%2015%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M50%203%20L94%2015%20C94%2058%2084%2080%2050%2097%20C16%2080%206%2058%206%2015%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; }
.crest.shape-heater > .crest-face,.ranking-crest.shape-heater > .ranking-crest-face,.shape-sample.shape-heater { clip-path:none; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M8%208%20H92%20V43%20C92%2069%2074%2085%2050%2097%20C26%2085%208%2069%208%2043%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M8%208%20H92%20V43%20C92%2069%2074%2085%2050%2097%20C26%2085%208%2069%208%2043%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; }
.crest.shape-french > .crest-face,.ranking-crest.shape-french > .ranking-crest-face,.shape-sample.shape-french { clip-path:none; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M8%208%20Q29%2014%2050%204%20Q71%2014%2092%208%20L92%2063%20Q91%2084%2050%2097%20Q9%2084%208%2063%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M8%208%20Q29%2014%2050%204%20Q71%2014%2092%208%20L92%2063%20Q91%2084%2050%2097%20Q9%2084%208%2063%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; }
.crest.shape-swiss > .crest-face,.ranking-crest.shape-swiss > .ranking-crest-face,.shape-sample.shape-swiss { clip-path:none; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M10%205%20Q30%2015%2050%204%20Q70%2015%2090%205%20L97%2014%20Q83%2032%2089%2059%20Q97%2087%2050%2097%20Q3%2087%2011%2059%20Q17%2032%203%2014%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M10%205%20Q30%2015%2050%204%20Q70%2015%2090%205%20L97%2014%20Q83%2032%2089%2059%20Q97%2087%2050%2097%20Q3%2087%2011%2059%20Q17%2032%203%2014%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; }
.crest.shape-english > .crest-face,.ranking-crest.shape-english > .ranking-crest-face,.shape-sample.shape-english { clip-path:none; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M8%2010%20Q26%2023%2050%205%20Q74%2023%2092%2010%20Q92%2067%2050%2097%20Q8%2067%208%2010%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M8%2010%20Q26%2023%2050%205%20Q74%2023%2092%2010%20Q92%2067%2050%2097%20Q8%2067%208%2010%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; }
.crest.shape-tulip > .crest-face,.ranking-crest.shape-tulip > .ranking-crest-face,.shape-sample.shape-tulip { clip-path:none; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M7%208%20Q30%2013%2050%205%20Q70%2013%2093%208%20Q104%2066%2050%2097%20Q-4%2066%207%208%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M7%208%20Q30%2013%2050%205%20Q70%2013%2093%208%20Q104%2066%2050%2097%20Q-4%2066%207%208%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; }
.crest.shape-arched > .crest-face,.ranking-crest.shape-arched > .ranking-crest-face,.shape-sample.shape-arched { clip-path:none; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M8%2016%20Q50%20-8%2092%2016%20V52%20Q92%2082%2050%2097%20Q8%2082%208%2052%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M8%2016%20Q50%20-8%2092%2016%20V52%20Q92%2082%2050%2097%20Q8%2082%208%2052%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; }
.crest.shape-badge > .crest-face,.ranking-crest.shape-badge > .ranking-crest-face,.shape-sample.shape-badge { clip-path:none; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M10%204%20Q30%2021%2050%205%20Q70%2021%2090%204%20L97%2012%20Q84%2031%2090%2060%20Q99%2080%2075%2089%20L50%2098%20L25%2089%20Q1%2080%2010%2060%20Q16%2031%203%2012%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M10%204%20Q30%2021%2050%205%20Q70%2021%2090%204%20L97%2012%20Q84%2031%2090%2060%20Q99%2080%2075%2089%20L50%2098%20L25%2089%20Q1%2080%2010%2060%20Q16%2031%203%2012%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; }
.crest.shape-pennant > .crest-face,.ranking-crest.shape-pennant > .ranking-crest-face,.shape-sample.shape-pennant { clip-path:none; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M12%205%20H88%20V74%20L50%2097%20L12%2074%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20100%20100%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M12%205%20H88%20V74%20L50%2097%20L12%2074%20Z%22%2F%3E%3C%2Fsvg%3E") center / 100% 100% no-repeat; }
.nation-filter { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:16px 0; padding:14px; border-radius:16px; background:var(--soft-green); }
.nation-filter>span { width:100%; font-size:11px; font-weight:800; text-transform:uppercase; color:var(--muted); }
.nation-filter button { border:1px solid var(--line); border-radius:999px; padding:9px 14px; background:white; font:inherit; font-size:12px; font-weight:750; }
.nation-filter button.active { background:var(--green); color:white; border-color:var(--green); }
.competition-team small.competition-manager { display:flex; align-items:center; gap:6px; min-width:0; }
.competition-manager > .country-flag { flex:0 0 auto; font-size:12px; }
.competition-manager > span:not(.country-flag) { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.crest-controls .tennis-symbol-list { flex-wrap:wrap; display:grid; grid-template-columns:repeat(auto-fit,minmax(76px,1fr)); }
.crest-controls .tennis-symbol-list button { width:100%; min-width:0; height:90px; padding:9px; grid-template-rows:48px auto; gap:5px; font-weight:650; }
.crest-controls .tennis-symbol-list small { font-size:10px; white-space:normal; }
.crest-controls h4 { font-size:14px; color:var(--muted); margin:10px 0; }
.identity-country { position:relative; margin-top:22px; }
.identity-country-toggle { display:flex; align-items:center; justify-content:space-between; text-align:left; width:100%; font:inherit; background:white; }
.identity-country-value { display:flex; align-items:center; gap:12px; min-width:0; }
.identity-country-value > span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.identity-country-menu { position:absolute; z-index:20; left:0; right:0; top:100%; background:white; padding:10px; border:1px solid var(--line); border-radius:16px; box-shadow:0 12px 30px #19251e20; }
.identity-country-menu>div { max-height:260px; overflow:auto; }
.identity-country-menu button { display:flex; align-items:center; gap:12px; width:100%; padding:12px; border:0; background:white; text-align:left; font:inherit; border-radius:10px; }
.identity-country-menu button:hover,.identity-country-menu button[aria-pressed="true"] { background:var(--soft-green); }
.crest-controls h3 { margin: 0; font-size: 18px; }
.swatches, .symbol-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 11px 0 24px; }
.swatch { width: 48px; height: 48px; border: 4px solid white; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px var(--line); }
.swatch.active { box-shadow: 0 0 0 3px var(--green); }
.custom-color { position: relative; display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden; border: 4px solid white; border-radius: 50%; background: conic-gradient(#e84855,#f4b942,#78c850,#32a5c7,#6457a6,#e84855); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.custom-color::before { content:""; position:absolute; inset:7px; border-radius:50%; background:white; }
.custom-color input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.custom-color span { position:relative; z-index:1; color:var(--ink); font-size:22px; font-weight:700; line-height:1; }
.custom-color.active { box-shadow: 0 0 0 3px var(--green); }
.account-fields [data-email-create] { margin-top: 18px; }
.symbol-list button { min-width: 58px; height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: white; font-weight: 900; }
.symbol-list button.active { border-color: var(--green); background: var(--soft-green); color: var(--green); }
.tennis-symbol-list { flex-wrap: nowrap; }
.tennis-symbol-list button { display: grid; place-items: center; width: 58px; min-width: 58px; padding: 10px; color: var(--ink); }
.crest-symbol-art { display: block; width: 100%; height: 100%; background-color: currentColor; -webkit-mask-image: var(--symbol-src); -webkit-mask-position: center; -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; mask-image: var(--symbol-src); mask-position: center; mask-size: contain; mask-repeat: no-repeat; }
.crest-symbol-art[style*="/bee.webp"] {
  mask: var(--symbol-src) center / contain no-repeat subtract,
        linear-gradient(#000 0 0) center 64% / 22% max(0.8px, 3.5%) no-repeat,
        linear-gradient(#000 0 0) center 76% / 11% max(0.8px, 3.5%) no-repeat;
}
.invalid-card { border-color: #d77a59; }
.validation-message, .loss-callout { margin: 12px 0 0; color: #a33d2f; font-weight: 700; }
.locked-label { color: var(--muted); font-size: 13px; font-weight: 800; }
.bench-review { margin-top: 12px; }
.bench-review > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.bench-review span { color: var(--muted); }
.identity-review { display: flex; align-items: center; gap: 18px; margin: 22px 0; padding: 18px; border-radius: 18px; background: #f4f5f1; }
.identity-review h2, .identity-review p { margin-bottom: 2px; }

.narrow-page { max-width: 840px; margin: 0 auto; }
.settings-list { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; border-top: 1px solid var(--line); }
.settings-row:first-child { border-top: 0; }
.settings-row p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.connected { color: var(--green); font-size: 12px; font-weight: 900; }
.danger-link { display: block; margin: 24px auto; border: 0; background: transparent; color: #a13b32; font-weight: 850; }
.settings-section { margin-top: 26px; }
.settings-section > h2 { margin: 0 0 10px; font-size: 17px; }
.settings-select { min-width: 132px; min-height: 42px; padding: 0 36px 0 12px; border: 1px solid var(--line); border-radius: 11px; background: white; color: var(--ink); font: inherit; font-weight: 750; }
.settings-links .settings-row { width: 100%; border-right: 0; border-bottom: 0; border-left: 0; background: white; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.settings-links .settings-row:first-child { border-top: 0; }
.settings-links .settings-row b { color: var(--muted); font-size: 24px; font-weight: 400; }
.account-security-list .settings-row { min-height: 44px; padding-block: 8px; align-items: center; }
.settings-row.settings-row-language { box-sizing: border-box; position: relative; min-height: 56px; padding-block: 8px; align-items: center; }
.settings-row-language > [data-settings-language] { appearance: none; box-sizing: border-box; flex: 0 0 132px; width: 132px; height: 38px; min-height: 38px; margin: 0; font: 750 16px/1.2 system-ui, sans-serif; }
.settings-row-language::after { content: ""; position: absolute; inset-inline-end: 31px; top: calc(50% - 5px); width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.settings-row-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.settings-password-panel { display: grid; gap: 4px; padding: 4px 18px 22px; border-top: 1px solid var(--line); background: #fbfcfa; }
.settings-password-panel .field-label { max-width: 520px; }
.settings-password-feedback { padding: 0 18px 18px; overflow-wrap: anywhere; }
.settings-password-feedback > p { margin: 0; }
.draw-player-reveal { animation: draw-player-reveal 2.5s ease-out; }
@keyframes draw-player-reveal { from { box-shadow: inset 0 0 0 2px var(--green); background: #d8f257; } to { box-shadow: inset 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .draw-player-reveal { animation: none; outline: 2px solid var(--green); outline-offset: -2px; } }
.settings-password-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.settings-password-actions .button { width: auto; }

.site-footer { padding: 28px max(24px,calc((100% - 1200px) / 2)); border-top: 1px solid var(--line); background: #f3f2eb; color: var(--muted); }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.site-footer button, .site-footer a { border: 0; padding: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13px; font-weight: 750; text-decoration: none; cursor: pointer; }
.footer-social-link { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.footer-social-link svg { width: 17px; height: 17px; fill: currentColor; }
.site-footer p { margin: 18px 0 0; font-size: 12px; }

.legal-page { min-height: 100dvh; padding: 22px 28px 54px; background: #f3f2eb; }
.legal-header { display: flex; align-items: center; justify-content: space-between; width: min(940px,100%); margin: 0 auto 18px; }
.legal-panel { width: min(940px,100%); margin: 0 auto; padding: clamp(28px,5vw,58px); border: 1px solid var(--line); border-radius: 24px; background: white; }
.legal-panel h1 { margin: 8px 0 5px; font-size: clamp(36px,5vw,58px); }
.legal-draft { display: inline-flex; margin: 0; padding: 7px 10px; border-radius: 999px; background: #fff1d8; color: #865c16; font-size: 12px; font-weight: 800; }
.legal-updated { color: var(--muted); font-size: 13px; }
.legal-notice { margin: 22px 0; padding: 14px 16px; border-radius: 12px; background: var(--soft-green); color: var(--green-dark); font-weight: 700; }
.legal-copy { max-width: 760px; margin-top: 34px; }
.legal-copy > p { color: var(--muted); font-size: 18px; line-height: 1.6; }
.legal-copy section { margin-top: 28px; }
.legal-copy h2 { margin-bottom: 8px; font-size: 20px; }
.legal-copy section p { margin: 0; color: #45534c; line-height: 1.7; }
.legal-copy section p + p { margin-top: 10px; }
.legal-copy ul { margin: 10px 0 0; padding-left: 22px; color: #45534c; }
.legal-copy li { margin-top: 8px; line-height: 1.65; }
.rules-fairplay-panel { max-width: 940px; }
.rules-fairplay-intro { max-width: 760px; margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.rules-fairplay-section { margin-top: 36px; }
.rules-fairplay-section + .rules-fairplay-section { padding-top: 34px; border-top: 1px solid var(--line); }
.rules-fairplay-section > h2 { margin: 0 0 5px; font-size: 24px; }
.rules-fairplay-section > p { margin: 0 0 16px; color: var(--muted); line-height: 1.5; }
.fairplay-accordion-content { padding: 0 18px 18px; color: #45534c; }
.fairplay-accordion-content p { margin: 0; line-height: 1.65; }
.fairplay-accordion-content p + p { margin-top: 10px; }
.fairplay-accordion-content ul { margin: 12px 0 0; padding-left: 22px; }
.fairplay-accordion-content li { margin-top: 8px; line-height: 1.6; }

.cookie-banner { position: fixed; z-index: 140; right: 20px; bottom: 20px; left: 20px; display: flex; align-items: center; justify-content: space-between; gap: 28px; max-width: 1120px; margin: auto; padding: 20px 22px; border: 1px solid #cbd8cf; border-radius: 18px; background: white; box-shadow: 0 20px 60px rgba(17,43,32,.2); }
.cookie-banner strong { display: block; margin-bottom: 5px; }
.cookie-banner p { max-width: 720px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.cookie-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.cookie-actions .button { min-height: 42px; white-space: nowrap; }
.cookie-modal-shell { position: fixed; z-index: 160; inset: 0; display: grid; place-items: center; padding: 18px; }
.cookie-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(9,25,18,.55); }
.cookie-modal { position: relative; width: min(620px,100%); max-height: calc(100dvh - 36px); overflow: auto; padding: 26px; border-radius: 22px; background: white; box-shadow: 0 25px 80px rgba(0,0,0,.28); }
.cookie-modal header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.cookie-modal h2 { margin: 0; }
.cookie-modal > p { margin: 12px 0 16px; color: var(--muted); line-height: 1.45; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); font-size: 24px; cursor: pointer; }
.cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 17px 0; border-top: 1px solid var(--line); }
.cookie-option p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.cookie-option input { width: 22px; height: 22px; accent-color: var(--green); }
.cookie-on { padding: 6px 9px; border-radius: 999px; background: var(--soft-green); color: var(--green); font-size: 12px; font-weight: 850; }
.cookie-modal .cookie-actions { margin-top: 22px; flex-wrap: wrap; }
.cookie-modal [data-cookie-reject],
.cookie-modal [data-cookie-accept] { min-width: 152px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (max-width: 680px) {
  .site-footer { padding: 24px 18px 98px; }
  .site-footer-links { display: grid; gap: 15px; }
  .site-footer button { text-align: left; }
  .footer-social-link { justify-self: start; margin-left: 0; }
  .legal-page { padding: 14px 14px 30px; }
  .legal-panel { padding: 26px 20px; border-radius: 18px; }
  .settings-row { align-items: flex-start; }
  .settings-select { min-width: 116px; }
  .cookie-banner { right: 12px; bottom: 12px; left: 12px; display: grid; gap: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-banner .cookie-actions .button { flex: 1; }
  .cookie-modal-shell { align-items: center; padding: 12px; }
  .cookie-modal { max-height: calc(100dvh - 24px); padding: 18px 16px; border-radius: 20px; }
  .cookie-modal h2 { font-size: 25px; }
  .cookie-modal > p { margin: 8px 0 12px; font-size: 14px; line-height: 1.35; }
  .cookie-option { gap: 14px; padding: 12px 0; }
  .cookie-option p { margin-top: 2px; font-size: 12px; line-height: 1.35; }
  .cookie-modal .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
  .cookie-modal [data-cookie-save] { grid-column: 1 / -1; }
  .cookie-modal [data-cookie-reject],
  .cookie-modal [data-cookie-accept] { width: 100%; min-width: 0; }
}
.accordion { display: grid; gap: 10px; }
.accordion-item { border: 1px solid var(--line); border-radius: 16px; background: white; }
.accordion-item > button { width: 100%; display: flex; justify-content: space-between; padding: 18px; border: 0; background: transparent; color: inherit; text-align: left; }
.accordion-item > p { margin: 0; padding: 0 18px 18px; color: var(--muted); line-height: 1.55; }
.selection-requirements-simple { display: grid; gap: 16px; padding: 0 18px 18px; }
.selection-requirements-simple > p { margin: 0; color: var(--muted); line-height: 1.55; }
.selection-requirements-list { display: grid; gap: 8px; }
.selection-requirements-list > div { display: grid; grid-template-columns: minmax(150px,.7fr) minmax(0,1.6fr); gap: 16px; padding: 13px 14px; border-radius: 12px; background: #f3f6f3; }
.selection-requirements-list strong { color: var(--ink); font-size: 14px; }
.selection-requirements-list span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.selection-requirements-reminder { padding: 13px 14px; border-left: 3px solid var(--green); background: #edf5ef; }
.selection-requirements-reminder strong { color: var(--ink); }
@media (max-width: 620px) {
  .home-tutorial-shell { align-items:center; padding:12px; }
  .home-tutorial-dialog { min-height:0; max-height:calc(100dvh - 24px); padding:16px 16px max(10px,env(safe-area-inset-bottom)); border:1px solid rgba(255,255,255,.8); border-radius:26px; box-shadow:0 22px 64px rgba(5,25,16,.28); }
  .home-tutorial-body { grid-template-columns:minmax(0,1fr); padding-bottom:8px; }
  .home-tutorial-demo { align-self:auto; width:100%; box-sizing:border-box; padding:12px; border-radius:18px; box-shadow:none; }
  .home-tutorial-copy { grid-row:1; align-self:auto; padding:0 2px 10px; }
  .home-tutorial-welcome-demo { min-height:200px; }
  .home-tutorial-welcome-identity { gap:28px; padding:22px; }
  .home-tutorial-welcome-identity strong { font-size:24px; }
  .home-tutorial-welcome-crest .crest.large { width:92px; height:108px; }
  .home-tutorial-copy h2 { font-size:27px; }
  .home-tutorial-shell.is-welcome .home-tutorial-copy h2 { font-size:clamp(20px,6.15vw,27px); text-wrap:balance; }
  .home-tutorial-copy > p:last-child { margin-top:6px; font-size:13px; line-height:1.35; }
  .home-tutorial-dialog > footer { gap:8px; padding-top:8px; }
  .home-tutorial-actions { gap:6px; }
  .home-tutorial-actions .button { min-width:0; min-height:44px; padding:8px 12px; font-size:14px; }
  .home-tutorial-player { padding:7px 9px; gap:8px; }
  .home-tutorial-player .player-portrait { width:38px; height:38px; }
  .home-tutorial-path { grid-template-columns:repeat(5,minmax(3px,1fr) minmax(30px,auto)) minmax(30px,auto); gap:2px; }
  .home-tutorial-path > span { min-width:30px; }
  .home-tutorial-path b { width:29px; height:29px; font-size:9px; }
  .home-tutorial-path small { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
  .home-tutorial-path > i { margin-top:15px; }
  .home-tutorial-progress-demo { gap:12px; }
  .selection-requirements-list > div { grid-template-columns: 1fr; gap: 5px; }
}
.help-table { margin: 0 18px 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.help-table-row { display: grid; grid-template-columns: 1.7fr repeat(3,.65fr); align-items: center; gap: 8px; padding: 9px 10px; border-top: 1px solid var(--line); font-size: 11px; }
.help-table-row.header { border-top: 0; background: #eef0eb; color: var(--muted); font-weight: 900; text-transform: uppercase; }
.help-table.two-column .help-table-row { grid-template-columns: 2fr 1fr; }
.help-table-title { margin: 14px 18px 7px; }
.points-help { display: grid; gap: 22px; padding: 0 18px 22px; }
.points-help-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fbfcfa; }
.points-help-card > h4 { margin: 0; padding: 18px 20px 7px; color: var(--ink); font-size: 22px; }
.points-help-card > p { margin: 0; padding: 0 20px 18px; color: #45534c; font-size: 16px; line-height: 1.55; }
.points-help-group { border-top: 1px solid var(--line); }
.points-help-group h5 { margin: 0; padding: 11px 20px; background: #eef2ed; color: var(--green-dark); font-size: 14px; letter-spacing: .02em; }
.points-help-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 20px; min-height: 58px; padding: 12px 20px; border-top: 1px solid #e7ebe6; color: #34423b; font-size: 16px; line-height: 1.45; }
.points-help-group h5 + .points-help-row { border-top: 0; }
.points-help-row strong { min-width: 92px; padding: 8px 11px; border-radius: 999px; background: var(--soft-green); color: var(--green-dark); font-size: 15px; text-align: center; white-space: nowrap; }
@media (max-width: 620px) {
  .points-help { padding-right: 14px; padding-left: 14px; }
  .points-help-card > h4 { padding-right: 16px; padding-left: 16px; font-size: 21px; }
  .points-help-card > p { padding-right: 16px; padding-left: 16px; font-size: 15px; }
  .points-help-group h5 { padding-right: 16px; padding-left: 16px; }
  .points-help-row { grid-template-columns: 1fr; gap: 8px; padding: 13px 16px; font-size: 15px; }
  .points-help-row strong { justify-self: start; min-width: 0; }
}
.accordion-item .field-help { padding: 0 18px 18px; }
.points-mini { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; overflow: hidden; margin: 0 18px 18px; border-radius: 12px; background: var(--line); }
.points-mini span { display: flex; justify-content: space-between; padding: 11px; background: #f7f8f5; font-size: 12px; }

.admin-page { min-height: 100dvh; display: grid; grid-template-columns: 230px 1fr; background: #f4f5f1; }
.admin-sidebar { padding: 24px 16px; background: var(--ink); color: white; }
.admin-sidebar .auth-brand { margin: 0 0 30px; }
.admin-sidebar nav { display:grid; gap:5px; }
.admin-navigation-group { display:grid; gap:3px; }
.admin-navigation-group.is-open { margin-bottom:8px; }
.admin-nested-navigation { display:grid; gap:2px; margin:0 0 4px 12px; padding-left:11px; border-left:1px solid rgba(255,255,255,.18); }
.admin-sidebar .admin-nested-navigation button { margin:0; padding:9px 12px; border-radius:8px; font-size:12px; font-weight:700; }
.admin-sidebar .admin-nested-navigation button.active { background:rgba(255,255,255,.07); box-shadow:inset 3px 0 0 #a8d166; }
.admin-sidebar button { width: 100%; margin-bottom: 5px; padding: 12px; border: 0; border-radius: 10px; background: transparent; color: rgba(255,255,255,.68); text-align: left; font-weight: 750; }
.admin-sidebar button.active { background: rgba(255,255,255,.1); color: white; }
.admin-sidebar .admin-platform-home { display:block; margin-top:5px; padding:12px; border-radius:10px; color:rgba(255,255,255,.68); font-weight:750; text-decoration:none; }
.admin-sidebar .admin-platform-home:hover { color:white; background:rgba(255,255,255,.06); }
.admin-sidebar .admin-platform-home:focus-visible { outline:2px solid #a8d166; outline-offset:2px; }
.admin-main { padding: 36px; }
.admin-main > .page-header { margin-bottom: 24px; }
.admin-main > .page-header h1 { margin: 2px 0 8px; font-size: clamp(38px,5vw,64px); }
.admin-main > .page-header p:last-child { max-width: 760px; color: var(--muted); }
.admin-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.admin-metrics-four { grid-template-columns: repeat(4,1fr); }
.admin-metrics article { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.admin-metrics span, .admin-metrics strong { display: block; }
.admin-metrics span { color: var(--muted); font-size: 12px; }
.admin-metrics strong { margin-top: 6px; font-size: 28px; }
.admin-table { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; }
.admin-row { display: grid; grid-template-columns: 1fr 1.5fr 1fr auto; align-items: center; gap: 12px; padding: 13px 16px; border-top: 1px solid var(--line); font-size: 13px; }
.admin-row.header { border: 0; background: #e8ebe6; color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.admin-override { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding: 22px; border: 1px solid #e8c6a3; border-radius: 18px; background: #fff8ee; }
.admin-override p { max-width: 700px; margin-bottom: 0; color: var(--muted); }
.admin-actions { display: flex; gap: 8px; flex-shrink: 0; }
.admin-status { max-width: 620px; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.admin-dashboard-grid, .admin-tournament-layout { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:22px; }
.admin-panel { margin-top:22px; padding:22px; border:1px solid var(--line); border-radius:18px; background:#fff; }
.admin-dashboard-grid .admin-panel, .admin-tournament-layout .admin-panel { margin-top:0; }
.admin-panel > header { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.admin-panel h2 { margin:0 0 18px; }
.admin-panel > header h2 { margin:0; }
.admin-definition-list { margin:0; }
.admin-definition-list > div, .admin-bar-list > div, .admin-access-list > div { display:flex; justify-content:space-between; gap:20px; padding:13px 0; border-top:1px solid var(--line); }
.admin-definition-list > div:first-child, .admin-bar-list > div:first-child, .admin-access-list > div:first-child { border-top:0; }
.admin-definition-list dt, .admin-access-list span { color:var(--muted); }
.admin-definition-list dd { margin:0; font-weight:850; text-align:right; }
.admin-retention-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.admin-retention-grid article { padding:16px; border-radius:14px; background:#f4f6f2; }
.admin-retention-grid span, .admin-retention-grid strong, .admin-retention-grid small { display:block; }
.admin-retention-grid strong { margin:6px 0; font-size:26px; }
.admin-retention-grid small { color:var(--muted); }
.admin-analytics-filter { display:flex; align-items:end; gap:12px; flex-wrap:wrap; margin:0 0 18px; padding:16px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.admin-analytics-filter label { display:grid; gap:6px; color:var(--muted); font-size:12px; font-weight:800; }
.admin-analytics-filter select, .admin-analytics-filter input { min-height:46px; padding:9px 12px; border:1px solid var(--line); border-radius:11px; background:#fff; color:var(--ink); font:inherit; font-size:16px; }
.admin-analytics-filter > span { margin-left:auto; align-self:center; color:var(--muted); font-size:13px; }
.admin-custom-range { display:flex; align-items:end; gap:10px; }
.admin-custom-range.is-hidden { display:none; }
.admin-chart-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.admin-chart { min-width:0; }
.admin-chart > header p { margin:4px 0 0; color:var(--muted); font-size:13px; }
.admin-chart > header > strong { font-size:24px; }
.admin-chart-visual { margin-top:18px; overflow:hidden; }
.admin-chart-visual svg { display:block; width:100%; height:auto; min-height:190px; }
.admin-chart-axis { stroke:#dfe4de; stroke-width:1; }
.admin-chart-label { fill:#68736b; font:12px system-ui,sans-serif; }
.admin-chart-empty { min-height:190px; display:grid; place-items:center; color:var(--muted); }
.admin-metrics small { display:block; margin-top:4px; color:var(--muted); }
.admin-operation-row { grid-template-columns:1.2fr .8fr .7fr 1.3fr; }
.admin-operation-row small { display:block; margin-top:4px; color:#9b4439; overflow-wrap:anywhere; }
.admin-state { width:max-content; padding:5px 9px; border-radius:999px; background:#eef1ed; font-weight:800; }
.admin-state-error, .admin-state-failed { color:#9b4439; background:#fff0ed; }
.admin-fantaten-squad { margin-top:8px; font-weight:500; }
.admin-fantaten-squad summary { width:max-content; color:var(--green); cursor:pointer; font-size:12px; font-weight:800; }
.admin-fantaten-squad > div { display:grid; gap:5px; margin-top:8px; padding:9px; border-radius:10px; background:#f4f6f2; }
.admin-fantaten-squad span { display:flex; justify-content:space-between; gap:10px; }
.admin-fantaten-squad b { font-size:11px; }
.admin-fantaten-squad small { margin:0; color:var(--muted); font-size:10px; }
.admin-fantaten-squad .is-reserve { margin-top:3px; padding-top:6px; border-top:1px dashed var(--line); }
.admin-event-list { max-height:70vh; overflow:auto; }
.admin-event-list > button { display:grid; width:100%; gap:4px; padding:14px; border:0; border-top:1px solid var(--line); background:transparent; text-align:left; }
.admin-event-list > button:first-of-type { border-top:0; }
.admin-event-list > button:hover, .admin-event-list > button.active { border-radius:12px; background:#edf3ee; }
.admin-event-list span, .admin-event-list small { color:var(--muted); }
.admin-security-card { max-width:640px; }
.admin-security-card form, .admin-security-card label { display:grid; gap:8px; }
.admin-security-card form { margin-top:20px; }
.admin-security-card input { min-height:50px; padding:12px 14px; border:1px solid var(--line); border-radius:12px; font:inherit; font-size:16px; }
.admin-authenticator-setup { display:grid; gap:18px; }
.admin-qr-panel { display:grid; justify-items:start; gap:10px; }
.admin-qr-panel small { color:var(--muted); }
.admin-qr-code { width:min(100%,280px); padding:14px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.admin-qr-code svg { display:block; width:100%; height:auto; }
.admin-manual-setup { width:100%; }
.admin-manual-setup summary { width:max-content; color:var(--green); cursor:pointer; font-weight:800; }
.admin-manual-setup .button { width:max-content; margin-top:14px; }
.admin-manual-setup label { margin-top:14px; }
.admin-secret { display:block; margin-top:8px; padding:12px; border-radius:10px; background:#f4f6f2; font:700 14px ui-monospace,SFMono-Regular,Menlo,monospace; overflow-wrap:anywhere; }
.admin-security-card details { margin-top:20px; }
.admin-access-invite { display:flex; align-items:end; gap:12px; margin:18px 0 8px; }
.admin-access-invite label { display:grid; flex:1; gap:8px; font-weight:700; }
.admin-access-invite input { width:100%; min-height:50px; padding:12px 14px; border:1px solid var(--line); border-radius:12px; font:inherit; font-size:16px; }
.admin-success { margin:12px 0 0; color:var(--green); font-weight:700; }
.admin-recovery-codes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.admin-recovery-codes code { padding:10px; border-radius:8px; background:#f4f6f2; }
.admin-access-list strong, .admin-access-list span { display:block; }
.admin-access-list small { display:block; margin-top:4px; color:var(--muted); }
.admin-access-list > div { align-items:center; }
.admin-correction { margin:24px 0; padding-top:22px; border-top:1px solid var(--line); }
.admin-correction > header p { margin:5px 0 0; color:var(--muted); }
.admin-correction form { display:grid; gap:14px; margin-top:18px; }
.admin-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.admin-league-profile{display:grid;gap:18px}.admin-league-profile>header{align-items:flex-start}.admin-league-profile label{display:grid;gap:7px;color:var(--muted);font-weight:750}.admin-league-profile textarea{width:100%;resize:vertical}.admin-league-profile footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.admin-verified-toggle{display:flex!important;grid-auto-flow:column;align-items:center;color:var(--ink)!important}.admin-verified-toggle input{width:20px;height:20px}.admin-character-count{justify-self:end;font-variant-numeric:tabular-nums}
.admin-correction label, .admin-correction fieldset { display:grid; gap:7px; color:var(--muted); font-size:12px; font-weight:800; }
.admin-correction fieldset { grid-template-columns:repeat(2,minmax(0,1fr)); margin:0; padding:14px; border:1px solid var(--line); border-radius:14px; }
.admin-correction legend { padding:0 5px; color:var(--ink); }
.admin-correction select, .admin-correction input, .admin-correction textarea { width:100%; min-height:46px; padding:10px 12px; border:1px solid var(--line); border-radius:11px; background:#fff; color:var(--ink); font:inherit; font-size:16px; }
.admin-correction textarea { resize:vertical; }
.admin-recalculate { padding-top:18px; border-top:1px solid var(--line); }
.admin-operation-preview { margin-top:18px; padding:18px; border:1px solid #a9cab4; border-radius:16px; background:#f3f8f4; }
.admin-operation-preview header { display:flex; justify-content:space-between; gap:16px; }
.admin-operation-preview h3 { margin:2px 0 0; }
.admin-operation-preview header span { color:var(--muted); font-size:12px; }
.admin-preview-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.admin-audit-list { margin-top:22px; padding-top:18px; border-top:1px solid var(--line); }
.admin-audit-list article { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 16px; padding:12px 0; border-top:1px solid var(--line); }
.admin-audit-list article:first-of-type { border-top:0; }
.admin-audit-list article small { grid-column:1/-1; color:var(--muted); }
.state-lab { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0; padding: 10px; border: 1px dashed var(--line); border-radius: 12px; }
.state-lab span { padding: 8px; color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.state-lab button { border: 0; border-radius: 8px; padding: 8px; background: #e9ece7; font-size: 11px; }

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: calc(68px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--line);
  background: rgba(255,254,251,.97);
  backdrop-filter: blur(14px);
}
.bottom-nav button { border: 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 750; }
.bottom-nav button span { display: block; margin-bottom: 3px; font-size: 20px; }
.bottom-nav button.active { color: var(--green); }

.prototype-controls {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: none;
  gap: 6px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
}
.prototype-controls span { padding: 0 6px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.prototype-controls button { border: 0; border-radius: 9px; padding: 8px 10px; background: #eef0eb; color: var(--ink); font-size: 12px; font-weight: 800; }

.empty { padding: 60px 20px; text-align: center; color: var(--muted); }

@media (max-width: 779px) {
  .archive-result-hero { padding:22px 18px; }
  .archive-final-row { grid-template-columns:1fr auto; gap:8px 12px; padding:14px 16px; }
  .archive-final-role { grid-column:1/-1; }
  .archive-final-identity > .archive-final-name { display:grid; overflow:visible; line-height:1.12; text-overflow:clip; white-space:normal; }
  .archive-final-name > span { display:block; }
  .archive-final-name > span + span::before { content:none; }
  .archive-final-row .overview-score-cells { min-width:0; }
  .archive-history-note { padding:22px 18px; }
  .app-shell { padding-top: 68px; }
  .app-shell.auth-shell { padding-top: 0; }
  .app-shell.admin-shell { padding-top: 0; }
  .topbar { position: fixed; left: 0; right: 0; top: 0; }
  .bottom-nav { min-height: calc(76px + env(safe-area-inset-bottom)); }
  .bottom-nav button { padding: 8px 4px 12px; line-height: 1.15; }
  .three-col { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .metric { padding: 14px; }
  .metric strong { font-size: 23px; }
  .draw-board { grid-template-columns: 1fr; }
  .tournament-explorer .section-head { align-items: start; }
  .lifecycle-tabs button { min-width: 0; padding: 0 6px; font-size: 12px; }
  .archive-tools { align-items: stretch; flex-direction: column; }
  .archive-tools label, .archive-tools select { width: 100%; }
  .tour-filter { width: 100%; }
  .tour-filter button { flex: 1; min-width: 0; }
  .completed-card-head { grid-template-columns: 46px 1fr; }
  .completed-card-head .event-mark { width: 46px; height: 52px; }
  .completed-card-head .status-chip { grid-column: 2; justify-self: start; }
  .completed-results { grid-template-columns: 1fr; }
  .tournament-context { align-items: start; flex-direction: column; gap: 4px; }
  .tournament-context h1 { font-size: 34px; }
  .draw-toolbar { align-items: stretch; flex-direction: column; }
  .draw-meta-row { align-items: stretch; flex-direction: column; }
  .compact-half-filter { align-self: flex-start; }
  .round-jump, .draw-half-filter { width: 100%; }
  .draw-half-filter button { flex: 1; }
  .draw-page { padding-left: 14px; padding-right: 14px; }
  .draw-sticky-head { width: calc(100% + 14px); border-radius: 18px 0 0 0; }
  .draw-viewport { margin-right: -14px; border-radius: 0 0 0 18px; }
  .bracket-card { left: calc(var(--x) + 6px); width: 188px; }
  .draw-key span:last-child { flex-basis: 100%; }
  .advance-card, .profile-hero, .admin-override { align-items: stretch; flex-direction: column; }
  .result-metrics, .ranking-summary { grid-template-columns: 1fr; }
  .completed-winners { grid-template-columns: 1fr; }
  .result-metrics { gap: 6px; }
  .table-row { grid-template-columns: 1.25fr .85fr .55fr .7fr; gap: 6px; padding: 12px 10px; font-size: 11px; }
  .table-row.header { font-size: 9px; }
  .auth-page, .onboarding-page { padding: 18px; }
  .auth-grid { display: block; min-height: auto; }
  .auth-visual { min-height: 380px; padding: 34px 28px; }
  .auth-visual h1 { font-size: 48px; }
  .auth-card { padding: 30px 24px; }
  .onboarding-card { margin: 16px auto; padding: 24px; }
  .onboarding-card.crest-step { padding: 24px; }
  .form-grid, .crest-builder { grid-template-columns: 1fr; }
  .crest-builder { gap: 24px; margin-top: 24px; }
  .crest-stage { position:static; min-height: 220px; }
  .crest.large { width: 160px; height: 185px; }
  .tennis-symbol-list { flex-wrap: wrap; }
  .settings-row { align-items: flex-start; }
  .admin-page { display: block; }
  .admin-sidebar { padding: 16px; }
  .admin-sidebar .auth-brand { margin-bottom: 12px; }
  .admin-sidebar .admin-main-navigation { display:flex; align-items:flex-start; gap:6px; margin:0 -16px 10px; padding:0 16px 4px; overflow-x:auto; scrollbar-width:none; }
  .admin-sidebar .admin-main-navigation::-webkit-scrollbar { display:none; }
  .admin-sidebar .admin-navigation-group { flex:0 0 auto; min-width:max-content; }
  .admin-sidebar .admin-navigation-group.is-open { margin-bottom:0; }
  .admin-sidebar .admin-nested-navigation { margin:2px 0 0 8px; padding-left:8px; }
  .admin-sidebar .admin-nested-navigation button { width:100%; }
  .admin-sidebar button { display: inline-block; width: auto; }
  .admin-main { padding: 22px 18px; }
  .admin-metrics, .admin-metrics-four { grid-template-columns: 1fr 1fr; }
  .admin-dashboard-grid, .admin-tournament-layout { grid-template-columns:1fr; }
  .admin-chart-grid { grid-template-columns:1fr; }
  .admin-analytics-filter { align-items:stretch; }
  .admin-analytics-filter > label, .admin-custom-range, .admin-custom-range label { width:100%; }
  .admin-custom-range { align-items:stretch; }
  .admin-analytics-filter select, .admin-analytics-filter input { width:100%; }
  .admin-analytics-filter > span { width:100%; margin-left:0; }
  .admin-access-invite { align-items:stretch; flex-direction:column; }
  .admin-form-grid, .admin-correction fieldset { grid-template-columns:1fr; }
  .admin-retention-grid { grid-template-columns:1fr 1fr; }
  .admin-row { grid-template-columns: 1fr; }
  .admin-row.header { display: none; }
  .admin-fantaten-entry-row { gap:10px; }
  .admin-fantaten-entry-row > [data-label] { display:grid; grid-template-columns:minmax(82px,.7fr) minmax(0,1fr); align-items:start; gap:12px; width:100%; max-width:none; padding:0; border-radius:0; background:transparent; }
  .admin-fantaten-entry-row > [data-label]::before { content:attr(data-label); color:var(--muted); font-size:11px; font-weight:850; letter-spacing:.04em; text-transform:uppercase; }
  .admin-actions { flex-direction: column; }
}

@media (min-width: 780px) {
  body { padding: 24px; }
  .app-shell { min-height: calc(100dvh - 48px); border-radius: 28px; overflow: clip; box-shadow: var(--shadow); }
  .topbar { padding: 0 34px; }
  .page { padding: 34px; }
  .hero { padding: 42px; }
  .cards.two-col, .bench-grid { grid-template-columns: 1fr 1fr; }
  .selection-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: 24px; align-items: start; }
  .selection-layout .sticky-action { position: sticky; top: 92px; bottom: auto; margin: 0; }
  .bottom-nav { left: 50%; right: auto; width: min(1180px, calc(100% - 48px)); transform: translateX(-50%); border-radius: 0 0 28px 28px; }
  body.debug .prototype-controls { display: flex; bottom: 92px; }
}

/* Passing Shot player experience */
:root {
  --ink: #16221c;
  --muted: #637068;
  --line: #dce2dd;
  --paper: #fff;
  --canvas: #f3f5f1;
  --green: #146b45;
  --green-dark: #0e5134;
  --soft-green: #eaf4ee;
  --soft-yellow: #f6f2df;
  --clay: #c65f3f;
  --shadow: 0 18px 50px rgba(22,34,28,.08);
  --radius: 14px;
}

body { font-size: 16px; line-height: 1.45; }
.app-shell { max-width: 1240px; }
.topbar { position: sticky; height: 68px; padding: 0 22px; z-index:60; }
.brand { cursor: pointer; }
.desktop-nav { display: none; align-self: stretch; align-items: center; gap: 4px; }
.desktop-nav button { height: 100%; padding: 0 18px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); font-weight: 750; cursor: pointer; }
.desktop-nav button.active { border-color: var(--green); color: var(--ink); }
.top-actions { position: relative; }
.avatar { cursor: pointer; }
.account-menu { position: absolute; top: 48px; right: 0; z-index: 30; width: 210px; overflow: hidden; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 18px 44px rgba(22,34,28,.16); }
.account-menu button { display: block; width: 100%; min-height: 42px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); text-align: left; font-weight: 700; cursor: pointer; }
.account-menu button:hover { background: #f2f5f2; }
.account-menu .sign-out { color: #97392e; }

.page { padding: 28px 20px 48px; }
.page-stack { display: grid; gap: 22px; }
.stats-page { min-width:0; container-type:inline-size; container-name:stats; }
.page-header h1, .event-header h1 { margin: 0; font-size: clamp(30px,5vw,42px); line-height: 1.08; letter-spacing: -.035em; }
.page-header p, .event-header p { margin: 5px 0 0; color: var(--muted); }
h1 { max-width: none; font-size: clamp(30px,5vw,42px); line-height: 1.08; }
h2 { font-size: 20px; line-height: 1.2; }
h3 { font-size: 15px; }
.eyebrow { color: var(--muted); font-size: 12px; letter-spacing: 0; text-transform: none; }
.lede { max-width: 680px; font-size: 15px; }
.section { margin-top: 26px; }
.page-stack > .section, .page-stack > .tournament-explorer { margin-top: 0; }
.card { padding: 16px; border-radius: var(--radius); box-shadow: none; }
.button { min-height: 46px; border-radius: 11px; padding: 0 17px; font-weight: 750; }
.button.accent { background: var(--green); color: white; }
.button.secondary { background: white; color: var(--ink); }
.button.ghost { border-color: var(--line); color: var(--ink); }
.text-button { color: var(--green); }

.tournament-explorer { min-width: 0; }
.outstanding-action { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 15px 16px; border: 1px solid #e3c978; border-left: 4px solid #c58a14; border-radius: 14px; background: #fff9e9; }
.outstanding-action-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #f1d98a; color: #6d4b08; font-size: 18px; font-weight: 900; }
.outstanding-action-copy { min-width: 0; }
.outstanding-action h2, .outstanding-action p { margin: 0; }
.outstanding-action h2 { font-size: 16px; }
.outstanding-action p { margin-top: 3px; color: var(--muted); font-size: 14px; }
.outstanding-action .outstanding-action-label { margin: 0 0 3px; color: #795408; font-size: 11px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.outstanding-action .button { flex: 0 0 auto; }
.lifecycle-tabs { max-width: 560px; margin: 0 0 16px; background: #e9eeea; }
.lifecycle-tabs button { font-size: 14px; text-transform: none; }
.cards { gap: 10px; }
.tournament-card { grid-template-columns: 48px minmax(0,1fr) auto; gap: 13px; min-height: 90px; }
.tournament-card-copy { min-width: 0; }
.tournament-card-copy h3 { margin: 0; font-size: 16px; }
.tournament-surface-setting { display:block; margin-top:4px; color:var(--ink); font-size:12px; font-weight:800; }
.tournament-main-draw-dates { display:block; margin-top:4px; color:var(--muted); font-size:12px; font-weight:650; }
.tournament-type { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 650; }
.event-mark { width: 48px; height: 52px; border-radius: 12px; background: #e7efe9; color: var(--green-dark); font-size: 13px; }
.card-title-row { justify-content: space-between; gap: 8px; }
.card-title-row h3 { font-size: 16px; }
.status-chip { min-height: 25px; padding: 0 9px; background: #eef2ef; color: var(--muted); font-size: 11px; font-weight: 750; text-transform: none; white-space: nowrap; }
.active-card .status-chip { background: var(--soft-green); color: var(--green-dark); }
.warning-card .status-chip { background: #fff3e5; color: #945017; }
.tournament-card p { margin-top: 5px; font-size: 13px; }
.mini-button { min-height: 40px; border-radius: 10px; background: var(--green); font-size: 13px; cursor: pointer; }
.completed-grid { grid-template-columns: 1fr; }
.completed-card { gap: 13px; }
.completed-card-head { grid-template-columns: 48px 1fr auto; }
.completed-results div { padding: 10px 12px; background: #f5f7f4; }
.completed-results span { font-size: 11px; font-weight: 650; text-transform: none; }

.event-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.event-header-copy { min-width: 0; }
.event-title-row { display: flex; align-items: center; gap: 12px; }
.event-title-row h1 { min-width: 0; }
.tournament-tabs { margin: 18px 0; overflow-x: auto; }
.tournament-tabs button { flex: 1; white-space: nowrap; }
.tournament-tour-selector { display: flex; width: fit-content; gap: 5px; margin: -6px 0 18px; padding: 4px; border-radius: 12px; background: #e9ece7; }
.tournament-tour-selector button { min-width: 76px; min-height: 38px; border: 0; border-radius: 9px; padding: 0 14px; background: transparent; color: var(--muted); font-weight: 850; }
.tournament-tour-selector button.active { background: white; color: var(--ink); box-shadow: 0 2px 8px rgba(24,35,29,.08); }
.event-header .status-chip { min-height: 27px; padding: 0 10px; }
.event-header .status-chip.is-live { background: var(--green); color: white; box-shadow: none; }
.status-panel { padding: 17px 18px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 14px; background: white !important; color: var(--ink); }
.status-panel .status-line { gap: 10px; }
.status-panel .status-dot { width: 10px; height: 10px; background: var(--green); box-shadow: none; }
.status-panel h2, .status-panel p { margin: 0; }
.status-panel p { margin: 5px 0 0 20px; color: var(--muted); }
.status-panel.warning { border-left-color: #b6691d; }
.status-panel.warning .status-dot { background: #b6691d; }
.status-panel.pending { border-left-color: #557180; }
.status-panel.pending .status-dot { background: #557180; }
.status-panel.eliminated { border-left-color: #aa4438; }
.status-panel.eliminated .status-dot { background: #aa4438; }
.status-panel.winner { border-left-color: #8b7423; }
.status-panel.winner .status-dot { background: #8b7423; }
.action-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); }
.action-panel h2, .action-panel p { margin: 0; }
.action-panel h2 { font-size: 16px; }
.action-panel p { margin-top: 3px; color: var(--muted); }
.action-panel .button { flex: 0 0 auto; background: var(--green); color: white; }
.action-panel .inline-player-list { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; }
.action-panel .player-identity { color: var(--ink); font-weight: 750; }
.section-head { align-items: center; }
.section-head h2 { margin: 0; }
.selection-summary { gap: 0; padding: 4px 14px; }
.summary-row { grid-template-columns: 5px 1fr auto; padding: 12px 0; border-bottom: 1px solid #edf0ed; border-radius: 0; background: transparent; }
.summary-row:last-of-type { border-bottom: 0; }
.summary-row .bar { width: 4px; height: 30px; }
.summary-row .state { color: #6d765f; }
.summary-row .player-identity, .bench-option .player-identity { font-weight: 800; }
.compact-empty { padding: 26px 12px; }
.advance-card { margin-top: 16px; padding: 16px 18px; border-color: var(--line); border-radius: 14px; background: #f5f7f4; }
.advance-card h2 { margin: 0; }
.result-rows { display: grid; margin-top: 8px; }
.result-rows > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.result-rows span { color: var(--muted); }
.completed-overview { display: grid; gap: 20px; }
.completed-overview h2 { margin: 0; }
.completed-result-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; border: 1px solid var(--line); border-left: 5px solid var(--clay); border-radius: 16px; background: #faf8f3; }
.completed-result-hero p { margin: 0 0 5px; color: var(--muted); font-size: 13px; font-weight: 800; }
.completed-result-hero h2 { font-size: 28px; }
.completed-result-hero.not-entered { border-left-color: var(--muted); }
.season-points { flex: 0 0 auto; text-align: right; }
.season-points strong, .season-points span { display: block; }
.season-points strong { font-size: 32px; line-height: 1; }
.season-points span { margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.completed-selection-history { display: grid; gap: 10px; }
.completed-selection-history > h2 { margin-bottom: 2px; }
.selection-history-group { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; }
.selection-history-group h3 { margin: 0; padding: 10px 14px; background: #f2f4f1; color: var(--muted); font-size: 12px; }
.selection-history-player { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; padding: 9px 14px; border-top: 1px solid #edf0ed; }
.selection-history-group > div .selection-history-player:first-child { border-top: 0; }
.selection-history-player > strong { color: var(--green); font-size: 13px; }
.selection-history-player.lost { background: #fff8f5; }
.selection-history-player.lost > strong { color: #a34335; }
.completed-winner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.winner-block { display: grid; align-content: start; gap: 12px; min-height: 110px; }
.winner-block > span { color: var(--muted); font-size: 12px; font-weight: 800; }
.winner-block .player-identity { font-size: 17px; font-weight: 850; }
.winner-team-list { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.winner-team { display: inline-flex; align-items: center; gap: 9px; }

.selection-page .tournament-tour-selector { margin-bottom: 24px; }
.selection-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin: 0 0 16px; }
.selection-header p { margin: 5px 0 0; color: var(--muted); }
.selection-header h2, .tournament-context h2, .standings-heading h2 { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.selection-requirements { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: #f7f8f6; color: var(--muted); font-size: 14px; }
.selection-requirements strong { color: var(--ink); }
.progress-track { height: 5px; }
.progress-copy { font-size: 13px; }
.half-tabs { margin: 18px 0 14px; }
.half-tabs button { font-size: 14px; }
.search-label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 700; }
.search { height: 48px; font-size: 16px; }
.match-list { margin-top: 12px; }
.match-card { border-radius: 13px; }
.match-meta { font-size: 12px; }
.player-row { min-height: 58px; }
.player-name { font-size: 15px; }
.pick-toggle { width: 38px; height: 38px; cursor: pointer; }
.sticky-action { border-radius: 14px; }
.sticky-action p { font-size: 13px; }
.selection-count { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.selection-count strong { font-size: 24px; }
.selection-count span { color: var(--muted); font-weight: 700; }
.bench-card { border-radius: 14px; }
.bench-card h2 { margin-bottom: 18px; }
.bench-card h3 { margin: 14px 0 7px; color: var(--muted); }
.protected-picks { margin: 0 0 12px; }
.protected-picks button { min-height: 44px; }

.ranking-tabs { margin: 0; }
.your-position { display: grid; grid-template-columns: 1fr auto auto auto; gap: 18px; align-items: center; padding: 15px 18px; border: 1px solid #bed6c7; border-radius: 14px; background: var(--soft-green); }
.your-position > span { color: var(--muted); }
.your-position strong { font-size: 20px; }
.ranking-list { gap: 0; padding: 0; overflow: hidden; }
.ranking-row { grid-template-columns: 40px 38px minmax(0,1fr) auto; min-height: 66px; padding: 9px 14px; }
.ranking-row.you { border-radius: 0; background: var(--soft-yellow); }
.ranking-row.ranking-head { min-height: 40px; grid-template-columns: 40px minmax(0,1fr) auto; padding: 8px 14px; background: #f0f3f0; color: var(--muted); font-size: 12px; font-weight: 750; }
.mini-crest { display: grid; place-items: center; width: 34px; height: 38px; clip-path: polygon(50% 0,92% 16%,85% 72%,50% 100%,15% 72%,8% 16%); background: var(--green); color: white; font-size: 9px; font-weight: 850; }
.ranking-team { min-width: 0; }
.ranking-team strong, .ranking-team small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranking-team small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.points { white-space: nowrap; }
.profile-hero { padding: 20px; border-radius: 16px; }
.profile-hero h1 { font-size: clamp(28px,4vw,38px); }
.result-table { border-radius: 14px; }
.table-row.header { text-transform: none; }

.team-identity { display: flex; align-items: center; gap: 30px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.team-identity .crest.large { width: 150px; height: 176px; }
.team-identity h2 { margin: 0 0 5px; font-size: 28px; }
.team-identity p { margin: 0 0 18px; color: var(--muted); }
.personal-results { padding: 0 16px; }
.personal-result-row { display: grid; grid-template-columns: 96px minmax(0,1fr) auto; width: 100%; gap: 16px; align-items: center; padding: 15px 0; border: 0; border-top: 1px solid var(--line); background: transparent; color: inherit; text-align: left; cursor: pointer; }
.personal-result-row:first-child { border-top: 0; }
.personal-result-row .location-art.thumb, .personal-result-row .production-art.thumb { width: 96px; height: 64px; aspect-ratio: 3 / 2; border-radius: 10px; }
.personal-result-copy { min-width: 0; }
.personal-result-copy strong, .personal-result-copy small { display: block; }
.personal-result-copy strong { font-size: 18px; }
.personal-result-copy small { margin-top: 2px; color: var(--muted); }
.personal-result-row b { white-space: nowrap; }

.auth-visual { background: linear-gradient(145deg,#0c5837,#176b45); }
.auth-visual h1 { font-size: clamp(48px,7vw,82px); }
.auth-visual p { font-size: 20px; }

@media (max-width: 779px) {
  .page { padding: 22px 16px 34px; }
  .page-stack { gap: 18px; }
  .action-panel { align-items: stretch; flex-direction: column; gap: 16px; }
  .action-panel .button { width: 100%; }
  .outstanding-action { grid-template-columns: 32px minmax(0,1fr); align-items: start; gap: 12px; }
  .outstanding-action .button { grid-column: 1 / -1; width: 100%; }
  .tournament-card { grid-template-columns: 44px minmax(0,1fr); }
  .tournament-card .event-mark { width: 44px; height: 48px; }
  .tournament-card .mini-button { grid-column: 2; justify-self: start; min-width: 130px; }
  .card-title-row { align-items: flex-start; flex-direction: column; }
  .completed-card-head { grid-template-columns: 44px 1fr; }
  .completed-card-head .status-chip { grid-column: 2; }
  .selection-header { align-items: stretch; flex-direction: column; }
  .selection-header .button { align-self: flex-start; }
  .selection-requirements { display: grid; gap: 7px; }
  .sticky-action { bottom: 82px; }
  .your-position { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .your-position .text-button { grid-column: 1 / -1; justify-self: start; padding: 4px 0; }
  .ranking-row { grid-template-columns: 32px 34px minmax(0,1fr) auto; padding: 9px 8px; }
  .ranking-row.ranking-head { grid-template-columns: 32px minmax(0,1fr) auto; padding: 8px; }
  .team-identity { align-items: center; flex-direction: column; text-align: center; }
  .team-identity .crest.large { width: 130px; height: 150px; }
  .profile-hero { align-items: center; }
}

@media (min-width: 780px) {
  body { padding: 20px; }
  .app-shell { min-height: calc(100dvh - 40px); border-radius: 22px; padding-bottom: 0; }
  .topbar { padding: 0 32px; }
  .desktop-nav { display: flex; }
  .page { padding: 34px 42px 54px; }
  .bottom-nav { display: none; }
  .cards.two-col { grid-template-columns: 1fr 1fr; }
  .completed-grid { grid-template-columns: 1fr 1fr; }
  .selection-layout { grid-template-columns: minmax(0,1.45fr) 320px; }
}

/* Senior visual direction: identity, event posters, onboarding and rankings */
.brand-lockup {
  --brand-mark-color: #176b45;
  --brand-wordmark-color: #18231d;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  white-space: nowrap;
}
.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: var(--brand-mark-color, #176b45);
}
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-mark.is-reversed { --brand-mark-color: #ffffff; }
.brand-wordmark { color: var(--brand-wordmark-color); font-size: 22px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.brand-lockup.is-reversed { --brand-mark-color: #ffffff; --brand-wordmark-color: #ffffff; }
.brand-icon-specimen { display: grid; place-items: center; width: 128px; height: 128px; border-radius: 28px; background: #176b45; }
.brand-icon-specimen .brand-mark { width: 64px; height: 64px; color: #ffffff; }
.public-brand { display: flex; align-items: center; }
.admin-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #176b45; color: white; font-size: 13px; font-weight: 800; }

.public-landing { min-height: 100dvh; padding: 22px 28px 34px; background: #f3f2eb; }
.public-header, .onboarding-header { display: flex; align-items: center; justify-content: space-between; width: min(1232px,100%); min-height: 58px; margin: 0 auto 18px; }
.public-header__actions { display: flex; align-items: center; gap: 12px; }
.public-header .language-link, .onboarding-header .language-link { min-width: 44px; min-height: 40px; border-color: #ccd5ce; background: transparent; }
.sign-in-link, .public-back { min-height: 40px; border: 0; background: transparent; color: var(--ink); font-weight: 800; cursor: pointer; }
.sign-in-link { padding: 0; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.public-locale-menu { position: relative; z-index: 70; }
.public-locale-menu__trigger { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; padding: 0 14px; border: 1px solid #ccd5ce; border-radius: 14px; color: var(--ink); background: rgba(255,255,255,.9); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px rgba(17,43,32,.06); }
.public-locale-menu__trigger:hover, .public-locale-menu__trigger:focus-visible, .public-locale-menu.is-open .public-locale-menu__trigger { border-color: #8faf9b; outline: 0; box-shadow: 0 10px 24px rgba(23,107,69,.12); }
.public-locale-menu__flag { font-size: 16px; line-height: 1; }
.public-locale-menu__chevron { color: var(--muted); font-size: 12px; }
.public-locale-menu__panel { position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px; padding: 7px; border: 1px solid #d3dcd5; border-radius: 16px; background: rgba(255,255,255,.98); box-shadow: 0 20px 44px rgba(17,43,32,.16); }
.public-locale-menu__option { display: grid; width: 100%; grid-template-columns: auto 1fr; align-items: center; gap: 11px; padding: 11px 12px; border: 0; border-radius: 11px; color: var(--ink); background: transparent; font: inherit; font-size: 14px; font-weight: 700; text-align: left; cursor: pointer; }
.public-locale-menu__option:hover, .public-locale-menu__option:focus-visible { background: #f0f5f1; outline: 0; }
.public-locale-menu__option.is-active { color: var(--green); background: #e8f2eb; }
.public-landing .auth-grid { grid-template-columns: minmax(0,1.14fr) minmax(420px,.86fr); min-height: 660px; max-width: 1232px; border: 1px solid #d8ddd7; border-radius: 32px; box-shadow: 0 22px 70px rgba(17,43,32,.11); }
.public-landing .auth-visual { position: relative; display: block; min-height: 0; padding: 0; background: #103f32; }
.public-landing .auth-visual::after { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(180deg,rgba(7,45,34,.98) 0%,rgba(8,47,36,.9) 34%,rgba(8,47,36,.32) 62%,rgba(8,47,36,.04) 100%); pointer-events:none; }
.public-landing .auth-visual .location-art.hero { position:absolute; inset:0; width:100%; height:100%; min-height:0; margin:0; }
.public-copy { position: absolute; top: 64px; right: 48px; left: 64px; z-index: 2; max-width: 670px; }
.landing-mobile-only { display: none; }
.public-copy .entry-kicker { margin-bottom: 14px; color: #d8ef5a; font-size: 13px; font-weight: 850; letter-spacing: .02em; }
.public-copy h1 { max-width: 540px; margin-bottom: 28px; color: white; font-size: clamp(54px,5.8vw,82px); line-height: .98; letter-spacing: -.055em; }
.public-copy > p:last-child { max-width: 625px; margin: 0; color: rgba(255,255,255,.86); font-size: 21px; line-height: 1.55; }
.public-landing .auth-card { display: flex; width: 100%; max-width: none; align-self: stretch; flex-direction: column; justify-content: center; padding: 56px 66px; margin: 0; }
.entry-kicker { margin: 0 0 8px; color: var(--green); font-size: 13px; font-weight: 800; }
.public-landing .auth-card .entry-kicker { margin-bottom: 18px; }
.auth-card h2 { margin-bottom: 10px; font-size: 32px; letter-spacing: -.035em; }
.entry-copy { margin: 0 0 25px; color: var(--muted); line-height: 1.55; }
.public-landing .auth-card h2 { margin-bottom: 20px; font-size: clamp(42px,4vw,60px); line-height: 1.02; letter-spacing: -.045em; }
.public-landing .auth-card .entry-copy { margin-bottom: 34px; font-size: 19px; }
.auth-card .field-label { margin-top: 16px; }
.password-field { position: relative; display: block; }
.password-field .field { padding-right: 84px; }
.password-field button { position: absolute; right: 6px; top: 50%; min-width: 66px; min-height: 36px; border: 0; border-radius: 8px; background: #eef3ef; color: var(--green); font: inherit; font-size: 12px; font-weight: 800; transform: translateY(-50%); cursor: pointer; }
.field.invalid { border-color: #ad3f34; box-shadow: 0 0 0 3px rgba(173,63,52,.12); }
.field-error { display: block; margin-top: 6px; color: #9b352c; font-size: 12px; font-weight: 700; }
.auth-card .button.block { margin-top: 14px; }
.public-landing .auth-card > .button.block { font-size: 17px; }
.public-landing .auth-card .divider { gap: 18px; margin: 30px 0 8px; font-size: 14px; }
.public-landing .auth-card .google-button { min-height: 62px; margin-top: 12px; border-radius: 14px; font-size: 17px; }
.public-landing .auth-card .google-button + .button { min-height: 62px; margin-top: 12px; border-radius: 14px; font-size: 17px; }
@media (max-width: 900px) and (min-width: 701px) {
  .public-landing .auth-grid { grid-template-columns: 1fr; }
  .public-landing .auth-visual { min-height: 520px; }
  .public-landing .auth-card { padding: 48px; }
}
.google-button { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; min-height: 48px; border: 1px solid #cfd6d1; border-radius: 11px; background: white; color: var(--ink); font: inherit; font-weight: 750; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.google-button:hover { border-color: #aebbb2; background: #fafbf9; }
.google-button:active { transform: translateY(1px); }
.google-button:focus-visible { outline: 3px solid rgba(20,107,69,.25); outline-offset: 2px; }
.google-mark { width: 20px; height: 20px; flex: 0 0 auto; }
.auth-card .google-button + .button { margin-top: 10px; }
.login-modal { position: fixed; inset: 0; z-index: 180; display: none; place-items: center; padding: 18px; }
.login-modal.is-open { display: grid; }
.login-modal__backdrop { position: absolute; inset: 0; border: 0; background: rgba(9,29,20,.58); backdrop-filter: blur(5px); cursor: default; }
.login-modal__card { position: relative; z-index: 1; width: min(450px,100%); max-height: calc(100dvh - 36px); overflow-y: auto; padding: 26px; border: 1px solid rgba(255,255,255,.5); border-radius: 21px; background: white; box-shadow: 0 28px 80px rgba(9,29,20,.28); }
.login-modal__card > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.login-modal__card > header h2 { margin: 0; font-size: 30px; letter-spacing: -.035em; }
.login-modal__card .field-label { margin-top: 14px; }
.login-modal__card .divider { margin: 18px 0 8px; }
.login-modal__card [data-email-signin] { margin-top: 24px; }
.login-modal__card .auth-register-row { margin-top: 20px; text-align: center; color: var(--muted); font-size: 13px; }
.login-modal__card .auth-register-row .text-button { color: var(--green); font-weight: 850; }

/* Passing Shot public-entry marketing sections. Authentication remains in the
   existing auth grid above; these sections are presentation-only. */
.marketing-content { --marketing-section-rhythm: 40px; width: min(1232px,100%); margin: var(--marketing-section-rhythm) auto 0; }
.marketing-section { padding: var(--marketing-section-rhythm) 0; border-top: 1px solid #d7ded8; }
.marketing-section h2 { max-width: 1120px; margin: 0 0 32px; color: var(--ink); font-size: clamp(34px,4.3vw,58px); line-height: 1.04; letter-spacing: -.045em; }
.marketing-how h2 { max-width: none; font-size: clamp(34px,3.35vw,48px); }
.marketing-section-intro { max-width: 760px; margin: -12px 0 30px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.marketing-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.marketing-steps article { position: relative; display: grid; align-content: start; min-height: 0; padding: 26px 28px 28px; overflow: hidden; border: 1px solid #d4ddd5; border-radius: 22px; background: linear-gradient(145deg,#fff 10%,#eef6f0 100%); box-shadow: 0 14px 36px rgba(16,40,30,.043); }
.marketing-steps article::before { content:""; position:absolute; inset:0 0 auto; height:5px; background:#347552; }
.marketing-steps article:nth-child(2) { background: linear-gradient(145deg,#fff 10%,#f2f4ec 100%); }
.marketing-steps article:nth-child(2)::before { background:#8eb19c; }
.marketing-steps article:nth-child(3) { background: linear-gradient(145deg,#fff 10%,#f4f7dc 100%); }
.marketing-steps article:nth-child(3)::before { background:#d8ec8d; }
.marketing-step-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.marketing-step-number { color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.marketing-step-icon { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 16px; background: #e7f1e9; color: var(--green); font-size: 26px; line-height: 1; transform: rotate(-2deg); }
.marketing-steps article:nth-child(3) .marketing-step-icon { background:#e5f18f; }
.marketing-steps h3 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.025em; }
.marketing-steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

@media (min-width: 901px) {
  .public-landing { padding-top: 0; }
  .public-header { width: min(1320px,100%); min-height: 0; padding: 24px 44px; margin-bottom: 0; border-bottom: 1px solid #dce3da; }
  .public-landing .auth-grid { margin-top: 34px; }
}
.marketing-desktop-preview { margin: 0; padding: 16px; overflow: hidden; border: 1px solid #dce2d8; border-radius: 24px; background: #f3f5f1; }
.marketing-desktop-preview img { display: block; width: 100%; aspect-ratio: 1.125; border-radius: 14px; object-fit: cover; object-position: top; }
.marketing-mobile-previews { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 24px; margin-top: 30px; }
.marketing-mobile-previews figure { min-width: 0; margin: 0; }
.marketing-mobile-previews figure:nth-child(2) { transform: translateY(-8px); }
.marketing-mobile-previews img { display: block; width: 100%; height: auto; object-fit: contain; border: 1px solid #dce2d8; border-radius: 24px; box-shadow: 0 16px 36px rgba(16,40,30,.07); }
.marketing-mobile-previews figcaption { padding-top: 14px; color: var(--muted); font-size: 13px; font-weight: 750; text-align: center; }
.marketing-carousel-dots { display: none; }
.marketing-review-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.marketing-review-grid article { display: flex; min-height: 290px; flex-direction: column; padding: 28px; border: 1px solid #d4ddd5; border-radius: 22px; background: #fff; box-shadow: 0 15px 35px rgba(16,40,30,.05); }
.marketing-stars { color: #d79a18; font-size: 19px; letter-spacing: .08em; text-align: center; }
.marketing-review-grid blockquote { margin: 34px 0 40px; color: var(--ink); font-size: 20px; font-weight: 650; line-height: 1.45; letter-spacing: -.015em; text-align: center; }
.marketing-review-grid article > footer { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: auto; }
.marketing-review-grid article > footer div { display: grid; gap: 2px; }
.marketing-review-grid article > footer strong { margin: 0; font-size: 14px; }
.marketing-review-grid article > footer small { color: var(--muted); font-size: 12px; }
.marketing-review-crest { position: relative; display: grid; width: 46px; height: 54px; flex: 0 0 46px; place-items: center; overflow: visible; color: var(--symbol); filter:drop-shadow(0 0 1px rgba(24,35,29,.45)) drop-shadow(0 2px 3px rgba(24,35,29,.14)); }
.marketing-review-crest-face { position:absolute; inset:0; display:grid; place-items:center; overflow:hidden; background:var(--crest); }
.marketing-review-crest-face > i { position: absolute; z-index: 1; width: 150%; height: 22%; background: var(--pattern); transform: rotate(-28deg); }
.marketing-review-crest.pattern-split .marketing-review-crest-face > i { top: 0; right: 0; width: 50%; height: 100%; transform: none; }
.marketing-review-crest.pattern-plain .marketing-review-crest-face > i { display: none; }
.marketing-review-symbol { position: relative; z-index: 2; width: 58%; height: 58%; color: var(--symbol); background-color: currentColor; -webkit-mask-image: var(--symbol-src); -webkit-mask-position: center; -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; mask-image: var(--symbol-src); mask-position: center; mask-size: contain; mask-repeat: no-repeat; }
.marketing-final-cta { display:flex; align-items:center; justify-content:space-between; gap:36px; margin:var(--marketing-section-rhythm) 0; padding:44px; border:0; border-radius:26px; background:var(--green-dark); }
.marketing-final-cta h2 { margin:0 0 10px; color:white; font-size:clamp(30px,3vw,44px); }
.marketing-final-cta p { margin:0; color:rgba(255,255,255,.76); font-size:17px; line-height:1.5; }
.marketing-final-cta .button { min-width:250px; background:white; color:var(--green-dark); }
.marketing-review-crest.shape-shield > .marketing-review-crest-face { clip-path: polygon(50% 2%,94% 15%,92% 62%,76% 82%,50% 98%,24% 82%,8% 62%,6% 15%); }
.marketing-review-crest.shape-arched > .marketing-review-crest-face { clip-path: polygon(8% 16%,28% 5%,50% 0,72% 5%,92% 16%,92% 55%,78% 78%,50% 98%,22% 78%,8% 55%); }
.marketing-review-crest.shape-french > .marketing-review-crest-face { clip-path: polygon(8% 8%,29% 14%,50% 4%,71% 14%,92% 8%,92% 63%,84% 78%,68% 89%,50% 97%,32% 89%,16% 78%,8% 63%); }
.marketing-review-crest.shape-tulip > .marketing-review-crest-face { clip-path: polygon(7% 8%,30% 13%,50% 5%,70% 13%,93% 8%,94% 54%,78% 80%,50% 98%,22% 80%,6% 54%); }
.marketing-faq-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 14px; }
.marketing-faq details { overflow: hidden; border: 1px solid #d6ded7; border-radius: 18px; background: rgba(255,255,255,.78); }
.marketing-faq summary { position: relative; min-height: 88px; padding: 24px 64px 24px 24px; color: var(--ink); font-size: 18px; font-weight: 800; line-height: 1.35; cursor: pointer; list-style: none; }
.marketing-faq summary::-webkit-details-marker { display: none; }
.marketing-faq summary::after { content:"+"; position:absolute; top:50%; right:22px; display:grid; width:32px; height:32px; place-items:center; border-radius:50%; background:#e8f0e8; color:var(--green); font-size:21px; transform:translateY(-50%); }
.marketing-faq details[open] summary::after { content:"−"; }
.marketing-faq details p { margin: 0; padding: 0 24px 24px; color: var(--muted); line-height: 1.65; }
.marketing-rules-link { display: inline; padding: 0; border: 0; background: transparent; color: var(--green); font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

@media (max-width: 900px) {
  .marketing-steps { grid-template-columns: 1fr; }
  .marketing-steps article { min-height: 0; }
  .marketing-review-grid { grid-template-columns: 1fr 1fr; }
  .marketing-review-grid article:last-child { grid-column: 1/-1; }
}

.auth-resolving-page { display: grid; min-height: 100dvh; place-content: center; justify-items: center; gap: 14px; padding: 24px; color: var(--muted); background: #f6f5ef; font-size: 14px; font-weight: 750; }
.auth-startup-recovery { width:min(100%,520px); margin:0 auto; color:var(--ink); text-align:center; }
.auth-startup-recovery h1,.auth-startup-recovery p { margin:0; }
.auth-startup-recovery p { max-width:440px; color:var(--muted); font-weight:500; line-height:1.55; }
.auth-startup-recovery .button { width:min(100%,360px); }
.auth-startup-recovery .text-button { margin-top:2px; }
.settings-confirmation { display:grid; gap:12px; padding:18px; border:1px solid #e2b8b0; border-radius:14px; background:#fff8f6; }
.settings-confirmation p { margin:0; color:var(--muted); }
.danger-button { background:#97392e; color:white; }
.danger-button:hover { background:#792c24; }
.auth-resolving-spinner { width: 38px; height: 38px; border: 3px solid #dbe4dc; border-top-color: var(--green); border-radius: 50%; animation: auth-resolving-spin .8s linear infinite; }
.auth-status-page { min-height: 100dvh; padding: 22px 28px 48px; background: #f3f2eb; }
.auth-status-card { width: min(560px,100%); margin: 72px auto 0; padding: clamp(28px,5vw,48px); border: 1px solid #d9dfda; border-radius: 24px; background: white; box-shadow: 0 20px 55px rgba(22,34,28,.09); }
.auth-status-card h1 { margin: 0 0 14px; font-size: clamp(34px,5vw,48px); letter-spacing: -.045em; }
.auth-status-card > p:not(.entry-kicker):not(.field-error):not(.auth-notice) { margin: 0 0 12px; color: var(--muted); line-height: 1.55; }
.auth-status-card .button.block { margin-top: 24px; }
.auth-status-card a.button.block { display: flex; align-items: center; justify-content: center; box-sizing: border-box; margin-top: 12px; text-decoration: none; }
.auth-status-icon { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 22px; border-radius: 17px; background: var(--soft-green); color: var(--green); font-size: 25px; font-weight: 900; }
.auth-status-icon.success { color: white; background: var(--green); }
.auth-status-actions { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 12px; }
.auth-status-actions .button { width: auto; }
.auth-password-form { display: grid; gap: 2px; }
.auth-notice { margin: 14px 0 0; color: var(--green); font-size: 13px; font-weight: 750; }
@keyframes auth-resolving-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .auth-resolving-spinner { animation-duration: 1.8s; } }

.location-art { position: relative; overflow: hidden; background: #dfe8de; }
.location-art svg { display: block; width: 100%; height: 100%; }
.production-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.location-sky { fill: #dce9df; }
.location-sun { fill: #d8ef5a; }
.location-horizon { fill: #9fbeaa; }
.landmark { fill: none; stroke: #174c38; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.poster-court { fill: #cd6f50; }
.poster-court.grass { fill: #70a45f; }
.poster-court.hard { fill: #4c8290; }
.court-lines-art { fill: none; stroke: rgba(255,255,255,.82); stroke-width: 1.6; }
.poster-racket { fill: none; stroke: #fff5dc; stroke-width: 3; stroke-linecap: round; opacity: .95; }
.poster-racket path:not(:first-of-type) { stroke-width: 1; }
.poster-ball { fill: #d8ef5a; stroke: #174c38; stroke-width: 2; }
.poster-flight { fill: none; stroke: #c45b39; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 4 5; }
.location-art.hero { display: block; align-self: stretch; width: calc(100% + 104px); height: 100%; min-height: 340px; margin: 0 0 0 -52px; border-radius: 0; background: #103f32; }
.production-art.hero::after { content:""; position:absolute; inset:0 0 auto; z-index:1; width:auto; height:58px; border:0; border-radius:0; background:linear-gradient(180deg,#103f32 0%,rgba(16,63,50,.72) 38%,rgba(16,63,50,0) 100%); box-shadow:none; pointer-events:none; }
.production-art.hero img { position: absolute; inset: 0; object-position: 65% 55%; }
.location-art.hero svg { object-fit: cover; }
.location-art.hero .landmark { stroke-width: 3; }
.location-rome .colosseum-shell { fill: rgba(211,145,103,.38); stroke-width: 4; }
.location-rome .colosseum-arcades { stroke-width: 2.6; }
.location-art.thumb { width: 118px; height: 78px; border-radius: 11px; }
.production-art.thumb { width: 126px; height: auto; aspect-ratio: 3 / 2; border-radius: 12px; }
.production-art.thumb::before,
.production-art.thumb::after { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; filter:blur(2px); }
.production-art.thumb::before { background:linear-gradient(90deg,var(--thumbnail-top-left),var(--thumbnail-top-right)); clip-path:polygon(25% 0,75% 0,75% 20%,25% 20%); }
.production-art.thumb::after { background:linear-gradient(90deg,var(--thumbnail-bottom-left) 0 24%,transparent 24% 76%,var(--thumbnail-bottom-right) 76% 100%); -webkit-mask:linear-gradient(#000 0 0) left bottom/24% 24% no-repeat,linear-gradient(#000 0 0) right bottom/24% 24% no-repeat; mask:linear-gradient(#000 0 0) left bottom/24% 24% no-repeat,linear-gradient(#000 0 0) right bottom/24% 24% no-repeat; }
.production-art.thumb.thumbnail-patch-unavailable::before,
.production-art.thumb.thumbnail-patch-unavailable::after { display:none; }
.location-art.thumb .poster-racket { display: none; }
.location-art.thumb .landmark { stroke-width: 5; }
.location-art.header { position: absolute; inset: 0 0 0 auto; width: 52%; height: 100%; opacity: .72; }
.production-art.header { position: relative; inset: auto; order: 3; flex: 0 0 min(42%,360px); width: min(42%,360px); height: auto; aspect-ratio: 3 / 2; border-radius: 14px; opacity: 1; }
.production-art.header::after { display: none; }
.location-art.header::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#f8faf7 0%,rgba(248,250,247,.72) 25%,transparent 75%); }
.location-art.header .poster-racket { display: none; }
.location-paris .location-sky { fill: #e7dfd2; }
.location-paris .location-horizon { fill: #d0ab8a; }
.location-london .location-sky { fill: #d9e4e4; }
.location-london .location-horizon { fill: #97b79c; }
.location-new-york .location-sky { fill: #dbe4ed; }
.location-new-york .location-horizon { fill: #9bb1bf; }
.location-indian-wells .location-sky { fill: #eee1c5; }
.location-indian-wells .location-horizon { fill: #c0a878; }
.location-miami .location-sky { fill: #d8eeee; }
.location-miami .location-horizon { fill: #85beb7; }
.location-tokyo .location-sky { fill: #ecdfe1; }
.location-tokyo .location-horizon { fill: #b99fa7; }
.location-madrid .location-sky { fill: #eee2ca; }
.location-madrid .location-horizon { fill: #d2b57f; }
.location-monte-carlo .location-sky { fill: #dbeaf0; }
.location-monte-carlo .location-horizon { fill: #83b8b8; }
.tournament-card { grid-template-columns: 126px minmax(0,1fr) auto; min-height: 118px; }
.completed-card-head { grid-template-columns: 126px 1fr auto; }
.event-header-art { position: relative; min-height: 126px; overflow: hidden; align-items: flex-end; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #f8faf7; }
.event-header-art > div:not(.location-art), .event-header-art > .status-chip { position: relative; z-index: 2; }
.production-event-header { --event-hero-text:#fff; --event-hero-muted:rgba(255,255,255,.82); --event-hero-chip:rgba(255,255,255,.14); --event-hero-chip-text:#fff; min-height:clamp(330px,29vw,410px); align-items:center; padding:clamp(34px,4.5vw,64px); border:0; background:#10251f; color:var(--event-hero-text); isolation:isolate; }
.production-event-header::after { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,rgba(7,22,18,.94) 0%,rgba(7,22,18,.86) 28%,rgba(7,22,18,.58) 48%,rgba(7,22,18,.16) 72%,rgba(7,22,18,.04) 100%),linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.18)); pointer-events:none; }
.production-event-header .event-header-copy { z-index:2; width:min(54%,680px); flex:0 1 680px; text-shadow:0 2px 18px rgba(0,0,0,.28); }
.production-event-header .mobile-event-header-copy { display:none; }
.production-event-header .event-location { display:flex; align-items:flex-start; flex-direction:column; gap:6px; margin-bottom:20px; }
.production-event-header .event-location strong { color:var(--event-hero-text); font-size:16px; line-height:1.25; }
.production-event-header .event-location-flag { display:block; width:auto; height:auto; overflow:visible; border:0; border-radius:0; font-size:42px; line-height:1; box-shadow:none; }
.production-event-header .event-location-flag .country-flag { display:block; font-size:42px; line-height:1; transform:none; }
.production-event-header .event-header-copy > p { color:var(--event-hero-muted); }
.production-event-header .event-title-row { align-items:flex-start; flex-direction:column; gap:16px; }
.production-event-header .event-title-row h1 { color:var(--event-hero-text); text-wrap:balance; }
.production-event-header .event-surface-setting { margin:2px 0 6px; color:rgba(255,255,255,.88); font-size:14px; font-weight:750; letter-spacing:.01em; }
.production-event-header .event-main-draw-dates { margin:0 0 14px; color:rgba(255,255,255,.82); font-size:14px; font-weight:650; }
.production-event-header .status-chip { border:1px solid color-mix(in srgb,var(--event-hero-text) 22%,transparent); background:var(--event-hero-chip); color:var(--event-hero-chip-text); backdrop-filter:blur(8px); }
.production-event-header .production-art.header { position:absolute; inset:0; z-index:0; order:0; width:100%; height:100%; max-width:none; aspect-ratio:auto; border-radius:0; }
.production-event-header .production-art.header img { object-position:center 55%; transform:scale(1); filter:saturate(.92) contrast(1.02); }
.production-event-header .production-art.header.location-atp-wimbledon-2026 img,
.production-event-header .production-art.header.location-wta-wimbledon-2026 img { object-fit:cover; object-position:center 22%; transform:translateX(20%) scale(1.02); -webkit-mask-image:none; mask-image:none; }
.production-event-header .production-art.header.location-beijing-atp img { object-position:center 38%; transform:translateX(10%) scale(1); }
.production-event-header .production-art.header.location-wta-brisbane-2026 img { object-position:center 56%; transform:translateX(12%) scale(1); }
.production-event-header .production-art.header.location-atp-australian-open-2026 img,
.production-event-header .production-art.header.location-wta-australian-open-2026 img { object-position:center 48%; transform:translateX(10%) scale(1); }
.production-event-header .production-art.header.location-atp-dallas-2026 img { object-position:center 58%; transform:translateX(10%) scale(1); }
.production-event-header .production-art.header.location-wta-merida-2026 img { object-position:center 44%; transform:translateX(10%) scale(1); }
.production-event-header .production-art.header.location-atp-miami-2026 img,
.production-event-header .production-art.header.location-wta-miami-2026 img { object-position:center 58%; transform:translateX(10%) scale(1); }
.production-event-header .production-art.header.location-wta-berlin-2026 img { object-position:center 52%; transform:translateX(10%) scale(1); }
.production-event-header .production-art.header.location-wta-toronto-2026 img { object-position:center 50%; transform:scale(1); }
.production-event-header .production-art.header.location-atp-rio-2026 img { object-position:center 28%; transform:scale(1.02); }
.production-event-header .production-art.header.location-atp-monte-carlo-2026 img,
.production-event-header .production-art.header.location-wta-linz-2026 img { object-position:center 35%; transform:scale(1.04); }
.production-event-header .production-art.header.location-wta-strasbourg-2026 img { object-position:center 46%; transform:scale(1); }
.production-event-header .production-art.header.location-atp-roland-garros-2026 img,
.production-event-header .production-art.header.location-wta-roland-garros-2026 img { object-position:center 46%; transform:scale(1); }
.production-event-header .production-art.header.location-wta-london-2026 img,
.production-event-header .production-art.header.location-atp-london-2026 img,
.production-event-header .production-art.header.location-wta-bad-homburg-2026 img { object-position:center 42%; transform:scale(1); }
.production-event-header .production-art.header.location-wta-guadalajara-2026 img { object-position:center 38%; transform:scale(1); }
.production-event-header .production-art.header.location-atp-munich-2026 img { object-position:center 46%; transform:scale(1); }
.production-event-header .production-art.header.location-rome img,
.production-event-header .production-art.header.location-atp-rome-2026 img,
.production-event-header .production-art.header.location-wta-rome-2026 img { object-position:52% 46%; }
.production-event-header .production-art.header.location-wta-linz-2026 img { object-position:54% 35%; }
.production-event-header .production-art.header.location-beijing-atp img,
.production-event-header .production-art.header.location-atp-beijing-2026 img,
.production-event-header .production-art.header.location-wta-merida-2026 img,
.production-event-header .production-art.header.location-atp-barcelona-2026 img,
.production-event-header .production-art.header.location-wta-london-2026 img,
.production-event-header .production-art.header.location-atp-london-2026 img,
.production-event-header .production-art.header.location-atp-halle-2026 img,
.production-event-header .production-art.header.location-wta-berlin-2026 img,
.production-event-header .production-art.header.location-wta-bad-homburg-2026 img,
.production-event-header .production-art.header.location-atp-wimbledon-2026 img,
.production-event-header .production-art.header.location-wta-wimbledon-2026 img,
.production-event-header .production-art.header.location-atp-washington-2026 img,
.production-event-header .production-art.header.location-wta-washington-2026 img,
.production-event-header .production-art.header.location-atp-cincinnati-2026 img,
.production-event-header .production-art.header.location-wta-cincinnati-2026 img,
.production-event-header .production-art.header.location-wta-monterrey-2026 img,
.production-event-header .production-art.header.location-atp-us-open-2026 img,
.production-event-header .production-art.header.location-wta-us-open-2026 img,
.production-event-header .production-art.header.location-wta-guadalajara-2026 img { object-position:center 48%; transform:scale(1); }
.production-event-header .production-art.header.location-atp-tokyo-2026 img,
.production-event-header .production-art.header.location-tokyo-atp img,
.production-event-header .production-art.header.location-atp-shanghai-2026 img,
.production-event-header .production-art.header.location-wta-wuhan-2026 img,
.production-event-header .production-art.header.location-wta-ningbo-2026 img { object-position:center 38%; transform:scale(1); }
.production-event-header .production-art.header.location-atp-rio-2026 img,
.production-event-header .production-art.header.location-wta-acapulco-2026 img { object-position:center 38%; transform:scale(1); }
.production-event-header .production-art.header.location-atp-stuttgart-2026 img { object-position:center 48%; transform:scale(1); }
.production-event-header .production-art.header.location-atp-rome-2026 img,
.production-event-header .production-art.header.location-wta-rome-2026 img { object-position:52% 52%; transform:scale(1); }
.production-event-header .production-art.header.location-wta-toronto-2026 img { object-position:center 56%; transform:scale(1); }
.production-event-header .production-art.header.location-tokyo-atp img,
.production-event-header .production-art.header.location-atp-tokyo-2026 img,
.production-event-header .production-art.header.location-wta-tokyo-2026 img,
.production-event-header .production-art.header.location-atp-shanghai-2026 img,
.production-event-header .production-art.header.location-wta-wuhan-2026 img,
.production-event-header .production-art.header.location-wta-ningbo-2026 img,
.production-event-header .production-art.header.location-wta-brisbane-2026 img,
.production-event-header .production-art.header.location-atp-australian-open-2026 img,
.production-event-header .production-art.header.location-wta-australian-open-2026 img,
.production-event-header .production-art.header.location-atp-dallas-2026 img,
.production-event-header .production-art.header.location-atp-dubai-2026 img,
.production-event-header .production-art.header.location-wta-dubai-2026 img,
.production-event-header .production-art.header.location-atp-rio-2026 img,
.production-event-header .production-art.header.location-atp-acapulco-2026 img,
.production-event-header .production-art.header.location-atp-miami-2026 img,
.production-event-header .production-art.header.location-wta-miami-2026 img,
.production-event-header .production-art.header.location-wta-stuttgart-2026 img,
.production-event-header .production-art.header.location-atp-indian-wells-2026 img,
.production-event-header .production-art.header.location-wta-indian-wells-2026 img,
.production-event-header .production-art.header.location-atp-munich-2026 img,
.production-event-header .production-art.header.location-atp-madrid-2026 img,
.production-event-header .production-art.header.location-wta-madrid-2026 img,
.production-event-header .production-art.header.location-wta-singapore-2026 img { object-position:center; transform:scale(1); }

.player-row { grid-template-columns: 34px 64px minmax(0,1fr) auto; min-height: 82px; }
.player-row:not(.has-portrait) .player-info { grid-column: 2 / 4; }
.player-row:not(.has-portrait) .pick-toggle { grid-column: 4; }
.player-portrait { display: block; object-fit: cover; object-position: center; border: 1px solid #d8ddd8; background: #e9eee9; }
.player-portrait.portrait-64 { width: 64px; height: 64px; border-radius: 14px; }
.player-portrait.portrait-96 { width: 96px; height: 96px; border-radius: 18px; }
.player-portrait.portrait-20 { width: 20px; height: 20px; border-radius: 6px; }
.player-portrait.portrait-32 { width: 32px; height: 32px; border-radius: 8px; }
.player-portrait.portrait-36 { width: 36px; height: 36px; border-radius: 9px; }
.player-portrait.portrait-40 { width: 40px; height: 40px; border-radius: 10px; }
.player-identity { display: inline-flex; min-width: 0; align-items: center; gap: 8px; }
.player-identity > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-identity.compact { gap: 6px; }
.player-portrait-placeholder { position: relative; display: block; width: var(--portrait-size); min-width: var(--portrait-size); height: var(--portrait-size); overflow: hidden; border: 1px solid #d4dad6; border-radius: 22%; background: #f5f7f5; }
.player-portrait-placeholder::before, .player-portrait-placeholder::after { content:""; position:absolute; left:50%; background:#aeb7b1; transform:translateX(-50%); }
.player-portrait-placeholder::after { bottom:-2%; width:72%; height:35%; border-radius:55% 55% 16% 16%; }
.player-portrait-placeholder.male::before { top:17%; width:29%; height:40%; border-radius:45% 45% 40% 40%; }
.player-portrait-placeholder.female::before { top:14%; width:48%; height:46%; clip-path:polygon(30% 0,70% 0,88% 17%,100% 78%,72% 70%,68% 100%,32% 100%,28% 70%,0 78%,12% 17%); }
.bracket-player, .bracket-player.has-portrait { grid-template-columns: 18px 20px minmax(0,1fr) max-content; }
.location-art.mini { flex: 0 0 48px; width: 48px; height: 32px; border-radius: 7px; }
.tournament-identity { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.tournament-identity > span:last-child { display: grid; gap: 2px; }
.tournament-identity small { color: var(--muted); font-size: 12px; }
.table-row .tournament-identity, .personal-results .tournament-identity { margin-bottom: 0; }
.selected-player-portraits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 4px 0 14px; }
.selected-player-portraits > div { min-width: 0; }
.selected-player-portraits img { width: 100%; height: auto; aspect-ratio: 1; }
.selected-player-portraits span { display: block; margin-top: 5px; overflow: hidden; color: var(--ink); font-size: 11px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.selected-player-portraits.single { grid-template-columns: 1fr; }
.selected-player-portraits.single > div { display: grid; grid-template-columns: 72px minmax(0,1fr); align-items: center; gap: 12px; }
.selected-player-portraits.single img { width: 72px; height: 72px; }
.selected-player-portraits.single .player-portrait-placeholder { --portrait-size:72px !important; }
.selected-player-portraits.single span { margin-top: 0; overflow: visible; font-size: 13px; text-overflow: clip; white-space: normal; }

.onboarding-page { padding: 22px 28px 48px; background: #f3f2eb; }
.onboarding-header { margin-bottom: 8px; }
.onboarding-card { margin: 20px auto; border: 1px solid #d9dfda; border-radius: 22px; box-shadow: 0 20px 55px rgba(22,34,28,.09); }
.step-progress { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 32px; color: var(--muted); font-size: 13px; font-weight: 750; }
.step-progress > div { display: grid; grid-template-columns: repeat(3,42px); gap: 6px; }
.step-progress i { display: block; height: 5px; border-radius: 999px; background: #e3e8e3; }
.step-progress i.active { background: var(--green); }
.onboarding-card > h1 { margin-bottom: 12px; }
.onboarding-card .google-button { margin-top: 18px; }
.signup-consents { display: grid; gap: 10px; margin-top: 20px; }
.terms-consent { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #dce3de; border-radius: 16px; background: #f7f8f5; color: var(--muted); font-size: 14px; line-height: 1.45; }
.terms-consent--optional { background: white; }
.onboarding-card.account-step .terms-consent--optional { font-size: 13px; }
.terms-consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--green); }
.inline-legal-link { display: inline; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }
.onboarding-card .signup-consents + .google-button { margin-top: 16px; }
.onboarding-card .divider { margin: 18px 0 2px; }
@media(max-width:700px) {
  .onboarding-card.account-step .terms-consent,
  .onboarding-card.account-step .field { scroll-margin-block:96px 32px; }
  .onboarding-card.account-step .terms-consent { align-items:start; }
}

.your-position > div { display: flex; justify-content: flex-end; gap: 8px; }
.your-position .button.secondary { min-height: 38px; padding: 0 13px; }
.ranking-list { border-radius: 16px; }
.ranking-row { grid-template-columns: 78px 48px minmax(220px,1fr) 138px 96px; gap: 12px; min-height: 72px; padding: 10px 16px; }
.ranking-row.ranking-head { grid-template-columns: 78px 48px minmax(220px,1fr) 138px 96px; gap: 12px; min-height: 46px; }
.ranking-head > span:first-child { grid-column: 1; }
.ranking-head .team-heading { grid-column: 2 / 4; }
.ranking-head .ranking-counted { grid-column: 4; }
.ranking-head > span:last-child { grid-column: 5; text-align: right; }
.ranking-crest { position: relative; display: grid; place-items: center; width: 40px; height: 46px; overflow: visible; filter:drop-shadow(0 0 1px rgba(24,35,29,.45)) drop-shadow(0 2px 3px rgba(24,35,29,.14)); }
.ranking-crest-face { position:absolute; inset:0; display:grid; place-items:center; overflow:hidden; background:var(--crest); clip-path:polygon(50% 0,92% 16%,85% 72%,50% 100%,15% 72%,8% 16%); }
.ranking-crest-face > i { position: absolute; z-index: 1; width: 150%; height: 22%; background: var(--pattern); transform: rotate(-28deg); opacity: .82; }
.ranking-crest.pattern-stripe .ranking-crest-face > i { opacity:1; }
.ranking-crest.pattern-split .ranking-crest-face > i { width:50%; height:100%; right:0; top:0; transform:none; opacity:1; }
.ranking-crest.pattern-half-diagonal .ranking-crest-face > i { inset:0; width:100%; height:100%; clip-path:polygon(100% 0,100% 100%,0 100%); transform:none; opacity:1; }
.ranking-crest.pattern-plain .ranking-crest-face > i { display:none; }
.home-choice-card { border:1px solid var(--line); border-radius:18px; background:#f8faf8; padding:18px 20px; }
.home-choice-card > header { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.home-choice-card > header p { margin:6px 0 0; color:var(--muted); font-size:13px; }
.home-choice-event { display:flex; align-items:center; gap:9px; color:var(--ink); text-decoration:none; }
.home-choice-event:hover { text-decoration:underline; }
.home-choice-review { display:inline-flex; align-items:center; min-height:44px; padding:0; color:var(--green); white-space:nowrap; text-decoration:none; }
.home-choice-review:hover { text-decoration:underline; }
.home-choice-picks { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:16px; }
.home-choice-picks .home-saved-pick { min-width:0; margin:0; padding:12px; border:1px solid var(--line); border-radius:12px; background:white; }
.home-saved-starter { display:flex; align-items:center; gap:7px; font-weight:800; }
.home-saved-starter .player-identity { min-width:0; }
.home-choice-picks .player-identity > span:last-child { white-space:normal; overflow:visible; text-overflow:clip; }
.home-choice-picks .home-saved-pick > small { margin:6px 0 0 34px; font-size:13px; }
.home-saved-bench { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:5px 8px; margin:10px 0 0 14px; padding:8px 10px; border:1px dashed #b9cbc0; background:#fff; border-radius:8px; }
.home-saved-bench > small { grid-column:2; color:var(--muted); font-size:12px; }
@media(max-width:600px) {
  .home-choice-card { padding:12px; }
  .home-choice-card > header { flex-wrap:wrap; gap:10px; }
  .home-choice-card > header .button { min-height:38px; padding:0 12px; }
  .home-choice-picks { grid-template-columns:1fr; margin-top:12px; gap:8px; }
}
.ranking-crest-face > span { position: relative; z-index: 2; display: grid; place-items: center; width: 58%; height: 58%; color: var(--symbol); }
.ranking-row .desktop-manager, .ranking-counted { color: var(--muted); font-size: 13px; }
.ranking-team small { display: none; }
.ranking-gap { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: #f8f9f7; color: var(--muted); font-size: 13px; }
.ranking-gap > div { display: flex; gap: 8px; }
.ranking-row.you { box-shadow: inset 4px 0 var(--green); }
.ranking-pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-top: 1px solid var(--line); background: #f8f9f7; color: var(--muted); font-size: 13px; font-weight: 700; }
.ranking-pagination > div { display: flex; gap: 8px; }
.ranking-pagination .button { min-height: 38px; padding: 0 13px; }

.standings-page .event-header { margin: 4px 0 0; }
.standings-page .tournament-tabs { margin-bottom: 28px; }
.standings-heading { margin: 0 0 14px; }
.standings-heading h2 { margin: 0; }
.standings-page .ranking-tabs { margin: 0 0 20px; }
.standings-page .info-note { margin: -4px 0 20px; }
.competition-table { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.competition-entry { border-top: 1px solid var(--line); }
.competition-toggle { width: 100%; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.competition-table .competition-row { grid-template-columns: 64px minmax(240px,1fr) minmax(160px,.55fr) 110px 28px; }
.competition-table .competition-row-tournament { grid-template-columns: 64px minmax(240px,1fr) minmax(130px,.42fr) minmax(140px,.46fr) 110px 28px; }
.competition-expand { font-size: 23px; color: var(--green); text-align: center; }
.competition-toggle > strong:last-of-type { justify-self: center; text-align: center; }
.competition-detail { padding: 22px 24px 24px 104px; background: #fbfcfa; border-top: 1px solid var(--line); }
.competition-expand { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mint); font-weight: 800; position: relative; font-size: 0 !important; align-self: center; justify-self: center; }
.competition-expand::before, .competition-expand::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 1px; background: var(--green); transform: translate(-50%,-50%); }
.competition-expand::after { display: none; width: 2px; height: 12px; }
button[aria-expanded="false"] .competition-expand::after { display: block; }
.competition-detail .standing-pick-row { align-items: center; }
.season-evidence-list { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
.season-evidence-row { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(90px,.65fr) minmax(100px,.8fr) minmax(90px,.75fr) minmax(120px,1fr) minmax(70px,.45fr); align-items: center; gap: 18px; padding: 14px 16px; border-top: 1px solid var(--line); background: #fff; }
.season-evidence-head { border-top: 0; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.season-points, .competition-points { width: 100%; justify-self: stretch !important; text-align: center !important; }
.season-event-link { color: var(--ink); font-weight: 800; text-decoration: none; }
.season-event-link:hover, .season-event-link:focus-visible { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.season-city { color: var(--muted); }
.season-event { display: grid; gap: 4px; }
.season-event small { color: var(--muted); font-size: 12px; }
.season-mobile-result { display: none; }
.history-entry + .history-entry { border-top: 1px solid var(--line); }
.personal-result-row.collapsed .competition-expand::after { display: block; }
.compact-history .competition-detail { margin-inline: -18px; padding-left: 18px; }
.competition-detail h3 { margin: 8px 0 12px; font-size: 16px; }
.competition-detail-result { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.competition-detail-result > span { display: grid; gap: 3px; min-width: 0; }
.competition-detail-result small { color: var(--muted); }
.competition-detail-result > strong { white-space: nowrap; }
.pick-outcome-won { color: var(--green); }
.pick-outcome-lost { color: #994034; }
.competition-detail-total { margin-bottom: 0; }
.compact-history { padding: 0 18px; }
.compact-history .personal-result-row { position: relative; grid-template-columns: minmax(0,1.5fr) minmax(90px,.65fr) minmax(100px,.75fr) minmax(140px,1fr) 80px 24px; padding: 18px 0; cursor: default; }
.personal-result-toggle { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; }
.personal-result-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: -3px; border-radius: 8px; }
.history-event-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.history-event-link:hover, .history-event-link:focus-visible { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.season-category, .history-category, .history-city { color: var(--muted); }
.season-category-mobile, .compact-history .history-category-mobile { display: none; }
.history-title { display: flex; align-items: center; gap: 10px; }
.history-title strong { white-space: normal; }
.history-status { display: grid; gap: 3px; }
.history-status b { color: var(--green); }
.history-status small { color: var(--muted); }
.compact-history .history-mobile-status { display: none; }
.history-arrow { font-size: 26px; text-align: right; color: var(--green); }
@media (max-width: 779px) {
  .competition-table .competition-row { grid-template-columns: 20px minmax(0,1fr) 70px 44px 22px; gap: 8px; padding: 12px 10px; }
  .competition-table .competition-row-tournament { grid-template-columns: 20px minmax(0,1fr) 64px 44px 22px; }
  .competition-expand { font-size: 21px; }
  .competition-table .competition-counted-heading { width: 70px; max-width: 100%; font-size: 8px; letter-spacing: .015em; }
  .competition-table .competition-head > span:nth-last-child(2) { font-size: 8px; letter-spacing: .015em; }
  .competition-detail { padding: 12px; font-size: 13px; }
  .competition-detail .standing-breakdown-summary { grid-template-columns: 1fr; }
  .season-evidence-row { grid-template-columns: minmax(0,1fr) 44px; padding: 12px; gap: 10px; }
  .season-status, .season-round, .season-category, .season-city, .history-category, .history-city { display: none; }
  .season-category-mobile, .compact-history .history-category-mobile { display: block; }
  .season-mobile-result { display: block; }
  .season-event-link { font-size: 13px; }
  .compact-history .competition-detail { margin-inline: -12px; padding-left: 12px; }
  .competition-expand { width: 22px; height: 22px; }
  .compact-history { padding: 0 12px; }
  .compact-history .personal-result-row { grid-template-columns: minmax(0,1fr) auto 22px; gap: 10px; padding: 14px 0; }
  .compact-history .history-status { display: none; }
  .compact-history .history-mobile-status { display: block; }
}
.competition-row { display: grid; grid-template-columns: 64px minmax(240px,1fr) minmax(160px,.55fr) 110px; align-items: center; gap: 16px; min-height: 82px; padding: 14px 24px; border-top: 1px solid var(--line); }
.competition-row:first-child { border-top: 0; }
.competition-row.you { background: var(--mint); }
.competition-head { min-height: 52px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.competition-team { display: flex; align-items: center; gap: 14px; min-width: 0; }
.competition-team > i { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: var(--green); color: white; font-style: normal; font-weight: 900; }
.competition-team > .ranking-crest { width: 40px; height: 46px; flex: 0 0 40px; }
.competition-team > span { display: grid; min-width: 0; }
.competition-team b, .competition-team small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.competition-team small { color: var(--muted); }
.competition-status-stack { display: grid; gap: 2px; }
.competition-status-stack b { color: var(--green); font-size: 14px; }
.competition-status-stack small { color: var(--muted); font-size: 12px; }
.competition-row-tournament { grid-template-columns: 64px minmax(240px,1fr) minmax(130px,.42fr) minmax(140px,.46fr) 110px; }
.competition-result-cell { display: none; }
.competition-status-cell, .competition-round-cell { justify-self: center; text-align: center; }
.competition-status-winner { color: var(--green); font-weight: 800; }
.competition-status-eliminated { color: #994034; }
.competition-status-ongoing { color: var(--ink); }
.competition-row > :first-child,
.competition-row > :last-child { justify-self: center; text-align: center; }
.competition-row > :nth-child(3) { justify-self: center; text-align: center; }
@media (max-width: 779px) {
  .competition-row { grid-template-columns: 24px minmax(0,1fr) 58px 52px; gap: 6px; min-height: 68px; padding: 10px; }
  .competition-row-tournament { grid-template-columns: 24px minmax(0,1fr) 74px 42px; }
  .competition-head { min-height: 44px; font-size: 9px; letter-spacing: .035em; }
  .competition-team { gap: 8px; }
  .competition-team > i { width: 30px; height: 30px; flex-basis: 30px; }
  .competition-team > .ranking-crest { width: 28px; height: 32px; flex-basis: 28px; }
  .competition-team b { font-size: 13px; }
  .competition-team small { font-size: 11px; }
  .competition-row > strong { font-size: 14px; }
  .competition-counted-heading { line-height: 1.15; text-wrap: balance; }
  .competition-row-tournament .competition-status-cell,
  .competition-row-tournament .competition-round-cell { display: none; }
  .competition-row-tournament .competition-result-cell { display: grid; justify-self: center; text-align: center; }
  .competition-result-stack { gap: 2px; line-height: 1.15; }
  .competition-result-stack b { font-size: 12px; }
  .competition-result-stack small { color: var(--muted); font-size: 10px; font-weight: 600; }
}
.standings-page .ranking-row { min-height: 78px; padding: 13px 18px; }
.standings-page .ranking-row, .standings-page .ranking-row.ranking-head { padding-right: 30px; }
.standings-page .ranking-row.ranking-head { min-height: 48px; padding-top: 10px; padding-bottom: 10px; padding-left: 18px; }
.standings-page .ranking-row, .standings-page .ranking-row.ranking-head { grid-template-columns: 78px 48px minmax(180px,1fr) minmax(140px,.7fr) minmax(190px,.8fr) 132px; }
.standing-entry { border-bottom: 1px solid var(--line); }
.standing-entry:last-child { border-bottom: 0; }
.standing-entry .ranking-row { border-bottom: 0; }
.standing-toggle { position: relative; }
.standing-points { display: grid; grid-template-columns: minmax(0,1fr) 26px; align-items: center; gap: 10px; }
.standing-points .points { text-align: right; }
.ranking-head .points-heading { padding-right: 36px; text-align: right; }
.standings-page .standing-points,
.standings-page .ranking-head .points-heading { margin-right: 18px; }
.standing-chevron { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding-bottom: 2px; border-radius: 50%; background: #edf2ed; color: var(--green); font-size: 20px; font-weight: 750; line-height: 1; }
.standing-entry.expanded .standing-toggle { background: #f7f9f6; }
.standing-breakdown { padding: 18px 22px 20px 96px; border-top: 1px solid var(--line); background: #fbfcfa; }
.standing-breakdown-summary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-bottom: 16px; }
.standing-breakdown-summary > div { display: grid; grid-template-rows: 20px auto auto; align-content: start; gap: 4px; }
.standing-breakdown-summary span { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.standing-breakdown-summary > div > span:first-child { display: flex; align-items: center; min-height: 20px; }
.standing-breakdown-summary .info-tip { display: inline-grid; margin-left: 4px; color: var(--muted); font-size: 11px; line-height: 1; text-transform: none; letter-spacing: 0; vertical-align: middle; }
.standing-breakdown-summary .info-tip .info-tip-glyph { color: inherit; font-size: 11px; font-weight: 800; line-height: 1; letter-spacing: 0; text-transform: lowercase !important; }
.standing-breakdown-summary strong { font-size: 15px; line-height: 1.35; }
.standing-breakdown-summary .standing-result-reason { max-width: 560px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.4; text-transform: none; letter-spacing: 0; }
.standing-picks { display: grid; gap: 8px; }
.standing-mobile-head { display: none; }
.standing-pick-row { display: grid; grid-template-columns: 104px minmax(360px,1fr) 110px 70px; align-items: start; gap: 14px; min-height: 70px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.standing-pick-row.won { border-color: #cee0d4; background: #f1f8f3; }
.standing-pick-row.lost { border-color: #ead2cc; background: #fcf3f1; }
.standing-round, .standing-picked-player, .standing-opponent, .standing-score, .standing-outcome { display: grid; gap: 5px; color: var(--ink); font-size: 13px; font-weight: 700; }
.standing-round small, .standing-picked-player small, .standing-opponent small, .standing-score small, .standing-outcome small { color: var(--muted); font-size: 10px; font-weight: 750; line-height: 1.2; text-transform: uppercase; letter-spacing: .04em; }
.standing-matchup { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 18px; }
.standing-picked-player .player-identity, .standing-opponent .player-identity { font-size: 13px; font-weight: 700; }
.standing-picked-player .standing-player-name { font-weight: 850; }
.standing-opponent .standing-player-name { font-weight: 500; }
.standing-player-country { display: none; }
.standing-player-name-short, .standing-round-short { display: none !important; }
.standing-round > span { display: flex; min-height: 36px; align-items: center; }
.standing-score { font-variant-numeric: tabular-nums; }
.standing-score-responsive { display: none; }
.standing-score > span, .standing-outcome > span { display: flex; min-height: 36px; align-items: center; }
.standing-outcome > span { font-size: 13px; font-weight: 800; }
.standing-outcome.won > span { color: var(--green); }
.standing-outcome.lost > span { color: #9a493d; }

.overview-case-nav { margin: 24px 0 18px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #f4f6f3; }
.overview-case-nav-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px 10px; color: var(--muted); font-size: 12px; }
.overview-case-nav-title strong { color: var(--ink); font-size: 13px; }
.overview-case-links { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.overview-case-links a { flex: 0 0 auto; padding: 8px 11px; border: 1px solid transparent; border-radius: 999px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 750; text-decoration: none; }
.overview-case-links a:hover { color: var(--ink); background: white; }
.overview-case-links a.active { border-color: var(--line); color: var(--ink); background: white; box-shadow: 0 3px 10px rgba(18,42,29,.06); }
.overview-case-surface { display: grid; gap: 18px; max-width: 1100px; margin: 0 auto; padding: 16px 0 48px; overflow-x: clip; }
.overview-case-surface[data-overview-case="completed"] { max-width: 1400px; }
.overview-hero { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 30px; padding: 28px 30px; border: 1px solid #cfe1d6; border-left: 5px solid var(--green); border-radius: 18px; background: #f3f8f4; }
.overview-hero.eliminated { border-color: #eccdc6; border-left-color: #a7483c; background: #fdf5f3; }
.overview-hero.winner { border-color: #cfe1d6; border-left-color: #b98d19; background: #f3f8f4; }
.overview-hero.completed { border-color: var(--line); border-left-color: #64716b; background: #f7f8f6; }
.overview-hero-copy h2, .overview-section-head h3, .overview-option-group h4, .overview-match p, .overview-winners h3 { margin: 0; }
.overview-hero-copy h2 { font-size: clamp(25px,3.2vw,36px); line-height: 1.08; letter-spacing: -.025em; }
.overview-hero-subtitle { margin: 9px 0 0; color: var(--ink); font-size: 18px; font-weight: 650; line-height: 1.25; }
.overview-selection-hero { display: block; }
.overview-selection-hero-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.overview-selection-hero-head h2 { margin: 0; font-size: clamp(25px,3.2vw,36px); line-height: 1.08; letter-spacing: -.025em; }
.overview-selection-hero-head .points-info-link { flex-shrink: 0; }
.overview-selection-goal { margin: 8px 0 0; color: var(--muted); font-size: 17px; line-height: 1.5; }
@media (max-width: 600px) {
  .overview-selection-hero-head { gap: 10px; }
  .overview-selection-hero-head .points-info-link { font-size: 14px; }
}
.overview-hero-context { margin: 7px 0 0; color: var(--muted); font-size: 16px; font-weight: 750; line-height: 1.25; }
.overview-hero-stats { display: flex; gap: 10px; }
.overview-hero-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; min-width: 0; }
.overview-hero-actions .points-info-link { align-self: flex-end; }
.overview-hero:has(> .overview-hero-actions) { align-items: start; }
.overview-hero:has(> .overview-hero-actions) .overview-hero-copy { padding-top: 0; }
.overview-hero-stats > div { min-width: 150px; padding: 13px 15px; border: 1px solid rgba(29,73,49,.12); border-radius: 13px; background: rgba(255,255,255,.72); }
.overview-hero-stats strong { display: block; }
.overview-stat-label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.overview-stat-label .info-tip { width: 16px; height: 16px; flex-basis: 16px; }
.overview-hero-stats strong { margin-top: 3px; font-size: 25px; line-height: 1; }
.overview-completed-result { grid-template-columns: minmax(0,1fr) minmax(230px,.34fr); gap: 18px; }
.overview-completed-result > div { display: grid; align-content: center; min-height: 94px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.78); }
.overview-completed-result span { color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.overview-completed-result strong { margin-top: 6px; font-size: 30px; line-height: 1.05; }
.overview-panel { padding: 25px 26px 27px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.overview-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.overview-section-head h3 { font-size: 22px; line-height: 1.18; }
.overview-choice-recap-heading { display:grid; gap:5px; min-width:0; }
.overview-choice-recap-heading p { margin:0; color:var(--muted); font-size:13px; line-height:1.4; }
.overview-reserve-risk-note { display:grid; grid-template-columns:24px minmax(0,1fr); align-items:start; gap:10px; margin-top:12px; padding:11px 12px; border:1px solid #e8ca86; border-radius:12px; color:#674516; background:#fff9e9; }
.overview-reserve-risk-note > span { display:grid; width:22px; height:22px; place-items:center; border-radius:50%; color:#fff; background:#c97818; font-size:13px; font-weight:900; line-height:1; }
.overview-reserve-risk-note p { margin:0; font-size:13px; font-weight:650; line-height:1.45; }
.overview-choice-item.has-risk .overview-choice-starter { border-bottom:1px solid #ead7aa; }
.overview-choice-item.has-risk .overview-reserve-risk-note { margin:0; padding:10px 12px; border:0; border-radius:0; }
.overview-heading-with-tip { display: flex; align-items: center; gap: 8px; }
.overview-heading-inline-tip { display:inline-flex; margin-left:8px; vertical-align:middle; }
.overview-section-head > span { flex: 0 0 auto; margin-top: 4px; padding: 7px 10px; border-radius: 999px; color: var(--muted); background: #f1f4f1; font-size: 11px; font-weight: 800; }
.overview-option-grid, .overview-match-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.overview-option-grid { align-items: start; }
.overview-match-grid.single { grid-template-columns: minmax(0,600px); }
.overview-option-group { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; }
.overview-option-group h4 { padding: 11px 14px; color: var(--muted); background: #f6f8f5; font-size: 12px; letter-spacing: .03em; }
.overview-matchup-versus { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 14px; color: var(--muted); font-size: 12px; font-weight: 800; }
.overview-matchup-versus::before, .overview-matchup-versus::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.overview-option-group > .overview-matchup-versus { padding: 5px 14px; background: white; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.overview-option-group > .overview-matchup-versus + .overview-option { border-top: 0; }
.overview-pending-winner { overflow: hidden; margin: 0 12px 12px; border: 1px solid var(--line); border-radius: 12px; }
.overview-pending-winner h4 { color: var(--ink); font-weight: 800; }
.overview-pending-winner > h4 { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 12px; }
.overview-pending-winner > h4 small { color:var(--muted); font-size:11px; font-weight:650; letter-spacing:0; }
.overview-pending-winner .overview-pending-winner { margin:10px; border-color:#c5d1c8; }
.overview-pending-winner > .overview-matchup-versus { padding:5px 14px; color:var(--muted); background:white; font-size:10px; font-weight:800; text-align:center; text-transform:uppercase; letter-spacing:.08em; }
@media(max-width:620px) {
  .operational-overview :is([data-overview-case="operational-open"],[data-overview-case="operational-later"]) > .overview-choice-recap:has(.overview-reserve-risk-note) { position:static; top:auto; }
}
.overview-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 64px; padding: 9px 12px; border: 0; border-top: 1px solid var(--line); color: var(--ink); background: white; font: inherit; text-align: left; cursor: pointer; }
.overview-option:hover { background: #f6fbf7; }
.overview-option.selected { background: #eaf5ee; }
.overview-option.selected .player-identity > span:last-child { font-weight: 850; }
.overview-option.unavailable { color: var(--muted); background: #f7f8f6; cursor: not-allowed; }
.overview-option.unavailable:hover { background: #f7f8f6; }
.overview-option.selected:not(.selection-just-added):hover { background: #f9e9e5; }
.overview-option-identity { display: flex; align-items: center; gap: 9px; min-width: 0; }
.overview-option-identity .player-id { min-width: 0; }
.overview-option-copy { display: grid; min-width: 0; gap: 2px; }
.overview-option-copy > small { overflow: hidden; color: var(--muted); font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.overview-option-action { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border: 1px solid #cad5cd; border-radius: 50%; color: var(--green); background: white; font-size: 22px; font-weight: 700; line-height: 1; }
.overview-option.selected .overview-option-action { border-color: var(--green); color: white; background: var(--green); }
.overview-option.selected:not(.selection-just-added):hover .overview-option-action { position: relative; border-color: #9a493d; color: transparent; background: #9a493d; font-size: 0; }
.overview-option.selected:not(.selection-just-added):hover .overview-option-action::after { position: absolute; inset: 0; display: grid; place-items: center; content: "−"; color: white; font-size: 22px; }
.overview-option-status { flex: 0 0 auto; padding: 6px 9px; border-radius: 999px; color: var(--muted); background: #e9eeea; font-size: 10px; font-weight: 800; }
.selection-quarter + .selection-quarter { margin-top: 22px; }
.selection-quarter > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; padding: 0 2px; }
.selection-quarter > header strong { font-size: 16px; line-height: 1.2; }
.selection-quarter > header span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.selection-path-note { display: grid; gap: 6px; margin-top: 22px; padding: 15px 17px; border: 1px solid #cfe1d6; border-radius: 14px; background: #f3f8f4; }
.selection-path-note > span { color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.selection-path-note > strong { font-size: 13px; line-height: 1.45; }
.overview-placeholder-player { display: inline-block; width: 42px; height: 42px; border: 1px solid #d5ddd7; border-radius: 8px; background: linear-gradient(145deg,#f8faf8,#e7ece8); }
:is(.selection-path-review,.operational-overview) .overview-option.unavailable { opacity: 1; }
:is(.selection-path-review,.operational-overview) .overview-option.unavailable .overview-option-status { color: #536158; background: #e4ebe6; }
:is(.selection-path-review,.operational-overview) .overview-option.unavailable .overview-option-copy > small { color: #536158; }
.selection-path-review .prototype-controls { display: none !important; }
:is(.selection-path-review,.operational-overview) .overview-option:first-child { border-top: 0; }
.selection-row-identity { display: grid; grid-template-columns: 18px 42px minmax(0,1fr); align-items: center; gap: 9px; min-width: 0; }
.selection-row-copy { display: grid; gap: 4px; min-width: 0; }
.selection-row-copy > span { font-size: inherit; font-weight: 400; line-height: 1.25; }
.selection-row-copy > small { color: var(--muted); font-size: 10px; font-weight: 700; line-height: 1.25; }
:is(.selection-path-review,.operational-overview) .overview-option.selected .selection-row-copy > span { font-weight: 850; }
:is(.selection-path-review,.operational-overview) .overview-option.unavailable .overview-option-action { color: #abb5ae; border-color: #d9dfda; background: #f1f4f1; }
.overview-half-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-bottom: 16px; padding: 5px; border-radius: 12px; background: #f0f3ef; }
.overview-half-tabs button { min-height: 40px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.overview-half-tabs button.active { color: var(--ink); background: white; box-shadow: 0 3px 10px rgba(18,42,29,.07); }
.overview-search { position: relative; display: grid; gap: 6px; max-width: 420px; margin-bottom: 16px; color: var(--muted); font-size: 11px; font-weight: 800; }
.overview-search input { width: 100%; min-height: 42px; padding: 0 13px; border: 1px solid #cad5cd; border-radius: 11px; color: var(--ink); background: white; font: inherit; }
.overview-search input:focus { border-color: var(--green); outline: 3px solid rgba(23,107,69,.12); }
.selection-search-results { top: calc(100% + 5px); }
.overview-option.selection-search-target { position: relative; z-index: 1; background: var(--soft-green); box-shadow: inset 0 0 0 2px var(--green); }
.overview-empty { grid-column: 1 / -1; padding: 28px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; }
.overview-selection-recap { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.overview-selection-recap > div { display: flex; min-width: 0; align-items: center; gap: 14px; }
.overview-selection-recap > div > strong { flex: 0 0 auto; font-size: 13px; }
.overview-selection-recap > span { flex: 0 0 auto; color: var(--muted); font-size: 13px; }
.overview-selection-recap > span strong { color: var(--ink); }
.overview-selected-identities { display: flex; min-width: 0; align-items: center; gap: 8px; flex-wrap: wrap; }
.overview-selected-identities > span { display: flex; min-width: 0; align-items: center; gap: 8px; padding: 6px 18px 6px 11px; border-radius: 999px; background: #edf4ef; }
.overview-selected-identities .player-identity { min-width: 0; }
.overview-selected-identities .player-identity > span:last-child { overflow: hidden; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.overview-selected-identities .player-portrait, .overview-selected-identities .player-portrait-placeholder { border-radius: 50%; }
.overview-locked-identities { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.overview-locked-identities > span { display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px 8px 12px; border-radius: 999px; background: #edf4ef; }
.overview-locked-identities .player-identity > span:last-child { font-weight: 800; }
.overview-locked-identities .player-portrait, .overview-locked-identities .player-portrait-placeholder { border-radius: 50%; }
.overview-bench-panel { scroll-margin-top:90px; border-color: #cfe1d6; background: #fbfdfb; }
.overview-bench-protect { display: grid; gap: 9px; margin-bottom: 16px; }
.overview-bench-protect > strong { color: var(--muted); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.overview-bench-protect > div { display: flex; gap: 10px; flex-wrap: wrap; }
.overview-bench-protect button { display: flex; min-height: 48px; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; font: inherit; cursor: pointer; }
.overview-bench-protect button.selected { border-color: var(--green); color: var(--green-dark); background: #eaf5ee; box-shadow: 0 0 0 2px rgba(23,107,69,.08); }
.overview-bench-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.overview-bench-option { border: 1px solid var(--line); border-radius: 13px; }
.overview-bench-option-action { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #cad5cd; border-radius: 999px; color: var(--green); background: white; font-size: 10px; font-weight: 850; }
.overview-bench-option:hover .overview-bench-option-action { border-color: var(--green); background: #edf5ef; }
.overview-bench-recap { display: flex; min-width: 0; align-items: center; gap: 7px; }
.overview-bench-recap .player-identity { min-width: 0; }
.overview-bench-actions { display: flex; justify-content: flex-end; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.overview-bench-skipped { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.overview-bench-skipped h3 { margin: 0 0 5px; font-size: 18px; }
.overview-bench-skipped span { color: var(--muted); font-size: 13px; }
.overview-choice-recap { background: #f8faf8; }
.selection-complete-state { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:12px; padding:14px 16px; border:1px solid #cfe1d6; border-radius:15px; background:#f4faf6; }
.selection-complete-state.is-saving { color:var(--muted); background:#f8faf8; }
.selection-complete-icon { display:grid; width:30px; height:30px; place-items:center; border-radius:50%; color:#fff; background:var(--green); font-size:17px; font-weight:900; }
.selection-complete-state.is-saving .selection-complete-icon { color:var(--green-dark); background:#e5eee8; }
.selection-complete-state strong { display:block; color:var(--ink); font-size:15px; }
.selection-complete-state p { margin:3px 0 0; color:var(--muted); font-size:13px; }
.selection-complete-state .text-button { white-space:nowrap; }
.selection-reserve-step { border-color:#c5d8cc; background:#f8fbf9; }
.selection-reserve-step .selection-complete-icon { color:var(--green-dark); background:#e5eee8; }
.selection-reserve-step-actions { display:flex; align-items:center; justify-content:flex-end; gap:12px; }
.selection-reserve-step-actions .text-button { min-height:42px; }
.overview-choice-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.overview-choice-context { display:grid; min-width:0; gap:10px; }
.overview-choice-context.single { grid-column:1 / -1; width:min(100%,820px); grid-template-columns:minmax(0,1fr) minmax(280px,.58fr); align-items:stretch; gap:0; overflow:hidden; border:1px solid var(--line); border-radius:15px; background:#fff; }
.overview-choice-context.single > .overview-choice-item { border:0; border-radius:0; }
.overview-choice-context.single > .future-pick-opponents { align-content:center; padding:18px 20px; border-left:1px dashed #b9cbc0; }
.overview-choice-context.single > .future-pick-opponents.rail { gap:14px; }
.overview-choice-context.single > .future-pick-opponents.rail > div { gap:12px; }
.overview-choice-context.single > .future-pick-opponents.rail > div > span:not(.future-pick-opponents-or) { gap:12px; font-size:inherit; }
.overview-choice-context.single > .future-pick-opponents.rail strong { overflow:visible; font-weight:850; white-space:normal; }
.overview-choice-item { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; }
.overview-choice-reserve-summary { display:flex; min-width:0; min-height:70px; align-items:center; justify-content:space-between; gap:18px; padding:12px 14px; border:1px dashed #b9cbc0; border-radius:15px; background:#fbfdfb; }
.overview-choice-reserve-summary.wide { grid-column:1 / -1; }
.overview-choice-reserve-summary.selected { border:1px dashed #b9cbc0; background:#fff; }
.overview-choice-reserve-summary.selected { display:grid; grid-template-columns:auto auto minmax(0,1fr) auto; justify-content:normal; gap:12px; padding-right:22px; }
.overview-choice-reserve-summary.selected > .overview-choice-role { display:grid; width:max-content; line-height:1.25; white-space:normal; }
.overview-choice-reserve-role > span { white-space:nowrap; }
.overview-choice-reserve-summary.selected .player-identity { min-width:0; }
.overview-choice-reserve-summary.selected .player-identity > span:last-child { display:-webkit-box; overflow:hidden; font-weight:850; line-height:1.2; white-space:normal; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.overview-current-round-grid { display:grid; gap:16px; }
.overview-current-round-grid.reserve-inline { grid-template-columns:minmax(0,1fr) minmax(280px,.58fr); align-items:stretch; gap:0; overflow:hidden; border:1px solid var(--line); border-radius:15px; background:#fff; }
.overview-current-round-grid.reserve-inline > .overview-match-grid { gap:0; }
.overview-current-round-grid.reserve-inline .overview-match { border:0; border-radius:0; }
.overview-current-round-grid.reserve-inline .overview-reserve-history { border:0; border-left:1px dashed #b9cbc0; border-radius:0; }
.overview-current-round-grid.reserve-below { grid-template-columns:1fr; align-items:stretch; }
.overview-current-round-grid > .overview-match-grid.single { grid-template-columns:1fr; }
.overview-reserve-history { display:grid; min-width:0; align-content:center; gap:14px; padding:18px 20px; border:1px dashed #b9cbc0; border-radius:15px; background:#fff; }
.overview-reserve-history-player { display:flex; min-width:0; align-items:center; gap:12px; }
.overview-reserve-history-player .player-identity { min-width:0; }
.overview-reserve-history-player .player-identity > span:last-child { overflow:visible; font-weight:850; white-space:normal; }
@media(max-width:779px) {
  .overview-current-round-grid.reserve-inline { grid-template-columns:1fr; gap:16px; overflow:visible; border:0; border-radius:0; background:transparent; }
  .overview-current-round-grid.reserve-inline .overview-match { border:1px solid var(--line); border-radius:15px; }
  .overview-current-round-grid.reserve-inline .overview-reserve-history { border:1px dashed #b9cbc0; border-radius:15px; }
  .overview-reserve-history { padding:14px 16px; }
}
.overview-choice-reserve-copy { display:grid; min-width:0; gap:6px; }
.overview-choice-reserve-copy > strong { font-size:14px; }
.overview-choice-reserve-title { display:flex; align-items:center; gap:6px; }
.overview-choice-reserve-title .info-tip { flex:0 0 auto; }
.overview-choice-reserve-copy > :is(p,small) { margin:0; color:var(--muted); font-size:12px; line-height:1.4; }
.overview-choice-reserve-player { display:flex; min-width:0; align-items:center; gap:8px; }
.overview-choice-reserve-player .player-identity { min-width:0; }
.overview-choice-reserve-player .player-identity > span:last-child { overflow:hidden; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }
.overview-choice-reserve-decision { display:grid; min-width:0; justify-items:start; gap:4px; }
.overview-choice-reserve-label { display:flex; align-items:center; gap:7px; }
.overview-choice-reserve-label > span:first-child { color:var(--muted); font-size:9px; font-weight:850; letter-spacing:.07em; line-height:1.2; text-transform:uppercase; }
.overview-choice-reserve-primary { min-height:30px; padding:2px 0; font-size:16px; }
.overview-choice-reserve-skip { min-height:24px; padding:0; color:var(--muted); font-size:12px; font-weight:650; }
.overview-choice-reserve-skip:hover,.overview-choice-reserve-skip:focus-visible { color:var(--green-dark); }
.overview-choice-reserve-home-link { text-decoration-color:transparent; text-decoration-line:underline; text-underline-offset:2px; transition:color .15s ease,text-decoration-color .15s ease; }
.overview-choice-reserve-skip:hover .overview-choice-reserve-home-link,.overview-choice-reserve-skip:focus-visible .overview-choice-reserve-home-link { color:var(--green-dark); text-decoration-color:currentColor; }
.choice-remove-icon { display:grid; width:32px; height:32px; min-height:32px; flex:0 0 auto; place-items:center; padding:0; border:1px solid #e3bcb6; border-radius:50%; background:#fff7f5; color:#9a493d; font-size:23px; font-weight:700; line-height:1; cursor:pointer; }
.choice-remove-icon:hover,.choice-remove-icon:focus-visible { border-color:#9a493d; background:#fcebe8; outline:3px solid rgba(154,73,61,.12); }
.overview-bench-panel:focus { outline:none; }
.overview-bench-panel.reserve-destination-highlight { animation:reserve-destination-highlight 1.8s ease-out; }
@keyframes reserve-destination-highlight { 0%,28% { border-color:var(--green); box-shadow:0 0 0 4px rgba(23,107,69,.16); } 100% { border-color:#cfe1d6; box-shadow:none; } }
.overview-choice-starter { display: grid; min-height: 70px; grid-template-columns: auto auto minmax(0,1fr); align-items: center; gap: 12px; padding: 12px 14px; }
.overview-choice-starter.has-action { grid-template-columns:auto auto minmax(0,1fr) auto; }
.overview-choice-starter.has-action > .choice-remove-icon { grid-column:4; justify-self:end; }
.overview-choice-role { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.overview-choice-starter .player-id { min-width: 0; }
.overview-choice-starter .player-identity { min-width:0; }
.overview-choice-starter .player-identity > span:last-child { display:-webkit-box; overflow:hidden; font-weight:850; line-height:1.2; white-space:normal; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
@media (hover:hover) and (pointer:fine) and (min-width:780px) {
  .overview-choice-recap .choice-remove-icon { opacity:0; pointer-events:none; transition:opacity .16s ease,border-color .16s ease,background-color .16s ease; }
  .overview-choice-item,.overview-choice-reserve-summary.selected,.overview-choice-starter.has-action { transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease; }
  .overview-choice-item:is(:hover,:focus-within),.overview-choice-reserve-summary.selected:is(:hover,:focus-within),.overview-choice-starter.has-action:is(:hover,:focus-within) { border-color:#e3bcb6; background:#f9e9e5; box-shadow:inset 0 0 0 1px rgba(154,73,61,.18); }
  .overview-choice-reserve-summary.selected:is(:hover,:focus-within) { border-color:#d5aaa4; }
  .overview-choice-item:is(:hover,:focus-within) .choice-remove-icon,.overview-choice-reserve-summary.selected:is(:hover,:focus-within) .choice-remove-icon,.overview-choice-starter.has-action:is(:hover,:focus-within) .choice-remove-icon { opacity:1; border-color:#9a493d; color:#fff; background:#9a493d; pointer-events:auto; }
}
.overview-choice-bench { position: relative; display: grid; min-height: 50px; grid-template-columns: auto auto minmax(0,1fr); align-items: center; gap: 8px; margin: 0 12px 12px 34px; padding: 8px 10px; border:1px dashed #b9cbc0; border-radius:10px; background:#fff; }
.overview-choice-bench .overview-choice-branch { display:none; }
.overview-choice-bench .player-id { min-width: 0; }
.overview-choice-bench .player-identity > span:last-child { font-weight: 750; }
.overview-choice-bench .player-portrait, .overview-choice-bench .player-portrait-placeholder { border-radius: 8px; }
.operational-overview .overview-choice-bench > small { grid-column:3; }
.overview-choice-deadline { margin-top: 15px; color: var(--muted); font-size: 12px; text-align: right; }
.overview-choice-deadline strong { color: var(--ink); }
.overview-action-timing { display: flex; justify-content: flex-end; gap: 4px; margin: -4px 0 14px; color: var(--muted); font-size: 12px; }
.overview-action-timing strong { color: var(--ink); }
:is(.selection-path-review,.operational-overview) .selection-task-head { align-items: center; margin-bottom: 22px; }
:is(.selection-path-review,.operational-overview) .overview-action-timing { flex: 0 0 auto; justify-content: flex-end; align-items: baseline; gap: 10px; margin: 0; padding: 0; font-size: 14px; font-weight: 650; }
:is(.selection-path-review,.operational-overview) .overview-action-timing strong { color: var(--green-dark); font-size: clamp(22px,2.4vw,28px); font-weight: 850; line-height: 1.15; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
:is(.selection-path-review,.operational-overview) .overview-action-timing:has(.deadline-pending) { flex-shrink: 1; min-width: 0; }
:is(.selection-path-review,.operational-overview) .overview-action-timing .deadline-pending { max-width: 360px; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: normal; text-align: right; white-space: normal; text-wrap: pretty; }
.deadline-pending > span { display: block; }
.deadline-pending .provisional-reason { display:flex; align-items:center; justify-content:flex-end; gap:7px; }
.deadline-pending .provisional-reason .info-tip { display:inline-grid; }
.deadline-pending > .provisional-time { padding-right:25px; }
.home-provisional-deadline { display:grid; gap:3px; max-width:560px; text-wrap:pretty; }
.home-provisional-deadline .provisional-reason { display:flex; align-items:center; gap:7px; font-weight:700; color:var(--ink); }
.home-provisional-deadline .provisional-time { color:var(--muted); }
.home-action-provisional > p { margin-bottom:4px; }
@media (min-width: 780px) {
  .deadline-pending > span { white-space:nowrap; }
}
@media (max-width: 600px) {
  :is(.selection-path-review,.operational-overview) .overview-action-timing .deadline-pending { text-align: left; }
  .deadline-pending .provisional-reason { justify-content:flex-start; }
  .deadline-pending > .provisional-time { padding-right:0; }
}
.overview-deadline-outcome { margin: 16px 0 0; color: var(--ink); font-size: 16px; line-height: 1.5; }
.overview-match { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; }
.overview-match.won { border-color: #cce1d3; background: #f5faf6; }
.overview-match.lost { border-color: #edcec7; background: #fdf6f4; }
.overview-match.live { border-color: #d6dfdb; }
.overview-match header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; padding: 8px 13px; border-bottom: 1px solid var(--line); background: rgba(248,250,247,.78); }
.overview-match header strong { font-size: 12px; }
.overview-match-state { color: var(--muted); font-size: 11px; font-weight: 800; }
.overview-match.won .overview-match-state { color: var(--green); }
.overview-match.lost .overview-match-state { color: #a2473b; }
.overview-score-row { display: grid; grid-template-columns: 92px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 60px; padding: 8px 13px; border-bottom: 1px solid rgba(213,222,216,.72); }
.overview-score-row:last-of-type { border-bottom: 0; }
.overview-player-role { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.overview-player-main { display: flex; align-items: center; gap: 7px; min-width: 0; }
.overview-player-main .player-id { min-width: 0; }
.overview-score-row .overview-player-main .player-identity { max-width: 100%; }
.overview-score-row .overview-player-main .player-identity > span:last-child {
  white-space: normal;
  overflow-wrap: anywhere;
  text-overflow: clip;
}
.overview-player-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overview-player-name-responsive { display: none; }
.overview-score-row.selection .overview-player-name { font-weight: 850; }
.overview-score-row:not(.selection) .overview-player-name { font-weight: 500; }
.overview-score-row.winner .player-id strong { color: var(--green); }
.overview-score-cells { display:grid; grid-auto-flow:column; grid-auto-columns:24px; align-self:stretch; align-items:center; justify-content:end; gap:2px; font-variant-numeric:tabular-nums; }
.overview-score-cells b { display:flex; align-items:baseline; justify-content:center; line-height:1; text-align:center; }
.overview-match-note { padding: 7px 13px; color: var(--muted); background: #f6f8f5; font-size: 11px; text-align: right; }
.overview-match-header-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 14px; }
.overview-match-header-actions .text-button { color: var(--green); font-size: 12px; font-weight: 850; }
.overview-preventive-choice-match { width:min(100%,820px); }
.overview-preventive-choice-match .overview-score-row.selection.has-action { grid-template-columns:92px minmax(0,1fr) auto; }
.overview-preventive-choice-match .overview-reserve-risk-note { border-radius:0; }
.qualification-match-context { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px 20px; margin:0; padding:14px 16px; border-top:1px solid var(--line); background:#f8faf7; }
.qualification-match-context > div { display:grid; gap:5px; min-width:0; flex:1 1 240px; }
.qualification-match-context small { color:var(--muted); font-size:11px; line-height:1.5; }
.qualification-match-context strong { font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.qualification-match-round { font-weight:500; }
.qualification-match-status { color:var(--muted); font-size:12px; }
.qualification-match-context .text-button { margin:0; max-width:100%; min-height:44px; display:flex; align-items:center; font-size:12px; line-height:1.5; white-space:normal; overflow-wrap:anywhere; }
.home-choice-result-matches > .qualification-match-context { grid-column:1 / -1; }
.overview-possible-opponents { display:grid; grid-template-columns:92px minmax(0,1fr); align-items:center; gap:10px; min-height:52px; padding:9px 13px; color:var(--muted); background:#fff; }
.overview-possible-opponents-list { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; min-width:0; }
.overview-possible-opponent { display:inline-flex; align-items:center; gap:6px; min-width:0; color:var(--ink); font-size:14px; }
.overview-possible-opponent + .overview-possible-opponent { padding-left:12px; border-left:1px solid var(--line); }
.overview-possible-opponent .player-id { min-width:0; }
.overview-possible-opponent .player-id strong { font-weight:650; }
@media (max-width:620px) {
  .overview-preventive-choice-match .overview-score-row.selection.has-action { grid-template-columns:minmax(0,1fr) auto; }
  .overview-preventive-choice-match .overview-score-row.selection.has-action .overview-player-role { grid-column:1 / -1; }
  .overview-possible-opponents { grid-template-columns:1fr; gap:7px; padding-block:10px; }
  .overview-possible-opponents-list { display:grid; gap:7px; }
  .overview-possible-opponent + .overview-possible-opponent { padding-left:0; border-left:0; }
}
@media (hover:hover) and (pointer:fine) and (min-width:780px) {
  .overview-preventive-choice-match .overview-score-row.selection.has-action { transition:background-color .16s ease,box-shadow .16s ease; }
  .overview-preventive-choice-match .overview-score-row.selection.has-action .choice-remove-icon { opacity:0; pointer-events:none; transition:opacity .16s ease,border-color .16s ease,background-color .16s ease; }
  .overview-preventive-choice-match .overview-score-row.selection.has-action:is(:hover,:focus-within) { background:#f9e9e5; box-shadow:inset 0 0 0 1px rgba(154,73,61,.18); }
  .overview-preventive-choice-match .overview-score-row.selection.has-action:is(:hover,:focus-within) .choice-remove-icon { opacity:1; border-color:#9a493d; color:#fff; background:#9a493d; pointer-events:auto; }
}
.selection-path-review .next-round-task-head .overview-action-timing { white-space: nowrap; }
.live-score-layer { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(12,28,20,.48); backdrop-filter: blur(4px); }
.live-score-sheet { width: min(560px,100%); max-height: min(760px,calc(100dvh - 48px)); overflow-y: auto; padding: 24px; border: 1px solid rgba(255,255,255,.55); border-radius: 20px; background: white; box-shadow: 0 24px 80px rgba(10,35,22,.24); }
.live-score-sheet > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.live-score-sheet > header h2 { margin: 0; font-size: 27px; }
.live-score-close { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: white; font: inherit; font-size: 26px; line-height: 1; cursor: pointer; }
.live-score-close:hover { border-color: #aebbb2; background: #f3f6f3; }
.live-score-widget-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #f7f9f7; }
.live-score-widget-brand { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 12px; }
.live-score-widget-brand .status-dot { width: 8px; height: 8px; background: var(--green); box-shadow: 0 0 0 5px #e7f2ea; }
.live-score-widget-player { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 68px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: white; }
.live-score-widget-player.selection .player-identity > span:last-child { font-weight: 850; }
.live-score-widget-player > span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.overview-winners { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.completed-outcomes-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; min-width: 0; }
.completed-outcomes-grid > .overview-winners { grid-template-columns: 1fr; }
.completed-outcomes-grid > .archive-result-hero { min-width: 0; padding: 18px 20px; border-radius: 16px; }
.completed-outcomes-grid .archive-result-hero .eyebrow { margin-bottom: 12px; }
.completed-outcomes-grid .archive-final-row { grid-template-columns: 70px minmax(0,1fr) auto; min-height: 62px; gap: 10px; padding: 10px 12px; }
.completed-outcomes-grid .archive-final-player { gap: 8px; }
.completed-outcomes-grid .archive-final-row .overview-score-cells { min-width: 0; }
@media (max-width: 900px) {
  .completed-outcomes-grid { grid-template-columns: 1fr; }
  .completed-outcomes-grid .archive-final-row { grid-template-columns: minmax(0,1fr) auto; }
  .completed-outcomes-grid .archive-final-role { grid-column: 1 / -1; }
}
.overview-winners article { display: grid; align-content: center; min-height: 100px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.overview-winners h3 { color: var(--muted); font-size: 13px; }
.overview-winners .player-id { margin-top: 8px; }
.overview-winners > article > strong { margin-top: 8px; font-size: 19px; }
.overview-winners > article > span { margin-top: 2px; color: var(--muted); font-size: 13px; }
.overview-winner-team { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; margin-top: 10px; }
.overview-winner-identity { display: grid; min-width: 0; }
.overview-winner-identity strong { font-size: 18px; }
.overview-winner-identity span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.overview-winner-points { display: grid; justify-items: end; padding-left: 16px; border-left: 1px solid var(--line); }
.overview-winner-points strong { font-size: 21px; }
.overview-winner-points span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

@media (min-width: 1100px) and (max-width: 1499px) {
  .overview-case-surface[data-overview-case="completed"] .overview-player-name-full { display: none; }
  .overview-case-surface[data-overview-case="completed"] .overview-player-name-responsive { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 1099px) {
  .overview-case-surface[data-overview-case="completed"] { max-width: 760px; }
  .overview-case-surface[data-overview-case="completed"] .overview-match-grid { grid-template-columns: 1fr; }
}

@media (min-width: 780px) and (max-width: 1099px) {
  .production-event-header { min-height:320px; padding:34px; }
  .production-event-header::after { background:linear-gradient(90deg,rgba(7,22,18,.95) 0%,rgba(7,22,18,.86) 34%,rgba(7,22,18,.5) 59%,rgba(7,22,18,.08) 100%); }
  .production-event-header .event-header-copy { width:52%; flex:0 0 52%; }
  .production-event-header .event-location { margin-bottom:12px; }
  .production-event-header .event-location-flag, .production-event-header .event-location-flag .country-flag { font-size:36px; line-height:1; }
  .production-event-header .event-location strong { font-size:14px; }
  .production-event-header .event-title-row { gap:10px; }
  .production-event-header .event-title-row h1 { max-width:100%; font-size:clamp(30px,4.4vw,38px); overflow-wrap:anywhere; }
  .production-event-header .production-art.header img { transform:scale(1.14); }
  .production-event-header .production-art.header.location-atp-wimbledon-2026 img,
  .production-event-header .production-art.header.location-wta-wimbledon-2026 img { object-fit:cover; object-position:center 22%; transform:translateX(18%) scale(1.02); }
  .production-event-header .production-art.header.location-beijing-atp img { object-position:center 44%; transform:translateX(8%) scale(1); }
  .production-event-header .production-art.header.location-wta-brisbane-2026 img,
  .production-event-header .production-art.header.location-atp-australian-open-2026 img,
  .production-event-header .production-art.header.location-wta-australian-open-2026 img,
  .production-event-header .production-art.header.location-atp-dallas-2026 img,
  .production-event-header .production-art.header.location-wta-merida-2026 img,
  .production-event-header .production-art.header.location-atp-miami-2026 img,
  .production-event-header .production-art.header.location-wta-miami-2026 img,
  .production-event-header .production-art.header.location-wta-berlin-2026 img { transform:translateX(8%) scale(1); }
  .production-event-header .production-art.header.location-wta-toronto-2026 img { object-position:center 50%; transform:scale(1); }
  .production-event-header .production-art.header.location-atp-rio-2026 img { object-position:center 34%; transform:scale(1.14); }
  .production-event-header .production-art.header.location-atp-monte-carlo-2026 img,
  .production-event-header .production-art.header.location-wta-linz-2026 img { object-position:center 50%; transform:scale(1); }
  .production-event-header .production-art.header.location-wta-london-2026 img,
  .production-event-header .production-art.header.location-atp-london-2026 img,
  .production-event-header .production-art.header.location-wta-bad-homburg-2026 img,
  .production-event-header .production-art.header.location-wta-guadalajara-2026 img { transform:scale(1); }
  .production-event-header .production-art.header.location-wta-bad-homburg-2026 img { object-position:center 46%; }
  .production-event-header .production-art.header.location-wta-guadalajara-2026 img { object-position:center 44%; }
  .production-event-header .production-art.header.location-wta-strasbourg-2026 img { object-position:center 46%; transform:scale(1); }
  .production-event-header .production-art.header.location-atp-roland-garros-2026 img,
  .production-event-header .production-art.header.location-wta-roland-garros-2026 img { object-position:center 46%; transform:scale(1); }
  .production-event-header .production-art.header.location-atp-munich-2026 img { object-position:center 46%; transform:scale(1); }
  .production-event-header .production-art.header.location-beijing-atp img,
  .production-event-header .production-art.header.location-atp-beijing-2026 img,
  .production-event-header .production-art.header.location-wta-merida-2026 img,
  .production-event-header .production-art.header.location-atp-barcelona-2026 img,
  .production-event-header .production-art.header.location-wta-london-2026 img,
  .production-event-header .production-art.header.location-atp-london-2026 img,
  .production-event-header .production-art.header.location-atp-halle-2026 img,
  .production-event-header .production-art.header.location-wta-berlin-2026 img,
  .production-event-header .production-art.header.location-wta-bad-homburg-2026 img,
  .production-event-header .production-art.header.location-atp-wimbledon-2026 img,
  .production-event-header .production-art.header.location-wta-wimbledon-2026 img,
  .production-event-header .production-art.header.location-atp-washington-2026 img,
  .production-event-header .production-art.header.location-wta-washington-2026 img,
  .production-event-header .production-art.header.location-atp-cincinnati-2026 img,
  .production-event-header .production-art.header.location-wta-cincinnati-2026 img,
  .production-event-header .production-art.header.location-wta-monterrey-2026 img,
  .production-event-header .production-art.header.location-atp-us-open-2026 img,
  .production-event-header .production-art.header.location-wta-us-open-2026 img,
  .production-event-header .production-art.header.location-wta-guadalajara-2026 img { object-position:center 48%; transform:scale(1); }
  .production-event-header .production-art.header.location-atp-tokyo-2026 img,
  .production-event-header .production-art.header.location-tokyo-atp img,
  .production-event-header .production-art.header.location-atp-shanghai-2026 img,
  .production-event-header .production-art.header.location-wta-wuhan-2026 img,
  .production-event-header .production-art.header.location-wta-ningbo-2026 img { object-position:center 38%; transform:scale(1); }
  .production-event-header .production-art.header.location-atp-rio-2026 img,
  .production-event-header .production-art.header.location-wta-acapulco-2026 img { object-position:center 38%; transform:scale(1); }
  .production-event-header .production-art.header.location-atp-stuttgart-2026 img { object-position:center 48%; transform:scale(1); }
  .production-event-header .production-art.header.location-atp-rome-2026 img,
  .production-event-header .production-art.header.location-wta-rome-2026 img { object-position:52% 52%; transform:scale(1); }
  .production-event-header .production-art.header.location-wta-toronto-2026 img { object-position:center 56%; transform:scale(1); }
  .production-event-header .production-art.header.location-tokyo-atp img,
  .production-event-header .production-art.header.location-atp-tokyo-2026 img,
  .production-event-header .production-art.header.location-wta-tokyo-2026 img,
  .production-event-header .production-art.header.location-atp-shanghai-2026 img,
  .production-event-header .production-art.header.location-wta-wuhan-2026 img,
  .production-event-header .production-art.header.location-wta-ningbo-2026 img,
  .production-event-header .production-art.header.location-wta-brisbane-2026 img,
  .production-event-header .production-art.header.location-atp-australian-open-2026 img,
  .production-event-header .production-art.header.location-wta-australian-open-2026 img,
  .production-event-header .production-art.header.location-atp-dallas-2026 img,
  .production-event-header .production-art.header.location-atp-dubai-2026 img,
  .production-event-header .production-art.header.location-wta-dubai-2026 img,
  .production-event-header .production-art.header.location-atp-rio-2026 img,
  .production-event-header .production-art.header.location-atp-acapulco-2026 img,
  .production-event-header .production-art.header.location-atp-miami-2026 img,
  .production-event-header .production-art.header.location-wta-miami-2026 img,
  .production-event-header .production-art.header.location-wta-stuttgart-2026 img,
  .production-event-header .production-art.header.location-atp-indian-wells-2026 img,
  .production-event-header .production-art.header.location-wta-indian-wells-2026 img,
  .production-event-header .production-art.header.location-atp-munich-2026 img,
  .production-event-header .production-art.header.location-atp-madrid-2026 img,
  .production-event-header .production-art.header.location-wta-madrid-2026 img,
  .production-event-header .production-art.header.location-wta-singapore-2026 img { object-position:center; transform:scale(1); }
  .production-event-header .production-art.header.location-atp-indian-wells-2026 img,
  .production-event-header .production-art.header.location-wta-indian-wells-2026 img { object-position:68% center; }
  .production-event-header .production-art.header.location-atp-madrid-2026 img,
  .production-event-header .production-art.header.location-wta-madrid-2026 img,
  .production-event-header .production-art.header.location-atp-barcelona-2026 img,
  .production-event-header .production-art.header.location-atp-rio-2026 img,
  .production-event-header .production-art.header.location-atp-miami-2026 img,
  .production-event-header .production-art.header.location-wta-miami-2026 img { object-position:72% center; transform:scale(1); }
  .production-event-header .production-art.header.location-wta-brisbane-2026 img { object-position:72% center; transform:scale(1); }
  .production-event-header .production-art.header.location-wta-singapore-2026 img { object-position:66% center; transform:scale(1); }
}

@media (max-width: 779px) {
  html, body { background: var(--paper); }
  .app-shell:not(.auth-shell):not(.admin-shell) { padding-top: calc(68px + env(safe-area-inset-top)); }
  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: calc(68px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    background: var(--paper);
    box-shadow: 0 1px 0 var(--line);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .draw-sticky-head {
    top: calc(68px + env(safe-area-inset-top));
    z-index: 30;
    display: block;
    background: #f7f9f4;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .draw-browse-tools { grid-template-columns: 1fr; gap: 10px; }
  .draw-search-results { position: static; margin-top: 5px; }
  .draw-heading-scroll { width: 100%; height: 100%; }
  .draw-window-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    width: 44px;
  }
  .draw-window-arrow:first-child { left: 0; }
  .draw-window-arrow:last-child { right: 0; }
  .bracket-headings { background: #f7f9f4; }
  .bracket-heading {
    left: calc(var(--x) + 6px);
    justify-content: flex-start;
    width: 188px;
    padding: 0 6px;
    font-size: 10px;
    line-height: 1.05;
    text-align: left;
  }
  .bracket-heading.is-quarterfinal { flex-direction: column; align-items: flex-start; justify-content: center; }
  .bracket-heading:first-child { padding-left: 44px; }
  .bracket-heading.is-quarterfinal .round-heading-word { display: block; }
  .public-landing { padding: 14px 0 0; }
  .public-header { min-height: 52px; padding: 0 16px; margin-bottom: 12px; }
  .brand-lockup { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-wordmark { font-size: 19px; }
  .public-header__actions { gap: 8px; }
  .sign-in-link { max-width: 150px; padding: 0; font-size: 12px; line-height: 1.25; text-align: right; }
  .landing-desktop-only { display: none; }
  .landing-mobile-only { display: block; }
  .sign-in-link .landing-mobile-only { display: inline; }
  .public-locale-menu__trigger { min-height: 40px; padding: 0 10px; gap: 6px; }
  .public-locale-menu__label { display: none; }
  .public-locale-menu__panel { min-width: 170px; max-width: calc(100vw - 32px); }
  .public-landing .auth-grid { display: flex; min-height: 0; border: 0; border-radius: 0; box-shadow: none; flex-direction: column; }
  .public-landing .auth-visual { min-height: 0; padding: 20px 20px 0; grid-template-rows: auto 245px; }
  .public-landing .auth-visual { display:grid; }
  .public-landing .auth-visual::after { display:none; }
  .public-copy { position:relative; inset:auto; }
  .public-copy h1 { margin-bottom: 10px; font-size: 40px; line-height: 1; }
  .public-copy > p:last-child { max-width: 625px; margin: 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.42; }
  .public-landing .auth-visual .location-art.hero { position:relative; inset:auto; width:calc(100% + 40px); height:245px; min-height:245px; margin:0 0 0 -20px; border-radius:0; }
  .public-landing .auth-card { max-width: none; padding: 22px 20px 42px; }
  .public-landing .auth-card h2 { font-size: 27px; }
  .public-landing .auth-card .entry-copy { margin-bottom: 16px; line-height: 1.4; }
  .login-modal { align-items: end; padding: 0; }
  .login-modal__card { width: 100%; max-height: calc(100dvh - 20px); padding: 24px 20px calc(26px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; }
  .login-modal__card [data-email-signin] { margin-top: 24px; }
  .onboarding-page { padding: 14px 16px 34px; }
  .onboarding-header { min-height: 52px; margin-bottom: 4px; }
  .auth-status-page { padding: 14px 16px 34px; }
  .auth-status-page .onboarding-header { padding: 0; }
  .auth-status-card { margin-top: 24px; padding: 28px 22px; border-radius: 20px; }
  .auth-status-card h1 { font-size: 36px; }
  .auth-status-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .auth-status-actions .button, .auth-status-actions .text-button { width: 100%; min-height: 44px; }
  .settings-row-actions { width: 100%; align-items: stretch; flex-direction: column; gap: 4px; }
  .settings-password-row { align-items: stretch; flex-direction: column; }
  .settings-password-row > div:first-child { width: 100%; }
  .settings-row-actions .mini-button, .settings-row-actions .text-button { width: 100%; min-height: 42px; }
  .settings-password-panel { padding: 2px 14px 18px; }
  .settings-password-actions { flex-direction: row; }
  .settings-password-actions .button { flex: 1 1 0; width: auto; }
  .step-progress { align-items: flex-start; flex-direction: column; gap: 10px; }
  .step-progress > div { width: 100%; grid-template-columns: repeat(4,1fr); }
  .tournament-card { grid-template-columns: 110px minmax(0,1fr); }
  .tournament-card .location-art.thumb { grid-row: 1 / 3; width: 110px; height: auto; aspect-ratio: 3 / 2; align-self: start; }
  .tournament-card .mini-button { grid-column: 2; }
  .completed-card-head { grid-template-columns: 110px 1fr; }
  .completed-card-head .location-art.thumb { width: 110px; height: auto; aspect-ratio: 3 / 2; }
  .event-header-art { min-height: 144px; padding: 18px; }
  .location-art.header { width: 72%; opacity: .48; }
  .production-event-header { display: flex; min-height: 0; align-items: center; flex-wrap: wrap; gap: 14px; }
  .production-event-header { padding:18px; border:1px solid var(--line); background:#f8faf7; color:var(--ink); }
  .production-event-header::after { display:none; }
  .production-event-header .event-header-copy { width:auto; flex:1 1 0; }
  .production-event-header .event-location { display:none; }
  .production-event-header .event-header-copy > p { color:var(--muted); }
  .production-event-header .event-title-row h1 { color:var(--ink); }
  .production-event-header .event-surface-setting { color:var(--muted); }
  .production-event-header .event-main-draw-dates { margin-bottom:10px; color:var(--muted); }
  .production-event-header .status-chip { border:0; background:#eef2ef; color:var(--muted); backdrop-filter:none; }
  .production-event-header .status-chip.is-live { background:var(--green); color:white; }
  .production-event-header .production-art.header { position:relative; inset:auto; order: -1; flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 3 / 2; opacity: 1; border-radius:14px; }
  .production-event-header .production-art.header img { object-position:center; transform:none; }
  .production-event-header .production-art.header[class*="location-"] img { object-position:center; transform:none; }
  .production-event-header > div { flex: 1 1 0; }
  .production-event-header.mobile-full-hero { position:relative; display:block; min-height:0; aspect-ratio:3 / 2; padding:0; overflow:hidden; border:0; background:#10251f; color:#fff; }
  .production-event-header.mobile-full-hero::after { display:block; background:linear-gradient(180deg,rgba(5,18,14,.02) 22%,rgba(5,18,14,.32) 48%,rgba(5,18,14,.92) 100%); }
  .production-event-header.mobile-full-hero .production-art.header { position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; border-radius:0; }
  .production-event-header.mobile-full-hero .production-art.header img,
  .production-event-header.mobile-full-hero .production-art.header[class*="location-"] img { object-fit:cover; object-position:center; transform:none; }
  .production-event-header.mobile-full-hero .desktop-event-header-copy { display:none; }
  .production-event-header.mobile-full-hero .mobile-event-header-copy { position:absolute; inset:0; z-index:2; display:flex; width:100%; box-sizing:border-box; justify-content:flex-end; padding:16px 18px; flex-direction:column; text-shadow:0 2px 14px rgba(0,0,0,.44); }
  .production-event-header.mobile-full-hero .mobile-hero-footer { display:grid; width:100%; align-items:end; grid-template-columns:minmax(0,1fr) auto; gap:12px; }
  .production-event-header.mobile-full-hero .mobile-hero-primary { display:grid; min-width:0; gap:5px; }
  .production-event-header.mobile-full-hero .mobile-hero-secondary { display:flex; align-items:flex-end; flex-direction:column; gap:7px; }
  .production-event-header.mobile-full-hero .mobile-hero-meta,
  .production-event-header.mobile-full-hero .event-main-draw-dates { margin:0; color:rgba(255,255,255,.92); font-size:11px; line-height:1.2; white-space:nowrap; }
  .production-event-header.mobile-full-hero .mobile-hero-meta { font-weight:750; }
  .production-event-header.mobile-full-hero .mobile-hero-primary h1 { min-width:0; color:#fff; font-size:clamp(26px,7vw,30px); line-height:1; text-shadow:0 2px 14px rgba(0,0,0,.55); }
  .production-event-header.mobile-full-hero .mobile-hero-city { display:flex; min-width:0; align-items:center; gap:9px; white-space:nowrap; }
  .production-event-header.mobile-full-hero .mobile-hero-city.is-slam .mobile-hero-title-label { color:#f2cf64; }
  .production-event-header.mobile-full-hero .mobile-hero-city-flag,
  .production-event-header.mobile-full-hero .mobile-hero-city-flag .country-flag { flex:0 0 auto; font-size:21px; line-height:1; text-shadow:none; }
  .production-event-header.mobile-full-hero .status-chip { position:relative; top:2px; flex:0 0 auto; padding:5px 9px; border:1px solid rgba(255,255,255,.32); color:#fff; background:rgba(10,32,24,.5); font-size:10px; backdrop-filter:blur(8px); }
  .production-event-header.mobile-full-hero .status-chip.is-live { color:#fff; background:rgba(23,107,69,.82); }
  .event-title-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .completed-result-hero { align-items: flex-start; flex-direction: column; padding: 20px; }
  .completed-result-hero h2 { font-size: 24px; }
  .season-points { text-align: left; }
  .completed-winner-grid { grid-template-columns: 1fr; }
  .personal-result-row { grid-template-columns: 84px minmax(0,1fr) auto; gap: 12px; }
  .personal-result-row .location-art.thumb, .personal-result-row .production-art.thumb { width: 84px; height: 56px; }
  .personal-result-copy strong { font-size: 16px; }
  .personal-result-copy small { font-size: 12px; }
  .player-row { grid-template-columns: 30px 64px minmax(0,1fr) 38px; gap: 8px; padding: 7px 6px; }
  .player-row.used-player-row { grid-template-columns: 30px 64px minmax(0,1fr) auto; }
  .player-status-used { max-width: 96px; padding: 5px 8px; font-size: 10px; }
  .player-seed { width: 28px; height: 28px; }
  .selected-player-portraits { display: flex; gap: 8px; overflow-x: auto; }
  .selected-player-portraits > div { flex: 0 0 96px; }
  .selected-player-portraits.single > div { flex: 1 1 auto; }
  .your-position { grid-template-columns: 1fr auto; }
  .your-position > div { grid-column: 1 / -1; justify-content: flex-start; }
  .ranking-row { grid-template-columns: 36px 42px minmax(0,1fr) auto; gap: 8px; min-height: 70px; padding: 9px 10px; }
  .ranking-row.ranking-head { grid-template-columns: 36px 42px minmax(0,1fr) auto; gap: 8px; }
  .ranking-head > span:first-child { grid-column: 1; font-size: 0; }
  .ranking-head > span:first-child::after { content:"#"; font-size:12px; }
  .ranking-head .team-heading { grid-column: 2 / 4; }
  .ranking-head .desktop-manager, .ranking-head .ranking-counted, .ranking-row .desktop-manager, .ranking-row .ranking-counted { display: none; }
  .ranking-head > span:last-child { grid-column: 4; }
  .ranking-team small { display: block; }
  .ranking-crest { width: 38px; height: 43px; }
  .ranking-gap { align-items: flex-start; flex-direction: column; gap: 4px; }
  .ranking-pagination { align-items: stretch; flex-direction: column; }
  .ranking-pagination > div { display: grid; grid-template-columns: 1fr 1fr; }
  .standings-page .event-header { margin: 2px 0 0; }
  .standings-page .tournament-tabs { margin-bottom: 22px; }
  .standings-heading { margin-bottom: 12px; }
  .selection-header h2, .tournament-context h2, .standings-heading h2 { font-size: 20px; }
  .standings-page .ranking-tabs { margin-bottom: 16px; }
  .standings-page .info-note { margin: -2px 0 16px; }
  .standings-page .ranking-row { min-height: 74px; padding: 11px 14px 11px 10px; }
  .standings-page .ranking-row.ranking-head { min-height: 44px; padding: 9px 14px 9px 10px; }
  .standings-page .ranking-row, .standings-page .ranking-row.ranking-head { grid-template-columns: 36px 42px minmax(0,1fr) 82px; }
  .standing-points { grid-template-columns: minmax(0,1fr) 24px; gap: 6px; }
  .ranking-head .points-heading { padding-right: 30px; }
  .standings-page .standing-points,
  .standings-page .ranking-head .points-heading { margin-right: 8px; }
  .standing-chevron { width: 24px; height: 24px; font-size: 18px; }
  .standing-breakdown { padding: 14px 10px 16px; }
  .standing-breakdown-summary { grid-template-columns: 1fr; gap: 10px; }
  .standing-picks { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .standing-mobile-head { display: none; }
  .standing-pick-row {
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas:
      "round outcome"
      "matchup score";
    align-items: center;
    gap: 8px 12px;
    min-height: 0;
    padding: 10px 12px;
    border-radius: 14px;
  }
  .standing-round { grid-area: round; display: flex; align-items: center; }
  .standing-round small { display: none; }
  .standing-round > span { min-height: 0; }
  .standing-round-long, .standing-player-name-full { display: none !important; }
  .standing-round-short, .standing-player-name-short { display: block !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .standing-round-short { display: inline-grid !important; width: auto; min-width: 34px; min-height: 26px !important; place-items: center; padding: 0 8px; border-radius: 999px; background: rgba(255,255,255,.72); font-size: 11px; }
  .standing-matchup { grid-area: matchup; display: grid; grid-template-columns: 1fr; min-width: 0; align-self: stretch; align-items: start; gap: 0; border-top: 1px solid rgba(100,116,106,.16); }
  .standing-picked-player, .standing-opponent { display: flex; min-width: 0; min-height: 44px; align-items: center; }
  .standing-opponent { border-top: 1px solid rgba(100,116,106,.12); }
  .standing-picked-player small, .standing-opponent small { display: none; }
  .standing-player-identity { width: 100%; max-width: 100%; gap: 6px; font-size: 12px !important; }
  .standing-player-country { display: grid; width: 18px; min-width: 18px; place-items: center; }
  .standing-player-country .country-flag { font-size: 12px; }
  .standing-player-identity .player-portrait, .standing-player-identity .player-portrait-placeholder { width: 30px !important; min-width: 30px !important; height: 30px !important; border-radius: 8px; }
  .standing-player-name { min-width: 0; }
  .standing-score { grid-area: score; display: flex; width: 84px; min-width: 0; align-self: stretch; align-items: flex-start; justify-content: flex-end; border-top: 1px solid rgba(100,116,106,.16); text-align: right; white-space: normal; }
  .standing-score small { display: none; }
  .standing-score > span { display: block; min-height: 0; font-size: 11px; line-height: 1.3; }
  .standing-score-desktop { display: none; }
  .standing-score-responsive { display: grid; width: 100%; grid-template-rows: repeat(2,44px); align-content: start; }
  .standing-score-player-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(10px,auto); align-items: center; justify-content: end; gap: 7px; white-space: nowrap; }
  .standing-score-player-row + .standing-score-player-row { border-top: 1px solid rgba(100,116,106,.12); }
  .standing-pick-row.won .standing-picked-player .standing-player-name { color: var(--green); }
  .standing-pick-row.lost .standing-picked-player .standing-player-name { color: #9a493d; }
  .standing-outcome { grid-area: outcome; display: block; min-width: 0; text-align: right; white-space: nowrap; }
  .standing-outcome small { display: none; }
  .standing-outcome > span { min-width: 62px; min-height: 26px; justify-content: center; padding: 0 9px; border-radius: 999px; background: rgba(255,255,255,.72); font-size: 11px; text-align: center; }
  .standing-outcome.won > span { background: #dfeee4; }
  .standing-outcome.lost > span { background: #f4dfda; }
  .overview-case-nav { margin: 16px 0 8px; border-radius: 13px; }
  .overview-case-surface { padding-top: 8px; }
  .overview-hero { grid-template-columns: 1fr; align-items: start; gap: 18px; padding: 21px 20px; }
  .overview-completed-result { gap: 10px; }
  .overview-completed-result > div { min-height: 78px; padding: 15px 16px; }
  .overview-completed-result strong { font-size: 25px; }
  .overview-hero-stats { width: 100%; }
  .overview-hero-stats div { flex: 1; min-width: 0; }
  .overview-panel { padding: 20px 18px; }
  .overview-section-head { display: grid; gap: 10px; }
  .overview-section-head > span { justify-self: start; margin: 0; }
  .overview-bench-panel .overview-section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
  .overview-bench-panel .overview-heading-with-tip { min-width:0; }
  .overview-bench-panel .overview-section-head > span { flex:0 0 auto; margin:0; white-space:nowrap; }
  .overview-option-grid, .overview-match-grid, .overview-winners { grid-template-columns: 1fr; }
  .selection-quarter + .selection-quarter { margin-top: 18px; }
  .selection-quarter > header { margin-bottom: 8px; }
  .selection-path-note { margin-top: 18px; padding: 14px; }
  :is(.selection-path-review,.operational-overview) .overview-option { gap: 9px; padding-inline: 10px; }
  :is(.selection-path-review,.operational-overview) .overview-option-status { max-width: 104px; text-align: center; }
  .overview-winner-team { grid-template-columns: auto minmax(0,1fr); }
  .overview-winner-points { grid-column: 1 / -1; width: 100%; grid-template-columns: auto 1fr; align-items: baseline; justify-items: start; gap: 6px; padding: 10px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .overview-bench-options { grid-template-columns: 1fr; }
  .overview-selection-recap { align-items: flex-start; flex-direction: column; gap: 12px; }
  .overview-selection-recap > div { width: 100%; align-items: flex-start; flex-direction: column; gap: 8px; }
  .overview-bench-protect > div { display: grid; grid-template-columns: 1fr; }
  .overview-bench-protect button { width: 100%; }
  .overview-bench-recap { align-items: flex-start; flex-direction: column; }
  .overview-bench-skipped { align-items: flex-start; flex-direction: column; }
  .overview-choice-list { grid-template-columns: 1fr; }
  .overview-choice-reserve-summary.wide { grid-column:auto; }
  .overview-choice-reserve-summary { min-height:0; align-items:flex-start; flex-direction:column; gap:7px; padding:10px 12px; }
  .overview-choice-reserve-summary.empty { align-items:stretch; gap:0; padding:12px; text-align:left; }
  .overview-choice-reserve-decision { width:100%; gap:5px; }
  .overview-choice-reserve-primary { min-height:34px; padding-block:3px; }
  .overview-choice-reserve-skip { min-height:28px; padding-block:2px; }
  .overview-choice-reserve-home-link { color:var(--green-dark); text-decoration-color:currentColor; }
  .overview-choice-deadline { text-align: left; }
  .overview-action-timing { justify-content: flex-start; margin-top: 0; }
  :is(.selection-path-review,.operational-overview) .selection-task-head { align-items: start; gap: 12px; }
  :is(.selection-path-review,.operational-overview) .overview-action-timing { justify-content: flex-start; }
  .overview-score-row { grid-template-columns: minmax(0,1fr) auto; gap: 8px; min-height: 66px; }
  .overview-match:not(:has(.overview-score-cells:not([data-single-digit-sets]))) { --set-score-width: 1.5ch; }
  .overview-score-row > .overview-score-cells:has(> :nth-child(3)) {
    grid-auto-columns: var(--set-score-width, 2ch);
    gap: 1px;
    font-size: .75rem;
    font-weight: 700;
  }
  .overview-score-row:has(> .overview-score-cells > :nth-child(4)) { column-gap: 5px; padding-inline: 10px; }
  .overview-score-row:has(> .overview-score-cells > :nth-child(4)) .overview-player-main { gap: 4px; }
  .overview-score-row:has(> .overview-score-cells > :nth-child(4)) .overview-player-main .player-identity {
    gap: 4px;
    font-size: clamp(.8125rem, 3.7vw, .875rem);
    line-height: 1.2;
  }
  .overview-player-role { grid-column: 1 / -1; margin-bottom: -7px; }
  .live-score-layer { align-items: end; padding: 0; }
  .live-score-sheet { width: 100%; max-height: min(82dvh,760px); padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); border: 0; border-radius: 20px 20px 0 0; }
  .live-score-sheet > header h2 { font-size: 24px; }
  .standings-page .standing-toggle { min-height: 88px; }
  .ranking-team .mobile-tournament-status { margin-top: 4px; color: var(--ink); font-size: 11px; line-height: 1.2; white-space: normal; }
}
@media(prefers-reduced-motion:reduce){.overview-bench-panel.reserve-destination-highlight{animation:none;border-color:var(--green);box-shadow:0 0 0 3px rgba(23,107,69,.12)}}

@media (max-width: 559px) {
  .standing-picks { grid-template-columns: 1fr; }
}

@media (min-width: 1100px) {
  .desktop-nav { gap:0; }
  .desktop-nav button { padding-inline:12px; font-size:13px; }
  .tournament-catalogue-head,
  .tournament-catalogue-row { grid-template-columns:1.1fr 2fr 1.3fr .55fr .75fr .7fr .9fr 72px; gap:14px; }
}

@media (max-width: 1099px) {
  .bottom-nav { display:grid; grid-template-columns:repeat(5,minmax(64px,1fr)); overflow-x:auto; justify-content:start; }
  .bottom-nav button { min-width:64px; padding-inline:3px; font-size:9px; }
}

@media (max-width: 620px) {
  .tournament-catalogue { gap:10px; }
  .tournament-catalogue-row { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto auto auto; gap:5px 12px; min-height:0; padding:14px 14px 14px 17px; }
  .tournament-catalogue-row .catalogue-location { grid-column:1; grid-row:1; min-height:30px; }
  .tournament-catalogue-row .catalogue-country-flag .country-flag { font-size:22px; }
  .tournament-catalogue-row .catalogue-tournament { grid-column:1; grid-row:2; gap:0; }
  .tournament-catalogue-row .catalogue-tournament small { display:none; }
  .tournament-catalogue-row .catalogue-dates { display:block; grid-column:1; grid-row:3; color:var(--muted); font-size:12px; }
  .tournament-catalogue-row > [role="cell"]:nth-child(4),
  .tournament-catalogue-row > [role="cell"]:nth-child(5),
  .tournament-catalogue-row > [role="cell"]:nth-child(6),
  .tournament-catalogue-row > [role="cell"]:nth-child(7) { display:none; }
  .tournament-catalogue-row .catalogue-mobile-meta { display:flex; grid-column:1; grid-row:4; align-items:center; gap:8px; margin-top:3px; white-space:nowrap; }
  .tournament-catalogue-row .catalogue-action { grid-column:2 !important; grid-row:1 / span 4; align-self:start; min-width:64px; }
  .tournament-catalogue-row .catalogue-action .mini-button { min-width:64px; }
}

/* Dense portrait ranking controls; scoped so other pages keep their spacing. */
@media(max-width:779px) {
  .selection-complete-state { grid-template-columns:auto minmax(0,1fr); padding:12px; }
  .selection-complete-state .text-button { grid-column:1 / -1; width:100%; min-height:44px; justify-content:center; border:1px solid #b9cbc0; border-radius:12px; background:#fff; }
  .selection-reserve-step-actions { display:grid; grid-column:1 / -1; grid-template-columns:1fr; gap:8px; width:100%; }
  .selection-reserve-step-actions .text-button { grid-column:auto; border:0; background:transparent; }
  .stats-page { gap:8px; padding:12px 8px 28px; }
  .stats-page .page-header h1 { font-size:26px; }
  .stats-page .stats-model-tabs { padding:3px; border-radius:10px; }
  .stats-page .stats-model-tabs button { min-height:34px; border-radius:8px; font-size:11px; }
  .stats-page .stats-filter-tools { gap:5px; margin:0; }
  .stats-page .catalogue-filter > span,
  .stats-page .stats-search > span { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .stats-page .catalogue-filter-chip,
  .stats-page .catalogue-advanced-toggle { min-height:36px; padding:0 6px; font-size:11px; box-shadow:none; }
  .stats-page .stats-freshness { font-size:10px; line-height:1.35; }
  .stats-page .stats-search { gap:0; }
  .stats-page .stats-search input { min-height:36px; height:36px; font-size:12px; border-radius:10px; }
  .stats-page .catalogue-advanced-filters { gap:8px; padding:8px; border-radius:10px; }
  .stats-page .catalogue-advanced-field input:not([type=checkbox]),
  .stats-page .stats-country-toggle,
  .stats-page .catalogue-filter-reset { height:40px; min-height:40px; font-size:12px; }
}

/* Approved mobile competition readability */
.competition-head .competition-points { display:flex; align-items:center; justify-content:center; gap:4px; white-space:nowrap; }
@media(max-width:779px) {
  .nation-filter { flex-wrap:nowrap; gap:6px; margin:12px 0; padding:8px; overflow-x:auto; }
  .nation-filter>span { width:auto; flex:0 0 auto; font-size:9px; }
  .nation-filter button { flex:0 0 auto; min-width:40px; min-height:40px; padding:7px 10px; font-size:11px; color:var(--ink); }
  .nation-filter .nation-country-name { display:none; }
}
@media(max-width:779px) {
  .competition-table .competition-row { grid-template-columns:16px minmax(0,1fr) 56px 58px 18px; gap:5px; padding:10px 8px; }
  .competition-table .competition-row-tournament { grid-template-columns:16px minmax(0,1fr) 58px 44px 18px; }
  .competition-table .competition-counted-heading { width:56px; font-size:8px; }
  .competition-table .competition-team { gap:5px; }
  .competition-table .competition-team > .ranking-crest { width:22px; height:27px; flex-basis:22px; }
  .competition-table .competition-team b { font-size:11px; white-space:normal; overflow:visible; overflow-wrap:anywhere; line-height:1.2; }
  .competition-table .competition-team small { font-size:10px; line-height:1.2; }
  .competition-table .competition-manager > span:not(.country-flag) { white-space:normal; overflow:visible; overflow-wrap:anywhere; }
  .competition-table .competition-result-stack b { font-size:11px; }
  .competition-table .competition-result-stack small { font-size:9px; }
  .competition-head .competition-points .info-tip { flex:0 0 auto; margin:0; }
  .overview-selection-hero .overview-selection-goal { font-size:13px; line-height:1.35; }
  .overview-choice-recap .overview-choice-bench { grid-template-columns:minmax(0,1fr); gap:4px; margin:0 6px 8px 8px; padding:6px; }
  .overview-choice-recap .overview-choice-bench .overview-choice-role { font-size:8px; }
  .overview-choice-recap .overview-choice-bench .player-identity { display:flex; width:100%; min-width:0; font-size:11px; gap:4px; }
  .overview-choice-recap .overview-choice-bench .player-identity > span:last-child { white-space:normal; overflow:visible; overflow-wrap:anywhere; line-height:1.2; }
  .overview-choice-recap .overview-choice-bench :is(.player-portrait,.player-portrait-placeholder) { width:24px!important; height:24px!important; flex:0 0 24px; }
  .overview-choice-recap .overview-choice-starter .player-identity { font-size:12px; }
}

@media(max-width:779px){.competition-table .competition-row{grid-template-columns:16px minmax(0,1fr) 64px 60px 18px;gap:6px;padding:10px 8px}.competition-table .competition-row-tournament{grid-template-columns:16px minmax(0,1fr) 58px 44px 18px}.competition-table .competition-counted-heading{width:64px;font-size:7.5px;letter-spacing:0}}

.onboarding-settings { position: relative; flex: 0 0 auto; }
.onboarding-settings .settings-trigger { min-width: 44px; min-height: 44px; }

.champions-main-tabs{display:flex;gap:28px;border-bottom:1px solid #dce3dd}.champions-main-tabs button{border:0;border-bottom:3px solid transparent;background:none;padding:12px 0 15px;font:inherit;font-weight:800;color:#66736a;cursor:pointer}.champions-main-tabs button.active{color:#176b45;border-color:#176b45}.champion-review-note{font-size:12px;color:#677269;margin:0}.champion-board-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.champion-board-heading h2{font-size:34px;letter-spacing:-1px;margin:0 0 6px}.champion-board-heading p{margin:0;color:#647168}.champion-controls{display:flex;align-items:center;gap:20px}.champion-controls .ranking-tabs{margin:0;min-width:158px}.champion-controls label{font-size:11px;font-weight:800;color:#657167;display:grid;gap:4px}.champion-controls select{font:inherit;font-size:14px;color:#18231d;border:1px solid #d9e1da;border-radius:10px;padding:8px;background:white}.champion-group{margin-top:12px}.champion-group>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 16px}.champion-group>header h2{font-size:24px;margin:0}.champion-group>header>span{font-size:13px;color:#657269}.champion-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.champion-card{border:1px solid #dce2db;border-radius:19px;overflow:hidden;background:#fff;min-width:0}.champion-slam{border-color:#d8cba6;background:#fffef8}.champion-scene{height:160px;background-position:center;background-size:cover;padding:18px;display:flex;flex-direction:column;justify-content:space-between;color:#fff}.champion-category{align-self:flex-start;font-size:10px;font-weight:800;letter-spacing:1px;background:#1439259c;border:1px solid #ffffff3d;border-radius:16px;padding:4px 9px}.champion-scene h3{font-size:23px;letter-spacing:-.5px;margin:0;line-height:1.1;text-shadow:0 1px 12px #0009}.champion-winners{padding:16px 16px 12px}.champion-team{display:flex;width:100%;gap:12px;align-items:center;text-align:left;background:none;border:0;padding:0;cursor:pointer;color:#18231d;font:inherit}.champion-team+.champion-team{margin-top:15px;padding-top:15px;border-top:1px solid #e4e7df}.champion-team>.ranking-crest{width:48px;height:59px;flex:0 0 48px}.champion-team>span:not(.ranking-crest){min-width:0}.champion-team strong{display:block;font-size:17px;line-height:1.2;overflow-wrap:anywhere}.champion-team small{margin-top:6px;font-size:11px;line-height:1.3}.champion-team-arrow{margin-left:auto;color:#176b45;font-size:18px;flex:0 0 15px}.champion-card footer{display:flex;justify-content:space-between;gap:6px;padding:12px 16px;border-top:1px solid #e5e8e0;font-size:10px;font-weight:700;color:#687268}.champion-slam footer{color:#83703e}.champion-card footer>span{white-space:nowrap}.champion-pending{display:grid;text-align:center;gap:6px;color:#687468;min-height:65px}.champion-pending>span{font-size:25px;color:#aa945a}.champion-pending strong{font-size:13px}.champion-pending small{font-size:11px}.champion-profile-overlay{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px}.champion-profile-backdrop{position:absolute;inset:0;background:#10251bc4;border:0;backdrop-filter:blur(3px)}.champion-profile{position:relative;background:#fffef9;border-radius:24px;padding:32px;max-width:520px;width:100%;max-height:85dvh;overflow:auto;box-sizing:border-box;box-shadow:0 24px 100px #0004}.champion-profile-close{position:absolute;right:18px;top:18px;border:0;background:#176b45;color:white;border-radius:10px;width:36px;height:36px;font-size:22px;cursor:pointer}.champion-profile-identity{text-align:center}.champion-profile-identity .ranking-crest{width:85px;height:105px;margin:0 auto 16px}.champion-profile-identity h2{font-size:30px;letter-spacing:-.7px;margin:0 0 6px}.champion-profile-identity p{display:flex;gap:7px;align-items:center;justify-content:center;color:#667168;font-size:14px}.champion-profile-identity .country-flag{width:19px;height:13px}.champion-profile-metrics{display:grid;grid-template-columns:1fr 1fr;margin:24px 0;border-block:1px solid #dedfd4;padding:18px 0}.champion-profile-metrics>div{display:grid;gap:6px;text-align:center}.champion-profile-metrics strong{font-size:28px;color:#265d3b}.champion-profile-metrics span{font-size:12px;color:#677269}.champion-trophy{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid #e7e8df}.champion-trophy small{display:block;color:#667168;font-size:12px;margin-top:3px}.champion-profile>.champion-review-note{margin-top:18px}@media(max-width:1000px){.champion-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.champion-board-heading{align-items:flex-start;flex-direction:column}.champion-board-heading h2{font-size:28px}.champion-controls{justify-content:space-between;width:100%}.champion-group>header{display:block}.champion-group>header>span{display:block;margin-top:5px}.champion-grid{gap:12px}.champion-scene{height:125px;padding:12px}.champion-scene h3{font-size:18px}.champion-category{font-size:8px;letter-spacing:.5px}.champion-winners{padding:12px 10px}.champion-team{flex-wrap:wrap;gap:8px}.champion-team>.ranking-crest{width:36px;height:44px;flex-basis:36px}.champion-team>span:not(.ranking-crest){width:100%}.champion-team strong{font-size:14px}.champion-team small{font-size:10px}.champion-team-arrow{display:none}.champion-card footer{flex-wrap:wrap;padding:10px;font-size:9px}.champion-profile{padding:24px}.champion-profile-identity h2{font-size:25px}.champion-profile-overlay{padding:12px}}

/* Every card uses the original landmark-right panoramic artwork. */
.champion-slam .champion-category{color:#fff;background:#183d38;border:1px solid #b28c36}
.champion-slam .champion-scene h3{color:#f2cf72}
.champion-group--slam>header h2{color:var(--ink)}
.champion-award{display:flex;align-items:center;gap:14px;padding:16px 20px;border-bottom:1px solid #e3e9e4;color:#2b5d3e;font-size:15px}
.champion-award img{width:48px;height:60px;object-fit:contain;flex:0 0 auto}
.hall-layout-preview .champion-grid{align-items:start}
.hall-layout-preview .champion-team{flex-wrap:nowrap}
.hall-layout-preview .champion-team>span:not(.ranking-crest):not(.champion-team-arrow){width:auto;min-width:0;flex:1}
.hall-layout-preview .champion-team>.champion-team-arrow{width:auto;flex:0 0 auto}
.hall-layout-preview .champion-shared .champion-team{padding:10px 0;flex-wrap:nowrap}
.hall-layout-preview .champion-shared .champion-team>.ranking-crest{width:30px;height:38px;flex:0 0 30px}
.hall-layout-preview .champion-shared .champion-team strong{font-size:15px;overflow-wrap:anywhere}
.hall-layout-preview .champion-shared .competition-manager,.hall-layout-preview .champion-shared .champion-team small:last-child{display:none}
@media(max-width:600px){.hall-layout-preview .champion-grid{grid-template-columns:1fr}.champion-award{padding:12px 16px}}
.champion-scene{position:relative;text-decoration:none;background-position:right center;transition:filter .15s}
.champion-scene:hover{filter:brightness(1.08)}
.champion-scene:focus-visible{outline:3px solid #d7b451;outline-offset:-5px}
.champion-scene h3{display:flex;align-items:center;gap:8px;position:relative;width:100%}
.champion-event-arrow{margin-left:auto;font-size:18px}
.champion-scene--trophy{box-sizing:border-box;height:auto;aspect-ratio:3/2;background:#f1eee1;color:#233f32}
.champion-scene--trophy .champion-category{position:relative;color:#fff}
.champion-cup{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:6px 20px 38px;box-sizing:border-box}
.champion-scene--trophy h3{font-size:16px;text-shadow:none;background:#f1eee1e8;border-radius:8px;padding:5px;margin-left:-5px}
.champion-place-thumb{width:42px;aspect-ratio:3/2;object-fit:cover;flex-shrink:0;border-radius:4px}
.champion-team .competition-manager{display:flex;gap:4px;align-items:center}
@media(max-width:600px){.champion-scene--trophy h3{font-size:13px}.champion-cup{padding:4px 8px 34px}.champion-place-thumb{width:32px}.champion-event-arrow{font-size:14px}}
.champion-trophy{align-items:center;gap:18px;min-height:100px}
.champion-trophy-art{width:72px;height:94px;object-fit:contain;flex:0 0 72px}
.champion-trophy-label{flex:1;min-width:0;overflow-wrap:anywhere}
.champion-trophy>strong{flex:none;margin-left:auto}
@media(max-width:600px){.champion-trophy{gap:12px;min-height:82px}.champion-trophy-art{width:60px;height:78px;flex-basis:60px}.champion-trophy-label{font-size:15px}.champion-trophy small{font-size:11px}}

.home-review-live-identity > .button, .home-review-live-score > .button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; flex-shrink: 0; line-height: 1.2; }

.home-round-progress > div { width:100%; min-width:0; }
.home-round-progress h3 { margin:14px 0 4px; font-size:20px; }
.home-progress-total { font-weight:700; color:var(--green)!important; }
.home-progress-picks { display:grid; gap:8px; margin:16px 0; }
.home-progress-pick { display:flex; align-items:center; justify-content:space-between; gap:12px; min-width:0; }
.home-progress-pick > span { min-width:0; }
.home-progress-pick > strong { font-size:13px; flex-shrink:0; color:var(--muted); }
.home-progress-pick > .won { color:var(--green); }
.home-progress-pick > .lost { color:#a94e3d; }
.home-progress-link { display:inline-flex; margin-top:16px; }
.home-progress-match { display:grid; gap:5px; min-width:0; }
.home-progress-opponent { padding-left:40px; color:var(--muted); font-size:13px; overflow-wrap:anywhere; }
.home-progress-score { display:block; margin-top:5px; color:var(--ink); font-size:13px; white-space:nowrap; }
.home-progress-picks .home-progress-pick { padding:12px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.points-breakdown { display:block; font-size:12px; font-weight:500; color:var(--muted); line-height:1.5; }
.home-round-progress .points-breakdown { margin-top:4px; }
.competition-counted-count { display:grid; justify-items:center; gap:4px; }
.competition-counted-count small { color:var(--green); font-size:10px; font-weight:700; }
.season-points .points-breakdown { margin-top:4px; max-width:170px; }
.season-mobile-points-breakdown { display:none; }
@media(max-width:779px) {
  .season-points .points-breakdown { display:none; }
  .season-evidence-row .season-mobile-points-breakdown { display:block; margin-top:6px; font-size:11px; font-weight:400; line-height:1.4; color:var(--muted); white-space:normal; overflow-wrap:anywhere; }
}

.overview-option-grid { align-items: start; gap:24px; padding:16px; border-radius:18px; background:#f0f4f0; }
.single-pick-selection .overview-option-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.selection-mini-draw { display:grid; grid-template-columns:1fr; gap:16px; padding:16px; border-radius:18px; background:#f0f4f0; }
.selection-mini-column-heads { display:grid; grid-template-columns:minmax(0,1.15fr) 42px minmax(150px,.85fr); align-items:end; gap:0; margin:0 16px 7px; padding:0 12px; }
.selection-mini-column-heads strong { min-width:0; color:var(--muted); font-size:10px; font-weight:850; letter-spacing:.055em; line-height:1.25; text-transform:uppercase; }
.selection-mini-column-heads strong:first-child { color:var(--green); }
.selection-mini-path { display:grid; grid-template-columns:minmax(0,1.15fr) 42px minmax(150px,.85fr); align-items:center; min-width:0; padding:12px; border:1px solid #d5ded7; border-radius:16px; background:rgba(255,255,255,.64); }
.selection-mini-path.final-round { grid-template-columns:minmax(0,560px); }
.selection-mini-sources { display:grid; gap:12px; min-width:0; margin:-6px; padding:6px; border-radius:13px; background:#edf6ef; }
.selection-mini-path .overview-option-group { min-width:0; border:2px solid #c2d1c5; background:#fff; box-shadow:0 2px 7px rgba(18,42,29,.045); }
.selection-mini-path .overview-option { min-height:48px; padding:5px 8px; gap:8px; }
.selection-mini-path .selection-row-identity { grid-template-columns:16px 28px minmax(0,1fr); gap:10px; }
.selection-mini-path .player-portrait,.selection-mini-path .player-portrait-placeholder { width:28px!important; min-width:28px!important; height:28px!important; --portrait-size:28px!important; border-radius:7px; }
.selection-mini-path .overview-option-action { width:28px; height:28px; flex-basis:28px; font-size:17px; }
.selection-mini-path .overview-draw-match .overview-matchup-versus { padding:3px 10px; font-size:9px; }
.selection-mini-connectors { width:42px; height:100%; min-height:196px; overflow:visible; }
.selection-mini-connectors path { fill:none; stroke:#aebbb1; stroke-width:1.5; vector-effect:non-scaling-stroke; }
.selection-mini-next-card { overflow:hidden; min-width:0; border:1px solid #cbd6ce; border-radius:12px; background:#fff; box-shadow:0 3px 10px rgba(18,42,29,.05); }
.selection-mini-next-player { min-height:52px; padding:7px 8px; border-top:1px solid var(--line); }
.selection-mini-next-player:first-child { border-top:0; }
.selection-mini-next-player .selection-row-identity { grid-template-columns:16px 28px minmax(0,1fr); gap:10px; }
.selection-mini-next-player.pending { display:flex; align-items:center; gap:10px; color:var(--muted); background:#f8faf8; font-size:12px; font-weight:800; }
.selection-mini-next-player.provisional { background:#f3f8f4; }
.selection-mini-slot { width:28px; height:28px; border:1px dashed #bcc8bf; border-radius:8px; background:linear-gradient(145deg,#fbfcfb,#eef2ef); }
.preemptive-selection-pool .selection-mini-column-heads { grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr); }
.selection-mini-preemptive { display:grid; grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr); align-items:start; min-width:0; padding:16px; border-radius:18px; background:#f0f4f0; }
.selection-mini-preemptive-feeder { min-width:0; padding:6px; border-radius:13px; background:#fff6e8; }
.selection-mini-preemptive-targets { display:grid; gap:12px; min-width:0; padding:6px; border-radius:13px; background:#edf6ef; }
.selection-mini-preemptive :is(.selection-mini-preemptive-feeder,.selection-mini-preemptive-targets) .overview-option-group { border:2px solid #c2d1c5; background:#fff; }
.selection-mini-preemptive-connector { width:42px; height:156px; overflow:visible; }
.selection-mini-preemptive-connector path { fill:none; stroke:#aebbb1; stroke-width:1.5; vector-effect:non-scaling-stroke; }
.preemptive-round-two-draw { gap:12px; }
.preemptive-round-two-draw .selection-mini-preemptive { padding:12px; border:1px solid #d5ded7; background:rgba(255,255,255,.68); }
.operational-overview .overview-action-timing.mini-draw-preview-timing { display:grid; justify-items:end; gap:4px; margin:0; padding:7px 10px; border-radius:12px; color:var(--muted); background:#f1f4f1; text-align:right; }
.operational-overview .overview-action-timing.mini-draw-preview-timing strong { color:var(--ink); font-size:11px; font-weight:850; line-height:1.2; letter-spacing:.02em; }
.operational-overview .overview-action-timing.mini-draw-preview-timing small { color:var(--green); font-size:10px; font-weight:800; line-height:1.25; }
.selection-player-name-short { display:none; }
@media(min-width:780px) {
  .single-pick-selection { display:grid; grid-template-columns:minmax(0,420px) minmax(0,1fr); column-gap:32px; }
  .single-pick-selection .selection-task-head { display:contents; }
  .single-pick-selection .selection-task-head .overview-heading-with-tip { grid-column:1; grid-row:1; align-self:start; }
  .single-pick-selection .selection-task-head .overview-action-timing { grid-column:2; grid-row:1 / span 2; align-self:start; }
  .single-pick-selection > .overview-search { grid-column:1; grid-row:2; align-self:start; margin:12px 0 16px; }
  .single-pick-selection > .selection-quarter,
  .single-pick-selection > .overview-empty { grid-column:1 / -1; }
}
.overview-match-grid.single { grid-template-columns: minmax(0,600px); }
.overview-option-group { overflow: hidden; border: 2px solid #cbd9ce; border-radius: 15px; background:#fff; }
.overview-path-heading { padding:10px 14px; border-bottom:1px solid #dbe4dd; color:var(--muted); background:#f8faf8; font-size:11px; font-weight:800; letter-spacing:.035em; }
@media(max-width:779px) {
  .single-pick-selection .overview-option-grid { grid-template-columns:1fr; }
  .selection-mini-draw { grid-template-columns:1fr; padding:6px; gap:10px; }
  .selection-mini-column-heads { grid-template-columns:minmax(0,1.45fr) 22px minmax(105px,.75fr); margin:0 6px 6px; padding:0 6px; }
  .selection-mini-column-heads strong { font-size:8px; letter-spacing:.025em; }
  .selection-mini-column-heads strong:last-child { text-align:center; }
  .preemptive-selection-pool .selection-mini-column-heads { grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr); }
  .selection-mini-preemptive { grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr); padding:6px; }
  .selection-mini-preemptive-connector { width:14px; height:104px; }
  .selection-mini-preemptive :is(.selection-mini-preemptive-feeder,.selection-mini-preemptive-targets) .overview-option { min-height:40px; padding:4px 5px; gap:4px; }
  .selection-mini-preemptive :is(.selection-mini-preemptive-feeder,.selection-mini-preemptive-targets) .selection-row-identity { grid-template-columns:14px 24px minmax(0,1fr); gap:6px; }
  .selection-mini-preemptive :is(.selection-mini-preemptive-feeder,.selection-mini-preemptive-targets) .player-portrait,
  .selection-mini-preemptive :is(.selection-mini-preemptive-feeder,.selection-mini-preemptive-targets) .player-portrait-placeholder { width:24px!important; min-width:24px!important; height:24px!important; --portrait-size:24px!important; }
  .selection-mini-preemptive .selection-row-copy { gap:1px; }
  .selection-mini-preemptive .selection-row-copy > span { overflow:visible; font-size:11px; line-height:1.1; text-overflow:clip; white-space:normal; }
  .selection-mini-preemptive .selection-player-name-full { display:none; }
  .selection-mini-preemptive .selection-player-name-short { display:block; overflow:visible; overflow-wrap:normal; word-break:normal; text-overflow:clip; white-space:normal; }
  .selection-mini-preemptive .selection-row-copy > small { overflow:visible; font-size:8px; line-height:1.1; text-overflow:clip; white-space:normal; }
  .selection-mini-preemptive .overview-option-action { width:22px; height:22px; flex-basis:22px; font-size:14px; }
  .selection-mini-preemptive .overview-draw-match .overview-matchup-versus { padding:2px 6px; font-size:8px; }
  .selection-mini-path { grid-template-columns:minmax(0,1.45fr) 22px minmax(105px,.75fr); gap:0; padding:6px; }
  .selection-mini-sources { grid-template-columns:1fr; gap:7px; }
  .selection-mini-path .overview-option { min-height:40px; padding:4px 5px; gap:4px; }
  .selection-mini-path .selection-row-identity { grid-template-columns:14px 24px minmax(0,1fr); gap:6px; }
  .selection-mini-path .player-portrait,.selection-mini-path .player-portrait-placeholder { width:24px!important; min-width:24px!important; height:24px!important; --portrait-size:24px!important; border-radius:6px; }
  .selection-mini-path .selection-row-copy { gap:1px; }
  .selection-mini-path .selection-row-copy > span { overflow:visible; font-size:11px; line-height:1.1; text-overflow:clip; white-space:normal; }
  .selection-mini-path .selection-player-name-full { display:none; }
  .selection-mini-path .selection-player-name-short { display:block; overflow:visible; overflow-wrap:anywhere; text-overflow:clip; white-space:normal; }
  .selection-mini-path .selection-row-copy > small { overflow:visible; font-size:8px; line-height:1.1; text-overflow:clip; white-space:normal; }
  .selection-mini-path .overview-option-action { width:22px; height:22px; flex-basis:22px; font-size:14px; }
  .selection-mini-path .overview-draw-match .overview-matchup-versus { padding:2px 6px; font-size:8px; }
  .selection-mini-connectors { display:block; width:22px; min-height:166px; }
  .selection-mini-next-card { width:auto; justify-self:stretch; border-radius:9px; }
  .selection-mini-next-player { min-height:42px; padding:5px; }
  .selection-mini-next-player .selection-row-identity { grid-template-columns:14px 22px minmax(0,1fr); gap:6px; }
  .selection-mini-next-player .player-portrait,.selection-mini-next-player .player-portrait-placeholder { width:22px!important; min-width:22px!important; height:22px!important; --portrait-size:22px!important; }
  .selection-mini-next-player.pending { gap:5px; font-size:9px; }
  .selection-mini-slot { width:22px; height:22px; border-radius:6px; }
  .overview-action-panel .overview-option-grid { padding:8px; gap:18px; }
  .overview-action-panel .overview-pending-winner { margin:0 8px 8px; }
  .overview-action-panel .overview-option { gap:8px; padding:9px 8px; }
  .overview-action-panel .selection-row-identity { min-width:0; }
  .overview-action-panel .selection-row-copy { flex:1; min-width:0; }
  .overview-action-panel .selection-row-copy > span { overflow-wrap:anywhere; }
  .overview-action-panel .overview-option-action { width:30px; height:30px; flex-basis:30px; }
  .operational-overview .overview-action-timing.mini-draw-preview-timing { justify-items:start; text-align:left; }
}

@media(max-width:400px) {
  .selection-mini-column-heads { grid-template-columns:minmax(0,1.45fr) 22px minmax(105px,.75fr); }
  .preemptive-selection-pool .selection-mini-column-heads { grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr); }
  .selection-mini-preemptive .flag { display:none; }
  .selection-mini-preemptive :is(.selection-mini-preemptive-feeder,.selection-mini-preemptive-targets) .selection-row-identity { grid-template-columns:24px minmax(0,1fr); }
  .selection-mini-path .flag { display:none; }
  .selection-mini-path .selection-row-identity { grid-template-columns:24px minmax(0,1fr); }
  .selection-mini-next-player .selection-row-identity { grid-template-columns:22px minmax(0,1fr); }
}

.overview-match > .overview-deadline-outcome { margin:0; padding:12px 18px; color:#a74735; font-size:13px; font-weight:600; }

.home-choice-result { border:1px solid var(--line); border-radius:16px; padding:20px; min-width:0; background:#f8faf8; }
.home-choice-result h3 { margin:14px 0 6px; font-size:22px; }
.home-choice-impact { color:var(--muted); line-height:1.5; margin:0 0 18px; }
.home-choice-result-matches .standing-round { display:none; }
.home-choice-result-matches .standing-pick-row { grid-template-columns:minmax(0,1fr) 100px 180px; }
.home-choice-result-points { margin:18px 0 0; display:grid; gap:5px; }
.home-choice-result-points strong { color:var(--green); font-size:18px; }
.home-round-sections { display:grid; gap:16px; }
.home-round-section { min-width:0; padding:18px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.home-round-heading { margin-bottom:14px; }
.home-round-heading h3 { margin:0; font-size:16px; line-height:1.4; }
.home-round-heading p { margin:5px 0 0; color:var(--muted); font-size:13px; line-height:1.5; }
.home-choice-path { min-width:0; }
.home-choice-path + .home-choice-path { margin-top:16px; }
.home-round-match { min-width:0; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:#fff; }
.home-round-match > header { display:flex; justify-content:space-between; flex-wrap:wrap; gap:5px 12px; padding:10px 13px; border-bottom:1px solid var(--line); background:#f8faf7; }
.home-round-match h4 { margin:0; font-size:12px; line-height:1.5; }
.home-round-match > header > span { color:var(--muted); font-size:11px; }
.home-round-match > header > .text-button { margin:0; font-size:12px; }
.home-round-match .standing-picks { margin:0; border:0; border-radius:0; }
.home-round-match .standing-pick-row { border:0; border-radius:0; }
.home-round-conditional > .home-supporting-choice { border:0; border-radius:0; background:#fff; }
.home-round-conditional .future-pick-opponents { min-width:0; }
.home-round-next { display:flex; align-items:center; justify-content:center; gap:8px; padding:7px 0; color:var(--muted); font-size:18px; }
.home-round-next small { font-size:11px; line-height:1.5; }
.home-round-reserve { margin-top:14px; }
.home-round-reserve .home-supporting-choice { max-width:560px; }
.home-round-recap { margin:14px 0 0; padding-top:13px; border-top:1px solid var(--line); color:var(--muted); font-size:13px; line-height:1.6; }
.home-round-opponents { display:flex; flex-wrap:wrap; gap:8px 14px; }
.home-round-opponents > .player-identity + .player-identity { padding-left:12px; border-left:1px solid var(--line); }
@media(min-width:780px) {
  .home-rounds-trial .home-round-match .standing-pick-row:not(.standing-withdrawal) { grid-template-columns:minmax(0,1fr) 88px 64px; column-gap:28px; }
  .home-rounds-trial .home-round-match :is(.standing-score,.standing-outcome) { min-width:0; text-align:right; }
  .home-rounds-trial .home-round-match :is(.standing-score,.standing-outcome) > span { justify-content:flex-end; }
}
@media(max-width:779px) {
  .home-round-section { padding:13px; }
  .home-round-heading h3 { font-size:15px; }
  .required-choice-path .home-round-match .home-choice-result-matches .standing-pick-row.pending:not(:has(.standing-live-action)) { grid-template-columns:minmax(0,1fr) 48px; grid-template-areas:"matchup outcome"; }
  .required-choice-path .home-round-match .standing-outcome { display:grid; gap:4px; justify-items:end; min-width:0; align-self:center; text-align:right; }
  .required-choice-path .home-round-match .standing-outcome > small { display:block; font-size:9px; }
  .required-choice-path .home-round-match .standing-outcome > span { min-width:0; width:100%; justify-content:flex-end; padding:0; background:transparent; }
  .home-round-opponents { display:grid; }
  .home-round-opponents > .player-identity + .player-identity { padding-left:0; border-left:0; }
}
.home-choice-result-points > span { color:var(--muted); font-size:13px; }
@media(max-width:779px) {
  .home-choice-result { padding:14px; }
  .home-choice-result h3 { font-size:19px; }
  .home-choice-result-matches { grid-template-columns:1fr; }
  .home-choice-result-matches .standing-pick-row { grid-template-columns:minmax(0,1fr) 64px; grid-template-areas:"outcome outcome" "matchup score"; }
  .home-choice-result-matches .standing-outcome { text-align:left; white-space:normal; }
  .home-choice-result-matches .standing-outcome > span { justify-content:flex-start; padding:4px 8px; min-height:24px; }
  .home-choice-result-matches .standing-score { width:64px; }
  .home-choice-result-matches .standing-player-name-full { display:block!important; white-space:normal; overflow-wrap:anywhere; }
  .home-choice-result-matches .standing-player-name-short { display:none!important; }
}

@media(max-width:779px) {
  .home-choice-result-matches .standing-picked-player,
  .home-choice-result-matches .standing-opponent { display:grid; align-content:center; gap:4px; padding-block:8px; }
  .home-choice-result-matches .standing-picked-player small,
  .home-choice-result-matches .standing-opponent small { display:block; }
  .home-choice-result-matches .standing-pick-row:has(.standing-live-action) {
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"outcome score" "matchup matchup";
  }
  .home-choice-result-matches .standing-pick-row:has(.standing-live-action) .standing-score { width:auto; border-top:0; align-self:center; }
  .home-choice-result-matches .standing-pick-row:has(.standing-live-action) .standing-score > span { min-height:24px; align-items:center; }
  .home-choice-result-matches .standing-pick-row.pending:not(:has(.standing-live-action)) {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"outcome" "matchup";
  }
  .home-choice-result-matches .standing-pick-row.pending:not(:has(.standing-live-action)) .standing-score { display:none; }
}

.home-review-actions > .home-choice-result { margin-top:16px; }
.standing-pick-row.standing-withdrawal { grid-template-columns:104px minmax(160px,1fr) minmax(160px,1fr) 200px; }
.standing-withdrawal-note { display:grid; gap:5px; align-self:center; color:var(--muted); font-size:13px; line-height:1.5; }
.standing-withdrawal-note strong { color:var(--ink); }
.home-choice-result-matches .standing-pick-row.standing-withdrawal { grid-template-columns:minmax(0,1fr) minmax(0,1fr) 200px; }
@media(max-width:779px) {
 .standing-pick-row.standing-withdrawal, .home-choice-result-matches .standing-pick-row.standing-withdrawal { grid-template-columns:minmax(0,1fr); grid-template-areas:"round" "outcome" "matchup" "note"; }
 .standing-withdrawal .standing-outcome { text-align:left; white-space:normal; }
 .standing-withdrawal .standing-outcome > span { justify-content:flex-start; min-width:0; }
 .standing-withdrawal-note { grid-area:note; font-size:12px; }
 .standing-withdrawal .standing-matchup { grid-template-columns:1fr; }
 .home-choice-result-matches .standing-pick-row.standing-withdrawal { grid-template-areas:"outcome" "matchup" "note"; }
}

.overview-bye-context { padding:12px 18px; color:var(--muted); font-size:13px; line-height:1.5; }

.standing-pick-row.standing-withdrawal { grid-template-columns:104px minmax(360px,1fr) 110px 70px; }
.standing-withdrawal-note { display:grid; gap:5px; align-self:start; color:var(--muted); font-size:13px; line-height:1.5; }
.standing-withdrawal-note strong { color:var(--ink); }
.home-choice-result-matches .standing-pick-row.standing-withdrawal { grid-template-columns:minmax(0,1fr) 100px 180px; }
@media(max-width:779px) {
 .standing-pick-row.standing-withdrawal, .home-choice-result-matches .standing-pick-row.standing-withdrawal { grid-template-columns:minmax(0,1fr); grid-template-areas:"round" "outcome" "matchup"; }
 .standing-withdrawal .standing-outcome { text-align:left; white-space:normal; }
 .standing-withdrawal .standing-outcome > span { justify-content:flex-start; min-width:0; }
 .standing-withdrawal-note { grid-area:auto; font-size:12px; }
 .standing-no-score { display:none; }
 .standing-withdrawal .standing-matchup { grid-template-columns:1fr; }
 .home-choice-result-matches .standing-pick-row.standing-withdrawal { grid-template-areas:"outcome" "matchup"; }
}
.season-outcome-winner { color:var(--green); }
.season-outcome-eliminated { color:#9a493d; }

.overview-action-timing.session-cutoff-timing { display:flex; flex-direction:column; align-items:flex-end; gap:6px; min-width:0; }
.session-cutoff-clock { display:flex; align-items:baseline; gap:10px; }
.session-cutoff-clock > strong { white-space:nowrap; }
.session-cutoff-summary { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:4px 7px; max-width:420px; font-size:12px; line-height:1.4; text-align:right; }
.session-cutoff-summary > span:not(.info-tip) { white-space:nowrap; }
:is(.selection-path-review,.operational-overview) .overview-action-timing.session-cutoff-timing { flex:0 1 auto; }
@media(max-width:779px) {
  .overview-action-timing.session-cutoff-timing { align-items:flex-start; }
  .session-cutoff-summary { justify-content:flex-start; text-align:left; }
}


.notifications-settings .notification-switch { border:0; background:transparent; padding:8px 0; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; min-height:44px; }
.notifications-settings .notification-switch-track { box-sizing:border-box; width:48px; height:28px; border-radius:999px; background:rgba(15,23,42,.14); border:1px solid rgba(15,23,42,.08); display:inline-flex; align-items:center; padding:3px; transition:background .18s ease,border-color .18s ease; }
.notifications-settings .notification-switch.is-on .notification-switch-track { background:var(--green); border-color:var(--green); }
.notifications-settings .notification-switch-thumb { width:20px; height:20px; border-radius:999px; background:white; box-shadow:0 2px 6px rgba(15,23,42,.18); transform:translateX(0); transition:transform .18s ease; }
.notifications-settings .notification-switch.is-on .notification-switch-thumb { transform:translateX(20px); }
.notifications-settings .notification-switch:focus-visible { outline:3px solid var(--green); outline-offset:4px; border-radius:999px; }
.notification-quick-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; margin-bottom:16px; }
.notification-quick-actions .mini-button { min-height:44px; }
.notification-quick-actions .notification-off-action { background:white; border:1px solid var(--line); color:var(--ink); }
.notification-quick-actions .mini-button:disabled { opacity:.45; cursor:default; }
.notifications-settings .settings-row > div { min-width:0; }
.notifications-settings .settings-row p { line-height:1.6; }
.notification-preview-note,.notification-security-note { color:var(--muted); font-size:14px; line-height:1.6; }
.notification-security-note { margin-top:22px; }
.notification-security-note strong { color:var(--ink); }
.notification-security-note p { margin:8px 0 0; }
.notification-always-on { display:inline-flex; align-items:center; padding:6px 11px; border-radius:999px; background:rgba(29,78,216,.12); color:#1d4ed8; font-size:.82rem; font-weight:800; white-space:nowrap; margin-left:10px; }
@media(prefers-reduced-motion:reduce){.notifications-settings .notification-switch-track,.notifications-settings .notification-switch-thumb{transition:none}}

.operational-overview [data-overview-case="operational-later"] > .overview-choice-recap { position:sticky; top:90px; z-index:12; padding:12px 16px; box-shadow:0 4px 14px #19251d10; }

@media(max-width:600px) {
  .operational-overview [data-overview-case="operational-open"] > .overview-choice-recap { top:68px; padding:8px; }
  .operational-overview .overview-choice-recap .overview-choice-list { grid-template-columns:1fr; gap:6px; }
  .operational-overview .overview-choice-recap .overview-choice-starter { display:flex; flex-wrap:nowrap; gap:11px; padding:4px; }
  .operational-overview .overview-choice-recap .overview-choice-starter .player-identity { display:contents; }
  .operational-overview .overview-choice-recap .overview-choice-starter .player-portrait { order:1; flex-shrink:0; }
  .operational-overview .overview-choice-recap .overview-choice-starter > .country-flag { order:2; flex-shrink:0; }
  .operational-overview .overview-choice-recap .overview-choice-starter .player-identity > span:last-child { order:3; flex:1; min-width:0; }
  .operational-overview .overview-choice-recap .overview-section-head { display:flex; flex-wrap:nowrap; justify-content:space-between; align-items:center; gap:8px; }
  .operational-overview .overview-choice-recap .overview-section-head h3 { margin:0; font-size:18px; }
  .operational-overview .overview-choice-recap-heading p { font-size:12px; }
  .operational-overview .overview-choice-item .overview-reserve-risk-note { margin:0; padding:9px 10px; }
  .operational-overview .overview-choice-recap .overview-section-head > span { font-size:11px; white-space:nowrap; margin:0; }
  .operational-overview .overview-choice-recap .player-identity > span:last-child { white-space:normal; overflow:visible; text-overflow:clip; }
  .operational-overview .overview-choice-recap .overview-choice-role { font-size:9px; }
  .operational-overview .overview-choice-recap .player-identity { font-size:12px; }
  .operational-overview .overview-choice-recap .overview-choice-bench { display:grid; grid-template-columns:auto minmax(0,1fr); margin-left:4px; padding-left:6px; gap:4px 8px; }
  .operational-overview .overview-choice-recap .overview-choice-bench .overview-choice-role { grid-column:1 / -1; }
  .operational-overview .overview-choice-recap .overview-choice-bench > .country-flag { grid-column:1; grid-row:2; align-self:center; }
  .operational-overview .overview-choice-recap .overview-choice-bench > .player-identity { grid-column:2; grid-row:2; }
  .operational-overview .overview-choice-recap .overview-choice-bench > small { grid-column:1 / -1; grid-row:3; }
}
.standing-live-action { display:inline-block; margin:0; font-size:12px; white-space:nowrap; }
@media(max-width:779px) {
  .overview-choice-context.single { grid-template-columns:1fr; }
  .overview-choice-context.single > .future-pick-opponents { padding:12px 14px 14px; border-top:1px dashed #b9cbc0; border-left:0; }
  .operational-overview.selection-filter-active [data-overview-choice-recap],
  .operational-overview:has([data-search]:focus) [data-overview-choice-recap],
  .overview-state-review.selection-filter-active [data-overview-choice-recap],
  .overview-state-review:has([data-overview-search]:focus) [data-overview-choice-recap] { display:block; position:static; top:auto; z-index:auto; order:2; box-shadow:none; }
  .operational-overview.selection-filter-active .overview-action-panel,
  .operational-overview:has([data-search]:focus) .overview-action-panel { order:1; scroll-margin-top:76px; }
  .operational-overview.selection-filter-active .overview-bench-panel,
  .operational-overview:has([data-search]:focus) .overview-bench-panel { order:3; }
  .draw-page:has([data-draw-player-search]:focus) .draw-section-select { display:none; }
  .draw-page:has([data-draw-player-search]:focus) .draw-browse-tools { margin-bottom:8px; }
  .catalogue-advanced-filters:focus-within > :not(:focus-within) { display:none; }
  .standing-live-action { margin:0; }
  .home-choice-result-matches .standing-score:has(.standing-live-action) { width:auto; min-width:80px; }
  .home-choice-result-matches .standing-pick-row:has(.standing-live-action) { grid-template-columns:minmax(0,1fr) 92px; }
  .home-choice-result-matches .standing-outcome { display:flex; align-items:center; gap:8px; }
  .home-choice-result-matches .standing-live-action { margin:0; }
  .operational-overview .overview-choice-recap .overview-choice-starter { min-height:0; }
  .operational-overview .overview-choice-recap .overview-choice-item { min-height:0; }
  .operational-overview .overview-choice-recap .overview-choice-starter .player-portrait-placeholder { order:1; flex-shrink:0; }
  .operational-overview .overview-choice-recap .overview-section-head > span { justify-self:end; }
  .operational-overview .overview-choice-recap :is(.overview-choice-starter,.overview-choice-reserve-summary.selected) { display:grid; min-height:0; grid-template-columns:auto minmax(0,1fr) auto; grid-template-rows:auto auto; gap:7px 10px; padding:10px 12px; }
  .operational-overview .overview-choice-recap .overview-choice-reserve-summary.selected { padding-right:20px; }
  .operational-overview .overview-choice-recap :is(.overview-choice-starter,.overview-choice-reserve-summary.selected) > .overview-choice-role { display:block; width:auto; grid-column:1 / 4; grid-row:1; align-self:center; }
  .operational-overview .overview-choice-recap .overview-choice-reserve-role > span { display:inline; }
  .operational-overview .overview-choice-recap :is(.overview-choice-starter,.overview-choice-reserve-summary.selected) > .country-flag { grid-column:1; grid-row:2; align-self:center; }
  .operational-overview .overview-choice-recap :is(.overview-choice-starter,.overview-choice-reserve-summary.selected) > .player-identity { display:flex; grid-column:2; grid-row:2; min-width:0; align-items:center; gap:8px; }
  .operational-overview .overview-choice-recap :is(.overview-choice-starter,.overview-choice-reserve-summary.selected) > .player-identity :is(.player-portrait,.player-portrait-placeholder) { order:initial; flex:0 0 auto; }
  .operational-overview .overview-choice-recap :is(.overview-choice-starter,.overview-choice-reserve-summary.selected) > .player-identity > span:last-child { display:-webkit-box; order:initial; min-width:0; overflow:hidden; line-height:1.2; white-space:normal; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
  .operational-overview .overview-choice-recap :is(.overview-choice-starter,.overview-choice-reserve-summary.selected) > .choice-remove-icon { grid-column:3; grid-row:2; align-self:center; justify-self:end; margin:0; }
}
.standing-player-country { display:grid; width:18px; min-width:18px; place-items:center; }
.standing-player-country .country-flag { font-size:12px; }
@media(max-width:779px) { .standing-score:has(.standing-live-action) > span { display:flex; min-height:44px; align-items:center; justify-content:flex-end; } }
.season-control { display:flex; align-items:center; gap:8px; flex-shrink:0; width:max-content; max-width:100%; margin:0; color:var(--muted,#66736b); font-size:13px; font-weight:700; }
.season-control select { min-height:40px; padding:8px 32px 8px 12px; border:1px solid #dce2dd; border-radius:10px; color:#18241d; background:#fff; font:inherit; }
.season-toolbar, .season-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; min-width:0; }
.season-toolbar > .ranking-tabs, .season-toolbar > .lifecycle-tabs { flex:1; min-width:0; margin:0; }
.season-heading > h1, .season-heading > h2 { margin:0; min-width:0; }
.section > .season-heading { margin-bottom:16px; }
.champion-controls .season-control { display:flex; align-items:center; gap:8px; margin:0; }
@media(max-width:600px) {
  .season-toolbar, .season-heading { gap:8px; }
  .season-control-caption { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .season-control select { min-width:76px; max-width:150px; padding:8px; }
  .season-toolbar > .ranking-tabs { gap:2px; }
  .season-toolbar > .ranking-tabs button { padding:0 8px; }
  .season-toolbar > .lifecycle-tabs button { padding-inline:8px; }
}
@media(max-width:360px) {
  .season-toolbar > .ranking-tabs button { font-size:12px; padding-inline:6px; }
}

@media (max-width: 700px) {
  .marketing-content { --marketing-section-rhythm: 32px; width: 100%; padding: 0 18px; }
  .marketing-section h2 { margin-bottom: 24px; font-size: 34px; }
  .marketing-section-intro { margin-top: -8px; font-size: 15px; }
  .marketing-steps { gap: 12px; }
  .marketing-steps article { padding: 22px; }
  .marketing-step-head { margin-bottom: 22px; }
  .marketing-step-icon { width: 46px; height: 46px; border-radius: 14px; }
  .marketing-desktop-preview { display: none; }
  .marketing-mobile-previews { display: flex; gap: 16px; margin-top: 0; padding: 4px 2px 14px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-padding-inline: 2px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .marketing-mobile-previews::-webkit-scrollbar { display: none; }
  .marketing-mobile-previews figure { flex: 0 0 100%; scroll-snap-align: start; }
  .marketing-mobile-previews figure:nth-child(2) { transform: none; }
  .marketing-mobile-previews img { border-radius: 18px; }
  .marketing-carousel-dots { display: flex; justify-content: center; align-items: center; gap: 9px; padding-top: 2px; }
  .marketing-carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #c9d2c9; cursor: pointer; transition: width .18s ease,background-color .18s ease; }
  .marketing-carousel-dots button.is-active { width: 24px; border-radius: 999px; background: var(--green); }
  .marketing-review-grid { grid-template-columns: 1fr; }
  .marketing-review-grid article,.marketing-review-grid article:last-child { grid-column: auto; width: 100%; min-height: 240px; }
  .marketing-final-cta { align-items:stretch; flex-direction:column; gap:24px; margin:var(--marketing-section-rhythm) 0; padding:28px 24px; border-radius:22px; }
  .marketing-final-cta h2 { margin-bottom:9px; font-size:30px; }
  .marketing-final-cta p { font-size:15px; }
  .marketing-final-cta .button { width:100%; min-width:0; }
  .marketing-faq-grid { grid-template-columns: 1fr; gap: 12px; }
  .marketing-faq summary { min-height: 76px; padding: 20px 62px 20px 20px; font-size: 17px; }
  .marketing-faq summary::after { right: 18px; }
  .marketing-faq details p { padding: 0 20px 22px; }
}

/* Prevent iOS focus zoom without changing control geometry. */
@media (max-width:779px) {
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
  select,
  textarea { font-size:16px !important; }
}

/* Home participant progress and independent selection availability. */
.home-participant-status { display:grid; gap:3px; font-size:13px; line-height:1.6; }
.home-participant-status > strong { color:var(--green); }
.home-participant-status p { margin:0; color:var(--muted); font-weight:400; }
.home-participant-status p strong { font-weight:650; }
.home-round-heading-main { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:8px 20px; }
.home-round-availability { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:4px 12px; color:var(--muted); font-size:12px; line-height:1.5; }
.home-round-availability.is-open > span { color:var(--green); font-weight:650; }
.home-round-availability .text-button { margin:0; font-size:12px; }
.home-round-availability small { width:100%; font-size:11px; text-align:right; }
@media(max-width:779px) {
 .home-round-heading-main { display:grid; gap:6px; }
 .home-round-availability { justify-content:flex-start; }
 .home-round-availability small { text-align:left; }
}

/* Keep the editable player rows themselves when the Overview recap sticks. */
.operational-overview .overview-choice-recap.is-compact > .overview-section-head { display:none; }
.operational-overview .overview-choice-recap.is-compact .overview-choice-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.operational-overview .overview-choice-recap.is-compact .overview-choice-list > :only-child { grid-column:1 / -1; }
.operational-overview .overview-choice-recap.is-compact :is(.overview-reserve-risk-note,.qualification-match-context,.future-pick-opponents,.overview-possible-opponents,.overview-preventive-choice-match > header,.overview-preventive-choice-match > .overview-score-row:not(.selection)) { display:none; }
.operational-overview .overview-choice-recap.is-compact .overview-preventive-choice-match { width:100%; }
.operational-overview .overview-choice-recap.is-compact .overview-choice-context { display:block; }
.operational-overview .overview-choice-recap.is-compact :is(.overview-choice-starter,.overview-score-row.selection) { display:flex; align-items:center; gap:10px; min-height:0; padding:10px 12px; border:0; }
.operational-overview .overview-choice-recap.is-compact :is(.overview-choice-starter,.overview-score-row.selection) > .overview-choice-role,
.operational-overview .overview-choice-recap.is-compact .overview-score-row.selection > .overview-player-role { display:none; }
.operational-overview .overview-choice-recap.is-compact :is(.overview-player-main,.overview-choice-starter > .player-identity) { display:flex; align-items:center; gap:10px; min-width:0; flex:1; }
.operational-overview .overview-choice-recap.is-compact .choice-remove-icon { margin-left:auto; flex:0 0 auto; }
.operational-overview .overview-choice-recap.is-compact .overview-choice-reserve-summary.empty { display:none; }
@media(max-width:620px) {
 .operational-overview :is([data-overview-case="operational-open"],[data-overview-case="operational-later"]) > [data-overview-choice-recap]:has(.overview-reserve-risk-note) { position:sticky; top:68px; }
 .operational-overview .overview-choice-recap.is-compact .overview-choice-list { grid-template-columns:1fr; gap:6px; }
 .operational-overview .overview-choice-recap.is-compact .overview-player-main .player-identity { min-width:0; }
 .operational-overview .overview-choice-recap.is-compact .overview-player-main .player-identity > span:last-child { white-space:normal; overflow-wrap:anywhere; }
 .operational-overview.selection-filter-active [data-overview-choice-recap],
 .operational-overview:has([data-search]:focus) [data-overview-choice-recap] { position:static!important; top:auto!important; }
}
/* Collapsing context must not let browser scroll anchoring move the recap. */
.operational-overview .overview-case-surface:has(> [data-overview-choice-recap]) { overflow-anchor:none; }
.operational-overview .overview-choice-recap.is-compact .overview-choice-starter > .country-flag { order:initial; flex-shrink:0; }
.operational-overview .overview-choice-recap.is-compact .overview-choice-starter .player-identity > :is(.player-portrait,.player-portrait-placeholder) { order:initial; }

/* Shared full-recap width; the pinned recap contains player rows only. */
.operational-overview .overview-match-grid.single { grid-template-columns:minmax(0,1fr); }
.operational-overview .overview-preventive-choice-match { width:100%; }
.operational-overview .overview-choice-list:has(> .overview-preventive-choice-match:only-child) { grid-template-columns:minmax(0,1fr); }
.operational-overview [data-overview-case="operational-later"] > .overview-choice-recap { padding:25px 26px 27px; }
.operational-overview .overview-choice-recap.is-compact { padding:10px 12px; }
@media(max-width:779px) {
 .operational-overview [data-overview-case="operational-later"] > .overview-choice-recap:not(.is-compact) { padding:20px 18px; }
}

.overview-choice-path { min-width:0; }
.overview-choice-list > .overview-choice-path:only-child { grid-column:1 / -1; }
.overview-choice-path-intro { margin:0 0 14px; color:var(--muted); font-size:13px; line-height:1.5; }
.overview-choice-transition { display:flex; align-items:center; justify-content:center; gap:8px; padding:10px 0; color:var(--muted); font-size:12px; }
.overview-choice-transition > span { font-size:20px; }
.overview-choice-path > .overview-reserve-risk-note { margin:12px 0 0; }
.operational-overview .overview-choice-recap.is-compact :is(.overview-choice-prerequisite,.overview-choice-path-intro) { display:none; }
.operational-overview .overview-choice-recap.is-compact .overview-player-main .player-identity { flex:1; min-width:0; }
.operational-overview .overview-choice-recap.is-compact .overview-player-main .player-identity > span:last-child { white-space:normal; overflow-wrap:anywhere; }
/* Keep sticky ancestors free of clipping, including embedded WebViews. */
.app-shell:has(.operational-overview),
.operational-overview .overview-case-surface { overflow:visible; }
/* Desktop matchups share one row; mobile retains its stacked identities. */
@media(min-width:780px) {
 .operational-overview .overview-panel:not(.is-compact) :is(.overview-match.pending,.overview-preventive-choice-match) { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
 .operational-overview .overview-panel:not(.is-compact) .overview-preventive-choice-match:has(> .overview-possible-opponents) { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); }
 .operational-overview .overview-panel:not(.is-compact) :is(.overview-match.pending,.overview-preventive-choice-match) > header { grid-column:1 / -1; }
 .operational-overview .overview-panel:not(.is-compact) :is(.overview-match.pending,.overview-preventive-choice-match) > .overview-score-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-content:center; gap:8px 12px; padding:14px 16px; min-width:0; }
 .operational-overview .overview-panel:not(.is-compact) :is(.overview-match.pending,.overview-preventive-choice-match) > .overview-score-row.selection { grid-column:1; grid-row:2; border-bottom:0; }
 .operational-overview .overview-panel:not(.is-compact) :is(.overview-match.pending,.overview-preventive-choice-match) > .overview-score-row:not(.selection) { grid-column:2; grid-row:2; border-top:0; border-left:1px solid var(--line); }
 .operational-overview .overview-panel:not(.is-compact) :is(.overview-match.pending,.overview-preventive-choice-match) > .overview-score-row > .overview-player-role { grid-column:1 / -1; grid-row:1; }
 .operational-overview .overview-panel:not(.is-compact) :is(.overview-match.pending,.overview-preventive-choice-match) > .overview-score-row > .overview-player-main { grid-column:1; grid-row:2; min-width:0; }
 .operational-overview .overview-panel:not(.is-compact) .overview-score-row > .choice-remove-icon { grid-column:2; grid-row:2; justify-self:end; }
 .operational-overview .overview-panel:not(.is-compact) .overview-preventive-choice-match > .overview-possible-opponents { grid-column:2; grid-row:2; grid-template-columns:minmax(0,1fr); gap:8px; padding:14px 16px; border-left:1px solid var(--line); align-content:center; }
 .operational-overview .overview-panel:not(.is-compact) .overview-preventive-choice-match > .overview-reserve-risk-note { grid-column:1 / -1; }
 .operational-overview .overview-choice-recap.is-compact { width:max-content; max-width:100%; justify-self:start; box-sizing:border-box; }
}

@media(min-width:780px) {
 .operational-overview .overview-choice-recap.is-compact { width:var(--overview-sticky-width,max-content); margin-left:var(--overview-sticky-offset,0px); max-width:calc(100% - var(--overview-sticky-offset,0px)); }
}

.overview-compact-title { display:none; }
.operational-overview .overview-choice-recap.is-compact > .overview-compact-title { display:block; margin:0 0 8px; font-size:13px; line-height:1.4; font-weight:750; }
@media(min-width:780px) {
 .operational-overview .overview-choice-recap.is-compact { padding:10px 0 0; overflow:hidden; }
 .operational-overview .overview-choice-recap.is-compact > .overview-compact-title { padding:0 var(--overview-sticky-row-right,11px) 0 var(--overview-sticky-row-left,11px); }
 .operational-overview .overview-choice-recap.is-compact .overview-preventive-choice-match { border:0; border-radius:0; }
 .operational-overview .overview-choice-recap.is-compact :is(.overview-score-row.selection,.overview-choice-starter) { padding:10px var(--overview-sticky-row-right,11px) 10px var(--overview-sticky-row-left,11px); }
 .operational-overview .overview-choice-recap.is-compact :is(.overview-player-main,.overview-choice-starter) { gap:var(--overview-sticky-identity-gap,10px); }
 .operational-overview .overview-choice-recap.is-compact .player-identity { gap:var(--overview-sticky-name-gap,10px); }
 .operational-overview .overview-choice-recap.is-compact :is(.overview-player-main > .country-flag,.overview-choice-starter > .country-flag) { width:var(--overview-sticky-flag-width,24px); height:var(--overview-sticky-flag-height,16px); flex:0 0 var(--overview-sticky-flag-width,24px); }
 .operational-overview .overview-choice-recap.is-compact :is(.player-portrait,.player-portrait-placeholder) { width:var(--overview-sticky-portrait-size,38px)!important; height:var(--overview-sticky-portrait-size,38px)!important; flex:0 0 var(--overview-sticky-portrait-size,38px); }
 .operational-overview .overview-choice-recap.is-compact .choice-remove-icon { width:var(--overview-sticky-action-size,32px); height:var(--overview-sticky-action-size,32px); min-height:var(--overview-sticky-action-size,32px); flex:0 0 var(--overview-sticky-action-size,32px); }
}
@media(min-width:780px) {
 .operational-overview .overview-choice-recap.is-compact .overview-score-row.selection .overview-player-main,
 .operational-overview .overview-choice-recap.is-compact .overview-choice-list .overview-choice-starter { gap:var(--overview-sticky-identity-gap,10px); }
}

.overview-reserve-history-heading { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
@media(min-width:780px) {
 .operational-overview .overview-panel:not(.is-compact) :is(.overview-match.pending,.overview-preventive-choice-match) { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); }
 .operational-overview [data-overview-case="operational-later"] > .overview-action-panel > .selection-task-head { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,340px); align-items:start; gap:16px; }
}
.operational-overview .selection-task-head > h3 { min-width:0; }
.operational-overview .selection-task-head .overview-action-timing { min-width:0; max-width:100%; }
.operational-overview .selection-task-head .deadline-pending,
.operational-overview .selection-task-head .deadline-pending > span { min-width:0; max-width:100%; white-space:normal; overflow-wrap:anywhere; }
/* Keep complete player identities readable in narrower desktop matchup cells. */
.operational-overview .overview-panel:not(.is-compact) :is(.overview-match.pending,.overview-preventive-choice-match) .overview-player-main .player-identity { min-width:0; }
.operational-overview .overview-panel:not(.is-compact) :is(.overview-match.pending,.overview-preventive-choice-match) .overview-player-main .player-identity > span:last-child { white-space:normal; overflow:visible; overflow-wrap:anywhere; text-overflow:clip; }

/* Keep current matches separate from the consistent future-choice columns. */
@media(min-width:780px) {
 .operational-overview .overview-panel:not(.is-compact) .overview-match.pending:not(.overview-preventive-choice-match) { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .operational-overview .overview-choice-transition { display:grid; grid-template-columns:40% minmax(0,1fr); gap:0; justify-content:normal; }
 .operational-overview .overview-choice-transition > span { grid-column:1; grid-row:1; justify-self:end; width:20px; text-align:center; transform:translateX(50%); }
 .operational-overview .overview-choice-transition > small { grid-column:2; grid-row:1; margin-left:18px; }
}
.overview-choice-transition > small { font-size:inherit; line-height:inherit; }
.overview-possible-opponents-or { flex:0 0 auto; color:var(--muted); font-size:12px; font-weight:650; }
.overview-possible-opponent + .overview-possible-opponent { padding-left:0; border-left:0; }

/* The reserve occupies the rightmost fifth, keeping matchup dividers aligned. */
@media(min-width:780px) {
 .operational-overview .overview-current-round-grid.reserve-inline { grid-template-columns:minmax(0,4fr) minmax(0,1fr); }
}
.operational-overview .overview-reserve-history-player .player-identity > span:last-child { font-size:inherit; }

.overview-recap-meta { display:grid; justify-items:end; gap:5px; min-width:0; text-align:right; }
.overview-recap-meta > span { color:var(--muted); font-size:12px; }
.overview-recap-deadline { display:grid; gap:3px; min-width:0; max-width:100%; color:var(--green-dark); font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.overview-recap-deadline > span { font-weight:650; }
.overview-recap-deadline > small { color:var(--muted); font-size:11px; }
.overview-recap-deadline[data-recap-deadline="pending"] { color:var(--muted); }
@media(min-width:780px) {
 .operational-overview .overview-choice-recap:not(.is-compact) > .overview-section-head { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,320px); gap:16px; }
}
@media(max-width:779px) {
 .overview-recap-meta { justify-items:start; text-align:left; }
}

/* One shared match-sequence component for single and double choices. */
.overview-choice-slot { min-width:0; }
.overview-choice-list > .overview-choice-slot:only-child { grid-column:1 / -1; }
@media(min-width:780px) {
 .operational-overview .overview-choice-recap.has-multiple-choices:not(.is-compact) .overview-preventive-choice-match { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .operational-overview .overview-choice-recap.has-multiple-choices .overview-choice-transition { grid-template-columns:50% minmax(0,1fr); }
 .operational-overview .overview-choice-recap.is-compact[data-sticky-choices="2"] .overview-choice-list { grid-template-columns:repeat(2,var(--overview-sticky-unit-width,minmax(0,1fr))); gap:var(--overview-sticky-column-gap,12px); }
}
@media(max-width:779px) {
 .operational-overview .overview-choice-recap.has-multiple-choices .overview-choice-list { grid-template-columns:minmax(0,1fr); }
}
/* Let each full choice adapt to its own column width without breaking names. */
.operational-overview .overview-choice-recap.has-multiple-choices:not(.is-compact) .overview-choice-slot { container:overview-choice-slot / inline-size; }
@container overview-choice-slot (max-width:480px) {
 .operational-overview .overview-choice-recap.has-multiple-choices:not(.is-compact) .overview-choice-slot .overview-preventive-choice-match { display:block; }
 .operational-overview .overview-choice-recap.has-multiple-choices:not(.is-compact) .overview-choice-slot .overview-preventive-choice-match > .overview-score-row:not(.selection),
 .operational-overview .overview-choice-recap.has-multiple-choices:not(.is-compact) .overview-choice-slot .overview-preventive-choice-match > .overview-possible-opponents { border-left:0; border-top:1px solid var(--line); }
 .operational-overview .overview-choice-recap.has-multiple-choices:not(.is-compact) .overview-choice-slot .overview-choice-transition { display:flex; justify-content:center; gap:8px; }
 .operational-overview .overview-choice-recap.has-multiple-choices:not(.is-compact) .overview-choice-slot .overview-choice-transition > span { transform:none; }
 .operational-overview .overview-choice-recap.has-multiple-choices:not(.is-compact) .overview-choice-slot .overview-choice-transition > small { margin-left:0; }
}

/* Stacked alternatives use identity columns, without a redundant conjunction. */
.overview-possible-opponents-list.is-stacked { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; }
.overview-possible-opponents-list.is-stacked > .overview-possible-opponents-or { display:none; }
.overview-possible-opponents-list.is-stacked > .overview-possible-opponent { display:grid; grid-template-columns:24px minmax(0,1fr); align-items:center; gap:8px; width:100%; }
.overview-possible-opponents-list.is-stacked .player-identity { display:flex; align-items:center; gap:8px; min-width:0; }
.overview-possible-opponents-list.is-stacked :is(.player-portrait,.player-portrait-placeholder) { flex:0 0 30px; width:30px!important; height:30px!important; }
.overview-possible-opponents-list.is-stacked .player-identity > span:last-child { white-space:normal; overflow:visible; overflow-wrap:anywhere; }
/* Two aligned sticky slots retain their own rounded card and hover surface. */
.operational-overview .overview-choice-recap.is-compact[data-sticky-choices="2"] .overview-preventive-choice-match { border:1px solid var(--line); border-radius:12px; background:#fff; overflow:hidden; }
.operational-overview .overview-choice-recap.is-compact[data-sticky-choices="2"] .overview-preventive-choice-match:has(> .selection.has-action:is(:hover,:focus-within)) { border-color:#e3bcb6; }
@media(min-width:780px) {
 .operational-overview .overview-choice-recap.is-compact[data-sticky-choices="2"] { padding-bottom:10px; }
 .operational-overview .overview-choice-recap.is-compact[data-sticky-choices="2"] .overview-score-row.selection { padding-left:calc(var(--overview-sticky-row-left,11px) - 1px); padding-right:calc(var(--overview-sticky-row-right,11px) - 1px); }
}
@media(max-width:779px) {
 .operational-overview .overview-choice-recap.is-compact[data-sticky-choices="2"] .overview-score-row.selection { padding-inline:11px; }
}

/* Emphasise the user’s selections consistently in full and sticky recaps. */
.operational-overview :is(.overview-score-row.selection,.overview-choice-starter,.overview-choice-reserve-summary.selected,.overview-reserve-history-player) .player-identity > span:last-child { font-weight:750; }

/* Match player-name sizing across current and planned Overview rounds. */
.operational-overview .overview-match .player-identity,
.operational-overview .overview-possible-opponent { font-size:16px; }

.overview-recap-timing { min-width:0; max-width:100%; }
@media(max-width:779px) {
 .operational-overview .overview-choice-recap:not(.is-compact) > .overview-section-head { display:flex; flex-direction:column; align-items:stretch; }
 .operational-overview .overview-choice-recap:not(.is-compact) .overview-recap-meta { width:100%; }
}

/* Home uses the shared deadline states at a compact card scale. */
.home-round-timing { width:100%; min-width:0; }
.home-round-timing .overview-action-timing { margin:0; min-width:0; flex-wrap:wrap; gap:4px 8px; align-items:baseline; }
.home-round-timing .overview-action-timing strong { font-size:18px; font-weight:750; color:var(--green-dark); font-variant-numeric:tabular-nums; }
.home-round-timing .overview-action-timing .deadline-pending { font-size:12px; font-weight:600; color:var(--muted); line-height:1.5; text-align:right; }
@media(max-width:779px) {
 .home-round-timing .overview-action-timing { justify-content:flex-start; }
 .home-round-timing .overview-action-timing.session-cutoff-timing { align-items:flex-start; }
 .home-round-timing .overview-action-timing .deadline-pending { text-align:left; }
 .home-round-timing .provisional-reason { justify-content:flex-start; }
}
/* Keep Home availability to two rows when desktop space permits. */
@media(min-width:780px) {
 .home-round-timing .deadline-pending:has(.provisional-time) { display:flex; align-items:center; gap:6px; white-space:nowrap; }
 .home-round-timing .deadline-pending .provisional-reason { display:contents; }
 .home-round-timing .deadline-pending .provisional-reason-label { order:0; }
 .home-round-timing .deadline-pending .provisional-time { order:1; padding-right:0; }
 .home-round-timing .deadline-pending .provisional-time::before { content:none; }
 .home-round-timing .deadline-pending .info-tip { order:2; }
}

.home-round-heading p { margin-top:16px; white-space:pre-line; }
.home-round-timing .provisional-reason-label::after { content:':'; }
/* Let explanatory copy follow the title without waiting for the timing column. */
@media(min-width:1000px) {
 .home-round-heading:has(> p) { display:grid; grid-template-columns:minmax(0,1fr) max-content; gap:8px 24px; align-items:start; }
 .home-round-heading:has(> p) > .home-round-heading-main { display:contents; }
 .home-round-heading:has(> p) > .home-round-heading-main > h3 { grid-column:1; grid-row:1; }
 .home-round-heading:has(> p) > .home-round-heading-main > .home-round-availability { grid-column:2; grid-row:1 / span 2; align-self:start; display:grid; grid-template-columns:minmax(0,1fr) max-content; justify-content:end; }
 .home-round-heading:has(> p) .home-round-availability > :is(span,a) { justify-self:end; }
 .home-round-heading:has(> p) .home-round-timing { grid-column:1 / -1; }
 .home-round-heading:has(> p) > p { grid-column:1; grid-row:2; min-width:0; margin:0; }
}

@media(min-width:780px) and (max-width:999px) {
 .home-round-heading > p { margin-top:8px; }
}

/* Contextual Overview warnings introduce each path before its matches. */
.overview-choice-path > .overview-reserve-risk-note { margin:0 0 14px; }
.overview-reserve-risk-note .overview-risk-copy { min-width:0; }
.overview-reserve-risk-note .overview-risk-copy p + p { margin-top:6px; font-weight:500; }

/* Preserve readable details in flow; pin a separate player-only mirror only
   after all target selection rows have left the unobscured viewport. */
.operational-overview [data-overview-choice-recap] { position:static!important; }
.operational-overview .overview-sticky-mirror.is-compact { position:fixed!important; z-index:12; width:var(--overview-sticky-width,var(--overview-sticky-parent-width)); max-width:var(--overview-sticky-parent-width); }
.overview-sticky-mirror > :not(.overview-compact-title):not(.overview-choice-list) { display:none; }

/* Home shares Overview risk copy and keeps identity scale consistent by stage. */
.home-player-choice-path + .home-player-choice-path { margin-top:18px; }
.home-player-choice-path > .overview-reserve-risk-note { margin:0 0 14px; }
.home-round-incomplete { margin:0 0 14px; color:var(--muted); font-size:13px; line-height:1.5; }
.home-round-match :is(.home-supporting-choice-player,.future-pick-opponents > div > span) { font-size:13px; }
.home-round-match :is(.home-supporting-choice-player,.future-pick-opponents) .player-portrait { width:30px!important; height:30px!important; min-width:30px; }
.home-round-match .home-supporting-choice--next .future-pick-opponents strong { font-weight:400; }
.home-round-match .standing-player-identity { font-size:13px!important; }
.home-round-match .country-flag { font-size:12px; }
.home-round-match .player-portrait-placeholder { width:30px!important; height:30px!important; min-width:30px; }

/* A single Home message explains each pick and its explicit target round. */
.home-choice-context { margin:0 0 14px; color:var(--muted); font-size:13px; line-height:1.5; }
.home-choice-context p { margin:0; }
.home-choice-context p + p { margin-top:6px; }
.home-choice-context strong { color:var(--ink); }
.home-choice-stage-label { display:block; }
.home-round-match h4 > small { display:block; margin-top:3px; color:var(--muted); font-size:11px; font-weight:500; }
.home-round-next small { text-align:center; }

/* Overview uses the same explicit qualification/target step copy as Home. */
.overview-choice-stage-heading { display:grid; gap:3px; min-width:0; }
.overview-choice-stage-heading > small { color:var(--muted); font-size:11px; font-weight:500; line-height:1.5; }
.overview-choice-stage-heading > strong { overflow-wrap:anywhere; }

/* Compact own-choice history, with one shared header and uninterrupted rows. */
.past-choices-toggle { display:inline-flex; align-items:center; gap:6px; width:fit-content; max-width:100%; min-height:30px; padding:0; border:0; background:transparent; color:var(--green); font:inherit; font-size:13px; font-weight:650; cursor:pointer; text-align:left; }
.past-choices-toggle:hover { text-decoration:underline; text-underline-offset:3px; }
.past-choices-toggle:focus-visible { outline:2px solid var(--green); outline-offset:4px; border-radius:3px; }
.past-choices-chevron { flex:none; transition:transform .15s; }
.past-choices-hide,.past-choices-toggle[aria-expanded="true"] .past-choices-show { display:none; }
.past-choices-toggle[aria-expanded="true"] .past-choices-hide { display:inline; }
.past-choices-toggle[aria-expanded="true"] .past-choices-chevron { transform:rotate(180deg); }
.past-choices { min-width:0; margin:0 0 18px; }
.past-choices[hidden] { display:none !important; }
.past-choices-table { overflow:hidden; border:1px solid var(--line); border-radius:12px; background:#fff; }
.past-choices-head { display:grid; grid-template-columns:104px minmax(0,1fr) minmax(0,1fr) 110px 70px; gap:14px; padding:11px 14px 8px; background:#f8faf7; color:var(--muted); font-size:10px; font-weight:750; text-transform:uppercase; letter-spacing:.06em; }
.past-choices-matches { display:grid; gap:0; margin:0; padding:0; }
.past-choices .standing-pick-row { min-height:62px; padding:10px 14px; border:0; border-radius:0; background:transparent; }
.past-choices .standing-pick-row + .standing-pick-row { border-top:1px solid var(--line); }
.past-choices .standing-pick-row small { display:none; }
.past-choices .standing-outcome > span { font-size:12px; font-weight:700; }
.past-choices .standing-score > span { font-size:13px; }
.home-participant-status { display:flex; flex-wrap:wrap; align-items:center; gap:0 12px; }
.home-participant-status > strong { flex-basis:100%; }
.home-participant-status > .past-choices-toggle { padding-left:12px; border-left:1px solid var(--line); }
.home-current-card-head:has(.past-choices-toggle) { margin-bottom:14px; }
.overview-hero:has(.past-choices-toggle) { padding:22px 26px; gap:18px 24px; }
.overview-hero:has(.past-choices-toggle) .overview-hero-copy { display:grid; justify-items:start; align-content:start; gap:4px; }
.overview-hero:has(.past-choices-toggle) .overview-hero-copy h2 { flex-basis:100%; margin-bottom:10px; font-size:clamp(25px,2.7vw,32px); }
.overview-hero:has(.past-choices-toggle) .overview-hero-context { margin:0; font-size:14px; }
.overview-hero:has(.past-choices-toggle) .overview-hero-subtitle { flex-basis:100%; }
.overview-hero:has(.past-choices-toggle) .overview-hero-actions { gap:9px; }
.overview-hero:has(.past-choices-toggle) .overview-hero-stats > div { min-width:145px; padding:10px 12px; }
.overview-hero > .past-choices { grid-column:1 / -1; margin:0; }
@media(max-width:1100px) and (min-width:780px) {
 .past-choices-head { grid-template-columns:85px minmax(0,1fr) minmax(0,1fr) 85px 65px; gap:10px; }
 .past-choices .standing-pick-row { grid-template-columns:85px minmax(0,1fr) 85px 65px; gap:10px; }
}
@media(max-width:779px) {
 .past-choices-head { display:none; }
 .past-choices .standing-pick-row { padding:10px 12px; }
 .past-choices .standing-player-name-full { display:block !important; white-space:normal; }
 .past-choices .standing-player-name-short { display:none !important; }
 .past-choices .standing-player-identity { font-size:13px !important; }
 .past-choices .standing-round-long { display:block !important; }
 .past-choices .standing-round-short { display:none !important; }
 .overview-hero:has(.past-choices-toggle) { padding:18px; gap:12px; }
 .overview-hero:has(.past-choices-toggle) .overview-hero-actions { align-items:stretch; flex-direction:column-reverse; gap:8px; }
 .overview-hero:has(.past-choices-toggle) .overview-hero-stats > div { min-width:0; }
 .home-participant-status > .past-choices-toggle { padding-left:0; border-left:0; }
}
@media(min-width:780px) {
 .past-choices .standing-pick-row:not(.standing-withdrawal) { grid-template-columns:104px minmax(0,1fr) minmax(0,1fr) 110px 70px; align-items:center; }
 .past-choices .standing-pick-row:not(.standing-withdrawal) .standing-matchup { display:contents; }
}
@media(min-width:780px) and (max-width:1100px) {
 .past-choices .standing-pick-row:not(.standing-withdrawal) { grid-template-columns:85px minmax(0,1fr) minmax(0,1fr) 85px 65px; }
}
/* Keep each reused row's labels available to assistive technology. */
.past-choices .standing-pick-row small { display:block; position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.past-choices .standing-pick-row.won { background:#f1f8f3; }
.past-choices .standing-pick-row.lost { background:#fcf3f1; }
@media(max-width:779px) {
 .past-choices :is(.standing-matchup,.standing-opponent,.standing-score,.standing-score-player-row + .standing-score-player-row) { border-top:0; }
}
/* Mobile Overview: help at the top right, history before points. */
@media(max-width:779px) {
 .overview-hero:has(> .overview-hero-actions):has(.past-choices-toggle) { grid-template-columns:minmax(0,1fr); gap:10px; }
 .overview-hero:has(> .overview-hero-actions):has(.past-choices-toggle) > .overview-hero-actions { display:contents; }
 .overview-hero:has(> .overview-hero-actions):has(.past-choices-toggle) > .overview-hero-copy { grid-column:1; grid-row:1; width:100%; min-width:0; }
 .overview-hero:has(> .overview-hero-actions):has(.past-choices-toggle) > .overview-hero-actions > .points-info-link { grid-column:1; grid-row:1; justify-self:end; align-self:start; margin:0; display:block; max-width:110px; white-space:normal; text-wrap:balance; line-height:1.3; text-align:right; font-size:12px; }
 .overview-hero:has(> .overview-hero-actions):has(.past-choices-toggle) > .past-choices { grid-column:1; grid-row:2; }
 .overview-hero:has(> .overview-hero-actions):has(.past-choices-toggle) > .overview-hero-actions > .overview-hero-stats { grid-column:1; grid-row:3; }
 .overview-hero:has(> .past-choices[hidden]) > .overview-hero-actions > .overview-hero-stats { grid-row:2; }
 .overview-hero:has(> .overview-hero-actions):has(.past-choices-toggle) .overview-hero-copy h2 { width:100%; min-width:0; box-sizing:border-box; padding-right:122px; font-size:clamp(22px,6vw,25px); }
}

/* Home deadlines share the edit action's right edge on desktop. */
@media(min-width:780px) {
 .home-round-timing .overview-action-timing { justify-content:flex-end; text-align:right; }
 .home-round-timing .overview-action-timing.session-cutoff-timing { align-items:flex-end; }
 .home-round-timing .session-cutoff-summary { margin-left:auto; }
}

/* Keep compact compound names readable on the narrowest supported phones. */
@media(max-width:360px){
  .single-pick-selection{padding-left:10px;padding-right:10px}
  .single-pick-selection:not(.preemptive-selection-pool) .selection-mini-column-heads,
  .single-pick-selection .selection-mini-path{grid-template-columns:minmax(0,1fr) 14px 76px}
  .single-pick-selection .selection-mini-path.final-round{grid-template-columns:minmax(0,1fr)}
}

/* Deadline controls stay inside the protected admin panel at every width. */
[data-admin-deadline-preview] .admin-form-grid > label{min-width:0}
[data-admin-deadline-preview] :is(input,select,textarea){box-sizing:border-box;min-width:0;max-width:100%}

@media (max-width:600px){
 .admin-ranking-recovery>header{flex-direction:column;align-items:stretch;gap:16px}
 .admin-ranking-recovery>header .button{width:100%;white-space:normal;min-height:44px}
}

.champion-controls{flex-wrap:wrap}.champion-date-grid{margin-top:20px}.champion-sort select{min-height:44px}.champion-profile-identity h2{overflow-wrap:anywhere}

/* Champions controls share one visual alignment line in both games. */
.champion-board-heading h2{margin:0}
.champion-controls{align-items:center}
.champion-controls .ranking-tabs{box-sizing:border-box;height:50px;min-height:50px;margin:0;padding:5px;align-items:center}
.champion-controls .ranking-tabs button{box-sizing:border-box;height:40px;min-height:40px}
.champion-controls label{margin:0;gap:0;align-self:center}
.champion-controls select{box-sizing:border-box;height:50px;min-height:50px;margin:0}

/* The signed-out official league feature reuses the approved FantaTen card contract. */
.ps-official-league-feature{padding-top:28px!important}
.ps-official-league-card{overflow:hidden;border:1px solid #dce5dd;border-radius:28px;background:#fff;box-shadow:0 22px 55px rgba(18,43,28,.09)}
.ps-official-league-banner{position:relative;height:118px;isolation:isolate;background:linear-gradient(125deg,#0d5134,#347552 58%,#8eb19c)}
.ps-official-league-banner:after{content:"";position:absolute;right:7%;top:-18px;width:150px;height:150px;background:url('assets/brand/favicon.webp') center/contain no-repeat;opacity:.16;transform:rotate(12deg)}
.ps-official-league-content{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:34px;padding:0 34px 34px}
.ps-official-league-intro{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:start;gap:20px;margin-top:-38px}
.ps-official-league-logo{position:relative;z-index:2;display:grid;width:92px;height:92px;box-sizing:border-box;place-items:center;border:5px solid #fff;border-radius:50%;background:#fff;box-shadow:0 10px 28px rgba(21,50,33,.16)}
.ps-official-league-logo img{width:68px;height:68px}
.ps-official-league-copy{padding-top:52px}
.ps-official-league-copy h2{margin:0;font-size:clamp(28px,4vw,44px);line-height:1.05}
.ps-official-league-intro>p,.ps-official-league-intro>.ps-official-league-actions,.ps-official-league-intro>.ps-official-league-members{grid-column:2}
.ps-official-league-intro>p{max-width:660px;margin:14px 0 20px;color:#52635a;font-size:17px;line-height:1.55}
.ps-official-league-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.ps-official-league-actions .button{min-height:48px;background:#176b45}
.ps-official-league-actions .button:hover{background:#0d5134;filter:none}
.ps-official-league-members{color:#647168;font-size:14px;font-weight:750}
.ps-official-league-leaders{align-self:center;margin-top:28px;padding:20px;border-radius:20px;background:#f2f6f2}
.ps-official-league-leaders header{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:10px}
.ps-official-league-leaders h3{margin:0;font-size:20px}
.ps-official-league-leaders header span{color:#647168;font-size:12px;font-weight:850;letter-spacing:.07em;text-transform:uppercase}
.ps-official-leader{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:50px;border-top:1px solid #dbe4dc}
.ps-official-leader:first-of-type{border-top:0}
.ps-official-leader-profile{display:flex;align-items:center;gap:9px;min-width:0}
.ps-official-leader-profile .ranking-crest{width:27px;height:32px;flex:0 0 27px}
.ps-official-leader-profile b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ps-official-leader strong{font-variant-numeric:tabular-nums}
.ps-official-league-empty{margin:14px 0 0;color:#647168}
.ps-official-league-logo .ps-league-logo-badge{position:absolute;right:-9px;bottom:-9px;z-index:4;display:grid;width:27px;height:27px;box-sizing:border-box;place-items:center;border:3px solid #fff;border-radius:50%;background:#176b45;box-shadow:0 3px 10px rgba(18,43,28,.2);color:#fff;font-size:14px;font-weight:950;line-height:1}
@media(max-width:760px){
 .ps-official-league-feature{padding-top:14px!important}
 .ps-official-league-banner{height:90px}
 .ps-official-league-banner:after{right:2%;top:-12px;width:112px;height:112px}
 .ps-official-league-content{grid-template-columns:1fr;gap:4px;padding:0 20px 22px}
 .ps-official-league-intro{grid-template-columns:74px minmax(0,1fr);gap:14px;margin-top:-31px}
 .ps-official-league-logo{width:74px;height:74px}
 .ps-official-league-logo img{width:52px;height:52px}
 .ps-official-league-copy{padding-top:39px}
 .ps-official-league-copy h2{font-size:27px}
 .ps-official-league-intro>p,.ps-official-league-intro>.ps-official-league-actions,.ps-official-league-intro>.ps-official-league-members{grid-column:1/-1}
 .ps-official-league-intro>p{font-size:16px}
 .ps-official-league-actions .button{width:100%}
 .ps-official-league-leaders{margin-top:20px;padding:16px}
 .ps-official-leader{grid-template-columns:20px minmax(0,1fr) auto;gap:8px;font-size:13px}
 .ps-official-leader-profile{gap:7px}
 .ps-official-leader-profile .ranking-crest{width:23px;height:28px;flex-basis:23px}
}
@media(max-width:560px) {
  .nickname-announcement-layer { padding:16px; }
  .nickname-announcement-dialog { width:min(100%,420px); max-height:calc(100dvh - 32px); padding:26px 22px; overflow:auto; border-radius:24px; }
  .nickname-announcement-close { top:12px; right:12px; }
}
.selection-history-row { cursor: default; }
.selection-history-row.unavailable { pointer-events: auto; }
.selection-player-history { align-self: stretch; flex: 1; display: flex; align-items: center; min-width: 0; border: 0; padding: 0; text-align: start; background: none; color: inherit; font: inherit; cursor: pointer; }
.selection-player-history:hover .selection-player-name { text-decoration: underline; text-underline-offset: .14em; }
.selection-history-row button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.selection-history-row button.overview-option-action { padding: 0; cursor: pointer; }
.selection-history-row button.overview-option-action:disabled { cursor: default; }
.selection-history-row.selected:has(.selection-player-history:hover):not(:has(.overview-option-action:hover)) .overview-option-action { background: var(--green); border-color: var(--green); color: white; }
.selection-history-row.selected:has(.selection-player-history:hover):not(:has(.overview-option-action:hover)) .overview-option-action::after { content: none; }

.passing-player-history:not(.selection-player-history) { border:0; padding:0; min-width:0; background:none; color:inherit; font:inherit; text-align:start; cursor:pointer; }
.passing-player-history:hover, .passing-player-history:focus-visible { text-decoration:underline; text-underline-offset:.14em; }
.bracket-player-history > .bracket-name { display:flex; min-width:0; }

.passing-player-history { max-width:100%; }
.passing-inline-player { display:inline-flex; align-items:center; gap:6px; }
.selection-history-row button.overview-bench-option-action { border:0; cursor:pointer; }
.ph-player-details .ph-dialog-head h2 { display:flex; align-items:center; min-width:0; gap:8px; }
