/* Publication layer (site.js). The map app keeps its own style.css. */
:root {
  --bg: #faf8f4; --panel: #ffffff; --ink: #1c1b19; --ink2: #55524c; --ink3: #7a766e; --line: #e4dfd5;
  --accent: #b93c0a; --accent-ink: #ffffff; --soft: #f3ede2; --chip: #efe9dd;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111317; --panel: #191c22; --ink: #ece8df; --ink2: #b7b2a7; --ink3: #8f8a80; --line: #2c3038; --accent: #ff8a4c; --accent-ink: #1a0d05; --soft: #1e2128; --chip: #262a33; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 2px; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
main.wrap { padding-block: 18px 48px; min-height: 60vh; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

/* masthead */
.mast { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px 8px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand .dot { width: 26px; height: 26px; border-radius: 50%; flex: none; background: radial-gradient(circle, #fff1d6 0 16%, #ff8a4c 17% 50%, rgba(217, 89, 38, .35) 51%); }
.brand b { font: 700 24px/1.1 var(--serif); letter-spacing: -.01em; display: block; }
.brand small { color: var(--ink3); font-size: 12.5px; display: block; }
.brand:hover { color: inherit; }
.mact { display: flex; gap: 8px; }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 8px 12px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink2); border-bottom: 3px solid transparent; white-space: nowrap; }
.nav a[aria-current], .nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

/* buttons */
.btn { display: inline-block; font: 600 14px/1 var(--sans); padding: 10px 14px; border-radius: 7px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); color: var(--accent-ink); }
.btn.ghost { background: transparent; }
.btn.big { font-size: 16px; padding: 14px 18px; white-space: normal; line-height: 1.3; }
.btn.sm { padding: 6px 10px; font-size: 13px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; }

/* layout */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; align-items: start; }
.side { display: grid; gap: 20px; position: sticky; top: 108px; }
@media (max-width: 920px) { .cols { grid-template-columns: minmax(0, 1fr); gap: 24px; } .side { position: static; } .mact .ghost { display: none; } .brand small { display: none; } }
.strip { margin: 0 0 10px; font-size: 14px; color: var(--ink2); }
.strip b { color: var(--ink); }
.topics { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; align-items: center; }
.topics a { font-size: 13.5px; padding: 5px 11px; border-radius: 999px; background: var(--chip); text-decoration: none; color: var(--ink2); }
.topics a[aria-current], .topics a:hover { background: var(--ink); color: var(--bg); }
.topics span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink3); margin-right: 4px; }
.topics.cities { margin-top: 26px; }
.ph { font: 700 34px/1.15 var(--serif); margin: 6px 0 12px; letter-spacing: -.01em; }
.ph small { font: 400 15px var(--sans); color: var(--ink3); margin-left: 8px; }
.lede { font-size: 17px; color: var(--ink2); max-width: 70ch; margin: 0 0 16px; }
.count, .note { font-size: 13.5px; color: var(--ink3); }
.count { margin: 0 0 6px; }
.empty { color: var(--ink3); font-size: 14.5px; padding: 8px 0; }
.sec { margin-top: 30px; }
.sh { font: 700 13px/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--accent); border-top: 2px solid var(--ink); padding-top: 10px; margin: 0 0 12px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.sh span { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink3); font-size: 13px; display: flex; gap: 12px; }
.sh span a { color: var(--ink2); }
.dayh { font: 600 13px var(--sans); color: var(--ink3); text-transform: uppercase; letter-spacing: .07em; margin: 22px 0 4px; }
.more { font-size: 14px; margin: 10px 0 0; }
.pager { margin: 24px 0 0; }

