:root {
  color-scheme: light;
  --suzie-pink-dark: #893b30;
  --suzie-pink: #ffbba6;
  --suzie-pink-light: #ffe4d9;
  --mint-mist-dark: #476b54;
  --mint-mist: #d9e9d9;
  --mint-mist-light: #f0f7ee;
  --blackbird-dark: #171717;
  --blackbird: #333333;
  --blackbird-light: #898989;
  --red-beanie-dark: #6d2017;
  --red-beanie: #ee583f;
  --red-beanie-light: #fff2eb;
  --aquatic-dark: #245851;
  --aquatic: #a4ccc4;
  --aquatic-light: #dff3ec;
  --moonrise-dark: #80664d;
  --moonrise: #fcf3ea;
  --moonrise-light: #fffbf5;
  --scout-dark: #384a23;
  --scout: #97aa6a;
  --scout-light: #e6f0ba;
  --marigold-dark: #704506;
  --marigold: #fbb94b;
  --marigold-light: #ffe8b7;
  --watercolor-blackbird: #a6a7a3;
  --watercolor-blackbird-dark: #4a4c49;
  --watercolor-moonrise: #d5b99e;
  --watercolor-moonrise-dark: #74543d;
  --ball-accent: #9ba971;
  --paper: var(--moonrise-light);
  --ink: var(--blackbird-dark);
  --quiet: #525652;
  --rail: #eeeae4;
  --line: #dedbd5;
  --clay-dark: var(--red-beanie-dark);
  --sans: "Google Sans Flex", system-ui, sans-serif;
  --mono: "bc-sklonar", "IBM Plex Mono", ui-monospace, monospace;
  --display: "Instrument Serif", Georgia, serif;
  --gutter: clamp(17px, 5vw, 68px);
  --site-width: 1280px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 300 16px/1.5 var(--sans); }
