/* 声音工作者情报站 — "Sound Intelligence" production system.
   B skeleton (fog + graphite, three signal colours, width-as-signal Latin), A's Song/Mincho headline layer,
   C's SOLO BY ROLE. One self-hosted Latin face (Archivo subset, OFL); all CJK comes from system fonts. */
@font-face {
  font-family: "Archivo SB";
  src: url("/assets/fonts/archivo-sb.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
}

/* ---------- tokens: LIGHT (default, primary) ---------- */
:root {
  --bg: #EDEEEB;          /* fog */
  --surface: #F8F8F6;     /* raised paper: hero signal, live offer, on-air slots */
  --sunk: #E2E4E0;        /* wells: unlit meter segments, image slots */
  --rule: #CFD2CC;
  --rule-2: #A9ADA7;
  --ink: #191C1F;         /* graphite */
  --ink-2: #4C5257;
  --ink-3: #72777C;
  --rec: #D8341A;         /* tally red: live, time pressure, limited free */
  --rec-soft: #F7DAD3;
  --vu: #EFA100;          /* VU amber: free, hot meter segments */
  --vu-soft: #FBE9C0;
  --cue: #2B48EE;         /* cue blue: new, playhead, auditioned region, SOLO, focus */
  --cue-soft: #DCE1FD;
  --on-vu: #191C1F;
  --on-ink: #F8F8F6;
  --on-sig: #FFFFFF;
  --img: none;
  --lift: 0 1px 0 rgba(255,255,255,.8) inset, 0 1px 2px rgba(25,28,31,.05), 0 8px 24px -12px rgba(25,28,31,.14);
  --wave: #A3A8AC;
  --dim: .26;             /* SOLO: attenuated, never removed */

  --lat: "Archivo SB";
  --cjk: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Yu Gothic", Meiryo, sans-serif;
  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif CJK SC", "Noto Serif SC", SimSun, serif;
  --mincho: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", "Noto Serif JP", serif;
  --g: 40px;
  color-scheme: light;
}
/* ---------- tokens: NIGHT (a designed variant, not an inversion) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17191B; --surface: #1F2225; --sunk: #121416; --rule: #2E3236; --rule-2: #4A4F54;
    --ink: #E6E7E3; --ink-2: #A9AEB2; --ink-3: #7C8288;
    --rec: #FF5D40; --rec-soft: #3A211C; --vu: #F2B53C; --vu-soft: #3A3020;
    --cue: #8E9CFF; --cue-soft: #242A45; --on-vu: #17191B; --on-ink: #17191B; --on-sig: #121416;
    --img: saturate(.88) brightness(.86);
    --lift: 0 1px 0 rgba(255,255,255,.04) inset, 0 0 0 1px rgba(255,255,255,.03);
    --wave: #565C61; --dim: .3;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #17191B; --surface: #1F2225; --sunk: #121416; --rule: #2E3236; --rule-2: #4A4F54;
  --ink: #E6E7E3; --ink-2: #A9AEB2; --ink-3: #7C8288;
  --rec: #FF5D40; --rec-soft: #3A211C; --vu: #F2B53C; --vu-soft: #3A3020;
  --cue: #8E9CFF; --cue-soft: #242A45; --on-vu: #17191B; --on-ink: #17191B; --on-sig: #121416;
  --img: saturate(.88) brightness(.86);
  --lift: 0 1px 0 rgba(255,255,255,.04) inset, 0 0 0 1px rgba(255,255,255,.03);
  --wave: #565C61; --dim: .3;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.7 var(--lat), var(--cjk);
  font-feature-settings: "kern"; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
[lang="ja"] { font-family: var(--lat), var(--jp); }
a { color: inherit; text-decoration-color: var(--rule-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
img { display: block; max-width: 100%; filter: var(--img); }
h1, h2, h3, h4, p, dl, dd, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cue); outline-offset: 2px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--on-ink); padding: 8px 12px; z-index: 60; }
.skip:focus { top: 8px; }
[hidden] { display: none !important; }

/* type roles */
.song { font-family: var(--lat), var(--serif); font-weight: 700; letter-spacing: .01em; }
.song:lang(ja), [lang="ja"].song, .song [lang="ja"] { font-family: var(--lat), var(--mincho); }
.song-deck { font-family: var(--lat), var(--serif); }
.xw { font-stretch: 125%; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; font-size: 10.5px; line-height: 1.3; }
.xc { font-stretch: 72%; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.mut { color: var(--ink-2); }
.dim { color: var(--ink-3); }
.wrap { padding: 0 var(--g); max-width: 1440px; margin: 0 auto; }

/* ---------- masthead ---------- */
.mast {
  display: flex; align-items: center; gap: 24px; min-height: 58px; padding: 0 var(--g);
  border-bottom: 1px solid var(--rule); background: var(--bg);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; min-width: 0; }
.mark { width: 30px; height: 26px; color: var(--ink); flex: none; }
.wm { display: grid; line-height: 1.05; }
.wm b { font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: .06em; white-space: nowrap; }
.wm small { text-transform: uppercase; font-stretch: 125%; font-size: 8px; letter-spacing: .24em; color: var(--ink-3); margin-top: 4px; font-weight: 600; white-space: nowrap; }
.mast-tag { font-size: 12.5px; color: var(--ink-2); padding-left: 18px; border-left: 1px solid var(--rule); white-space: nowrap; }
.mast-tools { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.clocks { display: flex; gap: 16px; font-size: 13px; }
.clocks span { display: inline-flex; align-items: baseline; gap: 6px; }
.clocks i { font-style: normal; font-stretch: 125%; font-size: 9.5px; letter-spacing: .12em; color: var(--ink-3); font-weight: 600; }
.clocks b { font-stretch: 72%; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 14px; }
.theme { display: inline-flex; border: 1px solid var(--rule-2); border-radius: 3px; padding: 2px; gap: 2px; background: var(--sunk); }
.theme button { border: 0; background: transparent; padding: 3px 10px; border-radius: 2px; cursor: pointer; font-size: 12px; line-height: 1.4; color: var(--ink-2); }
.theme button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--lift); }

/* SOLO key (a console's S button) */
.s-key {
  display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 2px; flex: none;
  font-stretch: 110%; font-weight: 800; font-size: 10px; letter-spacing: 0;
  box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--ink-2); background: var(--surface);
}
.solo-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--rule-2); background: transparent;
  border-radius: 3px; padding: 3px 10px 3px 4px; cursor: pointer; font-size: 12.5px; color: var(--ink-2); white-space: nowrap;
}
.solo-btn:hover { color: var(--ink); border-color: var(--ink-2); }
html[data-solo] .solo-btn { color: var(--ink); border-color: var(--cue); }
html[data-solo] .solo-btn .s-key { background: var(--cue); color: var(--on-sig); box-shadow: none; }
.solo-panel { border-bottom: 1px solid var(--rule); background: var(--surface); padding: 14px var(--g) 16px; }

