/* PadelSolver. One family (Archivo, variable width and weight): condensed for names and figures,
   normal width for reading. Colours come from the court: ultramarine turf, white lines, the ball,
   and the sand around an outdoor court. Photos sit on white tiles because the shops shoot on white. */
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-v1.ttf") format("truetype");
  font-weight: 400 800;
  font-stretch: 62% 100%;
  font-display: swap;
}

:root {
  --page: #ffffff;
  --sand: #f4f1e8;
  --sand-2: #e7e2d3;
  --line: #e1dccd;
  --ink: #0b1736;
  --muted: #566078;
  --court: #1b43d6;
  --court-deep: #12309f;
  --court-ink: #ffffff;
  --hero: #1b43d6;
  --hero-2: #2b55ea;
  --night: #0b1736;
  --night-ink: #c9d2ee;
  --ball: #dcf341;
  --ball-deep: #c9e11f;
  --ball-ink: #0b1736;
  --differ: #f6fbd3;
  --tile: #ffffff;
  --shadow: 0 14px 34px rgb(11 23 54 / 0.14);
  --focus: #1b43d6;
  --face: #1b43d6;
  --hole: #f4f1e8;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --measure: 68ch;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0a1230;
    --sand: #111c44;
    --sand-2: #1d2b5e;
    --line: #25346c;
    --ink: #eef1fb;
    --muted: #a5afd2;
    --court: #93a9ff;
    --court-deep: #b9c7ff;
    --court-ink: #0a1230;
    --hero: #1a3cc4;
    --hero-2: #264fdf;
    --night: #060c22;
    --differ: #26331a;
    --shadow: 0 14px 34px rgb(0 0 0 / 0.5);
    --focus: #dcf341;
    --face: #5f80ff;
    --hole: #111c44;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); }
img, svg { max-width: 100%; }

a { color: var(--court); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; font-stretch: 68%; font-weight: 800; line-height: 1; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 0.95; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); margin-top: 3rem; }
h3 { font-size: 1.4rem; font-stretch: 74%; font-weight: 750; line-height: 1.1; margin-top: 1.6rem; }
p, ul, ol, table, dl { margin: 0.85rem 0 0; }

.wrap { width: min(100% - 2rem, 76rem); margin-inline: auto; }
.prose { max-width: var(--measure); }
.prose li + li { margin-top: 0.35rem; }
.small { font-size: 0.9rem; color: var(--muted); }
.na { color: var(--muted); font-style: italic; font-size: 0.92em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--page); padding: 0.5rem 1rem; z-index: 30; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Page rhythm: everything under the page head sits in .page-body; sections and articles are the big steps. */
.page-body { padding-top: clamp(1.75rem, 4vw, 2.75rem); }
.page-body > section, .page-body > article { margin-top: clamp(2.75rem, 6vw, 4.25rem); }
.page-body > :first-child { margin-top: 0; }
section > h2:first-child, article > h2:first-child { margin-top: 0; }

/* ---------- Header ---------- */
.site-head { background: var(--page); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 0.5rem 1.75rem; padding-block: 0.7rem; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.55rem; font-stretch: 68%; letter-spacing: 0; line-height: 1; }
.brand svg { width: 1.9rem; height: 1.9rem; flex: none; }
.main-nav { display: contents; }
.nav-links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem; padding-block: 0.4rem; white-space: nowrap; }
.nav-links a:hover { color: var(--court); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--ball-deep); }
.head-cta { order: 3; }
.head-cta[aria-current="page"] { background: transparent; border-color: var(--ball-deep); color: var(--ink); }

