/* Layout: one phone-first column. Header with engraved logo, team finder, sticky day tabs, then stacked round cards. */
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --soft: #f4f2ef;
  --fg: #141210;
  --muted: #6d6862;
  --line: #e2ded8;
  --ink: #141210;
  --on-ink: #ffffff;
  --wood: #9a6634;
  --walnut: #5a3720;
  --honey: #b98146;
  --win: #141210;
  --sel: #fbf3e6;
  --mark: .16;
  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --grain: url(wood.jpg);
  --logo: url(logo.png);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #111010; --card: #1a1817; --soft: #221f1d; --fg: #f3efe9; --muted: #a59e95; --line: #312d29;
  --ink: #0a0909; --on-ink: #f3efe9; --wood: #c8915a; --walnut: #8a5a34; --honey: #d6a066; --win: #ffffff; --sel: #2a221a; --mark: .22; color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #111010; --card: #1a1817; --soft: #221f1d; --fg: #f3efe9; --muted: #a59e95; --line: #312d29;
  --ink: #0a0909; --on-ink: #f3efe9; --wood: #c8915a; --walnut: #8a5a34; --honey: #d6a066; --win: #ffffff; --sel: #2a221a; --mark: .22; color-scheme: dark }

html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 15px; line-height: 1.45;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 0 48px; }
.wrap { max-width: 760px; margin: 0 auto; display: grid; gap: 22px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--wood); outline-offset: 2px; }

.grain { height: 8px; background: var(--grain) center/cover; border-radius: 1px; }
.hero { position: relative; padding-top: 28px; display: grid; gap: 6px; overflow: hidden; }
.mark { position: absolute; right: -10px; top: 4px; width: 170px; aspect-ratio: 320/377; max-width: 46%;
  background: var(--grain) center/cover; -webkit-mask: var(--logo) center/contain no-repeat; mask: var(--logo) center/contain no-repeat;
  opacity: var(--mark); filter: brightness(.55) contrast(1.3); pointer-events: none; }
:root[data-theme="dark"] .mark { filter: brightness(1.1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mark { filter: brightness(1.1); } }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wood); position: relative; }
h1 { font-family: var(--display); font-size: clamp(34px, 9vw, 48px); line-height: 1.02; font-weight: 700; position: relative; }
.sub { color: var(--muted); font-size: 14px; position: relative; max-width: 30ch; }
.hero .grain { margin-top: 14px; position: relative; }

