/* The content hub under /padel/ and /fi/padel/ (web/content_pages.py), on top of guide.css. */
[hidden] { display: none !important; }
.hub-rackets .g-main, .hub-tournaments .g-main { max-width: 1100px; }
.g-main h2 .yr, .rackets .yr { color: #9a9fa8; font-weight: 400; }
/* PA-1344: the page's promo in one line, mid-page, and the guide under the full one */
.g-main .try.slim { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 18px; margin: 28px 0; }
.g-main .try.slim p { margin: 0; font-weight: 700; }
.g-main .try .guide { margin-bottom: 0; color: #9a9fa8; font-size: 15px; }
/* PA-1386: the end promo's screenshot beside its text, under it on a phone; a logged-in reader's bridge has none */
.g-main .try:has(> .try-pic) { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px 24px; align-items: center; }
.g-main .try:has(> .try-pic.tall) { grid-template-columns: minmax(0, 1fr) 200px; }
.g-main .try-text > :last-child { margin-bottom: 0; }
.g-main .try-pic { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: #14161a; }
@media (max-width: 640px) {
  .g-main .try:has(> .try-pic), .g-main .try:has(> .try-pic.tall) { grid-template-columns: minmax(0, 1fr); }
  .g-main .try-pic { max-width: 360px; justify-self: center; }
  .g-main .try-pic.tall { max-width: 220px; }
}

.filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; background: #12161b;
  border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px; margin: 0 0 12px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #9a9fa8; }
.filters select, .filters button { font: inherit; font-size: 15px; min-height: 40px; background: #1c2128; color: #f4f5f2;
  border: 1px solid #343943; border-radius: 8px; padding: 6px 10px; }
.filters button { cursor: pointer; }
.filters select:focus-visible, .filters button:focus-visible, .pick input:focus-visible { outline: 3px solid #4c9bff; outline-offset: 2px; }
.count { color: #9a9fa8; font-size: 14px; margin: 0 0 8px; }

.rackets th[data-col="racket"] a { color: #f4f5f2; font-weight: 700; text-decoration: none; }
.rackets th[data-col="racket"] a:hover { text-decoration: underline; }
.rackets th small { display: block; color: #9a9fa8; font-weight: 400; font-size: 13px; line-height: 1.4; margin-top: 3px; max-width: 36ch; }
.rackets td, .rackets th { font-size: 14px; }
.pick label { white-space: nowrap; cursor: pointer; }
.pick input { width: 18px; height: 18px; vertical-align: -3px; accent-color: #d7ff3c; }

.compare { background: #12161b; border: 1px solid rgba(76,155,255,.35); border-radius: 16px; padding: 4px 18px 16px; margin: 22px 0; }
.compare h2 { margin-top: 14px; }
.compare:focus { outline: none; }
.compare { scroll-margin-top: 84px; }   /* clears the site's sticky top bar */
.compare .hint { color: #9a9fa8; font-size: 14px; }
#compare-table thead th { color: #f4f5f2; font-weight: 700; }
.compare-remove { font: inherit; font-size: 18px; line-height: 1; color: #9a9fa8; background: none; border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px; width: 28px; height: 28px; padding: 0; margin-inline-start: 6px; cursor: pointer; vertical-align: middle; }
.compare-remove:hover { color: #f4f5f2; border-color: #f4f5f2; }
.compare-jump { position: fixed; z-index: 20; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  font: inherit; font-weight: 700; color: #0b0e11; background: #d7ff3c; border: 0; border-radius: 999px; padding: 12px 22px;
  box-shadow: 0 6px 20px rgba(0,0,0,.45); cursor: pointer; }
.compare-jump[hidden] { display: none; }
.compare-remove:focus-visible, .compare-jump:focus-visible { outline: 3px solid #4c9bff; outline-offset: 2px; }
/* The comparison's charts, one at a time: a 3x3 grid, or the weight scale; one numbered dot per picked racket */
.feel-charts { margin: 18px 0 0; max-width: 560px; }
.feel-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.feel-pick button { font: inherit; font-size: 14px; min-height: 36px; padding: 4px 12px; border-radius: 999px; cursor: pointer;
  color: #9a9fa8; background: none; border: 1px solid rgba(255,255,255,.2); }
.feel-pick button[aria-pressed="true"] { color: #0b0e11; background: #d7ff3c; border-color: #d7ff3c; font-weight: 700; }
.feel-pick button:focus-visible { outline: 3px solid #4c9bff; outline-offset: 2px; }
.feel { margin: 0; }
.feel-grid.feel-range { grid-template-columns: auto minmax(0, 1fr); }
.feel-track { min-height: 44px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 6px 0; }
.feel-line { display: flex; flex-direction: column; gap: 2px; }
.feel-on { position: relative; height: 20px; margin-inline: 12px; }
.feel-on::before { content: ""; position: absolute; inset-inline: 0; top: 9px; height: 2px; background: rgba(255,255,255,.08); }
.feel-bar { position: absolute; top: 7px; height: 6px; min-width: 2px; border-radius: 3px; background: rgba(244,245,242,.35); }
.feel-on .feel-dot { position: absolute; top: 0; }
.feel-name { font-size: 11px; line-height: 1.25; color: #f4f5f2; padding-inline: 12px; }
.feel-scale { display: flex; justify-content: space-between; font-size: 12px; color: #9a9fa8; padding: 2px 4px 0; }
.feel-scale span { direction: ltr; unicode-bidi: isolate; }   /* "380 g", not "g 380", right to left */
.feel figcaption { font-weight: 700; color: #f4f5f2; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.feel-grid { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 4px; align-items: stretch; }
.feel-y, .feel-x { font-size: 12px; color: #9a9fa8; }
.feel-y { align-self: center; padding-inline-end: 6px; text-align: end; }
.feel-x { text-align: center; padding-top: 2px; }
.feel-cell { min-height: 64px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 8px; padding: 6px 4px; }
/* side by side while their names fit, one under the other in a phone's narrow cell */
.feel-item { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1 1 72px; min-width: 0; max-width: 100%;
  font-size: 11px; line-height: 1.25; color: #f4f5f2; text-align: center; overflow-wrap: break-word; }
.feel-dot { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 20px; height: 20px;
  border-radius: 999px; font-size: 12px; font-weight: 700; color: #0b0e11; background: #d7ff3c; vertical-align: middle; }
.feel-dot.n2 { background: #4c9bff; }
.feel-dot.n3 { background: #ff9d5c; }
.feel-out { color: #9a9fa8; font-size: 13px; margin: 8px 0 0; }
.feel-out .feel-dot { width: 18px; height: 18px; font-size: 11px; }
/* a racket's name takes its own direction, so "Metalbone HRD+" stays so right to left */
.feel-left, .feel-item > span:last-child, .feel-name { unicode-bidi: plaintext; }
.feel-left { display: inline-block; }

.makers { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.maker-links { padding-inline-start: 20px; }
.racket { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; }
.racket h2 { margin-top: 22px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 12px 0; font-size: 15px; }
.facts dt { color: #9a9fa8; }
.facts dd { margin: 0; }
.src { font-size: 12px; color: #9a9fa8; }
.links { display: flex; flex-wrap: wrap; gap: 0 48px; }
.links h3, .racket .links h2 { font-size: 15px; color: #9a9fa8; margin: 10px 0 2px; }
.links ul { padding-inline-start: 18px; margin: 0; }
.aff { font-size: 12px; white-space: nowrap; color: #d7ff3c; background: rgba(215,255,60,.1); border: 1px solid rgba(215,255,60,.35);
  border-radius: 999px; padding: 1px 8px; }
/* PA-1374: "Where to buy?" and its popup of shop links; a browser without popover shows the list in place. */
.buy { font: inherit; font-size: 13px; font-weight: 700; color: #d7ff3c; background: none; border: 1px solid rgba(215,255,60,.35);
  border-radius: 999px; min-height: 32px; padding: 4px 12px; margin-top: 8px; cursor: pointer; white-space: nowrap; }
.buy:hover { background: rgba(215,255,60,.1); }
.buy-row { margin: 12px 0 0; }
.buy-row .buy { margin-top: 0; font-size: 15px; min-height: 40px; padding: 6px 16px; }
.buy-pop { position: relative; box-sizing: border-box; width: min(320px, calc(100vw - 32px)); background: #12161b; color: #f4f5f2;
  border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 16px 18px; font-size: 16px; font-weight: 400;
  text-align: start; white-space: normal; }
.buy-pop:popover-open { position: fixed; box-shadow: 0 12px 40px rgba(0,0,0,.6); }
.buy-pop::backdrop { background: rgba(0,0,0,.55); }
.buy-pop .buy-name { margin: 0 40px 12px 0; font-weight: 700; }
.buy-pop ul { list-style: none; padding: 0; margin: 0; }
.buy-pop .offer { font-size: 13px; color: #9a9fa8; white-space: nowrap; }   /* PA-1496: "Email offer €…", quiet */
/* PA-1529: the price country picker, in the popup and the price card; a shop in another currency shows its own price */
.pc-pick { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: #9a9fa8; margin: 0 0 10px; }
.pc-pick[hidden] { display: none; }
.pc-pick select { font: inherit; font-size: 15px; color: #f4f5f2; background: #1c2128; border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px; min-height: 40px; padding: 4px 8px; max-width: 100%; }
.pc-pick select:focus-visible { outline: 3px solid #4c9bff; outline-offset: 2px; }
.price-card .pc-pick { margin: 10px 0 0; }
.buy-pop .elsewhere { font-size: 13px; color: #9a9fa8; white-space: nowrap; }
.buy-none { color: #9a9fa8; font-size: 14px; margin: 8px 0 0; }
.buy-pop li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; border-top: 1px solid rgba(255,255,255,.08); }
.rackets .buy-pop li a, .buy-pop li a { flex: 1 1 auto; padding: 11px 0; color: #8fc0ff; font-weight: 600; text-decoration: none; }
.rackets .buy-pop li a:hover, .buy-pop li a:hover { text-decoration: underline; }
.buy-close { position: absolute; top: 10px; inset-inline-end: 10px; font: inherit; font-size: 20px; line-height: 1; color: #9a9fa8; background: none;
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px; width: 40px; height: 40px; padding: 0; cursor: pointer; }
.buy-close:hover { color: #f4f5f2; border-color: #f4f5f2; }
.buy-close { display: none; }
.buy-pop:popover-open .buy-close { display: block; }
@supports not selector(:popover-open) { .buy { display: none; } .buy-pop { margin-top: 8px; } .buy-pop .buy-name { display: none; } }
.buy:focus-visible, .buy-close:focus-visible, .buy-pop a:focus-visible { outline: 3px solid #4c9bff; outline-offset: 2px; }
.meta, .lang { color: #9a9fa8; font-size: 14px; }
.lang { font-size: 12px; }
.rule { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; }
.rule h2 { margin-top: 20px; }
.rankings li { margin: 10px 0; }
.explainer { margin: 0 0 28px; }   /* PA-1421: how Finnish ranking points work, en and fi */
.explainer p { max-width: 68ch; }
.explainer .table { max-width: 560px; }
/* PA-1490: the points calculator that opens the Finnish explainer */
.calc { background: #07090b; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 4px 18px 16px;
  margin: 0 0 24px; max-width: 560px; }
.calc-f { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; align-items: end; }
.calc-f > div { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #c9cdd3; min-width: 0; }
.calc-f select, .calc-f input[type=number] { font: inherit; font-size: 16px; min-height: 42px; width: 100%;
  box-sizing: border-box; background: #1c2128; color: #f4f5f2; border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px; padding: 0 10px; }
.calc-f .calc-sm { flex-direction: row; align-items: center; gap: 8px; min-height: 42px; }
.calc-sm input { width: 18px; height: 18px; accent-color: #d7ff3c; margin: 0; }
.calc-f select:focus-visible, .calc-f input:focus-visible { outline: 3px solid #4c9bff; outline-offset: 2px; }
.calc-out { margin: 16px 0 6px; font-size: 18px; }
.calc-out output { font-size: 36px; font-weight: 800; color: #d7ff3c; }
.calc-up { margin: 0; }

/* PA-1364: the rankings page as a scoreboard. One <details> row per country: flag, facts and ranking buttons in the
   summary, the notes, points table, federation and players in the panel. World sits in its own board above. */
.hub-rankings .g-main { max-width: 1040px; }
.hub-rankings .g-main .answer { max-width: 68ch; }
.board { background: #07090b; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; overflow: hidden; margin: 0 0 28px; }
.board .head, .board summary { display: grid; align-items: center; gap: 14px;
  grid-template-columns: 40px minmax(0, 1.5fr) minmax(0, 1.1fr) minmax(0, 1fr) 76px minmax(200px, 1.3fr) 16px; }
.board .head { padding: 10px 18px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #9a9fa8; border-bottom: 1px solid rgba(255,255,255,.08); }
.board .head span:nth-child(5) { text-align: center; }
.board .head span:nth-child(6) { text-align: end; }
.board .row + .row { border-top: 1px solid rgba(255,255,255,.06); }
.board summary { padding: 14px 18px; cursor: pointer; list-style: none; }
.board summary::-webkit-details-marker { display: none; }
.board summary:hover { background: #0e1216; }
.board summary:focus-visible { outline: 2px solid #d7ff3c; outline-offset: -2px; }
.board .mark { display: block; width: 36px; height: 27px; }
.board .mark img { display: block; width: 36px; height: 27px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.board .mark.globe { display: grid; place-items: center; color: #d7ff3c; }
.board h2.ctry { margin: 0; font-size: 19px; line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; }
.board h2.ctry small { text-transform: none; letter-spacing: 0; }
.board small { display: block; color: #9a9fa8; font-size: 13px; font-weight: 400; margin-top: 2px; }
.board .upd, .board .lists { font-weight: 600; font-size: 15px; line-height: 1.25; color: #dfe3e8; }
.board .pros { font-size: 28px; font-weight: 800; color: #d7ff3c; text-align: center; font-variant-numeric: tabular-nums; }
.board .pros.none { color: #3b434d; }
.board .go { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; }
/* The ranking links leave the site: plain underlined links with an out arrow, never chips that read as filters (owner, 2026-11-21) */
.board .rk { font-size: 14px; font-weight: 500; white-space: nowrap; color: #8fc0ff; text-decoration: underline;
  text-underline-offset: 2px; }
.board .rk::after { content: "\2009\2197"; text-decoration: none; display: inline-block; }
.board .rk:hover { color: #b3cdfb; }
.board .rk:focus-visible { outline: 2px solid #f4f5f2; outline-offset: 2px; border-radius: 2px; }
.board .chev { color: #9a9fa8; transition: transform .15s; }
.board details[open] .chev { transform: rotate(180deg); }
.board .panel { padding: 4px 18px 18px 72px; color: #c9cdd3; }
.board .panel h3 { margin-top: 18px; }
.board.world summary { grid-template-columns: 40px minmax(0, 1.5fr) minmax(0, 1.1fr) minmax(0, 1fr) auto 16px; }
.board.world .pros { display: none; }
.board.world { background: radial-gradient(120% 160% at 0% 0%, #1a2309 0%, #07090b 60%); }
@media (prefers-reduced-motion: reduce) { .board .chev { transition: none; } }
@media (max-width: 760px) {
  .board .head { display: none; }
  .board summary, .board.world summary { grid-template-columns: 36px minmax(0, 1fr) 16px; gap: 6px 12px; padding: 14px; }
  .board .ctry { grid-column: 2; grid-row: 1; }
  .board .chev { grid-column: 3; grid-row: 1; }
  .board .upd, .board .lists, .board .pros, .board .go { grid-column: 2 / 4; }
  .board .upd, .board .lists, .board .pros { display: flex; gap: 10px; font-size: 14px; text-align: start; }
  .board .upd::before, .board .lists::before, .board .pros::before { content: attr(data-label); color: #9a9fa8; font-weight: 400;
    flex: none; width: 7.5em; }
  .board .upd small { margin: 0; }
  .board .pros { font-weight: 700; }
  .board .go { justify-content: flex-start; margin-top: 4px; }
  .board .panel { padding: 0 14px 16px; }
}

/* Phones: each table row becomes a card, its cells labelled from data-label. */
@media (max-width: 760px) {
  .table.rackets table, .table.events table, .table.rackets tbody, .table.events tbody { display: block; }
  .table.rackets thead, .table.events thead { display: none; }
  .table.rackets tr, .table.events tr { display: block; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 14px; margin: 0 0 10px; }
  .table.rackets td, .table.events td, .table.events th { display: flex; gap: 12px; border: 0; padding: 3px 0; }
  .table.rackets th[data-col="racket"] { display: block; border: 0; padding: 0 0 6px; }
  .table.rackets td::before, .table.events td::before, .table.events th::before { content: attr(data-label); color: #9a9fa8; flex: none; width: 8.5em; }
  .filters label { flex: 1 1 140px; }
  .filters select { width: 100%; }
  .buy { min-height: 40px; padding: 6px 16px; font-size: 14px; }
}

/* The tips library at /padel/tips/ (web/tips_pages.py): a grid of 9:16 covers grouped by topic, a share box by each. */
.hub-tips .g-main { max-width: 1100px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.chip { color: #f4f5f2; background: #1c2128; border: 1px solid #343943; border-radius: 999px; padding: 7px 13px;
  font-size: 15px; font-weight: 600; text-decoration: none; }
.chip small { color: #9a9fa8; font-weight: 500; margin-inline-start: 2px; }
.chip[aria-current="true"] { background: #d7ff3c; border-color: #d7ff3c; color: #121400; }
.chip[aria-current="true"] small { color: #3d4a10; }
.chip:focus-visible, .tip-link:focus-visible, .share a:focus-visible, .share button:focus-visible, .btn:focus-visible,
.answer-box summary:focus-visible { outline: 3px solid #4c9bff; outline-offset: 2px; }
.tips { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 22px 16px;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.g-main .tips li { margin: 0; }
.tip { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tip-link { display: flex; flex-direction: column; gap: 6px; color: #f4f5f2; text-decoration: none; }
.tip-link img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1); background: #12161b; transition: border-color .15s; }
.tip-link:hover img { border-color: rgba(215,255,60,.55); }
.tip-link b { font-size: 16px; line-height: 1.3; }
.tip-link span:not(.fmt) { color: #9a9fa8; font-size: 14px; line-height: 1.4; }
.fmt { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 4px; }
.fmt.fix { background: rgba(255,106,92,.15); color: #ff9a90; }
.fmt.lesson { background: rgba(76,155,255,.15); color: #8fc0ff; }
.fmt.quiz { background: rgba(215,255,60,.14); color: #d7ff3c; }

.share { border-top: 1px solid rgba(255,255,255,.1); padding-top: 8px; }
.share p { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: #e6e8e4; }
.s-links { display: flex; flex-wrap: wrap; gap: 6px; }
.share a, .share button { font: inherit; font-size: 13px; font-weight: 600; color: #f4f5f2; background: #1c2128;
  border: 1px solid #343943; border-radius: 999px; padding: 4px 10px; text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: rgba(255,255,255,.35); }
.share .s-whatsapp { background: #1f7a45; border-color: #1f7a45; }
.share .s-native { background: #d7ff3c; border-color: #d7ff3c; color: #121400; }
.share.compact a, .share.compact button { padding: 3px 8px; font-size: 12px; }
.share:not(.compact) { margin-top: 14px; padding-top: 12px; }
.share:not(.compact) p { font-size: 16px; }

.tip-page { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 8px; }
.tip-video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 12px; background: #000;
  border: 1px solid rgba(255,255,255,.12); }
a.tip-video.yt { position: relative; overflow: hidden; }
a.tip-video.yt img { display: block; width: 100%; height: 100%; object-fit: cover; }
a.tip-video.yt .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border-radius: 50%; background: rgba(0,0,0,.6); border: 2px solid rgba(255,255,255,.85); }
a.tip-video.yt .play::after { content: ""; position: absolute; left: 28px; top: 21px; border-left: 24px solid #fff;
  border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
a.tip-video.yt:hover .play { background: #d7ff3c; border-color: #d7ff3c; }
a.tip-video.yt:hover .play::after { border-left-color: #121400; }
a.tip-video.yt:focus-visible { outline: 3px solid #4c9bff; outline-offset: 2px; }
iframe.tip-video { border: 0; }
.tip-text .hook { font-size: 19px; color: #e6e8e4; }
.ln { background: #12161b; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 12px 16px; margin: 10px 0; }
.ln b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ln p { margin: 2px 0 0; }
.ln.w b { color: #ff9a90; } .ln.g b { color: #4fd17f; } .ln.k b { color: #d7ff3c; }
.ln.k p { font-size: 21px; font-weight: 800; line-height: 1.3; }
.answer-box { margin: 14px 0; }
.answer-box summary { display: inline-block; cursor: pointer; background: #d7ff3c; color: #121400; font-weight: 700;
  border-radius: 999px; padding: 9px 18px; list-style: none; }
.answer-box summary::-webkit-details-marker { display: none; }
.answer-box[open] summary { display: none; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-block; color: #f4f5f2; background: #1c2128; border: 1px solid #343943; border-radius: 999px;
  padding: 8px 16px; font-weight: 700; font-size: 15px; text-decoration: none; }
.btn:hover { border-color: rgba(255,255,255,.35); }
@media (max-width: 700px) {
  .tip-page { grid-template-columns: minmax(0, 1fr); }
  .tip-media { max-width: 340px; width: 100%; margin: 0 auto; }
  .tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .tip-link img { transition: none; } }

/* PA-1379: the rules questions (web/rules_guide.py) */
.rule-q { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; }
.rule-q h2 { margin-top: 20px; }
.rule-q .verdict { font-weight: 700; font-size: 1.15em; }
.rule-q .verdict span { font-weight: 400; opacity: .75; }
.rule-q .verdict.good { color: #8fe04a; }
.rule-q .verdict.bad { color: #ff6b6f; }
.rule-q .diagram { display: block; width: 100%; max-width: 300px; height: auto; border-radius: 12px; margin: 14px 0; }
.rule-links { padding-inline-start: 1.2em; }
.rule-links li { margin: 6px 0; }

/* PA-1381: a racket's own page and its questions (web/racket_pages.py) */
.racket h2 a { color: inherit; text-decoration: none; }
.racket h2 a:hover { text-decoration: underline; }
.racket.solo { border-top: 0; margin-top: 0; }
.qa { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; }
.qa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.qa-grid article { border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 14px 16px; }
.qa-grid h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.35; }
.qa-grid p { margin: 0; font-size: 15px; color: #c9cdd3; }
.qa-grid p + p { margin-top: 8px; }
/* PA-1382: a racket's page: the price history and the price alert side by side (shared/racket_price.js) */
.g-main:has(.price-grid) { max-width: 1100px; }
.price-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1fr); gap: 18px; margin: 26px 0 8px; align-items: start; }
.price-card { background: #12161b; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 18px 20px 16px; min-width: 0; }
.g-main .price-card h2 { font-size: 22px; margin: 0; }
.price-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.ranges { display: flex; background: #1c2128; border-radius: 10px; padding: 4px; }
.ranges button { font: inherit; font-size: 14px; font-weight: 700; color: #c9cdd3; background: none; border: 0; border-radius: 7px;
  min-height: 36px; padding: 4px 14px; cursor: pointer; white-space: nowrap; }
.ranges button[aria-pressed="true"] { background: #f4f5f2; color: #0b0e11; }
.ranges button:disabled { color: #5d636d; cursor: default; }
.price-body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(170px, 1fr); gap: 8px 24px; align-items: start; }
.price-chart svg { display: block; width: 100%; height: auto; }
.price-chart .grid { stroke: rgba(255,255,255,.09); stroke-width: 1; }
.price-chart .axis { fill: #9a9fa8; font-size: 13px; }
.price-chart .area { fill: rgba(215,255,60,.09); }
.price-chart .curve { fill: none; stroke: #d7ff3c; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.price-chart .low { stroke: #c9cdd3; stroke-width: 1.5; stroke-dasharray: 5 5; }
.price-chart .dot { fill: #d7ff3c; stroke: #12161b; stroke-width: 2; }
.price-wait, .price-empty { color: #9a9fa8; font-size: 15px; margin: 8px 0; }
.price-stats { display: grid; grid-template-columns: 1fr auto; margin: 0; font-size: 16px; }
.price-stats dt, .price-stats dd { margin: 0; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.price-stats dt { color: #c9cdd3; }
.price-stats dd { text-align: end; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-stats dd small { display: block; color: #9a9fa8; font-weight: 400; font-size: 13px; }
.g-main .price-note { color: #9a9fa8; font-size: 13px; line-height: 1.5; margin: 12px 0 0; }
.price-card.alert label { display: block; font-size: 14px; font-weight: 700; margin-top: 14px; }
.g-main .alert-now { color: #9a9fa8; font-size: 14px; margin: 2px 0 0; }
.g-main .alert-target { margin: 2px 0 0; font-size: 14px; color: #d7ff3c; font-weight: 700; }
.alert-target output { font-size: 36px; line-height: 1.15; letter-spacing: -.02em; color: #f4f5f2; font-variant-numeric: tabular-nums; margin-inline-end: 6px; }
.g-main .alert-save { color: #9a9fa8; font-size: 14px; margin: 2px 0 10px; min-height: 1.4em; }
#alert-range { width: 100%; accent-color: #d7ff3c; margin: 0 0 10px; min-height: 28px; }
.alert-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.alert-steps button { font: inherit; font-size: 14px; font-weight: 700; color: #f4f5f2; background: #1c2128; border: 1px solid #343943;
  border-radius: 8px; min-height: 40px; padding: 4px 14px; cursor: pointer; white-space: nowrap; }
.alert-steps button[aria-pressed="true"] { background: #f4f5f2; color: #0b0e11; border-color: #f4f5f2; }
.g-main .alert-go { display: block; box-sizing: border-box; width: 100%; font: inherit; font-weight: 700; text-align: center; text-decoration: none;
  color: #121400; background: #d7ff3c; border: 0; border-radius: 10px; min-height: 48px; padding: 12px 14px; cursor: pointer; }
.alert-remove { display: block; width: 100%; font: inherit; font-size: 14px; color: #c9cdd3; background: none; border: 0; text-decoration: underline;
  min-height: 40px; margin-top: 4px; cursor: pointer; }
.g-main .alert-state { font-size: 14px; margin: 8px 0 0; min-height: 1.4em; }
.ranges button:focus-visible, .alert-steps button:focus-visible, .alert-go:focus-visible, .alert-remove:focus-visible,
#alert-range:focus-visible { outline: 3px solid #4c9bff; outline-offset: 2px; }
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .price-body { grid-template-columns: 1fr; } .price-card { padding: 16px 14px 14px; } .ranges button { padding: 4px 10px; } }

/* The gift shop in one line with one shirt, on each racket page (content_pages.shop_strip) */
.g-main .shop-strip { display: flex; align-items: center; gap: 14px; margin: 28px 0; padding: 10px 16px 10px 10px; color: #f4f5f2;
  text-decoration: none; background: #12161b; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; }
.g-main .shop-strip:hover { border-color: rgba(215,255,60,.35); }
.g-main .shop-strip:focus-visible { outline: 3px solid #4c9bff; outline-offset: 2px; }
.shop-strip .shirt { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 10px; background: #111111; }
.shop-strip .shirt.navy { background: #14213d; } .shop-strip .shirt.white { background: #ffffff; }
.shop-strip .shirt img { height: 64px; width: auto; max-width: 64px; object-fit: contain; }
.shop-strip .txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.shop-strip .txt span { color: #9a9fa8; font-size: 14px; }
.shop-strip .go { color: #d7ff3c; font-size: 24px; }

/* PA-1528: the top-10 player pages, type-led; a photo, where there is one, sits on the right */
.hub-pros .g-main { max-width: 1100px; }
.pro-eyebrow { margin: 22px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #d7ff3c; }
.pro-pills { display: inline-flex; gap: 2px; margin: 18px 0 4px; padding: 3px; background: #12151a; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; }
.pro-pills a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 20px; border-radius: 999px; color: #b7bcc5; font-weight: 700; font-size: 15px; text-decoration: none; }
.pro-pills a:hover, .pro-pills a:focus-visible { background: #d7ff3c; color: #121400; }
.pro-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; padding: 0; margin: 14px 0 0; list-style: none; }
.hub-pros .g-main .pro-cards li, .hub-pros .g-main .pro-chips li, .hub-pros .g-main .pro-rackets li { margin: 0; }
.pro-card { display: flex; flex-direction: column; height: 100%; background: #12151a; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; overflow: hidden; color: #f4f5f2; text-decoration: none; }
.pro-card:hover { border-color: #d7ff3c; }
.pro-card:focus-visible, .pro-chip:focus-visible, .pro-nav a:focus-visible, .pro-rackets a:focus-visible { outline: 3px solid #4c9bff; outline-offset: 2px; }
.pro-card-top { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; height: 180px; padding: 10px 12px; box-sizing: border-box; border-bottom: 1px solid rgba(255,255,255,.09); overflow: hidden; }
.pro-card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.pro-card-rank { position: absolute; inset-inline-start: 12px; bottom: 8px; font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: #d7ff3c; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.pro-initials { font-size: 80px; font-weight: 800; line-height: .8; letter-spacing: -.05em; color: #262c35; }
.pro-card-name { padding: 12px 14px 0; font-size: 17px; font-weight: 700; line-height: 1.3; }
.pro-card-from { padding: 2px 14px 14px; font-size: 13px; color: #9a9fa8; }
.pro-src { font-size: 14px; color: #9a9fa8; }
.hub-pros .g-main .pro-src h2 { font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: #9a9fa8; margin: 44px 0 4px; }
.pro-nav { display: flex; justify-content: space-between; gap: 12px; margin: 18px 0 0; font-size: 15px; }
.pro-nav a { color: #b7bcc5; text-decoration: none; }
.pro-nav a:hover { color: #f4f5f2; }
.pro-hero { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.09); overflow: hidden; }
.pro-hero-text { position: relative; flex: 999 1 480px; min-width: 0; }
.pro-hero-text > :not(.pro-ghost) { position: relative; }
.pro-ghost { position: absolute; inset-inline-end: 0; top: -30px; font-size: clamp(160px, 30vw, 340px); font-weight: 800; line-height: 1; letter-spacing: -.06em; color: #14181e; pointer-events: none; }
.hub-pros .g-main .pro-hero h1 { font-size: clamp(44px, 9vw, 104px); line-height: .92; letter-spacing: -.045em; font-weight: 800; margin: 0 0 22px; overflow-wrap: anywhere; }
.pro-boxes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pro-box { display: flex; flex-direction: column; justify-content: center; min-width: 140px; padding: 12px 18px; background: #12151a; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; box-sizing: border-box; }
.pro-box-k { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #9a9fa8; }
.pro-box-v { font-size: 42px; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pro-box-n { font-size: 12px; }
.pro-box-p { font-size: 20px; font-weight: 700; margin-top: 6px; }
.pro-box-p a { color: #f4f5f2; }
.pro-rank { background: #d7ff3c; border-color: #d7ff3c; color: #121400; }
.pro-rank .pro-box-k { color: #121400; }
.pro-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 22px; margin: 0; }
.pro-facts dt, .pro-stats dt { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #9a9fa8; }
.pro-facts dd { margin: 2px 0 0; font-size: 19px; font-weight: 700; line-height: 1.3; }
.pro-photo { flex: 1 1 260px; max-width: 340px; }
.hub-pros .g-main .pro-photo { margin: 0; }
.hub-pros .g-main .pro-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 12px; border: 0; }
.hub-pros .g-main .pro-photo figcaption { font-size: 12px; margin-top: 6px; }
.pro-rackets { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.pro-rackets a { display: inline-block; padding: 10px 14px; background: #12151a; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; color: #f4f5f2; font-weight: 600; font-size: 15px; text-decoration: none; }
.pro-rackets a:hover { border-color: #d7ff3c; }
.pro-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; margin: 0; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.09); border-radius: 12px; overflow: hidden; }
.pro-stats > div { background: #12151a; padding: 14px 16px; }
.pro-stats dd { margin: 2px 0 0; font-size: 36px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pro-stats .pro-lead dd { color: #d7ff3c; }
.pro-qa { max-width: 760px; }
.pro-qa details { border-top: 1px solid rgba(255,255,255,.09); padding: 12px 0; }
.pro-qa details:last-child { border-bottom: 1px solid rgba(255,255,255,.09); }
.pro-qa summary { cursor: pointer; font-weight: 700; font-size: 17px; }
.pro-qa summary:focus-visible { outline: 3px solid #4c9bff; outline-offset: 2px; }
.pro-qa p { margin: 8px 0 0; color: #c9cdd3; font-size: 16px; }
.pro-top-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 14px; }
.pro-top-head h2 a { color: #f4f5f2; text-decoration: none; }
.pro-top-head > a { font-weight: 700; font-size: 15px; }
.pro-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; padding: 0; margin: 12px 0 0; list-style: none; }
.pro-chip { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px; box-sizing: border-box; background: #12151a; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; color: #f4f5f2; text-decoration: none; }
.pro-chip:hover { border-color: #d7ff3c; }
.pro-chip[aria-current] { background: #1b1f26; border-color: #d7ff3c; }
.pro-chip-rank { min-width: 28px; font-size: 24px; font-weight: 800; color: #d7ff3c; font-variant-numeric: tabular-nums; }
.pro-chip b { display: block; font-size: 15px; line-height: 1.3; }
.pro-chip small { display: block; font-size: 12px; color: #9a9fa8; }
@media (max-width: 640px) {
  .pro-hero.has-photo .pro-photo { order: -1; flex-basis: 100%; max-width: none; }
  .hub-pros .g-main .pro-photo img { aspect-ratio: 4 / 3; }
  .pro-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-box { flex: 1 1 130px; min-width: 0; }
  .pro-box-v { font-size: 34px; }
  .pro-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pro-stats dd { font-size: 30px; }
  .pro-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pro-card-top { height: 140px; }
  .pro-card-rank { font-size: 44px; }
  .pro-initials { font-size: 60px; }
  .pro-chips { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .pro-chips li { flex: 0 0 auto; scroll-snap-align: start; }
}

/* PA-1212: the racket review centre, one row a racket: its page, then its reviews */
.reviewed { list-style: none; padding: 0; margin: 0 0 8px; }
.reviewed li { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.08); }
.reviewed li > a { font-weight: 600; }
.reviewed .yr { color: #9a9fa8; font-weight: 400; }
.reviewed .rv { color: #9a9fa8; }
