/*
 * Who AI picks scoreboard. Type, color, the header, and the footer come from
 * site.css, v2.css, and swiss-index.css. This file lays out the board in the
 * subpage kit's rhythm (one container, kit type ramp, hairline rules, bold
 * uppercase actions) and keeps one expressive element: the scoreboard, with
 * its medals, streaks, weekly movers, and engine spreads.
 */

body.picks {
  --gold: #e7c36a;
  --silver: #c9d1da;
  --bronze: #c98a5a;
  --up: #3ddc84;
  --down: #ff5f6d;
  --board: #0b0e13;
  --picks-container: min(1120px, 100% - 2 * var(--gutter));
  --picks-h1: clamp(2rem, 4vw, 3rem);
  --picks-h2: clamp(1.35rem, 2.2vw, 1.75rem);
  --picks-h3: 1.2rem;
}

body.picks #board { scroll-margin-top: 6rem; }

/* The kit's container and header clearance (.v2-main: 10.8rem, 6rem on phones). */
body.picks main {
  box-sizing: border-box;
  width: var(--picks-container);
  margin: 0 auto;
  padding: 10.8rem 0 1rem;
}

body.picks .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero: the kit's eyebrow, H1 and lead. */
body.picks .picks-hero { max-width: 48rem; margin-bottom: 1.75rem; }
body.picks .kicker {
  margin: 0 0 0.6rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
body.picks .kicker a { color: inherit; text-decoration: none; }
body.picks .kicker a:is(:hover, :focus-visible) { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }
body.picks h1 { margin: 0; font-size: var(--picks-h1); }
body.picks h1.h1-long { font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 40ch; }
body.picks .lead { margin: 0.9rem 0 0; max-width: 40rem; font-size: 1.125rem; line-height: 1.5; color: var(--ink-muted); }
body.picks h2 { margin: 0; font-size: var(--picks-h2); }
body.picks h3 { margin: 0; font-size: var(--picks-h3); }

body.picks :is(.sort-note, .ethics, .model-flag, .empty-line) {
  margin: 0.85rem 0 0;
  max-width: 44rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-faint);
}

/* Small uppercase status line. A dot marks it as a state, not a heading. */
body.picks .pending-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
body.picks .pending-flag::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: color-mix(in srgb, currentColor 35%, transparent);
}

/* Actions: the kit's bold uppercase, on a solid control where a form needs one. */
body.picks .go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.1rem;
  border: 0;
  border-radius: var(--r-control);
  background: var(--ink);
  color: #0b0d10;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
body.picks .go:is(:hover, :focus-visible) { color: #0b0d10; background: #d9d8d4; text-decoration: none; }
body.picks .go:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

body.picks .trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

/* Cubsy and the lookup sit side by side; the cube stays the real card. */
body.picks .hero-tools {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1rem;
  margin: 0 0 2.25rem;
}
body.picks .hero-tools-single { grid-template-columns: minmax(0, 36rem); }

body.picks :is(a.cubsy, .check, .badge) {
  box-sizing: border-box;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--surface-1);
}

