/* =========================================================
 * 新幹線の窓 — 旅の瞬間を見逃さない / Shinkansen Window
 * style.css — 夜明けの車窓パレット
 * ========================================================= */

:root {
  --ink: #16202e;
  --ink-soft: #4c5a6b;
  --paper: #faf6ef;
  --paper-deep: #f1ebdf;
  --night: #101c2c;
  --night-2: #1c2f47;
  --accent: #e8704a;        /* 夕焼けオレンジ */
  --accent-soft: #f5c9a8;
  --fuji: #7d9bc0;
  --fuji-snow: #f3f6fa;
  --green: #5d8a5e;
  --gold: #d9a440;
  --card: #ffffff;
  --line: #e3dccd;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(22, 32, 46, 0.10);
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", Georgia, serif;
  --font-sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
[hidden] { display: none !important; }

/* ===== Topbar ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 9px; padding: 5px 12px;
  background: rgba(16, 28, 44, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
}
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; text-decoration: none; color: #fff; }
.brand-mark {
  display: grid; place-items: center;
  width: 29px; height: 29px; border-radius: 8px;
  background: var(--accent); color: #fff;
  font-family: var(--font-serif); font-size: 16px; font-weight: 700;
}
.brand-text { min-width: 0; display: grid; gap: 1px; }
.brand-name { min-width: 0; font-weight: 700; letter-spacing: 0.08em; font-size: 14px; }
.brand-name small,
.brand-sub { display: block; font-size: 9px; font-weight: 400; opacity: 0.72; letter-spacing: 0.12em; }
.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
.top-nav a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.top-nav a:hover,
.top-nav a:focus-visible {
  background: rgba(255,255,255,0.12);
  color: #fff;
  outline: 0;
}
.lang-switch { display: flex; flex-shrink: 0; gap: 4px; background: rgba(255,255,255,0.12); border-radius: 99px; padding: 3px; }
.lang-switch button {
  border: 0; background: transparent; color: rgba(255,255,255,0.7);
  font-size: 11.5px; padding: 4px 10px; border-radius: 99px;
}
.lang-switch a {
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
}
.lang-switch a:hover,
.lang-switch a:focus-visible {
  background: #fff;
  color: var(--night);
  outline: 0;
}
.lang-switch button.active,
.lang-switch a.active { background: #fff; color: var(--night); font-weight: 700; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.hero-sky { position: absolute; inset: 0; }
.hero-sky svg { width: 100%; height: 100%; display: block; }
.hero-inner {
  position: relative; z-index: 2;
  max-width: 720px; margin: 0 auto;
  padding: 88px 24px 130px;
  text-align: center;
}
.hero-kicker { max-width: 100%; font-size: 11px; letter-spacing: 0.32em; opacity: 0.75; margin-bottom: 18px; overflow-wrap: anywhere; }
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.28; font-weight: 700;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-lead { margin: 16px auto 0; max-width: 500px; font-size: 14px; opacity: 0.92; }
/* ===== Buttons ===== */
.btn {
  display: inline-block; border: 0; border-radius: 99px;
  padding: 13px 28px; font-size: 15px; font-weight: 700;
  text-decoration: none; text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(232,112,74,0.35); }
.btn-primary:hover { box-shadow: 0 8px 26px rgba(232,112,74,0.5); }
.btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; opacity: 0.9; }
.btn-wide { width: 100%; margin-top: 8px; }
.btn-small { padding: 9px 18px; font-size: 13px; }