.finder { display: grid; gap: 10px; }
.finder label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.finder select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--card); font-weight: 600; font-size: 16px; }
.mine { display: grid; gap: 8px; }
.mine .note { font-size: 13px; color: var(--muted); }
.mg { display: grid; grid-template-columns: 104px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.mg.next { border-color: var(--wood); box-shadow: inset 4px 0 0 var(--wood); background: var(--sel); }
.mg .when { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 13px; white-space: nowrap; }
.mg .when small { display: block; color: var(--muted); font-weight: 500; font-size: 11px; letter-spacing: .04em; }
.mg .vs { min-width: 0; }
.mg .vs b { display: block; }
.mg .vs span { color: var(--muted); font-size: 12px; }
.mg .res { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.mg .res small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }

nav.tabs { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--bg); padding-block: 8px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
nav.tabs a { flex: 1 0 auto; text-align: center; text-decoration: none; color: var(--fg); font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
nav.tabs a[aria-current="page"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

.band { background: var(--ink); color: var(--on-ink); padding: 14px 16px 12px; border-radius: 4px 4px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.band h2 { font-size: 22px; letter-spacing: .06em; font-weight: 800; }
.band p { margin: 0; font-size: 14px; opacity: .8; }
.band + .grain { border-radius: 0 0 2px 2px; }
section.view { display: grid; gap: 22px; }

.round { display: grid; gap: 8px; }
.rhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.rhead h3 { font-family: var(--display); font-size: 20px; }
.rhead .t { font-weight: 700; font-variant-numeric: tabular-nums; }
.rhead .cap { font-size: 12px; color: var(--muted); width: 100%; }
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px; }
.g { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px 9px 16px; display: grid; gap: 4px; overflow: hidden; }
.g::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--grain) center/auto 100%; }
.g.A::before { filter: brightness(.55) contrast(1.3); }
.g.B::before { filter: brightness(1.12) saturate(1.1); }
.g.X::before { background: var(--ink); }
.g.mine-hl { border-color: var(--wood); background: var(--sel); }
.g .lab { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.g .lab .p { color: var(--wood); }
.row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.row .n { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.row .n.ph { color: var(--muted); font-style: italic; font-weight: 500; }
.row .s { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; color: var(--muted); }
.row.w .n, .row.w .s { color: var(--win); font-weight: 800; }
.row.l .n { color: var(--muted); }
.row input { width: 56px; padding: 6px 8px; border: 1.5px solid var(--wood); border-radius: 6px; background: var(--bg); text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.rest { font-size: 13px; color: var(--muted); }
.rest b { color: var(--fg); font-weight: 600; }

.pools { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.table { background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; position: relative; }
.table::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--grain) center/auto 100%; }
.table.A::before { filter: brightness(.55) contrast(1.3); }
.table.B::before { filter: brightness(1.12) saturate(1.1); }
.table h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 12px 8px 18px; display: flex; justify-content: space-between; }
.table h3 span { color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: none; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 8px 10px; text-align: right; border-top: 1px solid var(--line); font-size: 14px; }
th { font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .06em; }
th:first-child, td:first-child { padding-left: 18px; }
td.tm, th.tm { text-align: left; }
td.tm b { font-weight: 700; }
td .sd { color: var(--wood); font-family: var(--display); font-weight: 700; margin-right: 6px; }
tr.adv td { background: color-mix(in srgb, var(--sel) 70%, transparent); }

.ranks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px; }
.rk { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }
.rk .no { font-family: var(--display); font-weight: 700; color: var(--wood); font-size: 18px; width: 24px; text-align: center; }
.rk .pp { margin-left: auto; white-space: nowrap; font-size: 11px; color: var(--muted); font-weight: 700; }
.rk input { width: 100%; min-width: 0; padding: 4px 6px; border: 1.5px solid var(--wood); border-radius: 6px; background: var(--bg); font-weight: 600; }
.notes { display: grid; gap: 6px; font-size: 14px; color: var(--muted); padding: 12px 14px; border-left: 6px solid transparent; border-image: var(--grain) 0 0 0 6 stretch; background: var(--soft); }
.notes b { color: var(--fg); }
h2.sec { font-family: var(--display); font-size: 22px; }

.champ { text-align: center; padding: 16px; border: 2px solid var(--wood); border-radius: 10px; background: var(--sel); }
.champ small { display: block; font-size: 11px; letter-spacing: .14em; font-weight: 800; color: var(--wood); }
.champ b { font-family: var(--display); font-size: 28px; }

.foot { font-size: 12px; color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: no-preference) { nav.tabs a { transition: background .15s, color .15s; } }

.status { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #3f8f4f; display: inline-block; }
.status.off i { background: #b5562e; }
.status.wait i { background: var(--muted); }

nav.pages { display: flex; gap: 6px; }
nav.pages a { flex: 1; text-align: center; text-decoration: none; color: var(--fg); font-weight: 700; font-size: 14px; padding: 10px 12px; border-bottom: 3px solid var(--line); }
nav.pages a[aria-current="page"] { border-bottom-color: var(--ink); }
.anchor { scroll-margin-top: 64px; }
.row .n em { font-style: normal; font-family: var(--display); font-weight: 700; color: var(--wood); margin-right: 8px; font-size: 13px; }
tr.zout td { color: var(--muted); }
tr.zin td { background: color-mix(in srgb, var(--sel) 70%, transparent); }
.foot a, .note a { color: var(--wood); font-weight: 700; }

.scroller { overflow-x: auto; margin-inline: -4px; padding: 4px; }
.bracket { --h: 96px; --g: 14px; display: grid; column-gap: 0; row-gap: var(--g); min-width: 640px; }
.bracket.gold { grid-template-columns: minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1fr);
  grid-template-rows: auto repeat(4, var(--h));
  grid-template-areas: "h1 . h2 . h3" "mQF1 c1 mSF1 c3 mFINAL" "mQF2 c1 mSF1 c3 mFINAL" "mQF3 c2 mSF2 c3 mFINAL" "mQF4 c2 mSF2 c3 mFINAL"; }
.bracket.mini { min-width: 440px; grid-template-columns: minmax(0,1fr) 24px minmax(0,1fr);
  grid-template-rows: auto repeat(2, var(--h));
  grid-template-areas: "h1 . h2" "mC1 c1 m5TH" "mC2 c1 m5TH"; }
.bh { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 2px; }
.bh b { color: var(--wood); margin-left: 4px; }
.bm { align-self: center; height: var(--h); min-width: 0; }
.bm .g { height: 100%; box-sizing: border-box; align-content: center; }
.cn { position: relative; }
.cn::before { content: ""; position: absolute; left: 0; right: 50%; top: calc(var(--h) / 2); bottom: calc(var(--h) / 2); border: 2px solid var(--ink); border-left: 0; }
.cn.tall::before { top: calc(var(--h) + var(--g) / 2); bottom: calc(var(--h) + var(--g) / 2); }
.cn::after { content: ""; position: absolute; left: 50%; right: 0; top: 50%; border-top: 2px solid var(--ink); margin-top: -1px; }

.remlink { display: grid; gap: 2px; text-decoration: none; color: var(--fg); padding: 12px 14px; border: 1.5px solid var(--wood); border-radius: 10px; background: var(--sel); }
.remlink span { font-size: 12px; color: var(--wood); font-weight: 700; }
.rems { display: grid; gap: 10px; }
.rem { padding: 12px 14px 12px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); position: relative; overflow: hidden; }
.rem::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--grain) center/auto 100%; }
.rem p { margin: 4px 0 0; color: var(--muted); white-space: pre-line; }
.facts { display: grid; gap: 8px; margin: 0; }
.facts div { display: grid; grid-template-columns: minmax(90px, 30%) 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; white-space: pre-line; overflow-wrap: anywhere; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.mini-h { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 6px; }
.times { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.times li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); font-size: 14px; }
.times b { margin-right: 6px; }
.tb { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.tb li::marker { font-family: var(--display); font-weight: 700; color: var(--wood); }
.map { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.map img { display: block; width: 100%; height: auto; }
ul.rules { list-style: disc; }
ul.rules li::marker { color: var(--wood); }
.notes a { color: var(--wood); font-weight: 700; }

/* site chrome */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--ink); color: var(--on-ink);
  margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); }