body.picks a.cubsy {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 1rem;
  margin: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
body.picks a.cubsy img {
  width: 76px;
  height: auto;
  flex: none;
  transform-origin: 50% 85%;
  animation: cubsy-idle 3s ease-in-out infinite;
}
body.picks a.cubsy p {
  position: relative;
  margin: 0;
  padding: 0.6rem 0.85rem 0.65rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: #050608;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-muted);
  transition: transform 180ms ease;
}
body.picks a.cubsy p::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 1.15rem;
  width: 10px;
  height: 10px;
  background: #050608;
  border-left: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  transform: rotate(45deg);
}
body.picks .cubsy b { color: var(--ink); font-weight: 700; }
body.picks .cubsy-cta {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
body.picks .cubsy-ping {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7eb6ff;
  animation: cubsy-ping 2.2s ease-out infinite;
}
body.picks a.cubsy:hover img,
body.picks a.cubsy:focus-visible img {
  animation: none;
  transform: translateY(-7px) rotate(-6deg);
  filter: drop-shadow(0 10px 16px rgba(90, 160, 255, 0.55));
}
body.picks a.cubsy:hover p,
body.picks a.cubsy:focus-visible p { transform: translateX(6px); }
body.picks a.cubsy:hover .cubsy-cta,
body.picks a.cubsy:focus-visible .cubsy-cta { text-decoration: underline; text-underline-offset: 0.2em; }
body.picks a.cubsy:focus-visible {
  outline: 2px solid #7eb6ff;
  outline-offset: 3px;
}

body.picks .check { display: grid; gap: 0.55rem; align-content: center; padding: 1rem 1.1rem; }
body.picks :is(.check, .letter) label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
body.picks .check-row { display: flex; gap: 0.5rem; min-width: 0; }
body.picks .check-row input { flex: 1 1 10rem; min-width: 0; }

body.picks input[type="search"],
body.picks input[type="email"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 0 0.85rem;
  border-radius: var(--r-control);
  border: 1px solid var(--hairline-strong);
  background: #050608;
  color: var(--ink);
  font: inherit;
  font-size: max(1rem, 16px);
  color-scheme: dark;
}
body.picks input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Categories: the kit's uppercase tab strip, one rule underneath. */
body.picks .cats {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  margin: 0;
  border-bottom: 1px solid var(--hairline-strong);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2rem), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 2rem), transparent);
}
body.picks .cats::-webkit-scrollbar { display: none; }
body.picks .cats a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-faint);
}
body.picks .cats a:last-child { padding-right: 2rem; }
body.picks .cats a:is(:hover, :focus-visible) { color: var(--ink); }
body.picks .cats a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }

body.picks :is(.rows, .cited, .qlist ul, .samples ul, .losing ul, .engine-key) {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* The scoreboard. */
body.picks .board {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(231, 195, 106, 0.09), transparent 60%),
    var(--board);
  border: 1px solid rgba(231, 195, 106, 0.28);
  border-radius: var(--r-panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
body.picks .board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}
body.picks .board-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
body.picks .engine-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex-basis: 100%;
}
body.picks .engine-key li {
  display: inline-flex;
  gap: 0.4rem;
  align-items: baseline;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  color: var(--ink-muted);
}
body.picks .engine-key .key-n { color: var(--ink-faint); font-variant-numeric: tabular-nums; }
/* An engine with no data in the window: dashed and quieter, never a column. Paused, not struck out: the note says why. */
body.picks .engine-key li[data-has="no"] { border-style: dashed; color: var(--ink-faint); }
/* Window data, but no valid run in the current ISO week once that week has started. */
body.picks .engine-key li[data-has="gap"] { border-style: dashed; }
/* The two notes are a phrase, not a count, so they may wrap on a phone. Half the one-line height as the radius:
   a pill on one line, a soft card when wrapped. */
body.picks .engine-key li:is([data-has="no"], [data-has="gap"]) { flex-wrap: wrap; row-gap: 0.1rem; max-width: 100%; border-radius: 0.85rem; }

body.picks .rows { display: grid; gap: 0.5rem; }

body.picks .row > a,
body.picks .row.is-pending:not(:has(> a)) {
  position: relative;
  display: grid;
  grid-template-columns: 2.25rem minmax(10rem, 1.15fr) minmax(7rem, 1fr) 5.25rem;
  grid-template-areas:
    "medal who   bar   pct"
    "medal tier  bar   pct"
    ".     range range range"
    ".     foot  foot  foot";
  column-gap: 1rem;
  row-gap: 0.15rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
  text-decoration: none;
}
body.picks .row > a:is(:hover, :focus-visible) { background: rgba(255, 255, 255, 0.07); border-color: var(--hairline); color: inherit; }
body.picks .row > a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

body.picks .medal { grid-area: medal; align-self: center; }
body.picks .who { grid-area: who; min-width: 0; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; overflow-wrap: anywhere; }
body.picks .tier { grid-area: tier; }
body.picks .pct { grid-area: pct; justify-self: end; }
body.picks .bar { grid-area: bar; }
body.picks .range { grid-area: range; }
body.picks .row-foot { grid-area: foot; }

