
/* Fonts are served with the site (no outside requests): Cinzel and Barlow, SIL Open Font License, see fonts/OFL-*.txt */
@font-face { font-family: 'Cinzel'; font-weight: 700; font-display: swap; src: url(fonts/cinzel-700.woff) format('woff'); }
@font-face { font-family: 'Cinzel'; font-weight: 800; font-display: swap; src: url(fonts/cinzel-800.woff) format('woff'); }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(fonts/barlow-400.woff) format('woff'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url(fonts/barlow-500.woff) format('woff'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(fonts/barlow-600.woff) format('woff'); }
@font-face { font-family: 'Barlow'; font-weight: 700; font-display: swap; src: url(fonts/barlow-700.woff) format('woff'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 500; font-display: swap; src: url(fonts/barlow-semi-condensed-500.woff) format('woff'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 600; font-display: swap; src: url(fonts/barlow-semi-condensed-600.woff) format('woff'); }
@font-face { font-family: 'Barlow Semi Condensed'; font-weight: 700; font-display: swap; src: url(fonts/barlow-semi-condensed-700.woff) format('woff'); }
/* Layout: brand band (follows the theme, carries the logo) → search hero → filters → results; product pages reuse the same column. Dark-first, with a light theme. */
:root {
  --bg: #0D0B11; --surface: #16131C; --surface-2: #1E1A26; --line: #2D2637; --line-soft: #221D2B;
  --text: #EEEAF3; --muted: #ABA4B8; --gold: #E3B341; --gold-hi: #F3CF73; --gold-ink: #1A1408;
  --purple: #BC98F8; --purple-bg: #2B1E42; --purple-line: #3D2E58; --rc: #E3B341; --focus: #F3CF73; --ok: #6FD39A; --ok-bg: #15301F;
  --band: #0A090D; --band-text: #EEEAF3; --band-line: #241F2B; --nav: #CFC8DA; --nav-hi: #F3CF73; --nav-hi-bg: #1A1621; --nav-on: #E3B341;
  --display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --body: 'Barlow', 'Segoe UI', system-ui, sans-serif;
  --label: 'Barlow Semi Condensed', 'Barlow', system-ui, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) {
  --bg: #F6F4F9; --surface: #FFFFFF; --surface-2: #F0ECF5; --line: #DDD6E6; --line-soft: #EAE5F0;
  --text: #1C1724; --muted: #5C556B; --gold: #8B6510; --gold-hi: #6E500B; --gold-ink: #FFFFFF;
  --purple: #6236B3; --purple-bg: #EEE7FA; --purple-line: #D5C6F1; --rc: #8B6510; --focus: #6236B3; --ok: #1D6E40; --ok-bg: #E3F4EA;
  --band: #FFFFFF; --band-text: #1C1724; --band-line: #DDD6E6; --nav: #3A3346; --nav-hi: #6E500B; --nav-hi-bg: #F0ECF5; --nav-on: #8B6510;
  color-scheme: light; } }
:root[data-theme="light"] {
  --bg: #F6F4F9; --surface: #FFFFFF; --surface-2: #F0ECF5; --line: #DDD6E6; --line-soft: #EAE5F0;
  --text: #1C1724; --muted: #5C556B; --gold: #8B6510; --gold-hi: #6E500B; --gold-ink: #FFFFFF;
  --purple: #6236B3; --purple-bg: #EEE7FA; --purple-line: #D5C6F1; --rc: #8B6510; --focus: #6236B3; --ok: #1D6E40; --ok-bg: #E3F4EA;
  --band: #FFFFFF; --band-text: #1C1724; --band-line: #DDD6E6; --nav: #3A3346; --nav-hi: #6E500B; --nav-hi-bg: #F0ECF5; --nav-on: #8B6510;
  color-scheme: light; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.45; margin: 0; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--band); }
a { color: var(--gold); }
a:hover { color: var(--gold-hi); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.gut { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1240px; margin: 0 auto; }

/* brand band */
.band { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--band); border-bottom: 1px solid var(--band-line); color: var(--band-text); }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 6px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand img { height: 52px; width: auto; display: block; }
.brand .logo-light { display: none; } /* black logo on the light band, platinum on the dark one */
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .brand .logo-dark { display: none; } :root:not([data-theme="dark"]) .brand .logo-light { display: block; } }
:root[data-theme="light"] .brand .logo-dark { display: none; } :root[data-theme="light"] .brand .logo-light { display: block; }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.nav a, .nav button { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 10px; border: 0; background: transparent; color: var(--nav); text-decoration: none; font-family: var(--label); font-weight: 600; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; }
.nav a:hover, .nav button:hover { color: var(--nav-hi); background: var(--nav-hi-bg); }
.nav a[aria-current="page"] { color: var(--nav-on); }
.theme svg { width: 18px; height: 18px; }
#hdr-report .ico { display: inline-flex; } #hdr-report .ico svg { width: 17px; height: 17px; }
#hdr-report .short { display: none; }
@media (max-width: 1440px) { .nav .sport-link, .nav .info-link { padding: 0 7px; font-size: 14px; } }
.band .wrap { max-width: 1480px; }
@media (min-width: 481px) and (max-width: 1440px) { #hdr-report .long { display: none; } #hdr-report .short { display: inline; } }
@media (min-width: 1061px) and (max-width: 1300px) { #hdr-report .short, #theme span { display: none; } }
@media (max-width: 1060px) { .nav .sport-link { display: none; } }
@media (max-width: 640px) { #hdr-report .short, #theme span { display: none; } }
@media (max-width: 560px) { .nav a, .nav button { padding: 0 7px; } .nav { gap: 0; flex-wrap: nowrap; } .brand img { height: 36px; } }
@media (max-width: 1000px) { .nav .sport-link { display: none; } }
@media (max-width: 720px) { .nav .sport-link { display: none; } .brand img { height: 42px; } }
@media (max-width: 480px) { #hdr-report .long, #hdr-report .short, #theme span { display: none; } .nav a, .nav button { padding: 0 7px; } .nav { gap: 0; flex-wrap: nowrap; } .brand img { height: 36px; } .band .wrap { gap: 8px; } }
@media (max-width: 360px) { .brand img { height: 30px; } .nav a, .nav button { padding: 0 5px; } }

/* friends' links, set in the importer */
.friends { background: var(--surface-2, var(--band)); border-bottom: 1px solid var(--line, var(--band-line)); }
.friends .wrap { display: flex; align-items: center; justify-content: center; gap: 6px 8px; flex-wrap: wrap; padding-block: 6px; }
.friends .lab { font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted, #8A8295); margin-right: 2px; }
.friends a { min-height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 999px; color: var(--gold); text-decoration: none; font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: .05em; }
.friends a:hover { color: var(--gold-hi); border-color: var(--gold); }
.friends a svg { width: 13px; height: 13px; flex: none; }
.friends a img { height: 22px; width: auto; max-width: 66px; border-radius: 4px; display: block; }
@media (max-width: 480px) { .friends .wrap { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .friends a { white-space: nowrap; } }

/* written-in page content (what search engines read; the search tools replace it once loaded) */
.st-set { margin: 0 0 28px; } .st-set h2 { font-family: var(--display); color: var(--gold); font-size: 20px; margin: 0 0 4px; }
.st-pars, .st-cards { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.st-pars th { text-align: left; font-family: var(--label); color: var(--purple, var(--muted)); padding: 4px 8px; }
.st-pars td, .st-cards td { padding: 4px 8px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.st-cards td:first-child { white-space: nowrap; color: var(--muted); width: 1%; }
.st-list { columns: 2 260px; padding-left: 18px; margin: 6px 0 18px; } .st-list li { margin: 3px 0; break-inside: avoid; }
[data-static] h1 { font-family: var(--display); color: var(--gold); }

.teambtn span, .c-tm, .c-pl .player { overflow-wrap: anywhere; } /* long multi-team names like "Avalanche/Rangers/Penguins" wrap */
.teambtn { min-width: 0; }
/* hero */
.hero { padding-block: 34px 22px; background: radial-gradient(ellipse 55% 85% at 50% 0%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%); }
.hero h1 { margin: 0 0 18px; text-align: center; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 5vw, 42px); line-height: 1.15; letter-spacing: .03em; color: var(--gold); text-wrap: balance; }
.hero h1 span { color: var(--text); }
.searchbox { position: relative; max-width: 860px; margin: 0 auto; }
.searchbox label { display: block; margin-bottom: 8px; font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.searchbox svg { position: absolute; left: 18px; bottom: 20px; width: 24px; height: 24px; color: var(--gold); pointer-events: none; }
.searchbox input { width: 100%; height: 64px; padding: 0 18px 0 54px; border-radius: 14px; border: 2px solid var(--gold); background: var(--surface); color: var(--text); font: 500 19px/1 var(--body); }
.searchbox input::placeholder { color: var(--muted); }
.searchbox input:focus { outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 28%, transparent); }
.tries { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 15px; }
.chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 15px; }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.loadnote { text-align: center; color: var(--muted); font-size: 14px; margin-top: 10px; min-height: 20px; }

/* filters */
.filters { display: flex; flex-direction: column; gap: 14px; padding-block: 8px 4px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-family: var(--label); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.seg button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.selects { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; }
@media (max-width: 1000px) { .selects { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .selects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label, .lbl { font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); }
/* the open dropdown list is drawn by the browser; give its items explicit colors so they read in both themes */
select option, select optgroup { background-color: var(--surface); color: var(--text); }
select option:disabled { color: var(--muted); }
select, .text-in { height: 46px; width: 100%; min-width: 0; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 16px var(--body); }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tog { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-family: var(--label); font-weight: 700; font-size: 14px; letter-spacing: .06em; }
.tog[aria-pressed="true"] { background: var(--purple-bg); border-color: var(--purple); color: var(--purple); }
.pchips { display: flex; flex-wrap: wrap; gap: 8px; }
.pchip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--purple-line); background: var(--surface); color: var(--text); font-size: 15px; }
.pchip b { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; margin-left: 4px; }
.pchip[aria-pressed="true"] { background: var(--purple-bg); border-color: var(--purple); color: var(--purple); }
.pchip[aria-pressed="true"] b { color: var(--purple); }
table.prow-t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.prow-t th { background: var(--surface-2); text-align: left; padding: 0 12px; height: 44px; border-bottom: 1px solid var(--line); color: var(--gold); font-family: var(--label); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
table.prow-t td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.prow-t tbody tr:hover { background: var(--surface-2); }
.prun { font-family: var(--label); font-weight: 700; font-size: 17px; color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.see { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--gold); background: transparent; color: var(--gold); font-family: var(--label); font-weight: 700; font-size: 13px; letter-spacing: .04em; white-space: nowrap; }
.see:hover { background: var(--gold); color: var(--gold-ink); }
@media (max-width: 720px) {
  table.prow-t thead { position: absolute; left: -9999px; }
  table.prow-t, table.prow-t tbody, table.prow-t tr, table.prow-t td { display: block; width: 100%; }
  table.prow-t tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
  table.prow-t td { padding: 0; border: 0; }
  table.prow-t td.pc-run { grid-column: 2; grid-row: 1; text-align: right; }
  table.prow-t td.pc-name { grid-column: 1; grid-row: 1; }
  table.prow-t td.pc-set, table.prow-t td.pc-odds { grid-column: 1 / -1; }
  table.prow-t td.pc-see { grid-column: 1 / -1; margin-top: 8px; }
}
.linkbtn { border: 0; background: none; color: var(--gold); min-height: 40px; padding: 0 6px; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* results */
.results { padding-block: 18px 40px; display: flex; flex-direction: column; gap: 12px; }
.rhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.rhead p { margin: 0; }
.count { font-family: var(--label); font-weight: 600; font-size: 18px; }
.count b { color: var(--gold); font-variant-numeric: tabular-nums; }
.tablebox { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
table.cards { width: 100%; border-collapse: collapse; font-size: 15px; }
table.cards th { position: sticky; top: 0; background: var(--surface-2); text-align: left; padding: 0; border-bottom: 1px solid var(--line); }
table.cards th button, table.cards th span { display: flex; align-items: center; gap: 4px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--gold); font-family: var(--label); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-align: left; }
table.cards td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.cards tbody tr:hover { background: var(--surface-2); }
.no { font-family: var(--label); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.player { font-weight: 600; }
.badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .06em; vertical-align: 1px; }
.b-rc { border: 1px solid var(--rc); color: var(--rc); }
.b-auto { background: var(--purple-bg); color: var(--purple); border: 1px solid var(--purple-line); }
.b-sp { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.hits { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.hit { padding: 2px 8px; border-radius: 999px; background: var(--purple-bg); color: var(--purple); font-size: 12px; font-weight: 600; white-space: nowrap; }
.hit b { color: var(--gold); }
.sub { color: var(--muted); font-size: 13px; }
.prodlink { color: var(--text); text-decoration: none; }
.prodlink:hover { color: var(--gold); text-decoration: underline; }
.rainbtn { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--purple-line); background: var(--purple-bg); color: var(--purple); font-family: var(--label); font-weight: 700; font-size: 13px; letter-spacing: .04em; white-space: nowrap; }
.rainbow td { background: var(--surface-2); }
.rline { margin: 0; line-height: 1.9; font-size: 14px; }
.rline .rp { display: inline-block; max-width: 100%; line-height: 1.5; }
.rline .rp b { color: var(--gold); font-family: var(--label); font-weight: 700; font-variant-numeric: tabular-nums; }
.rline .rp i { font-style: normal; color: var(--muted); font-size: 12px; }
.rline .rp.one { color: var(--gold); font-weight: 700; }
.rline .sep { color: var(--muted); margin: 0 8px; }
.pars .rline, .pars .pnote { flex-basis: 100%; }
.pnote { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.olist li.one .n, .olist li.one .o { color: var(--gold); font-weight: 700; }
.pars { display: flex; flex-wrap: wrap; gap: 6px; }
.par { display: inline-flex; gap: 6px; align-items: baseline; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--purple-line); background: var(--surface); font-size: 13px; }
.par b { color: var(--gold); font-variant-numeric: tabular-nums; }
.par i { font-style: normal; color: var(--muted); }
.more { display: flex; justify-content: center; padding: 14px; }
.btn { min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--gold); background: var(--gold); color: var(--gold-ink); font-family: var(--label); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.btn.ghost { background: transparent; color: var(--gold); }
.empty { padding: 30px 20px; text-align: center; color: var(--muted); }

@media (max-width: 720px) {
  table.cards thead { position: absolute; left: -9999px; }
  table.cards, table.cards tbody, table.cards tr, table.cards td { display: block; width: 100%; }
  table.cards tr.card { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
  table.cards tr.card td { padding: 0; border: 0; }
  table.cards tr.card td.c-no { grid-row: span 3; padding-top: 2px; }
  table.cards tr.card td.c-pars { grid-column: 2; margin-top: 6px; }
  table.cards tr.rainbow td { padding: 10px 14px; }
}

/* browse */
.browse { padding-block: 10px 40px; display: flex; flex-direction: column; gap: 18px; }
.browse h2, .sec h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .02em; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.pcard { display: flex; flex-direction: column; gap: 6px; padding: 16px; min-height: 118px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; }
.pcard:hover { border-color: var(--gold); color: var(--text); }
.pcard .tag { align-self: flex-start; padding: 2px 9px; border-radius: 999px; background: var(--purple-bg); color: var(--purple); font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .06em; }
.pcard .nm { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.3; }
.pcard .meta { margin-top: auto; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.yearhead { display: flex; align-items: baseline; gap: 10px; }
.yearhead .sub { font-size: 15px; }

/* product page */
.phead { padding-block: 26px 10px; display: flex; flex-direction: column; gap: 8px; }
.crumb { font-size: 15px; }
.crumbs { font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 0; align-items: center; }
.crumbs .sep, .hub-links .sep { color: var(--muted); margin: 0 8px; }
.crumbs span[aria-current] { color: var(--muted); }
.hub-links { margin: 0 0 8px; line-height: 1.9; }
.hub-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 2px 24px; }
.hub-list li { padding: 7px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.hub-list li span { color: var(--muted); font-size: 13px; }
.info.hub { max-width: 1100px; }
.phead .intro { max-width: 820px; line-height: 1.55; }
.phead h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 4.4vw, 38px); line-height: 1.15; letter-spacing: .02em; color: var(--gold); text-wrap: balance; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 15px; }
.facts b { color: var(--text); font-variant-numeric: tabular-nums; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { min-height: 46px; padding: 0 16px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--muted); font-family: var(--label); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--gold); border-bottom-color: var(--gold); }
.sec { padding-block: 18px 40px; display: flex; flex-direction: column; gap: 14px; }
.setcard { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.setcard > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 14px; padding: 14px 16px; }
.setcard > summary::-webkit-details-marker { display: none; }
.setcard > summary h3 { margin: 0; font-size: 18px; }
.setcard[open] > summary { border-bottom: 1px solid var(--line); }
.setcard .inner { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
/* odds & parallels: box switch + filter bar, then set cards grouped by kind, each with one-tap copy */
.obar { position: static; z-index: 4; background: var(--bg); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-block: 10px; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .obar { position: sticky; } }
.obar .seg button { min-height: 40px; padding: 0 14px; font-size: 14px; }
.obar input[type=search] { flex: 1 1 200px; min-width: 0; min-height: 44px; }
.obtn { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-family: var(--label); font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.obtn:hover { border-color: var(--gold); }
.obtn.done { color: var(--gold); border-color: var(--gold); }
.onote { margin: 0; color: var(--muted); font-size: 14px; }
.ohead { margin: 18px 0 4px; font-family: var(--label); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.ogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; align-items: start; }
.ocard { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 14px 16px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ocard .top { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.ocard h3 { margin: 0; font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.otags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.otag { font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; background: var(--surface-2); color: var(--muted); }
.otag.hit { background: var(--purple-bg); color: var(--purple); }
.opack { margin: 0; color: var(--muted); font-size: 15px; }
.opack b, .olist .o { font-family: var(--label); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.osub { margin: 4px 0 0; font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.olist { list-style: none; margin: 0; padding: 0; }
.olist li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.olist li:first-child { border-top: 0; }
.olist .n { min-width: 0; overflow-wrap: anywhere; }
.olist .r { color: var(--gold); font-family: var(--label); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.olist .o.none { color: var(--muted); font-weight: 600; }
.ocard .linkbtn { align-self: flex-start; padding: 0; min-height: 32px; }
.ptable th { text-align: left; padding: 8px 10px; font-family: var(--label); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--line); white-space: nowrap; }
.ptable td { padding: 9px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.onote { margin: 8px 0 0; color: var(--muted); font-size: .9em; }
.ptable td.run { font-family: var(--label); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptable td.odds { color: var(--muted); font-variant-numeric: tabular-nums; }
.scroll { overflow-x: auto; }
.teamgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.teambtn { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-align: left; }
.teambtn:hover { border-color: var(--gold); }
.teambtn b { color: var(--gold); font-variant-numeric: tabular-nums; }

.repbtn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-left: 6px; vertical-align: middle; border-radius: 999px; border: 1px solid transparent; background: none; color: var(--muted); }
.repbtn:hover { color: var(--gold); border-color: var(--line); }
.repbtn svg { width: 16px; height: 16px; }
.ebaybtn { display: inline-flex; align-items: center; height: 30px; margin-left: 8px; padding: 0 10px; vertical-align: middle; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.ebaybtn:hover, .ebaybtn:focus-visible { color: var(--gold); border-color: var(--gold); }
a.rp { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--line); }
a.rp:hover, a.rp:focus-visible { color: var(--gold); border-bottom-color: var(--gold); }
.rnote { margin: 6px 0 0; font-size: 12px; color: var(--muted); flex-basis: 100%; }
dialog.report { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--text); padding: 0; }
dialog.report::backdrop { background: rgba(0,0,0,.55); }
.rep-in { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.rep-in h2 { margin: 0; font-family: var(--display); font-size: 22px; color: var(--gold); }
.rep-ctx { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 15px; white-space: pre-line; }
a.btn { display: inline-flex; align-items: center; text-decoration: none; }
a.btn:hover { color: var(--gold-ink); background: var(--gold-hi); }
.rep-in textarea { width: 100%; min-height: 96px; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 16px var(--body); resize: vertical; }
.rep-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rep-addr { font-size: 14px; color: var(--muted); }
.rep-addr b { color: var(--text); user-select: all; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); }
.sr { position: absolute; left: -9999px; }
@media (prefers-reduced-motion: no-preference) { .pcard, .chip, .teambtn { transition: border-color .15s, color .15s; } }

/* Info posts */
.info { max-width: 780px; padding-block: 18px 40px; }
.info h1 { font-family: var(--display); color: var(--gold); font-size: clamp(28px, 5vw, 40px); line-height: 1.15; margin: 10px 0 6px; }
.info .lede, .info .byline { color: var(--muted); margin: 0 0 22px; }
.info .byline { font-family: var(--label); letter-spacing: .04em; font-size: 14px; text-transform: uppercase; }
.info h2 { font-family: var(--display); color: var(--gold); font-size: 22px; margin: 30px 0 10px; }
.info h3 { font-size: 18px; margin: 22px 0 8px; }
.post { font-size: 17px; line-height: 1.65; }
.post p, .post ul, .post ol { margin: 0 0 14px; }
.post li { margin: 4px 0; }
.post a, .info .more a:not(.info-item), footer a { color: var(--gold); }
.post .tbl { overflow-x: auto; margin: 6px 0 18px; }
.post table { border-collapse: collapse; width: 100%; font-size: 15px; }
.post th { text-align: left; font-family: var(--label); letter-spacing: .04em; color: var(--muted); padding: 6px 10px; border-bottom: 2px solid var(--line); }
.post td { padding: 7px 10px; border-bottom: 1px solid var(--line); }
.post .tip { margin: 22px 0; padding: 14px 16px; border-left: 4px solid var(--gold); background: var(--surface, transparent); border-radius: 0 10px 10px 0; }
.post .tip p { margin: 0; }
.info-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 10px; }
.info-item { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); background: var(--surface, transparent); }
.info-item b { color: var(--gold); font-size: 16px; }
.info-item span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.info-item:hover { border-color: var(--gold); }
.info .more { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 6px; }

/* 1/1 trackers */
.trk-head { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; margin: 14px 0 4px; }
.trk-head .big { font-family: var(--display); color: var(--gold); font-size: 30px; }
.trk-head span { color: var(--muted); }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; margin-top: 14px; }
.tile { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); min-width: 0; }
.tile b { font-size: 16px; overflow-wrap: anywhere; } .tile .tm { color: var(--muted); font-size: 14px; } .tile .no { color: var(--muted); font-size: 13px; font-family: var(--label); letter-spacing: .04em; }
.tile .tst { align-self: flex-start; font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; margin-bottom: 4px; }
.tile.avail .tst { color: var(--ok); background: var(--ok-bg); }
.tile.pulled { background: var(--surface-2); } .tile.pulled b { text-decoration: line-through; text-decoration-color: var(--muted); color: var(--muted); }
.tile.pulled .tst { color: var(--gold-ink); background: var(--gold); }
.tile .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; } .tile .tags .tst { margin-bottom: 0; }
.tile .tlab { font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; color: var(--purple); background: var(--purple-bg); }
.tteam { font-family: var(--display); color: var(--gold); font-size: 19px; margin: 22px 0 0; }
.trk-item .trk-count { color: var(--text); font-size: 14px; } .trk-item .trk-count strong { color: var(--gold); }
.obar select { min-height: 44px; flex: 0 0 auto; width: auto; }

/* release calendar */
.cal-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 18px; }
.cal-bar .seg button { min-height: 40px; padding: 0 14px; font-size: 14px; }
.cal-bar select { width: auto; min-width: 170px; height: 42px; }
.cal-g { margin: 0 0 26px; }
.cal-g h2, .cal-sec { font-family: var(--label); font-size: 18px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin: 0 0 10px; }
.cal-g h2 .n { color: var(--muted); font-size: 14px; letter-spacing: 0; margin-left: 4px; }
.cal-g.now h2 { color: var(--gold); }
.cal-sec { font-family: var(--display); text-transform: none; letter-spacing: 0; font-size: 26px; color: var(--gold); margin: 34px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.cal-g.past h2 { font-size: 16px; color: var(--muted); }
.cal-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface, transparent); }
.rel { display: flex; gap: 14px; padding: 12px 14px; border-top: 1px solid var(--line); }
.rel:first-child { border-top: 0; }
.rdate { flex: 0 0 58px; align-self: flex-start; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 6px 0; border-radius: 10px; background: var(--purple-bg); color: var(--purple); font-family: var(--label); line-height: 1.15; text-align: center; }
.rdate b { font-size: 16px; font-weight: 700; }
.rdate span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.cal-g.past .rdate { background: none; border: 1px solid var(--line); color: var(--muted); }
.rmain { flex: 1 1 auto; min-width: 0; }
.rname { margin: 2px 0 6px; font-family: var(--body); font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--text); }
.rname a { color: var(--gold); text-decoration: none; } .rname a:hover { text-decoration: underline; }
.rmeta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rtag { padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.rst { padding: 2px 9px; border-radius: 999px; background: var(--purple-bg); color: var(--purple); font-family: var(--label); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.rst.live { background: var(--gold); color: var(--gold-ink); } .rst.live:hover { filter: brightness(1.08); }
.rst.none { background: none; border: 1px solid var(--line); color: var(--muted); }
.rst.late { background: none; border: 1px solid var(--rc); color: var(--rc); }
.rbox { margin-top: 8px; font-size: 14px; }
.rbox summary { cursor: pointer; color: var(--muted); font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.rbox summary:hover { color: var(--gold); }
.rbox ul { list-style: none; margin: 6px 0 2px; padding: 0; display: grid; gap: 6px; }
.rbox li { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.rbox li b { color: var(--text); } .rbox li i { font-style: normal; color: var(--gold); font-weight: 700; } .rbox li span { color: var(--muted); flex-basis: 100%; }
@media (max-width: 480px) { .rel { gap: 10px; padding: 12px 10px; } .rdate { flex-basis: 50px; } .cal-bar .seg { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; } .cal-bar .seg button { flex: 0 0 auto; } .cal-bar select { width: 100%; } }

/* box breakdown */
.bx { margin: 14px 0 6px; }
.bx-h { font-family: var(--label); font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.bx-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.bx-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface, transparent); min-width: 0; }
.bx-card.on { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.bx-card h3 { margin: 0 0 6px; font-family: var(--label); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.bx-card.on h3 { color: var(--gold); }
.bx-in { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.bx-sub { margin: 10px 0 4px; font-family: var(--label); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--purple); font-weight: 700; }
.bx-hits { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.45; color: var(--text); }
.bx-hits li { margin: 2px 0; }
.bx-more summary { cursor: pointer; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 4px; min-height: 30px; display: inline-flex; align-items: center; }
.bx-more summary:hover { color: var(--gold); }
@media (max-width: 640px) { .bx-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 6px; } .bx-card { flex: 0 0 82%; scroll-snap-align: start; } }
