/* =========================================================================
   dodgers-postseason.css — ドジャース 2026ポストシーズン 常設ページ専用
   -------------------------------------------------------------------------
   スコープ:
     すべてのセレクタを .dps- 接頭辞（と body.dps-page 配下のヒーロー上書き）で閉じ、
     既存ページには一切影響させない。
   配色（2026-10-03 Hiro指示で黒×金 → ドジャースブルー中心へ）:
     アクセントは Dodgers Blue #005a9c（ダークは #5ea3e0）。墨（ink）はそのまま。
     紙面は少し冷たい白（#f9fbfd / #eef3f8）にして青が馴染むようにする。
     進行中の段は青で塗りつぶして白文字（ページで一番強い色面）。
     金はこのページでは使わない。

   タイポグラフィ（CLAUDE.md §3.1）:
     大きな数字・カード見出し → Zen Old Mincho
     本文 → 16px
   ========================================================================= */

.dps {
  --dps-accent:     #005a9c;
  --dps-accent-lit: #005a9c;
  --dps-accent-ink: #ffffff;
  --dps-soft:       rgba(0, 90, 156, .10);
  --dps-ink:        #1c1a17;
  --dps-text:       #3a342d;
  --dps-mute:       #5c5550;
  --dps-line:       #d9e0e8;
  --dps-surface:    #f9fbfd;
  --dps-surface-2:  #eef3f8;
  --dps-cool:       #005a9c;

  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px 64px;
  color: var(--dps-text);
  font-size: 16px;
  line-height: 1.8;
}

html[data-theme="dark"] .dps {
  --dps-accent:     #5ea3e0;
  --dps-accent-lit: #7cc0ff;
  --dps-accent-ink: #0b1a2b;
  --dps-soft:       rgba(94, 163, 224, .16);
  --dps-ink:        #e9e2d2;
  --dps-text:       #d8dfef;
  --dps-mute:       #a0998a;
  --dps-line:       #26303c;
  --dps-surface:    #121a24;
  --dps-surface-2:  #182230;
  --dps-cool:       #86b4d0;
}

.dps a { color: var(--dps-cool); }

/* ------------------------------------------------ ヒーロー（共有CSSの金を青へ） */
/* tb-page-unify.css の `html body:not(.tb-root) .page-hero` と style.css の
   `.page-hero > .page-hero-tag` は !important 付きなので、より具体的な
   body.dps-page 付きセレクタで同じく !important で上書きする。他ページには出ない。 */
html body.dps-page:not(.tb-root) .page-hero {
  background:
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(0, 90, 156, .45), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(94, 163, 224, .07) 36px 37px),
    #0b1a2b !important;
  border-bottom: 4px solid #005a9c !important;
}
html body.dps-page .page-hero > .page-hero-tag,
html body.dps-page .page-hero > .page-hero-tag * {
  color: #7cc0ff !important;
  border-color: rgba(124, 192, 255, .5) !important;
}

/* ---------------------------------------------------------------- 共通部品 */

.dps-section { margin: 40px 0 0; }

.dps-section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 2px solid var(--dps-accent);
  padding-bottom: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.dps-section-num {
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--dps-accent);
}

.dps-section-title {
  font-family: "Zen Old Mincho", serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: var(--dps-ink);
  line-height: 1.4;
}

.dps-asof {
  margin-left: auto;
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--dps-mute);
}

.dps-note {
  font-size: 13px;
  color: var(--dps-mute);
  line-height: 1.7;
  margin: 10px 0 0;
}

.dps-empty {
  border: 1px dashed var(--dps-line);
  background: var(--dps-surface);
  padding: 18px 20px;
  font-size: 14px;
  color: var(--dps-mute);
  margin: 0;
}

/* --------------------------------------------------------- 01 現在地: 4段 */

.dps-section--now { margin-top: 24px; }

.dps-stages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dps-stage {
  position: relative;
  border: 1px solid var(--dps-line);
  border-top: 3px solid var(--dps-line);
  background: var(--dps-surface);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dps-stage-step {
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--dps-mute);
}

.dps-stage-short {
  font-family: "Zen Old Mincho", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dps-ink);
}

