/* PadelSpecs — "Clubhouse" theme
   Soft blue #B6DFED, midnight navy #002941, coral #FD6E6E.
   Apple-style type: SF Pro on Apple devices, Inter elsewhere.
   Light by default; dark follows the device or the header switch.
   Coral is never used as small text on light surfaces (contrast 2.7:1) — only as a fill with navy text,
   or as text on navy (5.5:1). */
:root.apple {
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
}
:root {
  --soft: #B6DFED;
  --navy: #002941;
  --coral: #FD6E6E;
  --on-coral: #002941;

  --bg: #f6fbfd;
  --bg-wash: linear-gradient(180deg, #ffffff 0, #f3f9fc 40%, #e6f3f8 100%);
  --surface: #ffffff;
  --surface-2: #f0f7fa;
  --stage: #e6f4f9;
  --disc: #B6DFED;
  --line: rgba(0, 41, 65, .09);
  --line-2: rgba(0, 41, 65, .2);
  --text: #002941;
  --text-2: #36566a;
  --text-3: #577284;
  --price: #002941;
  --kicker: #2f6f8f;
  --chip-bg: #002941;
  --chip-text: #ffffff;
  --nav-bg: rgba(255, 255, 255, .78);
  --shadow: 0 16px 40px -26px rgba(0, 41, 65, .5);
  --shadow-lg: 0 30px 70px -40px rgba(0, 41, 65, .55);
  --focus: #002941;
  --ok: #1d7a4c;
  --bad: #b3261e;

  /* Apple's system font (SF Pro) on Apple devices; Inter, its closest free match, elsewhere */
  --display: "Inter", "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --r-xl: 28px; --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #001f33;
    --bg-wash: radial-gradient(90% 60% at 75% 0%, #003655 0, #002941 45%, #001f33 100%);
    --surface: #06344f;
    --surface-2: #0a3c5a;
    --stage: #0a3c5a;
    --disc: #B6DFED;
    --line: rgba(182, 223, 237, .13);
    --line-2: rgba(182, 223, 237, .3);
    --text: #eef8fc;
    --text-2: #B6DFED;
    --text-3: #8fb6c6;
    --price: #FD6E6E;
    --kicker: #FD6E6E;
    --chip-bg: #B6DFED;
    --chip-text: #002941;
    --nav-bg: rgba(0, 41, 65, .8);
    --shadow: 0 16px 40px -24px rgba(0, 0, 0, .7);
    --shadow-lg: 0 30px 70px -40px rgba(0, 0, 0, .8);
    --focus: #B6DFED;
    --ok: #6fdc9f;
    --bad: #ff9a92;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #001f33;
  --bg-wash: radial-gradient(90% 60% at 75% 0%, #003655 0, #002941 45%, #001f33 100%);
  --surface: #06344f;
  --surface-2: #0a3c5a;
  --stage: #0a3c5a;
  --disc: #B6DFED;
  --line: rgba(182, 223, 237, .13);
  --line-2: rgba(182, 223, 237, .3);
  --text: #eef8fc;
  --text-2: #B6DFED;
  --text-3: #8fb6c6;
  --price: #FD6E6E;
  --kicker: #FD6E6E;
  --chip-bg: #B6DFED;
  --chip-text: #002941;
  --nav-bg: rgba(0, 41, 65, .8);
  --shadow: 0 16px 40px -24px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 70px -40px rgba(0, 0, 0, .8);
  --focus: #B6DFED;
  --ok: #6fdc9f;
  --bad: #ff9a92;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--sans); letter-spacing: -.01em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration-color: var(--coral); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--coral); color: var(--on-coral); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--nav-bg); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
.topbar-pill { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: calc(var(--max) + 2 * var(--gutter)); height: 68px; margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.logo-img { width: 46px; height: 46px; display: block; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; }
}
.wordmark { font: 700 22px/1 var(--display); letter-spacing: -.035em; }
.wordmark b { font-weight: 700; }
.topbar nav { display: flex; align-items: center; gap: 4px; }
.topbar nav a { padding: 8px 14px; border-radius: 999px; color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.topbar nav a:hover { color: var(--text); background: var(--surface-2); }
.theme-toggle { width: 40px; height: 40px; margin-left: 4px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 1.8; }
.theme-toggle svg path { fill: var(--text); stroke: none; }
.theme-toggle[data-choice="light"] svg path { fill: none; }
.theme-toggle[data-choice="dark"] svg circle { fill: var(--text); }
.compare-nav { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-left: 6px; padding: 0 6px 0 16px; border-radius: 999px; border: 0; background: var(--chip-bg); color: var(--chip-text); font-weight: 600; font-size: 15px; }
.compare-nav #compareCount { min-width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 99px; background: rgba(255, 255, 255, .16); font-weight: 700; font-size: 14px; }
.compare-nav.has-items #compareCount { background: var(--coral); color: var(--on-coral); }
@media (max-width: 760px) { .topbar nav a { display: none; } }
@media (max-width: 400px) {
  .topbar-pill { gap: 8px; }
  .wordmark { font-size: 19px; }
  .logo-img { width: 38px; height: 38px; }
  .compare-nav { padding: 0 6px 0 12px; font-size: 14px; }
}
@media (max-width: 340px) { .cmp-text { display: none; } .compare-nav { padding: 0 6px; } }

/* ---------- Hero ---------- */
.arena { background: var(--bg-wash); padding: 56px var(--gutter) 40px; }
.arena-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 32px; max-width: var(--max); margin: 0 auto; }
.featured-kicker { margin: 0 0 14px; color: var(--kicker); font-weight: 600; font-size: 15px; }
.featured-copy h1 { margin: 0; font: 700 clamp(56px, 8.4vw, 112px)/.98 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.featured-sub { max-width: 42ch; margin: 22px 0 30px; color: var(--text-2); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; }
.featured-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.featured-racket { position: relative; justify-self: center; width: min(100%, 400px); aspect-ratio: 1; display: grid; place-items: center; }
.featured-racket .disc { position: absolute; inset: 6%; border-radius: 50%; background: var(--disc); }
.disc-art { position: relative; height: 100%; display: grid; place-items: center; }
.disc-art .racket-svg { height: 100%; width: auto; rotate: 14deg; filter: drop-shadow(0 26px 30px rgba(0, 41, 65, .28)); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .2s var(--ease), background .2s, border-color .2s; }
.btn:active, .btn-small:active, .game-link:active { transform: scale(.97); }
.btn-ball { background: var(--coral); color: var(--on-coral); }
.btn-ball:hover { background: #ff8585; }
.btn-ball[aria-pressed="true"] { background: transparent; color: var(--text); border-color: var(--coral); }
.btn-glass { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-glass:hover { border-color: var(--text); }

/* Spec bar (featured racket & racket page) */
.scoreboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); max-width: var(--max); margin: 40px auto 0; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.score-cell { display: flex; flex-direction: column; gap: 4px; padding: 16px 22px 18px; min-width: 0; border-left: 1px solid var(--line); margin-left: -1px; }
.score-label { color: var(--text-3); font-size: 13px; font-weight: 500; }
.score-value { display: block; max-width: 100%; font: 600 clamp(22px, 2.1vw, 28px)/1.15 var(--display); letter-spacing: -.02em; overflow-wrap: normal; word-break: normal; }
.score-value small { margin-left: 3px; font: 500 13px var(--sans); color: var(--text-3); }
.score-cell.is-unknown .score-value { display: block; max-width: 100%; color: var(--text-3); }

/* ---------- Sections ---------- */
.releases, .by-game, .catalog, .method { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 88px var(--gutter) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 26px; }
.section-head h2 { margin: 0; font: 700 clamp(34px, 4.2vw, 52px)/1.05 var(--display); letter-spacing: -.035em; }
.section-head p { margin: 0; color: var(--text-3); }

/* Cards */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-court { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--stage); }
.card-court::before { content: ""; position: absolute; left: 50%; top: 52%; width: 62%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: var(--disc); opacity: .75; }
.card-year { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 4px 11px; border-radius: 999px; background: var(--surface); color: var(--text); font-weight: 700; font-size: 13px; box-shadow: 0 2px 8px rgba(0, 41, 65, .12); }
.card-year.is-unknown { font-weight: 500; color: var(--text-3); }
.card-art { position: absolute; inset: 0; border: 0; padding: 9% 0 5%; background: none; display: grid; place-items: center; }
.card-art .racket-svg { height: 100%; width: auto; rotate: 12deg; filter: drop-shadow(0 14px 14px rgba(0, 41, 65, .25)); transition: rotate .45s var(--ease), scale .45s var(--ease); }
.card:hover .card-art .racket-svg { rotate: 4deg; scale: 1.04; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.card-brand { margin: 0; color: var(--text-3); font-size: 13px; font-weight: 600; }
.card h3 { margin: 2px 0 6px; font: 600 19px/1.2 var(--display); letter-spacing: -.02em; overflow-wrap: normal; word-break: normal; }
.card-facts { margin: 0 0 16px; color: var(--text-2); font-size: 14px; }
.card-facts span { color: var(--text-3); }
.card-actions { display: flex; gap: 8px; margin-top: auto; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.card .btn-compare { position: relative; z-index: 2; }
.btn-small { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none; transition: border-color .2s, background .2s; }
.btn-small:hover { border-color: var(--text); }
.btn-compare[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: var(--on-coral); }

/* Rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(236px, 252px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 6px 26px; margin: 0 -6px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.rail .card { scroll-snap-align: start; }

/* By game */
.game-grid { display: grid; gap: 34px; }
.game-group h3 { margin: 0 0 14px; font: 600 14px/1 var(--sans); color: var(--text-3); }
.game-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.game-link { display: flex; align-items: center; gap: 18px; width: 100%; padding: 18px 20px; text-align: left; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .25s, transform .2s var(--ease); }
.game-link:hover { border-color: var(--coral); }
.game-art, .game-meter { flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--disc); display: grid; place-items: center; }
.game-art .racket-svg { height: 82%; width: auto; rotate: 12deg; }
.game-text { display: grid; gap: 3px; }
.game-text b { font: 600 20px/1.15 var(--display); letter-spacing: -.02em; }
.game-text span { color: var(--text-2); font-size: 14px; line-height: 1.4; }
.game-text em { margin-top: 4px; color: var(--text-3); font-style: normal; font-size: 13px; font-weight: 600; }
.game-meter { display: flex; align-items: flex-end; justify-content: center; gap: 4px; padding-bottom: 16px; }
.game-meter i { width: 7px; border-radius: 4px; background: rgba(0, 41, 65, .2); }
.game-meter i:nth-child(1) { height: 10px; } .game-meter i:nth-child(2) { height: 18px; } .game-meter i:nth-child(3) { height: 26px; }
.style-power .game-meter i { background: var(--navy); }
.style-control .game-meter i:nth-child(1) { background: var(--navy); }
.style-balanced .game-meter i:nth-child(-n+2) { background: var(--navy); }

/* Catalog controls */
.finder { display: grid; gap: 14px; }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 20px; top: 50%; z-index: 1; width: 20px; height: 20px; translate: 0 -50%; fill: none; stroke: var(--text-3); stroke-width: 2.2; stroke-linecap: round; pointer-events: none; }
.search input { width: 100%; min-height: 56px; padding: 0 22px 0 52px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 17px; outline: none; box-shadow: var(--shadow); transition: border-color .2s; }
.search input:focus { border-color: var(--text); }
.search input::placeholder { color: var(--text-3); }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 14px; }
.filters label { display: grid; gap: 6px; flex: 1 1 160px; }
.filters label span, .seg-label { color: var(--text-3); font-size: 13px; font-weight: 600; padding-left: 6px; }
.filters select { appearance: none; min-height: 42px; padding: 0 36px 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23577284' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.seg-group { display: grid; gap: 6px; }
.segmented { display: inline-flex; padding: 3px; border-radius: 999px; gap: 2px; border: 1px solid var(--line-2); background: var(--surface); }
.segmented button { min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: none; color: var(--text-2); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .25s var(--ease), color .25s; }
.segmented button:hover { color: var(--text); }
.segmented button[aria-pressed="true"] { background: var(--chip-bg); color: var(--chip-text); }
.clear { min-height: 42px; padding: 0 12px; border: 0; background: none; color: var(--text); font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 4px; }
.scope-note { margin: 16px 0 0; color: var(--text-3); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 18px; margin-top: 24px; }
.empty { grid-column: 1 / -1; display: grid; gap: 4px; padding: 44px 24px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); text-align: center; color: var(--text-2); }
.empty b { color: var(--text); font: 600 22px var(--display); letter-spacing: -.02em; }
.load-more { display: flex; margin: 34px auto 0; }

/* Method */
.method { padding-bottom: 88px; }
.method h2 { margin: 0 0 22px; font: 700 clamp(28px, 3.2vw, 38px)/1.1 var(--display); letter-spacing: -.03em; }
.method-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.method-cols p { margin: 0; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 15px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 24px var(--gutter) 34px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; }
.footer b { color: var(--text-2); font-weight: 600; }

/* ---------- Compare sheet ---------- */
.sheet { width: min(900px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
.sheet::backdrop { background: rgba(0, 41, 65, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet[open] { animation: sheet-in .35s var(--ease); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(20px) scale(.985); } }
.sheet > div { position: relative; padding: clamp(20px, 3vw, 36px); }
.sheet-close { position: absolute; right: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2); font-size: 14px; z-index: 2; }
.compare-title { margin: 0 0 22px; padding-right: 48px; font: 700 clamp(32px, 4vw, 44px)/1.05 var(--display); letter-spacing: -.035em; }
.compare-scroll { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare-table col.c-label { width: 128px; }
.compare-table col.c-racket { width: auto; min-width: 150px; }
.compare-table th, .compare-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { font: 600 17px/1.25 var(--display); letter-spacing: -.01em; }
.compare-table thead .btn-small { margin-top: 10px; font: 600 13px var(--sans); }
.compare-table tbody th { color: var(--text-3); font-weight: 600; font-size: 14px; }
.compare-table td, .compare-table th { overflow-wrap: break-word; }
.compare-art { width: 74px; height: 74px; margin-bottom: 8px; border-radius: 50%; background: var(--disc); display: grid; place-items: center; }
.compare-art .racket-svg { height: 86%; width: auto; rotate: 12deg; }
.unknown { color: var(--text-3) !important; font-weight: 400 !important; }
.fine, .source { color: var(--text-3); font-size: 14px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; translate: -50% 24px; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-text); font-weight: 600; font-size: 15px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s, translate .4s var(--ease); }
.toast.show { opacity: 1; translate: -50% 0; }

/* ---------- Racket page ---------- */
body.show-racket .arena, body.show-racket .releases, body.show-racket .by-game, body.show-racket .catalog, body.show-racket .method { display: none; }
.racket-page { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 28px var(--gutter) 40px; }
.crumbs { margin-bottom: 22px; font-size: 14px; }
.crumbs ol { display: flex; align-items: center; min-width: 0; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.crumbs li { display: flex; align-items: center; min-width: 0; color: var(--text-3); }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 12px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; flex: none; }
.crumbs li:first-child a::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-1px) rotate(45deg); }
.crumbs a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-2); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--coral); }
.crumbs li[aria-current] { flex: 1 1 auto; }
.crumbs li[aria-current] span { overflow: hidden; text-overflow: ellipsis; color: var(--text-3); }
.rp-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.rp-gallery { display: grid; gap: 12px; }
.rp-stage { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-xl); overflow: hidden; display: grid; place-items: center; background: var(--stage); border: 1px solid var(--line); }
.rp-stage::before { content: ""; position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; background: var(--disc); }
.rp-stage img { position: relative; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.rp-art { position: relative; height: 84%; display: grid; place-items: center; transition: transform .5s var(--ease); }
.rp-art .racket-svg { height: 100%; width: auto; filter: drop-shadow(0 30px 34px rgba(0, 41, 65, .28)); }
.view-front { transform: rotate(0deg); }
.view-angled { transform: rotate(-24deg) scale(.95); }
.view-face { transform: scale(1.9) translateY(18%); }
.rp-credit { position: absolute; left: 14px; bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 28px); padding: 6px 12px; border-radius: 999px; font-size: 12px; color: var(--text-2); background: var(--nav-bg); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rp-thumbs { display: flex; gap: 10px; }
.rp-thumb { width: 76px; height: 76px; padding: 0; border-radius: var(--r-md); overflow: hidden; border: 2px solid transparent; background: var(--stage); display: grid; place-items: center; }
.rp-thumb[aria-pressed="true"] { border-color: var(--coral); }
.rp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rp-thumb-art { height: 78%; display: grid; place-items: center; overflow: hidden; }
.rp-thumb-art .racket-svg { height: 100%; width: auto; }
.rp-head h1 { margin: 4px 0 18px; font: 700 clamp(40px, 5.4vw, 72px)/1 var(--display); letter-spacing: -.04em; overflow-wrap: normal; word-break: normal; text-wrap: balance; }
.ids { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 20px; }
.ids div { display: grid; }
.ids dt { color: var(--text-3); font-size: 13px; }
.ids dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.rp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 4px 0 24px; color: var(--text-2); }
.rp-price b { color: var(--price); font: 700 38px/1 var(--display); letter-spacing: -.03em; }
.scoreboard-inline { margin: 36px 0 0; }
.rp-section { margin-top: 72px; }
.rp-sub { margin: 0 0 10px; font: 600 14px/1 var(--sans); color: var(--text-3); }
.spec-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.spec-group { padding: 22px 24px 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.spec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0 24px; margin: 0; }
.spec-list div { padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec-list div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--text-3); font-size: 13px; }
.spec-list dd { margin: 0; font-weight: 600; }
.color-dd { display: flex; align-items: center; gap: 6px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 1px var(--line-2); }
.swatch + .swatch { margin-left: -9px; }
.conflict-title { margin: 14px 0 8px; color: var(--text); font-weight: 700; font-size: 14px; }
.conflicts { margin: 0; padding: 14px 18px 14px 36px; border-radius: var(--r-md); background: var(--surface-2); border-left: 3px solid var(--coral); color: var(--text-2); font-size: 15px; }
.conflicts li + li { margin-top: 4px; }
.empty-shops { display: grid; gap: 4px; padding: 26px 24px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); color: var(--text-2); }
.empty-shops b { color: var(--text); font: 600 20px var(--display); letter-spacing: -.02em; }

