/* =================================================================
   ぷれポータル スタイル ── ぷれうた／りぷれいに合わせた意匠「青いデスクトップ」
   公式2色 #C1E0FA / #82ABDE を基準に、ウィンドウ（枠＋タイトルバー＋実線ドロップ影）、
   ドット文字 DotGothic16、ベベルボタンで統一。読ませる所は Zen Kaku Gothic New。
   ※ 番組表のブロックの種別色・赤い現在線は、仕様書のまま（情報の色分けなので）。
   ================================================================= */
:root {
  --accent: #C1E0FA;
  --accent-weak: #E3F0FC;
  --accent-deep: #3E6FA8;
  --blue: #82ABDE;
  --bg: #F6FAFE;
  --paper: #E7F1FC;
  --grid: #D6E7F8;
  --bg-2: #EDF5FD;
  --win-bar: #B6D2EE;
  --ink: #26374F;
  --ink-soft: #667A9B;
  --ink-weak: #9DAEC9;
  --rule: #AECBE7;
  --patch: #DCEBF9;
  --glitch-c: #A9E3E8;
  --glitch-m: #EFC2DC;

  --line: 1.5px;
  --shadow: 3px 3px 0 #AECBEC;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px;

  --now: #E24B4A;
  --hour: 24px;

  /* 旧名（確認ページなどで使用） */
  --muted: var(--ink-soft);
  --dot: var(--rule);
  --text: var(--ink);

  --font: "Zen Kaku Gothic New", -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  --disp: "DotGothic16", "Zen Kaku Gothic New", monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
body {
  margin: 0; color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
}
a { color: var(--accent-deep); }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
button { font-family: inherit; }

/* ---- ヘッダー ---- */
.hd { padding: var(--s3) var(--s3) var(--s1); }
.hd-row { display: flex; align-items: baseline; gap: var(--s2); flex-wrap: wrap; }
.hd h1 {
  font-family: var(--disp); font-weight: 400; font-size: clamp(30px, 8.5vw, 40px); line-height: 1.1;
  letter-spacing: .02em; margin: 0; color: var(--ink);
  text-shadow: 1.5px 0 var(--glitch-c), -1.5px 0 var(--glitch-m);
}
.unofficial {
  font-family: var(--disp); font-size: 13px; padding: 0 8px; color: var(--accent-deep);
  border: 1px dashed var(--blue); background: var(--bg);
}
.sub { margin: var(--s2) 0 0; font-size: 13px; color: var(--ink-soft); }

.page { max-width: 1000px; margin: 0 auto; padding: 0 3px; }
.wrap { padding: var(--s2) 0 var(--s5); }

/* ---- 共通：ウィンドウ ---- */
.win { background: var(--bg); border: var(--line) solid var(--ink); box-shadow: var(--shadow); }
.win-bar {
  display: flex; align-items: center; gap: var(--s2); background: var(--win-bar);
  border-bottom: var(--line) solid var(--ink); padding: 5px 8px; font-family: var(--disp); font-size: 13px;
}
.win-bar .dots { margin-left: auto; display: flex; gap: 5px; }
.win-bar .dots i { width: 13px; height: 12px; display: block; border: var(--line) solid var(--ink); background: var(--bg); }

/* ---- ボタン（ベベル：押せる物は凸） ---- */
.btn {
  font-family: var(--disp); font-size: 14px; cursor: pointer; text-decoration: none; display: inline-block;
  padding: 6px 14px; background: var(--accent); color: var(--ink);
  border: var(--line) solid var(--ink); box-shadow: inset -2px -2px 0 var(--blue), inset 2px 2px 0 #fff;
}
.btn:hover { background: #D3EAFB; }
.btn:active { box-shadow: inset 2px 2px 0 var(--blue), inset -2px -2px 0 #fff; }
.btn-primary { background: var(--accent); }

/* ---- カウントダウン ---- */
.cd {
  margin: var(--s2) 0 var(--s3); padding: var(--s3) var(--s4); text-align: center;
  background: var(--accent-weak); color: var(--ink);
  border: var(--line) solid var(--ink); box-shadow: var(--shadow);
}
.cd-label { font-family: var(--disp); font-size: 13px; opacity: .85; }
.cd-main { font-family: var(--disp); font-size: 30px; line-height: 1.3; }
.cd-sub { font-size: 14px; }

/* ---- 週の切り替え ---- */
.weekbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); margin: var(--s2) 0; }
.weeklabel { font-family: var(--disp); font-size: 17px; }

.msg { margin: 24px 12px; text-align: center; color: var(--ink-soft); }
.msg strong { display: block; font-family: var(--disp); font-weight: 400; font-size: 19px; color: var(--ink); margin-bottom: 4px; }

/* ---- 番組表 ---- */
.tt-wrap { position: relative; padding: 4px 2px 0; }
.tt-head { display: grid; grid-template-columns: 30px repeat(7, 1fr); }
.tt-head div {
  text-align: center; font-family: var(--disp); font-size: 12px; line-height: 1.3; padding: 3px 0;
  border-bottom: var(--line) solid var(--ink);
}
.tt-head .today { color: #fff; background: var(--accent-deep); }
.tt-body { position: relative; }
.hline { position: absolute; left: 30px; right: 0; border-top: .5px solid #B5D4F4; height: 0; }
.hlabel {
  position: absolute; left: 0; width: 28px; text-align: right; font-family: var(--disp); font-size: 11px;
  line-height: 12px; color: var(--ink-soft); transform: translateY(-6px);
}
.cols { position: absolute; left: 30px; right: 0; top: 0; bottom: 0; display: grid; grid-template-columns: repeat(7, 1fr); }
.col { position: relative; border-left: 1px dotted var(--rule); }
.col:last-child { border-right: 1px dotted var(--rule); }

.blk {
  position: absolute; left: 0; right: 0; margin: 0; padding: 2px 0; overflow: hidden;
  border: 1px solid var(--ink); border-radius: 0; cursor: pointer;
  font: inherit; font-size: 12px; line-height: 1.25; letter-spacing: -0.09em;
  text-align: left; overflow-wrap: break-word;
  box-shadow: inset -1px -1px 0 rgba(38,55,79,.18), inset 1px 1px 0 rgba(255,255,255,.7);
}
.blk .t { display: block; font-weight: 700; }
.blk .k { display: block; }
.blk.tentative { background: transparent !important; border: 1.5px dotted currentColor; box-shadow: none; }
.blk.past { background: #D3D1C7 !important; color: #5F5E5A !important; border-color: #9DAEC9; }
.blk.past.tentative { background: transparent !important; border: 1.5px dotted #B4B2A9; }
.blk.rest { background: transparent; color: var(--ink-soft); border: 1.5px dotted #B4B2A9; text-align: center; box-shadow: none; }
.blk.rest .t { font-weight: 600; }

/* ---- 日付の下の「イベント」行 ---- */
.tt-events { display: grid; grid-template-columns: 30px repeat(7, 1fr); border-bottom: 1px solid var(--rule); background: rgba(255,255,255,.35); }
.tt-ev-lab { font-family: var(--disp); font-size: 11px; text-align: center; color: var(--ink-soft); padding-top: 3px; }
.tt-ev-cell { border-left: 1px dotted var(--rule); padding: 2px 1px; min-width: 0; display: flex; flex-direction: column; gap: 2px; min-height: 24px; }
.tt-ev-cell:last-child { border-right: 1px dotted var(--rule); }
.ev-chip {
  display: block; width: 100%; margin: 0; padding: 1px 2px; font: inherit; font-size: 11px; line-height: 1.25; letter-spacing: -0.04em;
  text-align: center; border: 1px solid var(--ink); border-radius: 0; cursor: default; word-break: break-all; overflow: hidden;
  box-shadow: inset -1px -1px 0 rgba(38,55,79,.18), inset 1px 1px 0 rgba(255,255,255,.7);
}
.ev-chip.has-link { cursor: pointer; }
.ev-chip.has-link::after { content: "↗"; font-size: 9px; margin-left: 1px; }
.tip .note-text { font-size: 14px; margin: 4px 0 6px; white-space: pre-wrap; }
.tip .ev-item { padding: 4px 0 6px; border-top: 1px dotted var(--rule); }
.tip .ev-item:first-of-type { border-top: 0; }

/* 「★」ボタン（その日のイベントをまとめて開く）。月カレンダーは日付の右、スマホの番組表は日付の下の行にこれだけを出す */
.ev-btn {
  margin: 0; padding: 0 4px; height: 17px; line-height: 15px; font: inherit; font-size: 11px; cursor: pointer; white-space: nowrap;
  background: #FFE9A6; color: #5C4300; border: 1px solid var(--ink); border-radius: 0;
  box-shadow: inset -1px -1px 0 rgba(38,55,79,.18), inset 1px 1px 0 rgba(255,255,255,.7);
}
.tt-ev-cell .ev-btn { display: none; }
@media (max-width: 699px) {   /* スマホの番組表：イベントは「★」ボタンだけ（長くなって画面を圧迫しないように） */
  .tt-ev-cell .ev-chip { display: none; }
  .tt-ev-cell .ev-btn { display: block; margin: 1px auto; }
  .tt-ev-cell { min-height: 22px; align-items: center; }
}

.nowline { position: absolute; left: 0; right: 0; height: 2px; background: var(--now); z-index: 3; pointer-events: none; }
.nowline::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--now); }

/* ---- 吹き出し（小さなウィンドウ） ---- */
.tip {
  position: absolute; z-index: 20; width: 250px; max-width: calc(100vw - 16px); padding: 10px 12px;
  background: var(--bg); color: var(--ink); border: var(--line) solid var(--ink); box-shadow: var(--shadow); font-size: 14px;
}
.tip .when { font-family: var(--disp); font-size: 13px; color: var(--ink-soft); }
.tip .badges { margin: 4px 0; }
.tip .badge { display: inline-block; padding: 0 8px; margin-right: 4px; border: 1px solid var(--ink); font-family: var(--disp); font-size: 13px; }
.tip .badge.asa { background: #FAEEDA; color: #633806; }
.tip .badge.kari { background: var(--bg); border: 1px dotted var(--ink); color: var(--ink); }
.tip .ttl { font-weight: 700; margin: 2px 0 8px; word-break: break-word; }
.tip .none { font-size: 13px; color: var(--ink-soft); }
.tip .btn { font-size: 14px; padding: 4px 12px; }

/* ---- 購読 ---- */
.note { font-size: 12px; color: var(--ink-soft); margin: 4px 0 0; }

/* ---- フッター ---- */
.ft { max-width: 1000px; margin: 0 auto; padding: var(--s3) var(--s3) 28px; font-size: 13px; color: var(--ink-soft); }
.ft .links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0; font-family: var(--disp); font-size: 13px; }
.ft .links a { text-decoration: none; border-bottom: 1px dashed var(--blue); }
.ft p { margin: 4px 0; }

@media (min-width: 700px) {
  .blk { font-size: 14px; letter-spacing: 0; padding: 3px 5px; left: 3px; right: 3px; }
  .page { padding: 0 var(--s2); }
  .tt-wrap { padding: 4px 4px 0; }
  .tt-head div { font-size: 14px; }
  .hlabel { font-size: 12px; }
  .cd-main { font-size: 36px; }
}

/* 広い画面：サイト名と「次の配信」を縦書きで左に置く */
@media (min-width: 900px) {
  .page {
    max-width: 1280px; display: grid; grid-template-columns: auto minmax(0, 980px);
    justify-content: center; align-items: start; column-gap: 16px;
  }
  .side { display: flex; gap: 14px; position: sticky; top: 12px; padding-top: 12px; }
  .side .hd, .side .cd { writing-mode: vertical-rl; }
  .side .hd { padding: 12px 6px; }
  .side .hd-row { flex-wrap: nowrap; }
  .side .hd h1 { font-size: 32px; }
  .side .unofficial { padding: 6px 0; margin-top: 8px; }
  .side .sub { margin: 0 8px 0 0; }
  .side .cd { margin: 0; padding: 14px 10px; max-height: 88vh; text-align: start; text-combine-upright: digits 2; }
  .side .cd-main { font-size: 30px; }
  .side .cd-label, .side .cd-sub { line-height: 1.7; }
}

/* ---- タブ（OS のフォルダタブ風）---- */
.tabs { display: flex; gap: 3px; margin: var(--s2) 0 -1.5px; padding: 0 var(--s1); position: relative; z-index: 2; }
.tab {
  font-family: var(--disp); font-size: 14px; padding: 7px 9px 6px; cursor: pointer; white-space: nowrap;
  background: var(--accent-weak); color: var(--ink-soft); border: var(--line) solid var(--ink); border-bottom-color: var(--ink);
}
.tab:hover { background: #D3E6F8; }
/* 選ばれている方は、すぐ下のタイトルバーと同じ色でつながって見える */
.tab.on { background: var(--win-bar); color: var(--ink); border-bottom-color: var(--win-bar); }

/* ---- 前へ／次へ ---- */
.navbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: 6px 6px 2px; }
.navbar[hidden] { display: none; }
.navmid { text-align: center; line-height: 1.3; }
.weeklabel { font-family: var(--disp); font-size: 16px; }
.linkbtn { font-family: var(--disp); font-size: 12px; background: none; border: 0; border-bottom: 1px dashed var(--blue); color: var(--accent-deep); cursor: pointer; padding: 0; }
.navbar .btn { font-size: 13px; padding: 5px 8px; white-space: nowrap; }
.navbar .btn:disabled { color: var(--ink-weak); background: var(--bg-2); box-shadow: none; cursor: not-allowed; }

/* ---- 月カレンダー ---- */
.mo-head { display: grid; grid-template-columns: repeat(7, 1fr); }
.mo-head div { text-align: center; font-family: var(--disp); font-size: 13px; padding: 3px 0; border-bottom: var(--line) solid var(--ink); }
.mo-head .sat { color: #3E6FA8; }
.mo-head .sun { color: #B4514F; }
.mo-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.mo-cell { min-height: 76px; padding: 2px 1px 3px; border-right: 1px solid var(--blue); border-bottom: 1px solid var(--blue); min-width: 0; }   /* 日付の区切りは実線（朝/昼/夜の区切りは点線のまま） */
.mo-cell:nth-child(7n) { border-right: 0; }
.mo-cell.out { background: rgba(174,203,231,.18); }
.mo-cell.out .mo-num { color: var(--ink-weak); }
.mo-cell.today { background: #E3F0FC; }
.mo-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2px; min-width: 0; }   /* 日付は左、「★」ボタンは右 */
.mo-num { font-family: var(--disp); font-size: 12px; text-align: left; padding-left: 3px; color: var(--ink-soft); }
.mo-cell.sat .mo-num { color: #3E6FA8; }                 /* 土は青・日は赤（曜日の見出しと同じ色） */
.mo-cell.sun .mo-num { color: #B4514F; }
.mo-cell.out.sat .mo-num { color: #9DB7D6; }             /* 別の月の日は薄く */
.mo-cell.out.sun .mo-num { color: #D4A4A2; }
.mo-cell.today .mo-num { color: #fff; background: var(--accent-deep); display: inline-block; padding: 0 4px; margin-left: 2px; }
.chip {
  display: block; width: 100%; margin: 2px 0 0; padding: 1px 2px; text-align: left; cursor: pointer; clear: both;
  font: inherit; font-size: 11px; line-height: 1.2; letter-spacing: -0.04em; overflow: hidden;
  border: 1px solid var(--ink); border-radius: 0; overflow-wrap: break-word;
}
.chip .ct { display: block; font-weight: 700; }
.chip .ck { display: block; }
.chip.tentative { background: transparent !important; border: 1.5px dotted currentColor; }
.chip.rest { background: transparent; color: var(--ink-soft); border: 1.5px dotted #B4B2A9; text-align: center; font-size: 11px; }

@media (min-width: 700px) {
  .tab { font-size: 16px; }
  .navbar .btn { font-size: 14px; padding: 5px 12px; }
  .weeklabel { font-size: 18px; }
  .mo-cell { min-height: 110px; padding: 3px 3px 4px; }
  .chip { font-size: 13px; padding: 2px 5px; letter-spacing: 0; }   /* 時刻と種別は、スマホと同じく2行（上：時刻、下：種別） */
}

/* ---- 中止 ---- */
.blk.cancelled, .chip.cancelled {
  background: repeating-linear-gradient(135deg, #F1EFE8 0 5px, #E4E1D6 5px 10px) !important;
  color: #7A786F !important; border: 1px dashed #9A978C !important; box-shadow: none;
}
.blk.cancelled .t, .chip.cancelled .ct { text-decoration: line-through; }
.tip .badge.chu { background: #F6D5D4; color: #8A2F2D; }

/* ---- 月カレンダーの 朝/昼/夜 の3段（色は付けず、点線の区切りだけ） ---- */
/* 日付・休み・朝/昼/夜。各段は「時刻＋種別」の2行ぶんの固定の高さ（週によって高さがばらつかない） */
.mo-cell { display: grid; grid-template-rows: auto auto repeat(3, 34px); align-content: start; min-height: 0; }
.mo-rests:empty { height: 0; }
.chip { height: 30px; }
.chip .ck { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 長時間の配信は、朝・昼・夜の複数の段にまたがる（枠を縦に伸ばす） */
.band.span { display: flex; flex-direction: column; }
.band.span .chip { flex: 1; height: auto; }
/* おやすみの日（配信なし）は、朝・昼・夜の3段ぶんを「おやすみ」で埋める */
.mo-cell.rest-full .mo-rests { grid-row: 2 / 6; display: flex; }
.mo-cell.rest-full .band { display: none; }
.mo-cell.rest-full .chip.rest { flex: 1; height: auto; margin: 2px 0 0; display: flex; align-items: center; justify-content: center; }
@media (min-width: 700px) {   /* 広い画面は文字が少し大きいので、2行ぶんの高さも少し高く */
  .mo-cell { grid-template-rows: auto auto repeat(3, 42px); }
  .chip { height: 38px; }
}
.band { padding: 1px 0 1px; border-top: 1px dotted rgba(174,203,231,.9); min-width: 0; }
.mo-cell.out .band { opacity: .6; }

/* 文字を大きくしたぶんの調整 */
.blk.rest .k { font-size: 11px; letter-spacing: -0.12em; white-space: nowrap; }
.weeklabel { text-wrap: balance; }

/* カウントダウンの枠全体がリンク。マウスを乗せる／キーで選ぶと、ラベルが浮かぶ */
.cd { position: relative; }
.cd-link { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); cursor: pointer; }
.cd-link::before { content: "↗"; position: absolute; top: 3px; right: 8px; font-size: 14px; opacity: .55; }  /* スマホ向けの「押せる」目印 */
.cd-link-label {
  opacity: 0; transition: opacity .15s; padding: 6px 14px; font-family: var(--disp); font-size: 15px; text-align: center;
  background: var(--accent); color: var(--ink); border: var(--line) solid var(--ink);
  box-shadow: inset -2px -2px 0 var(--blue), inset 2px 2px 0 #fff;
}
.cd-link:hover, .cd-link:focus-visible { background: rgba(246,250,254,.9); }
.cd-link:hover .cd-link-label, .cd-link:focus-visible .cd-link-label { opacity: 1; }

/* 関連サイトのボタン：広い画面では左の列（縦書きの下）に出す。スマホはフッターに同じリンクがあるので非表示 */
.side-links { display: none; }
@media (min-width: 900px) {
  .side { flex-wrap: wrap; align-content: flex-start; width: 200px; }   /* 縦書き2本ぶん（サイト名＋次の配信）の幅に固定 */
  .side-links { display: flex; flex-direction: column; gap: 8px; flex-basis: 100%; writing-mode: horizontal-tb; padding-right: 2px; }
  .side-links .btn { display: block; text-align: center; font-size: 14px; padding: 7px 8px; }
}

/* フッターは中央揃え */
.ft { text-align: center; }
.ft .links { justify-content: center; }


/* 4つのタブ */
@media (min-width: 700px) { .tab { padding: 7px 18px 6px; } }
.viewpane[hidden] { display: none; }

/* アーカイブ */
.ar-head { padding: var(--s3) var(--s3) var(--s2); }
.ar-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-chip {
  font-family: var(--disp); font-size: 14px; padding: 3px 10px; cursor: pointer; background: var(--bg);
  color: var(--ink-soft); border: 1px solid var(--ink-weak);
}
.ar-chip.on { background: var(--chip-bg, var(--accent)); color: var(--chip-fg, var(--ink)); border: 1.5px solid var(--ink); }
.ar-tools { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s2); }
.ar-search { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 6px 8px; border: var(--line) solid var(--ink); background: #fff; color: var(--ink); }
.ar-count { font-family: var(--disp); font-size: 14px; color: var(--ink-soft); white-space: nowrap; }
.ar-month { font-family: var(--disp); font-size: 15px; padding: 3px var(--s3); background: var(--accent-weak); border-top: var(--line) solid var(--ink); border-bottom: 1px dotted var(--rule); }
.ar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px var(--s3); padding: 8px var(--s3); border-bottom: 1px dotted var(--rule); }
.ar-main { flex: 1 1 260px; min-width: 0; }
.ar-meta { font-family: var(--disp); font-size: 14px; color: var(--ink-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.ar-badge { padding: 0 8px; border: 1px solid var(--ink); font-size: 13px; }
.ar-title { font-weight: 500; word-break: break-word; }
.ar-btn { font-size: 14px; padding: 4px 12px; white-space: nowrap; }
.ar-nolink { font-size: 13px; color: var(--ink-weak); }

/* 発信する */
.post-body { padding: var(--s4); display: grid; gap: var(--s3); }
.post-row { display: grid; gap: 4px; }
.post-label { font-family: var(--disp); font-size: 14px; color: var(--ink-soft); }
.post-select { width: 100%; font: inherit; font-size: 16px; padding: 7px 8px; border: var(--line) solid var(--ink); background: #fff; color: var(--ink); }
.tweet-tags { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.tweet-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--disp); font-size: 16px; cursor: pointer; }
.tweet-tag input { width: 18px; height: 18px; accent-color: var(--accent-deep); cursor: pointer; }
.post-prevlabel { font-size: 13px; color: var(--ink-soft); margin-bottom: 2px; }
.post-preview { margin: 0; padding: 8px 10px; background: var(--bg-2); border: 1px dotted var(--blue); font: inherit; font-size: 15px; white-space: pre-wrap; word-break: break-all; }
.post-body .btn { justify-self: start; }
.post-body .btn:disabled { color: var(--ink-weak); background: var(--bg-2); box-shadow: none; cursor: not-allowed; }

/* カレンダーに追加 */
.subscribe { margin-top: var(--s5); }
.subscribe[hidden] { display: none; }
.sub-body { padding: var(--s3) var(--s4); }
.sub-lead { margin: 0 0 var(--s2); }
.sub-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px var(--s3); padding: 8px 0; border-top: 1px dotted var(--rule); }
.sub-name { font-family: var(--disp); font-size: 16px; }
.sub-note { font-size: 13px; color: var(--ink-soft); }
.sub-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.sub-btns .btn { font-size: 14px; padding: 5px 10px; }
.tag-cat { font-family: var(--font); font-size: 12px; color: var(--ink-soft); margin-left: 2px; }

/* このサイトについて */
.about .win { margin-bottom: var(--s4); }
.about-body { padding: var(--s3) var(--s4); }
.about-body p { margin: 0 0 var(--s2); }
.about-body ul { margin: 0; padding-left: 1.3em; }
.about-body li { margin: 4px 0; }
.about-links { list-style: none; padding-left: 0 !important; }
.about .sub a { font-family: var(--disp); }

/* 「カレンダーに追加」は、押すと開く（折りたたみ） */
details.subscribe > summary { cursor: pointer; list-style: none; user-select: none; }
details.subscribe > summary::-webkit-details-marker { display: none; }
details.subscribe > summary .win-name::after { content: "　▼"; font-size: 11px; opacity: .7; }
details.subscribe[open] > summary .win-name::after { content: "　▲"; }
details.subscribe > summary:hover { background: #A9C8E8; }
details.subscribe > summary:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: -3px; }

/* ---- 開催中のイベント（番組表の上） ---- */
.ongoing { margin-bottom: var(--s3); }
.ongoing-list { list-style: none; margin: 0; padding: var(--s2) var(--s3); font-size: 15px; }
.ongoing-list li { padding: 2px 0; }
.ongoing-list li::before { content: "★ "; color: #B08400; }
.ongoing-left { color: var(--ink-soft); font-size: 13px; margin-left: 4px; }