/* ---------- channel strip nav ---------- */
.stick { position: sticky; top: 0; z-index: 30; }
.chan {
  background: var(--bg);
  border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: repeat(8, minmax(0, 1fr));
  padding: 0 var(--g);
}
.ch {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto;
  column-gap: 10px; padding: 9px 14px 8px; text-decoration: none; border-left: 1px solid var(--rule); min-width: 0;
}
.ch:last-child { border-right: 1px solid var(--rule); }
.ch .nm { grid-column: 1; font-weight: 600; font-size: 15px; line-height: 1.35; }
.ch .zh { grid-column: 1; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.4; }
.ch .ct { grid-column: 2; grid-row: 1 / 3; display: flex; align-items: center; gap: 6px; }
.ch .ct b { font-stretch: 72%; font-variant-numeric: tabular-nums; font-size: 22px; font-weight: 600; line-height: 1; }
.ch .ct b.dash { color: var(--ink-3); font-size: 16px; }
.ch .ct small { font-size: 10.5px; color: var(--ink-3); }
.ch[aria-current="page"] { background: var(--surface); }
.ch[aria-current="page"]::before { content: ""; position: absolute; left: -1px; right: -1px; top: 0; height: 2px; background: var(--ink); }
.ch:hover { background: var(--surface); }
.vm { display: grid; grid-template-rows: repeat(6, 3px); gap: 2px; width: 5px; }
.vm i { background: var(--sunk); border-radius: 1px; }
.vm i.on { background: var(--ink-2); }
.vm i.hot { background: var(--vu); }
.tally { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rec); flex: none; }

/* ---------- stamps (signal states: text first, colour reinforces) ---------- */
.st {
  display: inline-flex; align-items: center; gap: 5px; height: 19px; padding: 0 6px; border-radius: 2px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; line-height: 1; text-decoration: none;
}
.st--live { background: var(--rec); color: #fff; }
.st--live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.st--new { background: var(--cue); color: var(--on-sig); }
.st--ending { box-shadow: inset 0 0 0 1px var(--rec); color: var(--rec); }
.st--soon { box-shadow: inset 0 0 0 1px var(--cue); color: var(--cue); }
.st--arch { box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--ink-3); }
.st--ch { box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--ink-2); }
a.st--ch:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }

/* ---------- pricing markers: shape carries meaning without colour ---------- */
.pm {
  display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 2px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .03em; white-space: nowrap; line-height: 1;
}
.pm--free { background: var(--vu); color: var(--on-vu); }                                  /* solid: no strings */
.pm--oss { background: var(--ink); color: var(--on-ink); }
.pm--tier { box-shadow: inset 0 0 0 1.5px var(--vu); color: var(--ink); }                   /* outline: quota */
.pm--donate { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }                /* outline: voluntary */
.pm--cond { outline: 1.5px dashed var(--ink-2); outline-offset: -1.5px; color: var(--ink); } /* dashed: conditional */
.pm--trial { outline: 1.5px dashed var(--ink-3); outline-offset: -1.5px; color: var(--ink-2); }
.pm--limited { background: var(--rec); color: #fff; }                                        /* red: time-limited */
.pm--give { box-shadow: inset 0 0 0 1.5px var(--rec); color: var(--rec); }
.pm--deal { box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--ink-3); font-weight: 500; } /* grey: not free */

/* ---------- strength meters ---------- */
.sm { display: inline-flex; align-items: center; gap: 7px; }
.sm .led { display: grid; grid-template-columns: repeat(10, 5px); gap: 2px; }
.sm .led i { height: 9px; background: var(--sunk); border-radius: 1px; }
.sm .led i.on { background: var(--ink-2); }
.sm .led i.hot { background: var(--vu); }
.sm b { font-stretch: 72%; font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 600; }
.sm small { font-size: 10.5px; color: var(--ink-3); }
.vl { display: grid; justify-items: start; gap: 6px; padding-top: 4px; }
.vl .led { display: grid; grid-template-rows: repeat(10, 4px); gap: 2px; width: 8px; }
.vl .led { transform: scaleY(-1); } /* fill from the bottom, like a channel meter */
.vl .led i { background: var(--sunk); border-radius: 1px; }
.vl .led i.on { background: var(--ink-2); }
.vl .led i.hot { background: var(--vu); }
.vl b { font-stretch: 72%; font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 600; line-height: 1; }

