/* =================================================================
   transit-reader.css — 読み物優先の表示調整
   Initial design: Claude Opus 4.6. Reading accents and implementation: Codex.
   transit.php / gate-weather.php の最後に読み込む
   ================================================================= */

/* TRANSIT.PHP — イントロ圧縮、解説を前面に */
.public-transit-page .public-transit-eyebrow,
.public-transit-page .public-transit-intro > .public-transit-subtitle { display: none; }
.public-transit-page .public-transit-intro { max-width: 760px; margin: 0 0 16px; padding: 0; text-align: left; }
.public-transit-page .public-transit-intro h1 { font-size: clamp(24px, 2.5vw, 30px); line-height: 1.5; letter-spacing: 0.02em; }
.public-transit-page .public-transit-time { margin-top: 8px; font-size: 0.78rem; color: var(--pt-muted); }
.public-transit-page .transit-about-details { margin: 10px 0 0; }
.public-transit-page .transit-about-details summary { min-height: 44px; display: list-item; width: fit-content; line-height: 44px; color: var(--pt-muted); font-size: 0.82rem; cursor: pointer; list-style-position: inside; }
.public-transit-page .transit-about-details summary:focus { outline: 2px solid var(--pt-gold-text); outline-offset: 3px; }
.public-transit-page .transit-about-details p { margin: 10px 0 0; color: var(--pt-navy-soft); font-size: 0.92rem; line-height: 1.9; max-width: 680px; }
.public-transit-page .transit-about-details .public-transit-subtitle { display: block; margin: 6px 0 8px; font-size: 0.82rem; letter-spacing: 0.1em; }
.public-transit-page .public-transit-reading { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--pt-line); }
.public-transit-page .public-transit-reading > h2 { margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--pt-line); font-family: inherit; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; color: var(--pt-muted); }
.public-transit-page .gate-weather-daily { margin: 0 0 20px; padding: clamp(8px, 2.5vw, 28px); color: var(--pt-navy); background: #fffdf8; border: 1px solid #ddd8cb; border-top: 3px solid #ad8642; border-radius: 12px; }
.public-transit-page .gate-weather-daily .gate-weather-eyebrow { display: none; }
.public-transit-page .gate-weather-daily-position { margin: 0 0 4px; color: var(--pt-gold-text); font-size: 0.82rem; }
.public-transit-page .gate-weather-daily-line { display: table; margin: 0 0 14px; padding: 4px 12px; color: #244c50; background: #eaf1ee; border-radius: 6px; font-size: clamp(24px, 5vw, 28px); line-height: 1.4; font-weight: 700; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.public-transit-page .public-transit-activation-row-primary { background: rgba(184, 145, 47, 0.08); border-radius: 6px; }
.public-transit-page .public-transit-activation-row-primary .public-transit-activation-name { color: var(--pt-navy); font-weight: 700; }
.public-transit-page .public-transit-activation-row-primary .public-transit-activation-value { font-size: 1.2rem; }
.public-transit-page .line-follow-compact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 20px 0 28px; padding: 16px 0; border-top: 1px solid var(--pt-line); background: transparent; }
.public-transit-page .line-follow-compact .line-follow-lead { margin: 0; flex: 1 1 280px; font-size: 0.88rem; }
.public-transit-page .line-follow-compact .line-follow-friend { box-sizing: border-box; justify-content: center; min-height: 48px; max-width: 100%; padding: 10px 18px; border-radius: 6px; color: #fff; background: var(--pt-navy); font-size: 0.88rem; font-weight: 700; text-decoration: none; }
@media (max-width: 520px) {
  .public-transit-page .line-follow-compact { align-items: flex-start; }
  .public-transit-page .line-follow-compact .line-follow-friend { width: 100%; }
}
.public-transit-page .gate-weather-daily h2 { margin: 0 0 6px; color: var(--pt-navy); font-size: clamp(24px, 3vw, 34px); line-height: 1.5; }
.public-transit-page .gate-weather-daily-period { margin: 0 0 18px; color: var(--pt-muted); font-size: 0.78rem; }
.public-transit-page .gate-weather-daily-body { margin: 0; max-width: 680px; color: var(--pt-navy-soft); font-size: 1rem; line-height: 1.9; }
.public-transit-page .gate-weather-daily-action,
.public-transit-page .gate-weather-daily-question { display: block; padding: 12px 16px; border-left: 3px solid; border-radius: 0 8px 8px 0; font-size: 1rem; line-height: 1.9; }
.public-transit-page .gate-weather-daily-action { margin: 22px 0 0; color: #765812; background: #f7f0df; border-left-color: #ad8642; }
.public-transit-page .gate-weather-daily-question { margin: 12px 0 0; color: #28575c; background: #edf4f2; border-left-color: #56827c; }
.public-transit-page .gate-weather-daily-action > strong,
.public-transit-page .gate-weather-daily-question > strong { display: block; margin-bottom: 4px; font-size: 0.85rem; letter-spacing: 0.03em; white-space: nowrap; }
/* Mark the independently laid-out copy as prose so shared sentence wrapping measures its actual width. */
.public-transit-page .gate-weather-daily-action > span,
.public-transit-page .gate-weather-daily-question > span { display: block; min-width: 0; color: var(--pt-navy); }
.public-transit-page .gate-weather-daily .gate-weather-mode-fieldset { border-color: #ddd8cb; border-radius: 8px; background: #f6f4ee; }
.public-transit-page .gate-weather-daily .gate-weather-mode-fieldset legend { color: var(--pt-navy); }
.public-transit-page .gate-weather-daily .gate-weather-segmented label { background: var(--pt-paper); border-color: var(--pt-line); color: var(--pt-navy-soft); }
.public-transit-page .gate-weather-daily .gate-weather-segmented label.is-selected { color: var(--pt-navy); border-color: var(--pt-gold); box-shadow: inset 0 -3px 0 var(--pt-gold); }
.public-transit-page .gate-weather-daily .gate-weather-mode-note { color: var(--pt-muted); }
.public-transit-page .gate-weather-daily-note-link { color: var(--pt-gold-text); background: rgba(184, 145, 47, 0.08); border-color: rgba(184, 145, 47, 0.38); }
.public-transit-page .public-transit-reading-archive { margin: 8px 0 0; }
.public-transit-page .public-transit-reading-archive a { padding: 0; min-height: 44px; display: inline-flex; align-items: center; color: var(--pt-gold-text); background: none; border: none; border-radius: 0; font-size: 0.82rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.public-transit-page .public-transit-panel-heading > p, .public-transit-page .public-transit-cta > div > p, .public-transit-page #public-transit-share-title { display: none; }
.public-transit-page .public-transit-share { padding-top: 20px; }

/* GATE-WEATHER.PHP (UNIFIED) — ヒーロー圧縮、分析を前面に */
.gate-weather-unified .gate-weather-hero .gate-weather-eyebrow { display: none; }
.gate-weather-unified .gate-weather-hero { padding: 16px 0; }
.gate-weather-unified .gate-weather-hero-lead { margin: 10px 0 0; }
.gate-weather-unified .gate-weather-sky-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 10px 0 0; }
.gate-weather-unified .gate-weather-sky-facts div { display: flex; align-items: baseline; gap: 6px; min-width: auto; padding: 0; margin-right: 20px; margin-bottom: 2px; background: none; border: none; }
.gate-weather-unified .gate-weather-sky-facts dt { font-size: 0.76rem; }
.gate-weather-unified .gate-weather-sky-facts dd { margin: 0; font-size: 1rem; }
.gate-weather-unified .gate-weather-period { margin: 6px 0 0; }
.gate-weather-unified .gate-weather-period-summary { max-width: none; padding: 0 0 20px; margin: 0 0 20px; background: transparent; border-left: none; box-shadow: none; border-bottom: 1px solid var(--gw-line); }
.gate-weather-unified .gate-weather-period-summary .gate-weather-kicker, .gate-weather-unified .gate-weather-period-summary .gate-weather-edition-label { display: none; }
.gate-weather-unified .gate-weather-period-summary > p[data-gate-weather-gate-field="period_body"] { font-size: 1rem; line-height: 1.9; }
.gate-weather-unified .gate-weather-mode-fieldset-page { margin-bottom: 32px; }
.gate-weather-unified .gate-weather-selected-reading > .gate-weather-mode-panel > p { font-size: 1rem; line-height: 1.9; }
.gate-weather-unified .gate-weather-selected-reading .gate-weather-card-action, .gate-weather-unified .gate-weather-selected-reading .gate-weather-card-question { font-size: 1rem !important; line-height: 1.9; }
.gate-weather-unified .gate-weather-selected-reading { padding: 28px; background: #fffdf8; border: 1px solid #ddd8cb; border-top: 3px solid #ad8642; border-radius: 12px; box-shadow: none; }
.gate-weather-unified .gate-weather-selected-reading .gate-weather-card-action,
.gate-weather-unified .gate-weather-selected-reading .gate-weather-card-question { display: block; margin: 18px 0 0 !important; padding: 12px 16px; border-left: 3px solid; border-radius: 0 8px 8px 0; }
.gate-weather-unified .gate-weather-selected-reading .gate-weather-card-action { color: #765812; background: #f7f0df; border-left-color: #ad8642; }
.gate-weather-unified .gate-weather-selected-reading .gate-weather-card-question { color: #28575c; background: #edf4f2; border-left-color: #56827c; }
.gate-weather-unified .gate-weather-selected-reading .gate-weather-card-action > strong,
.gate-weather-unified .gate-weather-selected-reading .gate-weather-card-question > strong { display: block; margin-bottom: 4px; color: inherit; font-size: 0.85em; letter-spacing: 0.03em; white-space: nowrap; }
.gate-weather-unified .gate-weather-selected-reading .gate-weather-card-action > span,
.gate-weather-unified .gate-weather-selected-reading .gate-weather-card-question > span { display: block; min-width: 0; color: var(--gw-navy); }
.gate-weather-unified .gate-weather-cta .gate-weather-kicker { display: none; }

@media (max-width: 780px) {
  .public-transit-page .public-transit-intro h1 { font-size: clamp(22px, 5vw, 28px); }
  .public-transit-page .gate-weather-daily h2 { font-size: clamp(22px, 4.5vw, 30px); }
}
@media (max-width: 520px) {
  .public-transit-page .public-transit-intro { margin-bottom: 10px; }
  .public-transit-page .transit-about-details summary { font-size: 0.78rem; }
  .public-transit-page .gate-weather-daily-body { font-size: 1rem; line-height: 1.85; }
  .gate-weather-unified .gate-weather-sky-facts { flex-direction: column; gap: 2px; }
  .gate-weather-unified .gate-weather-sky-facts div { margin-right: 0; }
  .gate-weather-unified .gate-weather-period-summary { padding-bottom: 16px; margin-bottom: 16px; }
  .gate-weather-unified .gate-weather-selected-reading { padding: 16px 14px; }
}
@media (max-width: 360px) {
  .public-transit-page .gate-weather-daily { padding: 12px 5px; }
}
@media (hover: hover) { .public-transit-page .public-transit-reading-archive a:hover { color: var(--pt-navy); } }
@media print { .public-transit-page .transit-about-details, .public-transit-page .line-follow-compact { display: none; } }
