/*
  Lianming styles.
  A visitor can pick one of nine looks in Settings. Each look is a set of design tokens
  (html[data-style="..."]) plus a home layout (html[data-layout="..."]): cards, calendar, board,
  spotlight or timeline. Card Wall is the default. Everything uses the same data and sources.
  Status colors always come with a shape cue, so color is never the only signal.
  System fonts only, so visitors are never sent to other sites.
*/
:root {
  /* Default look: Card Wall */
  --bg: #f1f0ec;
  --surface: #ffffff;
  --ink: #1b1b1f;
  --muted: #55555c;
  --line: #ddd9cf;
  --accent: #2b59ff;
  --on-accent: #ffffff;
  --live: #0e7a4b;
  --ending: #a35a00;
  --confirmed: #2b59ff;
  --rumor: #7a3fc4;
  --ended: #6b6f76;
  --r: 1rem;
  --bw: 1px;
  --sh: none;
  --head-bg: var(--surface);
  --font: ui-rounded, "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: ui-rounded, "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --lw: 15rem;
}

/* Calendar First */
html[data-style="calendar"] {
  --bg: #f8fafb; --ink: #17324d; --muted: #4f6a85; --line: #d5dfe7; --accent: #0f5fd0;
  --live: #0b7a4a; --confirmed: #1d5fd0; --ending: #a35a00; --ended: #5f6b78; --r: .75rem;
  --font: "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
}
/* Board */
html[data-style="board"] {
  --bg: #fbfbf8; --ink: #14161a; --muted: #5a5f67; --line: #d8d6cc; --accent: #14161a; --on-accent: #fbfbf8;
  --live: #0d6b3f; --confirmed: #1d4fb8; --ending: #8f4f00; --rumor: #6b34b8; --ended: #5f646c; --r: 0;
  --font: "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
}
/* Spotlight */
html[data-style="spotlight"] {
  --bg: #ffffff; --ink: #0d0d0d; --muted: #4a4a4a; --line: #d9d9d9; --accent: #cf2a26; --on-accent: #ffffff;
  --live: #0d6b3f; --confirmed: #1d4fb8; --ending: #8f4f00; --r: .4rem; --head-bg: var(--bg);
  --font: "Arial Nova", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: "Arial Black", "Segoe UI Black", "Helvetica Neue", Arial, system-ui, sans-serif;
}
/* Sakura (timeline, light) */
html[data-style="sakura"] {
  --bg: #f7f6f9; --ink: #1f1d2b; --muted: #5b5870; --line: #e3e0ea; --accent: #c2255c; --on-accent: #ffffff;
  --live: #1b7f54; --confirmed: #4c5fd5; --ending: #a35a00; --rumor: #7a3fc4; --ended: #6b6a80; --r: 1.1rem;
}
/* Pop Sticker (timeline, bold yellow) */
html[data-style="pop"] {
  --bg: #ffd93d; --surface: #ffffff; --ink: #111111; --muted: #3a3a3a; --line: #111111; --accent: #111111; --on-accent: #ffffff;
  --live: #0a6b33; --confirmed: #1f4fd8; --ending: #8a4b00; --rumor: #6b2fb8; --ended: #444444;
  --r: 1.1rem; --bw: 3px; --sh: 5px 5px 0 #111; --head-bg: var(--bg);
  --font-display: "Segoe UI Black", "Arial Black", "Segoe UI", system-ui, sans-serif;
}
/* Matcha Cafe (timeline, soft green) */
html[data-style="matcha"] {
  --bg: #edf1e4; --ink: #1f3a2b; --muted: #4a6252; --line: #d3dac4; --accent: #b4541a; --on-accent: #ffffff;
  --live: #2f7d4f; --confirmed: #2f6f9f; --ending: #a8461a; --rumor: #7a4aa8; --ended: #5f6f64; --r: 1.5rem;
  --font: ui-rounded, "Hiragino Maru Gothic ProN", "Yu Gothic UI", "Segoe UI", system-ui, sans-serif;
  --font-display: ui-rounded, "Hiragino Maru Gothic ProN", "Yu Gothic UI", "Segoe UI", system-ui, sans-serif;
}
/* Charcoal (timeline, calm dark) */
html[data-style="charcoal"] {
  --bg: #161616; --surface: #1f1f1f; --ink: #ededeb; --muted: #a8a8a4; --line: #2e2e2e; --accent: #6fa8ff; --on-accent: #111111;
  --live: #5fd0a0; --confirmed: #6fa8ff; --ending: #f2b24a; --rumor: #c2a3ff; --ended: #8f8f8b; --r: .9rem; color-scheme: dark;
}
/* Midnight (timeline, the first look, colours cleaned up) */
html[data-style="midnight"] {
  --bg: #0e1420; --surface: #162033; --ink: #e8edf6; --muted: #9aa7bd; --line: #263450; --accent: #7fb2ff; --on-accent: #0e1420;
  --live: #45d19a; --confirmed: #7fb2ff; --ending: #f2b24a; --rumor: #c2a3ff; --ended: #8a96ab; --r: .75rem; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.55 var(--font);
  font-variant-numeric: tabular-nums;
}
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