/* thumbs & waveform tiles (items with no official image) */
.thumb { position: relative; width: 64px; height: 64px; border-radius: 2px; overflow: hidden; background: var(--sunk); display: block; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.wv { display: block; width: 100%; height: 100%; }
.wv path { fill: var(--wave); }
.thumb .wv { position: absolute; inset: 12px 5px 16px; width: calc(100% - 10px); height: calc(100% - 28px); }
.thumb .wv path, .hero-fig .wv path, .feat-fig .wv path { fill: var(--ink-3); }
.thumb .vend { position: absolute; left: 5px; right: 5px; bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 8.5px; font-stretch: 110%; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }

/* slate line + credits */
.slate { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12px; color: var(--ink-2); }
.for { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12px; color: var(--ink-3); align-items: baseline; margin-top: 6px; }
.for-k { font-stretch: 125%; font-size: 9.5px; letter-spacing: .12em; font-weight: 600; color: var(--ink-3); }
.for [data-r] { transition: color .2s, box-shadow .2s; }
.who { font-size: 13px; color: var(--ink-2); }
.lnk { font-size: 13px; text-decoration: none; border-bottom: 1px solid var(--rule-2); padding-bottom: 1px; }
.lnk:hover { border-color: var(--ink); }

/* titles: Latin names in Archivo, Chinese in Song, Japanese in Mincho (A's headline layer) */
.sig-name, .feat-name, .row h3, .it h3, .cur h3, .oa h3, .ev-mini .ttl, .plat h3 { font-family: var(--lat), var(--serif); }
.sig-name:lang(ja), .oa h3:lang(ja), .ev-mini .ttl:lang(ja) { font-family: var(--lat), var(--mincho); }

/* SOLO fade (rules per role are generated inline from roles.py) */
[data-roles] { transition: opacity .25s ease; }

/* ---------- section scaffolding ---------- */
.band { padding-top: 52px; padding-bottom: 52px; border-top: 1px solid var(--rule); }
.band-head { display: flex; align-items: baseline; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 24px; }
.band-head h2 { font-size: 27px; line-height: 1.25; }
.band-head .dim { font-size: 13px; }
.band-head .n { font-size: 15px; color: var(--ink-3); font-weight: 600; }
.band-head .more { margin-left: auto; }
.chip {
  border: 1px solid var(--rule-2); background: transparent; border-radius: 2px; padding: 3px 10px; cursor: pointer;
  font-size: 12.5px; line-height: 1.5; color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.chip b { font-stretch: 72%; font-weight: 600; margin-left: 5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chip:hover { color: var(--ink); border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.chip[aria-pressed="true"] b { color: var(--on-ink); opacity: .7; }

/* ---------- TODAY ---------- */
.today { padding-top: 34px; }
.today-top { display: flex; gap: 8px 20px; align-items: baseline; flex-wrap: wrap; padding-bottom: 22px; }
.today-top .date { font-size: 14px; color: var(--ink-2); }
.today-top .cap { margin-left: auto; font-size: 12.5px; color: var(--ink-2); }
.today-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.statement h1 { font-size: clamp(36px, 4.1vw, 60px); line-height: 1.2; letter-spacing: .02em; }
.statement h1 .ln { display: block; }
.statement h1 .n {
  font-family: var(--lat); font-stretch: 112%; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  display: inline-block; position: relative; padding: 0 .12em;
}
.statement h1 .n::after { content: ""; position: absolute; left: .12em; right: .12em; bottom: .06em; height: .085em; background: var(--vu); }
.statement .dek { margin-top: 18px; font-size: 16px; line-height: 1.8; color: var(--ink-2); max-width: 32em; }

.notes { margin-top: 28px; border-top: 1px solid var(--ink); }
.notes-h { display: flex; gap: 12px; align-items: baseline; padding: 10px 0 4px; flex-wrap: wrap; }
.notes-h .song { font-size: 17px; }
.notes-h small { font-size: 11.5px; color: var(--ink-3); font-weight: 400; }
.notes li { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; line-height: 1.7; }
.notes .nn { color: var(--cue); font-weight: 600; font-size: 14px; }

/* SOLO console */
.console { margin-top: 28px; }
.console-h { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; padding: 9px 0; border-top: 1px solid var(--ink); font-size: 12.5px; color: var(--ink-2); }
.console-h .k { font-weight: 600; color: var(--ink); font-size: 13px; }
.console-h b { color: var(--cue); }
.console-off { margin-left: auto; border: 0; background: transparent; cursor: pointer; font-size: 12.5px; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; padding: 0; }
.console-ch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.rch {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; row-gap: 5px;
  align-items: center; text-align: left; padding: 10px 10px 9px 12px; border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: transparent; cursor: pointer; min-width: 0;
}
.rch:hover { background: var(--surface); }
.rch .rn { grid-row: 1 / 3; font-stretch: 72%; font-variant-numeric: tabular-nums; font-size: 28px; font-weight: 600; line-height: 1; min-width: 1.1ch; color: var(--ink-2); }
.rch .rl { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rch .rm { grid-column: 2; display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; max-width: 96px; }
.rch .rm i { height: 3px; background: var(--sunk); }
.rch .rm i.on { background: var(--ink-3); }
.rch .s-key { grid-column: 3; grid-row: 1 / 3; }
.rch[data-zero] .rn, .rch[data-zero] .rl { color: var(--ink-3); }
.rch[aria-pressed="true"] { background: var(--cue-soft); }
.rch[aria-pressed="true"] .rn { color: var(--cue); }
.rch[aria-pressed="true"] .rm i.on { background: var(--cue); }
.rch[aria-pressed="true"] .s-key { background: var(--cue); color: var(--on-sig); box-shadow: none; }
.console--panel { margin: 0 auto; max-width: 1360px; }
.console--panel .console-ch { grid-template-columns: repeat(9, minmax(0, 1fr)); }

/* hero signal (raised) */
.hero-sig { background: var(--surface); box-shadow: var(--lift); border-radius: 4px; overflow: hidden; }
.hero-fig { position: relative; display: block; aspect-ratio: 2 / 1; overflow: hidden; background: var(--sunk); }
.hero-fig img { width: 100%; height: 100%; object-fit: cover; }
.hero-fig .wv { position: absolute; inset: 18% 6%; width: 88%; height: 64%; }
.figcap { position: absolute; left: 0; bottom: 0; right: 0; display: flex; justify-content: space-between; gap: 12px; padding: 16px 12px 6px; font-size: 10.5px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.5)); }
.hero-sig .body { padding: 20px 26px 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: end; }
.hero-sig .slate, .hero-sig .one, .hero-sig .specs, .hero-sig .for, .hero-sig .foot { grid-column: 1 / -1; }
.sig-name { font-stretch: 94%; font-size: 40px; line-height: 1.08; font-weight: 700; letter-spacing: -.015em; margin-top: 6px; grid-column: 1 / -1; }
.sig-name a, .feat-name a, .row h3 a { text-decoration: none; }
.sig-name a:hover, .feat-name a:hover, .row h3 a:hover { text-decoration: underline; }
.hero-sig .who { grid-column: 1; }
.hero-sig .sm { grid-column: 2; }
.hero-sig .one { font-size: 18px; line-height: 1.7; margin-top: 10px; }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 10px; border-top: 1px solid var(--rule); }
.specs div { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.specs dt { font-size: 11.5px; color: var(--ink-3); }
.specs dd { font-size: 13.5px; font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; }
.hero-sig .foot { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 12px; font-size: 13px; }
.hero-sig .foot .dim { margin-left: auto; font-size: 12px; }

/* share (per item) */
.share-it { border: 0; background: transparent; padding: 2px 0; cursor: pointer; font-size: 12px; color: var(--ink-3); display: inline-flex; gap: 5px; align-items: center; }
.share-it:hover { color: var(--ink); }
.share-it svg { width: 12px; height: 12px; }

/* ---------- TAKE strip (signature) ---------- */
.take { margin-top: 44px; }
.take-read { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--ink); font-size: 13.5px; }
.take-read .now { display: flex; gap: 10px; align-items: baseline; min-width: 0; }
.take-read .now b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.take-read .now .mut { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.take-read .idx { color: var(--ink-2); white-space: nowrap; }
.take-read .legend { font-size: 11.5px; color: var(--ink-3); display: flex; gap: 10px; align-items: baseline; }
.take-read .legend .xw { color: var(--ink-2); }
.take-read button { border: 1px solid var(--rule-2); background: var(--surface); border-radius: 2px; width: 30px; height: 26px; cursor: pointer; display: grid; place-items: center; }
.take-read button svg { width: 10px; height: 10px; }
.track { position: relative; display: flex; height: 104px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--surface); }
.rg { position: relative; flex: var(--w) 1 0; min-width: 0; border-left: 1px solid var(--rule); display: flex; flex-direction: column; text-decoration: none; transition: background .25s, opacity .25s; }
.rg:first-of-type { border-left: 0; }
.rg .lb { display: flex; gap: 6px; padding: 6px 8px 0; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.rg .lb b { font-weight: 600; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; }
.rg .lb .c { font-size: 10px; flex: none; }
.rg .wbox { flex: 1; position: relative; margin: 4px 0 6px; }
.rg .wbox .wv { position: absolute; inset: 0; }
.rg .wv path { transition: fill .25s; }
.rg:hover, .rg.is-hl { background: var(--bg); }
.rg:hover .wv path, .rg.is-hl .wv path { fill: var(--ink-2); }
.rg.is-on { background: var(--cue-soft); }
.rg.is-on .wv path { fill: var(--cue); }
.rg.is-on .lb b { color: var(--ink); }
.playhead { position: absolute; top: -6px; bottom: 0; width: 0; left: 0; pointer-events: none; z-index: 2; transition: left .08s linear; }
.playhead::before { content: ""; position: absolute; left: -.5px; top: 6px; bottom: 0; width: 1px; background: var(--cue); }
.playhead::after { content: ""; position: absolute; left: -5px; top: 0; border: 5px solid transparent; border-top: 7px solid var(--cue); border-bottom: 0; }

/* ---------- 正在播出 / 即将截止 ---------- */
.onair { margin-top: 40px; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0 24px; border-top: 1px solid var(--rule); }
.onair-h { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; padding-top: 16px; align-self: start; }
.oa-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.oa { padding: 14px 20px 16px; border-left: 1px solid var(--rule); display: grid; gap: 6px; align-content: start; }
.oa:first-child { border-left: 0; padding-left: 0; }
.oa .when { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.oa .when .t { font-size: 26px; font-weight: 600; line-height: 1; }
.oa .when .t small { font-size: 12px; font-weight: 500; color: var(--ink-2); margin-left: 3px; }
.oa h3 { font-size: 15.5px; font-weight: 600; line-height: 1.45; }
.oa h3 a { text-decoration: none; }
.oa h3 a:hover { text-decoration: underline; }
.oa p { font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }

/* ---------- signal log ---------- */
.log-band { border-top: 0; padding-top: 44px; }
.log-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; }
.log-solo { max-width: 960px; }
.log-tools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-left: auto; }
.feats { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; padding-bottom: 32px; }
.feat { display: grid; gap: 8px; align-content: start; }
.feat-fig { display: block; position: relative; overflow: hidden; background: var(--sunk); border-radius: 3px; aspect-ratio: 16 / 10; }
.feat.b .feat-fig { aspect-ratio: 16 / 9; }
.feat-fig img { width: 100%; height: 100%; object-fit: cover; }
.feat-fig .wv { position: absolute; inset: 20% 8%; width: 84%; height: 60%; }
.feat .slate { margin-top: 4px; }
.feat-name { font-stretch: 94%; font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.feat .one { font-size: 15px; line-height: 1.7; }
.hl li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.65; color: var(--ink-2); margin-top: 3px; }
.hl li::before { content: ""; position: absolute; left: 0; top: .82em; width: 8px; height: 1px; background: var(--ink-3); }
.feat-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }

.log { border-top: 1px solid var(--ink); }
.log > [data-item]:first-child .row, .log > .row:first-child { border-top: 0; }
.row {
  display: grid; grid-template-columns: 34px 64px minmax(0, 1fr) auto; gap: 18px; padding: 16px 0;
  border-bottom: 1px solid var(--rule); align-items: start; transition: background .2s, opacity .25s;
}
.row.is-hl { background: linear-gradient(90deg, var(--cue-soft), transparent 70%); }
.row h3 { font-size: 17px; font-weight: 600; line-height: 1.35; margin-top: 5px; }
.row .who { font-size: 12.5px; color: var(--ink-3); }
.row .one { font-size: 14px; line-height: 1.65; color: var(--ink-2); margin-top: 3px; }
.row .side { padding-top: 2px; }
.cluster { position: relative; padding-left: 20px; border-bottom: 1px solid var(--rule); }
.cluster::before { content: ""; position: absolute; left: 0; top: 40px; bottom: 18px; width: 8px; border: 1px solid var(--ink-2); border-right: 0; }
.cluster-h { display: flex; gap: 10px; align-items: baseline; padding: 14px 0 2px; font-size: 13px; color: var(--ink-2); }
.cluster-h .xw { color: var(--ink-3); }
.cluster .row:last-child { border-bottom: 0; }
.hidden { display: none !important; }
@media (min-width: 1181px) {
  .log--cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
  .log--cols > [data-item] > .row, .log--cols > .row { height: 100%; }
}

/* rail */
.rail { display: grid; gap: 40px; align-content: start; position: sticky; top: 84px; }
.panel h2 { display: flex; align-items: baseline; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.panel h2 .k { font-size: 15px; font-weight: 600; }
.panel h2 .zh { font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.panel h2 .n { margin-left: auto; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.it { padding: 14px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 6px; }
.it .top { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.it h3 { font-size: 15px; font-weight: 600; line-height: 1.45; }
.it h3 a { text-decoration: none; }
.it h3 a:hover { text-decoration: underline; }
.it p { font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.it .meta { font-size: 11.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 2px 12px; }
.it .meta b { color: var(--ink-2); font-weight: 500; }
.it.live { background: var(--surface); box-shadow: var(--lift); border-radius: 3px; padding: 16px; border: 0; margin-top: 12px; }
.panel .more { padding-top: 12px; }

/* ---------- drama stereo pair ---------- */
.stereo { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.side-ch { padding: 18px 32px 8px 0; min-width: 0; }
.side-ch + .side-ch { padding: 18px 0 8px 32px; border-left: 1px solid var(--rule); }
.ch-h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ch-h .lr { width: 26px; height: 26px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; font-stretch: 110%; font-weight: 800; font-size: 11px; flex: none; }
.ch-h h3 { font-size: 19px; }
.ch-h .hm { display: grid; grid-template-columns: repeat(20, 4px); gap: 2px; margin-left: auto; }
.ch-h .hm i { height: 8px; background: var(--sunk); }
.ch-h .hm i.on { background: var(--ink-2); }
.ch-h .n { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.ev-mini { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--rule); font-size: 14px; align-items: baseline; }
.ev-mini .tc { font-size: 14px; font-weight: 600; }
.ev-mini .ttl { font-weight: 600; text-decoration: none; }
.ev-mini .ttl:hover { text-decoration: underline; }
.dr { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.dr-fig { display: grid; place-items: center; width: 88px; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; background: var(--sunk); font-size: 12px; color: var(--ink-3); text-decoration: none; }
.dr-fig img { width: 100%; height: 100%; object-fit: cover; }
.dr-fig .tt { writing-mode: vertical-rl; font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: .12em; color: var(--ink-2); line-height: 1.1; max-height: 88%; overflow: hidden; }
.dr-fig .tt:lang(ja) { font-family: var(--mincho); }
.dr h3, .dr h4 { font-size: 17px; line-height: 1.4; }
.dr .work { font-family: var(--lat), var(--serif); font-weight: 700; text-decoration: none; }
.dr .work:lang(ja) { font-family: var(--lat), var(--mincho); }
.dr .work:hover { text-decoration: underline; }
.dr .meta { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.dr p { font-size: 13.5px; line-height: 1.65; color: var(--ink-2); margin-top: 6px; }
.basis { font-size: 11px; font-weight: 400; color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--rule-2); border-radius: 2px; padding: 1px 5px; margin-left: 8px; vertical-align: 2px; white-space: nowrap; font-family: var(--lat), var(--cjk); }
.stags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.stag {
  display: inline-flex; align-items: center; gap: 6px; padding: 0 8px 0 6px; height: 22px; font-size: 12px; border-radius: 11px;
  background: var(--sunk); color: var(--ink); white-space: nowrap;
}
.stag::before, .stag-chip::before {
  content: ""; width: 10px; height: 10px; flex: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 2px 40% no-repeat,
              linear-gradient(currentColor, currentColor) 4px 100% / 2px 100% no-repeat,
              linear-gradient(currentColor, currentColor) 8px 100% / 2px 65% no-repeat;
  opacity: .7;
}
.stag-chip { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- directory index ---------- */
.dir-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
.dir-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.dir-h h3 { font-size: 18px; }
.dir-list { columns: 3; column-gap: 28px; border-top: 1px solid var(--ink); padding-top: 4px; }
.dir-list.two { columns: 2; }
.dir-list li { break-inside: avoid; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 13.5px; }
.dir-list li a { text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dir-list li a:hover b { text-decoration: underline; }
.dir-list li b { font-weight: 600; }
.dir-list li span { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.dir-list li em { font-style: normal; color: var(--ink); box-shadow: inset 0 -2px 0 var(--vu); }
.tools-q { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: 8px; }
.tools-q .xw { color: var(--ink-3); }
.tools-q p { font-size: 13.5px; color: var(--ink-2); }
.tools-q .nm { font-stretch: 110%; font-weight: 700; font-size: 17px; color: var(--ink); margin-right: 10px; }

.daynav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 28px; padding-bottom: 44px; font-size: 13.5px; }
.daynav a { text-decoration: none; border-bottom: 1px solid var(--rule-2); }

/* ---------- section-page header ---------- */
.sec-head { padding-top: 40px; padding-bottom: 30px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; }
.sec-head--top { align-items: start; }
.sec-head .xw { color: var(--ink-3); margin-bottom: 10px; }
.sec-head h1 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.18; letter-spacing: .02em; }
.sec-dek { font-size: 15px; color: var(--ink-2); max-width: 36em; margin-top: 14px; line-height: 1.8; }
.sec-dek a { color: var(--ink); }
.readouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.readouts div { padding: 10px 12px 4px 0; }
.readouts dt { font-size: 12px; color: var(--ink-2); order: 2; }
.readouts dd { font-size: 34px; font-weight: 600; line-height: 1.1; }
.readouts dd a { text-decoration: none; box-shadow: inset 0 -3px 0 var(--vu); }
.legend { border-top: 1px solid var(--ink); }
.legend li { display: grid; grid-template-columns: 116px 1fr; gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--rule); font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.legend li .pm { justify-self: start; }
.subnav { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding-top: 12px; padding-bottom: 12px; border-top: 1px solid var(--rule); }

/* filters */
.directory { padding-bottom: 40px; }
.filters { display: grid; gap: 10px; padding: 16px 0 18px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); margin-bottom: 36px; }
.filter-search { display: flex; align-items: center; gap: 10px; max-width: 640px; border: 1px solid var(--rule-2); border-radius: 3px; background: var(--surface); padding: 0 6px 0 10px; }
.filter-search svg { width: 15px; height: 15px; color: var(--ink-3); flex: none; }
.filter-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 0; outline: 0; font-size: 14px; }
.filter-search:focus-within { border-color: var(--cue); box-shadow: 0 0 0 1px var(--cue); }
.filter-reset { border: 0; background: var(--ink); color: var(--on-ink); border-radius: 2px; padding: 3px 9px; cursor: pointer; font-size: 12px; white-space: nowrap; }
.chip-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: start; }
.chip-label { font-size: 12px; color: var(--ink-3); padding-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-select { border: 1px solid var(--rule-2); background: var(--surface); border-radius: 2px; padding: 3px 6px; font-size: 12.5px; color: var(--ink-2); max-width: 200px; }
.dir-group { margin-bottom: 52px; }
.dir-empty, .empty-note { color: var(--ink-3); font-size: 14px; padding: 16px 0; }
.provenance { font-size: 12.5px; color: var(--ink-3); border-top: 1px solid var(--rule); padding-top: 14px; max-width: 60em; }

/* reference table (directory, FREE long-term) */
.idx-table { width: 100%; border-collapse: collapse; font-size: 13.5px; border-top: 1px solid var(--ink); }
.idx-table th { text-align: left; font-weight: 500; font-size: 11.5px; color: var(--ink-3); padding: 8px 14px 8px 0; border-bottom: 1px solid var(--rule-2); white-space: nowrap; }
.idx-table td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.55; }
.idx-table td.pmk { width: 1%; white-space: nowrap; }
.idx-table td.nm { font-weight: 600; min-width: 150px; }
.idx-table td.nm a { text-decoration: none; }
.idx-table td.nm a:hover { text-decoration: underline; }
.idx-table td.nm small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; }
.idx-table td.s { color: var(--ink-2); font-size: 13px; }
.idx-table td.s .price { display: block; margin-top: 4px; font-size: 12px; color: var(--ink); }
.idx-table td.ty { font-size: 12px; color: var(--ink-3); min-width: 120px; }
.idx-table td.ty span { display: inline-block; margin: 0 8px 2px 0; }
.idx-table td.ty .host { font-stretch: 110%; font-weight: 600; letter-spacing: .06em; color: var(--ink-2); font-size: 10.5px; }
.idx-table td.ty .lic-warn { color: var(--rec); }
.idx-table td.ty .lic-cond { color: var(--ink); }
.idx-table td.pl { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.idx-table td.pl small { display: block; font-size: 11.5px; color: var(--ink-3); }
.idx-table td.go { white-space: nowrap; }
.idx-table tbody tr:hover td { background: var(--surface); }

/* FREE: current (time-bound) */
.cur-list { border-top: 1px solid var(--ink); }
.cur { display: grid; grid-template-columns: 130px minmax(0, 1fr) 260px; gap: 24px; padding: 20px 18px; margin: 12px 0; background: var(--surface); box-shadow: var(--lift); border-radius: 3px; align-items: start; }
.cur .when b { display: block; font-size: 34px; font-weight: 600; line-height: 1; }
.cur .when span { font-size: 12px; color: var(--ink-2); }
.cur h3 { font-size: 19px; line-height: 1.4; margin-top: 6px; }
.cur h3 a { text-decoration: none; }
.cur h3 a:hover { text-decoration: underline; }
.cur .one { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.cur .act { display: grid; gap: 6px; justify-items: end; text-align: right; font-size: 12px; }
.standing { border-top: 1px solid var(--ink); columns: 2; column-gap: 48px; }
.stand { break-inside: avoid; }
.stand { border-bottom: 1px solid var(--rule); }
.stand summary { display: flex; gap: 10px; align-items: center; padding: 11px 0; cursor: pointer; list-style: none; flex-wrap: wrap; }
.stand summary::-webkit-details-marker { display: none; }
.stand summary::before { content: "+"; width: 14px; color: var(--ink-3); font-weight: 600; }
.stand[open] summary::before { content: "−"; }
.stand summary b { font-weight: 600; }
.stand summary .mk { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.stand summary .n { margin-left: auto; color: var(--ink-3); font-size: 13px; }
.stand ul { padding: 0 0 12px 24px; display: grid; gap: 8px; }
.stand li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: baseline; font-size: 13.5px; }
.stand li .dim { grid-column: 2; font-size: 12.5px; }
.spot-list { border-top: 1px solid var(--ink); }
.spot-list li { display: grid; grid-template-columns: 88px 220px minmax(0, 1fr) 48px; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 13.5px; }
.spot-list li a { text-decoration: none; }
.spot-list li a:hover b { text-decoration: underline; }
.spot-list .s { color: var(--ink-2); font-size: 13px; }
.offer-history li { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-2); }

/* MUSIC: platforms with licensing facts */
.fact-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 12px; color: var(--ink-3); margin: -8px 0 14px; }
.fv { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 1px 6px; border-radius: 2px; white-space: nowrap; line-height: 1.5; }
.fv-yes { background: var(--ink); color: var(--on-ink); }
.fv-partial { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.fv-no { box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--ink-3); }
.fv-unknown { outline: 1px dashed var(--rule-2); outline-offset: -1px; color: var(--ink-3); font-weight: 500; }
.plat-list { border-top: 1px solid var(--ink); }
.plat { display: grid; grid-template-columns: minmax(150px, 2fr) minmax(0, 4fr) minmax(0, 4fr); gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.plat h3 { font-size: 16px; line-height: 1.4; }
.plat h3 a { text-decoration: none; }
.plat h3 a:hover { text-decoration: underline; }
.plat .dim { font-size: 12px; }
.plat-s p { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.plat-s .tags { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.use-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; font-size: 11.5px; }
.use-row li { display: grid; gap: 3px; justify-items: start; color: var(--ink-3); }
.facts { grid-column: 2 / -1; font-size: 13px; }
.facts summary { cursor: pointer; color: var(--ink-2); font-size: 12.5px; }
.facts dl { margin-top: 8px; border-top: 1px solid var(--rule); }
.facts dl div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--ink-3); font-size: 12px; }
.facts dd span { color: var(--ink-2); }
.facts .src { font-size: 12px; color: var(--ink-2); }
.facts-note { font-size: 12px; color: var(--ink-3); margin-top: 6px; }

/* DRAMA: day-grouped event log */
.day { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; border-top: 1px solid var(--ink); }
.day + .day { border-top-color: var(--rule-2); }
.day > .d { padding-top: 14px; display: grid; align-content: start; gap: 4px; }
.day > .d b { font-size: 28px; font-weight: 600; line-height: 1; }
.day > .d span { font-size: 12px; color: var(--ink-2); }
.day > .d .lnk { font-size: 12px; justify-self: start; }
.day .log { border-top: 0; }
.ev-row { display: grid; grid-template-columns: 76px 52px minmax(0, 1fr) auto; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.ev-row:last-child { border-bottom: 0; }
.ev-row .rgn { font-stretch: 110%; font-weight: 700; font-size: 11px; letter-spacing: .06em; color: var(--ink-2); white-space: nowrap; }
.ev-row h3 { font-size: 16px; line-height: 1.45; font-family: var(--lat), var(--serif); font-weight: 700; }
.ev-row h3 a:lang(ja) { font-family: var(--lat), var(--mincho); }
.ev-row h3 a { text-decoration: none; }
.ev-row h3 a:hover { text-decoration: underline; }
.ev-row h3 small { font-family: var(--lat), var(--cjk); font-weight: 400; color: var(--ink-3); font-size: 12.5px; margin-left: 8px; }
.ev-row p { font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-top: 2px; }
.ev-row .src { font-size: 12px; color: var(--ink-3); white-space: nowrap; text-decoration: none; }
.ev-row .src:hover { color: var(--ink); }
#recommended .stereo .dr { border-top: 1px solid var(--rule); }

/* ---------- article pages (product / resource / work) ---------- */
.art { padding-top: 26px; padding-bottom: 48px; }
.crumbs { display: flex; gap: 8px; font-size: 12.5px; color: var(--ink-3); padding-bottom: 20px; }
.crumbs a { color: var(--ink-2); }
.art-head { border-top: 1px solid var(--ink); padding-top: 18px; max-width: 980px; }
.art-title { font-family: var(--lat), var(--serif); font-stretch: 94%; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; font-weight: 700; letter-spacing: -.012em; margin-top: 12px; overflow-wrap: anywhere; }
.art-title:lang(ja) { font-family: var(--lat), var(--mincho); letter-spacing: .02em; }
.art-head .who { font-size: 15px; margin-top: 8px; }
.deck { font-size: 21px; line-height: 1.65; margin-top: 16px; max-width: 34em; }
.art-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; margin-top: 16px; }
.art-meta .for { margin-top: 0; }
.art-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; margin-top: 36px; align-items: start; }
.art-fig { background: var(--sunk); border-radius: 3px; overflow: hidden; }
.art-fig img { width: 100%; max-height: 620px; object-fit: contain; background: var(--sunk); }
.art-fig--cover img { max-height: 560px; }
.art-fig figcaption { font-size: 11.5px; color: var(--ink-3); padding: 6px 10px; background: var(--bg); }
.block { margin-top: 32px; }
.block-title { font-size: 19px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); margin-bottom: 12px; }
.art .hl li { font-size: 15px; color: var(--ink); margin-top: 8px; }
.why { font-size: 16.5px; line-height: 1.8; }
.sound-note { font-size: 15px; line-height: 1.8; color: var(--ink-2); padding-left: 14px; border-left: 2px solid var(--cue); margin-bottom: 10px; }
.side-note { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; }
.warn-note { margin-top: 24px; padding: 10px 14px; box-shadow: inset 0 0 0 1px var(--rec); color: var(--ink); font-size: 14px; border-radius: 2px; }
.official-block { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.official { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--on-ink); text-decoration: none; padding: 10px 18px; border-radius: 3px; font-weight: 600; font-size: 14.5px; }
.official:hover { background: var(--ink-2); }
.official-block .dim { font-size: 13px; }
.art-side { position: sticky; top: 84px; }
.kvt div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 13.5px; }
.kvt dt { color: var(--ink-3); font-size: 12.5px; }
.kvt dd { overflow-wrap: anywhere; }
.hist li { display: grid; gap: 2px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.hist .dim { font-size: 13px; }

/* full share block */
.share { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; padding-top: 14px; border-top: 1px solid var(--rule); }
.share-label { color: var(--ink-3); margin-right: 4px; }
.share-btn { border: 1px solid var(--rule-2); background: var(--surface); border-radius: 2px; padding: 4px 12px; cursor: pointer; font-size: 13px; text-decoration: none; color: var(--ink); line-height: 1.5; }
.share-btn:hover { border-color: var(--ink); }
.share-qr { flex-basis: 100%; display: flex; gap: 16px; align-items: center; padding: 12px; background: #fff; color: #191C1F; border-radius: 3px; max-width: 360px; box-shadow: var(--lift); }
.share-qr svg { width: 132px; height: 132px; flex: none; }
.share-qr p { font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--on-ink); padding: 8px 16px; border-radius: 3px; font-size: 13.5px; z-index: 70; opacity: 0; pointer-events: none; transition: opacity .2s; }
.toast.on { opacity: 1; }

/* tools */
.tool { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px; padding: 28px 0; border-top: 1px solid var(--ink); }
.tool-sum { font-size: 15px; color: var(--ink-2); margin: 12px 0; max-width: 40em; }
.tool-actions { display: grid; gap: 12px; align-content: start; justify-items: start; }
.tool .art-title { font-size: clamp(30px, 3.4vw, 44px); }
.tools .provenance { margin-top: 20px; }

/* archive */
.arch-month { margin-bottom: 36px; }
.arch-month h2 { font-size: 26px; font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid var(--ink); }
.arch-list li a { display: grid; grid-template-columns: 64px minmax(120px, 3fr) minmax(0, 4fr) auto; gap: 20px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.arch-list li a:hover { background: var(--surface); }
.arch-day { font-size: 26px; font-weight: 600; line-height: 1; }
.arch-day small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 500; margin-top: 3px; }
.arch-take { display: flex; height: 26px; gap: 2px; }
.arch-take i { flex: var(--w) 1 0; background: var(--wave); border-radius: 1px; }
.arch-take i.c-software { background: var(--ink-2); }
.arch-take i.c-music { background: var(--vu); }
.arch-top { font-size: 14.5px; font-weight: 600; }
.arch-counts { display: flex; gap: 12px; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.arch-counts b { color: var(--ink); font-size: 14px; }

/* colophon */
.colophon { border-top: 1px solid var(--ink); margin-top: 20px; }
.colo-in { padding-top: 32px; padding-bottom: 48px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 2fr) minmax(0, 2fr); gap: 40px; font-size: 13px; color: var(--ink-2); }
.colo-brand { display: grid; gap: 12px; max-width: 44em; }
.colo-brand p { line-height: 1.8; }
.colo-links { columns: 2; column-gap: 24px; align-self: start; }
.colo-links li { padding: 3px 0; }
.colo-links a { text-decoration: none; }
.colo-links a:hover { text-decoration: underline; }
.nf { min-height: 50vh; align-items: center; }

/* ---------- motion ---------- */
@keyframes rec-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes tally { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.track.rec .rg .wbox { animation: rec-in .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
.st--live::before, .tally { animation: tally 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- tablet ---------- */
@media (max-width: 1180px) {
  :root { --g: 28px; }
  .mast-tag { display: none; }
  .chan { grid-template-columns: repeat(7, minmax(112px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .today-grid, .log-grid, .dir-grid, .sec-head, .art-grid, .tool { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .rail { grid-template-columns: 1fr 1fr; gap: 32px; position: static; }
  .art-side { position: static; }
  .onair { grid-template-columns: minmax(0, 1fr); }
  .oa-row { grid-template-columns: 1fr 1fr; }
  .oa:nth-child(3) { border-left: 0; padding-left: 0; }
  .oa:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .console--panel .console-ch { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cur { grid-template-columns: 110px minmax(0, 1fr); }
  .cur .act { grid-column: 2; justify-items: start; text-align: left; }
  .plat { grid-template-columns: minmax(140px, 2fr) minmax(0, 5fr); }
  .plat .use-row, .plat .facts { grid-column: 2; }
}

/* ---------- phone: pocket signal terminal ---------- */
@media (max-width: 720px) {
  :root { --g: 16px; }
  html { scroll-padding-top: 64px; }
  body { font-size: 15px; }
  .mast { min-height: 50px; gap: 10px; }
  .mark { width: 24px; height: 21px; }
  .wm b { font-size: 16.5px; letter-spacing: .04em; }
  .wm small { display: none; }
  .mast-tools { gap: 8px; }
  .clocks { display: none; }
  .solo-btn { padding: 3px 4px; }
  .solo-btn [data-solo-label] { display: none; }
  html[data-solo] .solo-btn [data-solo-label] { display: inline; max-width: 5em; overflow: hidden; text-overflow: ellipsis; padding-right: 4px; }
  .theme button { padding: 3px 7px; }
  .solo-panel { padding: 10px var(--g) 12px; }

  .chan { display: flex; overflow-x: auto; padding: 0; scroll-snap-type: x proximity;
    /* fade the right edge so a clipped tab reads as "more to scroll", not as a layout bug */
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
            mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
  .ch { flex: none; grid-template-columns: auto auto; padding: 9px 12px 8px; column-gap: 8px; scroll-snap-align: start; }
  .ch:first-child { border-left: 0; }
  .ch .zh { display: none; }
  .ch .nm { align-self: center; font-size: 14.5px; }
  .ch .ct { grid-row: 1; gap: 5px; }
  .ch .ct b { font-size: 17px; }
  .ch .ct small { display: none; }
  .vm { grid-template-rows: repeat(6, 2px); gap: 1px; width: 4px; }
  .ch[aria-current="page"]::before { top: auto; bottom: -1px; }
  /* pocket order: live things within thumb reach */
  .ch[data-k="free"] { order: 1; } .ch[data-k="drama"] { order: 2; } .ch[data-k="fx"] { order: 3; }
  .ch[data-k="software"] { order: 4; } .ch[data-k="music"] { order: 5; } .ch[data-k="tools"] { order: 7; } .ch[data-k="collab"] { order: 6; }
  .ch[data-k="free"] { border-left: 1px solid var(--rule); }

  /* console → one row of role chips that scrolls inside itself */
  .console { margin-top: 20px; }
  .console-h { padding: 8px 0; }
  .console-ch { display: flex; overflow-x: auto; border: 0; gap: 6px; padding: 2px 0 4px; scrollbar-width: none; }
  .console--panel .console-ch { display: flex; }
  .rch { flex: none; display: inline-flex; gap: 7px; padding: 5px 8px 5px 10px; border: 1px solid var(--rule-2); border-radius: 3px; }
  .rch .rn { font-size: 17px; }
  .rch .rm { display: none; }
  .rch .s-key { width: 16px; height: 16px; font-size: 9px; }

  .today { display: flex; flex-direction: column; padding-top: 20px; }
  .today-grid { display: contents; }
  .today-top { order: 0; gap: 6px 12px; padding-bottom: 12px; }
  .today-top .cap { margin-left: 0; width: 100%; font-size: 12px; }
  .statement { order: 1; }
  .onair { order: 2; }
  .take { order: 3; }
  .hero-sig { order: 4; margin-top: 28px; }
  .statement h1 { font-size: 31px; line-height: 1.28; }
  .statement .dek { font-size: 14.5px; margin-top: 12px; }
  .notes { margin-top: 20px; }
  .notes li { grid-template-columns: 24px 1fr; font-size: 14px; }

  .hero-sig .body { padding: 16px; grid-template-columns: minmax(0, 1fr); }
  .hero-sig .sm { grid-column: 1; }
  .sig-name { font-size: 29px; }
  .hero-sig .one { font-size: 16px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .specs div:nth-child(n+5) { display: none; }
  .hero-sig .foot .dim { margin-left: 0; }

  .take { margin-top: 28px; }
  .take-read { grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; }
  .take-read .legend { grid-column: 1 / -1; }
  .take-read .now { flex-wrap: wrap; gap: 0 8px; }
  .take-read .now .mut { display: none; }
  .track { height: 60px; overflow: hidden; }
  .rg .lb { display: none; }
  .rg .wbox { margin: 6px 0; }

  .onair { margin-top: 26px; border-top: 0; }
  .onair-h { padding-top: 0; }
  .oa-row { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 10px 0 4px; scrollbar-width: none; }
  .oa, .oa:first-child, .oa:nth-child(3) { border: 1px solid var(--rule); border-top: 2px solid var(--ink); padding: 12px 14px 14px; scroll-snap-align: start; background: var(--surface); border-radius: 0 0 3px 3px; }
  .oa-row:has(> .oa:only-child) { grid-auto-columns: 100%; }
  .oa .when .t { font-size: 22px; }

  .band { padding-top: 36px; padding-bottom: 36px; }
  .log-band { padding-top: 32px; }
  .band-head { margin-bottom: 16px; gap: 8px 12px; }
  .band-head h2 { font-size: 22px; }
  .band-head .more { margin-left: 0; }
  .log-tools { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }

  .feats { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-bottom: 24px; }
  .feat-name { font-size: 22px; }
  .feat .feat-fig, .feat.b .feat-fig { aspect-ratio: 16 / 9; }
  .feat .feat-fig--wave, .feat.b .feat-fig--wave { aspect-ratio: 5 / 1; }
  .row { grid-template-columns: 52px minmax(0, 1fr) 24px; gap: 4px 12px; padding: 14px 0; }
  .row .thumb { grid-column: 1; grid-row: 1; width: 52px; height: 52px; }
  .row .main { grid-column: 2; grid-row: 1 / 3; }
  .row .vl { grid-column: 3; grid-row: 1; justify-self: end; }
  .row .vl .led { grid-template-rows: repeat(10, 3px); width: 6px; }
  .row .vl b { font-size: 13px; }
  .row .side { grid-column: 1; grid-row: 2; }
  .row .share-it span { display: none; }
  .row h3 { font-size: 16px; margin-top: 3px; }
  .row .one { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .row .slate .dim { display: none; }
  .cluster { padding-left: 12px; }
  .cluster::before { width: 5px; }
  .rail { grid-template-columns: minmax(0, 1fr); gap: 32px; }

  .stereo { grid-template-columns: minmax(0, 1fr); }
  .side-ch, .side-ch + .side-ch { padding: 16px 0 4px; border-left: 0; }
  .side-ch + .side-ch { border-top: 1px solid var(--ink); }
  .ch-h .hm { grid-template-columns: repeat(20, 3px); }
  .dr { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .dr-fig { width: 64px; }

  .dir-list, .dir-list.two { columns: 1; line-height: 1.9; padding-top: 10px; }
  .dir-list li { display: inline; border: 0; padding: 0; font-size: 13.5px; }
  .dir-list li::after { content: " / "; color: var(--rule-2); }
  .dir-list li span { display: none; }
  .tools-q { grid-template-columns: minmax(0, 1fr); gap: 6px; }

  .sec-head { padding-top: 24px; padding-bottom: 20px; gap: 20px; }
  .sec-head h1 { font-size: 30px; }
  .readouts dd { font-size: 26px; }
  .legend li { grid-template-columns: 104px 1fr; gap: 10px; font-size: 12px; }
  .subnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .subnav > * { flex: none; }
  .filters { margin-bottom: 26px; }
  .chip-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .chip-label { padding-top: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .chips > * { flex: none; }

  .idx-table thead { display: none; }
  .idx-table, .idx-table tbody, .idx-table tr, .idx-table td { display: block; width: 100%; }
  .idx-table tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 10px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
  .idx-table tr[hidden] { display: none; }
  .idx-table td { border: 0; padding: 0; min-width: 0; }
  .idx-table td.nm { grid-column: 1 / -1; min-width: 0; }
  .idx-table td.pmk + td.nm { grid-column: 2; }
  .idx-table td.s, .idx-table td.ty, .idx-table td.pl, .idx-table td.go { grid-column: 1 / -1; }
  .idx-table td.pl { white-space: normal; }
  .idx-table td.pl small { display: inline; margin-left: 8px; }

  .cur { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 14px; }
  .cur .when { display: flex; gap: 8px; align-items: baseline; }
  .cur .when b { font-size: 24px; }
  .cur .act { grid-column: 1; }
  .standing { columns: 1; }
  .spot-list li { grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; }
  .spot-list .s { grid-column: 1 / -1; }
  .spot-list li > .dim { display: none; }
  .plat { grid-template-columns: minmax(0, 1fr); }
  .plat .use-row, .plat .facts { grid-column: 1; }
  .use-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }

  .day { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .day > .d { display: flex; gap: 10px; align-items: baseline; padding: 12px 0 4px; }
  .day > .d b { font-size: 20px; }
  .ev-row { grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; }
  .ev-row .stc { grid-column: 1; grid-row: 1; }
  .ev-row .rgn { grid-column: 2; grid-row: 1; }
  .ev-row .body { grid-column: 1 / -1; }
  .ev-row .src { grid-column: 1 / -1; }
  .ev-row h3 small { display: block; margin-left: 0; }

  .art { padding-top: 16px; }
  .art-title { font-size: 32px; }
  .deck { font-size: 17.5px; }
  .art-grid { margin-top: 24px; gap: 28px; }
  .arch-list li a { grid-template-columns: 48px minmax(0, 1fr); gap: 6px 14px; }
  .arch-take { grid-column: 2; }
  .arch-top, .arch-counts { grid-column: 2; }
  .arch-counts { white-space: normal; flex-wrap: wrap; }
  .colo-in { grid-template-columns: 1fr 1fr; gap: 24px; }
  .colo-brand { grid-column: 1 / -1; }
  .daynav { flex-wrap: wrap; justify-content: center; }
}

/* ---------- collapsible groups (long lists stay curated; filtering shows every match) ---------- */
.directory:not(.is-filtering) [data-collapsible]:not(.expanded) .is-more { display: none; }
.is-filtering .more-row, [data-collapsible].expanded .more-row { display: none; }
.more-row td, .more-day { padding: 10px 0 18px; }
.more-btn { font: inherit; font-size: 13px; color: var(--ink-2); background: none; border: 1px solid var(--rule);
  padding: 7px 12px; cursor: pointer; }
.more-btn:hover { border-color: var(--ink-2); color: var(--ink); }
.idx-table tr.grp th { text-align: left; padding: 22px 0 8px; font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--ink); }
.idx-table tr.grp th span { font-weight: 400; color: var(--ink-3); margin-left: 8px; font-size: 12px; }

/* ---------- phone: filters behind a toggle, legend after the offers ---------- */
.filter-toggle { display: none; }
.legend-m { display: none; }
@media (max-width: 720px) {
  .filters .chip-row { display: none; }
  .filters-open .filters .chip-row { display: flex; }
  .filter-toggle { display: inline-flex; align-items: center; gap: 6px; flex: none; font: inherit; font-size: 13px;
    color: var(--ink); background: var(--bg); border: 1px solid var(--rule); padding: 0 12px; cursor: pointer; }
  .filter-toggle b { font-weight: 600; color: var(--cue); }
  .filter-toggle b:empty { display: none; }
  .sec-head .legend-desk { display: none; }
  .legend-m { display: block; margin: 8px 0 28px; border: 1px solid var(--rule); padding: 10px 12px; }
  .legend-m summary { cursor: pointer; font-size: 13.5px; color: var(--ink-2); }
  .legend-m .legend { margin-top: 10px; }
}

/* ---------- SOLO status bar: always visible while a role is soloed ---------- */
.solo-bar { display: none; }
html[data-solo] .solo-bar { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap;
  padding: 8px var(--g); background: var(--surface); border-bottom: 2px solid var(--cue); font-size: 13.5px; }
.solo-bar .s-key { display: inline-grid; place-items: center; width: 20px; height: 20px; background: var(--cue); color: var(--on-sig);
  font: 700 11px/1 var(--sans); border-radius: 2px; flex: none; }
.solo-bar .rn { display: none; font-weight: 700; color: var(--ink); }
.solo-bar .sb-note { color: var(--ink-2); font-size: 12.5px; }
.solo-bar .sb-x { margin-left: auto; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--bg);
  border: 1px solid var(--ink-2); padding: 5px 12px; cursor: pointer; }
.solo-bar .sb-x:hover { background: var(--ink); color: var(--on-ink); }
@media (max-width: 720px) {
  html[data-solo] .solo-bar { padding: 7px var(--g); gap: 4px 10px; }
  .solo-bar .sb-note { flex-basis: 100%; order: 3; }
  .solo-bar .sb-x { padding: 6px 12px; }
}
.ch .ct small.soon { font-size: 11px; color: var(--ink-3); }

/* ---------- COLLAB wall preview (phase 2 entry) ---------- */
.collab-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.poster { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--rule);
  transition: border-color .2s; }
.poster:hover { border-color: var(--ink-2); }
.poster .p-art { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--rule); }
.poster .p-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster .pb { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.poster .kind { align-self: flex-start; font-size: 11.5px; font-weight: 700; padding: 3px 7px; border: 1.5px solid var(--ink); color: var(--ink); }
.poster .kind-available { border-style: dashed; }
.poster .kind-partner { background: var(--ink); color: var(--on-ink); }
.poster b { font-size: 20px; line-height: 1.3; font-weight: 600; }
.poster .pj { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.poster .pm { font-size: 12px; color: var(--ink-3); }
.collab-note { margin: 12px 0 0; font-size: 12.5px; color: var(--ink-3); }
.collab-lanes { display: grid; gap: 28px; margin-top: 8px; }
.collab-lane { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 28px; align-items: start;
  padding-top: 22px; border-top: 1px solid var(--ink); scroll-margin-top: 110px; }
.collab-lane h2 { margin: 0 0 6px; font-size: 26px; }
.collab-lane ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; line-height: 1.8; }
.collab-lane .status { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--ink-3); border: 1px dashed var(--ink-3); padding: 3px 8px; }
@media (max-width: 720px) {
  .collab-grid { grid-template-columns: repeat(3, minmax(64%, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .collab-grid .poster { scroll-snap-align: start; }
  .collab-lane { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .collab-lane .poster { max-width: 260px; }
}

/* ---------- pan switch: 全部 · L 中国 · R 日本 (real control, big hit areas) ---------- */
.pan { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px; gap: 2px; background: var(--bg); }
.pan-b { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.pan-b b { font-weight: 600; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pan-b .lr { width: 20px; height: 20px; display: grid; place-items: center; border: 1.5px solid currentColor; border-radius: 50%;
  font-size: 10px; font-weight: 800; }
.pan-b:hover { color: var(--ink); }
.pan-b[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.pan-b[aria-pressed="true"] b { color: inherit; opacity: .75; }
.pan-b:focus-visible { outline: 2px solid var(--cue); outline-offset: 2px; }
.band-head .pan { margin-left: 4px; }
.pan-row { margin: 0 0 14px; }
/* one channel selected → the other column goes away and the chosen one takes the full width */
[data-sel-region="CN"] .stereo .side-r, [data-sel-region="JP"] .stereo .side-l { display: none; }
[data-sel-region] .stereo { grid-template-columns: minmax(0, 1fr); }
[data-sel-region] .stereo .side-ch { padding-left: 0; padding-right: 0; border-left: 0; }
@media (max-width: 720px) {
  .band-head .pan, .pan-row .pan { display: flex; width: 100%; margin: 8px 0 0; }
  .pan-b { flex: 1 1 0; justify-content: center; min-height: 44px; padding: 0 8px; }
}