/* ---------- Footer ---------- */
.site-foot { margin-top: clamp(4rem, 9vw, 7rem); background: var(--night); color: var(--night-ink); font-size: 0.95rem; }
.site-foot .wrap { padding-block: 3rem 2.5rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.site-foot .brand { color: #fff; }
.foot-about p { margin-top: 0.9rem; max-width: 34ch; line-height: 1.5; }
.foot-col { display: grid; gap: 0.45rem; align-content: start; }
.foot-h { margin: 0 0 0.3rem; color: #fff; font-weight: 750; font-stretch: 74%; font-size: 1.15rem; }
.site-foot a { color: var(--night-ink); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / 0.16); font-size: 0.85rem; max-width: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 2.9rem; padding: 0.55rem 1.2rem; border: 2px solid var(--court); border-radius: 10px; background: var(--court); color: var(--court-ink); font: 700 1.02rem/1.1 var(--font); font-stretch: 84%; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--court-deep); border-color: var(--court-deep); color: var(--court-ink); }
.btn-ghost { background: transparent; color: var(--court); border-color: currentColor; }
.btn-ghost:hover { background: var(--sand); color: var(--court-deep); border-color: currentColor; }
.btn-shop, .btn-ball { background: var(--ball); border-color: var(--ball); color: var(--ball-ink); }
.btn-shop:hover, .btn-ball:hover { background: var(--ball-deep); border-color: var(--ball-deep); color: var(--ball-ink); }
.btn-small { min-height: 2.35rem; padding: 0.35rem 0.85rem; font-size: 0.95rem; }
.btn-big { min-height: 3.4rem; padding-inline: 1.9rem; font-size: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }

/* ---------- Racket drawing ---------- */
.rk { display: block; flex: none; overflow: visible; }
.rk-img { object-fit: contain; background: #fff; }
.rk-face { fill: var(--face); }
.rk-holes { fill: var(--hole); }
.rk-handle { fill: var(--ink); }
.rk-bal { fill: var(--ball); stroke: var(--ink); stroke-width: 2.2; }

/* ---------- Page head (inner pages) ---------- */
.page-head { background: var(--sand); padding-block: clamp(1.4rem, 3.5vw, 2.5rem) clamp(1.75rem, 4.5vw, 3.25rem); }
.page-head h1 { max-width: 22ch; }
.lede { font-size: 1.2rem; line-height: 1.5; color: var(--muted); max-width: 60ch; margin-top: 1rem; }
.crumbs { font-size: 0.88rem; color: var(--muted); margin: -0.5rem 0 0.5rem; }
.crumbs a, .crumbs span { display: inline-block; padding-block: 0.5rem; }
.crumbs a { color: var(--muted); }
.rule { margin-top: 1.1rem; max-width: 62ch; padding: 0.7rem 1rem; border-left: 4px solid var(--ball-deep); background: var(--page); border-radius: 0 10px 10px 0; font-size: 0.98rem; }
.byline { display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; color: var(--muted); font-size: 0.95rem; margin-top: 1rem; }
.page-head .actions { margin-top: 1.4rem; }
.page-head .btn-ghost:hover { background: var(--page); }
.page-head--post h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 24ch; line-height: 0.98; }

/* ---------- Home hero: the court ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--hero); color: #fff; }
.hero-inner { padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(2.75rem, 7vw, 5rem); }
.hero h1 { font-size: clamp(3.3rem, 9.4vw, 7rem); font-stretch: 62%; line-height: 0.88; max-width: 14ch; color: #fff; }
.hero .lede { color: rgb(255 255 255 / 0.92); max-width: 44ch; margin-top: 1.6rem; }
.hero-racket { position: absolute; z-index: -1; top: -14%; right: max(-5rem, calc(50% - 47rem)); height: 150%; width: auto; max-width: none; transform: rotate(17deg); transform-origin: 50% 40%; }
.hero-racket .rk-face, .hero-racket .rk-handle { fill: var(--hero-2); }
.hero-racket .rk-holes { fill: var(--hero); }
.hero-racket .rk-bal { fill: var(--ball); stroke: none; }
.quickstart { margin-top: 2rem; max-width: 46rem; }
.quickstart fieldset { border: 0; padding: 0; margin: 0; }
.quickstart legend { padding: 0; font-weight: 700; font-size: 1.1rem; margin-bottom: 0.75rem; }
.quickstart .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quickstart .choice { background: #fff; border-color: #fff; color: #0b1736; }
.quickstart .choice > span { color: #4a5470; }
.quickstart .choice:hover { background: var(--ball); border-color: var(--ball); }
.quickstart .choice:hover > span { color: #0b1736; }

/* ---------- Choice tiles (finder) ---------- */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.6rem; }
.choice { display: flex; flex-direction: column; gap: 0.2rem; text-align: left; padding: 0.9rem 1rem; border: 2px solid var(--sand-2); border-radius: 12px; background: var(--page); color: var(--ink); font: inherit; cursor: pointer; }
.choice strong { font-size: 1.3rem; font-stretch: 72%; font-weight: 750; line-height: 1.1; }
.choice > span { font-size: 0.92rem; color: var(--muted); line-height: 1.35; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
label.choice { position: relative; }
label.choice:hover { border-color: var(--court); }
label.choice:has(input:checked) { border-color: var(--court); background: var(--court); color: var(--court-ink); }
label.choice:has(input:checked) > span { color: var(--court-ink); opacity: 0.9; }
label.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

.finder { display: grid; gap: 2rem; max-width: 56rem; counter-reset: q; }
.q { border: 0; padding: 0; margin: 0; counter-increment: q; }
.q legend { display: flex; align-items: center; gap: 0.65rem; padding: 0; font-weight: 800; font-size: 1.6rem; font-stretch: 68%; line-height: 1.05; margin-bottom: 0.8rem; }
.q legend::before { content: counter(q); flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--page); font-size: 1.15rem; }
.form-error { color: #b42318; font-weight: 600; }
@media (prefers-color-scheme: dark) { .form-error { color: #ff8a80; } }
.finder > .btn { justify-self: start; }
.finder-results { padding-top: 2rem; border-top: 4px solid var(--ball-deep); }

/* ---------- Ratings ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem clamp(0.6rem, 2vw, 1.25rem); margin: 1.4rem 0 0; max-width: 34rem; }
.stat { border-top: 2px solid var(--ink); padding-top: 0.4rem; min-width: 0; }
.stat dt { font-size: 0.82rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.stat dd { margin: 0; }
.stat b { display: block; font-stretch: 64%; font-weight: 800; font-size: 2.5rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat-na { display: block; color: var(--muted); font-size: 0.95rem; padding-block: 0.7rem 0.35rem; }
.meter { display: block; height: 6px; margin-top: 0.3rem; border-radius: 3px; background: var(--sand-2); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 3px; background: var(--court); }
.no-stats { margin-top: 1.25rem; padding-top: 0.6rem; border-top: 2px solid var(--ink); max-width: 34rem; font-size: 0.95rem; color: var(--muted); }
.stats--compact { max-width: 28rem; margin-top: 1rem; }
.stats--compact .stat b { font-size: 1.8rem; }
.stats--compact .stat { border-top-width: 1px; border-color: var(--line); }

/* ---------- Racket cards ---------- */
.rgrid { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: 1.75rem 1.1rem; }
.rgrid--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rcard { display: flex; flex-direction: column; min-width: 0; }
.rcard-link { display: grid; gap: 0.12rem; color: var(--ink); text-decoration: none; }
.rcard-art { display: grid; place-items: center; aspect-ratio: 1; margin-bottom: 0.65rem; background: var(--tile); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.rcard-art .rk-img { width: 100%; height: 100%; transition: transform 0.25s ease; }
.rcard-link:hover .rk-img { transform: scale(1.045); }
.rcard-art--svg { background: var(--sand); border-color: var(--sand); }
.rcard-art--svg .rk { height: 68%; width: auto; }
.rcard-brand { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.rcard-name { font-stretch: 72%; font-weight: 750; font-size: 1.28rem; line-height: 1.08; overflow-wrap: anywhere; }
.rcard-link:hover .rcard-name { text-decoration: underline; text-decoration-color: var(--court); text-decoration-thickness: 2px; }
.rcard-year { color: var(--muted); font-weight: 600; }
.rcard-spec { margin-top: 0.2rem; font-size: 0.86rem; line-height: 1.35; color: var(--muted); }
.rcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.45rem; }
.rcard-price { font-weight: 750; font-stretch: 80%; font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.rcard-price--na { font-weight: 400; font-stretch: 100%; font-size: 0.82rem; color: var(--muted); }
.rcard-score { font-size: 0.8rem; font-weight: 700; padding: 0.1rem 0.5rem; border-radius: 99px; background: var(--ball); color: var(--ball-ink); white-space: nowrap; }
.price-note { display: block; font-size: 0.8rem; color: var(--muted); font-weight: 400; font-stretch: 100%; }
.price[title] { cursor: help; }
#rlist.is-paged > li:nth-child(n+25) { display: none; }

.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; flex-wrap: wrap; }
.sec-head h2 { margin-top: 0; }
.more { font-weight: 650; white-space: nowrap; padding-block: 0.4rem; }
.count { margin-top: 1.5rem; color: var(--muted); font-weight: 600; }
.load-more { display: grid; justify-items: center; gap: 0.5rem; margin-top: 2.25rem; }

/* ---------- Filters, search and the compare pickers ---------- */
.filters { display: grid; gap: 0.75rem; }
.field { display: grid; gap: 0.3rem; min-width: 0; }
.field label { font-weight: 650; font-size: 0.9rem; }
select, .text-input { font: inherit; font-size: 1rem; min-height: 2.75rem; padding: 0.35rem 0.7rem; border: 1.5px solid var(--sand-2); border-radius: 10px; background: var(--page); color: var(--ink); width: 100%; }
select:hover, .text-input:hover { border-color: var(--muted); }
.text-input--search { min-height: 3.2rem; padding-left: 2.9rem; border: 2px solid var(--ink); font-size: 1.08rem; background: var(--page) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23566078' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") no-repeat 0.95rem center / 1.3rem; }
.filter-toggle { display: none; }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.25rem, 1fr)); gap: 0.6rem; }
.compare-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.combo { position: relative; }
.combo-list { position: absolute; z-index: 12; top: 100%; left: 0; right: 0; margin: 0.3rem 0 0; padding: 0.3rem; list-style: none; max-height: 23rem; overflow: auto; background: var(--page); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.combo-opt { display: flex; align-items: center; gap: 0.65rem; padding: 0.35rem 0.5rem; border-radius: 10px; cursor: pointer; line-height: 1.2; }
.combo-opt[aria-selected="true"], .combo-opt:hover { background: var(--sand); }
.combo-opt .rk { width: 46px; height: 46px; border-radius: 8px; flex: none; }
.combo-opt svg.rk { padding: 4px; }
.combo-opt b { display: block; font-stretch: 76%; font-size: 1.08rem; }
.combo-opt small { color: var(--muted); font-size: 0.82rem; }
.combo-empty { padding: 0.6rem 0.7rem; color: var(--muted); }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; margin-top: 1.5rem; }
table { border-collapse: collapse; width: 100%; }
.cmp th, .cmp td { padding: 0.7rem 0.8rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.cmp thead th { vertical-align: bottom; border-bottom: 2px solid var(--ink); }
.cmp thead .rk { width: 132px; height: 132px; border-radius: 12px; border: 1px solid var(--line); }
.cmp thead svg.rk { padding: 12px; background: var(--sand); border-color: var(--sand); }
.cmp thead a { display: grid; gap: 0.55rem; justify-items: start; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 1.3rem; font-stretch: 72%; line-height: 1.1; }
.cmp thead a:hover span { text-decoration: underline; }
.cmp tbody th { font-weight: 600; color: var(--muted); white-space: nowrap; }
.cmp td { min-width: 11rem; }
.cmp .track { display: inline-block; width: 5rem; height: 6px; margin-right: 0.35rem; vertical-align: middle; border-radius: 3px; background: var(--sand-2); overflow: hidden; }
.cmp .fill { display: block; height: 100%; border-radius: 3px; background: var(--court); }
.cmp td.lead { font-weight: 800; }
.cmp td.lead .fill { background: var(--ball-deep); box-shadow: inset 0 0 0 1px var(--ink); }
.cmp tr.differ td { background: var(--differ); }
.specs th, .specs td { text-align: left; padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 9rem; font-weight: 600; color: var(--muted); }
.specs td { font-weight: 550; }
.vs th, .vs td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.vs thead th { font-weight: 750; font-stretch: 74%; font-size: 1.15rem; border-bottom: 2px solid var(--ink); }
.vs tbody th { font-weight: 650; }

/* ---------- Racket page ---------- */
.rhero { display: grid; grid-template-columns: minmax(0, 29rem) minmax(0, 1fr); gap: clamp(1.5rem, 4.5vw, 4rem); align-items: start; }
.rhero-art { display: grid; place-items: center; aspect-ratio: 1; background: var(--tile); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.rhero-art .rk-img { width: 100%; height: 100%; }
.rhero-art--svg { background: var(--sand); border-color: var(--sand); }
.rhero-art--svg .rk { height: 72%; width: auto; }
.rhero h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); }
.rhero .lede { margin-top: 0.9rem; }
.buy { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.4rem; padding: 1rem 1.15rem; background: var(--sand); border-radius: 16px; }
.buy-price { margin: 0; line-height: 1; }
.buy-price .price { display: block; font-stretch: 64%; font-weight: 800; font-size: 2.5rem; font-variant-numeric: tabular-nums; }
.buy-price small { display: block; margin-top: 0.2rem; font-size: 0.82rem; color: var(--muted); }
.buy .actions { margin-top: 0; }
.page-head .buy { background: var(--page); }
.page-head .meter { background: var(--sand-2); }
.racket-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4.5vw, 4rem); }
.racket-body h2 { margin-top: 0; }
.racket-body h2 ~ h2 { margin-top: 2.5rem; }
.geo { display: flex; align-items: center; gap: 1.25rem; margin: 1rem 0 0; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 16px; }
.geo .rk { width: 52px; height: auto; }
.geo figcaption { display: grid; gap: 0.2rem; }
.geo strong { font-stretch: 72%; font-size: 1.35rem; line-height: 1.1; }
.geo span { color: var(--muted); font-size: 0.92rem; line-height: 1.4; }
.art-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.6rem; text-align: center; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.chips li, .prose .chips li { margin: 0; }
.chips a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0.3rem 0.9rem; border: 1.5px solid var(--sand-2); border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 0.95rem; text-decoration: none; line-height: 1.2; }
.chips a:hover { border-color: var(--court); color: var(--court); }
.sources { padding-left: 1.2rem; font-size: 0.95rem; word-break: break-word; }