/* Shops */
.shops { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.shop { position: relative; display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.shop.is-best { border: 1.5px solid var(--coral); }
.shop-badge { position: absolute; top: -10px; left: 18px; padding: 3px 10px; border-radius: 999px; background: var(--coral); color: var(--on-coral); font-size: 12px; font-weight: 700; }
.shop-logo { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font: 800 20px var(--sans); color: var(--navy); background: var(--soft); }
.shop-info { display: grid; gap: 1px; min-width: 0; }
.shop-name { font: 700 17px/1.25 var(--sans); }
.shop-line { color: var(--text-2); font-size: 14px; }
.stock-ok { color: var(--ok); } .stock-bad { color: var(--bad); } .stock-muted { color: var(--text-3); }
.shop-meta { color: var(--text-3); font-size: 13px; }
.shop-buy { display: grid; justify-items: end; gap: 6px; text-align: right; }
.shop-price { font: 800 24px/1 var(--sans); color: var(--price); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.shop-price.is-unknown { font: 500 14px var(--sans); color: var(--text-3); }
.shop-link-type { color: var(--text-3); font-size: 12px; }
.btn-shop { background: var(--chip-bg); border-color: var(--chip-bg); color: var(--chip-text); }
.btn-shop:hover { opacity: .9; }

/* Videos */
.yt-consent { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; padding: 12px 16px; border-radius: var(--r-md); background: var(--surface-2); color: var(--text-2); font-size: 14px; }
.videos { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
/* Compact result row: 132x67 thumbnail on the left, title and meta on the right. */
.video { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.video:last-child { border-bottom: 0; }
.video-frame { position: relative; width: 132px; height: 67px; border-radius: var(--r-sm, 8px); overflow: hidden; background: var(--stage); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.video-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-placeholder { position: absolute; inset: 0; background: var(--stage); }
.video-rank { position: absolute; left: 7px; top: 3px; color: var(--text); font: 700 15px var(--display); }
.play-icon { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; translate: -50% -50%; border-radius: 50%; background: var(--coral); box-shadow: 0 4px 12px rgba(0, 41, 65, .3); }
.play-icon::after { content: ""; position: absolute; left: 12px; top: 9px; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--navy); }
.video-len { position: absolute; right: 4px; bottom: 4px; padding: 1px 5px; border-radius: 5px; background: rgba(0, 41, 65, .78); color: #fff; font-size: 11px; font-weight: 600; line-height: 1.4; pointer-events: none; }
.video-info { display: grid; gap: 3px; padding: 0; align-content: start; }
.video-info b { font: 600 15px/1.35 var(--sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-info span { color: var(--text-3); font-size: 13px; }
.video-info a { font-size: 13px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--coral); justify-self: start; }
/* Once playing, the row becomes a full-width 16:9 player. */
.video.playing { grid-template-columns: minmax(0, 1fr); }
.video.playing .video-frame { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r-md); }
@media (max-width: 420px) {
  .video { grid-template-columns: 112px minmax(0, 1fr); gap: 11px; }
  .video-frame { width: 112px; height: 57px; }
  .video-info b { font-size: 14px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) { .game-links { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .arena { padding-top: 32px; }
  .arena-inner, .rp-top { grid-template-columns: 1fr; }
  .featured-racket { order: -1; width: min(62vw, 260px); }
  .method-cols, .spec-groups, .videos { grid-template-columns: 1fr; }
  .rp-stage { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .scoreboard { grid-template-columns: repeat(2, 1fr); }
  .score-cell:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .score-cell { padding: 14px 16px 16px; }
  .card-body { padding: 12px 14px 14px; }
  .card h3 { font-size: 16px; }
  .card-facts { font-size: 13px; margin-bottom: 12px; }
  .btn-details { display: none; }
  .card .btn-compare { flex: 1; }
  .rail { grid-auto-columns: 200px; }
  .featured-copy h1 { font-size: clamp(44px, 13vw, 64px); }
  .rp-head h1 { font-size: clamp(34px, 10vw, 48px); }
  .section-head h2 { font-size: 32px; }
  .game-link { padding: 14px 16px; gap: 14px; }
  .racket-page { padding-top: 16px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-court { aspect-ratio: 1 / 1; }
  .card-year { left: 8px; top: 8px; font-size: 12px; padding: 3px 9px; }
  .rp-credit { font-size: 11px; left: 10px; bottom: 10px; max-width: calc(100% - 20px); }
  .segmented { display: flex; width: 100%; }
  .segmented button { flex: 1; padding: 0 8px; }
  .filters label, .seg-group { flex: 1 1 100%; }
  .game-links { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .game-link { flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 16px 8px; }
  .game-text span { display: none; }
  .game-text b { font-size: 16px; }
  .game-text em { margin-top: 0; }
  .compare-table col.c-label { width: 96px; }
  .compare-table th, .compare-table td { padding: 10px; font-size: 14px; }
  .score-cell { border-top: 1px solid var(--line); }
  .card-actions { flex-wrap: wrap; }
  .shop { grid-template-columns: 40px 1fr; padding: 16px; }
  .shop-logo { width: 40px; height: 40px; border-radius: 12px; font-size: 18px; }
  .shop-buy { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; justify-items: start; text-align: left; }
  .shop-link-type { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.compare-table tbody th, .compare-table thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); }
@media (max-width: 560px) { .sheet > div { padding: 20px 16px; } .sheet-close { right: 12px; top: 12px; } }

/* ---------- Info pages (About, disclosure, privacy, contact) ---------- */
.doc { max-width: calc(720px + 2 * var(--gutter)); margin: 0 auto; padding: 56px var(--gutter) 72px; }
.doc-kicker { margin: 0 0 10px; color: var(--kicker); font-weight: 600; font-size: 15px; }
.doc h1 { margin: 0 0 18px; font: 700 clamp(36px, 6vw, 56px)/1.05 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.doc-lead { margin: 0 0 8px; font-size: clamp(18px, 2vw, 20px); line-height: 1.5; color: var(--text-2); }
.doc h2 { margin: 44px 0 12px; font: 700 24px/1.2 var(--display); letter-spacing: -.025em; }
.doc p, .doc li { font-size: 16px; line-height: 1.65; color: var(--text-2); }
.doc p { margin: 0 0 14px; max-width: 68ch; }
.doc ul { margin: 0 0 14px; padding-left: 20px; }
.doc li { margin-bottom: 8px; max-width: 66ch; }
.doc li::marker { color: var(--coral); }
.doc b { color: var(--text); font-weight: 650; }
.doc a:not(.btn-small):not(.doc-email) { color: var(--text); text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
.doc-note { margin: 24px 0 8px; padding: 14px 18px; border-radius: var(--r-md); background: var(--surface-2); border-left: 3px solid var(--coral); color: var(--text-2); }
.doc-email { display: inline-flex; align-items: center; margin: 22px 0 6px; padding: 14px 22px; border-radius: 999px; background: var(--coral); color: var(--on-coral); font-weight: 700; font-size: 18px; text-decoration: none; overflow-wrap: normal; }
.doc-email:hover { background: #ff8585; }
.doc-updated { margin-top: 40px !important; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px !important; color: var(--text-3) !important; }
.doc-inline-status { margin-left: 10px; font-size: 14px; color: var(--text-3); }
.doc-table-wrap { overflow-x: auto; margin: 4px 0 14px; border: 1px solid var(--line); border-radius: var(--r-md); }
.doc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc-table th, .doc-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); color: var(--text-2); }
.doc-table th { color: var(--text-3); font-weight: 600; font-size: 13px; background: var(--surface-2); }
.doc-table tr:last-child td { border-bottom: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.footer-links a:hover, .footer-links a[aria-current] { color: var(--text); text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
@media (max-width: 560px) { .doc { padding-top: 32px; } .doc h2 { font-size: 21px; margin-top: 36px; } .doc-email { font-size: 16px; } }