.dps-stage-en {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--dps-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dps-stage-status {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--dps-mute);
}

.dps-stage-status b {
  display: block;
  font-family: "Zen Old Mincho", serif;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 700;
  color: var(--dps-ink);
}

/* 免除・突破は青の縁、進行中は青で塗りつぶし、未定は薄い */
.dps-stage.is-bye,
.dps-stage.is-won { border-top-color: var(--dps-accent); }
.dps-stage.is-bye .dps-stage-status,
.dps-stage.is-won .dps-stage-status { color: var(--dps-accent); font-weight: 700; }
.dps-stage.is-lost { border-top-color: var(--dps-mute); }
.dps-stage.is-upcoming .dps-stage-short { color: var(--dps-mute); }

.dps-stage.is-current {
  border-color: var(--dps-accent);
  border-top-width: 3px;
  background: var(--dps-accent);
}
.dps-stage.is-current .dps-stage-step,
.dps-stage.is-current .dps-stage-short,
.dps-stage.is-current .dps-stage-en,
.dps-stage.is-current .dps-stage-status,
.dps-stage.is-current .dps-stage-status b { color: var(--dps-accent-ink); }
.dps-stage.is-current .dps-stage-step::after { content: " ・ NOW"; }

/* --------------------------------------------------------- 01 現在地: 大表示 */

.dps-now {
  margin-top: 14px;
  border: 1px solid var(--dps-line);
  border-top: 4px solid var(--dps-accent);
  background: var(--dps-surface);
  padding: 24px 24px 20px;
  text-align: center;
}

.dps-now-series {
  font-family: "Zen Old Mincho", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dps-ink);
  margin: 0;
  line-height: 1.4;
}

.dps-now-series small {
  display: block;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--dps-accent);
  margin-top: 2px;
}

.dps-now-vs {
  font-size: 17px;
  color: var(--dps-text);
  margin: 10px 0 0;
}

.dps-now-vs strong {
  font-family: "Zen Old Mincho", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--dps-ink);
}

.dps-now-score {
  font-family: "Zen Old Mincho", serif;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--dps-accent-lit);
  line-height: 1;
  margin: 10px 0 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
}

.dps-now-score b { font-size: clamp(64px, 18vw, 112px); font-weight: 700; letter-spacing: -.02em; }
.dps-now-score span { font-size: 22px; color: var(--dps-ink); margin-right: 12px; }
.dps-now-score span:last-child { margin-right: 0; }

.dps-now-next {
  margin: 18px 0 0;
  padding: 12px 14px;
  background: var(--dps-surface-2);
  border: 1px solid var(--dps-line);
  font-size: 15px;
  line-height: 1.8;
  color: var(--dps-text);
  text-align: left;
}

.dps-now-next b {
  font-family: "Zen Old Mincho", serif;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--dps-ink);
}

.dps-now-next-k {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--dps-accent);
  color: var(--dps-accent-ink);
  margin-right: 6px;
  vertical-align: middle;
}

.dps-now-note {
  font-size: 13px;
  color: var(--dps-mute);
  line-height: 1.7;
  margin: 10px 0 0;
  text-align: left;
}

.dps-now--final .dps-now-series { font-size: clamp(24px, 6vw, 34px); }
.dps-now--final .dps-now-note { text-align: center; font-size: 15px; color: var(--dps-text); }

/* ----------------------------------------------------------- 01 現在地: 日程 */

.dps-sched {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}

.dps-sched-item {
  border: 1px solid var(--dps-line);
  background: var(--dps-surface);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dps-sched-item.is-ifn { color: var(--dps-mute); border-style: dashed; }
.dps-sched-game { font-weight: 700; color: var(--dps-accent); }
.dps-sched-item.is-ifn .dps-sched-game { color: var(--dps-mute); }
.dps-sched-jst {
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 14px;
  color: var(--dps-ink);
}
.dps-sched-item.is-ifn .dps-sched-jst { color: var(--dps-mute); font-weight: 500; }
.dps-sched-venue { color: var(--dps-mute); font-size: 12px; }
.dps-sched-venue em { font-style: normal; }

/* -------------------------------------------------------------- 02 動画 */

.dps-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 14px;
}