body::before { background: var(--ink); z-index: 31; }
.site-in { max-width: 760px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 18px; }
.glyph { width: 26px; height: 30px; background: var(--grain) center/cover; -webkit-mask: var(--logo) center/contain no-repeat; mask: var(--logo) center/contain no-repeat; }
nav.primary { display: flex; gap: 4px; }
nav.primary a { color: var(--on-ink); text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 999px; opacity: .75; }
nav.primary a:hover { opacity: 1; }
nav.primary a[aria-current="page"] { opacity: 1; background: color-mix(in srgb, var(--on-ink) 14%, transparent); }
.grain.thin { height: 5px; border-radius: 0; }
#app { display: block; }
main.wrap { padding-top: 6px; }
.anchor, [id] { scroll-margin-top: 92px; }
.hero { position: relative; padding-top: 22px; display: grid; gap: 6px; overflow: hidden; min-height: 150px; }
.hero h1 { font-size: clamp(38px, 10vw, 56px); }
@media (max-width: 420px) { nav.primary a { padding: 7px 9px; font-size: 13px; } .brand span:last-child { font-size: 16px; } }

.quick { display: flex; gap: 6px; flex-wrap: wrap; }
.quick a { text-decoration: none; color: var(--fg); font-weight: 600; font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.quick a:hover { border-color: var(--wood); }
.minechip { display: flex; gap: 8px; align-items: center; text-decoration: none; color: var(--muted); font-size: 13px; padding: 8px 12px; border: 1px dashed var(--line); border-radius: 10px; }
.minechip.on { color: var(--fg); border: 1.5px solid var(--wood); background: var(--sel); }
.minechip span { margin-left: auto; color: var(--wood); font-weight: 700; }

.daycard { display: grid; gap: 8px; text-decoration: none; color: var(--fg); padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); position: relative; overflow: hidden; }
.daycard::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--grain) center/auto 100%; }
.daycard h3 { font-family: var(--display); font-size: 24px; padding-left: 6px; }
.daycard > span { color: var(--muted); font-size: 13px; padding-left: 6px; margin-top: -6px; }
.daycard em { font-style: normal; font-weight: 700; color: var(--wood); font-size: 13px; padding-left: 6px; }
.daycard .times li { border: 0; padding: 4px 6px; background: transparent; display: grid; grid-template-columns: 78px 1fr; }
.daycard:hover { border-color: var(--wood); }