/* ---------- Ranked picks (best lists, finder results) ---------- */
.picks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; counter-reset: pick; }
.pick { position: relative; counter-increment: pick; display: grid; grid-template-columns: 13.5rem minmax(0, 1fr); grid-template-areas: "art head" "art body"; grid-template-rows: auto 1fr; gap: 0 1.75rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 20px; }
.pick-art { grid-area: art; display: grid; place-items: center; aspect-ratio: 1; background: var(--tile); border-radius: 12px; overflow: hidden; }
.pick-art .rk-img { width: 100%; height: 100%; }
.pick-art svg.rk { height: 70%; width: auto; }
.pick-art:has(svg) { background: var(--sand); }
.pick-head { grid-area: head; align-self: end; }
.pick-body { grid-area: body; }
.pick-head h2, .pick-head h3 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); font-stretch: 68%; font-weight: 800; line-height: 1; }
.pick-head a { color: var(--ink); text-decoration: none; }
.pick-head a:hover { text-decoration: underline; text-decoration-color: var(--court); }
.pick-spec { margin-top: 0.35rem; color: var(--muted); font-size: 0.95rem; }
.pick-cat { margin: 0 0 0.3rem; font-weight: 700; }
.pick-cat a { text-decoration: none; }
.pick-cat a:hover { text-decoration: underline; }
.picks--ranked .pick::before { content: counter(pick); position: absolute; top: -0.7rem; left: -0.7rem; z-index: 1; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 50%; background: var(--ball); color: var(--ball-ink); font-weight: 800; font-stretch: 64%; font-size: 1.6rem; line-height: 1; box-shadow: 0 0 0 4px var(--page); }
.why { margin-top: 0.6rem; }
.pick-body > p { max-width: 64ch; }
.pick-body > p:first-child { margin-top: 0.75rem; }