button, select { color: inherit; font: inherit; }
button { cursor: pointer; }
a { color: var(--aquatic-dark); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--aquatic-dark); outline-offset: 4px;
}
.skip { position: absolute; top: 8px; left: 8px; padding: 8px 12px; background: var(--paper); transform: translateY(-200%); z-index: 1; }
.skip:focus { transform: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 { font: italic 400 1em/1.02 var(--display); letter-spacing: -.028em; }
h1 { font-size: clamp(2.8rem, 6.1vw, 5.7rem); }
h2 { font-style:normal; font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2.7vw, 1.65rem); font-weight: 500; }
.mono { font: 400 .76rem/1.4 var(--mono); font-variant-numeric: tabular-nums; }
.eyebrow, .folio, .bio dt, .filters label, .service-box h4, .zone span, .court-net, thead th {
  text-transform: uppercase;
  letter-spacing: .065rem;
}
.eyebrow { margin-bottom: 10px; color: var(--quiet); }
.eyebrow::before { content: "[ "; }
.eyebrow::after { content: " ]"; }
.edge-module { border-block: 1px solid var(--line); }
.edge-content, .court-shell { max-width: var(--site-width); margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; padding: 15px var(--gutter); }
.wordmark { color: var(--ink); font: 900 clamp(1.35rem, 2.5vw, 1.8rem)/1.15 var(--sans); letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.wordmark img { width: 1ex; height: 1ex; margin-inline: .025em; vertical-align: -.018em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 20px; }
.nav a { color: var(--ink); padding: 8px 0 6px; text-decoration: none; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--aquatic-dark); border-bottom-color: var(--aquatic-dark); }
.folio { color: var(--quiet); white-space: nowrap; }
.court-shell { padding-inline: var(--gutter); border-inline: 1px solid var(--rail); }
.court-inner { border-inline: 1px solid var(--rail); }
.section { padding: clamp(22px, 4vw, 50px) clamp(15px, 4vw, 52px); }
.service-module { border-block-start: 1px solid var(--line); }
#profile > .service-module { margin-top: -1px; }
.service-boxes { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block-end: 1px solid var(--line); }
.service-boxes::after { position: absolute; inset-block: 0; left: 50%; width: 1px; background: var(--rail); pointer-events: none; content: ""; }
.service-cell { min-width: 0; min-height: 0; aspect-ratio: 1; }
.service-image { position: relative; overflow: hidden; }
.service-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.service-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(14px, 3.6vw, 50px); overflow-wrap: anywhere; }
.service-text h2 + p { margin-top: 8px; }
.lead-copy h1 { font-size: clamp(2rem, 5.9vw, 5.2rem); margin-bottom: clamp(10px, 2vw, 20px); }
.profile-rankline { display:flex; flex-wrap:wrap; gap:8px 24px; margin-bottom:18px; font-size:.85rem; }
.profile-rankline > div { display:flex; align-items:baseline; gap:7px; }
.profile-rankline dt { color:var(--quiet); }
.profile-rankline dd { font-weight:600; font-variant-numeric:tabular-nums; }
.player-overview .profile-rankline { margin-top:16px; }
.rank-history-chart .rank-history-line { fill:none; stroke:var(--aquatic-dark); stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.rank-history-chart .rank-log { stroke:var(--red-beanie-dark); stroke-dasharray:5 4; }
.rank-history-chart .rank-linear-dot { stroke:var(--aquatic-dark); }
.rank-history-chart .rank-log-dot { stroke:var(--red-beanie-dark); }
.rank-history-legend { display:flex; flex-wrap:wrap; gap:8px 22px; font-size:.8rem; }
.rank-history-legend span { display:flex; align-items:center; gap:8px; }
.rank-history-legend span::before { content:""; width:22px; border-top:3px solid currentColor; }
.rank-history-legend .rank-log-label::before { border-top-style:dashed; }
.rank-history-chart .rank-linear-label, .rank-linear-label { color:var(--aquatic-dark); fill:var(--aquatic-dark); }
.rank-history-chart .rank-log-label, .rank-log-label { color:var(--red-beanie-dark); fill:var(--red-beanie-dark); }
.rank-log-tick { stroke:var(--red-beanie-dark); opacity:.5; }
.rank-history-chart:focus-visible { outline:2px solid var(--aquatic-dark); }
@media (prefers-reduced-motion:no-preference) { .rank-history-chart[data-reveal="pending"] .rank-history-line { opacity:0; } }
.lead-links { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 16px; }
.center-module > .court-shell { position: relative; border-block-end: 1px solid var(--line); }
.center-module > .court-shell::after { position: absolute; bottom: 0; left: 50%; width: 1px; height: 9px; background: var(--line); pointer-events: none; content: ""; }
.module-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; object-position: center 28%; }
.edge-module > .module-image { aspect-ratio: 4 / 1; }
.svg-defs { position: absolute; }
:root[data-portrait-family] [data-portrait-art] { filter: url(#portrait-inks); }
.bio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-bottom: 22px; }
.bio div { min-width: 0; }
.bio dt { font: 400 .72rem/1.4 var(--mono); color: var(--quiet); }
.bio dd { margin-top: 3px; font-weight: 500; overflow-wrap: anywhere; }
.representation { display:flex; align-items:center; gap:10px; margin-bottom:14px; color:var(--quiet); text-transform:uppercase; letter-spacing:.065rem; }
.representation img, .representation .neutral-flag { width:30px; height:20px; object-fit:contain; }
.neutral-flag { display:block; background:var(--watercolor-blackbird); }
.bio dd a { color:inherit; text-decoration:none; }
.bio dd a:hover { text-decoration:underline; text-underline-offset:3px; }
.hero-art { position:relative; overflow:hidden; }
.hero-art .hero-shot { position:absolute; inset:0; width:100%; height:100%; opacity:0; transition:opacity 140ms linear; }
.hero-art .hero-shot.is-current { opacity:1; }
/* Full-frame, constant-size panning for the two action frames only. */
.hero-art .hero-underpainting {opacity:1;mask:none;clip-path:none;}
.hero-art .hero-pigment {display:none;}
.hero-art .hero-shot:not(.hero-shot--portrait) .hero-underpainting {inset:-2%;width:104%;height:104%;}
.hero-art.is-playing .hero-shot:not(.hero-shot--portrait).is-current .hero-underpainting {animation:action-pan 1800ms linear both;}
.hero-art .hero-shot--portrait,.hero-art .hero-shot--portrait img {animation:none!important;transform:none!important;}
@keyframes action-pan {from{transform:translate(-.8%,.4%);}to{transform:translate(.8%,-.4%);}}
.art-replay { position:absolute; inset:auto 12px 12px auto; z-index:2; padding:6px 9px; border:1px solid var(--line); background:var(--paper); color:var(--aquatic-dark); text-transform:uppercase; letter-spacing:.065rem; font-size:.65rem; }
.art-replay:disabled { cursor:default; opacity:.55; }
.season-heading { margin-top:28px; }
.year-tabs { display:flex; flex-wrap:wrap; gap:3px; }
.year-tabs button { min-width:51px; min-height:38px; padding:7px 10px; border:0; border-bottom:2px solid transparent; background:transparent; font:400 .8rem var(--mono); }
.year-tabs button[aria-selected="true"] { border-bottom-color:var(--aquatic-dark); color:var(--aquatic-dark); }
.year-tabs button:hover { color:var(--aquatic-dark); }
.ranking-figure { margin-top:7px; }
.ranking-chart { display:block; width:100%; height:294px; overflow:visible; outline-offset:4px; }
.ranking-grid { stroke:var(--rail); stroke-width:1; }
.ranking-axis { fill:var(--quiet); font:400 11px var(--mono); }
.ranking-line { fill:none; stroke-linecap:round; stroke-linejoin:round; }
.ranking-main { stroke:var(--aquatic-dark); stroke-width:2.5; }
.ranking-peer { stroke:var(--ink); stroke-opacity:.14; stroke-width:1.2; transition:stroke-opacity 100ms,stroke-width 100ms; }
.ranking-peer.is-active { stroke:var(--aquatic-dark); stroke-opacity:.8; stroke-width:2; }
.ranking-main-dot { fill:var(--aquatic-dark); }
.ranking-peer-dot { fill:var(--ink); opacity:.2; }
.ranking-peer-dot.is-active { fill:var(--aquatic-dark); opacity:1; }
@media (prefers-reduced-motion:no-preference) {
  .ranking-chart[data-reveal="pending"] .ranking-line { opacity:0; }
}
.ranking-crosshair { stroke:var(--quiet); stroke-width:1; stroke-dasharray:2 5; opacity:.32; }
.ranking-selected { fill:var(--paper); stroke:var(--aquatic-dark); stroke-width:2; }
.chart-readout { display:flex; flex-wrap:wrap; gap:4px 15px; align-items:baseline; min-height:28px; font-size:.9rem; }
.readout-name { font-weight:500; color:var(--aquatic-dark); }
.chart-readout strong { font:400 1.05rem var(--mono); }
.chart-readout .mono { color:var(--quiet); font-size:.7rem; }
.cohort-primary { color:var(--aquatic-dark); }
.cohort-primary th { font-weight:600; }
.weekly-values { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:0 24px; margin-top:12px; }
.weekly-values > div { display:flex; flex-wrap:wrap; gap:5px 15px; justify-content:space-between; padding:5px 0; border-bottom:1px solid var(--rail); font-size:.85rem; }
.weekly-values dd { font-weight:500; }
.match-key { display:flex; flex-wrap:wrap; gap:7px 16px; color:var(--quiet); font-size:.8rem; }
.match-key > span { display:inline-flex; align-items:center; gap:6px; }
.match-key-dot, .match-dot { display:inline-grid; place-items:center; flex:none; border-radius:50%; aspect-ratio:1; padding:0; font:500 10px/1 var(--mono); text-align:center; }
.match-key-dot { width:18px; height:18px; font-style:normal; font-size:9px; }
.match-dot { width:23px; height:23px; min-width:23px; min-height:23px; border:1px solid transparent; }
.win { background:var(--aquatic-dark); color:var(--paper); border:1px solid var(--aquatic-dark); }
.loss { background:transparent; color:var(--clay-dark); border:1px solid var(--clay-dark); }
.pending { background:transparent; color:var(--quiet); border:1px dashed var(--quiet); }
.match-dot:hover, .match-dot[aria-pressed="true"] { outline:2px solid var(--ink); outline-offset:3px; }
.match-dot[data-special] { border-style:dashed; }
.round-dots { display:flex; justify-content:center; flex-wrap:nowrap; gap:4px; }
.tournament-matrix { overflow-x:auto; margin-top:14px; }
.season-table { min-width:700px; }
.season-table th, .season-table td { background:transparent; padding:12px 5px; vertical-align:middle; }
.season-table thead th:not(:first-child) { text-align:center; font-size:.68rem; }
.season-table tbody th { width:31%; text-align:left; font-weight:500; font-size:.9rem; }
.season-table td { text-align:center; min-width:35px; }
.season-table .empty-round::after { content:"·"; color:var(--line); }
.tournament-meta { display:block; margin-top:2px; color:var(--quiet); font:400 .65rem/1.4 var(--mono); text-transform:uppercase; letter-spacing:.065rem; }
.tournament-meta::before { display:inline-block; width:5px; height:5px; margin-inline-end:6px; vertical-align:2px; background:var(--quiet); content:""; }
.surface-hard::before { background:var(--aquatic-dark); }
.surface-clay::before { background:var(--red-beanie); }
.surface-grass::before { background:var(--scout); }
.match-selection { color:var(--quiet); font-size:.85rem; margin-top:14px; min-height:1.5em; }
.match-tooltip { position:fixed; z-index:10; display:grid; gap:3px; max-width:min(330px,calc(100vw - 16px)); padding:10px 13px; background:var(--paper); color:var(--ink); border:1px solid var(--line); pointer-events:none; font-size:.87rem; line-height:1.4; }
.match-tooltip strong { font-weight:600; }
.match-tooltip small { color:var(--quiet); font-size:.75rem; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (prefers-reduced-motion:reduce) {
  .hero-art .hero-shot { transition:none; animation:none !important; transform:none !important; }
  .hero-art .hero-underpainting { animation:none !important; opacity:1 !important; }
  .hero-art .hero-pigment { display:none; }
  .hero-art .hero-shot--serve, .hero-art .hero-shot--backhand, .hero-art .hero-shot--celebration { opacity:0 !important; }
  .hero-art .hero-shot--portrait { opacity:1 !important; }
  .art-replay { display:none; }
}
@media (max-width:760px) {
  .lead-copy .representation { margin-bottom:8px; font-size:.65rem; }
  .lead-copy .representation img, .lead-copy .representation .neutral-flag { width:24px; height:16px; }
  .lead-copy .bio { gap:6px 10px; }
  .lead-copy .bio dt { font-size:.64rem; }
  .lead-copy .bio dd { font-size:.82rem; }
}
@media (max-width:620px) {
  .season-heading { align-items:start; }
  .year-tabs { gap:0; }
  .year-tabs button { min-width:44px; padding-inline:7px; }
  .season-table, .season-table tbody { display:block; min-width:0; width:100%; }
  .season-table thead { display:none; }
  .season-table tbody tr { display:flex; flex-wrap:wrap; column-gap:12px; row-gap:8px; border-bottom:1px solid var(--line); padding:15px 0; }
  .season-table tbody th { display:block; width:100%; padding:0 0 3px; border:0; }
  .season-table td { display:flex; flex-direction:column; align-items:center; gap:5px; min-width:23px; padding:0; border:0; }
  .season-table td::before { content:attr(data-round); color:var(--quiet); font:400 .62rem var(--mono); letter-spacing:.065rem; }
  .season-table .empty-round { display:none; }
  .tournament-matrix { overflow:visible; }
  .chart-readout { gap:5px 10px; }
  .chart-readout .mono { flex-basis:100%; }
  .cohort-table { min-width:540px; }
}
.text-link { display: inline-flex; gap: .55em; align-items: baseline; align-self: flex-start; font-weight: 500; }
.text-link span { display: inline-block; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 22px; }
.section-head p:not(.eyebrow) { margin-top: 4px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; }
.filters label { display: flex; flex-direction: column; gap: 4px; color: var(--quiet); font: 400 .72rem/1.3 var(--mono); }
.filters select { min-height: 38px; max-width: 100%; padding: 6px 26px 6px 9px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: 500 .86rem/1.2 var(--sans); text-transform: none; letter-spacing: normal; border-radius: 0; }
.context { color: var(--quiet); margin-block: 15px 14px; }
.metric-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.metric-strip div { padding: 12px clamp(6px, 1.5vw, 18px); border-inline-end: 1px solid var(--rail); }
.metric-strip div:first-child { padding-inline-start: 0; }
.metric-strip div:last-child { border-inline-end: 0; }
.metric-strip dt { color: var(--quiet); font-weight: 500; font-size: .89rem; }
.metric-strip dd { font: 300 clamp(1.18rem, 3vw, 2rem)/1.45 var(--mono); }
.chart-head { margin-block: 26px 14px; }
.segmented { display: flex; gap: 1px; border: 1px solid var(--line); }
.segmented button { min-height: 40px; border: 0; border-bottom: 2px solid transparent; padding: 6px 12px; background: transparent; white-space: nowrap; font-weight: 500; }
.segmented button[aria-pressed="true"] { color: var(--aquatic-dark); border-bottom-color: var(--aquatic-dark); }
.service-court { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.service-box + .service-box { border-inline-start: 1px solid var(--line); }
.service-box h4 { margin: 0; padding: 8px 5px; text-align: center; border-bottom: 1px solid var(--line); }
.zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zone { display: grid; justify-items: center; align-content: center; gap: 4px; aspect-ratio: 1; min-width: 0; min-height: 0; border: 0; border-inline-end: 1px solid var(--line); padding: 8px 1px; background: var(--zone-fill, transparent); }
.zone:last-child { border-inline-end: 0; }
.zone[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--aquatic-dark); }
.zone:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 3px; }
.zone:disabled { cursor: default; }
.zone strong { font: 400 clamp(.77rem, 2.25vw, 1.26rem)/1.1 var(--mono); }
.zone span { font: 400 clamp(.72rem, 1.6vw, .86rem)/1.2 var(--mono); }
@media (prefers-reduced-motion: no-preference) {
  .service-court[data-reveal] .zone { transition: background-color 1500ms ease var(--zone-delay); }
  .service-court[data-reveal] .zone strong {
    transition: opacity 1050ms ease calc(var(--zone-delay) + 350ms), transform 1050ms ease calc(var(--zone-delay) + 350ms);
  }
  .service-court[data-reveal="pending"] .zone { background-color: transparent; }
  .service-court[data-reveal="pending"] .zone:not(:focus) strong { opacity: 0; transform: translateY(4px); }
}
.court-net { grid-column: 1 / -1; border-top: 2px solid var(--line); text-align: center; padding: 3px; color: var(--quiet); }
.zone-detail { margin-block: 12px; min-height: 1.5em; color: var(--quiet); }
.definitions { border-top: 1px solid var(--rail); margin-top: 16px; padding-top: 12px; }
.definitions summary { width: fit-content; cursor: pointer; font-weight: 500; }
.definitions p { margin-top: 8px; }
.matchup-intro { position:relative; isolation:isolate; padding-block:clamp(40px,6vw,76px); }
.matchup-intro::before { position:absolute; inset:0; z-index:-1; background:url("/assets/matchup-opposing-wash.webp") center / cover no-repeat; opacity:.87; pointer-events:none; content:""; }
.matchup-intro h1 span { display:inline-block; margin-inline:.1em; font-family:var(--sans); font-size:.35em; font-style:normal; font-weight:500; letter-spacing:0; vertical-align:middle; }
.intro-topline { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:8px 20px; margin-bottom:18px; }
.intro-topline .eyebrow { margin:0; }
.analysis-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(28px,5vw,66px); margin-top:30px; }
#analysis-review { text-transform:uppercase; letter-spacing:.065rem; }
.analysis-column h3 { font:400 1.75rem/1.18 var(--display); letter-spacing:-.015em; }
.analysis-column p { margin-top:15px; line-height:1.7; }
.analysis-column a { color:var(--red-beanie); font-weight:500; text-decoration:none; }
.source-notes { display:inline; padding-left:.25em; font:400 .66rem var(--mono); white-space:nowrap; }
.source-notes a { color:var(--aquatic-dark); text-decoration:none; }
.source-notes a:hover { text-decoration:underline; }
.analysis-column a,.analysis-column a:hover {color:var(--red-beanie);text-decoration:none;}
.reporting-sources { margin-top:28px; }
.reporting-sources ol { margin:14px 0 0; padding-left:23px; }
.reporting-sources li { margin-top:8px; font-size:.88rem; }
.schedule-direct { margin-top:20px; color:var(--quiet); }
.upcoming-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(28px,5vw,66px); margin-block:27px; }
.upcoming-player h3 { font-size:1.15rem; }
.upcoming-player h3 a { color:var(--ink); text-decoration:none; }
.upcoming-player > p { margin-top:14px; color:var(--quiet); }
.fixture-list { list-style:none; margin:12px 0 0; padding:0; }
.fixture-list li { padding-block:14px; border-top:1px solid var(--rail); }
.fixture-date { color:var(--quiet); text-transform:uppercase; letter-spacing:.065rem; }
.fixture-opponent { font-size:1.15rem; font-weight:500; margin-top:4px; }
.fixture-event { font-size:.87rem; color:var(--quiet); margin-top:5px; }
.play-metrics { margin-top:28px; }
.play-comparison { display:grid; grid-template-columns:minmax(250px,.95fr) minmax(280px,1.05fr); align-items:center; gap:clamp(24px,4vw,48px); margin-top:20px; }
.play-detail-table { width:100%; }
.play-detail-table th { text-align:left; }
.play-detail-table td { text-align:right; }
.play-detail-table button { padding:7px 0; border:0; background:transparent; text-align:left; font-weight:500; }
.play-detail-table .is-active button { color:var(--aquatic-dark); text-decoration:underline; text-underline-offset:5px; }
.net-scatter { min-width:0; }
.net-scatter svg { display:block; width:100%; height:auto; }
.net-dot { stroke:var(--ink); stroke-width:1; cursor:pointer; outline-offset:3px; }
.net-dot:focus { stroke-width:2; }
.play-metric figcaption { font:400 1.75rem/1.2 var(--display); }
.play-scale { margin-top:7px; color:var(--quiet); text-transform:uppercase; letter-spacing:.065rem; }
.play-row { margin-top:25px; }
.play-row-head { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:6px 12px; }
.play-row-head a { color:var(--ink); text-decoration:none; font-weight:500; }
.play-row-head strong { font-weight:500; font-variant-numeric:tabular-nums; }
.play-count { margin-top:5px; color:var(--quiet); font-size:.82rem; font-variant-numeric:tabular-nums; }
.play-insight { margin-top:28px; color:var(--quiet); font-size:.91rem; }
.sample-link { font-size:.82rem; white-space:nowrap; }
.market-chart { margin-top:22px; }
.market-chart svg { display:block; width:100%; height:auto; }
.market-chart figcaption { font-size:.83rem; color:var(--quiet); }
.market-trace { fill:none; stroke-width:2.5; }
#market-legend { margin-top:20px; }
@media (max-width:680px) {
  .analysis-columns,.upcoming-grid,.play-comparison { grid-template-columns:minmax(0,1fr); gap:28px; }
}
.filter-tabs { display:flex; flex-wrap:wrap; gap:3px; }
.filter-tabs button { padding:9px 12px; min-height:42px; border:0; border-bottom:2px solid transparent; background:transparent; font-size:.9rem; font-weight:500; }
.filter-tabs button[aria-selected="true"] { border-bottom-color:var(--ink); color:var(--ink); }
.filter-tabs button:hover { color:var(--aquatic-dark); }
.sample-tabs { margin-top:21px; }
.h2h-score { display:grid; grid-template-columns:1fr 1fr 1fr; gap:20px; align-items:start; margin-top:28px; text-align:center; }
.h2h-score dt { font-size:.95rem; font-weight:500; }
.h2h-score dt a { color:var(--ink); text-decoration:none; }
.h2h-score dt a:hover { text-decoration:underline; }
.h2h-score dd { display:grid; justify-items:center; gap:0; }
.h2h-score dd strong { font:400 clamp(3.4rem,7vw,6rem)/1.12 var(--display); }
.h2h-score .h2h-total strong { font-size:clamp(4rem,8.5vw,7rem); margin-top:-.04em; }
.h2h-player--a dd strong { text-decoration:underline; text-decoration-color:var(--red-beanie); text-decoration-thickness:5px; text-underline-offset:5px; }
.h2h-player--b dd strong { text-decoration:underline; text-decoration-color:var(--aquatic); text-decoration-thickness:5px; text-underline-offset:5px; }
.h2h-player dd .mono { margin-top:8px; color:var(--quiet); text-transform:uppercase; letter-spacing:.065rem; }
.series-leader { margin-top:5px; font-weight:500; }
.h2h-diverging { margin-top:28px; }
.bar-player-labels { display:grid; grid-template-columns:1fr 1fr; gap:24px; padding-left:110px; margin-bottom:12px; font-weight:500; }
.bar-player-labels span:last-child { text-align:right; }
.h2h-bar-row { display:grid; grid-template-columns:110px 1fr; align-items:center; min-height:68px; padding-block:8px; border-top:1px solid var(--rail); --surface-color:var(--aquatic); }
.h2h-bar-row.surface-clay { --surface-color:var(--red-beanie); }
.h2h-bar-row.surface-grass { --surface-color:var(--scout); }
.h2h-bar-row.is-muted { opacity:.33; }
.bar-surface strong, .bar-surface small { display:block; }
.bar-surface strong { font-weight:500; }
.bar-surface small { color:var(--quiet); font-size:.75rem; }
.h2h-bar-pair { display:grid; grid-template-columns:1fr 1fr; position:relative; }
.h2h-bar-pair::after { position:absolute; top:-12px; bottom:-12px; left:50%; width:1px; background:var(--line); content:""; }
.h2h-win-side { display:flex; align-items:center; gap:10px; min-width:0; padding-inline:9px; }
.win-left { justify-content:flex-end; }
.win-right { justify-content:flex-start; }
.win-balls { display:flex; flex-wrap:wrap; justify-content:flex-start; gap:5px; }
.win-left .win-balls { justify-content:flex-end; }
.win-ball { display:block; width:22px; height:22px; flex:0 0 22px; background:var(--surface-color); mask:url("/assets/tennis-ball-wash.svg") center / contain no-repeat; }
.win-count { color:var(--ink); font:500 1rem/1 var(--mono); flex:none; }
.h2h-diverging figcaption { color:var(--quiet); font-size:.8rem; margin-top:12px; }
.matchup-search { display:grid; gap:5px; margin-top:28px; font-size:.85rem; font-weight:500; }
.matchup-search input { width:100%; padding:12px 0; border:0; border-bottom:1px solid var(--line); background:transparent; color:var(--ink); font:400 1.12rem var(--sans); border-radius:0; }
.matchup-search input:focus { outline-offset:4px; }
.matchup-directory { display:grid; }
.matchup-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px 25px; padding:23px 0; border-block-start:1px solid var(--line); color:var(--ink); text-decoration:none; }
.matchup-card-title { font:400 1.65rem/1.2 var(--display); }
.matchup-card > .mono { align-self:center; color:var(--quiet); }
.matchup-card > .text-link { font-size:.85rem; }
.matchup-card:hover { color:var(--aquatic-dark); border-color:var(--aquatic-dark); }
.player-overview .bio { margin-top:28px; }
.player-overview .metric-strip { grid-template-columns:1fr 1fr; }
.player-rate-list { margin-top:22px; }
.player-rate-list > div { display:flex; justify-content:space-between; gap:15px; padding:12px 0; border-bottom:1px solid var(--rail); }
.player-rate-list dd { font:400 1.1rem var(--mono); }
.matchup-filters { margin-top: 22px; }
.comparison { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(285px, 1.1fr); align-items: start; gap: clamp(12px, 4vw, 42px); padding-top: 12px; }
.radar-frame { margin: auto; width: min(100%, 460px); }
.radar-frame svg { display: block; width: 100%; height: auto; overflow: visible; }
.radar-grid { fill: none; stroke: var(--line); stroke-width: 1; }
.radar-axis { stroke: var(--line); stroke-width: 1; }
.radar-text.is-active { font-weight:600; }
.radar-text { fill: var(--ink); font: 500 12px var(--sans); }
.radar-scale { fill: var(--quiet); font: 400 9px var(--mono); }
.trace-a { stroke:var(--red-beanie); fill:var(--red-beanie); }
.trace-b { stroke:var(--aquatic); fill:var(--aquatic); stroke-dasharray:5 3; }
.radar-trace { stroke-width:2.5; fill-opacity:.12; stroke-linejoin:round; }
.radar-underlay { fill:none; stroke:var(--ink); stroke-width:3.8; stroke-opacity:.22; stroke-dasharray:5 3; }
.radar-dot { stroke:var(--paper); stroke-width:1; }
.radar-selected { stroke:var(--ink); stroke-width:1.15; }
.radar-sector { fill:var(--aquatic-light); fill-opacity:.8; stroke:var(--aquatic); stroke-opacity:.45; stroke-width:1; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-weight: 500; font-size: .9rem; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { display:block; width:20px; border-top:3px solid var(--red-beanie); }
.legend a { color:var(--ink); text-decoration:none; }
.legend a:hover { text-decoration:underline; }
.legend span + span i { border-top:3px dashed var(--aquatic); filter:drop-shadow(0 1px 0 #52565266); }
.comparison-table { min-width: 0; align-self: center; }
.h2h-section { border-bottom: 1px solid var(--line); }
.h2h-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#tour-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.table-scroll { overflow-x: auto; margin-top: 14px; }
.results-table { min-width: 560px; }
.results-table th, .results-table td { text-align: left; }
.results-table td:last-child { white-space: nowrap; }
.results-table .result-note { display: block; color: var(--quiet); font-size: .82rem; }
.match-meetings-wrap{margin-top:20px;min-width:0;}
.match-meetings-table.results-table{min-width:0;width:100%;table-layout:fixed;}
.match-meetings-table th,.match-meetings-table td{padding:16px 12px 16px 0;line-height:1.55;vertical-align:top;overflow-wrap:anywhere;}
.match-meetings-table.results-table th,.match-meetings-table.results-table td{text-align:left;}
.meeting-level{white-space:nowrap;}
.match-meetings-table th:first-child{width:15%;}
.match-meetings-table th:nth-child(2){width:25%;}
.match-meetings-table th:nth-child(3){width:18%;}
.match-meetings-table th:nth-child(4){width:12%;}
.match-meetings-table th:nth-child(5){width:16%;}
.match-meetings-table th:last-child{width:14%;padding-right:0;}
.match-meetings-table td:last-child{white-space:normal;padding-right:0;font-variant-numeric:tabular-nums;}
.match-meetings-table tbody td:nth-child(5){font-weight:500;}
.meeting-score-note{margin-top:12px;color:var(--quiet);font-size:.8rem;}
@media(max-width:760px){
 .match-meetings-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
 .match-meetings-table tbody,.match-meetings-table tr,.match-meetings-table td{display:block;width:100%;}
 .match-meetings-table tr{padding-block:18px;border-bottom:1px solid var(--line);}
 .match-meetings-table.results-table td{display:grid;grid-template-columns:82px minmax(0,1fr);gap:15px;padding:6px 0;border:0;text-align:left;}
 .match-meetings-table td::before{content:attr(data-label);font:400 .65rem/1.6 var(--mono);letter-spacing:.03em;color:var(--quiet);padding-top:3px;}
 .match-meetings-table td[colspan]{display:block;}
 .match-meetings-table td[colspan]::before{content:none;}
}
table { border-collapse: collapse; width: 100%; }
th, td { padding: 9px 5px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { color: var(--quiet); font: 400 .75rem/1.4 var(--mono); }
th:not(:first-child), td { text-align: right; }
tbody th { font-weight: 500; }
tbody button { border: 0; padding: 0; background: transparent; text-align: left; font-weight: 500; }
tbody button:not(.match-dot)[aria-pressed="true"], tbody button:not(.match-dot):hover { color: var(--aquatic-dark); text-decoration: underline; text-underline-offset: 4px; }
td .ratio { display: block; color: var(--quiet); font: 400 .66rem/1.25 var(--mono); }
.lede { margin-block: 10px 20px; font-size: 1.12rem; }
.portrait-lab { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(15px, 3vw, 35px); align-items: center; margin-top: 18px; }
.portrait-lab img { display: block; width: 100%; height: auto; }
.portrait-controls { display: grid; justify-items: start; gap: 16px; }
.portrait-controls > div { width: 100%; min-width: 0; }
.portrait-control-title { font: 400 1.6rem/1.25 var(--display); letter-spacing: 0; margin-bottom: 6px; }
.portrait-pairs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.portrait-choice { display: grid; gap: 5px; padding: 8px; min-width: 0; background: transparent; border: 1px solid var(--line); text-align: left; font-weight: 500; }
.portrait-choice:hover, .portrait-choice[aria-pressed="true"] { border-color: var(--aquatic-dark); }
.portrait-choice[aria-pressed="true"] { color: var(--aquatic-dark); text-decoration: underline; text-underline-offset: 3px; }
.ink-strip { display: flex; min-height: 8px; }
.ink-strip i { flex: 1; }
.palette-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px clamp(10px, 3vw, 30px); margin-top: 16px; }
.palette-family h3, .guide-subtitle { font-size: 1rem; margin-bottom: 5px; }
.guide-subtitle { margin-top: 19px; }
.swatch-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.utility-colors { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.swatch { display: flex; flex-direction: column; justify-content: end; gap: 3px; min-height: 58px; padding: 6px 8px; border: 1px solid var(--line); font-size: .83rem; font-weight: 500; }
.swatch + .swatch { border-inline-start: 0; }
.swatch .mono { font-size: .72rem; }
.guide-controls { margin-top: 16px; align-items: end; }
.guide-button { min-height: 38px; padding: 6px 10px; border: 1px solid var(--line); background: transparent; font-weight: 500; }
.guide-button:hover { border-color: var(--aquatic-dark); }
.color-proof { padding: clamp(14px, 4vw, 44px); border: 1px solid var(--line); color: var(--sample-foreground, var(--ink)); background: var(--sample-background, var(--paper)); }
.proof-heading { font: italic 400 clamp(2.2rem, 5vw, 4rem)/1.08 var(--display); }
.color-proof p + p { margin-top: 8px; }
.pair-examples { display: grid; grid-template-columns: repeat(auto-fit, minmax(75px, 1fr)); gap: 8px; }
.pair-example { margin: 0; }
.pair-example span { display: grid; min-height: 50px; place-items: center; border: 1px solid var(--line); font: italic 400 1.9rem/1 var(--display); }
.pair-example figcaption { padding-top: 3px; font-size: .75rem; font-weight: 500; }
.pair-example small { display: block; color: var(--quiet); font: 400 .68rem/1.35 var(--mono); }
.contrast-table { margin-top: 9px; }
.color-dot { display: inline-block; width: 10px; height: 10px; margin-inline-end: 7px; border: 1px solid var(--line); }
.demo-choices { flex-wrap: wrap; }
.source-list div { padding: 11px 0; border-top: 1px solid var(--line); }
.source-list dt { font-weight: 600; }
.ball-list { padding: 0; margin-block: 14px 0; list-style: none; }
.ball-list li { position: relative; padding-inline-start: 1.35em; margin-bottom: 5px; }
.ball-list li::before { position: absolute; inset-inline-start: 0; top: .34em; width: .8em; height: .8em; background: url("./assets/tennis-ball.svg") center / contain no-repeat; content: ""; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding: 12px var(--gutter); color: var(--quiet); }
.site-footer { margin-top: -1px; }

@media (max-width: 760px) {
  .folio { display: none; }
  .comparison { grid-template-columns: minmax(0, 1fr); }
  .radar-frame { max-width: 390px; }
  .masthead { gap: 6px 20px; }
  .lead-copy { padding: 14px; }
  .lead-copy .eyebrow { margin-bottom: 6px; }
  .lead-copy h1 { font-size: clamp(1.9rem, 5vw, 2.5rem); margin-bottom: 8px; }
  .lead-copy .bio { gap: 8px 12px; margin-bottom: 12px; }
  .lead-copy .bio dd, .lead-copy .lead-links { font-size: .9rem; line-height: 1.4; }
  .lead-copy .lead-links { gap: 3px 12px; }
}
@media (max-width: 620px) {
  .service-boxes { grid-template-columns: minmax(0, 1fr); }
  .service-boxes::after { inset: 50% 0 auto; width: auto; height: 1px; }
  .service-court { grid-template-columns: minmax(0, 1fr); }
  .service-box + .service-box { border-inline-start: 0; border-block-start: 1px solid var(--line); }
  .lead-copy h1 { font-size: clamp(2.35rem, 9.5vw, 4.5rem); }
  .portrait-lab, .palette-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .masthead { flex-direction: column; align-items: flex-start; }
  .nav { gap: 0 16px; }
  .court-shell { padding-inline: 9px; }
  .portrait-pairs, .utility-colors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .utility-colors .swatch:nth-child(3) { border-inline-start-width: 1px; }
}

/* Matchup metric emphasis uses ink text with each player's colored tint. */
.metric-value { position:relative; min-width:76px; --player-color:var(--red-beanie); }
.metric-value--b { --player-color:var(--aquatic); }
.metric-value.is-stronger { background:color-mix(in srgb,var(--player-color) 16%,transparent); }
.metric-value.is-stronger::after { position:absolute; bottom:0; right:5px; width:var(--edge-size); max-width:calc(100% - 10px); height:3px; background:var(--player-color); content:""; }
.comparison-table tbody tr { cursor:pointer; }
.comparison-table tr.is-active th button { color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
@media (max-width:760px) {
  .h2h-score { gap:10px; }
  .h2h-score dt { font-size:.83rem; }
  .matchup-card { grid-template-columns:1fr; }
  .bar-player-labels { padding-left:80px; font-size:.82rem; }
  .h2h-bar-row { grid-template-columns:80px 1fr; }
}
@media (max-width:520px) {
  .h2h-score { grid-template-columns:1fr 1.2fr 1fr; gap:7px; }
  .h2h-score dt { font-size:.75rem; }
  .h2h-score dd strong { font-size:3rem; }
  .h2h-score .h2h-total strong { font-size:3.6rem; }
  .series-leader { font-size:.8rem; }
  .filter-tabs button { font-size:.82rem; padding-inline:9px; }
  .bar-player-labels { padding-left:67px; font-size:.75rem; }
  .h2h-bar-row { grid-template-columns:67px 1fr; }
  .bar-surface strong { font-size:.87rem; }
  .bar-surface small { font-size:.65rem; }
  .h2h-win-side { gap:4px; padding-inline:3px; }
  .win-balls { gap:2px; }
  .win-ball { width:10px; height:10px; flex-basis:10px; }
  .win-count { font-size:.75rem; }
  .comparison-table th, .comparison-table td { padding:9px 4px; font-size:.82rem; }
  .comparison-table .ratio { font-size:.57rem; }
  .metric-value { min-width:65px; }
}

.kalshi-referral { display:flex; align-items:center; flex-wrap:wrap; gap:10px 18px; margin-top:22px; }
.affiliate-button { display:inline-flex; align-items:center; gap:12px; padding:8px 13px; border:1px solid var(--line); color:var(--ink); background:transparent; text-decoration:none; font-size:.8rem; transition:color .15s,border-color .15s; }
.affiliate-button:hover { color:var(--aquatic-dark); border-color:var(--aquatic-dark); }
.affiliate-note { color:var(--quiet); font-size:.75rem; }
.affiliate-specimen { padding-block:26px; margin-block:26px; border-block:1px solid var(--line); }

.analysis-column h3 { font-family:var(--display); font-style:italic; }

.biography-columns { display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,4vw,60px); font-size:1.06rem; line-height:1.7; }
.biography-columns p { margin:0; }
.shot-pattern-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(26px,5vw,70px); padding-top:26px; }
.shot-tiles { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.shot-tile { text-align:left; padding:20px; min-height:126px; border:0; background:color-mix(in srgb,var(--aquatic) var(--tile-shade),var(--paper)); color:var(--ink); }
.shot-tile--error { background:color-mix(in srgb,var(--red-beanie-light) var(--tile-shade),var(--paper)); }
.shot-tile span { display:block; font-size:.85rem; }
.shot-tile strong { display:block; font-size:2rem; font-weight:300; margin-top:12px; }
.shot-net { text-align:center; }
.shot-net svg { width:210px; max-width:100%; }
.shot-ring-value { fill:var(--ink); font-family:var(--sans); font-size:26px; }
.surface-profiles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:28px; }
.surface-profile { padding:18px 25px 0; border-left:1px solid var(--rail); }
.surface-profile:first-child { padding-left:0; border:0; }
.surface-profile h3::before { content:""; display:inline-block; width:8px; height:8px; margin-right:10px; background:var(--aquatic); }
.surface-profile--clay h3::before { background:var(--red-beanie); }
.surface-profile--grass h3::before { background:var(--scout); }
.surface-win-rate { display:block; font-size:clamp(2rem,4vw,3.5rem); font-weight:300; }
.surface-rates { margin-top:25px; }
.surface-rates>div { display:flex; justify-content:space-between; gap:14px; padding-block:10px; border-top:1px solid var(--rail); font-size:.85rem; }
@media(max-width:680px) { .biography-columns,.shot-pattern-grid,.surface-profiles { grid-template-columns:1fr; } .surface-profile,.surface-profile:first-child { padding:22px 0; border:0; border-top:1px solid var(--rail); } }

.metric-sample { display:block; color:var(--quiet); font-size:.7rem; margin-top:7px; }

.archived-price-figure { margin-block:26px; }
.archived-price-figure svg { width:100%; display:block; }
.archived-price-figure figcaption { font-size:.8rem; color:var(--quiet); line-height:1.5; }
.historical-price-line { fill:none; stroke:var(--aquatic-dark); stroke-width:2.5; }
.historical-price-dot { fill:var(--paper); stroke:var(--aquatic-dark); stroke-width:2; }
.historical-stats { width:100%; margin-block:25px; }
.historical-result { font-size:1.25rem; }

.biography-columns { margin-top:15px; }
#ranking-chart { height:430px; }
.bio > div[data-rankfact] dd { font-weight:500; }
.career-high-strip { margin-top:0; }
.career-high-strip small { display:block; font-size:.8rem; color:var(--quiet); margin-top:8px; }
.surface-wl { width:100%; display:block; margin-block:24px; }
.sunburst-chart { width:320px; max-width:100%; display:block; margin:auto; }
.sunburst-segment { cursor:pointer; stroke:var(--paper); stroke-width:1.5; transition:opacity .15s; }
.sunburst-segment:hover,.sunburst-segment:focus { opacity:.7; outline:none; stroke:var(--ink); }
.sunburst-legend { display:flex; flex-wrap:wrap; justify-content:center; gap:10px 20px; margin-top:16px; font-size:.85rem; }
.sunburst-legend i { display:inline-block; width:9px; height:9px; margin-right:6px; }
.next-market { margin-block:18px 0; padding-top:16px; border-top:1px solid var(--rail); }
.next-market .kalshi-referral { margin-top:12px; }
.next-market-prices { display:flex; flex-wrap:wrap; gap:12px 30px; }

.zone-dark,.zone-dark span,.zone-dark strong { color:var(--paper); }

.career-high-date {margin-inline-start:.2rem;font:400 .85rem/1.5 var(--sans);color:var(--quiet);}
.prediction-history {margin:24px 0 18px;}
.prediction-price-chart {width:100%;height:auto;display:block;overflow:visible;}
.prediction-legend {display:flex;flex-wrap:wrap;gap:10px 24px;font-size:.85rem;margin-bottom:12px;}
.prediction-legend span {display:inline-flex;align-items:center;gap:7px;}
.prediction-legend i {width:20px;height:2px;display:inline-block;}
.prediction-readout {min-height:2.8em;}
.prediction-history figcaption {font-size:.75rem;}
@media(max-width:600px){#tour-metrics dd {font-size:1.25rem;}#tour-metrics dt {font-size:.75rem;}.career-high-date {font-size:.72rem;}.prediction-price-chart {min-height:190px;}.prediction-price-chart .ranking-axis {font-size:13px;}}

.prediction-line {stroke-dasharray:1;stroke-dashoffset:1;}
.prediction-isolated {opacity:0;}
.prediction-history.is-visible .prediction-line {animation:prediction-draw 2.6s ease-in-out both;}
.prediction-history.is-visible .prediction-isolated {animation:prediction-points .5s 1.8s both;}
@keyframes prediction-draw {to{stroke-dashoffset:0;}}
@keyframes prediction-points {to{opacity:1;}}
@media(prefers-reduced-motion:reduce){.prediction-line {stroke-dashoffset:0;}.prediction-isolated {opacity:1;}.prediction-history.is-visible .prediction-line,.prediction-history.is-visible .prediction-isolated {animation:none;}}

.surface-period-tabs {justify-content:flex-start;margin:20px 0 10px;}
.surface-center-label {fill:var(--ink);font-weight:500;}

/* Editorial and fixture components. Keep display changes scoped to their pages. */
.button{display:inline-flex;justify-content:center;align-items:center;gap:.4em;min-height:44px;padding:10px 18px;text-decoration:none;font-weight:500;border:1px solid transparent;}
.button-primary{background:var(--ink);color:var(--paper);}
.button-primary:hover{background:var(--red-beanie-dark);color:var(--paper);}
.button-secondary{background:transparent;border-color:var(--line);color:var(--ink);}
.button-secondary:hover{border-color:var(--ink);background:var(--moonrise);}
.market-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:15px;}
.prediction-history{position:relative;}
.prediction-tooltip,.scatter-tooltip{position:absolute;z-index:5;max-width:300px;padding:10px 12px;background:var(--paper);border:1px solid var(--line);font:.8rem/1.5 var(--sans);box-shadow:0 2px 12px #17171712;pointer-events:none;}
.next-previous-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;}
.fixture-summary{font-size:.95rem;line-height:1.6;margin-top:22px;}
.market-complete{font-size:.85rem;color:var(--quiet);}
.next-market-prices,.prediction-readout,#upcoming-context{display:none!important;}
.site-footer .footer{display:flex;flex-wrap:wrap;gap:16px 30px;}
#kalshi-disclosure{flex-basis:100%;font-size:.8rem;line-height:1.5;color:var(--quiet);}
.hit-deeper-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px;}
.hit-deeper h3{font:400 1.65rem var(--display);margin-top:15px;}
.hit-deeper p{font-size:.95rem;line-height:1.6;}
.hit-deeper .button{margin-top:10px;}
.hit-deeper h3{margin-top:15px;}
#matchup-more{margin-bottom:36px;}
.related-matchup-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:28px;}
.related-matchup-grid table{width:100%;border-collapse:collapse;}
.related-matchup-grid th,.related-matchup-grid td{padding:14px 0;border-bottom:1px solid var(--rail);text-align:left;}
.h2h-bar-row{grid-template-columns:minmax(0,1fr) 110px minmax(0,1fr);}
.h2h-bar-pair{display:contents;}
.h2h-bar-pair::after{display:none;}
.h2h-bar-row .bar-surface{grid-column:2;grid-row:1;text-align:center;}
.h2h-bar-row .win-left{grid-column:1;grid-row:1;}
.h2h-bar-row .win-right{grid-column:3;grid-row:1;}
.h2h-diverging figcaption,#matchup-market .context,#matchup-market figcaption{display:none;}
.radar-underlay,.radar-trace,.radar-trace.trace-b,.market-trace{stroke-dasharray:none!important;}
[data-player-analysis] .context,.surface-wl-figure figcaption,.surface-profiles .context{display:none;}
.net-scatter{position:relative;}
.net-match-dot{fill-opacity:.4;stroke-width:.6;}
.net-match-dot:hover,.net-match-dot:focus{fill-opacity:1;stroke:var(--ink);stroke-width:1.5;}
.reveal-chart{opacity:0;transform:translateY(8px);transition:opacity .7s,transform .7s;}
.reveal-chart.is-visible{opacity:1;transform:none;}
.surface-wl rect{transform-box:view-box;}
.surface-wl .surface-loss{transform-origin:275px 0;}
.surface-wl .surface-win{transform-origin:385px 0;}
.reveal-chart:not(.is-visible) .surface-wl rect{transform:scaleX(0);}
.reveal-chart.is-visible .surface-wl rect{animation:surface-grow 1s ease-out both;}
.reveal-chart.is-visible .shot-tile{animation:editorial-fade .7s both;}
.reveal-chart.is-visible .shot-tile:nth-child(2){animation-delay:.1s;}
.reveal-chart.is-visible .shot-tile:nth-child(3){animation-delay:.2s;}
.reveal-chart.is-visible .shot-tile:nth-child(4){animation-delay:.3s;}
@keyframes surface-grow{from{transform:scaleX(0);}to{transform:scaleX(1);}}
@keyframes editorial-fade{from{opacity:0;}to{opacity:1;}}
.analysis-hero{background:transparent;}
.analysis-hero .section::before{position:absolute;inset:0;z-index:-1;background:url("/assets/matchup-opposing-wash.webp") center / cover no-repeat;filter:var(--article-wash-filter);opacity:.87;pointer-events:none;content:"";}
.analysis-hero .section{position:relative;isolation:isolate;padding-block:clamp(40px,6vw,76px);}
.analysis-hero h1{font-style:normal;}
.article-meta{display:flex;flex-wrap:wrap;gap:9px 25px;font:.74rem var(--mono);letter-spacing:.065rem;text-transform:uppercase;}
.article-body p{font-size:1.08rem;line-height:1.8;}
.article-body h2{margin-top:48px;margin-bottom:15px;}
.article-body .article-subheading{font:400 1.7rem/1.2 var(--display);margin-block:28px 14px;}
.article-explainer-list{padding-left:1.5em;margin-block:15px 24px;line-height:1.8;}
.article-explainer-list li{margin-block:8px;}
.article-explainer-table{margin-block:24px;font-size:.95rem;}
.article-explainer-table caption{text-align:left;font-weight:500;margin-bottom:12px;}
.article-explainer-table th,.article-explainer-table td{text-align:left;padding:14px 8px;border-bottom:1px solid var(--line);background:transparent;}
.article-body figure{margin:40px 0;}
.article-chart svg{width:100%;height:auto;display:block;}
.article-chart figcaption{font-size:.8rem;color:var(--quiet);line-height:1.5;margin-top:12px;}
.article-chart .chart-trace{stroke-dasharray:1;stroke-dashoffset:1;}
.article-chart.is-visible .chart-trace{animation:prediction-draw 1.7s ease both;}
.article-chart.is-visible rect.chart-bar{animation:surface-grow 1.1s ease both;transform-box:fill-box;transform-origin:left;}
.article-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;}
.article-card h2{font-size:2rem;margin-bottom:6px;}
.article-card p{line-height:1.6;}
.article-tags{display:flex;gap:8px;flex-wrap:wrap;font:.65rem/1.4 var(--mono);letter-spacing:.065rem;text-transform:uppercase;}
.article-tags a{padding:5px 8px;border:1px solid var(--red-beanie-dark);color:var(--red-beanie-dark);text-decoration:none;}
.article-tags a:hover{background:var(--red-beanie-light);}
.article-body .article-tags{font-size:.65rem;line-height:1.4;}
.analysis-article a.player-link{color:var(--red-beanie);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.14em;}
.analysis-article a.player-link:hover{color:var(--red-beanie-dark);}
.article-chart a.player-link text{fill:var(--red-beanie);}
.article-chart a.player-link:hover text{fill:var(--red-beanie-dark);}
.article-body .article-pullquote{margin-block:32px;padding-left:24px;border-left:2px solid var(--scout);}
.article-pullquote blockquote{margin:0;}
.article-body .article-pullquote p{font:italic 400 clamp(1.85rem,3.2vw,2.6rem)/1.18 var(--display);letter-spacing:-.015em;margin:0;}
.article-pullquote figcaption{font-size:.78rem;line-height:1.5;color:var(--quiet);margin-top:12px;}
.article-rules-inset{margin-block:36px;padding-block:24px;border-block:1px solid var(--line);}
.article-body .article-rules-inset h2{margin-top:0;}
.article-body .article-rules-inset figure{margin-block:0 20px;}
.article-body .rules-explainer p{font-size:.88rem;line-height:1.6;margin-block:12px 0;}
.rules-comparison{table-layout:fixed;}
.rules-comparison th:first-child{width:27%;}
.rules-comparison .rules-total th,.rules-comparison .rules-total td{font-weight:600;}
.rules-comparison .rules-total td{color:var(--scout-dark);}
@media(max-width:600px){.article-body .rules-comparison{font-size:.76rem;}.article-body .rules-comparison th,.article-body .rules-comparison td{padding:11px 6px;overflow-wrap:anywhere;}.article-body .rules-comparison thead th{font-size:.6rem;letter-spacing:0;}.rules-comparison th:first-child{width:28%;}.article-body .article-pullquote{padding-left:16px;}}
.author-bio{display:flex;gap:20px;align-items:center;margin-block:35px;}
.author-avatar{width:64px;height:64px;flex:0 0 64px;object-fit:cover;background:var(--aquatic-light);border-radius:50%;display:grid;place-items:center;font:400 1.1rem var(--mono);}
.author-bio p{font-size:.9rem;}
.article-poll label{display:block;margin:12px 0;cursor:pointer;}
.article-poll input[type=radio]{width:20px;height:20px;vertical-align:middle;margin:0 9px 2px 0;accent-color:var(--red-beanie-dark);}
.article-poll button[type=submit]{margin-top:15px;}
.article-poll .poll-result{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:18px;}
.article-poll progress{grid-column:1/-1;width:100%;accent-color:var(--aquatic-dark);}
@media(max-width:700px){.next-previous-grid,.related-matchup-grid,.hit-deeper-grid,.article-card-grid{grid-template-columns:1fr;gap:28px;}.h2h-bar-row{grid-template-columns:minmax(0,1fr) 85px minmax(0,1fr);}.article-body p{font-size:1rem;}.prediction-tooltip{max-width:240px;}}
@media(prefers-reduced-motion:reduce){.reveal-chart{opacity:1;transform:none;transition:none;}.hero-art.is-playing .hero-shot.is-current{animation:none!important;}.hero-shot::after{animation:none!important;opacity:0!important;}.article-chart .chart-trace{stroke-dashoffset:0;}.article-chart.is-visible .chart-trace,.article-chart.is-visible rect.chart-bar,.reveal-chart.is-visible .surface-wl rect,.reveal-chart.is-visible .shot-tile{animation:none!important;}}