.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.tcard { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px 10px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); position: relative; overflow: hidden; }
.tcard::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--grain) center/auto 100%; }
.tcard.A::before { filter: brightness(.55) contrast(1.3); }
.tcard.B::before { filter: brightness(1.12) saturate(1.1); }
.tcard .no { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--wood); text-align: center; }
.tcard b { display: block; }
.tcard div span { font-size: 12px; color: var(--muted); }
.tcard .pp { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: .06em; }

.sos { display: grid; gap: 2px; text-decoration: none; padding: 14px 16px; border-radius: 10px; background: #a3261b; color: #fff; }
.sos b { font-size: 18px; }
.sos span { font-size: 13px; opacity: .9; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.contact { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); min-width: 0; }
.contact .role { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact b { font-size: 16px; }
.contact a { color: var(--wood); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact a:hover { text-decoration: underline; }
.info-card { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); display: grid; gap: 6px; align-content: start; }
.info-card h3 { font-family: var(--display); font-size: 19px; }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; }
.info-card a { color: var(--wood); font-weight: 700; }

footer.site-foot { max-width: 760px; margin: 40px auto 0; display: grid; gap: 8px; text-align: center; font-size: 14px; color: var(--muted); }
footer.site-foot .grain { margin-bottom: 12px; }
footer.site-foot b { color: var(--fg); }
footer.site-foot a { color: var(--wood); font-weight: 700; }
footer.site-foot .small { font-size: 12px; }
.contact.primary { border: 1.5px solid var(--wood); background: var(--sel); grid-column: 1 / -1; }

/* mobile polish */
.sub { max-width: none; }
h1, h2, h3, .band h2 { text-wrap: balance; }
p, li, .notes span, .note, .foot, .rem p, .info-card p, .contact span, .sos span, .mg .vs span { text-wrap: pretty; }
@media (max-width: 800px) {
  .bandwrap { margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); }
  .bandwrap .band { border-radius: 0; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .bandwrap .grain { border-radius: 0; }
  .band { flex-direction: column; align-items: flex-start; gap: 2px; }
  .band h2 { font-size: 24px; }
  .band p { font-size: 14px; }
  .quick { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); padding: 2px max(16px, env(safe-area-inset-right, 0px)) 2px max(16px, env(safe-area-inset-left, 0px)); }
  .quick::-webkit-scrollbar { display: none; }
  .quick a { flex: 0 0 auto; }
  .notes { margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
}

/* sticky section nav */
nav.sections { border-top: 1px solid color-mix(in srgb, var(--on-ink) 12%, transparent); }
.sections-in { max-width: 760px; margin: 0 auto; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 8px max(16px, env(safe-area-inset-right, 0px)) 9px max(16px, env(safe-area-inset-left, 0px)); }
.sections-in::-webkit-scrollbar { display: none; }
.sections-in a { flex: 0 0 auto; color: var(--on-ink); text-decoration: none; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--on-ink) 22%, transparent); opacity: .8; }
.sections-in a.on { background: var(--wood); border-color: var(--wood); color: #fff; opacity: 1; }
.site-in { padding-top: 8px; padding-bottom: 6px; }
.anchor, [id] { scroll-margin-top: 112px; }

/* compact pools */
.plists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.plist { position: relative; padding: 10px 10px 8px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); overflow: hidden; }
.plist::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--grain) center/auto 100%; }
.plist.A::before { filter: brightness(.55) contrast(1.3); }
.plist.B::before { filter: brightness(1.12) saturate(1.1); }
.plist h3 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.plist ol { list-style: none; margin: 0; padding: 0; display: grid; }
.plist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; padding: 6px 0; border-top: 1px solid var(--line); align-items: baseline; }
.plist .no { font-family: var(--display); font-weight: 700; color: var(--wood); font-size: 15px; }
.plist b { font-size: 14px; display: block; overflow-wrap: anywhere; }
.plist li span:not(.no) { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; }
@media (max-width: 480px) {
  .site-in { flex-wrap: nowrap; gap: 8px; }
  .brand span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .glyph { width: 30px; height: 34px; }
  nav.primary { gap: 2px; }
  nav.primary a { padding: 8px 12px; font-size: 14px; }
}