.wrap {
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
}

/* Header */
.site-head { border-bottom: var(--bw) solid var(--line); background: var(--head-bg); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-block: .85rem; }
.brand { display: inline-flex; align-items: baseline; gap: .35rem; text-decoration: none; font: 800 1.4rem/1 var(--font-display); letter-spacing: -0.035em; }
.brand .x { color: var(--accent); font-weight: 600; }
.brand small { font: 500 .875rem/1 var(--font); letter-spacing: 0; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .9375rem; padding-block: .2rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

main.wrap { padding-block: 2rem 3rem; }
.lay { display: none; }
html[data-layout="cards"] .lay-cards, html[data-layout="calendar"] .lay-calendar, html[data-layout="board"] .lay-board,
html[data-layout="spotlight"] .lay-spotlight, html[data-layout="timeline"] .lay-timeline, html:not([data-layout]) .lay-cards { display: block; }

/* Intro */
.intro h1 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); line-height: 1.1; font-weight: 780; letter-spacing: -0.03em; max-width: 22ch; }
.intro p { margin-top: .75rem; color: var(--muted); max-width: 52ch; }

/* Date strip */
.strip { margin-top: 1.5rem; background: var(--surface); border: var(--bw) solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 1rem 1rem 1.1rem; }
.strip-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; margin-bottom: .75rem; }
.strip-head h2 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }
.legend { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0; padding: 0; list-style: none; font-size: .8125rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: .4rem; }
.sw { display: inline-block; width: .85rem; height: .55rem; border-radius: .2rem; background: var(--c); }
.sw-today { width: 2px; height: .9rem; border-radius: 0; background: var(--accent); }
.tl { position: relative; }
.tl-axis { position: relative; height: 1.35rem; margin-left: var(--lw); font-size: .75rem; color: var(--muted); }
.tl-axis span { position: absolute; top: 0; padding-left: .3rem; white-space: nowrap; }
.tl-body { position: relative; }
.tl-lines { position: absolute; top: 0; bottom: 0; left: var(--lw); right: 0; pointer-events: none; }
.tl-tick { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--line); }
.tl-today { position: absolute; top: -.35rem; bottom: 0; border-left: 2px solid var(--accent); }
.tl-row { position: relative; display: grid; grid-template-columns: var(--lw) 1fr; align-items: center; min-height: 2rem; text-decoration: none; }
.tl-row:hover .tl-label { text-decoration: underline; }
.tl-label { padding-right: .75rem; font-size: .875rem; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-track { position: relative; height: 1.05rem; }
.tl-bar { position: absolute; top: 0; bottom: 0; min-width: .4rem; border-radius: .3rem; background: var(--c); }
.tl-bar.open { -webkit-mask-image: linear-gradient(90deg, #000 65%, transparent); mask-image: linear-gradient(90deg, #000 65%, transparent); }
.tl-empty { padding: .75rem 0; color: var(--muted); font-size: .9375rem; }

.st-live { --c: var(--live); }
.st-ending { --c: var(--ending); }
.st-confirmed, .st-announced { --c: var(--confirmed); }
.st-delayed { --c: var(--ending); }
.st-rumor { --c: var(--rumor); }
.st-ended, .st-cancelled { --c: var(--ended); }

/* Status chip: color plus a shape cue, so color is never the only signal */
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .12rem .6rem; border-radius: 999px; font-size: .8125rem; font-weight: 650; line-height: 1.5; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); white-space: nowrap; }
.chip::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--c); }
.chip.st-rumor { border: 1px dashed var(--c); }
.chip.st-rumor::before { background: transparent; border: 1.5px solid var(--c); }
.chip.st-ended::before, .chip.st-cancelled::before { border-radius: 1px; }
.chip.st-ending::before { border-radius: 1px; transform: rotate(45deg); }