/* story cards */
.meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 12.5px; color: var(--ink3); }
.meta .tp { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; text-decoration: none; }
.card { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.card:last-child { border-bottom: 0; }
.card .cb { min-width: 0; flex: 1; }
.card h3 { font: 700 19px/1.28 var(--serif); margin: 4px 0 0; }
.card h3 a { text-decoration: none; }
.card p { margin: 6px 0 0; color: var(--ink2); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .th { flex: none; width: 150px; order: 2; }
.card .th img { width: 150px; height: 100px; object-fit: cover; border-radius: 6px; background: var(--soft); }
.card.slim { padding: 10px 0; }
.card.slim h3 { font-size: 16.5px; }
@media (max-width: 560px) { .card .th, .card .th img { width: 96px; height: 72px; } .card h3 { font-size: 17px; } }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.grid .card { flex-direction: column; gap: 8px; }
.grid .card .th { order: 0; width: 100%; }
.grid .card .th img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
@media (max-width: 640px) { .grid { grid-template-columns: minmax(0, 1fr); } .grid .card { flex-direction: row; } .grid .card .th { order: 2; width: 96px; } .grid .card .th img { width: 96px; height: 72px; aspect-ratio: auto; } }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.chip { font-size: 12.5px; padding: 3px 9px; border-radius: 999px; background: var(--chip); text-decoration: none; color: var(--ink2); }
.chip.city { background: transparent; border: 1px solid var(--line); }
.pill { font-size: 11.5px; padding: 2px 7px; border-radius: 999px; background: var(--chip); color: var(--ink2); white-space: nowrap; }

/* lead */
.lead { padding-bottom: 8px; }
.lead .th img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 8px; margin-bottom: 12px; background: var(--soft); }
.lead h1 { font: 700 clamp(26px, 4.2vw, 38px)/1.15 var(--serif); margin: 6px 0 8px; letter-spacing: -.012em; }
.lead h1 a { text-decoration: none; }
.lead p { font-size: 17.5px; color: var(--ink2); margin: 0; max-width: 68ch; }

/* side boxes */
.box { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 16px; }
.box .sh { border-top: 0; padding-top: 0; }
.box.promo p { font-size: 14.5px; color: var(--ink2); margin: 0 0 12px; }
.sub { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.sub b { font: 700 18px/1.25 var(--serif); display: block; }
.sub p { margin: 6px 0 10px; font-size: 14px; color: var(--ink2); }
.subrow { display: flex; gap: 8px; flex-wrap: wrap; }
.subrow input[type=email] { flex: 1 1 170px; min-width: 0; }
input, select, textarea { font: inherit; font-size: 15px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 7px; background: var(--panel); color: var(--ink); max-width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { min-height: 1.2em; margin: 8px 0 0 !important; font-size: 14px; font-weight: 600; }
.msg.err { color: #c0271a; }
.facts { list-style: none; padding: 0; margin: 0; font-size: 14.5px; }
.facts li { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink2); }
.facts li:last-child { border-bottom: 0; }
.facts b { color: var(--ink); }
.facts .src { font-size: 12px; color: var(--ink3); white-space: nowrap; }
.facts.inl { margin: 14px 0; padding: 4px 14px; background: var(--soft); border-radius: 8px; }

/* chain rows */
.chain { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.chain:last-of-type { border-bottom: 0; }
.chain .em { font-size: 22px; width: 30px; text-align: center; flex: none; }
.chain .ct { min-width: 0; flex: 1; }
.chain b { display: block; font-size: 15.5px; }
.chain small { display: block; color: var(--ink3); font-size: 13px; }
.chain .cx { font-size: 12px; color: var(--ink3); text-align: right; flex: none; max-width: 40%; }
.chains { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 4px 16px 8px; }
.chains .dayh:first-child { margin-top: 12px; }
.chainhead { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 2px 16px; margin-bottom: 12px; }

/* filters and forms */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 14px; padding: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.filters input[type=search] { flex: 1 1 200px; min-width: 0; }
.filters select { flex: 0 1 auto; }
.chk { font-size: 14.5px; display: inline-flex; gap: 6px; align-items: center; }
.plain { max-width: 720px; }
.plain h1 { font: 700 34px/1.15 var(--serif); margin: 8px 0 12px; }
.plain h2:not(.sh) { font: 700 21px/1.25 var(--serif); margin: 26px 0 6px; }
.plain .sub { margin: 18px 0; }
.form { display: grid; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.form h2 { margin: 0 !important; }
.form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.form label small { font-weight: 400; color: var(--ink3); }
.form input, .form select, .form textarea { width: 100%; font-weight: 400; }
.issues { padding-left: 18px; }
.issues li { margin-bottom: 6px; }
.issue h2 { margin-top: 26px !important; }

/* story page */
.story h1 { font: 700 clamp(27px, 4.4vw, 40px)/1.14 var(--serif); margin: 8px 0 14px; letter-spacing: -.012em; }
.story figure { margin: 0 0 16px; }
.story figure img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.story figcaption { font-size: 12px; color: var(--ink3); margin-top: 4px; }
.story .brief { font: 400 20px/1.55 var(--serif); margin: 0 0 6px; max-width: 66ch; }
.story .note { margin: 0 0 16px; }
.story .also, .story .share { font-size: 14px; color: var(--ink2); }
.story .share { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* tables */
.tw { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.ft { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 620px; }
.ft th, .ft td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ft tr:last-child td { border-bottom: 0; }
.ft th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink3); white-space: nowrap; }
.ft th button { all: unset; cursor: pointer; }
.ft th button::after { content: " ↕"; opacity: .45; }
.ft th[aria-sort=ascending] button::after { content: " ↑"; opacity: 1; }
.ft th[aria-sort=descending] button::after { content: " ↓"; opacity: 1; }
.ft td:first-child { white-space: nowrap; color: var(--ink3); }

.foot { border-top: 1px solid var(--line); background: var(--panel); padding-block: 22px 30px; font-size: 13.5px; color: var(--ink3); }
.foot p { margin: 0 0 8px; max-width: 90ch; }
.foot b { color: var(--ink2); }

/* round 2: search, profiles, rankings, today, scoreboard, events */
.mact { align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.msearch input { width: 230px; padding: 8px 11px; font-size: 14px; }
@media (max-width: 920px) { .msearch { order: 3; flex: 1 1 100%; } .msearch input { width: 100%; } .mrow { padding-bottom: 4px; } .side { top: 0; } }
.todaybar { display: block; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; text-decoration: none; font-size: 14.5px; color: var(--ink2); }
.todaybar b { color: var(--accent); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; margin-right: 8px; }
.tiles { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0 16px; }
.tile { flex: 1 1 150px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.tile b { display: block; font: 700 26px/1.1 var(--serif); }
.tile span { display: block; font-size: 13.5px; color: var(--ink2); margin-top: 2px; }
.tile small { display: block; font-size: 12px; color: var(--ink3); margin-top: 2px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; font-size: 15px; }
.kv dt { color: var(--ink3); }
.kv dd { margin: 0; }
@media (max-width: 480px) { .kv { grid-template-columns: 1fr; gap: 0; } .kv dd { margin-bottom: 8px; } }
.citylist { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; font-size: 14.5px; }
.citylist span { background: var(--chip); border-radius: 999px; padding: 4px 11px; }
.citylist b { font-weight: 600; color: var(--ink3); font-size: 12.5px; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 92px max-content 1fr; gap: 4px 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tl li:last-child { border-bottom: 0; }
.tl time { font-size: 12.5px; color: var(--ink3); }
.tl small { color: var(--ink3); font-size: 12.5px; }
@media (max-width: 560px) { .tl li { grid-template-columns: max-content 1fr; } .tl li div { grid-column: 1 / -1; } }
.linkgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
@media (max-width: 700px) { .linkgrid { grid-template-columns: minmax(0, 1fr); } }
.linkgrid a { display: inline-block; margin: 0 6px 8px 0; padding: 6px 12px; background: var(--chip); border-radius: 999px; text-decoration: none; font-size: 14.5px; }
.linkgrid a small { color: var(--ink3); font-size: 12px; margin-left: 4px; }
.linkgrid .sh { margin-top: 18px; }
.ft.rank td:first-child { width: 1%; }
.spark { color: var(--accent); display: block; }
.brieflist { padding-left: 0; list-style: none; counter-reset: b; margin: 0 0 24px; }
.brieflist li { counter-increment: b; position: relative; padding: 16px 0 16px 44px; border-bottom: 1px solid var(--line); }
.brieflist li::before { content: counter(b); position: absolute; left: 0; top: 14px; font: 700 30px/1 var(--serif); color: var(--accent); }
.brieflist h2 { font: 700 21px/1.25 var(--serif) !important; margin: 4px 0 6px !important; }
.brieflist h2 a { text-decoration: none; }
.brieflist p { margin: 0; color: var(--ink2); font-size: 16px; }
.chain.ev .cx { max-width: none; }
.prof .ph span { font-size: .8em; }

.ft.sb td:first-child { color: var(--ink); white-space: normal; }
.ft.sb td small { color: var(--ink3); }
@media (max-width: 920px) { .mast { position: static; } .mact { display: contents; } .mrow { flex-wrap: wrap; } .msearch { order: 3; flex: 1 1 100%; } }

/* round 3: expanding this week, status labels, breadcrumbs */
.expand { margin: 0 0 22px; }
.xgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.xcard { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 10px; padding: 12px 14px 14px; }
.xcard h3 { font: 700 22px/1.2 var(--serif); margin: 6px 0 2px; }
.xcard h3 a { text-decoration: none; }
.xcard .op { font-size: 13px; color: var(--ink3); margin: 0 0 6px; }
.xcard p { margin: 0 0 8px; font-size: 15px; color: var(--ink2); }
.xcard .srcs { font-size: 13px; margin: 0; color: var(--ink3); }
.xcard .srcs a { color: var(--ink2); }
.st { font: 700 11px/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; padding: 4px 7px; border-radius: 4px; background: var(--chip); color: var(--ink2); white-space: nowrap; }
.st-opened, .st-raised { background: #1f7a4d; color: #fff; }
.st-planned { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.st-unclear { background: transparent; color: var(--ink3); box-shadow: inset 0 0 0 1.5px var(--line); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; margin: 0 0 8px; color: var(--ink3); }
.crumbs a { color: var(--ink2); }

/* ---- phones (2026-11-11). Keep phone rules together here. ---- */
.nav .sm, .nav .monly { display: none; }
.flt { display: none; }
.flg { display: contents; }            /* desktop: the filter controls sit straight in the .filters row */
@media (max-width: 920px) {
  .nav .lg { display: none; } .nav .sm, .nav .monly { display: inline; }
  .nav { padding-right: 36px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  .nav a { padding: 12px 11px 10px; }
  .mast { padding-top: env(safe-area-inset-top); }
}
@media (max-width: 640px) {
  /* 16px form text stops iOS zooming the page on focus */
  input, select, textarea, .msearch input { font-size: 16px; }
  .wrap { padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
  main.wrap { padding-block: 14px 40px; }
  .mrow { padding-block: 10px 2px; gap: 8px 10px; }
  .brand b { font-size: 21px; }
  .brand .dot { width: 22px; height: 22px; }
  .mact .btn.primary { padding: 12px 14px; }
  .msearch input { padding: 9px 12px; }
  .nav { padding-left: 6px; }
  .ph, .plain h1 { font-size: 27px; }
  .ph small { display: block; margin: 6px 0 0; font-size: 14px; }
  .lede { font-size: 16px; }
  .strip { font-size: 13.5px; }
  .lead p { font-size: 16.5px; }
  .story .brief { font-size: 18px; }
  .foot { padding-bottom: calc(30px + env(safe-area-inset-bottom)); }
  /* tap targets */
  .btn { padding: 13px 14px; }
  .btn.sm { padding: 11px 12px; }
  .chip { padding: 8px 12px; font-size: 13px; }
  .chips { gap: 8px; }
  .topics a { padding: 10px 14px; font-size: 14px; }
  .linkgrid a { padding: 10px 14px; }
  .chain { padding: 12px 0; }
  .pill, .meta .tp, .st { font-size: 12px; }
  .sh span a, .more a, .crumbs a { display: inline-block; padding: 6px 0; }
  .chk { min-height: 40px; }
  /* topic and city bars: one swipeable row instead of three wrapped ones */
  .topics { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .topics::-webkit-scrollbar { display: none; }
  .topics a, .topics span { flex: none; white-space: nowrap; }
  /* expanding this week: swipeable cards, so the lead story is not pushed a screen down */
  .xgrid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .xgrid::-webkit-scrollbar { display: none; }
  .xcard { flex: 0 0 84%; scroll-snap-align: start; }
  .xcard:only-child { flex-basis: 100%; }
  .xcard h3 { font-size: 20px; }
  .xcard p:not(.op):not(.srcs) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .expand { margin-bottom: 16px; }
  .tile { flex: 1 1 130px; }
  /* directory filters */
  .filters { padding: 10px; }
  .filters input[type=search] { flex: 1 1 100%; }
  .flt { display: block; flex: 1 1 100%; text-align: left; background: none; border: 0; padding: 11px 4px; font: 600 14.5px var(--sans); color: var(--ink); cursor: pointer; }
  .flt::before { content: "▸ "; } .flt[aria-expanded=true]::before { content: "▾ "; }
  .flt b { color: var(--accent); font-size: 13px; margin-left: 6px; }
  .flg { display: none; flex: 1 1 100%; grid-template-columns: 1fr 1fr; gap: 8px; align-items: center; padding-bottom: 4px; }
  .filters.open .flg { display: grid; }
  .flg select { width: 100%; min-width: 0; }
  .filters > .btn { flex: 1 1 0; text-align: center; }
  /* tables: one card per row, sort controls as a swipeable strip */
  .ft.stack { min-width: 0; display: block; }
  .ft.stack thead, .ft.stack tbody { display: block; }
  .ft.stack thead tr { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 12px; border-bottom: 1px solid var(--line); }
  .ft.stack thead tr::-webkit-scrollbar { display: none; }
  .ft.stack th { padding: 0; border: 0; flex: none; }
  .ft.stack th.ns { display: none; }
  .ft.stack th button { padding: 10px 12px; border-radius: 999px; background: var(--chip); }
  .ft.stack tbody tr { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .ft.stack tbody tr:last-child { border-bottom: 0; }
  .ft.stack td, .ft.stack td:first-child { display: flex; gap: 10px; padding: 0; border: 0; width: auto; white-space: normal; color: var(--ink); align-items: baseline; }
  .ft.stack td::before { content: attr(data-label); flex: 0 0 104px; color: var(--ink3); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
  .ft.stack td.tt { order: -1; font-size: 17px; font-weight: 600; margin-bottom: 2px; }
  .ft.stack td.tt::before, .ft.stack td.mt { display: none; }
  .ft.stack td.rk { order: -2; color: var(--ink3); font-size: 12.5px; }
  .ft.stack td.rk::before { content: "Rank"; }
  /* tables that stay tables (scoreboard, team): keep the first column in view while swiping */
  .ft:not(.stack) th:first-child, .ft:not(.stack) td:first-child { position: sticky; left: 0; background: var(--panel); box-shadow: 1px 0 0 var(--line); }
  .ft.sb td:first-child { max-width: 128px; }
}

/* v9: analysis articles + suppliers section */
.lede2 { font-size: 15.5px; color: var(--ink2); max-width: 70ch; margin: 0 0 14px; }
.anbar { display: grid; gap: 3px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 12px 16px; margin: 0 0 14px; text-decoration: none; color: var(--ink); }
.anbar b { color: var(--accent); text-transform: uppercase; letter-spacing: .06em; font: 700 12px var(--sans); }
.anbar .t { font: 700 20px/1.25 var(--serif); text-wrap: balance; }
.anbar .d { font-size: 14.5px; color: var(--ink2); }
.anbar:hover .t { text-decoration: underline; }
.anitem { border-top: 1px solid var(--line); padding: 14px 0; }
.anitem h2 { font: 700 23px/1.25 var(--serif) !important; margin: 4px 0 6px !important; text-wrap: balance; }
.anitem h2 a { color: inherit; text-decoration: none; }
.anitem h2 a:hover { text-decoration: underline; }
.anitem p { margin: 0; color: var(--ink2); }
.antext h1 { text-wrap: balance; }
.antext > p:not(.meta):not(.lede):not(.note):not(.share) { font: 400 18px/1.65 var(--serif); margin: 0 0 16px; }
.antext .meta a { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; text-decoration: none; }
.take { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; margin: 18px 0 22px; }
.take b { font: 700 12px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.take ul { margin: 8px 0 0; padding-left: 18px; }
.take li { margin-bottom: 6px; font-size: 15.5px; }
.ansrc { padding-left: 18px; margin: 0 0 14px; }
.ansrc li { margin-bottom: 8px; font-size: 15px; }
.ansrc span { display: block; font-size: 12.5px; color: var(--ink3); }
.antext .sh { margin-top: 30px; }
@media (max-width: 640px) { .anbar .t { font-size: 18px; } .antext > p:not(.meta):not(.lede):not(.note):not(.share) { font-size: 17px; } }

/* v10: researched analysis (footnotes, action block), chain quick facts */
.fn { font: 600 11px var(--sans); line-height: 0; }
.fn a { text-decoration: none; color: var(--accent); padding: 0 1px; }
.fn a:hover { text-decoration: underline; }
.todo { border-top: 2px solid var(--ink); margin: 26px 0 18px; padding-top: 4px; }
.todo h2 { font: 700 21px/1.25 var(--serif) !important; margin: 12px 0 10px !important; }
.todogrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.todogrid > div { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.todogrid b { font: 700 12px var(--sans); text-transform: uppercase; letter-spacing: .07em; color: var(--accent); }
.todogrid ul { margin: 8px 0 0; padding-left: 17px; }
.todogrid li { font-size: 15px; margin-bottom: 6px; }
.take.unk { background: transparent; border-style: dashed; }
ol.ansrc { padding-left: 26px; }
.ansrc li:target { background: var(--soft); outline: 6px solid var(--soft); border-radius: 2px; }
.qf ul { margin: 0; padding-left: 18px; }
.qf li { margin-bottom: 5px; font-size: 15.5px; max-width: 72ch; }
