/* tv-seek.com 全ページ共通のスタイル（手書き）。正本: docs/DESIGN.md
   夜明け前の地球。深い藍の夜空に、映像のサムネイルが灯る。押すところは朝焼けのコーラル、「いま」の印は電波の金。
   地図の光る国は、海の青から若草へ（局が多い国ほど明るい）。案内役ぱらぼの線（藍・まるい）に合わせて、角はまるく、影はぼかさない。
   局の札の10色は札と点にだけ使う（どれも地のカード #18224d の上で 4.5:1 以上。docs/DESIGN.md）。
   ⚠ プレーヤーの幕（.vp__curtain）は上に「覆う」だけ（pointer-events:none）。動画要素を visibility / display で隠さない（iPhone で自動再生が止まる・LSN-0239） */
:root {
  --bg: #0d1330; --bg2: #111a3d; --card: #18224d; --card2: #1f2b5c; --line: #2c3a73; --line2: #43548f;
  --ink: #f3f1ea; --ink2: #c9cfe6; --ink3: #a2abcf;
  --coral: #ff8a5b; --coral2: #ff7444; --coral-soft: rgba(255, 138, 91, .16);
  --gold: #ffc93c; --gold-soft: rgba(255, 201, 60, .14); --sea: #2f7fd1; --grass: #8fd16a; --night: #070b1f;
  --tone-p: #7cc4ff; --tone-i: #ffc93c; --tone-n: #ff9b7a; --tone-c: #f5a3d0; --tone-l: #8fd16a;
  --tone-r: #d2c0ff; --tone-g: #7fe0d2; --tone-s: #ffb86b; --tone-w: #a7b4ff; --tone-u: #c9cfe6;
  --r: 18px; --r2: 13px; --pad: clamp(14px, 2.4vw, 28px); --max: 1380px; --hd: 70px;
  --font: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  --font-d: "M PLUS Rounded 1c", "Zen Kaku Gothic New", "Hiragino Maru Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
  --stars: radial-gradient(1.2px 1.2px at 12% 22%, #fff9 50%, transparent 51%), radial-gradient(1px 1px at 68% 14%, #fff8 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 84% 62%, #ffe9a8aa 50%, transparent 51%), radial-gradient(1px 1px at 33% 78%, #fff7 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 52% 44%, #fff6 50%, transparent 51%), radial-gradient(1px 1px at 92% 30%, #fff8 50%, transparent 51%);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16px/1.7 var(--font); overflow-wrap: anywhere; }
html[lang="ja"] [data-l="en"], html[lang="en"] [data-l="ja"] { display: none !important; }
img { max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffdf85; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--night); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0; font-weight: 700; }

/* ── ヘッダー ── */
.hd { position: sticky; top: 0; z-index: 40; background: rgba(13, 19, 48, .94); backdrop-filter: blur(8px); border-bottom: 1.5px solid var(--line); }
.hd__in { display: flex; align-items: center; gap: 14px; min-height: var(--hd); padding: 8px var(--pad); max-width: calc(var(--max) + 40px); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 46px; height: 46px; flex: none; }
.brand__name { font: 800 24px/1 var(--font-d); letter-spacing: .01em; color: var(--ink); white-space: nowrap; }
.brand__name b { color: var(--coral); font-weight: 800; }
.brand__tag { font-size: 12.5px; font-weight: 700; color: var(--ink3); white-space: nowrap; padding-left: 10px; border-left: 1.5px solid var(--line2); }
.search { flex: 1 1 320px; max-width: 520px; margin-left: auto; }
.search input { width: 100%; height: 42px; padding: 0 16px 0 40px; border-radius: 999px; border: 1.5px solid var(--line2); background: var(--card) no-repeat 14px 50% / 17px
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a2abcf' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E"); color: var(--ink); }
.search input::placeholder { color: var(--ink3); }
.search input:focus { outline: none; border-color: var(--gold); background-color: var(--card2); }
.hd__nav { display: flex; align-items: center; gap: 4px 16px; margin-left: auto; font-size: 14.5px; white-space: nowrap; }
.search + .hd__nav { margin-left: 0; }
.hd__nav a { color: var(--ink); text-decoration: none; font-weight: 700; }
.hd__nav a:hover { color: var(--gold); }
.langsw { display: inline-flex; border: 1.5px solid var(--line2); border-radius: 999px; overflow: hidden; flex: none; background: var(--card); }
.langsw button { border: 0; background: transparent; padding: 4px 12px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.langsw button[aria-pressed="true"] { background: var(--gold); color: var(--night); }

/* ── 世界の時刻の帯 ── */
.clocks { display: flex; align-items: center; gap: 6px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; }
.clocks::-webkit-scrollbar { display: none; }
.clocks__t { flex: none; font-size: 12.5px; font-weight: 700; color: var(--ink3); margin-right: 4px; }
.clock { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 6px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-size: 13px; }
.clock:hover { border-color: var(--gold); color: var(--ink); }
.clock__sun { width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--line2); box-shadow: inset -5px -2px 0 0 var(--card); }
.clock[data-day="1"] .clock__sun { background: var(--gold); box-shadow: 0 0 0 3px rgba(255, 201, 60, .22); }
.clock__c { font-weight: 700; }
.clock__t { font: 800 14px/1 var(--font-d); color: var(--ink2); font-variant-numeric: tabular-nums; }

/* ── 共通の部品 ── */
main { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 44px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 5px 15px; border-radius: 12px; border: 1.5px solid var(--line2);
  background: var(--card2); color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; box-shadow: 0 3px 0 var(--night); transition: transform .08s, box-shadow .08s, background .12s; }
.btn:hover { background: #283670; color: var(--ink); border-color: var(--ink3); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--night); }
.btn--main { background: var(--coral); border-color: var(--coral); color: var(--night); }      /* コーラルの塗りには濃い藍の字（7.6:1）。白い字は載せない */
.btn--main:hover { background: #ffa47e; border-color: #ffa47e; color: var(--night); }
.btn--glow { background: var(--gold); border-color: var(--gold); color: var(--night); }
.btn--glow:hover { background: #ffd866; color: var(--night); }
.btn--icon { width: 42px; padding: 0; font-size: 19px; }
.btn--icon[aria-pressed="true"] { background: var(--gold-soft); color: var(--gold); border-color: var(--gold); }
.btn--more { display: flex; margin: 20px auto 0; min-width: 220px; }
#act-trip { border-color: var(--sea); background: rgba(47, 127, 209, .22); }
#act-trip span::before { content: "🌏 "; }
.sec { margin-top: 48px; }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.sec__head h2 { font: 800 clamp(21px, 2.4vw, 27px)/1.3 var(--font-d); color: var(--ink); padding-left: 28px; position: relative; }
.sec__head h2::before { content: ""; position: absolute; left: 0; top: .22em; width: 18px; height: 18px; border-radius: 50%; background: var(--sea); box-shadow: inset 5px -3px 0 0 var(--grass), 0 0 0 3px rgba(47, 127, 209, .25); }
.sec__more { font-size: 14px; font-weight: 700; }
.chip__n { font: 800 13px/1 var(--font-d); color: var(--ink3); margin-left: 4px; font-variant-numeric: tabular-nums; }
.tone { display: inline-block; font-style: normal; font-size: 11.5px; font-weight: 700; line-height: 1; padding: 3.5px 7px; border-radius: 6px; border: 1.5px solid currentColor; background: rgba(7, 11, 31, .35); white-space: nowrap; flex: none; }
.tone--p { color: var(--tone-p); } .tone--i { color: var(--tone-i); } .tone--n { color: var(--tone-n); } .tone--c { color: var(--tone-c); } .tone--l { color: var(--tone-l); }
.tone--r { color: var(--tone-r); } .tone--g { color: var(--tone-g); } .tone--s { color: var(--tone-s); } .tone--w { color: var(--tone-w); } .tone--u { color: var(--tone-u); }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: currentColor; flex: none; }
.av { position: relative; display: inline-grid; place-items: center; border-radius: 50%; overflow: hidden; background: var(--card2); color: var(--ink2); font-weight: 700; flex: none; border: 1.5px solid var(--line2); }
.av--44 { width: 44px; height: 44px; font-size: 18px; } .av--40 { width: 40px; height: 40px; font-size: 16px; } .av--28 { width: 28px; height: 28px; font-size: 12px; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.av img.is-broken { display: none; }

/* ── 舞台（プレーヤーと注目の新着）。広い画面では、夜空の帯が画面の端まで続く ── */
.stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 10px; }
.stage__main { min-width: 0; }
.vp { position: relative; aspect-ratio: 16 / 9; background: var(--night); border-radius: var(--r); overflow: hidden; border: 1.5px solid var(--line2); box-shadow: 0 18px 50px -20px rgba(47, 127, 209, .45); }
#player-host, #player-host > * { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vp__curtain { position: absolute; inset: 0; display: grid; place-items: center; background: var(--stars), radial-gradient(ellipse at 50% 110%, #1f3a7a 0%, var(--night) 70%); pointer-events: none; opacity: 0; transition: opacity .35s; }
.vp__curtain img { width: min(34%, 190px); height: auto; }
.vp__wave { position: absolute; left: 50%; top: 50%; width: min(46%, 260px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid rgba(255, 201, 60, .5); opacity: 0; }
.vp[data-curtain="on"] .vp__curtain { opacity: 1; }
.vp[data-curtain="on"][data-state="tuning"] .vp__curtain img { animation: bob 1.6s ease-in-out infinite; }
.vp[data-curtain="on"][data-state="tuning"] .vp__wave { animation: wave 1.6s ease-out infinite; }
.now { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px; background: var(--card); border: 1.5px solid var(--line2); border-radius: var(--r); min-width: 0; }
.now__txt { display: grid; min-width: 0; flex: 1 1 auto; line-height: 1.4; }
.now__label { justify-self: start; font-size: 11.5px; font-weight: 700; color: var(--night); background: var(--coral); padding: 1px 9px; border-radius: 999px; }
.now[data-state="live"] .now__label { background: var(--gold); color: var(--night); }
.now[data-state="live"] .now__label::before { content: "● "; color: #d6252b; }
.now[data-state="tuning"] .now__label, .now[data-state="error"] .now__label, .now[data-state="tap"] .now__label { background: var(--card2); color: var(--ink2); }
.now__name { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now__title { font-size: 13.5px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now__act { display: flex; gap: 8px; flex: none; flex-wrap: wrap; justify-content: flex-end; padding-bottom: 3px; }
.now__msg { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 8px 14px; background: var(--gold-soft); border: 1.5px solid var(--gold); border-radius: var(--r2); font-size: 14.5px; color: var(--ink); }
.now__msg img { width: 48px; height: 48px; flex: none; }
.info { margin: 12px 4px 0; font-size: 14.5px; color: var(--ink2); }
.info p { margin: 0 0 6px; }
.info__where b { color: var(--ink); font-size: 15.5px; }
.info__tone { display: flex; gap: 8px; align-items: baseline; color: var(--ink2); }
.info__tone .tone { transform: translateY(-1px); }
.info__links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.info__links a { font-weight: 700; text-decoration: none; }
.info__links a.is-quiet { color: var(--ink3); font-weight: 500; text-decoration: underline; }
.info__near { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: 8px; }
.info__near > b { font-size: 12.5px; color: var(--ink3); margin-right: 2px; }
.nearch { display: inline-flex; align-items: center; gap: 6px; max-width: 240px; padding: 3px 10px 3px 3px; border-radius: 999px; border: 1.5px solid var(--line2); background: var(--card); color: var(--ink); text-decoration: none; font-size: 12.5px; font-weight: 700; }
.nearch span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nearch:hover { border-color: var(--gold); color: var(--ink); }
.capnote { margin: 10px 4px 0; padding: 8px 12px; font-size: 13px; color: var(--ink2); border-left: 3px solid var(--sea); background: rgba(47, 127, 209, .12); border-radius: 0 10px 10px 0; }
.noscript { margin: 12px 0 0; padding: 12px 14px; border: 1.5px dashed var(--line2); border-radius: var(--r2); background: var(--card); }

.picks { min-width: 0; background: var(--card); border: 1.5px solid var(--line2); border-radius: var(--r); padding: 12px; }
.js .picks__fallback { display: none; }
.js .picks__fallback.is-shown { display: block; }
.picks__head { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1.5px dashed var(--line); }
.picks__head h2 { font: 800 19px/1.3 var(--font-d); color: var(--ink); display: flex; align-items: center; gap: 9px; }
.picks__head h2::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 201, 60, .22); flex: none; animation: blink 2.4s ease-in-out infinite; }
.picks__rule { margin: 2px 0 0; font-size: 12px; color: var(--ink3); line-height: 1.45; }
.picks__lf { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.lf { border: 1.5px solid var(--line2); background: transparent; border-radius: 999px; padding: 2px 11px; font-size: 12.5px; font-weight: 700; color: var(--ink2); }
.lf:hover { border-color: var(--gold); color: var(--ink); }
.lf[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); }
.picks__empty { display: flex; align-items: center; gap: 10px; color: var(--ink2); font-size: 14px; margin: 8px 0; }
.picks__list { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-color: var(--line2) transparent; }
.picks__list > * { flex: 0 0 min(72vw, 250px); scroll-snap-align: start; }

/* 動画のカード（描くのは app.js。題名と絵は運営者のもの） */
.vc { display: grid; gap: 8px; align-content: start; text-decoration: none; color: var(--ink); padding: 6px; border-radius: var(--r2); border: 1.5px solid transparent; min-width: 0; }
.vc:hover { background: var(--card2); color: var(--ink); }
.vc[aria-current="true"] { background: var(--coral-soft); border-color: var(--coral); }
.vc__th { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--card2); }
.vc__th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vc__th img.is-broken { visibility: hidden; }
.vc__lang { position: absolute; right: 5px; top: 5px; font-style: normal; font-size: 10.5px; font-weight: 700; line-height: 1; padding: 4px 7px; border-radius: 999px; background: rgba(7, 11, 31, .82); color: var(--ink); }
.vc[aria-current="true"] .vc__th::after { content: "▶"; position: absolute; left: 6px; bottom: 6px; font-size: 11px; line-height: 1; padding: 5px 8px; border-radius: 999px; background: var(--coral); color: var(--night); }
.vc__b { display: grid; gap: 3px; min-width: 0; }
.vc__t { font-size: 14px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vc__m { font-size: 12px; color: var(--ink2); display: flex; gap: 6px; align-items: center; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc__m > span { overflow: hidden; text-overflow: ellipsis; }
.vc__m .tone { font-size: 10.5px; padding: 3px 6px; }

/* チャンネルのカード */
.ch { position: relative; display: flex; align-items: center; min-width: 0; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r2); transition: border-color .12s, transform .12s; }
.ch:hover { border-color: var(--line2); transform: translateY(-1px); }
.ch[aria-current="true"] { border-color: var(--coral); background: #2a2650; box-shadow: 0 0 0 1px var(--coral); }
.ch__a { display: flex; align-items: center; gap: 11px; flex: 1 1 auto; min-width: 0; padding: 9px 4px 9px 11px; text-decoration: none; color: var(--ink); }
.ch__b { display: grid; gap: 4px; min-width: 0; }
.ch__n { font-weight: 700; font-size: 15px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch__m { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink2); min-width: 0; }
.ch__m > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ch__fav { flex: none; width: 42px; height: 42px; border: 0; background: transparent; font-size: 19px; color: var(--line2); border-radius: 50%; }
.ch__fav:hover { color: var(--gold); }
.ch__fav[aria-pressed="true"] { color: var(--gold); }
.ch.is-dormant .ch__n { color: var(--ink3); }
.picks .ch { border-color: transparent; background: transparent; }
.picks .ch:hover { background: var(--card2); }

/* ── あいさつ・地図・地域 ── */
.hello { position: relative; }
.hello__who { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.parabo { flex: none; border: 0; background: none; padding: 0; width: 120px; height: 120px; border-radius: 50%; }
.parabo img { width: 100%; height: 100%; display: block; animation: bob 3.6s ease-in-out infinite; }   /* 押す的（ボタン）は動かさず、中の絵だけを揺らす（LSN-0535） */
.parabo.is-poked img { animation: swim 1.2s cubic-bezier(.3, .6, .4, 1); }
/* ぷかぷか浮かぶ。押すと、くるりと泳いでから戻る */
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
@keyframes swim { 0% { transform: translateX(0) rotate(0); } 25% { transform: translateX(-10px) rotate(-14deg); } 55% { transform: translateX(12px) rotate(12deg) scale(1.06); } 80% { transform: translateX(-4px) rotate(-4deg); } 100% { transform: translateX(0) rotate(0); } }
@keyframes wave { 0% { opacity: .9; transform: translate(-50%, -50%) scale(.55); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes pulse { 0%, 100% { stroke-width: 1.5; stroke-opacity: 1; } 50% { stroke-width: 5; stroke-opacity: .55; } }
.bubble { position: relative; flex: 1 1 auto; min-width: 0; background: var(--card); border: 1.5px solid var(--line2); border-radius: var(--r); padding: 13px 18px; }
.bubble::before { content: ""; position: absolute; left: -9px; top: 38px; width: 16px; height: 16px; background: var(--card); border-left: 1.5px solid var(--line2); border-bottom: 1.5px solid var(--line2); transform: rotate(45deg); }
.bubble h2 { font: 800 clamp(19px, 2.3vw, 25px)/1.35 var(--font-d); color: var(--ink); word-break: auto-phrase; }
.bubble p { margin: 4px 0 0; font-size: 14.5px; color: var(--ink2); }
.stamps { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 9px; padding-top: 9px; border-top: 1.5px dashed var(--line); font-size: 13px; }
.stamps__t { font-weight: 700; color: var(--gold); }
.stamps__t::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; border-radius: 3px; border: 2px solid var(--gold); transform: rotate(-8deg); }
.stamps__n { color: var(--ink); font-weight: 700; }
.stamps__l { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.stamps__l i { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--coral); border: 1.5px solid var(--coral); border-radius: 4px; padding: 1px 6px; transform: rotate(-3deg); }
.stamps__l i:nth-child(2n) { transform: rotate(2deg); color: var(--tone-g); border-color: var(--tone-g); }
.map { position: relative; border-radius: var(--r); background: var(--stars), radial-gradient(ellipse at 50% 120%, #17306a 0%, var(--bg2) 62%); border: 1.5px solid var(--line); padding: 10px; min-height: 160px; }
.map__svg { aspect-ratio: 1000 / 389; }
.map__svg svg { display: block; width: 100%; height: auto; }
.map .land { fill: #26336a; stroke: #33427e; stroke-width: .6; transition: fill .15s; }
.map .land.is-lit { cursor: pointer; stroke: #0d1330; stroke-width: .8; }
.map .land.lv1 { fill: #2f6a8c; } .map .land.lv2 { fill: #3c8ea6; } .map .land.lv3 { fill: #5fb48f; } .map .land.lv4 { fill: #8fd16a; }
.map .land.is-lit:hover, .map .land.is-lit:focus { fill: var(--gold); outline: none; }
.map .land.is-sel { fill: #ffd866; }
.map .land.is-stamped { stroke: var(--coral); stroke-width: 1.4; }
.map .land.is-now { fill: var(--coral); stroke: #fff; animation: pulse 1.8s ease-in-out infinite; }
.map .land.is-dot { stroke: #fff; stroke-width: 1.2; }
.map__tip { position: absolute; left: 16px; bottom: 12px; margin: 0; padding: 5px 12px; border-radius: 999px; background: rgba(7, 11, 31, .86); border: 1.5px solid var(--gold); font-size: 13px; font-weight: 700; pointer-events: none; }
.map[data-state="idle"] .map__svg { background: radial-gradient(ellipse at 50% 50%, rgba(47, 127, 209, .18), transparent 70%); border-radius: 12px; }
.regcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 178px), 1fr)); gap: 10px; margin-top: 14px; }
.regcard { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 10px; align-items: center; padding: 8px 12px 8px 8px; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--line2); border-radius: var(--r); box-shadow: 0 4px 0 var(--night); transition: transform .12s, box-shadow .12s, border-color .12s; }
.regcard img { grid-row: 1 / span 2; width: 56px; height: 56px; }
.regcard__t { font: 800 15px/1.3 var(--font-d); align-self: end; word-break: auto-phrase; }
.regcard__d { font-size: 12px; color: var(--ink3); align-self: start; }
.regcard__d b { color: var(--gold); font: 800 13px/1 var(--font-d); }
.regcard:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--night); border-color: var(--gold); color: var(--ink); }
.regcard[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-soft); }
.moods { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 10px; }
.mood { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 0 12px; align-items: center; padding: 8px 14px 8px 8px; text-decoration: none; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); }
.mood img { width: 64px; height: 64px; grid-row: 1 / span 2; }
.mood__t { font-weight: 700; font-size: 15px; line-height: 1.35; align-self: end; word-break: auto-phrase; }
.mood__d { font-size: 12.5px; color: var(--ink3); line-height: 1.45; grid-column: 2; align-self: start; }
.mood__n { font: 800 14px/1 var(--font-d); color: var(--ink3); grid-row: 1 / span 2; grid-column: 3; white-space: nowrap; }
.mood:hover { border-color: var(--gold); color: var(--ink); background: var(--card2); }

/* ── 選ぶ ── */
.guide { scroll-margin-top: calc(var(--hd) + 8px); }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1.5px solid var(--line2); margin-bottom: 12px; scrollbar-width: none; }
.tabs button { flex: none; border: 1.5px solid transparent; border-bottom: 0; background: none; padding: 8px 16px; font-weight: 700; font-size: 15px; color: var(--ink3); border-radius: 12px 12px 0 0; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--night); background: var(--gold); border-color: var(--gold); }
.entry__note { margin: 0 0 10px; font-size: 14px; color: var(--ink2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 4px 13px 4px 6px; border-radius: 999px; border: 1.5px solid var(--line2); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.chip img { width: 30px; height: 30px; flex: none; }
.chip .dot { margin: 0 3px 0 8px; }
.entry[data-entry="lang"] .chip { padding-left: 14px; }
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); }
.chip[aria-pressed="true"] .chip__n { color: var(--night); opacity: .75; }
.chip[aria-pressed="true"] .dot { box-shadow: 0 0 0 2px var(--night); }
.chips--foot { margin-top: 28px; }
.chips--foot .chip, .chips--toc .chip { padding-left: 14px; }
.chips--toc { margin: 4px 0 6px; }
.shelf { margin-top: 20px; }
.shelf__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.shelf__head > img { width: 64px; height: 64px; flex: none; }
.shelf__txt { flex: 1 1 240px; min-width: 0; }
.shelf__txt h3 { font: 800 21px/1.35 var(--font-d); color: var(--ink); }
.shelf__txt p { margin: 2px 0 0; font-size: 14px; color: var(--ink2); }
.shelf__n { font-size: 13.5px; color: var(--ink2); font-weight: 700; white-space: nowrap; }
.subs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; }
.subs__t { font-size: 12.5px; font-weight: 700; color: var(--ink3); margin-right: 4px; }
.sub { border: 1.5px solid var(--line2); background: var(--card); border-radius: 9px; padding: 4px 10px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.sub:hover { border-color: var(--gold); color: var(--ink); }
.sub[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: var(--night); }
.sub .chip__n { font-size: 12px; }
.sub[aria-pressed="true"] .chip__n { color: var(--night); opacity: .75; }
.rail { margin: 0 0 16px; padding: 12px 12px 6px; background: var(--bg2); border: 1.5px solid var(--line); border-radius: var(--r); }
.rail h4 { font-size: 15px; margin: 0 0 6px 4px; color: var(--ink); display: flex; align-items: center; gap: 7px; }
.rail h4::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(255, 201, 60, .22); }
.rail__l { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-color: var(--line2) transparent; }
.rail__l > * { flex: 0 0 min(64vw, 228px); scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 9px; }
.grid .grp { grid-column: 1 / -1; font-size: 15px; color: var(--ink2); margin: 12px 0 0; padding-top: 10px; border-top: 1.5px dashed var(--line); }
.grid .grp:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.guide__empty { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed var(--line2); border-radius: var(--r); color: var(--ink2); margin: 0; background: var(--card); }
.guide__empty img { width: 96px; height: 96px; flex: none; }

/* ── 局の札 ── */
.tones__lead { margin: 0 0 14px; color: var(--ink2); max-width: 62em; font-size: 15px; }
.tones__l { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 10px; }
.tonecard { display: grid; gap: 6px; align-content: start; padding: 13px 16px; background: var(--card); border: 1.5px solid var(--line); border-left: 6px solid currentColor; border-radius: var(--r2); text-decoration: none; }
.tonecard__h { display: flex; align-items: center; gap: 8px; font-size: 15.5px; }
.tonecard__h b { color: var(--ink); }
.tonecard__d { color: var(--ink2); font-size: 14px; line-height: 1.6; }
.tonecard:hover { background: var(--card2); }

/* ── 読みもの ── */
.reads__l { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.read { display: grid; gap: 6px; align-content: start; text-decoration: none; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 10px; }
.read img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
.read__t { font-weight: 700; line-height: 1.45; } .read__s { font-size: 13.5px; color: var(--ink2); } .read__d { font-size: 12px; color: var(--ink3); }
.read:hover { border-color: var(--gold); color: var(--ink); }

/* ── コメント（配置だけ。中身の見た目は中央のテーマ） ── */
.talk-tab { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 45; min-height: 46px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--gold); background: var(--gold); color: var(--night); font-weight: 700; box-shadow: 0 3px 0 var(--night); }
.talk { position: fixed; z-index: 60; right: 0; bottom: 0; left: 0; height: min(78vh, 640px); display: flex; flex-direction: column; background: var(--card); border-top: 1.5px solid var(--line2); border-radius: var(--r) var(--r) 0 0; }
.talk__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1.5px solid var(--line); }
.talk__tabs { display: inline-flex; border: 1.5px solid var(--line2); border-radius: 999px; overflow: hidden; }
.talk__tabs button { border: 0; background: transparent; padding: 6px 14px; font-weight: 700; font-size: 14px; color: var(--ink2); }
.talk__tabs button[aria-pressed="true"] { background: var(--gold); color: var(--night); }
.talk__slot { flex: 1 1 auto; overflow: auto; padding: 12px; }

/* ── キーボードの案内・トースト ── */
.keys { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(7, 11, 31, .7); padding: 16px; }
.keys__in { background: var(--card); border: 1.5px solid var(--line2); border-radius: var(--r); padding: 20px 22px; max-width: 420px; width: 100%; box-shadow: 0 5px 0 var(--night); }
.keys__in h2 { font: 800 20px/1.3 var(--font-d); color: var(--ink); }
.keys dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 14px 0 18px; }
.keys dt { font: 800 15px/1.7 var(--font-d); background: var(--card2); border: 1.5px solid var(--line2); border-radius: 8px; padding: 0 9px; justify-self: start; }
.keys dd { margin: 0; color: var(--ink2); }
.toast { position: fixed; left: 50%; bottom: 76px; transform: translateX(-50%); z-index: 90; margin: 0; padding: 9px 18px; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 700; font-size: 14px; max-width: calc(100vw - 28px); text-align: center; box-shadow: 0 6px 24px rgba(0, 0, 0, .4); }

/* ── フッター ── */
.ft { background: var(--night); color: var(--ink); margin-top: 40px; border-top: 1.5px solid var(--line); }
.ft__in { max-width: var(--max); margin: 0 auto; padding: 26px var(--pad) calc(34px + env(safe-area-inset-bottom)); display: grid; gap: 10px; }
.ft__brand { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 15px; }
.ft__brand img { width: 64px; height: 64px; }
.ft__note { margin: 0; font-size: 13.5px; color: var(--ink2); max-width: 70em; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 700; }
.ft__nav--regions { font-weight: 500; font-size: 13.5px; }
.ft__nav a { text-decoration: none; color: var(--ink); }
.ft__nav a:hover { color: var(--gold); }
.ft__bottom { margin: 0; font-size: 12.5px; color: var(--ink3); }

/* ── 文書のページ（全チャンネル・地域ごと・ジャンルごと・このサイトについて・記事） ── */
.doc { max-width: 980px; padding-top: 22px; }
.doc--about { max-width: 820px; }
.crumb { margin: 0 0 8px; font-size: 14px; }
.doc__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.doc__head img { flex: none; }
.doc__head h1 { font: 800 clamp(24px, 3.4vw, 32px)/1.3 var(--font-d); color: var(--ink); }
.doc__head p { margin: 4px 0 0; color: var(--ink2); }
.doc__n { font: 800 15px/1 var(--font-d); color: var(--ink3); margin-left: 6px; }
.doc h2 { font: 800 20px/1.4 var(--font-d); margin: 34px 0 10px; padding-left: 24px; position: relative; color: var(--ink); scroll-margin-top: calc(var(--hd) + 10px); }
.doc h2::before { content: ""; position: absolute; left: 0; top: .34em; width: 14px; height: 14px; border-radius: 50%; background: var(--sea); box-shadow: inset 4px -2px 0 0 var(--grass); }
.doc h2.grp { font-size: 18px; margin-top: 28px; }
.doc p, .doc li { color: var(--ink2); }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); }
.doc__hero { display: block; width: 100%; border-radius: var(--r); border: 1.5px solid var(--line2); margin: 6px 0 12px; }
.doc__date { color: var(--ink3); font-size: 13px; margin-top: 30px; }
.doc__tones { display: grid; gap: 8px; padding: 0 !important; list-style: none; }
.doc__tones li { display: flex; gap: 10px; align-items: baseline; margin: 0; }
.rows { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 8px; }
.row { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r2); padding: 11px 13px; margin: 0 !important; scroll-margin-top: calc(var(--hd) + 10px); }
.row:target { border-color: var(--coral); background: #2a2650; }
.row__h { display: flex; align-items: center; gap: 11px; }
.row__n { display: block; line-height: 1.4; color: var(--ink); }
.row__m { display: block; font-size: 12.5px; color: var(--ink3); }
.row__why { margin: 8px 0 4px; font-size: 14px; color: var(--ink2); }
.row__l { margin: 0; font-size: 14px; font-weight: 700; }
.cats { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.cats li { margin: 0; }
.cats a { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 2px 12px; align-items: center; padding: 12px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); height: 100%; }
.cats a img { grid-row: 1 / span 3; }
.cats a span { font-size: 13px; color: var(--ink2); line-height: 1.5; }
.cats a .chip__n { font-size: 14px; }
.cats a:hover { border-color: var(--gold); }
.article { max-width: 760px; }
.article h1 { font: 800 clamp(25px, 3.6vw, 34px)/1.35 var(--font-d); margin: 6px 0 12px; }
.article figure { margin: 18px 0; }
.article figure img { width: 100%; border-radius: var(--r); }
.article .yt { position: relative; aspect-ratio: 16 / 9; margin: 18px 0; border-radius: var(--r); overflow: hidden; border: 1.5px solid var(--line2); }
.article .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article blockquote { margin: 16px 0; padding: 10px 16px; border-left: 5px solid var(--gold); background: var(--card); border-radius: 0 var(--r2) var(--r2) 0; }
.pr { font-size: 13px; color: var(--ink2); border: 1.5px solid var(--line2); border-radius: var(--r2); padding: 8px 12px; background: var(--card); }

/* ── 広い画面: 夜空の舞台 ── */
@media (min-width: 1040px) {
  .stage { grid-template-columns: minmax(0, 1fr) 390px; padding: 18px 0 24px; background: var(--stars), linear-gradient(180deg, var(--bg) 0%, #111c49 100%);
    box-shadow: 0 0 0 100vmax #0f1840; clip-path: inset(0 -100vmax); }
  .picks { position: relative; align-self: stretch; padding: 12px 6px 12px 12px; }
  .picks__live, .picks__fallback { position: absolute; inset: 12px 6px 12px 12px; display: flex; flex-direction: column; }
  .js .picks__fallback.is-shown { display: flex; }
  .picks__list { flex: 1 1 auto; flex-direction: column; gap: 4px; overflow: hidden auto; padding: 0 6px 0 0; scroll-snap-type: none; }
  .picks__list > * { flex: none; }
  .picks .vc { grid-template-columns: 148px minmax(0, 1fr); gap: 10px; align-items: start; }
  .picks .vc__t { -webkit-line-clamp: 3; font-size: 13.5px; }
  .hello { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4px 22px; align-items: start; }
  .hello__who { grid-column: 1; flex-direction: column; align-items: flex-start; margin: 0; }
  .hello__who .bubble::before { left: 46px; top: -9px; transform: rotate(135deg); }
  .map { grid-column: 2; grid-row: 1 / span 2; }
  .regcards { grid-column: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .talk { left: auto; top: 0; height: auto; width: min(420px, 100vw); border-top: 0; border-left: 1.5px solid var(--line2); border-radius: 0; }
  .talk-tab { right: 22px; bottom: 22px; }
}
/* ── 狭い画面: プレーヤーを上に貼り付ける（ヘッダーは流す） ── */
@media (max-width: 1039.98px) {
  .hd { position: static; backdrop-filter: none; background: var(--bg); }
  .hd__in { flex-wrap: wrap; gap: 8px 10px; padding-top: 6px; padding-bottom: 8px; min-height: 0; }
  .brand__tag { display: none; }
  .search { order: 3; flex: 1 1 100%; max-width: none; margin: 0; }
  .search input { height: 40px; }
  .hd__nav { gap: 4px 12px; font-size: 13.5px; margin-left: auto; }
  .clocks { padding-top: 4px; }
  /* .stage と .stage__main を「無いもの」にして、プレーヤーを main の直下に置いたのと同じにする。
     こうしないと、貼り付きが .stage の中でしか効かず、一覧まで繰るとプレーヤーが流れていく（姉妹サイトで 2026-11-24 に実測・LSN-0536） */
  .stage, .stage__main { display: contents; }
  .vp { position: sticky; top: 0; z-index: 30; border-radius: 0 0 var(--r2) var(--r2); border-width: 0 0 1.5px; margin: 8px calc(var(--pad) * -1) 0; width: auto;
    aspect-ratio: auto; height: min(56.25vw, 46vh); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .8); }
  .now { margin-top: 12px; flex-wrap: wrap; }
  .now__act { flex: 1 1 100%; justify-content: flex-start; }
  .now__msg, .info, .noscript, .picks { margin-top: 12px; }
  .guide { scroll-margin-top: calc(min(56.25vw, 46vh) + 8px); }
  .row, .doc h2 { scroll-margin-top: 12px; }
  .sec { margin-top: 36px; }
  .hello__who { align-items: flex-start; }
  .parabo { width: 88px; height: 88px; }
  .bubble::before { top: 28px; }
  .regcards { display: flex; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px var(--pad) 10px; margin: 14px calc(var(--pad) * -1) 0; scrollbar-color: var(--line2) transparent; }
  .regcard { flex: 0 0 min(62vw, 220px); scroll-snap-align: start; }
  .moods { display: flex; overflow-x: auto; padding-bottom: 8px; margin: 0 calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad); scrollbar-color: var(--line2) transparent; }
  .mood { flex: 0 0 min(78vw, 300px); }
  .info__near { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-right: calc(var(--pad) * -1); scrollbar-width: none; }
  .info__near > * { flex: none; }
  /* 入口のピルは2段の横送りにする（縦に積むと、一覧まで遠くなる） */
  .entry .chips { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 8px;
    margin: 0 calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad); scrollbar-color: var(--line2) transparent; }
  .doc { padding-top: 16px; }
}
@media (max-width: 520px) {
  .brand { gap: 6px; }
  .brand__name { font-size: 20px; }
  .brand img { width: 38px; height: 38px; }
  .hd__nav { gap: 4px 9px; }
  .hd__nav a { font-size: 12.5px; }
  .hd__about { display: none; }                    /* 狭い画面ではフッターから（ヘッダーを2段に収めて、プレーヤーを上に寄せる） */
  .langsw button { padding: 4px 9px; font-size: 12.5px; }
  .now__act .btn { min-height: 38px; padding: 4px 11px; font-size: 13px; }
  .shelf__head > img { width: 52px; height: 52px; }
  .doc__head img { width: 60px; height: 60px; }
  .tabs button { padding: 8px 11px; font-size: 14px; }
  .map { padding: 6px; }
  .map__tip { left: 8px; bottom: 6px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