/* ---------- X vs Y ---------- */
.vs-head { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(0.5rem, 3vw, 2rem); align-items: start; max-width: 48rem; }
.vs-card { margin: 0; display: grid; gap: 0.6rem; justify-items: start; }
.vs-card > a { display: grid; gap: 0.7rem; width: 100%; color: var(--ink); text-decoration: none; }
.vs-card > a:hover figcaption { text-decoration: underline; }
.vs-art { display: grid; place-items: center; aspect-ratio: 1; width: 100%; background: var(--sand); border-radius: 18px; overflow: hidden; }
.vs-art--photo { background: var(--tile); border: 1px solid var(--line); }
.vs-art .rk-img { display: block; width: 100%; height: 100%; }
.vs-art .rk:not(.rk-img) { width: 34%; height: auto; }
.vs-card figcaption { font-weight: 800; font-stretch: 68%; font-size: clamp(1.25rem, 3.4vw, 1.9rem); line-height: 1.05; }
.vs-year { color: var(--muted); font-weight: 600; }
.vs-price { margin: 0; font-weight: 750; font-stretch: 80%; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.vs-price .na { font-weight: 500; font-size: 0.9rem; font-stretch: 100%; }
.vs-badge { align-self: center; margin-top: -5rem; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--ink); color: var(--page); font-weight: 800; font-stretch: 64%; font-size: 1.5rem; }
.cmp-vs { max-width: 48rem; }
.cmp-vs td { min-width: 0; }
.cmp-vs thead a { font-size: 1.2rem; }
.vs-diffs { padding-left: 1.2rem; }
.vs-diffs li + li { margin-top: 0.6rem; }
.cta-line { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }

/* ---------- Best lists hub ---------- */
.best-nav { display: grid; gap: 1.1rem; }
.best-nav p { margin: 0; font-weight: 700; }
.best-nav .chips { margin-top: 0.45rem; }
.best-block .rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 46rem; }
.best-block h2 a { color: var(--ink); text-decoration: none; }
.best-block h2 a:hover { text-decoration: underline; text-decoration-color: var(--court); }
.best-block > p { max-width: 62ch; color: var(--muted); }

/* ---------- Home ---------- */
.shape-cards { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.shape-cards a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.2rem 1.25rem; align-items: center; height: 100%; padding: 1.4rem 1.5rem; background: var(--sand); border-radius: 20px; color: var(--ink); text-decoration: none; }
.shape-cards a:hover { background: var(--sand-2); }
.shape-cards .rk { grid-row: span 3; width: 76px; height: auto; }
.shape-cards strong { font-stretch: 66%; font-weight: 800; font-size: 2rem; line-height: 1; align-self: end; }
.shape-cards span { color: var(--muted); line-height: 1.4; font-size: 0.98rem; }
.shape-cards em { font-style: normal; font-weight: 650; color: var(--court); font-size: 0.95rem; align-self: start; }
.tool-row { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tool-row a { display: grid; gap: 0.4rem; align-content: start; height: 100%; padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); text-decoration: none; }
.tool-row a:hover { border-color: var(--court); }
.tool-row h2 { margin: 0; font-size: 1.7rem; line-height: 1.05; }
.tool-row span { color: var(--muted); line-height: 1.45; }
.brand-grid { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 0.6rem; }
.brand-grid a { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.brand-grid a:hover { border-color: var(--court); color: var(--court); }
.brand-grid strong { font-stretch: 74%; font-size: 1.15rem; }
.brand-grid span { color: var(--muted); font-size: 0.85rem; font-variant-numeric: tabular-nums; }
.home-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--sand); border-radius: 24px; }
.home-why h2 { margin-top: 0; }
.home-why p { max-width: 58ch; margin-top: 0; }