/* Quiet sharing controls, with labels retained for clarity. */
.page-sharing .section{padding-top:24px;padding-bottom:24px}
.share-actions{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.share-actions .mono{color:var(--quiet);font-size:.7rem}
.share-action{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;padding:8px 0;color:var(--ink);font:inherit;font-size:.9rem;text-decoration:none;cursor:pointer}
.share-action:hover{color:var(--aquatic-dark)}
.share-action svg{flex-shrink:0}
.share-status{font-size:.85rem;margin:0;color:var(--aquatic-dark)}
.share-status:empty{display:none}
.share-fallback{width:100%;border:1px solid var(--line);background:transparent;color:var(--ink);padding:10px;font:inherit;margin-top:12px}
.author-avatar{object-fit:cover;flex:0 0 64px;width:64px;height:64px;border-radius:50%}
.poll-result progress{accent-color:var(--aquatic-dark)}
.poll-result[data-selected=true] span::after{content:' · Your choice';font-size:.8rem;color:var(--aquatic-dark)}
@media(max-width:600px){.share-actions{gap:14px}.share-actions>.mono{flex-basis:100%}}

.hero-shot::after{content:none!important;display:none!important;}
.hero-art .hero-shot{animation:none!important;transform:none!important;}
.hero-art .hero-underpainting{mask:none!important;-webkit-mask:none!important;clip-path:none!important;}
@media(prefers-reduced-motion:reduce){.hero-art .hero-underpainting{animation:none!important;transform:none!important;}}
.share-menu{display:flex;gap:20px;flex-wrap:wrap;margin-top:12px}
.share-actions{gap:0}
.share-action[aria-expanded=true]{color:var(--aquatic-dark)}
.match-score{margin-top:18px;width:100%;border-collapse:collapse;table-layout:fixed;}
.match-score th,.match-score td{padding:10px 6px;border:0;border-bottom:1px solid var(--rail);background:transparent;text-align:center;vertical-align:middle;}
.match-score th:first-child{width:auto;text-align:left;padding-left:0;font:400 .88rem/1.4 var(--sans);overflow-wrap:anywhere;text-transform:none;letter-spacing:0;}
.match-score thead th{color:var(--quiet);font:.65rem/1.4 var(--mono);letter-spacing:.065rem;}
.match-score thead th:not(:first-child){width:54px;}
.match-score .set-score-value{font:400 1.08rem/1.4 var(--mono);font-variant-numeric:tabular-nums;}
.match-score sup{font-size:.6em;margin-left:2px;vertical-align:super;}
.match-score .match-winner,.match-score .set-winner .set-score-value{font-weight:600;}

/* Dated Finals schedule and conditional qualification evidence. */
.article-reference{font-size:.75em;white-space:nowrap;}
.schedule-scroll{overflow-x:auto;}
.schedule-table{width:100%;min-width:560px;border-collapse:collapse;font-size:.82rem;}
.schedule-table th,.schedule-table td{padding:14px 8px;text-align:center;border-bottom:1px solid var(--line,rgba(23,23,23,.18));}
.schedule-table th:first-child{text-align:left;white-space:nowrap;}
.schedule-play{background:var(--aquatic-light);color:var(--aquatic-dark);}
.schedule-clear{color:var(--aquatic-dark);font-weight:700;}
.chart-note{font-size:.8rem;color:var(--quiet);line-height:1.5;}
.qualification-path{display:flex;justify-content:space-between;gap:24px;padding:18px 0;border-bottom:1px solid var(--line,rgba(23,23,23,.18));}
.qualification-path strong{color:var(--aquatic-dark);}
.article-chart.is-visible .qualification-path{animation:surface-grow .65s ease both;transform-origin:left;}
.article-chart.is-visible .qualification-path:nth-child(2){animation-delay:.1s;}
.article-chart.is-visible .qualification-path:nth-child(3){animation-delay:.2s;}
.article-chart.is-visible .qualification-path:nth-child(4){animation-delay:.3s;}
@media(max-width:600px){.qualification-path{display:grid;gap:6px;}}
@media(prefers-reduced-motion:reduce){.article-chart.is-visible .qualification-path{animation:none;}}

.stat-analysis,.play-insight{font-family:var(--sans);font-size:1rem;line-height:1.6;max-width:none;margin-block:12px 22px;color:var(--ink);}

.directory-search{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:24px;}
.directory-search label{font-weight:500;flex-basis:100%;}
.directory-search input{font:inherit;width:min(100%,480px);padding:11px 13px;border:1px solid var(--line);border-radius:0;background:transparent;color:var(--ink);}
.directory-search input:focus-visible{outline:2px solid var(--aquatic-dark);outline-offset:3px;}
.players-table{width:100%;border-collapse:collapse;margin-top:10px;font-variant-numeric:tabular-nums;}
.players-table th,.players-table td{padding:13px 12px;border:0;border-bottom:1px solid var(--line);text-align:left;background:transparent;}
.players-table thead th{padding-block:12px;position:sticky;top:0;background:var(--paper);z-index:2;}
.players-table thead button{display:flex;gap:6px;align-items:center;background:transparent;border:0;padding:4px 0;font:400 .72rem/1.4 var(--mono);text-transform:uppercase;letter-spacing:.065rem;text-align:left;}
.players-table tbody th{font-weight:500;}
.players-table tbody th a{text-decoration:none;}
.players-table tbody th a:hover{text-decoration:underline;}
.players-table tr:hover td,.players-table tr:hover th{background:color-mix(in srgb,var(--aquatic) 10%,transparent);}
.players-table td:first-child{width:65px;}
.points-cell{display:flex;align-items:center;justify-content:space-between;gap:15px;min-width:190px;}
.points-cell strong{font-weight:500;}
.points-sparkline{width:126px;height:32px;overflow:visible;}
.points-sparkline path,.directory-line-chart path{fill:none;stroke:var(--aquatic-dark);stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round;}
.spark-missing{font-size:.7rem;color:var(--quiet);}
.directory-line-chart{display:block;width:100%;height:auto;margin-block:18px;overflow:visible;}
.directory-line-chart path{stroke-width:2.5;}
.directory-line-chart circle{fill:var(--aquatic-dark);opacity:0;}
.directory-line-chart circle:focus,.directory-line-chart circle:hover{opacity:1;}
.directory-empty{padding-block:24px;}
.directory-mobile-sort{display:none;}
[data-directory-group]>.context,[data-directory-group]>.lede{margin-block:12px 22px;}
[data-directory-group]>.definitions{margin-block:16px 24px;}
@media(max-width:760px){
 .players-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
 .players-table,.players-table tbody,.players-table tr{display:block;width:100%;}
 .players-table tr{position:relative;padding:18px 0 14px 44px;border-bottom:1px solid var(--line);}
 .players-table th,.players-table td{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:5px 0;border:0;}
 .players-table tbody th{font-size:1.22rem;padding-top:0;}
 .players-table td:first-child{position:absolute;left:0;top:18px;width:35px;justify-content:flex-start;color:var(--quiet);}
 .players-table td:not(:first-child)::before{content:attr(data-label);font-size:.75rem;color:var(--quiet);}
 .players-table .points-cell{min-width:0;gap:10px;}
 .points-sparkline{width:100px;}
 .directory-mobile-sort{display:inline-flex;align-items:center;gap:12px;margin:12px 12px 16px 0;}
 .directory-mobile-sort select{padding:7px;background:transparent;border:1px solid var(--line);}
 .players-table tr:hover td,.players-table tr:hover th{background:transparent;}
}

.article-peer-legend{display:flex;flex-wrap:wrap;gap:12px 24px;margin-block:10px 16px;}
.article-peer-legend span{display:flex;align-items:center;gap:7px;}
.article-peer-legend i{width:12px;height:12px;border-radius:50%;}
.article-research-table{width:100%;border-collapse:collapse;font-size:.9rem;}
.article-research-table th,.article-research-table td{padding:14px 10px;text-align:left;border-bottom:1px solid var(--line);background:transparent;}
.article-research-table thead th{font:400 .72rem/1.5 var(--mono);}
.article-research-table tbody th{font-weight:500;}

button.directory-mobile-sort{appearance:none;background:transparent;border:0;border-bottom:1px solid currentColor;border-radius:0;padding:7px 0;color:var(--aquatic-dark);font-size:.85rem;}

.article-body > p{margin-bottom:1.1em;}
.ranking-points-table{table-layout:fixed;font-variant-numeric:tabular-nums;}
.ranking-points-table th:first-child{width:31%;}
.ranking-points-table td,.ranking-points-table thead th:not(:first-child){text-align:right;}
.ranking-explainer .rules-explainer{margin-bottom:18px;}
.ranking-formula{margin-top:20px;}
.article-body .ranking-formula p{font-size:.88rem;line-height:1.6;margin-block:12px 0;}
@media(max-width:600px){.article-body .ranking-points-table{font-size:.78rem;}.article-body .ranking-points-table th,.article-body .ranking-points-table td{padding:11px 4px;}.article-body .ranking-points-table thead th{font-size:.59rem;letter-spacing:0;}.ranking-points-table th:first-child{width:29%;}}
.ranking-explainer .rules-explainer p{font-size:1rem;line-height:1.65;}
.scenario-controls{display:flex;align-items:end;flex-wrap:wrap;gap:16px 24px;margin-block:22px 16px;}
.scenario-controls .scenario-field{display:grid;gap:6px;}.scenario-controls label{font-size:.82rem;font-weight:500;}
.scenario-controls select,.scenario-controls input{font:inherit;padding:9px 10px;border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:0;}
.scenario-controls input{width:145px;}
.scenario-presets{display:flex;gap:8px;}
.scenario-presets button{font:400 .8rem var(--mono);padding:9px 10px;background:transparent;border:1px solid var(--line);color:var(--ink);cursor:pointer;border-radius:0;}
.scenario-presets button[aria-pressed=true]{color:var(--paper);background:var(--aquatic-dark);border-color:var(--aquatic-dark);}
.scenario-presets button:hover{border-color:var(--aquatic-dark);}
.scenario-controls :focus-visible,.scenario-presets button:focus-visible{outline:2px solid var(--aquatic-dark);outline-offset:3px;}
.article-body .scenario-status{font-size:.93rem;line-height:1.6;min-height:3.2em;margin:0;}
.scenario-chart{width:100%;}
.scenario-axis{font:400 12px var(--mono);fill:var(--quiet);}
.scenario-player{font:400 14px var(--sans);fill:var(--ink);}
.scenario-player.is-selected{font-weight:700;}
.scenario-guide{stroke:var(--line);stroke-width:1;}
.scenario-line{stroke:var(--quiet);stroke-opacity:.24;stroke-width:1.2;}
.scenario-line.is-moved{stroke:var(--aquatic-dark);stroke-opacity:.7;}
.scenario-line.is-selected{stroke:var(--red-beanie);stroke-opacity:1;stroke-width:3;}
.scenario-dot{fill:var(--quiet);}
.scenario-dot.is-selected{fill:var(--red-beanie);}
.scenario-tie{stroke:var(--aquatic-dark);stroke-width:3;}
.scenario-tie.is-selected{stroke:var(--red-beanie);}
.scenario-selected-row th,.scenario-selected-row td{font-weight:600;}
.scenario-numbers{margin-top:8px;}
.scenario-numbers table{margin-block:16px;table-layout:fixed;}
.scenario-numbers th:first-child{width:40%;}
.article-body .scenario-method{font-size:.8rem;line-height:1.6;color:var(--quiet);margin-top:20px;}
@media(max-width:600px){.scenario-controls{gap:12px;width:100%;}.scenario-controls .scenario-field:first-child{width:100%;}.scenario-controls select{width:100%;}.scenario-controls input{width:100px;}.scenario-presets{gap:5px;}.scenario-presets button{padding:9px 8px;}.scenario-player{font-size:11px;}.scenario-axis{font-size:9px;}.scenario-numbers table{font-size:.75rem;}.scenario-numbers th,.scenario-numbers td{padding:11px 4px;}.scenario-numbers thead th{font-size:.6rem;}}
