/* Clean design (test, branch clean-design): proposal C with parts of A. Loaded after hub.css on every
   page; it calms the look without changing what the pages show: white (or deep grey) ground, hairlines
   instead of boxes, pictures with round corners, sans headlines, one blue for data and links. The dark
   HUD boxes become plain panels in the same quiet style. Red stays for LIVE/NOW only. */
:root {
  --bg: #111318; --panel: #111318; --panel-2: #1b1e25; --line: #262a33;
  --text: #f2f3f5; --muted: #9aa0ab; --faint: #6b717d; --accent: #7aa2ff; --bg-rgb: 17 19 24;
  --head: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --bg: #fff; --panel: #fff; --panel-2: #f5f5f7; --line: #e5e5ea; --text: #1d1d1f; --muted: #6e6e73; --faint: #8e8e93; --accent: #2f5bd3; --bg-rgb: 255 255 255; }
}
:root[data-theme="light"] { --bg: #fff; --panel: #fff; --panel-2: #f5f5f7; --line: #e5e5ea; --text: #1d1d1f; --muted: #6e6e73; --faint: #8e8e93; --accent: #2f5bd3; --bg-rgb: 255 255 255; }
body { font-size: 16px; }
.wrap { max-width: 1200px; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* header: a plain white bar, the sections as quiet text links */
header.top { background: var(--bg); border-bottom: 1px solid var(--line); }
header.top .wrap { height: 64px; }
.hdr-nav a { font-weight: 500; font-size: 15px; color: var(--muted); background: none !important; }
.hdr-nav a:hover, .hdr-nav a[aria-current="page"] { color: var(--text); }
.theme-toggle { background: none; border-color: var(--line); }

/* sections: a plain heading, the description as one quiet line, a hairline between sections */
.segment { margin-top: 36px; }
.segment + .segment { border-top: 1px solid var(--line); padding-top: 32px; }
h2.section { font: 700 24px/1.2 var(--head); text-transform: none; letter-spacing: -.01em; margin: 0 0 6px; }
.segment .section-desc { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.section-desc .accent { color: var(--text); font-weight: 600; }

/* cards: no box, the picture with round corners and the text below it */
.grid { gap: 28px 22px; }
.card { background: none; border: 0; border-radius: 0; padding: 0; gap: 8px; }
.card:hover { border: 0; }
.card:hover h2 { color: var(--accent); }
.card .thumb, .card.with-impact .thumb { width: 100%; margin: 0 0 6px; border-radius: 14px; }
.card h2 { font: 700 18px/1.3 var(--head); letter-spacing: -.005em; }
.card p { font-size: 14.5px; line-height: 1.55; }
.meta { font-family: var(--font); font-size: 12px; letter-spacing: .05em; color: var(--muted); }
.imp { border-radius: 999px; padding: 1px 7px; }
.odds { border-top: 0; padding-top: 2px; }
.card-foot { border-top: 0; }
.read-btn { display: none; }
/* Market Pulse as underlined text like the strip's prompts (owner's pick 2026-11-27), no pill */
.insights, :root .insights, #top-grid .card .insights { border: 0; border-radius: 0; background: none !important; padding: 2px 0; color: var(--text); font: 600 13px var(--font); letter-spacing: 0; text-transform: none; white-space: nowrap; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.insights:hover, :root .insights:hover, #top-grid .card .insights:hover { background: none !important; color: var(--text); text-decoration-color: currentColor; }
.flip .card.back { background: var(--panel-2); border-radius: 14px; padding: 16px; }
.more-btn { border-radius: 999px; }
.chip { font-weight: 500; }

/* Top News (public/index.html renderTop): the lead story, beside it "Today's essentials" as a numbered
   list and the data rail (live, biggest move, resolving next) */
#top-grid.c-top { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); grid-template-rows: none; gap: 36px; padding-bottom: 8px; }
.c-lead .c-pic { display: block; position: relative; }
.c-lead img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; background: var(--panel-2); }
.c-kick { margin: 14px 0 6px; font: 500 12px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
#top-grid .c-lead h2 { margin: 0 0 10px; font: 700 clamp(24px, 3vw, 34px)/1.15 var(--head); letter-spacing: -.015em; }
.c-lead h2 a:hover { color: var(--accent); }
#top-grid .card.c-lead p { display: block; -webkit-line-clamp: unset; overflow: visible; margin: 0 0 14px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.c-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.c-chips span { padding: 5px 12px; border-radius: 999px; background: var(--panel-2); color: var(--muted); font-size: 13px; }
.c-chips .c-odds { background: rgb(var(--hud-rgb, 47 91 211) / .1); color: var(--accent); font-weight: 600; }
.c-side h3 { margin: 0 0 4px; font: 600 18px var(--head); }
.c-list { list-style: none; margin: 0 0 22px; padding: 0; }
.c-list li { border-top: 1px solid var(--line); }
.c-list a { display: block; padding: 14px 0; }
.c-list .front b { display: block; font: 500 16px/1.4 var(--head); }
.c-list b em { font-style: normal; color: var(--muted); margin-right: 4px; }
.c-list a:hover b { color: var(--accent); }
.c-list .front > span { display: block; margin-top: 5px; font-size: 13px; color: var(--muted); }
.c-list .up { color: var(--up); } .c-list .down { color: var(--down); }
/* the data rail: small labelled figures between hairlines */
.c-rail { border-top: 1px solid var(--line); }
.c-rail > a, .c-rail > div { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
.c-rail small { display: flex; align-items: center; gap: 7px; font: 600 11px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.c-rail strong { display: block; margin-top: 3px; font: 700 22px var(--head); }
.c-rail p { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.c-rail a:hover p { color: var(--text); }
.c-dot { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: hud-pulse 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .c-dot { animation: none; } }
@media (max-width: 900px) { #top-grid.c-top { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
/* in this design LIVE lives in the rail */
#live { display: none !important; }

/* HUD boxes (/why-aggregathor, /live, De-noised, THOR analysis, glossary pictures): plain panels */
.hud, :root .hud, :root[data-theme] .hud { --hud-rgb: 47 91 211; --hud-glass: var(--bg-rgb); --hud-deep: var(--bg-rgb); --hud-top: var(--bg); --hud-shadow: none;
  --c: var(--accent); --c2: var(--accent); --dim: var(--line); --txt: var(--text); --mut: var(--muted);
  background: var(--panel-2) !important; border: 0; box-shadow: none; border-radius: 18px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hud { --hud-rgb: 122 162 255; } }
:root[data-theme="dark"] .hud { --hud-rgb: 122 162 255; }
.hud::before, .hud-card::before, .hud-card::after, .hud-panel::before, .hud-panel::after { display: none; }
.hud-card, .hud-panel { background: var(--bg); border: 0; border-radius: 14px; backdrop-filter: none; }
.hud-card:hover { box-shadow: none; }
.hud-top { font-family: var(--font); letter-spacing: .06em; }
.hud *, .live-badge { text-shadow: none !important; }
.hud :is(.hud-gauge-fg, .hud-area, .gv-core, .gv-lamp.on) { filter: none; }

/* story pages: sans headline, serif text, the boxes as quiet panels */
.article h1 { font: 700 clamp(28px, 4vw, 44px)/1.12 var(--head); letter-spacing: -.02em; }
.lede { font: 20px/1.5 var(--head); color: var(--muted); }
.hero img, .article .hero img { border-radius: 18px; }
.panel { background: var(--panel-2); border: 0; border-radius: 14px; padding: 18px; }
.panel h3 { font-family: var(--font); letter-spacing: .06em; }
.bet { border-radius: 18px; }

.story-side .hud { margin-top: 0; background: none !important; padding: 0; border-radius: 0; }
.story-side .hud-panel { background: var(--panel-2); }
.site-foot { border-top: 1px solid var(--line); }
#watch[hidden] + #top { border-top: 0; padding-top: 0; }
.bet { background: var(--panel-2); border: 0; border-radius: 18px; padding: 20px 22px; }
.bet-kicker, .bet-kicker span:first-child { font-family: var(--font); color: var(--muted); }
.money { font-family: var(--font); border: 0; background: rgb(var(--hud-rgb, 47 91 211) / .1); color: var(--accent); border-radius: 999px; padding: 2px 9px; justify-self: start; width: fit-content; }
/* the data rail as a strip under Top News, above Trending: three figures side by side */
#top-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#top-rail > a { border-bottom: 0; padding: 16px 20px; }
#top-rail > a + a { border-left: 1px solid var(--line); }
#top-rail > a:first-child { padding-left: 0; }
#top-rail:empty { display: none; }
@media (max-width: 760px) { #top-rail { grid-template-columns: minmax(0, 1fr); } #top-rail > a { padding: 14px 0; } #top-rail > a + a { border-left: 0; border-top: 1px solid var(--line); } }
.c-list { margin-bottom: 0; }
/* The Whole Picture on the overview: a large picture beside the text, no box */
.wp-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px 28px; padding: 0; border: 0; background: none; }
.wp-card:hover { border: 0; }
.wp-card:hover b { color: var(--accent); }
.wp-card img { border-radius: 18px; }
.wp-card b { font: 700 clamp(22px, 2.4vw, 28px)/1.2 var(--head); letter-spacing: -.01em; }
.wp-card .wp-teaser { font-size: 16px; }
.wp-card small { font-family: var(--font); }
@media (max-width: 760px) { .wp-card { grid-template-columns: minmax(0, 1fr); } .wp-card img { grid-row: auto; } }
/* Market Pulse on the clean Top News: the lead turns over to the bet, each essentials row to a short one */
.c-lead.card { gap: 0; }
.c-lead .insights { margin-left: auto; align-self: center; }
.c-flip .card.back { padding: 24px; }
.c-list li { list-style: none; }
.c-list .c-row .card.front { padding: 14px 0; gap: 5px; }
.c-list .c-row .card.front a { padding: 0; }
.c-list .c-row .card.front > span { display: flex; align-items: center; gap: 6px; margin: 0; }
.c-list .c-row .insights { margin-left: auto; padding: 0; font-size: 12px; }
.c-rowback.card.back { margin: 6px 0; padding: 8px 12px; gap: 4px; border-radius: 12px; justify-content: center; }
.c-rowodds { font-size: 12.5px; color: var(--muted); }
.c-rowodds b { font-size: 16px; color: var(--text); }
.c-rowodds b, .c-rowodds span { display: inline; margin: 0; }
/* the flipped essentials row: odds on the left, the week's curve on the right */
.c-rowbody { display: grid; grid-template-columns: minmax(0, 1fr) 42%; gap: 12px; align-items: center; }
.c-rowback .spark { grid-template-rows: 34px; gap: 0; }
.c-rowback .spark-move { display: none; }
/* the Live strip's seismograph, clean: a thin blue line on the page's own ground, the red pen for NOW */
.c-seis.live-pic { display: block; height: 54px; min-height: 0; margin: 8px 0 6px; border: 0; border-radius: 0; background: none; overflow: hidden; }
.c-seis.live-pic::before, .c-seis.live-pic::after { display: none; }
.c-seis .wave { stroke: var(--accent); stroke-width: 1.4; }
.c-seis .wave-glow { display: none; }
.c-seis .base { stroke: var(--line); }
.c-seis .blank { background: var(--bg); opacity: .85; }
.c-seis .pen { border-right-color: rgba(239, 68, 68, .5); }
.c-seis .pen::after { width: 7px; height: 7px; right: -4px; top: calc(50% - 4px); box-shadow: none; }
/* the De-noised head in the story sidebar: the sidebar scrolls on its own and clips at its edges, so
   the head gets room above and at the sides and a little less letter spacing */
.story-side .hud-top { padding: 4px 2px 0; line-height: 1.4; letter-spacing: .04em; gap: 4px 12px; }
/* the De-noised block in the story sidebar stays without its own panel in every theme (a saved day/night
   choice made the general HUD rule win, whose round corners clipped the head) */
:root .story-side .hud, :root[data-theme] .story-side .hud { background: none !important; padding: 0; border-radius: 0; overflow: visible; }
/* the strip under Top News closes with its own hairline, so the next section (Trending, after the hidden
   LIVE teaser) starts without a second one */
#top + #live + .segment { border-top: 0; padding-top: 8px; }

/* Strip: biggest move as the day's curve, resolving next as a countdown (owner's pick 2026-11-27) */
.c-curvebox { position: relative; display: block; height: 54px; margin: 8px 0 6px; }
.c-curve { display: block; width: 100%; height: 100%; overflow: visible; }
.c-curve-day { fill: none; stroke: var(--faint); stroke-width: 1.3; }
.c-curve-move { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.c-curve-dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); }
.c-rail small .c-pts { color: var(--accent); font-weight: 700; }
.c-fromto { color: var(--faint); white-space: nowrap; }
.c-count { display: flex; gap: 18px; margin: 8px 0 6px; height: 54px; align-items: center; }
.c-count span { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.c-count b { font: 700 28px var(--head); color: var(--text); font-variant-numeric: tabular-nums; }
.c-count em { margin-top: 5px; font: 500 11px var(--font); font-style: normal; color: var(--faint); }
.c-rail p.c-says { margin-top: 4px; font-size: 12.5px; }
.c-says b { color: var(--accent); font-weight: 600; }

/* Strip: each tile says what the click opens, in the text colour without arrows; the tile lifts on hover (owner's pick 2026-11-27) */
#top-rail > a { position: relative; display: flex; flex-direction: column; transition: background .15s; }
#top-rail > a:hover { background: var(--panel-2); }
#top-rail > a:first-child:hover { padding-left: 14px; margin-left: -14px; }
#top-rail .c-cta { margin-top: auto; padding-top: 10px; font: 600 13px var(--font); color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
#top-rail > a:hover .c-cta { text-decoration-color: currentColor; }
@media (max-width: 760px) { #top-rail > a:first-child:hover { padding-left: 0; margin-left: 0; } }
.c-list .c-band { font-style: normal; }

/* Story extras (owner's choice 2026-11-27): why it matters, what to watch, if yes / if no, how we got here on the bet chart */
.extra { margin: 28px 0; }
.extra h3 { margin: 0 0 10px; font: 700 13px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.extra.why { padding: 18px 22px; border-radius: 18px; background: var(--panel-2); }
.extra.why ul, .extra.watch ul { margin: 0; padding: 0; list-style: none; }
.extra.why li { position: relative; padding-left: 22px; margin: 8px 0; font-size: 17px; line-height: 1.45; color: var(--text); }
.extra.why li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.extra.watch li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.45; color: var(--text); }
.extra.watch li:first-child { border-top: 0; }
.extra.watch time { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: var(--panel-2); font: 600 12px var(--font); color: var(--accent); }
.extra.watch time.open { color: var(--muted); }
.chart.has-marks { position: relative; }
.cm { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--faint); opacity: .7; }
.cm.self { border-left: 1.5px solid var(--accent); opacity: 1; }
.cm-axis { position: relative; height: 26px; margin: 0 12px 0 12px; }
.cm-axis::before { content: ""; position: absolute; left: -12px; right: -12px; top: 12px; height: 2px; background: var(--line); }
.cm-dot { position: absolute; top: 1px; display: grid; place-items: center; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--panel-2); border: 2px solid var(--faint); font: 700 11px var(--font); font-style: normal; color: var(--muted); }
.cm-dot.self { background: var(--accent); border-color: var(--accent); color: #fff; }
.cm-dot.next { border-style: dashed; border-color: var(--accent); color: var(--accent); }
.cm-dot b { font: inherit; }
.cm-dot em { position: absolute; top: 27px; left: 50%; transform: translateX(-50%); font: 600 11px var(--font); font-style: normal; color: var(--muted); white-space: nowrap; }
.cm-dot.left em { left: 0; transform: none; }
.cm-dot.right em { left: auto; right: 0; transform: none; }
.cm-dot.self em { color: var(--accent); }
.cm-axis { height: 46px; }
.cm-more { margin: 10px 0 0; }
.cm-more summary, .bc-more summary { cursor: pointer; list-style: none; font: 600 13px var(--font); color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.cm-more summary::-webkit-details-marker, .bc-more summary::-webkit-details-marker { display: none; }
.cm-more summary::after, .bc-more summary::after { content: " ▾"; color: var(--faint); }
.cm-more[open] summary::after, .bc-more[open] summary::after { content: " ▴"; }
.cm-more summary:hover, .bc-more summary:hover { text-decoration-color: currentColor; }
.cm-list { margin: 12px 0 2px; padding: 0; list-style: none; }
.cm-list li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.cm-list li:first-child { border-top: 0; }
.cm-list li > b { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--faint); font: 700 11px var(--font); color: var(--muted); }
.cm-list li.self > b { background: var(--accent); border-color: var(--accent); color: #fff; }
.cm-list li.next > b { border-style: dashed; border-color: var(--accent); color: var(--accent); }
.cm-list time { font: 600 13px var(--font); color: var(--text); }
.cm-list li.self time { color: var(--accent); }
.cm-list span { margin-left: 8px; font: 600 10.5px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.cm-list p { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.cm-list p a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.cm-list p a:hover { text-decoration-color: currentColor; }
.bet-c .bc-head { display: flex; align-items: center; gap: 16px; }
.bet-c .bc-odds { flex: none; font: 700 40px var(--head); line-height: 1; color: var(--text); }
.bet-c .bet-q { margin: 0; font: 600 17px var(--head); line-height: 1.3; }
.bet-c .bc-meta { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }
.bet-c .chart { margin-top: 14px; }
.bet-c .bc-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: flex-start; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.bet-c .bc-more[open] { flex-basis: 100%; }
.bet-c .bc-more pre { white-space: pre-wrap; font-size: 12.5px; color: var(--muted); }
.bet-c .bc-cth { margin-left: auto; font: 600 13px var(--font); color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.bet-c .bc-cth:hover { text-decoration-color: currentColor; }
.extra.ifs { padding: 18px 22px 20px; border-radius: 18px; background: var(--panel-2); }
.ifs-cols { display: grid; grid-template-columns: 1fr 1fr; }
.ifs-cols > div { padding: 0 20px; }
.ifs-cols > div:first-child { padding-left: 0; }
.ifs-cols > div + div { border-left: 1px solid var(--line); padding-right: 0; }
.ifs-cols h4 { margin: 0 0 6px; font: 700 15px var(--head); color: var(--text); }
.ifs-cols > div:first-child h4 { color: var(--accent); }
.ifs-cols p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--text); }
@media (max-width: 600px) { .ifs-cols { grid-template-columns: 1fr; } .ifs-cols > div { padding: 0; } .ifs-cols > div + div { border-left: 0; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; } }
/* foldable panels (data-fold): open headings on wide screens, folded on phones (public/page.js) */
details[data-fold] > summary { list-style: none; }
details[data-fold] > summary::-webkit-details-marker { display: none; }
.extra.ifs > summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 14px; }
.extra.ifs > summary h3 { margin: 0; }
.extra.ifs > summary span { font-size: 13px; color: var(--faint); }
@media (min-width: 601px) { details[data-fold] > summary { pointer-events: none; } .fold > summary { display: none; } }
@media (max-width: 600px) {
  details[data-fold] > summary { cursor: pointer; position: relative; padding-right: 22px; }
  details[data-fold] > summary::after { content: "▾"; position: absolute; right: 0; top: 0; color: var(--faint); }
  details[data-fold][open] > summary::after { content: "▴"; }
  .extra.ifs:not([open]) > summary { margin-bottom: 0; }
  .fold { margin: 22px 0 0; padding: 16px 18px; border-radius: 18px; background: var(--panel-2); }
  .fold > summary { font: 700 13px var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .fold[open] > summary { margin-bottom: 12px; }
  .fold .noise { margin: 0; }
}
.watch-lg.watch-share { margin: 8px 0 12px; }
/* THOR Market Analysis on phones (owner's choice 2026-11-27): folded, layers as a plain list with hairlines */
@media (min-width: 601px) { .thor-layer > summary { pointer-events: none; } }
/* side by side, the figure boxes of two layers sit on one line: each panel a column, its figures at the bottom */
@media (min-width: 761px) {
  /* (details keeps its content in ::details-content, so that part is the column) */
  .thor-grid > .thor-layer[open] { display: flex; flex-direction: column; }
  .thor-grid > .thor-layer[open]::details-content { display: flex; flex-direction: column; flex: 1; }
  .thor-grid > .thor-layer .thor-facts { margin-top: auto; padding-top: 12px; }
  .thor-grid .thor-facts dt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 600px) {
  .thor-fold .hud.thor { margin: 0; padding: 0; background: none !important; }
  details.thor-fold .hud.thor .hud-top { display: none; }
  div.thor-fold { margin: 22px 0 0; padding: 16px 18px; border-radius: 18px; background: var(--panel-2); }
  .thor-fold .thor-grid { display: block; }
  .thor-fold .thor-layer { margin: 0; padding: 12px 0; border-radius: 0; background: none !important; border: 0; border-top: 1px solid var(--line); }
  .thor-fold .thor-layer > summary { margin: 0; padding-right: 22px; font: 600 14px var(--font); letter-spacing: 0; text-transform: none; color: var(--text); }
  .thor-fold .thor-layer > summary span { color: var(--text); }
  .thor-fold .thor-layer[open] > summary { margin-bottom: 8px; }
  .thor-fold .thor-layer p { margin: 6px 0; font-size: 15px; line-height: 1.5; }
  .thor-fold .thor-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 8px 0 0; }
  .thor-fold .thor-facts > div { padding: 0; border: 0; background: none; }
  .thor-fold .thor-facts dt { font: 600 10.5px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
  .thor-fold .thor-facts dd { margin: 0; font: 700 15px var(--font); color: var(--text); }
  .thor-fold .thor-note { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; }
  .thor-fold .thor-cta { margin: 10px 0 0; }
  .thor-fold .thor-cta .hud-btn { display: inline; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: 600 13px var(--font); letter-spacing: 0; text-transform: none; color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
}
/* phones (owner's choice 2026-11-27): no De-noised explanation under Top News, the stories start right away */
@media (max-width: 600px) { #top > .section-desc { display: none; } }
/* phones (owner's choice 2026-11-27): a bigger Back button on the card backs, easier to tap */
@media (max-width: 600px) { .flip-back { padding: 8px 14px; font-size: 13px; min-height: 36px; } }
/* phones (owner's choice 2026-11-27, A + B): the data strip under Top News gets its own heading and sits in a grey card */
.c-rail-head { display: none; }
@media (max-width: 760px) {
  .c-rail-head { display: block; margin: 34px 0 12px; }
  .c-rail-head:has(+ #top-rail:empty) { display: none; }
  .c-rail-head h3 { margin: 0; font: 700 20px var(--head); }
  .c-rail-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
  #top-rail { margin-top: 0; padding: 4px 16px; border: 0; border-radius: 18px; background: var(--panel-2); }
  #top-rail > a { padding: 14px 0; }
  #top-rail > a + a { border-top: 1px solid var(--line); }
  #top-rail > a:hover { background: none; }
  #top-rail .c-seis .blank { background: var(--panel-2); }
}

/* card back: today's money against a usual day (usualDay in index.html) */
.back-day { margin: 10px 0 4px; }
.back-day .bd-k, .back-day .bd-note { display: block; font-size: 11.5px; color: var(--muted); }
.back-day p { margin: 1px 0 6px; font-size: 13px; color: var(--muted); }
.back-day p b { font: 700 18px var(--font); color: var(--text); margin-right: 4px; }
.back-day em { font-style: normal; }
.back-day em.hi { color: var(--accent); font-weight: 600; }
.bd-bar { position: relative; height: 6px; border-radius: 3px; background: var(--line); }
.bd-bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.bd-bar s { position: absolute; top: -3px; width: 2px; height: 12px; margin-left: -1px; background: var(--muted); }
.back-day .bd-note { margin-top: 4px; font-size: 11px; }

/* card back of the market record signal: price bands (calibChart in index.html) */
.calib { margin: 8px 0 10px; }
.calib .cb { display: grid; grid-template-columns: 58px 1fr 34px; align-items: center; gap: 8px; margin: 5px 0; font-size: 12px; }
.calib .cb-k { color: var(--muted); font-variant-numeric: tabular-nums; }
.calib .cb b { text-align: right; font-weight: 700; color: var(--text); }
.cb-bar { position: relative; height: 8px; border-radius: 4px; background: var(--line); }
.cb-bar i { display: block; height: 100%; border-radius: 4px; background: var(--accent); }
.cb-bar s { position: absolute; top: -3px; width: 2px; height: 14px; margin-left: -1px; background: var(--text); }
.calib .cb-note { margin: 6px 0 0; font-size: 11px; color: var(--muted); }

/* The Week Ahead: homepage day picker (renderWeek in index.html) and /week-ahead (renderWeek in lib/render.mjs) */
.wk-pick { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin: 14px 0 6px; }
.wk-pick button { display: grid; gap: 1px; padding: 9px 4px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); font: inherit; cursor: pointer; text-align: center; }
.wk-pick button b { font: 700 13px var(--font); }
.wk-pick button span { font-size: 11.5px; color: var(--muted); }
.wk-pick button i { font-style: normal; font: 700 15px var(--font); margin-top: 3px; color: var(--accent); }
.wk-pick button:hover { border-color: var(--muted); }
.wk-pick button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.wk-pick button[aria-pressed="true"] span, .wk-pick button[aria-pressed="true"] i { color: var(--bg); }
.wk-list ul { list-style: none; margin: 0; padding: 0; }
.wk-list li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 14px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
.wk-list li a span { grid-column: 1; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.wk-list li a.wk-date span { color: var(--accent); }
.wk-list li a em { grid-column: 1; font: 600 15px/1.35 var(--font); font-style: normal; }
.wk-list li a b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 700 17px var(--font); }
.wk-list li a:hover em { text-decoration: underline; }
.wk-list .wk-more { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--text); text-decoration: underline; }
.wk-list .wk-none { margin: 10px 0; color: var(--muted); font-size: 14px; }
@media (max-width: 600px) {
  .wk-pick { gap: 4px; }
  .wk-pick button { padding: 7px 0 6px; border-radius: 10px; }
  .wk-pick button b { font-size: 11.5px; }
  .wk-pick button span { font-size: 10px; }
}
.wk-kick, .week-page .wk-kick { margin: 18px 0 4px; font-size: 13px; color: var(--accent); font-weight: 600; }
.wk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0 26px; }
.wk-stats > div { background: var(--panel-2); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.wk-stats span { display: block; font-size: 12px; color: var(--muted); }
.wk-stats b { display: block; font: 700 24px var(--font); }
.wk-stats small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-days { list-style: none; margin: 0 0 30px; padding: 0; }
.wk-day { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 0 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.wk-day h2 { margin: 0; font: 700 15px var(--font); }
.wk-day h2 span { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.wk-day ul { list-style: none; margin: 0; padding: 0; }
.wk-day li + li { margin-top: 10px; }
.wk-day li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; color: var(--text); text-decoration: none; }
.wk-day .wk-type { grid-column: 1; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.wk-day .wk-date .wk-type { color: var(--accent); }
.wk-day em { grid-column: 1; font: 600 15px/1.4 var(--font); font-style: normal; }
.wk-day small { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.wk-day b { grid-column: 2; grid-row: 1 / span 3; align-self: center; font: 700 18px var(--font); }
.wk-day a:hover em { text-decoration: underline; }
.wk-day.empty .wk-none { margin: 0; color: var(--faint); font-size: 14px; }
@media (max-width: 600px) { .wk-day { grid-template-columns: 1fr; gap: 6px; } .wk-day h2 span { display: inline; margin-left: 6px; } .wk-stats b { font-size: 20px; } }

/* Scorecard: did the market see it coming? (renderScorecard and calledLine in lib/render.mjs) */
.resolved .called { display: block; margin-top: 6px; }
.resolved .called.hit { color: var(--up); } .resolved .called.miss { color: var(--down); }
.resolved .called a { color: var(--text); }
.sc-list { list-style: none; margin: 22px 0 8px; padding: 0; }
.sc-list li a { display: grid; grid-template-columns: minmax(0, 1fr) 150px 70px; gap: 2px 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
.sc-list em { grid-column: 1; font: 600 15px/1.4 var(--font); font-style: normal; }
.sc-list small { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.sc-list .sc-bar { grid-column: 2; grid-row: 1 / span 2; position: relative; height: 6px; border-radius: 3px; background: var(--line); }
.sc-list .sc-bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.sc-list .sc-bar s { position: absolute; left: 50%; top: -3px; width: 1px; height: 12px; background: var(--muted); }
.sc-list b { grid-column: 3; grid-row: 1 / span 2; text-align: right; font: 700 15px var(--font); }
.sc-list li.hit b { color: var(--up); } .sc-list li.miss b { color: var(--down); }
.sc-list li.miss a { background: color-mix(in srgb, var(--down) 7%, transparent); }
.sc-list a:hover em { text-decoration: underline; }
.sc-note { font-size: 12.5px; color: var(--muted); margin: 0 0 28px; }
@media (max-width: 600px) { .sc-list li a { grid-template-columns: minmax(0, 1fr) 56px; } .sc-list .sc-bar { grid-column: 1; grid-row: auto; margin-top: 6px; } .sc-list b { grid-column: 2; grid-row: 1 / span 3; } }

/* Under the radar rows (radarRow in public/radar.js): homepage and /under-the-radar */
.rd-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.rd-list li a { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.rd-q small { display: block; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.rd-q em { font: 600 15px/1.4 var(--font); font-style: normal; }
.rd-list a:hover em { text-decoration: underline; }
/* the section below draws its own line */
.rd-list li:last-child a { border-bottom: 0; }
.rd-fig { white-space: nowrap; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rd-fig .rd-k { font-size: 11.5px; color: var(--faint); margin-right: 2px; }
.rd-fig .rd-arrow { margin: 0 6px; color: var(--faint); }
.rd-fig b { font: 700 17px var(--font); color: var(--accent); }
.rd-pic { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--panel-2); }
@media (max-width: 600px) { .rd-list li a { grid-template-columns: 84px minmax(0, 1fr); } .rd-pic { width: 84px; grid-row: 1 / span 2; align-self: start; } .rd-fig { grid-column: 2; white-space: normal; } }

/* watching single bets (owner's wish 2026-11-28): "+ Watch" on The Week Ahead rows, Bets you watch on /watchlist */
.wk-day li, .wk-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; }
.wk-watch { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--text); font: 600 12.5px var(--font); cursor: pointer; white-space: nowrap; }
.wk-watch:hover { border-color: var(--muted); }
.wk-watch[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .wk-watch { opacity: 0; transition: opacity .15s; }
  li:hover > .wk-watch, li:focus-within > .wk-watch, .wk-watch[aria-pressed="true"] { opacity: 1; }
}
@media (hover: none), (pointer: coarse) {
  .wk-watch { width: 34px; height: 34px; padding: 0; display: grid; place-items: center; }
  .wk-watch span { font-size: 0; }
  .wk-watch span::before { content: "+"; font-size: 18px; line-height: 1; }
  .wk-watch[aria-pressed="true"] span::before { content: "✓"; font-size: 15px; }
}
.watch-bet { margin-top: 8px; }
.wl-bet-list { list-style: none; margin: 10px 0 6px; padding: 0; border-top: 1px solid var(--line); }
.wl-bet-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; border-bottom: 1px solid var(--line); }
.wl-bet-list li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 12px 0; color: var(--text); text-decoration: none; }
.wl-bet-list em { font: 600 15px/1.4 var(--font); font-style: normal; }
.wl-bet-list small { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.wl-bet-list a > b { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 700 18px var(--font); }
.wl-bet-list a:hover em { text-decoration: underline; }
.wl-bet-remove { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--muted); cursor: pointer; font-size: 16px; }
.wl-bet-remove:hover { color: var(--text); border-color: var(--muted); }

/* a hidden More button stays hidden (.more-btn sets display) */
.more-btn[hidden] { display: none; }

/* Your watchlist tiles (renderWatch in index.html, variant D): 1 to 4 per row by how many there are, the rest behind More */
.wt-grid { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.wt-grid > .more-item { display: none; }
.wt-grid.open > .more-item { display: block; }
.wt { position: relative; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); transition: transform .15s, border-color .15s; }
.wt:hover { transform: translateY(-2px); border-color: var(--muted); }
.wt > a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 44px 14px 16px; color: var(--text); text-decoration: none; }
.wt small { font-size: 11.5px; color: var(--muted); }
.wt strong { font: 700 24px/1.1 var(--font); margin-bottom: 6px; }
.wt em { font: 600 15px/1.35 var(--font); font-style: normal; }
.wt a:hover em { text-decoration: underline; }
.wt-odds { margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--muted); }
.wt-odds b { font: 700 17px var(--font); color: var(--text); margin-right: 4px; }
.wt-x { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); color: var(--muted); font-size: 15px; line-height: 1; cursor: pointer; }
.wt-x:hover { color: var(--text); border-color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .wt-x { opacity: 0; transition: opacity .15s; } .wt:hover .wt-x, .wt-x:focus-visible { opacity: 1; } }
@media (max-width: 1000px) { .wt-grid { grid-template-columns: repeat(min(var(--n, 4), 2), minmax(0, 1fr)); } }
@media (max-width: 600px) { .wt-grid { grid-template-columns: minmax(0, 1fr); } }

/* Header and menu (owner's pick 2026-11-28): five entries in the header, the watchlist with its count; the
   dropdown grouped by purpose, each entry with one line saying what it is (same markup in lib/render.mjs and
   public/index.html; the count is filled in by page.js / index.html from the browser's watchlist) */
.w-count { display: inline-block; min-width: 18px; margin-left: 5px; padding: 0 6px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); font-size: 11.5px; font-weight: 700; line-height: 18px; text-align: center; }
.menu-panel.menu-groups { width: min(700px, calc(100vw - 32px)); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 18px; padding: 18px 18px 12px; }
.menu-groups .mg-you { grid-column: 1 / -1; }
.menu-groups .mg h4 { margin: 0 0 6px; padding: 0 8px; font: 600 11px var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.menu-groups .mg a { display: block; padding: 7px 8px; border-radius: 8px; }
.menu-groups .mg a b { display: block; font: 600 14.5px var(--font); color: var(--text); }
.menu-groups .mg a span:not(.w-count) { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.menu-groups .mg a:hover { background: var(--panel-2); }
.menu-groups .mg a:hover b { color: var(--accent); }
.menu-groups .mg-you a { display: inline-block; }
.menu-groups .mg-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 10px 8px 2px; border-top: 1px solid var(--line); }
.menu-groups .mg-foot a { padding: 0; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.menu-groups .mg-foot a:hover { background: none; color: var(--text); }
@media (max-width: 760px) { .menu-panel.menu-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .menu-panel.menu-groups { grid-template-columns: minmax(0, 1fr); max-height: calc(100vh - 80px); overflow-y: auto; } }

/* /under-the-radar detail cards (radarDetail in lib/render.mjs, owner's pick 2026-11-28, variant A) */
.rdp-list { display: grid; gap: 16px; margin: 22px 0 34px; }
.rdp { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.rdp-pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; display: block; }
.rdp-kick { margin: 0 0 2px; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
/* what a bet is a gauge of (owner's choice 2026-11-30, public/change.js) */
.rdp-sig, .bet-sig { margin: 6px 0 10px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.rdp-sig b, .bet-sig b { color: var(--text); font-weight: 600; }
.bet-sig { margin: 18px 0 0; padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--soft, rgba(127,127,127,.06)); border-radius: 0 8px 8px 0; }
.rdp h2 { margin: 0 0 14px; font: 700 19px/1.35 var(--font); }
.rdp h2 a { color: var(--text); text-decoration: none; }
.rdp h2 a:hover { text-decoration: underline; }
.rdp-bars { display: grid; grid-template-columns: 70px minmax(0, 1fr) 56px; align-items: center; gap: 7px 10px; font-size: 12.5px; }
.rdp-bars span { color: var(--faint); }
.rdp-bars i { display: block; height: 10px; border-radius: 5px; background: var(--line); min-width: 4px; }
.rdp-bars i.now { background: var(--accent); }
.rdp-bars b { text-align: right; font-weight: 700; }
.rdp-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.rdp-facts dt { font-size: 11.5px; color: var(--muted); }
.rdp-facts dd { margin: 2px 0 0; font: 700 18px var(--font); }
.rdp-facts dd.hi { color: var(--accent); }
.rdp-spark { margin: 14px 0 0; }
.rdp-spark svg { width: 100%; height: 38px; display: block; }
.rdp-spark polyline { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.rdp-spark figcaption { margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.rdp-none { color: var(--muted); }
@media (max-width: 680px) { .rdp { grid-template-columns: minmax(0, 1fr); } .rdp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rdp:not(:has(.rdp-pic)) { grid-template-columns: minmax(0, 1fr); }

/* /live seismograph: one dot per busy hour with its count (owner's pick 2026-11-28); a click lights up that hour in the log */
.seis .spike.hr::after { display: none; }
.seis .spike.hr b { position: absolute; top: -12px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--panel); border: 2px solid var(--accent); color: var(--text); font: 700 11px var(--font); }
.seis .spike.hr:not(.many) b { min-width: 14px; height: 14px; padding: 0; font-size: 0; top: -7px; }
.seis .spike.hr:hover b, .seis .spike.hr:focus-visible b { background: var(--accent); color: #fff; }
.live-log li { scroll-margin-top: 90px; transition: background-color .4s; }
.live-log li.lit, .live-log li:target { background: color-mix(in srgb, var(--accent) 14%, transparent); border-radius: 8px; }

/* Under the radar on the homepage: 3 shown, More opens up to 5, then a link to the page */
.rd-list > li.more-item { display: none; }
.rd-list.open > li.more-item { display: block; }
.rd-all { display: block; margin: 10px 0 0; font-size: 14px; color: var(--text); text-decoration: underline; }
.rd-all[hidden] { display: none; }

/* Potentials: Yes/No bar on the front (yesNo in index.html, owner's pick 2026-11-28) */
.yn { display: flex; height: 26px; margin: 12px 0 6px; border-radius: 7px; overflow: hidden; font: 700 12px var(--font); }
.yn span { display: flex; align-items: center; white-space: nowrap; }
.yn-y { justify-content: flex-start; padding-left: 8px; background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--accent); min-width: 0; }
.yn-n { flex: 1; justify-content: flex-end; padding-right: 8px; background: var(--panel-2); color: var(--muted); }
.yn-meta { margin: 0; font-size: 12.5px; color: var(--muted); }

/* THORbulence (owner's yes 2026-11-28): the strip tile and /thorbulence. "THOR" in the brand blue, one blue for data */
@media (min-width: 1101px) { #top-rail.c-four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) and (min-width: 761px) {
  #top-rail.c-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #top-rail.c-four > a:nth-child(3) { border-left: 0; padding-left: 0; }
  #top-rail.c-four > a:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.c-tb-b { color: var(--accent); }
.c-tb-steps, .tb-steps { display: flex; gap: 3px; margin: 8px 0 6px; }
.c-tb-steps i, .tb-steps i { flex: 1; height: 6px; border-radius: 2px; background: var(--line); }
.c-tb-steps i.on, .tb-steps i.on { background: var(--accent); }
.c-tb-line { display: block; width: 100%; height: 28px; }
.c-tb-line polyline, .tb-line polyline, .tb-days polyline { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.tb-word b { color: var(--accent); font-weight: inherit; }
.tb-stats .tb-steps { max-width: 160px; }
.tb-h { margin: 30px 0 4px; font: 700 20px var(--head); }
.tb-key { margin: 0 0 8px; font-size: 12.5px; color: var(--muted); }
.tb-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
/* "+ Watch" beside each bet (owner's wish 2026-11-30), as on The Week Ahead */
.tb-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; border-top: 1px solid var(--line); }
.tb-list a { display: grid; grid-template-columns: minmax(0, 1fr) 170px 96px; gap: 16px; align-items: center; padding: 14px 0; color: inherit; text-decoration: none; }
.tb-list a:hover em { text-decoration: underline; }
.tb-q em { display: block; font: 600 15px/1.4 var(--font); font-style: normal; }
.tb-q small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.tb-flip { color: var(--accent); font-weight: 600; }
.tb-line { display: block; width: 100%; height: 46px; }
.tb-half { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; opacity: .6; }
.tb-fig { text-align: right; }
.tb-fig b { display: block; font: 700 17px var(--font); }
.tb-fig small { font-size: 12px; color: var(--muted); }
.tb-days { margin: 8px 0 0; }
.tb-days svg { display: block; width: 100%; height: 90px; border-bottom: 1px solid var(--line); }
.tb-days figcaption { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
@media (max-width: 600px) {
  .tb-list a { grid-template-columns: minmax(0, 1fr) 84px; gap: 6px 12px; }
  .tb-q { grid-column: 1 / -1; }
  .tb-line { height: 40px; }
}

/* THOR Market Analysis as figure tiles (owner's pick 2026-11-28, variant B): one tile per layer, the full text folded below */
.thor-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.tt { min-width: 0; padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.tt p { margin: 0; }
.tt-k { font-size: 12.5px; color: var(--muted); }
.tt-n { margin: 2px 0 8px !important; font: 700 24px var(--font); color: var(--text); }
.tt-s { font-size: 13px; line-height: 1.45; color: var(--muted); }
.tt-bar { display: block; height: 6px; margin: 0 0 10px; border-radius: 3px; background: var(--line); overflow: hidden; }
.tt-bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.tt-lamps { display: flex; gap: 6px; margin: 0 0 10px; }
.tt-lamps i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--line); }
.tt-lamps i.on { background: var(--accent); border-color: var(--accent); }
.thor-more { margin: 12px 0 0; font: 600 13px var(--font); }
.thor-more a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.thor-more a:hover { text-decoration-color: currentColor; }
.hud.thor .thor-note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.hud.thor .thor-note a { color: var(--text); }
@media (max-width: 600px) {
  .thor-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tt { padding: 12px; }
  .tt-n { font-size: 20px; }
  .tt-s { font-size: 12.5px; }
  .thor-fold .thor-note { border-top: 0; padding-top: 0; }
}

/* Studies (owner's idea 2026-11-30, lib/studies/, lib/study-charts.mjs): key figures, charts in the one data blue */
.st-list { display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.st-card { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.st-card b { font: 700 22px/1.25 var(--head); }
.st-card:hover b { text-decoration: underline; }
.st-card small { font-size: 12.5px; color: var(--muted); }
.st-keys { margin: 22px 0 8px; }
.study-body h2 { margin-top: 38px; }
.st-fig { margin: 22px 0 26px; padding: 18px 18px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.st-title { margin: 0 0 12px; font: 700 15px/1.35 var(--font); color: var(--text); }
.st-cap { margin: 10px 0 0; font: 13px/1.5 var(--font); color: var(--muted); }
.st-calib { display: block; width: 100%; max-width: 440px; margin: 0 auto; }
.st-grid { stroke: var(--line); stroke-width: 1; }
.st-tick { font: 10px var(--font); fill: var(--faint); }
.st-axis { font: 600 11px var(--font); fill: var(--muted); }
.st-diag { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 4; opacity: .7; }
.st-line { fill: none; stroke: var(--accent); stroke-width: 1.6; opacity: .55; }
.st-dot { fill: var(--accent); fill-opacity: .85; stroke: var(--bg); stroke-width: 1.5; }
.st-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.st-bars li { display: grid; grid-template-columns: minmax(120px, 34%) 1fr 52px; gap: 12px; align-items: center; font: 13.5px/1.3 var(--font); }
.st-bl small { display: block; font-size: 11.5px; color: var(--faint); }
.st-bt { position: relative; display: block; height: 12px; border-radius: 3px; background: var(--line); }
.st-bt i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.st-bt s, .st-ref s { position: absolute; top: -3px; bottom: -3px; width: 0; border-left: 2px dashed var(--text); opacity: .55; }
.st-bars b { text-align: right; font: 700 14px var(--font); font-variant-numeric: tabular-nums; }
.st-ref { position: relative; margin: 10px 0 0; padding-left: 14px; font-size: 12px; color: var(--muted); }
.st-ref s { left: 2px; top: 1px; bottom: 1px; }
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.st-steps li { display: grid; gap: 6px; }
.st-steps span:first-child { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.st-steps b { font: 700 26px var(--font); font-variant-numeric: tabular-nums; }
.st-steps small { font-size: 12px; color: var(--muted); }
.st-scroll { overflow-x: auto; }
.st-fig table, .st-data table { width: 100%; border-collapse: collapse; font: 13px/1.4 var(--font); font-variant-numeric: tabular-nums; }
.st-fig th, .st-data th { text-align: left; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); padding: 6px 8px 6px 0; white-space: nowrap; }
.st-fig td, .st-data td { border-bottom: 1px solid var(--line); padding: 7px 8px 7px 0; vertical-align: top; }
.st-fig td a { color: var(--text); }
.st-data { margin-top: 10px; font-size: 13px; }
.st-data summary { cursor: pointer; color: var(--muted); text-decoration: underline; }
.study-method { margin-top: 40px; padding-top: 6px; border-top: 1px solid var(--line); }
.st-dl a { font-weight: 600; }
@media (max-width: 600px) {
  .st-fig { padding: 14px 12px 12px; }
  .st-bars li { grid-template-columns: 1fr 46px; }
  .st-bars .st-bt { grid-column: 1 / -1; grid-row: 2; }
}
.st-keys { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.st-keys small { white-space: normal; overflow: visible; text-overflow: clip; }
.study-body .st-fig p.st-cap { font: 13px/1.5 var(--font); margin: 10px 0 0; }
.study-body .st-fig p.st-ref { font: 12px/1.4 var(--font); }
@media (max-width: 760px) { .st-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.st-nw { white-space: nowrap; }
.st-lines { display: block; width: 100%; height: auto; }
.st-series { fill: none; stroke-width: 2.2; }
.st-s0 { stroke: var(--accent); fill: var(--accent); }
.st-s1 { stroke: var(--muted); fill: var(--muted); }
.st-series.st-s0, .st-series.st-s1 { fill: none; }
.st-dash { stroke-dasharray: 5 4; }
.study-body .st-fig p.st-legend { display: flex; gap: 16px; flex-wrap: wrap; margin: 8px 0 0; font: 12.5px var(--font); color: var(--muted); }
.st-key { display: inline-block; width: 18px; height: 0; margin-right: 6px; vertical-align: middle; border-top: 2.5px solid currentColor; }
.st-key.st-s0 { color: var(--accent); } .st-key.st-s1 { color: var(--muted); } .st-key.st-dash { border-top-style: dashed; }
.st-table td:first-child { min-width: 170px; }
.st-editions, .st-old { margin: 18px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: 13.5px/1.5 var(--font); color: var(--muted); }
.st-old { border-color: var(--accent); color: var(--text); }
.st-keys b { white-space: nowrap; }
.st-keys b.st-long { font-size: 20px; }
@media (max-width: 600px) { .st-keys b.st-long { font-size: 16px; } }
.st-card img { width: 100%; max-width: 420px; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--panel-2); }
.st-hero { margin: 18px 0 6px; }
.st-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; display: block; }
/* the chart's dates (owner's wish 2026-11-30), one per UTC midnight; every other one on phones */
.cm-days { position: relative; height: 18px; margin: 2px 12px 8px; }
.cm-day { position: absolute; top: 0; transform: translateX(-50%); font: 11px var(--font); color: var(--faint); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cm-day::before { content: ""; position: absolute; left: 50%; top: -6px; height: 4px; border-left: 1px solid var(--line); }
@media (max-width: 600px) { .cm-day.odd { display: none; } }
.cm-day.left { transform: none; } .cm-day.left::before { left: 0; }
.cm-day.right { transform: translateX(-100%); } .cm-day.right::before { left: 100%; }
.author-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.author-link { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 999px; font: 600 13.5px var(--font); color: var(--text); text-decoration: none; }
.author-link:hover { border-color: var(--muted); }
.author-link svg { flex: none; }
/* the platforms' own colours on their marks */
.al-bluesky svg { color: #1185FE; } .al-mastodon svg { color: #6364FF; }
