/* Pythia theme - black, antique gold, cream (from the logo). Dark is the default; ivory light via the toggle. */
:root {
  color-scheme: dark;
  --page: #0a0907;
  --surface: #13110e;
  --surface-2: #1c1914;
  --ink: #f2e8d8;
  --ink-2: #c9b99f;
  --muted: #8e816e;
  --grid: #27221b;
  --axis: #3d352a;
  --border: rgba(212, 178, 124, 0.16);
  --accent: #c9a36a;
  --accent-2: #e3c48f;
  --accent-ink: #120f0a;
  --more: #d2ad74;
  --less: #9db1c7;
  --good-text: #7cc48a;
  --bad-text: #e2806f;
  --mid: #2a251e;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(255, 236, 200, 0.03) inset, 0 10px 30px rgba(0, 0, 0, 0.35);
  --glow: radial-gradient(120% 140% at 85% 0%, rgba(201, 163, 106, 0.16), transparent 55%);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
:root[data-theme="light"] {
  color-scheme: light;
  --page: #f5efe4; --surface: #fcf9f3; --surface-2: #efe7d9;
  --ink: #1b1712; --ink-2: #5d5345; --muted: #8b7f6c; --grid: #e4dac9; --axis: #cdbfa8;
  --border: rgba(90, 64, 24, 0.14); --accent: #9a733f; --accent-2: #b48a50; --accent-ink: #fffaf0;
  --more: #9a733f; --less: #4e6a88; --good-text: #2f7a36; --bad-text: #b0443a; --mid: #e8dfcf;
  --shadow: 0 1px 2px rgba(60, 40, 10, 0.05), 0 8px 24px rgba(60, 40, 10, 0.06);
  --glow: radial-gradient(120% 140% at 85% 0%, rgba(154, 115, 63, 0.10), transparent 55%);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--page); color: var(--ink);
  font: 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
h1 { font-size: 26px; line-height: 1.2; margin: 0 0 4px; letter-spacing: -0.01em; }
h2 { font-size: 17px; margin: 0 0 2px; }
h3 { font-size: 15px; margin: 0 0 4px; }
.sub { color: var(--ink-2); margin: 0; font-size: 14px; }
code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: 13px; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.topbar-inner { display: flex; align-items: center; gap: 20px; height: 56px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
.tabs { display: flex; gap: 4px; flex: 1; }
.tabs a { color: var(--ink-2); text-decoration: none; padding: 6px 12px; border-radius: 8px; font-weight: 500; font-size: 14px; }
.tabs a:hover { background: var(--surface-2); }
.tabs a[aria-selected="true"] { color: var(--ink); background: var(--surface-2); }
.theme-btn { background: none; border: 1px solid var(--border); color: var(--ink-2); border-radius: 8px; width: 34px; height: 34px;
  display: grid; place-items: center; cursor: pointer; }

.page-head { margin: 28px 0 18px; }
.tab-panel { padding-bottom: 40px; }

/* fixtures */
.fixtures { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin-bottom: 22px; }
.fx { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; box-shadow: var(--shadow); }
.fx-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.fx-teams { display: flex; justify-content: space-between; font-weight: 600; font-size: 14px; gap: 8px; }
.fx-teams span:last-child { text-align: right; }
.poss { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin: 8px 0 4px; gap: 2px; }
.poss div:first-child { background: var(--more); border-radius: 4px 0 0 4px; }
.poss div:last-child { background: var(--axis); border-radius: 0 4px 4px 0; }
.fx-nums { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 8px; }
.filters label, label.inline { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 500; }
label.inline { flex-direction: row; align-items: center; gap: 8px; }
.filters .grow { flex: 1; min-width: 160px; }
select, input[type="search"], input.line-in {
  font: inherit; font-size: 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 7px 10px;
}
input.line-in { width: 72px; padding: 5px 8px; text-align: right; font-variant-numeric: tabular-nums; }
input.line-in.entered { border-color: var(--accent); }
.hint { color: var(--ink-2); font-size: 13px; margin: 6px 0 12px; }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; }
.props { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.props th, .props td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--grid); white-space: nowrap; }
.props th { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.props tbody tr:last-child td { border-bottom: none; }
.props tbody tr.row { cursor: pointer; }
.props tbody tr.row:hover { background: var(--surface-2); }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }
.pname { font-weight: 600; }
.pmeta { color: var(--muted); font-size: 12px; }
.lean { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 13px; }
.lean .dot { width: 8px; height: 8px; border-radius: 50%; }
.lean.more .dot { background: var(--more); }
.lean.less .dot { background: var(--less); }
.lean.none { color: var(--muted); font-weight: 500; }
.pos { color: var(--good-text); }
.neg { color: var(--bad-text); }
.detail td { background: var(--surface-2); white-space: normal; color: var(--ink-2); font-size: 13px; }
.detail .calc { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.detail .calc b { color: var(--ink); font-variant-numeric: tabular-nums; }
.empty { color: var(--muted); text-align: center; padding: 30px; }
.res { font-weight: 700; font-size: 12px; padding: 2px 7px; border-radius: 6px; background: var(--surface-2); }
.res.W { color: var(--good-text); }
.res.L { color: var(--bad-text); }
.res.P { color: var(--muted); }
.flag { color: var(--bad-text); font-size: 12px; }

/* cards, tiles */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin: 0 0 16px; }
.card .table-wrap { margin-top: 12px; }
.card .props { box-shadow: none; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 16px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.tile .label { color: var(--ink-2); font-size: 13px; font-weight: 500; }
.tile .value { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin: 4px 0 2px; }
.tile .foot { color: var(--muted); font-size: 12px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }
figure { margin: 0; }
.chart-card figcaption { margin-bottom: 10px; }
.chart svg { display: block; width: 100%; height: auto; }
.chart text { font: 12px system-ui, -apple-system, "Segoe UI", sans-serif; fill: var(--muted); }
.chart .vlabel { fill: var(--ink-2); font-weight: 600; }
.mini th, .mini td { padding: 8px 10px; border-bottom: 1px solid var(--grid); text-align: left; font-variant-numeric: tabular-nums; }
.mini th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; }