/* ===== Sections ===== */
.section { max-width: 860px; margin: 0 auto; padding: 72px 20px 24px; }
.section-head { text-align: center; margin-bottom: 30px; }
.eyebrow { font-size: 11px; letter-spacing: 0.3em; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.section-head h2 { font-family: var(--font-serif); font-size: clamp(22px, 4.5vw, 32px); }
.section-head h2 {
  display: grid;
  justify-items: center;
  gap: 2px;
  text-wrap: balance;
}
.tl-title-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tl-title-base { display: inline; }
.tl-title-divider { display: inline; color: var(--accent); font-size: 14px; line-height: 1; }
.tl-title-train {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.15;
  flex-wrap: wrap;
}
.tl-title-train-main {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.tl-title-train-kind,
.tl-title-train-number {
  display: inline;
  white-space: nowrap;
}
.tl-title-train-mode {
  display: inline;
  white-space: nowrap;
  font-size: 0.72em;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.tl-title-estimate {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.78em;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}
.section-sub {
  margin-top: 10px; color: var(--ink-soft); font-size: 14px; max-width: 680px;
  margin-left: auto; margin-right: auto; line-height: 1.85;
  text-wrap: balance;
}

/* ===== Setup card ===== */
.setup-card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: 26px 24px; max-width: 560px; margin: 0 auto;
}
.setup-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.setup-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-soft); }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button {
  flex: 1; min-width: 90px;
  border: 1.5px solid var(--line); background: var(--paper);
  border-radius: 12px; padding: 11px 10px; font-size: 14px; font-weight: 600;
  color: var(--ink-soft); transition: all 0.15s ease;
}
.seg button small { display: block; font-size: 10px; font-weight: 400; opacity: 0.8; }
.seg button.active { background: var(--night); border-color: var(--night); color: #fff; }
.depart-wrap { display: flex; gap: 8px; align-items: center; }
.depart-wrap input[type="time"] {
  flex: 1; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 11px 14px; font-size: 16px; font-family: inherit; background: var(--paper);
}
.chip-btn {
  border: 1.5px solid var(--accent); color: var(--accent); background: #fff;
  border-radius: 99px; padding: 9px 14px; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.seat-tip { margin-top: 14px; font-size: 12px; color: var(--ink-soft); text-align: center; }

/* ===== Next-up banner ===== */
.nextup {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 60; width: min(440px, calc(100vw - 24px));
  display: flex; align-items: center; gap: 14px;
  background: var(--night); color: #fff;
  border-radius: 16px; padding: 13px 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  animation: rise 0.4s ease;
}
@keyframes rise { from { transform: translate(-50%, 30px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.nextup-pulse {
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  animation: pulse 1.6s infinite; flex-shrink: 0;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(232,112,74,0.6); } 50% { box-shadow: 0 0 0 9px rgba(232,112,74,0); } }
.nextup-body { flex: 1; min-width: 0; }
.nextup-label { font-size: 10px; letter-spacing: 0.2em; opacity: 0.7; }
.nextup-name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nextup-count { font-family: var(--font-serif); font-size: 19px; font-weight: 700; color: var(--accent-soft); white-space: nowrap; }

/* ===== Static spot pages ===== */
.spot-page {
  background: var(--paper);
}
.spot-page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px;
  background: var(--night);
  color: #fff;
}
.spot-page-top a {
  color: inherit;
  text-decoration: none;
}
.spot-page-brand {
  font-weight: 800;
  letter-spacing: 0.08em;
}
.spot-page-link {
  font-size: 13px;
  opacity: 0.82;
}
.spot-page-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.spot-page-nav a {
  opacity: 0.86;
}
.spot-page-nav a:hover,
.spot-page-nav a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
  outline: 0;
}
.spot-page-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 54px 20px 76px;
}
.spot-page-article h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.25;
  letter-spacing: 0;
}
.spot-page-lead {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 18px;
  font-weight: 700;
}
.spot-page-figure {
  margin-top: 28px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
.spot-page-figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.spot-page-figure figcaption {
  padding: 10px 14px;
  color: var(--ink-soft);
  font-size: 12px;
}
.spot-page-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.spot-page-facts div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.7);
}
.spot-page-facts dt {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.spot-page-facts dd {
  margin-top: 4px;
  font-weight: 700;
  line-height: 1.55;
}
.spot-page-section {
  margin-top: 34px;
}
.spot-page-section h2 {
  font-family: var(--font-serif);
  font-size: 24px;
}
.spot-page-section p {
  margin-top: 10px;
  color: var(--ink-soft);
}
.spot-page-refs {
  margin: 12px 0 0 1.2em;
  color: var(--ink-soft);
}
.spot-page-refs a {
  color: var(--ink);
  text-underline-offset: 3px;
}
.spot-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.spot-page-actions-top {
  margin-top: 22px;
}
.spot-page-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.spot-page-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.spot-page-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.spot-page-photo figcaption {
  display: grid;
  gap: 3px;
  padding: 11px 12px 13px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}
.spot-page-photo figcaption strong {
  color: var(--ink);
  font-size: 13px;
}
.spot-page-photo figcaption a {
  color: inherit;
  text-underline-offset: 3px;
}
.spot-page-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.spot-page-related a {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.72);
  color: var(--ink);
  text-decoration: none;
}
.spot-page-related a:hover,
.spot-page-related a:focus-visible {
  border-color: var(--accent-soft);
  outline: 0;
}
.spot-page-related small {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.spot-page-related strong {
  line-height: 1.35;
}
.spot-page-related span {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}
.spot-page-en {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}

/* ===== Timeline ===== */
.timeline { list-style: none; position: relative; max-width: 620px; margin: 0 auto; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(var(--accent-soft), var(--fuji));
  border-radius: 2px;
}
.tl-station { position: relative; margin: 26px 0 10px; font-weight: 700; font-size: 13px; letter-spacing: 0.1em; color: var(--ink-soft); }
.tl-station::before {
  content: ""; position: absolute; left: -27px; top: 5px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--night);
}
.tl-station .tl-time { font-family: var(--font-serif); color: var(--ink); margin-right: 8px; }
.tl-item { position: relative; margin: 14px 0; }
.tl-item::before {
  content: ""; position: absolute; left: -24px; top: 22px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.tl-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; box-shadow: 0 3px 12px rgba(22,32,46,0.06);
  transition: box-shadow 0.2s ease;
}
.tl-card-button {
  width: 100%;
  display: block;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
}
.tl-card:hover { box-shadow: var(--shadow); }
.tl-card-button:focus-visible {
  outline: 3px solid rgba(232,112,74,0.28);
  outline-offset: 3px;
}
.tl-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 14px;
  align-items: stretch;
}
.tl-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.tl-thumb {
  width: 132px;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(22,32,46,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.tl-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tl-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.tl-top-left {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.tl-time-big {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
}
.tl-time-suffix { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-soft); }
.tl-name { font-weight: 700; font-size: 16px; }
.tl-icon { font-size: 18px; }
.tl-meta { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.spot-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 7px;
}
.spot-card-footer .tl-meta {
  min-width: 0;
  margin-top: 0;
}
.tl-copy .spot-card-footer {
  margin-top: auto;
  padding-top: 7px;
}
.badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em;
  border-radius: 99px; padding: 3px 10px;
}
.badge-seat-E { background: #e6eef8; color: #33567e; }
.badge-seat-A { background: #e7f2ec; color: #2f6649; }
.badge-classic { background: var(--paper-deep); color: var(--ink-soft); }
.badge-notable, .badge-hidden { background: #eaf1ec; color: #2f6649; }
.badge-curious { background: #fbe9df; color: #a6512f; }
.badge-lucky { background: #fdf3d7; color: #8a6716; }
.badge-check { background: #f1f1f1; color: #888; }
.badge-night { background: #20283b; color: #f4f7ff; }
.badge-lowlight { background: #eef0f5; color: #687386; }
.tl-item.low-light-limited .tl-card {
  background: rgba(255,255,255,0.72);
}
.tl-thumb-muted {
  opacity: 0.45;
  filter: grayscale(0.35);
}
.spot-btn {
  border: 1.5px solid var(--accent); background: #fff; color: var(--accent);
  border-radius: 99px; padding: 6px 12px; font-size: 12.5px; font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.spot-btn.stamped { background: var(--accent); color: #fff; }
.more-btn {
  border: 1.5px solid var(--night);
  background: var(--night);
  color: #fff;
  border-radius: 99px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 3px 10px rgba(16, 28, 44, 0.14);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.more-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(16, 28, 44, 0.2);
}
.tl-detail { margin-top: 12px; display: none; }
.tl-item.open .tl-detail, .gal-card.open .tl-detail { display: block; }
.tl-detail p { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.map-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  border: 1.5px solid var(--line); border-radius: 99px;
  padding: 6px 13px; color: var(--ink-soft); background: #fff;
  font-size: 12.5px; font-weight: 700; text-decoration: none;
}
.map-link:hover { border-color: var(--accent); color: var(--accent); }
.map-link-icon { font-size: 13px; line-height: 1; }
.scene { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.scene svg { width: 100%; height: auto; display: block; }
.photo-figure { margin: 10px 0 0; }
.spot-photo,
.gal-photo { border-radius: 12px; border: 1px solid var(--line); display: block; width: 100%; }
.gal-photo { aspect-ratio: 2 / 1; object-fit: cover; border-radius: 0; border: 0; }
.photo-credit {
  margin-top: 6px; font-size: 11px; color: var(--ink-soft); opacity: 0.82;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.gal-media-wrap {
  position: relative;
}
.gal-media-wrap > .photo-figure { margin: 0; cursor: pointer; }
.gal-media-wrap > .photo-figure:hover .gal-photo { filter: saturate(1.06) contrast(1.02); }
.gal-media-wrap > .photo-figure .photo-credit { padding: 0 14px; }
.photo-caption { margin-top: 6px; font-size: 12px; color: var(--ink-soft); }

/* ===== Spot detail modal ===== */
body.modal-open { overflow: hidden; }
.spot-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.spot-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(16, 28, 44, 0.64);
  backdrop-filter: blur(5px);
}
.spot-modal-panel {
  position: relative; z-index: 1;
  width: min(1040px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(16, 28, 44, 0.34);
  padding: 22px;
  outline: none;
}
.spot-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.spot-modal-head {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: 12px; align-items: start;
  padding-right: 44px;
}
.spot-modal-icon { font-size: 32px; line-height: 1; }
.spot-modal-titleblock { min-width: 0; }
.spot-modal-area {
  margin: 0 0 3px;
  font-size: 12px; color: var(--ink-soft); font-weight: 700;
}
.spot-modal-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.18;
}
.spot-modal-content {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 20px;
  align-items: start;
  margin-top: 18px;
}
.spot-modal-copy {
  position: sticky;
  top: 0;
  align-self: start;
}
.spot-modal-hook {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.65;
}
.spot-modal-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.spot-modal-stamp {
  min-width: 104px;
}
.spot-modal-main-media { margin-top: 0; }
.spot-modal-active-figure { margin-top: 0; }
.spot-modal-active-photo {
  aspect-ratio: 16 / 10;
  max-height: min(58vh, 560px);
  object-fit: cover;
  object-position: center;
  background: var(--paper);
}
.spot-modal-main-media .scene { margin-bottom: 10px; }
.spot-modal-main-media .photo-credit,
.spot-modal-active-credit .photo-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  opacity: 1;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.spot-modal-main-media .photo-credit-source,
.spot-modal-active-credit .photo-credit-source {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
.spot-modal-main-media .photo-credit a,
.spot-modal-active-credit .photo-credit a {
  color: var(--night);
  text-decoration-thickness: 1.5px;
}
.spot-modal-main-media .photo-note,
.spot-modal-active-credit .photo-note {
  min-width: 0;
  color: var(--ink-soft);
  line-height: 1.45;
}
.spot-photo-thumbs {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.spot-photo-thumb {
  display: block;
  flex: 0 0 88px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
}
.spot-photo-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.spot-photo-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,112,74,0.18);
}
.spot-photo-thumb:focus-visible {
  outline: 3px solid rgba(232,112,74,0.36);
  outline-offset: 2px;
}
.spot-modal-story {
  margin: 16px 0 0;
  color: var(--ink-soft);
  line-height: 1.85;
}
.spot-modal-refs {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.spot-modal-refs span {
  font-weight: 800;
  color: var(--ink);
}
.spot-modal-refs a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(32, 98, 79, .25);
}
.spot-modal-refs a:hover {
  border-bottom-color: currentColor;
}
.spot-modal-map {
  margin-top: 0;
  white-space: nowrap;
  border-color: var(--night);
  color: var(--night);
}

@media (max-width: 640px) {
  .spot-modal { padding: 10px; align-items: flex-end; }
  .spot-modal-panel {
    width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 12px 12px;
    padding: 18px;
  }
  .spot-modal-head {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    padding-right: 38px;
  }
  .spot-modal-icon { font-size: 28px; }
  .spot-modal-head h2 { font-size: clamp(22px, 7vw, 30px); }
  .spot-modal-content {
    display: block;
    margin-top: 16px;
  }
  .spot-modal-copy {
    position: static;
  }
  .spot-modal-hook {
    margin-top: 14px;
  }
  .spot-modal-active-photo {
    aspect-ratio: 16 / 10;
    max-height: 54vh;
    object-fit: cover;
  }
  .spot-modal-close { top: 10px; right: 10px; }
}

/* ===== Quick intro modal ===== */
.quick-modal {
  position: fixed; inset: 0; z-index: 1100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.quick-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(16, 28, 44, 0.72);
  backdrop-filter: blur(6px);
}
.quick-modal-panel {
  position: relative; z-index: 1;
  width: min(980px, 100%);
  background: #07101d;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 18px;
  box-shadow: 0 24px 90px rgba(0,0,0,0.45);
  overflow: hidden;
  outline: none;
}
.quick-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px 12px 18px;
  color: #fff;
  background: rgba(16, 28, 44, 0.96);
}
.quick-modal-head h2 {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.4;
}
.quick-modal-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 23px;
  line-height: 1;
}
.quick-modal-frame {
  aspect-ratio: 16 / 9;
  background: #000;
}
.quick-modal-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .quick-modal { padding: 10px; }
  .quick-modal-panel { border-radius: 14px; }
  .quick-modal-head { padding: 10px 10px 10px 14px; }
  .quick-modal-head h2 { font-size: 14px; }
}

/* ===== Stamp board ===== */
.medal-board {
  max-width: 620px;
  margin: 0 auto 24px;
}
.medal-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.medal-card {
  --medal-metal: #d8d3c8;
  --medal-ink: #9a9386;
  --medal-glow: rgba(22,32,46,0.08);
  display: grid;
  justify-items: center;
  gap: 5px;
  width: min(100%, 92px);
  color: var(--medal-ink);
}
.medal-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, rgba(255,255,255,0.92) 0 20%, transparent 21%),
    radial-gradient(circle, #fffaf0 0 45%, transparent 46%),
    conic-gradient(var(--medal-metal) 0 var(--medal-progress), rgba(220,214,203,0.34) 0 100%);
  border: 2px solid rgba(255,255,255,0.74);
  box-shadow:
    inset 0 0 0 7px rgba(255,255,255,0.72),
    inset 0 0 0 9px rgba(22,32,46,0.07),
    0 5px 15px var(--medal-glow);
  font-size: 27px;
  font-weight: 800;
  color: var(--medal-ink);
}
.medal-title {
  font-weight: 800;
  font-size: 10.5px;
  line-height: 1.2;
  color: var(--ink-soft);
  text-align: center;
  white-space: nowrap;
}
.medal-count {
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1;
}
.medal-card.medal-bronze {
  --medal-metal: #c07a45;
  --medal-ink: #8a4c28;
  --medal-glow: rgba(192,122,69,0.24);
}
.medal-card.medal-silver {
  --medal-metal: #aeb8c5;
  --medal-ink: #526071;
  --medal-glow: rgba(122,136,154,0.22);
}
.medal-card.medal-gold {
  --medal-metal: #d9a440;
  --medal-ink: #8a6716;
  --medal-glow: rgba(217,164,64,0.28);
}
.stamp-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 8px auto 14px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.stamp-heading::before,
.stamp-heading::after {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--line);
}
.stampboard {
  display: grid;
  grid-template-columns: repeat(auto-fill, 76px);
  justify-content: center;
  gap: 10px;
  max-width: 620px;
  margin: 0 auto;
}
.stamp {
  width: 76px; height: 76px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 2px dashed var(--line); color: #c9c2b2;
  font-size: 11px; gap: 4px; text-align: center; padding: 6px;
  background: var(--card);
}
.stamp .s-icon { font-size: 21px; filter: grayscale(1); opacity: 0.4; }
.stamp.got {
  border: 2.5px solid var(--accent); color: var(--ink);
  background: #fff7f2; transform: rotate(-3deg);
  box-shadow: 0 4px 14px rgba(232,112,74,0.22);
  animation: stampin 0.35s cubic-bezier(0.2, 1.6, 0.4, 1);
}
.stamp.got .s-icon { filter: none; opacity: 1; }
@keyframes stampin { from { transform: scale(1.6) rotate(-10deg); opacity: 0; } to { transform: scale(1) rotate(-3deg); opacity: 1; } }
.stamp .s-name { font-size: 8.7px; line-height: 1.25; font-weight: 600; }
.mem-actions { display: flex; gap: 10px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* ===== Gallery ===== */
.gallery-modebar {
  width: min(100%, 420px);
  margin: 0 auto 20px;
}
.gallery-mode-segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0;
}
.gallery-modebar button {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14.5px;
  font-weight: 800;
  box-shadow: 0 3px 12px rgba(22,32,46,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.gallery-modebar button:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(22,32,46,0.1); }
.gallery-modebar button.active {
  border-color: transparent;
}
.gallery-modebar button[data-mode="day"].active {
  background: linear-gradient(180deg, #fff7da 0%, #ffe9a8 100%);
  color: #735216;
  box-shadow: 0 6px 18px rgba(217,164,64,0.22);
}
.gallery-modebar button[data-mode="night"].active {
  background: linear-gradient(180deg, #28324a 0%, #121a2b 100%);
  color: #f4f7ff;
  box-shadow: 0 6px 18px rgba(16,28,44,0.24);
}
.filterbar { display: flex; gap: 8px; justify-content: center; margin-bottom: 26px; flex-wrap: wrap; }
.filterbar button {
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink-soft);
  border-radius: 99px; padding: 8px 18px; font-size: 13px; font-weight: 700;
}
.filterbar button.active { background: var(--night); border-color: var(--night); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.gal-card {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 3px 12px rgba(22,32,46,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.gal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gal-card:focus-visible {
  outline: 3px solid rgba(232,112,74,0.28);
  outline-offset: 3px;
}
.gal-body { padding: 14px 16px 16px; }
.gal-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.gal-top-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.gal-name { font-weight: 700; font-size: 15px; min-width: 0; }
.gal-area { font-size: 11.5px; color: var(--ink-soft); margin-top: 2px; }
.gal-hook { font-family: var(--font-serif); font-size: 14px; margin-top: 9px; line-height: 1.6; }
.gal-tags {
  gap: 5px;
}
.gal-tag {
  padding: 3px 8px;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.gal-tag-seat-a { background: #e7f2ec; color: #2f6649; }
.gal-tag-seat-e { background: #e6eef8; color: #33567e; }
.gal-tag-classic { background: var(--paper-deep); color: var(--ink-soft); }
.gal-tag-nature { background: #e7f2ec; color: #2f6649; }
.gal-tag-history { background: #eef0f5; color: #4b5870; }
.gal-tag-industry { background: #fbe9df; color: #a6512f; }
.gal-tag-city { background: #eef0f5; color: #4b5870; }
.gal-tag-day { background: #fff2c7; color: #7b5716; }
.gal-tag-night { background: #20283b; color: #f4f7ff; }
.spot-card-stamp {
  flex: 0 0 auto;
  min-width: 96px;
}
.gal-stamp {
  min-width: 0;
  padding: 5px 9px;
  font-size: 11px;
  box-shadow: none;
  white-space: nowrap;
}
.gal-stamp.stamped {
  border-color: var(--accent);
  background: var(--accent);
}

/* ===== Footer ===== */
.footer {
  margin-top: 80px; padding: 46px 24px 60px;
  background: var(--night); color: rgba(255,255,255,0.75);
  text-align: center; font-size: 13px;
}
.footer-brand { font-weight: 700; color: #fff; letter-spacing: 0.1em; margin-bottom: 12px; }
.footer p { max-width: 520px; margin: 0 auto 8px; }
.footer-links a {
  color: rgba(255,255,255,0.86);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-credit { margin-top: 16px; font-family: var(--font-serif); color: var(--accent-soft); }

/* ===== References ===== */
.topbar-link {
  color: rgba(255,255,255,0.86);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 99px;
  padding: 7px 13px;
  white-space: nowrap;
}
.reference-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 86px 20px 30px;
  text-align: center;
}
.reference-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 6vw, 46px);
  line-height: 1.35;
}
.reference-hero p {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--ink-soft);
}
.reference-note {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 13px;
}
.reference-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 20px 12px;
}
.reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.reference-grid-single {
  max-width: 760px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}
.reference-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 18px 20px;
  box-shadow: 0 3px 12px rgba(22,32,46,0.06);
}
.reference-type {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}
.reference-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.45;
}
.reference-card p:not(.reference-type) {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.reference-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--night);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.reference-policy {
  max-width: 720px;
  margin: 52px auto 0;
  padding: 26px 20px 16px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.reference-policy h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 4.5vw, 30px);
}
.reference-policy p {
  margin: 12px auto 22px;
  color: var(--ink-soft);
}

/* ===== SEO / AI readable FAQ ===== */
.seo-faq {
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(250,247,239,0.92));
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.faq-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 18px;
  box-shadow: 0 3px 12px rgba(22,32,46,0.06);
}
.faq-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.45;
}
.faq-card p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}
.faq-card a {
  color: var(--night);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.faq-card code {
  padding: 2px 5px;
  border-radius: 5px;
  background: rgba(16,28,44,0.08);
  color: var(--night);
  font-size: 0.92em;
}

/* ===== Hero animation ===== */
.cloud { animation: drift linear infinite; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-1200px); } }
.train-move { animation: trainrun 14s linear infinite; }
@keyframes trainrun { from { transform: translateX(1250px); } to { transform: translateX(-450px); } }

/* ===== Photo hero（実写富士山） ===== */
.hero-photo-bg { position: absolute; inset: 0; }
.hero-photo-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-photo-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(16,28,44,0.72) 0%, rgba(16,28,44,0.35) 45%, rgba(16,28,44,0.78) 100%);
}
.hero-photo .hero-inner { padding: 44px 24px 34px; }

/* ===== Showcase（まず見える景色を見せる） ===== */
.showcase { padding: 46px 0 10px; }
.showcase .section-head { margin-bottom: 18px; padding: 0 20px; }
.showcase-rail {
  display: flex; gap: 14px; overflow-x: auto; padding: 4px 20px 18px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.show-card {
  display: block;
  flex: 0 0 250px; scroll-snap-align: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 3px 12px rgba(22,32,46,0.08); margin: 0;
  padding: 0; font: inherit; text-align: left; color: inherit; cursor: pointer; text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.show-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 28, 44, 0.26);
  box-shadow: var(--shadow);
}
.show-card:focus-visible {
  outline: 3px solid rgba(232,112,74,0.36);
  outline-offset: 3px;
}
.show-media { aspect-ratio: 2/1; overflow: hidden; }
.show-media img, .show-media svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.show-caption { display: block; padding: 11px 14px 14px; }
.show-card strong { display: block; font-size: 14px; }
.show-credit {
  display: block;
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.4;
  opacity: 0.82;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.show-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.show-caption > span { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 4px; line-height: 1.5; }
.show-guide-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
  text-underline-offset: 3px;
}
.show-guide-link:hover,
.show-guide-link:focus-visible {
  text-decoration: underline;
  outline: 0;
}
.show-card-cta {
  border-color: rgba(232,112,74,0.28);
  background: linear-gradient(180deg, #fff7f0 0%, #fff 100%);
  box-shadow: 0 5px 18px rgba(22,32,46,0.07);
}
.show-card-cta .show-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(232,112,74,0.13), rgba(125,155,192,0.18));
}
.show-cta-badge {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.2);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(232,112,74,0.18);
  transform: translateY(16px);
}
.show-cta-arrow {
  display: inline-block;
  font-size: 52px;
  line-height: 1;
  transform: translateX(2px);
}
.show-card-cta strong {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 0.04em;
}
.show-cta-count {
  color: rgba(255,255,255,0.92);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.show-card-cta .show-caption > span {
  color: var(--ink-soft);
  font-weight: 500;
}
.show-card-cta .show-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
/* ===== 乗車駅・列車選択 ===== */
.board-select {
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  padding: 11px 14px; font-size: 15px; font-family: inherit; width: 100%;
}
.train-results { margin: 14px 0 4px; display: flex; flex-direction: column; gap: 8px; }
.train-shift {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) auto minmax(92px, 1fr);
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}
.train-shift button {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
}
.train-shift button:not(:disabled):hover {
  border-color: var(--accent);
  color: var(--ink);
}
.train-shift button:disabled {
  opacity: 0.34;
  cursor: default;
}
.train-shift span {
  color: var(--ink-soft);
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.train-pick-note { font-size: 12px; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.08em; }
.train-none { font-size: 13px; color: var(--ink-soft); }
.train-chip {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 12px;
  padding: 12px 16px; font-size: 14px; transition: all 0.15s ease; text-align: left;
}
.train-chip strong { font-size: 15px; }
.train-chip span { color: var(--ink-soft); font-size: 13px; }
.train-chip:hover { border-color: var(--accent); }
.train-chip.active { background: var(--night); border-color: var(--night); color: #fff; }
.train-chip.active span { color: var(--accent-soft); }
.btn-wide-link { display: block; width: 100%; margin-top: 12px; text-align: center; }

@media (max-width: 540px) {
  .topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 5px 10px; }
  .brand { overflow: hidden; }
  .brand-mark { flex-shrink: 0; }
  .brand-name, .brand-name small, .brand-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .brand-name small, .brand-sub { letter-spacing: 0.08em; }
  .top-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 2px;
    scrollbar-width: none;
  }
  .top-nav::-webkit-scrollbar { display: none; }
  .top-nav a { padding: 4px 9px; font-size: 11px; }
  .lang-switch button { padding: 4px 9px; }
  .hero-inner { padding: 34px 18px 32px; }
  .hero-kicker { max-width: 300px; margin-left: auto; margin-right: auto; font-size: 9px; line-height: 1.9; letter-spacing: 0.16em; }
  .hero-title { font-size: clamp(28px, 8vw, 38px); }
  .hero-lead { margin-top: 12px; font-size: 13px; }
  .section { padding-top: 56px; }
  .spot-page-article { padding: 40px 18px 58px; }
  .spot-page-facts { grid-template-columns: 1fr 1fr; }
  .spot-page-photo-grid,
  .spot-page-related { grid-template-columns: 1fr; }
  .spot-page-actions { flex-direction: column; }
  .spot-page-actions .btn { width: 100%; }
  .nextup-count { font-size: 16px; }
  .tl-card { padding: 13px 14px; }
  .tl-card-main { gap: 10px; grid-template-columns: minmax(0, 1fr) 104px; }
  .tl-thumb { width: 104px; border-radius: 8px; }
  .spot-btn { padding: 6px 10px; font-size: 11.5px; }
  .spot-card-stamp { min-width: 86px; }
  .spot-modal-actions { gap: 8px; }
  .faq-grid { grid-template-columns: 1fr; }
  .medal-grid { gap: 8px; }
  .medal-card { width: min(100%, 82px); }
  .medal-icon { width: 64px; height: 64px; font-size: 25px; }
  .medal-title { font-size: 9.5px; }
  .medal-count { font-size: 11.5px; }
  .stamp-heading { margin-top: 10px; }
  .stampboard { grid-template-columns: repeat(auto-fill, 72px); gap: 9px; }
  .stamp { width: 72px; height: 72px; }
  .stamp .s-icon { font-size: 20px; }
  .stamp .s-name { font-size: 8.4px; }
}
@media (prefers-reduced-motion: reduce) {
  .cloud, .train-move, .nextup-pulse { animation: none; }
}