/* compact day heroes */
.hero.compact { min-height: 0; padding-top: 18px; padding-bottom: 2px; }
.hero.compact h1 { font-size: clamp(40px, 12vw, 60px); line-height: 1; }
.hero.compact .mark { width: 92px; top: 4px; right: 0; max-width: 30%; }
.keyline { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.45; padding: 12px 14px; border-left: 6px solid transparent; border-image: var(--grain) 0 0 0 6 stretch; background: var(--soft); }

/* announcements */
.teaser { display: grid; gap: 4px; text-decoration: none; color: var(--fg); padding: 14px 16px 14px 20px; border: 1.5px solid var(--wood); border-radius: 10px; background: var(--sel); position: relative; overflow: hidden; }
.teaser::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--grain) center/auto 100%; }
.teaser b { font-size: 17px; }
.teaser p { margin: 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kicker { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wood); }
.teaser .more { font-size: 13px; font-weight: 700; color: var(--wood); }
.post { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--card); overflow: hidden; }
.phead { padding: 16px 16px 14px 22px; position: relative; display: grid; gap: 6px; border-bottom: 1px solid var(--line); }
.phead::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--grain) center/auto 100%; }
.phead h2 { font-family: var(--display); font-size: 22px; line-height: 1.2; }
.phead p { margin: 0; white-space: pre-line; }
.thread { padding: 12px 16px 16px; display: grid; gap: 12px; background: var(--soft); }
.ccount { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
ul.comments, ul.replies { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
ul.replies { margin-top: 10px; padding-left: 14px; border-left: 2px solid var(--line); }
.cm { display: grid; gap: 3px; }
.cm.pending { opacity: .7; }
.chead { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.chead b { font-size: 14px; }
.chead span { font-size: 12px; color: var(--muted); }
.cm p { margin: 0; overflow-wrap: anywhere; }
button.link { justify-self: start; background: none; border: 0; padding: 4px 0; color: var(--wood); font-weight: 700; font-size: 13px; cursor: pointer; }
.cform { display: grid; gap: 8px; }
.cform.reply { margin-top: 8px; }
.cform input, .cform textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--fg); font: inherit; font-size: 16px; }
.cform textarea { resize: vertical; min-height: 64px; }
.cform input:focus, .cform textarea:focus { outline: 2px solid var(--wood); outline-offset: 0; border-color: var(--wood); }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.crow { display: flex; justify-content: flex-end; gap: 14px; align-items: center; }
button.post { background: var(--ink); color: var(--on-ink); border: 0; border-radius: 8px; padding: 10px 18px; font-weight: 700; font-size: 14px; cursor: pointer; min-height: 44px; }
@media (max-width: 480px) { nav.primary a { padding: 8px 9px; font-size: 13.5px; } }
.hero.compact { min-height: 84px; display: flex; align-items: center; padding-top: 10px; padding-bottom: 6px; }
.hero.compact h1 { font-size: clamp(34px, 10vw, 56px); padding-right: 76px; }
.hero.compact .mark { width: 62px; max-width: none; top: 50%; right: 2px; transform: translateY(-46%); }