/* ---------- Guides, blog, FAQ ---------- */
.shape-demo { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 5vw, 3.5rem); padding: 2rem 1rem 1.25rem; background: var(--sand); border-radius: 22px; }
.shape-demo figure { margin: 0; display: grid; justify-items: center; gap: 0.5rem; }
.shape-demo figcaption { font-weight: 800; font-stretch: 68%; font-size: 1.5rem; }
.shape-demo .art-note { flex-basis: 100%; }
.faq { margin-top: 1rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; cursor: pointer; font-weight: 650; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 500; font-size: 1.5rem; line-height: 1; color: var(--court); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; max-width: 64ch; }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.post-list a { display: grid; gap: 0.4rem; align-content: start; height: 100%; padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; }
.post-list a:hover { border-color: var(--court); }
.post-list strong { font-stretch: 70%; font-weight: 800; font-size: 1.6rem; line-height: 1.05; }
.post-list span { color: var(--muted); line-height: 1.45; }
.post-date { font-size: 0.85rem; }
.post { font-size: 1.1rem; line-height: 1.65; }
.post h2 { margin-top: 2.75rem; }
.toc { background: var(--sand); border-radius: 16px; padding: 1.1rem 1.3rem; margin: 0 0 2rem; font-size: 1rem; }
.toc p { margin: 0 0 0.4rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc a { color: var(--ink); }
.note { border-left: 4px solid var(--court); padding: 0.75rem 1.1rem; margin: 1.5rem 0; background: var(--sand); border-radius: 0 12px 12px 0; }
.note p { margin: 0; }
.empty { color: var(--muted); }

/* ---------- Consent ---------- */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 34rem; margin-inline: auto; background: var(--page); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.15rem; box-shadow: var(--shadow); z-index: 20; }
.consent p { margin: 0; font-size: 0.95rem; }
.consent-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }

/* ---------- Narrow screens ---------- */
@media (max-width: 980px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-about { grid-column: 1 / -1; }
  .rgrid--row { grid-template-columns: repeat(auto-fill, minmax(11.75rem, 1fr)); }
  .nav-links { gap: 1.1rem; }
}
@media (max-width: 760px) {
  .consent { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; padding: 0.7rem 0.85rem; display: flex; align-items: center; gap: 0.75rem; }
  .consent p { font-size: 0.85rem; line-height: 1.35; }
  .consent-actions { margin-top: 0; flex-direction: column; gap: 0.35rem; }
  .consent .btn-small { min-height: 2.1rem; padding: 0.25rem 0.8rem; font-size: 0.9rem; }
  .foot-col { gap: 0; }
  .foot-col a { padding-block: 0.42rem; }
  .foot-h { margin-bottom: 0.2rem; }
  .head-row { flex-wrap: wrap; padding-block: 0.6rem 0; }
  .head-cta { order: 2; margin-left: auto; }
  .nav-links { order: 3; width: calc(100% + 2rem); margin: 0.1rem -1rem 0; padding: 0 1rem; gap: 1.25rem; justify-content: space-between; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { padding-block: 0.6rem; font-size: 0.95rem; font-stretch: 88%; }
  .hero-racket { top: -8rem; right: -5.5rem; height: 32rem; transform: rotate(24deg); }
  .hero h1 { max-width: 11ch; }
  .quickstart .choices { grid-template-columns: 1fr; }
  .rgrid, .rgrid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 0.75rem; }
  .rcard-name { font-size: 1.15rem; }
  .best-block .rgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
  .best-block .rcard-spec, .best-block .rcard-brand { display: none; }
  .best-block .rcard-name { font-size: 1rem; }
  .shape-cards, .tool-row, .home-why, .post-list, .compare-pick { grid-template-columns: 1fr; }
  .shape-cards a { padding: 1.1rem 1.2rem; }
  .shape-cards .rk { width: 60px; }
  .rhero, .racket-body { grid-template-columns: 1fr; }
  .rhero-art { max-width: 26rem; }
  .stat dt { font-size: 0.75rem; }
  .stat b { font-size: 2.1rem; }
  .stats--compact .stat b { font-size: 1.6rem; }
  .specs th { width: 7.5rem; }
  .pick { grid-template-columns: 6.75rem minmax(0, 1fr); grid-template-areas: "art head" "body body"; gap: 0.9rem 1rem; padding: 1rem; }
  .pick-head { align-self: center; }
  .picks--ranked .pick::before { width: 2.3rem; height: 2.3rem; font-size: 1.35rem; top: -0.55rem; left: -0.4rem; }
  .filter-toggle { display: inline-flex; align-items: center; justify-self: start; min-height: 2.6rem; padding: 0.3rem 0.95rem; border: 1.5px solid var(--sand-2); border-radius: 10px; background: var(--page); color: var(--ink); font: 650 0.98rem/1.1 var(--font); cursor: pointer; }
  .filter-toggle::after { content: "+"; margin-left: 0.5rem; font-size: 1.2rem; line-height: 1; color: var(--court); }
  .filter-toggle[aria-expanded="true"] { border-color: var(--ink); }
  .filter-toggle[aria-expanded="true"]::after { content: "–"; }
  .filter-grid { display: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters.is-open .filter-grid { display: grid; }
  .vs-badge { width: 2.3rem; height: 2.3rem; font-size: 1.1rem; margin-top: -4rem; }
  .vs-card .btn { padding-inline: 0.8rem; font-size: 0.95rem; }
  .cmp-vs tbody tr:nth-child(-n+4) td { white-space: nowrap; }
  .cmp-vs tbody th { white-space: normal; }
  .cmp thead .rk { width: 96px; height: 96px; }
  .cmp thead a { font-size: 1.1rem; }
  .cmp th, .cmp td { padding: 0.6rem 0.45rem; }
  .cmp tbody th { white-space: normal; width: 4.75rem; padding-left: 0; font-size: 0.9rem; }
  .cmp td { min-width: 6.5rem; }
  .cmp .track { display: block; width: 100%; max-width: 6rem; margin: 0 0 0.3rem; }
  .cmp-vs td { min-width: 0; }
  .cmp-vs .track { display: inline-block; width: 2rem; margin: 0 0.35rem 0 0; }
  .geo { padding: 1rem 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Small phones: the four rating labels have to fit four across. */
@media (max-width: 400px) {
  .stats { column-gap: 0.45rem; }
  .stat dt { font-size: 0.72rem; font-stretch: 78%; }
  .stat b { font-size: 1.9rem; }
  .stats--compact .stat b { font-size: 1.5rem; }
  .pick .actions { gap: 0.45rem; }
  .pick .actions .btn { padding-inline: 0.8rem; font-size: 0.96rem; }
}