/* Filters (shown only when JavaScript runs) */
.filters { display: none; margin-top: 2rem; }
.js .filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.filters input[type="search"] { font: inherit; padding: .45rem .75rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--surface); color: var(--ink); min-width: 0; flex: 1 1 12rem; max-width: 20rem; }
.fchip { font: inherit; font-size: .875rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.fchip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.fchip:hover { border-color: var(--muted); }

/* Feed */
.group { margin-top: 2.25rem; }
.group > h2 { font-size: 1.25rem; font-weight: 740; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: .6rem; }
.group > h2 .n { font: 500 .9375rem var(--font); color: var(--muted); }
.group > p.hint { margin-top: .25rem; color: var(--muted); font-size: .9375rem; }
.list { margin: .75rem 0 0; padding: 0; list-style: none; }
.item { position: relative; display: grid; grid-template-columns: 10.5rem minmax(0, 1fr) auto; gap: .25rem 1.5rem; padding: 1rem .5rem; border-top: 1px solid var(--line); }
.item:last-child { border-bottom: 1px solid var(--line); }
.item:hover { background: color-mix(in srgb, var(--surface) 70%, transparent); }
.item[hidden] { display: none; }
.when strong { display: block; font-weight: 700; font-size: .9375rem; }
.when span { color: var(--muted); font-size: .875rem; }
.main h3 { font-size: 1.125rem; font-weight: 720; letter-spacing: -0.015em; line-height: 1.3; }
.main h3 a { text-decoration: none; }
.main h3 a::after { content: ""; position: absolute; inset: 0; }
.main .parties { color: var(--muted); font-size: .875rem; margin-top: .1rem; }
.main .blurb { margin-top: .4rem; color: var(--ink); font-size: .9375rem; max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; font-size: .8125rem; color: var(--muted); text-align: right; }
.empty { padding: 1.25rem 0; color: var(--muted); }

/* Collab page */
.crumb { font-size: .9375rem; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; }
.hero { margin-top: 1rem; }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.12; font-weight: 780; letter-spacing: -0.03em; margin-top: .6rem; max-width: 24ch; }
.hero .parties { color: var(--muted); margin-top: .5rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1rem 2rem; margin: 1.75rem 0 0; padding: 1rem 0; border-block: 1px solid var(--line); }
.facts div { min-width: 0; }
.facts dt { font-size: .8125rem; color: var(--muted); }
.facts dd { margin: .1rem 0 0; font-weight: 650; }
.facts dd small { display: block; font-weight: 400; color: var(--muted); font-size: .875rem; }
.prose { margin-top: 1.75rem; max-width: 62ch; }
.prose p { font-size: 1.0625rem; }
.block { margin-top: 2rem; max-width: 62ch; }
.block h2 { font-size: 1.125rem; font-weight: 740; letter-spacing: -0.015em; margin-bottom: .6rem; }
.dl { margin: 0; display: grid; gap: .6rem; }
.dl div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .25rem 1rem; }
.dl dt { color: var(--muted); font-size: .9375rem; }
.dl dd { margin: 0; }
.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.sources li { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.sources a { font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.badge { font-size: .75rem; font-weight: 650; padding: .1rem .5rem; border-radius: .3rem; border: 1px solid var(--line); color: var(--muted); }
.badge.official { border-color: var(--live); color: var(--live); }
.note { margin-top: .75rem; padding: .75rem 1rem; border-left: 3px solid var(--ending); background: color-mix(in srgb, var(--ending) 9%, transparent); font-size: .9375rem; }
.small { color: var(--muted); font-size: .875rem; margin-top: .75rem; }
.history { margin: 0; padding: 0; list-style: none; display: grid; gap: .35rem; font-size: .9375rem; }
.history time { color: var(--muted); margin-right: .6rem; }

/* Agenda */
.day { margin-top: 1.5rem; }
.day h3 { font-size: 1rem; font-weight: 700; padding-bottom: .35rem; border-bottom: 1px solid var(--line); }
.day ul { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .35rem; }
.day li { display: flex; gap: .75rem; align-items: baseline; }
.day .what { min-width: 4.5rem; font-size: .8125rem; font-weight: 650; color: var(--muted); }
.day a { text-underline-offset: 3px; }

/* About */
.page-h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 780; letter-spacing: -0.03em; line-height: 1.12; }
.rules { margin: .5rem 0 0; padding-left: 1.2rem; display: grid; gap: .5rem; max-width: 62ch; }
.statuses { display: grid; gap: .75rem; margin: 0; }
.statuses div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: .25rem 1rem; align-items: start; }
.statuses dd { margin: 0; color: var(--ink); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.site-foot .wrap { padding-block: 1.25rem 2rem; display: grid; gap: .35rem; }
.site-foot a { color: var(--muted); }

@media (max-width: 44rem) {
  :root { --lw: 0rem; }
  .tl-row { grid-template-columns: 1fr; padding-block: .3rem; min-height: 0; }
  .tl-label { padding-right: 0; margin-bottom: .2rem; }
  .tl-axis span:nth-child(even) { display: none; }
  .item { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .meta { flex-direction: row; flex-wrap: wrap; align-items: center; text-align: left; }
  .meta { order: -1; }
  .dl div, .statuses div { grid-template-columns: minmax(0, 1fr); }
  main.wrap { padding-block: 1.5rem 2.5rem; }
}
/* Settings menu (needs JavaScript, so it is hidden without it) */
.settings { position: relative; display: none; }
.js .settings { display: block; }
.settings summary { cursor: pointer; list-style: none; font-weight: 600; font-size: .9375rem; color: var(--ink); padding: .25rem .8rem; border: var(--bw) solid var(--line); border-radius: 999px; background: var(--surface); }
.settings summary::-webkit-details-marker { display: none; }
.settings[open] summary { border-color: var(--ink); }
.settings .panel { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 30; width: min(21rem, calc(100vw - 2rem)); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: .75rem; padding: 1rem; box-shadow: 0 12px 32px rgba(0, 0, 0, .22); }
.settings .panel h2 { font-size: 1.0625rem; font-weight: 740; }
.settings .panel ul { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .4rem; }
.settings .panel button { width: 100%; text-align: left; font: inherit; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: .5rem; padding: .5rem .75rem; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
.settings .panel button:hover { border-color: var(--muted); }
.settings .panel button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.settings .panel button[aria-pressed="true"] .sty-name::after { content: " \2713"; }
.sty-name { font-weight: 650; }
.sty-desc { font-size: .8125rem; color: var(--muted); }

/* Layout: Card Wall (poster cards). Each card's top block shows the start date. */
.cgrid { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.25rem; }
.ccard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: var(--bw) solid var(--line); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.ccard[hidden] { display: none; }
.cc-date { display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; min-height: 5.25rem; padding: 1rem 1.1rem; background: color-mix(in srgb, var(--c) 20%, var(--surface)); color: color-mix(in srgb, var(--c) 72%, var(--ink)); }
.cc-day { font: 800 2.6rem/1 var(--font-display); letter-spacing: -0.03em; }
.cc-mon { font-weight: 650; margin-left: .4rem; }
.cc-date .chip { background: var(--surface); color: var(--c); }
.cc-body { display: flex; flex-direction: column; gap: .25rem; flex-grow: 1; padding: 1rem 1.1rem 1.1rem; }
.cc-body h3 { font-size: 1.15rem; font-weight: 720; letter-spacing: -0.015em; line-height: 1.25; }
.cc-body h3 a { text-decoration: none; }
.cc-body h3 a::after { content: ""; position: absolute; inset: 0; }
.cc-body .parties { color: var(--muted); font-size: .9rem; }
.cc-body .small { margin-top: 0; }
.cc-foot { margin-top: auto; padding-top: .75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; font-size: .8125rem; color: var(--muted); }

/* Layout: Calendar First */
.cal { margin-top: 1.75rem; }
.cal h3 { font-size: 1.5rem; font-weight: 780; letter-spacing: -0.02em; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; margin-top: .75rem; background: var(--line); border: var(--bw) solid var(--line); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; }
.cal-wd { padding: .4rem .6rem; background: color-mix(in srgb, var(--line) 45%, var(--surface)); color: var(--muted); font-size: .75rem; font-weight: 700; }
.cal-cell { min-height: 6.5rem; min-width: 0; padding: .4rem; display: flex; flex-direction: column; gap: .25rem; background: var(--surface); }
.cal-cell.blank { background: color-mix(in srgb, var(--bg) 70%, var(--surface)); }
.cal-cell.today { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.cal-n { font-size: .8125rem; font-weight: 600; }
.cal-cell.today .cal-n { font-weight: 800; color: var(--accent); }
.cal-ev { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; padding: .15rem .35rem; border-radius: .3rem; font-size: .6875rem; font-weight: 700; line-height: 1.25; text-decoration: none; color: color-mix(in srgb, var(--c) 72%, var(--ink)); background: color-mix(in srgb, var(--c) 16%, var(--surface)); }
.cal-ev:hover { text-decoration: underline; }
.cal-ev.ends { border: 1px dashed var(--c); }
.cal-narrow { display: none; margin-top: 1.5rem; }

/* Layout: Board (dense table) */
.board { list-style: none; margin: .75rem 0 0; padding: 0; border-top: 2px solid var(--ink); }
.brow { position: relative; display: grid; grid-template-columns: 8rem minmax(0, 1fr) 5.5rem 8rem 10.5rem 6.5rem; gap: .25rem 1rem; align-items: center; padding: .7rem .5rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
.brow[hidden] { display: none; }
.brow:not(.brow-head):hover { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.brow-head { font: 600 .75rem var(--font-mono); text-transform: uppercase; color: var(--muted); background: color-mix(in srgb, var(--line) 35%, var(--bg)); }
.brow .mono { font-family: var(--font-mono); font-size: .8125rem; }
.b-title { min-width: 0; font-weight: 650; }
.b-title a { text-decoration: none; }
.b-title a::after { content: ""; position: absolute; inset: 0; }
.b-title small { display: block; font-weight: 400; color: var(--muted); font-size: .8125rem; }

/* Layout: Spotlight (magazine) */
.spot { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; align-items: stretch; }
.spot-feat { flex: 1.6 1 22rem; min-width: 0; min-height: 22rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding: 2rem; border-radius: var(--r); background: var(--accent); color: var(--on-accent); }
.spot-kicker { font-weight: 700; font-size: .9375rem; }
.spot-feat h2 { font-size: clamp(2.1rem, 6vw, 4.2rem); line-height: .98; font-weight: 900; letter-spacing: -0.03em; }
.spot-feat h2 a { text-decoration: none; }
.spot-sum { margin-top: 1rem; max-width: 46ch; font-size: 1.0625rem; }
.spot-foot { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; font-weight: 700; font-size: .9375rem; }
.spot-feat .badge { color: inherit; border-color: currentColor; }
.spot-next { flex: 1 1 16rem; min-width: 0; }
.spot-next h2 { font-size: .875rem; font-weight: 800; padding-bottom: .5rem; border-bottom: 2px solid var(--ink); }
.spot-next ol { list-style: none; margin: 0; padding: 0; }
.spot-next li { display: flex; gap: 1rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--line); font-weight: 700; line-height: 1.3; }
.spot-next a { text-underline-offset: 3px; }
.sn-date { min-width: 4.6rem; font: 900 1.15rem var(--font-display); color: var(--accent); }

/* Per-look touches beyond color */
html[data-style="spotlight"] .site-head { border-bottom: 4px solid var(--ink); }
html[data-style="spotlight"] .intro h1, html[data-style="spotlight"] .page-h1 { font-weight: 900; }
html[data-style="pop"] .brand { background: var(--surface); border: var(--bw) solid var(--ink); border-radius: .9rem; padding: .3rem .8rem; box-shadow: 4px 4px 0 var(--ink); }
html[data-style="pop"] .chip { border: 2px solid var(--ink); color: var(--ink); background: color-mix(in srgb, var(--c) 35%, var(--surface)); }
html[data-style="pop"] .badge { border-color: var(--ink); color: var(--ink); }
html[data-style="pop"] .item { background: var(--surface); border: var(--bw) solid var(--ink); border-radius: var(--r); box-shadow: 4px 4px 0 var(--ink); margin-bottom: 1rem; padding: 1rem 1.25rem; }
html[data-style="pop"] .item:last-child { border-bottom: var(--bw) solid var(--ink); }
html[data-style="pop"] .brow { background: var(--surface); }
html[data-style="pop"] .tl-tick { border-color: #e4e4e4; }
html[data-style="board"] .site-head { border-bottom: 2px solid var(--ink); }
html[data-style="board"] .intro h1 { font-weight: 650; }
html[data-style="matcha"] .item { background: var(--surface); border: 0; border-radius: var(--r); margin-bottom: .75rem; padding: 1rem 1.5rem; }
html[data-style="matcha"] .item:last-child { border-bottom: 0; }

@media (max-width: 62rem) {
  .brow { grid-template-columns: 7rem minmax(0, 1fr) 8rem 9rem; }
  .brow > :nth-child(3), .brow > :nth-child(4) { display: none; }
}
@media (max-width: 44rem) {
  .cal-wide { display: none; }
  .cal-narrow { display: block; }
  .brow { grid-template-columns: minmax(0, 1fr); }
  .brow > :nth-child(3), .brow > :nth-child(4) { display: block; }
  .brow-head { display: none; }
  .spot-feat { padding: 1.5rem; min-height: 18rem; }
  .settings .panel { position: fixed; left: 1rem; right: 1rem; top: auto; width: auto; margin-top: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