.dps-video {
  border: 1px solid var(--dps-line);
  border-top: 3px solid var(--dps-accent);
  background: var(--dps-surface);
  padding: 0 0 14px;
  min-width: 0;
}

.dps-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b1a2b;
}

.dps-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.dps-video-title {
  font-family: "Zen Old Mincho", serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin: 12px 14px 0;
  color: var(--dps-ink);
}

.dps-video-title a { color: inherit; text-decoration: none; }
.dps-video-title a:hover { text-decoration: underline; }

.dps-video-lead {
  font-size: 14px;
  line-height: 1.8;
  color: var(--dps-text);
  margin: 8px 14px 0;
}

.dps-video-meta {
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--dps-mute);
  margin: 8px 14px 0;
}

/* -------------------------------------------------------------- 03 記事 */

.dps-articles {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--dps-line);
  background: var(--dps-surface);
}

.dps-articles li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--dps-line);
  font-size: 15px;
  line-height: 1.7;
  flex-wrap: wrap;
}

.dps-articles li:last-child { border-bottom: 0; }

.dps-articles time {
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  color: var(--dps-mute);
  flex: 0 0 auto;
}

.dps-kind {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--dps-accent);
  color: var(--dps-accent);
  flex: 0 0 auto;
  line-height: 1.5;
}

.dps-articles a { color: var(--dps-ink); font-weight: 700; text-decoration: none; flex: 1 1 240px; }
.dps-articles a:hover { text-decoration: underline; color: var(--dps-accent); }

/* ------------------------------------------------------- 04 日本人選手の表 */

.dps-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--dps-line);
  background: var(--dps-surface);
  margin-top: 14px;
}

.dps-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

.dps-table th,
.dps-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--dps-line);
  text-align: left;
  white-space: nowrap;
}

.dps-table thead th {
  background: var(--dps-surface-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--dps-accent);
}

.dps-table th[scope="row"] {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--dps-ink);
}

.dps-table th[scope="row"] small {
  display: inline-block;
  margin-left: 8px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--dps-mute);
}

.dps-table td.dps-num {
  font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--dps-ink);
  text-align: right;
}

.dps-table tbody tr:last-child th,
.dps-table tbody tr:last-child td { border-bottom: 0; }

/* -------------------------------------------------------- 05 シリーズ別の記録 */

.dps-series {
  border: 1px solid var(--dps-line);
  border-left: 4px solid var(--dps-accent);
  background: var(--dps-surface);
  padding: 16px 20px;
  margin-top: 12px;
}

.dps-series-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.dps-series-stage {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--dps-accent);
}

.dps-series-title {
  font-family: "Zen Old Mincho", serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--dps-ink);
}

.dps-series-title b {
  margin-left: 10px;
  font-variant-numeric: tabular-nums;
  color: var(--dps-accent);
}

.dps-series-body {
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}

.dps-series-body div { display: flex; gap: 12px; flex-wrap: wrap; }
.dps-series-body dt { flex: 0 0 110px; font-size: 13px; font-weight: 700; color: var(--dps-mute); }
.dps-series-body dd { flex: 1 1 240px; margin: 0; font-size: 15px; line-height: 1.8; color: var(--dps-text); }

/* ----------------------------------------------------------------- 06 出典 */

.dps-sources {
  margin: 12px 0 0;
  padding-left: 1.2em;
  font-size: 13px;
  color: var(--dps-mute);
  line-height: 1.9;
}

/* ------------------------------------------------------------ レスポンシブ */

@media (max-width: 720px) {
  .dps-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dps-video-grid { grid-template-columns: 1fr; }
  .dps-asof { margin-left: 0; flex-basis: 100%; }
}

@media (max-width: 560px) {
  .dps { padding: 0 12px 48px; font-size: 16px; }
  .dps-section-title { font-size: 19px; }
  .dps-stage { padding: 12px 12px 10px; }
  .dps-stage-short { font-size: 22px; }
  .dps-now { padding: 20px 14px 16px; }
  .dps-now-score span { font-size: 18px; margin-right: 8px; }
  .dps-now-next { font-size: 14px; }
  .dps-series-body dt { flex-basis: 100%; }
}