/* Medals: decorative discs (aria-hidden), gold, silver, bronze. No number text. */
body.picks .medal {
  position: relative;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff8 0 14%, transparent 15%), radial-gradient(circle at 50% 50%, var(--medal) 0 58%, color-mix(in srgb, var(--medal) 60%, #000) 60% 100%);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--medal) 35%, transparent), 0 4px 12px color-mix(in srgb, var(--medal) 30%, transparent);
}
body.picks .medal[data-medal="1"] { --medal: var(--gold); }
body.picks .medal[data-medal="2"] { --medal: var(--silver); }
body.picks .medal[data-medal="3"] { --medal: var(--bronze); }
body.picks .row:has(.medal[data-medal="1"]) > a {
  background: linear-gradient(90deg, rgba(231, 195, 106, 0.12), rgba(255, 255, 255, 0.035) 55%);
  border-color: rgba(231, 195, 106, 0.3);
}

body.picks .tier {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.picks .tier[data-tier="often"] { color: var(--gold); }
body.picks .tier[data-tier="mix"] { color: #d5e4f2; }
body.picks .tier[data-tier="long"] { color: #9bb0c6; }
body.picks .tier[data-tier="rare"] { color: var(--ink-faint); }

body.picks .pct {
  font-family: var(--sans);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

body.picks .bar {
  display: block;
  height: 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
body.picks .bar > span {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: var(--fill, #8ea0b5);
  transform-origin: left center;
  animation: picks-fill 700ms var(--ease-out) both;
}
body.picks :is(.row, .verdict)[data-tier="often"] .bar > span { --fill: linear-gradient(90deg, #b99a4f, var(--gold)); }
body.picks :is(.row, .verdict)[data-tier="mix"] .bar > span { --fill: #d5e4f2; }
body.picks :is(.row, .verdict)[data-tier="long"] .bar > span { --fill: #9bb0c6; }
body.picks :is(.row, .verdict)[data-tier="rare"] .bar > span { --fill: rgba(255, 255, 255, 0.35); }

body.picks .range { margin-top: 0.3rem; color: var(--ink-faint); font-size: 0.85rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
body.picks .range em { font-style: normal; font-weight: 700; color: var(--gold); }

body.picks .row-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; margin-top: 0.35rem; }
body.picks .row-foot:empty { display: none; }

body.picks .delta { font-size: 0.82rem; font-weight: 700; font-variant-numeric: tabular-nums; }
body.picks .delta[data-dir="up"] { color: var(--up); }
body.picks .delta[data-dir="down"] { color: var(--down); }
body.picks .delta[data-dir="flat"] { color: var(--ink-faint); font-weight: 400; }

body.picks .streak {
  padding: 0.15rem 0.55rem;
  border-radius: var(--r-pill);
  background: rgba(231, 195, 106, 0.16);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.picks .engs { display: flex; flex-wrap: wrap; gap: 0.35rem; }
body.picks .eng {
  display: inline-flex;
  gap: 0.35rem;
  align-items: baseline;
  padding: 0.12rem 0.5rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}
body.picks .eng abbr { text-decoration: none; color: var(--ink-faint); }
body.picks .eng b { font-weight: 700; color: var(--ink); }

/* Below the line: thin evidence is listed, never placed. */
body.picks .thin { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px dashed rgba(255, 255, 255, 0.22); }
body.picks .thin h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
body.picks .thin .sort-note { margin: 0.35rem 0 0.8rem; }
body.picks .rows-thin .row > a { background: transparent; border: 1px dashed var(--hairline); }
body.picks .rows-thin :is(.who, .pct) { color: var(--ink-muted); }
body.picks .rows-thin .pct { font-size: 1.35rem; }
body.picks .rows-thin .bar > span { opacity: 0.55; }

/* Pending and empty: the questions it will ask, as empty lanes. Static, no shimmer. */
body.picks .board.is-pending { border-style: dashed; background: var(--board); }
body.picks .row.is-pending > a,
body.picks .row.is-pending:not(:has(> a)) {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "who pct" "bar bar";
  row-gap: 0.55rem;
  background: transparent;
  border: 1px dashed var(--hairline);
}
body.picks .row.is-pending .who { font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--ink-muted); }
body.picks .row.is-pending .pct {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
body.picks .row.is-pending .bar {
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 10px, transparent 10px 16px);
}

/* Movers this week, engine spreads, most-cited sources: compact panels under the board. */
body.picks :is(.movers, .spread, .sources) { margin-top: 2.5rem; }
body.picks :is(.movers, .spread, .sources) h2 { font-size: var(--picks-h3); margin-bottom: 0.4rem; }
body.picks :is(.movers, .spread, .sources) > .sort-note { margin: 0 0 0.85rem; max-width: 46rem; }
body.picks :is(.movers, .spread, .sources) .empty-line {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--hairline);
  border-radius: var(--r-card);
}
body.picks .movers-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
body.picks .movers-col {
  padding: 0.8rem 1rem 0.6rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--surface-1);
}
body.picks .movers-col[data-dir="up"] { border-color: rgba(61, 220, 132, 0.25); }
body.picks .movers-col[data-dir="down"] { border-color: rgba(255, 95, 109, 0.25); }
body.picks .movers-col h3 {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
body.picks .movers-col .empty-line { padding: 0.4rem 0 0.5rem; border: 0; }
body.picks .movers-col ol { list-style: none; margin: 0; padding: 0; }
body.picks .movers-col li + li { border-top: 1px solid var(--hairline); }
body.picks .movers-col a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.6rem;
  padding: 0.5rem 0;
  color: inherit;
  text-decoration: none;
}
body.picks .movers-col a:is(:hover, :focus-visible) .who { text-decoration: underline; text-underline-offset: 0.2em; }
body.picks .movers-col .who { flex: 1 1 8rem; font-size: 1rem; }
body.picks .movers-col .move { color: var(--ink-muted); font-size: 0.9rem; font-variant-numeric: tabular-nums; }

body.picks .spread-wrap { overflow-x: auto; }
body.picks .spread-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
body.picks .spread-table :is(th, td) { padding: 0.55rem 0.5rem; border-top: 1px solid var(--hairline); text-align: right; vertical-align: top; }
body.picks .spread-table tbody tr:last-child :is(th, td) { border-bottom: 1px solid var(--hairline); }
body.picks .spread-table :is(thead th, tbody th) { text-align: left; }
body.picks .spread-table thead th { border-top: 0; padding-top: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
body.picks .spread-table thead th:not(:first-child) { text-align: right; }
body.picks .spread-table tbody th { font-weight: 700; }
body.picks .spread-table tbody th a { color: var(--ink); text-underline-offset: 0.2em; }
body.picks .spread-table td { color: var(--ink-muted); }
body.picks .spread-table td[data-mark="high"] { color: var(--ink); font-weight: 700; }
body.picks .spread-table td[data-none] { color: var(--ink-faint); }
body.picks .spread-table .mini { display: block; height: 3px; margin: 0.3rem 0 0 auto; width: max(2px, calc(var(--w) * 0.6)); max-width: 100%; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.3); }
body.picks .spread-table td[data-mark="high"] .mini { background: var(--gold); }
body.picks .spread-table .spread-pts { color: var(--gold); font-weight: 700; white-space: nowrap; }

/* Lists in the kit's rule-bounded rows. */
body.picks :is(.qlist, .samples, .cited-section, .letter) { margin-top: 3rem; }
body.picks :is(.qlist, .samples, .cited-section) h2 { font-size: var(--picks-h3); margin-bottom: 0.6rem; }
body.picks :is(.qlist li, .samples li, .cited li) {
  padding: 0.8rem 0;
  border-top: 1px solid var(--hairline);
  overflow-wrap: anywhere;
}
body.picks :is(.qlist, .cited) li:last-child,
body.picks .samples li:last-child { border-bottom: 1px solid var(--hairline); }
body.picks .qlist a,
body.picks .cited a { color: var(--ink); text-underline-offset: 0.2em; }
body.picks .cited { margin-top: 0.4rem; }
body.picks .cited .range { display: block; margin-top: 0.25rem; }
body.picks .cited .more { display: inline-block; margin-top: 0.3rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
body.picks .samples p { margin: 0; color: var(--ink-muted); }

/* Category and brand pages: the data-driven intro, the FAQ and related links. */
body.picks .picks-intro { margin: 0.9rem 0 0; max-width: 44rem; color: var(--ink-muted); line-height: 1.55; overflow-wrap: anywhere; }
body.picks :is(.picks-intro, .picks-faq, .picks-links) a { color: var(--ink); text-underline-offset: 0.2em; }
body.picks :is(.picks-faq, .picks-links) { margin-top: 3rem; max-width: 44rem; }
body.picks .picks-faq h2 { font-size: var(--picks-h3); margin-bottom: 0.6rem; }
body.picks .picks-faq-item { padding: 0.8rem 0; border-top: 1px solid var(--hairline); }
body.picks .picks-faq-item:last-child { border-bottom: 1px solid var(--hairline); }
body.picks .picks-faq-item h3 { font-size: 1rem; }
body.picks .picks-faq-item p { margin: 0.4rem 0 0; color: var(--ink-muted); line-height: 1.55; overflow-wrap: anywhere; }
body.picks .picks-links { display: grid; gap: 1.25rem; }
body.picks .picks-links h3 { font-size: 1rem; }
body.picks .picks-links ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 0.5rem 0 0; padding: 0; list-style: none; }

body.picks .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin: 0;
  border-bottom: 1px solid var(--hairline-strong);
}
body.picks .tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-faint);
}
body.picks .tabs a:is(:hover, :focus-visible) { color: var(--ink); text-decoration: underline; text-underline-offset: 0.22em; }

/* Method: the kit's rule-bounded disclosure with the + on the right. */
body.picks .method {
  margin-top: 3rem;
  border-top: 1px solid var(--hairline-strong);
  border-bottom: 1px solid var(--hairline-strong);
}
body.picks .method summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  list-style: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
body.picks .method summary::-webkit-details-marker { display: none; }
body.picks .method summary::after { content: "+"; font-family: var(--mono); font-weight: 400; transition: transform 200ms var(--ease-out); }
body.picks .method[open] summary::after { transform: rotate(45deg); }
body.picks .method-body { max-width: 44rem; padding-bottom: 1.25rem; }
body.picks .method-body h3 { margin-top: 1.1rem; font-size: 1rem; }
body.picks .method-body p { margin: 0.5rem 0 0; color: var(--ink-muted); line-height: 1.55; }

body.picks .letter { padding-top: 2rem; border-top: 1px solid var(--hairline-strong); max-width: 44rem; }
body.picks .letter p { color: var(--ink-muted); line-height: 1.55; }
body.picks .letter form { display: grid; gap: 0.5rem; margin-top: 1rem; }
body.picks .form-note { min-height: 1.3em; margin: 0; color: var(--ink-muted); }

/* Brand page: the game badge and the losing box. */
body.picks .badge {
  margin: 0;
  padding: 1.1rem 1.2rem;
  background:
    radial-gradient(circle at 12% 0%, rgba(231, 195, 106, 0.3), transparent 55%),
    #11161d;
  border-color: rgba(231, 195, 106, 0.5);
}
body.picks .badge .kicker { color: var(--gold); }
body.picks .badge-stat {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
body.picks .badge p:last-child { margin: 0; color: var(--ink-muted); }
body.picks .badge.is-empty { background: var(--surface-1); border-style: dashed; border-color: var(--hairline-strong); }
body.picks .badge.is-empty .kicker { color: var(--ink-faint); }

body.picks .losing {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid rgba(255, 95, 109, 0.28);
  border-left: 3px solid var(--down);
  border-radius: var(--r-card);
  background: rgba(255, 95, 109, 0.05);
}
body.picks .losing h2 { font-size: var(--picks-h3); margin-bottom: 0.6rem; }
body.picks .losing ul { display: grid; gap: 0.6rem; }
body.picks .losing li { overflow-wrap: anywhere; color: var(--ink-muted); }
body.picks .losing li a { color: var(--ink); }
body.picks .losing .go { margin-top: 1rem; }

/* Main board only: the first row above the line on every board, one tile each. */
body.picks .leaders { margin: 0 0 2rem; }
body.picks .leaders h2 {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
body.picks .leaders ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.picks .leaders a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "cat cat cat" "medal who pct";
  align-items: center;
  align-content: start;
  gap: 0.35rem 0.6rem;
  height: 100%;
  box-sizing: border-box;
  padding: 0.8rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
  text-decoration: none;
}
body.picks .leaders a:is(:hover, :focus-visible) { background: rgba(255, 255, 255, 0.07); border-color: var(--hairline-strong); color: inherit; }
body.picks .leaders a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
body.picks .leaders .medal { grid-area: medal; width: 1.35rem; height: 1.35rem; }
body.picks .leader-cat { grid-area: cat; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
body.picks .leader-who { grid-area: who; min-width: 0; font-weight: 700; letter-spacing: -0.02em; overflow-wrap: break-word; }
body.picks .leader-who.is-pending { grid-column: 1 / -1; font-weight: 400; color: var(--ink-faint); }
body.picks .leader-pct { grid-area: pct; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }

/* Brand page, medal places only: the embeddable badge, its preview and the snippet. */
body.picks .embed {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.2rem 1.2rem;
  border: 1px solid rgba(231, 195, 106, 0.3);
  border-radius: var(--r-card);
  background: radial-gradient(circle at 0% 0%, rgba(231, 195, 106, 0.12), transparent 55%), var(--surface-1);
}
body.picks .embed h2 { font-size: var(--picks-h3); margin-bottom: 0.5rem; }
body.picks .embed > p { max-width: 44rem; margin: 0 0 1rem; color: var(--ink-muted); line-height: 1.55; }
body.picks .embed-previews { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 1rem; }
body.picks .embed-preview {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
  margin: 0;
  padding: 0.85rem;
  border-radius: var(--r-control);
  border: 1px solid var(--hairline);
}
body.picks .embed-preview[data-theme="dark"] { background: #050608; }
body.picks .embed-preview[data-theme="light"] { background: #f4f3ef; }
body.picks .embed-preview img { display: block; max-width: 100%; height: auto; }
body.picks .embed-preview figcaption { font-size: 0.8rem; color: var(--ink-faint); }
body.picks .embed-preview[data-theme="light"] figcaption { color: rgba(11, 13, 16, 0.7); }
body.picks .embed-preview code { font-family: var(--mono); font-size: 0.78rem; }
body.picks .embed label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
body.picks .embed-code {
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-control);
  background: #050608;
  color: var(--ink);
  font-family: var(--mono);
  font-size: max(0.8rem, 13px);
  line-height: 1.5;
  resize: vertical;
  color-scheme: dark;
}
body.picks .embed-code:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
body.picks .embed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: 0.75rem; }
body.picks .embed-actions .go[hidden] { display: none; }

/* The kit's footer, on the board's container (swiss-index.css section 3). */
body.picks > .legal-footer {
  box-sizing: border-box;
  width: var(--picks-container);
  margin: 3rem auto 0;
  padding: 2rem 0;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
  gap: 0 0.5rem;
  border-top: 1px solid var(--hairline-strong);
  font-size: 0.85rem;
  line-height: 1.65;
  letter-spacing: normal;
  text-align: left;
  color: var(--ink-muted);
}
body.picks > .legal-footer > * + *::before { content: none; }
body.picks > .legal-footer > :not(:last-child)::after { content: '\00B7'; display: inline-block; margin-left: 0.5rem; color: var(--ink-muted); }
body.picks > .legal-footer a { padding-inline: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }

@keyframes picks-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes cubsy-idle {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  35% { transform: translateY(-5px) scale(1.04, 1.02); }
  42% { transform: translateY(-5px) scale(1.02, 0.88); }
  50% { transform: translateY(-4px) scale(1.03, 1.02); }
  70% { transform: translateY(0) scale(1, 1); }
}

@keyframes cubsy-ping {
  0% { box-shadow: 0 0 0 0 rgba(126, 182, 255, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(126, 182, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(126, 182, 255, 0); }
}

/*
 * Search pages (engine, face-off, sources, movers) and the brand verdicts. Same kit: hairline cards, uppercase
 * micro-labels, tabular figures, the board's gold for the one thing that matters.
 */

/* Engine tabs: a quiet segmented control under the hero. */
body.picks .engine-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1.5rem;
  padding: 0.3rem;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.035);
}
body.picks .engine-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  color: var(--ink-muted);
  transition: background-color 160ms ease, color 160ms ease;
}
body.picks .engine-tabs a:is(:hover, :focus-visible) { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
body.picks .engine-tabs a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
body.picks .engine-tabs a[aria-current="page"] { color: var(--board); background: var(--ink); }
body.picks .week-pager { margin-top: -0.25rem; }

/* How to read the numbers: four cells on one hairline card. */
body.picks .picks-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 3rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--surface-1);
  overflow: hidden;
}
body.picks .picks-facts p {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0;
  padding: 0.95rem 1.1rem 1rem;
  line-height: 1.4;
}
body.picks .picks-facts p + p { border-left: 1px solid var(--hairline); }
body.picks .fact-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
body.picks .fact-value { font-size: 0.95rem; font-weight: 600; color: var(--ink); }
body.picks .fact-note { font-size: 0.82rem; color: var(--ink-muted); }
body.picks a.fact-value { color: var(--gold); text-decoration: none; }
body.picks a.fact-value:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 0.2em; }

/* Section headings that are links (face-off, sources, movers by board). */
body.picks :is(.movers, .sources) h2 a { color: inherit; text-decoration: none; }
body.picks :is(.movers, .sources) h2 a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 0.2em; }
body.picks .movers .sort-note a { color: var(--ink); text-underline-offset: 0.2em; }
body.picks .movers-col[data-dir="gpt"] { border-color: rgba(231, 195, 106, 0.3); }
body.picks .movers-col[data-dir="gem"] { border-color: rgba(155, 176, 198, 0.35); }
body.picks .movers.vs .delta { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
body.picks .sources .cited a { color: var(--ink); text-underline-offset: 0.2em; }

/* Brand page: "Does each AI recommend <brand>?" One card per engine at the floor. */
body.picks .verdicts { margin: 0 0 2.5rem; }
body.picks .verdicts h2 { font-size: var(--picks-h3); margin-bottom: 0.4rem; }
body.picks .verdicts > .sort-note { margin: 0 0 0.85rem; max-width: 46rem; }
body.picks .verdict-split {
  margin: 0 0 1rem;
  max-width: 46rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
body.picks .verdict-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.picks .verdict {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--surface-1);
}
body.picks .verdict[data-tier="often"] { border-color: rgba(231, 195, 106, 0.3); background: radial-gradient(120% 80% at 0% 0%, rgba(231, 195, 106, 0.08), transparent 60%), var(--surface-1); }
body.picks .verdict h3 { margin: 0; font-size: 0.95rem; line-height: 1.35; }
body.picks .verdict-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin: 0; }
body.picks .verdict .bar { margin: 0; }
body.picks .verdict-line { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--ink-muted); }
body.picks .verdict-line strong { color: var(--ink); font-weight: 600; }
body.picks .verdict-more { margin-top: auto; padding-top: 0.2rem; font-size: 0.85rem; font-weight: 600; color: var(--ink); text-decoration: none; }
body.picks .verdict-more:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 0.2em; }
body.picks .verdict-quiet { margin: 0.85rem 0 0; }

/* Movers hub: one line per board, then every week. */
body.picks .movers-summary { margin-top: 0.5rem; }
body.picks .movers-summary h2 { font-size: var(--picks-h3); margin-bottom: 0.4rem; }
body.picks .movers-summary > .sort-note { margin: 0 0 0.85rem; max-width: 46rem; }
body.picks .summary-rows { margin: 0; padding: 0; list-style: none; border: 1px solid var(--hairline); border-radius: var(--r-card); background: var(--surface-1); }
body.picks .summary-row {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 0.85rem 1.1rem;
}
body.picks .summary-row + .summary-row { border-top: 1px solid var(--hairline); }
body.picks .summary-cat { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); text-decoration: none; }
body.picks .summary-cat:is(:hover, :focus-visible) { color: var(--ink); }
body.picks .summary-moves { display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; min-width: 0; }
body.picks .summary-moves a { display: inline-flex; align-items: baseline; gap: 0.4rem; color: inherit; text-decoration: none; }
body.picks .summary-moves a:is(:hover, :focus-visible) .who { text-decoration: underline; text-underline-offset: 0.2em; }
body.picks .summary-moves .who { font-weight: 600; }
body.picks .summary-dir { font-size: 0.7rem; }
body.picks .summary-dir[data-dir="up"] { color: var(--up); }
body.picks .summary-dir[data-dir="down"] { color: var(--down); }
body.picks .summary-moves .delta { font-variant-numeric: tabular-nums; }
body.picks .summary-week { font-size: 0.85rem; font-weight: 600; color: var(--ink-muted); text-decoration: none; white-space: nowrap; }
body.picks .summary-week:is(:hover, :focus-visible) { color: var(--ink); }
body.picks .summary-none { color: var(--ink-faint); font-size: 0.9rem; }
body.picks .summary-row.is-quiet .summary-none { grid-column: 2 / -1; }
body.picks .movers-archive .range { margin-left: 0.5rem; }
body.picks .movers-archive a[aria-current="page"] { font-weight: 700; }

@media (max-width: 860px) {
  body.picks .picks-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.picks .picks-facts p + p { border-left: 0; }
  body.picks .picks-facts p:nth-child(even) { border-left: 1px solid var(--hairline); }
  body.picks .picks-facts p:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
}
@media (max-width: 720px) {
  body.picks .engine-tabs { width: 100%; border-radius: var(--r-card); }
  body.picks .engine-tabs a { flex: 1 1 auto; justify-content: center; padding: 0 0.7rem; }
  /* One column: the board, its two movers, then the week link, each on its own line. */
  body.picks .summary-row { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  body.picks .summary-week { white-space: normal; }
  body.picks .summary-row.is-quiet .summary-none { grid-column: 1; }
}
@media (max-width: 480px) {
  body.picks .picks-facts { grid-template-columns: minmax(0, 1fr); }
  body.picks .picks-facts p:nth-child(even) { border-left: 0; }
  body.picks .picks-facts p + p { border-top: 1px solid var(--hairline); }
}
@media (prefers-reduced-motion: reduce) {
  body.picks .engine-tabs a { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  body.picks .bar > span,
  body.picks a.cubsy img,
  body.picks .cubsy-ping { animation: none; }
  body.picks a.cubsy:hover img,
  body.picks a.cubsy:focus-visible img,
  body.picks a.cubsy:hover p,
  body.picks a.cubsy:focus-visible p {
    transform: none;
    filter: none;
  }
  body.picks a.cubsy p,
  body.picks .method summary::after { transition: none; }
}

@media (max-width: 860px) {
  body.picks main { padding-top: 6rem; }
  body.picks .hero-tools { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; margin-bottom: 1.75rem; }
}

/* Phones: the row stacks name over bar, the percent stays on the right. */
@media (max-width: 720px) {
  body.picks .picks-hero { margin-bottom: 1.25rem; }
  body.picks .lead { font-size: 1rem; margin-top: 0.6rem; }
  body.picks a.cubsy { padding: 0.75rem 0.8rem; gap: 0.7rem; }
  body.picks a.cubsy img { width: 56px; }
  body.picks a.cubsy p { font-size: 0.9rem; padding: 0.5rem 0.7rem 0.55rem; }
  body.picks .check { padding: 0.85rem 0.9rem; }
  body.picks .cats { gap: 1.1rem; }
  body.picks .board { padding: 0.75rem; margin-inline: calc(-0.5 * var(--gutter) + 0.25rem); border-radius: var(--r-card); }
  body.picks .board-head { padding: 0.25rem 0.25rem 0; margin-bottom: 0.75rem; }
  body.picks .row > a,
  body.picks .row.is-pending:not(:has(> a)) {
    grid-template-columns: 1.85rem minmax(0, 1fr) auto;
    grid-template-areas:
      "medal who   pct"
      "medal tier  pct"
      "bar   bar   bar"
      "range range range"
      "foot  foot  foot";
    column-gap: 0.65rem;
    padding: 0.75rem 0.8rem;
  }
  body.picks .bar { margin-top: 0.5rem; height: 6px; }
  body.picks .medal { width: 1.6rem; height: 1.6rem; }
  body.picks .who { font-size: 1.02rem; }
  body.picks .pct { font-size: 1.55rem; }
  body.picks .range { font-size: 0.8rem; }
  body.picks .movers-cols { grid-template-columns: minmax(0, 1fr); }
  body.picks .spread-table { font-size: 0.82rem; }
  body.picks .spread-table :is(th, td) { padding: 0.5rem 0.3rem; }
  body.picks .spread-table thead th { font-size: 0.66rem; letter-spacing: 0.03em; }
  body.picks .leaders ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.picks .leaders a { padding: 0.7rem 0.8rem; }
  body.picks .leader-pct { font-size: 1.15rem; }
  body.picks .embed { padding: 0.95rem 0.9rem 1rem; }
  body.picks > .legal-footer { flex-direction: column; align-items: flex-start; gap: 0; }
  body.picks > .legal-footer > :not(:last-child)::after { content: none; }
}

@media (max-width: 480px) {
  body.picks .leaders ol { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
  body.picks .check-row { flex-wrap: wrap; }
  body.picks .check-row .go { flex: 1 1 100%; }
}