.conf { margin: 14px 0 4px; display: grid; gap: 6px; max-width: 720px; }
.conf-head, .conf-row { display: grid; grid-template-columns: 70px 1fr 110px; gap: 12px; align-items: center; }
.conf-head { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.conf-head span:last-child, .conf-margin { text-align: right; font-variant-numeric: tabular-nums; }
.conf-label { font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; }
.conf-track { position: relative; height: 26px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.conf-fill { position: absolute; inset: 0 auto 0 0; background: var(--accent); border-radius: 4px; opacity: 0.85; }
.conf-txt { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 700; color: #fff;
  font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.conf-margin { font-weight: 600; font-size: 13px; }
.pbar { display: inline-block; width: 46px; height: 6px; background: var(--surface-2); border-radius: 3px; vertical-align: middle; margin-right: 4px; overflow: hidden; }
.pbar span { display: block; height: 100%; background: var(--accent); border-radius: 3px; }

.drop { display: flex; align-items: center; gap: 16px; padding: 22px; border: 2px dashed var(--axis); border-radius: var(--radius);
  background: var(--surface); color: var(--ink-2); cursor: pointer; margin-bottom: 12px; }
.drop:hover, .drop.over, .drop:focus-visible { border-color: var(--accent); color: var(--ink); outline: none; }
.drop svg { flex: none; color: var(--accent); }
kbd { font: 12px ui-monospace, monospace; background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-bottom: 16px; }
.shot { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px; }
.shot img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; flex: none; }
.shot-meta { display: flex; flex-direction: column; min-width: 0; font-size: 12px; }
.shot-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-status { color: var(--ink-2); }
.shot-status.warn { color: var(--bad-text); }
.reader-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.btn { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 8px; cursor: pointer;
  background: var(--accent); color: #fff; border: 1px solid transparent; }
.btn.ghost { background: transparent; color: var(--ink-2); border-color: var(--border); }
.btn:hover { filter: brightness(1.08); }
input.name-in { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: transparent; border: 1px solid transparent;
  border-radius: 6px; padding: 3px 6px; margin-left: -7px; width: 190px; }
input.name-in:hover, input.name-in:focus { border-color: var(--border); background: var(--surface); outline: none; }
.x { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 14px; padding: 4px 6px; border-radius: 6px; }
.x:hover { color: var(--bad-text); background: var(--surface-2); }
.tier { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; margin-right: 4px; border: 1px solid var(--border); }
.t-severe { background: var(--accent); color: #fff; border-color: transparent; }
.t-strong { color: var(--accent); border-color: var(--accent); }
.t-lean { color: var(--ink-2); }
.t-pass { color: var(--muted); }
#trackCard { margin-top: 18px; }

/* method */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 10px; margin: 0 0 16px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px 14px 56px; position: relative; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.steps p { margin: 0; color: var(--ink-2); }
.notes { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); }
.notes li { margin: 4px 0; }

.tooltip { position: fixed; pointer-events: none; z-index: 50; background: var(--surface); color: var(--ink); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 10px; font-size: 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15); max-width: 240px; }
.tooltip b { font-variant-numeric: tabular-nums; }
.foot { color: var(--muted); font-size: 12px; padding: 20px 16px 32px; border-top: 1px solid var(--border); }

@media (max-width: 640px) {
  .topbar-inner { gap: 10px; }
  .brand span { display: none; }
  h1 { font-size: 21px; }
  .props th, .props td { padding: 8px; }
  .fixtures { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto;
    scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .fx { scroll-snap-align: start; }
  .hide-sm { display: none; }
}

input.line-in.check { border-color: var(--bad-text); }

/* today's plays */
.play-day { margin-bottom: 26px; }
.day-head { font-size: 18px; margin: 6px 0 12px; }
.no-potd { margin: 0 0 12px; }
.potd { background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 14px; }
.potd-top, .play-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.potd-badge { background: var(--accent); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: 0.06em; padding: 3px 9px; border-radius: 999px; }
.potd-badge.small { font-size: 10px; padding: 1px 6px; vertical-align: 1px; }
.potd-name { font-size: 24px; margin: 10px 0 2px; }
.potd-line { font-size: 20px; margin: 12px 0; display: flex; align-items: baseline; gap: 10px; }
.potd-line b { font-size: 30px; font-variant-numeric: tabular-nums; }
.potd-line .lean { font-size: 16px; }
.potd-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 6px 0 12px; }
.potd-stats div { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.potd-stats .label { color: var(--ink-2); font-size: 12px; }
.potd-stats b { font-size: 20px; font-variant-numeric: tabular-nums; }
.potd-reason, .play-reason { color: var(--ink-2); margin: 0; font-size: 14px; }
.plays { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.play { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.play .pname { margin-top: 6px; }
.play-line { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 4px; }
.play-line b { font-size: 20px; font-variant-numeric: tabular-nums; }
.play-conf { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.play-reason { font-size: 13px; }
.slips { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; margin-top: 12px; }
.slip { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; background: var(--surface-2); display: flex; flex-direction: column; gap: 8px; }
.slip-top { display: flex; justify-content: space-between; align-items: center; }
.slip-units { font-size: 22px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.slip-leg { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 8px; border-top: 1px solid var(--grid); }
.slip-pick { text-align: right; white-space: nowrap; }
.slip-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 13px; color: var(--ink-2); padding-top: 8px; border-top: 1px solid var(--grid); }
.disclaimer { color: var(--muted); font-size: 12px; margin-top: 18px; }
.progress { height: 4px; background: var(--surface-2); border-radius: 2px; overflow: hidden; margin: 5px 0 2px; max-width: 140px; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
#proofCard { margin-top: 8px; }
#proofTable th .pmeta { font-weight: 500; text-transform: none; letter-spacing: 0; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--bad-text); margin-right: 5px; vertical-align: 1px; }
.line-move { --mv: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin: 6px 0 8px;
  padding: 8px 12px; border: 1px solid var(--mv); border-left-width: 4px; border-radius: 10px;
  background: color-mix(in srgb, var(--mv) 12%, transparent); font-size: 15px; }
.line-move.big { font-size: 17px; padding: 10px 14px; margin: 2px 0 14px; }
.line-move.mv-ours { --mv: var(--good-text); }
.line-move.mv-against { --mv: var(--bad-text); }
.mv-tag { color: var(--mv); font-weight: 800; letter-spacing: 0.02em; }
.mv-nums { display: inline-flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.mv-nums s { color: var(--muted); font-size: 1.05em; }
.mv-nums b { font-size: 1.5em; color: var(--ink); }
.line-move.big .mv-nums b { font-size: 1.7em; }
.mv-d { color: var(--mv); font-weight: 700; }
.mv-chip { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; font-size: 14px; font-weight: 800;
  font-variant-numeric: tabular-nums; border: 1px solid currentColor; background: color-mix(in srgb, currentColor 12%, transparent); }
.mv-ours { color: var(--good-text); }
.mv-against { color: var(--bad-text); }


/* ================= Pythia theme layer ================= */
body { background: var(--page); background-image: radial-gradient(900px 500px at 80% -10%, rgba(201, 163, 106, 0.07), transparent 60%); background-attachment: fixed; }
h1, h2, .potd-name, .day-head { font-family: var(--serif); font-weight: 600; letter-spacing: 0.005em; }
h1 { font-size: 38px; line-height: 1.05; }
h2 { font-size: 22px; }
.eyebrow { font: 600 11px/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.sub { color: var(--ink-2); }

/* top bar */
.topbar { background: color-mix(in srgb, var(--page) 82%, transparent); border-bottom: 1px solid var(--border); }
.topbar-inner { height: 64px; }
.brand { gap: 10px; }
.brand img { width: 34px; height: 34px; border-radius: 50%; display: block; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: 0.22em; color: var(--accent-2); }
.tabs { gap: 2px; }
.tabs a { position: relative; color: var(--ink-2); border-radius: 0; padding: 8px 12px; font-size: 13.5px; letter-spacing: 0.01em; }
.tabs a:hover { background: none; color: var(--ink); }
.tabs a[aria-selected="true"] { background: none; color: var(--accent-2); }
.tabs a[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 2px; background: var(--accent); border-radius: 2px; }
.theme-btn { border-color: var(--border); color: var(--accent); background: var(--surface); }

/* surfaces */
.card, .tile, .fx, .play, .props, .shot, .drop, .steps li { border-color: var(--border); box-shadow: var(--shadow); }
.card, .tile, .play, .fx { background: var(--surface); background-image: var(--glow); }
.tile .label, .props th, .mini th, .conf-head { letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; color: var(--muted); }
.tile .value { font-family: var(--sans); font-weight: 700; color: var(--ink); }
.props { background: var(--surface); }
.props tbody tr.row:hover { background: var(--surface-2); }

/* buttons & inputs */
.btn { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink); border: 0; letter-spacing: 0.02em; }
.btn.ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--border); }
select, input[type="search"], input.line-in, .ai-box input[type="password"] { background: var(--surface-2); border-color: var(--border); }
input.line-in.entered { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.drop { background: var(--surface); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.drop svg, .theme-btn svg { color: var(--accent); }

/* tiers & badges */
.tier { border-radius: 999px; letter-spacing: 0.04em; }
.t-severe { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink); border-color: transparent; }
.t-strong { color: var(--accent-2); border-color: color-mix(in srgb, var(--accent) 65%, transparent); background: transparent; }
.potd-badge { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink); letter-spacing: 0.14em; }

/* play of the day */
.potd { border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  background: var(--surface); background-image: radial-gradient(120% 160% at 100% 0%, rgba(201, 163, 106, 0.20), transparent 55%);
  box-shadow: 0 0 0 1px rgba(201, 163, 106, 0.08), 0 20px 50px rgba(0, 0, 0, 0.45); padding: 22px 24px; }
.potd-name { font-size: 34px; margin-top: 12px; }
.potd-line b { color: var(--accent-2); font-size: 34px; }
.potd-stats div { background: var(--surface-2); border: 1px solid var(--border); }
.day-head { font-size: 26px; margin-top: 14px; }
.play-line b { color: var(--accent-2); }
.progress span, .pbar span, .conf-fill { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.conf-txt { color: var(--accent-ink); text-shadow: none; }
.steps li::before { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink); }
.foot, .disclaimer { color: var(--muted); }
a { color: var(--accent-2); }

@media (max-width: 640px) {
  h1 { font-size: 30px; }
  .brand span { display: none; }
  .tabs a[aria-selected="true"]::after { bottom: -9px; }
  .potd-name { font-size: 28px; }
}
@media (max-width: 640px) {
  .topbar-inner { gap: 8px; height: 56px; }
  .tabs { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { white-space: nowrap; padding: 8px 9px; font-size: 13px; }
  .tabs a[aria-selected="true"]::after { left: 9px; right: 9px; bottom: -6px; }
  .theme-btn { flex: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tile { padding: 12px; }
  .tile .value { font-size: 22px; }
  .tile .foot { font-size: 11px; }
  .potd { padding: 16px; }
  .potd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
