/* Swiss travel-poster palette: sky gradient, cobalt type, white space, orange only as a spot colour */
:root {
  --page: #fff; --ink: #1f2a44; --muted: #5d7190; --line: #d9e7f2; --frame-line: #d9e7f2;
  --card: #fff; --soft: #eef6fb; --seg: #eef6fb; --seg-line: #cfe2f0; --seg-on: #fff; --dark: #2468e8; --dark-line: #2468e8;
  --dglass: rgba(36, 104, 232, .95); --glass: #fff; --glass-line: #cfe2f0;
  --pin: #fff; --pin-ink: #2468e8; --body: #33415e; --accent: #2468e8; --accent-soft: #dce8fd;
  --hot: #ef7a35; --hot-soft: #fde6d6; --sky-top: #2b98d4; --sky-bot: #bfe5f6;
  --shadow: 0 1px 0 rgba(31, 42, 68, .04); --shadow-up: 0 8px 22px rgba(31, 60, 120, .14);
  --r: 6px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--page); color: var(--ink); }
body { font-family: 'Inter Tight', 'Noto Sans JP', system-ui, sans-serif; display: flex; flex-direction: column; overflow: hidden; -webkit-font-smoothing: antialiased; letter-spacing: -.01em; height: 100dvh; }
button { font: inherit; color: inherit; letter-spacing: inherit; border: 0; background: none; cursor: pointer; padding: 0; text-align: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
svg { flex: none; }
[hidden] { display: none !important; }
.ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px 12px; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand i { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); flex: none; display: grid; place-items: center; }
.brand i svg { width: 16px; height: 16px; }
.brand b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.brand small { display: block; font-size: 11px; color: var(--muted); }
.brand small a, .foot a { color: var(--ink); font-weight: 600; text-decoration: none; }
.brand small a:hover, .foot a:hover { color: var(--accent); text-decoration: underline; }
.foot { flex: none; padding: 0 16px 9px; text-align: center; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.top-r { display: flex; align-items: center; gap: 10px; min-width: 0; }
.snd { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--seg); border: 1px solid var(--seg-line); color: var(--ink); }
.snd .off { display: none; }
.snd[aria-pressed="false"] { color: var(--muted); }
.snd[aria-pressed="false"] .on { display: none; }
.snd[aria-pressed="false"] .off { display: inline; }
.seg { display: flex; padding: 3px; border-radius: 999px; background: var(--seg); border: 1px solid var(--seg-line); }
.seg button { padding: 8px 15px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; min-height: 34px; }
.seg button[aria-pressed="true"] { background: var(--seg-on); color: var(--ink); box-shadow: 0 1px 5px rgba(39, 59, 49, .08); }
.lang button { padding: 8px 12px; }
.lang button[aria-pressed="true"] { background: var(--dark); color: #fff; }

/* Japanese: Latin tracking and uppercase don't suit kana, so relax them and keep lines from orphaning */
:lang(ja) body { letter-spacing: 0; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) h4 { letter-spacing: -.01em; text-wrap: balance; line-break: strict; word-break: auto-phrase; }
:lang(ja) .hero-text h1 { line-height: 1.15; font-weight: 400; }
:lang(ja) .eyebrow, :lang(ja) .pin.label { letter-spacing: .06em; }
:lang(ja) p, :lang(ja) li, :lang(ja) small { line-break: strict; }

/* frame */
.frame { position: relative; flex: 1; min-height: 0; margin: 0 14px 7px; border-radius: 28px; border: 1px solid var(--frame-line); overflow: hidden; background: var(--sky, linear-gradient(180deg, #a9c8dc, #e8eef0)); isolation: isolate; transition: background 1s; }
.stage { position: absolute; inset: 0; visibility: hidden; }
.stage canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.frame[data-view="route"] #mapHost { visibility: visible; }
#pins { position: absolute; inset: 0; pointer-events: none; z-index: 4; overflow: hidden; }
.frame:not([data-view="route"]) #pins { display: none; }
.panel { position: absolute; z-index: 6; }
.view-route { display: none !important; }
.frame[data-view="route"] .view-route { display: flex !important; }

.dglass { background: var(--dglass); border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow-up); backdrop-filter: blur(20px) saturate(1.1); -webkit-backdrop-filter: blur(20px) saturate(1.1); color: #f7faf5; }
.glass { background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow-up); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2); }
.dpill { height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .19); background: rgba(255, 255, 255, .04); font-size: 11.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: #f7faf5; text-decoration: none; }
.dpill:hover { background: rgba(255, 255, 255, .1); }
.dpill[aria-pressed="true"] { background: rgba(255, 255, 255, .2); }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* time bar: a thin track with a round thumb, the day's key moments marked under it */
.timebar { right: 18px; top: 18px; align-items: center; gap: 9px; padding: 6px 14px 6px 7px; border-radius: 999px; }
.play { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f7faf5; color: var(--ink); }
.play .pause { display: none; }
.play[aria-pressed="true"] .pause { display: inline; }
.play[aria-pressed="true"] .go-i { display: none; }
.tslide { display: grid; gap: 1px; width: 300px; padding-top: 4px; }
#tRange { --p: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; background: transparent; cursor: grab; touch-action: none; }
#tRange:active { cursor: grabbing; }
#tRange::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, #f7faf5 var(--p), rgba(255, 255, 255, .22) var(--p)); }
#tRange::-moz-range-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, #f7faf5 var(--p), rgba(255, 255, 255, .22) var(--p)); }
#tRange::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7.5px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .35); transition: transform .15s; }
#tRange::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
#tRange:active::-webkit-slider-thumb { transform: scale(1.18); }
#tRange:focus-visible { outline: none; }
#tRange:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(36, 104, 232, .55); }
.tmarks { position: relative; height: 17px; margin: 0 9px; color: rgba(247, 250, 245, .72); }
.tmarks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-variant-numeric: tabular-nums; }
.tmarks svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tmarks .first { transform: translateX(-9px); }
.tmarks .rt { transform: translateX(calc(-100% + 7px)); }
#pins.compact .pin.stop span { display: none; }
#pins.compact .pin.stop { padding: 0 4px; }
#pins.compact .pin.stop.active span { display: inline; }
#pins.compact .pin.stop.active { padding: 0 12px 0 4px; }
#pins.compact .pin.stop.r.active { padding: 0 4px 0 12px; }
.ttime { min-width: 42px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: #f7faf5; text-align: right; }
.status { right: 18px; top: 74px; max-width: 360px; padding: 8px 14px 8px 10px; border-radius: 999px; align-items: center; gap: 9px; font-size: 12px; line-height: 1.3; }
.status i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.status b { font-weight: 600; }
.status span { color: #d3dcd4; }

.toolbar { right: 18px; bottom: 18px; align-items: center; gap: 6px; padding: 7px; border-radius: 999px; }
.sq { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.sq:hover { background: rgba(255, 255, 255, .1); }
.tsep { width: 1px; height: 20px; margin: 0 2px; background: rgba(255, 255, 255, .18); }

/* left column */
.side { left: 18px; top: 18px; bottom: 18px; width: 296px; flex-direction: column; gap: 12px; pointer-events: none; }
.side > * { pointer-events: auto; }
.dark-card { padding: 18px 20px; border-radius: 26px; background: var(--dark); border: 1px solid var(--dark-line); box-shadow: var(--shadow); color: #f7faf5; }
.dark-card .eyebrow { color: #f4a08e; }
.dark-card h2 { margin: 10px 0 8px; font-size: 21px; line-height: 1.14; font-weight: 600; letter-spacing: -.03em; }
.dark-card p { margin: 0; font-size: 12.5px; line-height: 1.45; color: #d3dcd4; }
.dark-card .dpill { margin-top: 12px; }
.list-card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); padding: 14px 8px 8px; min-height: 0; display: flex; flex-direction: column; flex: 1; }
.lh { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0 12px 8px; }
.lh b { font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.lh small { font-size: 11px; color: var(--muted); text-align: right; }
.stops { list-style: none; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #d4dad3 transparent; }
.stops button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; min-height: 44px; border-radius: 14px; font-size: 13px; }
.stops button:hover { background: var(--soft); }
.stops button[aria-pressed="true"] { background: var(--accent-soft); }
.stops .nm { flex: 1; min-width: 0; line-height: 1.2; }
.stops .nm small { display: block; margin-top: 1px; font-size: 11px; font-weight: 500; color: var(--muted); }
.stops b { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.dot { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: #fff; font-size: 11px; font-weight: 600; }
.dot.t { background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.stops .now .dot { background: var(--accent); }
.season { margin: 6px 6px 0; padding: 10px 6px 4px; border-top: 1px solid var(--line); }
.season small { display: block; padding: 0 4px 7px; font-size: 11px; color: var(--muted); }

/* pins */
.pin { position: absolute; left: 0; top: 0; pointer-events: auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 11px; font-weight: 600; color: var(--pin-ink); background: var(--pin);
  border: 1px solid rgba(255, 255, 255, .95); box-shadow: 0 0 0 5px rgba(255, 255, 255, .28), 0 6px 14px rgba(30, 50, 35, .18); will-change: transform; cursor: pointer; }
.pin.active { background: var(--accent); color: #fff; }
.pin.stop { width: auto; height: 32px; padding: 0 12px 0 4px; gap: 7px; display: inline-flex; align-items: center; border-radius: 999px; white-space: nowrap; font-size: 11.5px; color: var(--ink); }
.pin.stop i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--dark); color: #fff; font-style: normal; font-size: 10.5px; }
.pin.stop.r { flex-direction: row-reverse; padding: 0 4px 0 12px; }
.pin.stop.active { color: #fff; }
.pin.stop.active i { background: #fff; color: var(--accent); }
.pin.far { width: auto; height: 30px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; background: var(--dglass); color: #f7faf5; border-color: rgba(255, 255, 255, .25); white-space: nowrap; font-size: 11.5px; }
.pin.far em { font-style: normal; opacity: .7; font-weight: 500; }
.pin.bus { width: 34px; height: 34px; background: var(--accent); color: #fff; border: 2px solid #fff; box-shadow: 0 6px 14px rgba(30, 50, 35, .3); cursor: default; z-index: 2; }
.pin.bus svg { width: 18px; height: 18px; }
/* map lettering: spaced capitals in cream, lifted off the relief by a dark halo */
.pin.label { width: auto; height: auto; padding: 4px 6px; background: none; border: 0; box-shadow: none; color: var(--ink); text-transform: uppercase; letter-spacing: .2em; font-weight: 700; font-size: 11px; white-space: nowrap; cursor: default; pointer-events: none;
  text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 8px rgba(255, 255, 255, .9), 0 0 14px rgba(255, 255, 255, .6); }
.pin.label.peak { font-size: 12px; font-weight: 600; letter-spacing: .24em; text-align: center; line-height: 1.5; }
.pin.label.peak em { display: block; font-style: normal; font-size: 10px; letter-spacing: .12em; font-weight: 500; }
.pin.label.lake { font-family: Georgia, 'Times New Roman', serif; font-style: italic; text-transform: none; letter-spacing: .06em; font-size: 14px; font-weight: 600; color: #1d58c4; }

/* place card */
.card { right: 18px; top: 124px; width: 290px; max-height: calc(100% - 200px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 12px; border-radius: 24px; z-index: 7; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .25s, transform .25s; }
.card.show { opacity: 1; transform: none; pointer-events: auto; }
.card .h { display: flex; align-items: center; gap: 11px; padding: 3px 32px 8px 4px; }
.num { flex: none; min-width: 32px; height: 32px; padding: 0 6px; border-radius: 999px; background: var(--dark); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.card h4 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.card small { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 15px; margin-top: 2px; background: var(--soft); }
.card p { margin: 8px 4px 4px; font-size: 12.5px; line-height: 1.42; color: var(--body); }
.card .tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 4px 0; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tag.hot { background: var(--accent-soft); border-color: transparent; color: #a8361f; }
.links { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 4px 4px; }
.links a, .links button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.links > :first-child { background: var(--dark); color: #fff; }
.links > * + * { border: 1px solid var(--seg-line); color: var(--ink); background: var(--card); }
.close { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--card); }
.credit { font-size: 10.5px; color: var(--muted); margin: 6px 4px 0; }
.credit a { color: inherit; }

/* pages */
.page { position: absolute; inset: 0; z-index: 9; background: var(--page); overflow-y: auto; display: none; }
.frame[data-view="overview"] #overview, .frame[data-view="plan"] #plan, .frame[data-view="budget"] #budget, .frame[data-view="details"] #details { display: block; }
.hero { position: relative; height: min(68vh, 620px); min-height: 380px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 15, .62), rgba(10, 18, 15, .12) 62%), linear-gradient(0deg, rgba(10, 18, 15, .35), transparent 40%); }
.hero-text { position: absolute; left: 44px; bottom: 40px; z-index: 1; color: #fff; max-width: 640px; }
.hero-text .eyebrow { color: #fbdcd5; }
.hero-text h1 { margin: 12px 0 22px; font-size: clamp(36px, 5.2vw, 68px); line-height: 1.02; font-weight: 300; letter-spacing: -.035em; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.btn.acc { background: var(--accent); color: #fff; }
.btn.acc:hover { background: #d94c34; }
.btn.wht { background: #fff; color: var(--ink); }
.btn.line { border: 1px solid var(--seg-line); color: var(--ink); background: var(--card); }
.btn.line:hover { background: var(--soft); }
.stats { display: grid; grid-template-columns: max-content repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.stats > div { padding: 18px 22px; border-right: 1px solid var(--line); }
.stats > div:last-child { border: 0; }
.stats small { display: block; font-size: 11px; color: var(--muted); }
.stats b { display: block; margin-top: 5px; font-size: 15px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stats > div:first-child b { color: var(--accent); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; padding: 28px; align-items: stretch; }
.split-img { border-radius: 22px; overflow: hidden; min-height: 340px; }
.split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-text { display: flex; flex-direction: column; justify-content: center; }
.split-text .eyebrow { color: var(--accent); }
.split-text h2 { margin: 10px 0 16px; font-size: clamp(26px, 3vw, 38px); line-height: 1.08; font-weight: 300; letter-spacing: -.03em; }
.go { display: flex; gap: 14px; align-items: flex-start; padding: 14px 4px; border-top: 1px solid var(--line); width: 100%; }
.go:hover b { color: var(--accent); }
.go i { font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); padding-top: 3px; }
.go b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.go small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.fine { font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.fine a { color: inherit; }
#overview .fine { padding: 14px 28px 24px; margin: 0; }
.life-head { padding: 22px 28px 14px; border-top: 1px solid var(--line); }
.life-head .eyebrow { color: var(--accent); }
.life-head h2 { margin: 8px 0 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.08; font-weight: 300; letter-spacing: -.03em; }
.life { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 10px; padding: 0 28px; }
.life button { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 16px; background: var(--soft); }
.life button:nth-child(1) { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.life button:nth-child(4) { grid-column: 3 / span 2; grid-row: 2 / span 2; }
.life img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.life button:hover img { transform: scale(1.03); }
.life span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 13px 11px; background: linear-gradient(0deg, rgba(10, 18, 15, .78), rgba(10, 18, 15, 0)); color: #fff; text-align: left; }
.life b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
.life small { display: block; margin-top: 1px; font-size: 11.5px; opacity: .88; }
.life em { position: absolute; top: 10px; left: 10px; height: 24px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); font-style: normal; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.inseason { margin: 18px 28px 0; display: flex; align-items: center; gap: 18px; justify-content: space-between; flex-wrap: wrap; }
.inseason h3 { margin: 6px 0 4px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.lb { width: min(960px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 22px; overflow: auto; background: var(--card); color: var(--ink); }
.lb::backdrop { background: rgba(10, 18, 15, .68); }
.lb img { display: block; width: 100%; max-height: 66dvh; object-fit: contain; background: #10140f; }
.lb .close { z-index: 1; }
.lb-t { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 13px 16px; }
.lb-t b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.lb-t small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.lb-t small a { color: inherit; }
.lb-t .links { margin: 0; }

/* details */
.dt { max-width: 860px; margin: 0 auto; padding: 34px 28px 40px; }
.dt .eyebrow { color: var(--accent); }
.dt h2 { margin: 26px 0 12px; font-size: 24px; font-weight: 400; letter-spacing: -.03em; }
.dt .eyebrow + h2 { margin-top: 8px; }
.tbl { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.tbl > * { display: grid; grid-template-columns: 90px 1.2fr 1.6fr; gap: 12px; width: 100%; padding: 12px 16px; font-size: 13.5px; border-top: 1px solid var(--line); align-items: center; }
.tbl > *:first-child { border-top: 0; }
.tbl .th { font-size: 11px; color: var(--muted); background: var(--soft); }
.tbl .tm { font-weight: 600; font-variant-numeric: tabular-nums; }
.tbl .mut { color: var(--muted); font-size: 12.5px; }
.facts { margin: 0; border: 1px solid var(--line); border-radius: 18px; }
.facts > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13.5px; }
.facts > div:first-child { border-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; text-align: right; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inc { border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.inc h5 { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.inc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13.5px; }
.inc li { display: flex; gap: 8px; align-items: flex-start; }
.inc li svg { width: 15px; height: 15px; margin-top: 2px; }
.inc.yes svg { color: #3f8a5a; }
.inc.no svg { color: var(--accent); }
.notes { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.55; color: var(--body); }
.notes li { margin-bottom: 7px; }
.notes a { color: var(--ink); }

/* day plan */
.pl { max-width: 980px; margin: 0 auto; padding: 30px 28px 40px; }
.pl > .eyebrow { color: var(--accent); }
.pl > h2 { margin: 8px 0 18px; font-size: clamp(26px, 3vw, 36px); line-height: 1.08; font-weight: 300; letter-spacing: -.03em; }
.plbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 22px; margin-bottom: 18px; }
.plbar label { display: grid; gap: 6px; font-size: 11px; font-weight: 600; color: var(--muted); }
.plbar input[type="date"] { height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--seg-line); background: var(--seg); font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); }
.plbar .sp { flex: 1; }
.plnote { display: flex; flex-wrap: wrap; gap: 6px; margin: -6px 0 18px; }
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl > li { display: grid; grid-template-columns: 64px 26px minmax(0, 1fr); gap: 0 14px; position: relative; }
.tl > li::before { content: ""; position: absolute; left: 90px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.tl > li:first-child::before { top: 18px; }
.tl > li:last-child::before { bottom: auto; height: 18px; }
.tl .tt { padding-top: 10px; text-align: right; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tl .tt small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.tl .dot { position: relative; z-index: 1; margin-top: 6px; box-shadow: 0 0 0 5px #fff; }
.tl .dot.t { background: #fff; }
.tl .body { padding: 6px 0 22px; min-width: 0; }
.tl .stopc { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding: 10px; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); background: var(--card); }
.tl .stopc img { width: 100%; height: 100%; min-height: 130px; max-height: 170px; object-fit: cover; border-radius: 14px; display: block; }
.tl h4 { margin: 4px 0 2px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.tl .sub { font-size: 12px; color: var(--muted); }
.tl p { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--body); }
.tl p.nt { font-size: 12px; color: var(--muted); }
.tl .tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tl .plain h4 { margin-top: 8px; }
.tl .drive { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); padding: 0 0 14px; }
.tl .drive svg { width: 15px; height: 15px; }
.tl li.drv .tt { padding-top: 0; }
.tl li.drv .dot { visibility: hidden; height: 0; margin: 0; }
.menu { margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; max-width: 420px; }
.menu > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; font-size: 12.5px; border-top: 1px solid var(--line); }
.menu > div:first-child { border-top: 0; }
.menu dd { color: var(--ink); }
.tl .mlink { margin-top: 10px; }

/* cost planner */
.ln { max-width: 1040px; margin: 0 auto; padding: 30px 28px 34px; }
.ln > .eyebrow { color: var(--accent); }
.ln > h2 { margin: 8px 0 20px; font-size: clamp(26px, 3vw, 36px); line-height: 1.08; font-weight: 300; letter-spacing: -.03em; }
.ln-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 14px; align-items: start; }
.ln-in { grid-row: span 2; border: 1px solid var(--line); border-radius: 24px; padding: 6px 22px; }
.fld { padding: 18px 0; border-top: 1px solid var(--line); }
.fld:first-child { border-top: 0; }
.fld .lab { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.fld .lab b { font-weight: 600; color: var(--accent); }
.fld small { display: block; margin-top: 9px; font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.steps { display: flex; gap: 10px; flex-wrap: wrap; }
.stepper { flex: 1 1 180px; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 54px; padding: 0 6px 0 16px; border: 1px solid var(--seg-line); border-radius: 15px; background: var(--seg); }
.stepper span { font-size: 12.5px; font-weight: 600; color: var(--muted); line-height: 1.2; }
.stepper span small { margin: 0; font-size: 11px; font-weight: 500; }
.stepper div { display: flex; align-items: center; gap: 4px; }
.stepper output { min-width: 28px; text-align: center; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid var(--seg-line); display: grid; place-items: center; font-size: 18px; line-height: 1; }
.stepper button:hover { border-color: var(--accent); color: var(--accent); }
.stepper button:disabled { opacity: .35; cursor: default; border-color: var(--seg-line); color: inherit; }
.numf { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 16px; border: 1px solid var(--seg-line); border-radius: 15px; background: var(--seg); transition: border-color .15s, box-shadow .15s, background .15s; }
.numf:focus-within { background: var(--card); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(36, 104, 232, .16); }
.numf span { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.numf input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chips button { min-height: 32px; padding: 0 11px; border: 1px solid var(--seg-line); border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; background: var(--card); }
.chips button:hover { background: var(--soft); }
.chips button[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.chips button em { font-style: normal; font-weight: 500; opacity: .75; margin-left: 4px; }
.chips button:disabled { opacity: .45; cursor: default; }
.ln-out { background: var(--dark); color: #f7faf5; border-radius: 24px; padding: 22px 24px; }
.ln-out > small { font-size: 12px; color: #c2cec3; }
.ln-out .big { margin-top: 3px; font-size: clamp(38px, 4.6vw, 54px); line-height: 1.02; font-weight: 300; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ln-out p { margin: 8px 0 0; font-size: 12.5px; line-height: 1.45; color: #d3dcd4; }
.stack { display: flex; height: 8px; margin: 16px 0 6px; border-radius: 999px; overflow: hidden; gap: 2px; }
.stack i { display: block; height: 100%; transition: width .3s; }
#barT { background: #f7faf5; }
#barC { background: #f0846d; }
.ln-out dl, .ln-up dl { margin: 0; }
.ln-out dl > div, .ln-up dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 0; font-size: 13px; }
.ln-out dl > div { border-top: 1px solid rgba(255, 255, 255, .11); }
.ln-out dl > div:first-child { border-top: 0; }
.ln-out dt { display: flex; align-items: center; gap: 7px; color: #d3dcd4; }
.ln-out dt i { width: 8px; height: 8px; border-radius: 50%; }
.ln-out dt i.p { background: #f7faf5; }
.ln-out dt i.r { background: #f0846d; }
dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ln-up { border: 1px solid var(--line); border-radius: 24px; padding: 18px 22px 14px; }
.ln-up h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.ln-up dl > div { border-top: 1px solid var(--line); }
.ln-up dl > div:first-child { border-top: 0; }
.ln-up dt { color: var(--body); }
.ln-up .tot { font-size: 15px; }
.ln-up .tot dt { color: var(--ink); font-weight: 600; }
.ln-up .fine { margin: 6px 0 0; }
.ln-note { margin: 14px 2px 0; }

.loading { position: absolute; inset: 0; display: grid; place-items: center; z-index: 8; background: #e4ecef; color: #233f47; font-size: 12.5px; }
.frame:not([data-view="route"]) > .loading { display: none; }

/* tablet + phone */
@media (max-width: 1100px) {
  .side { width: 260px; }
  .tslide { width: 240px; }
}
@media (max-width: 1040px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats > div:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .stats > div:first-child b { margin: 0; font-size: 19px; }
}
@media (max-width: 900px) {
  .frame[data-view="route"] .dark-card { display: none !important; }
  .tl .stopc { grid-template-columns: 1fr; }
  .tl .stopc img { max-height: 200px; }
}
@media (max-width: 760px) {
  .top { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 10px 8px; }
  .tabs { overflow-x: auto; scrollbar-width: none; }
  .tabs button { flex: 1 0 auto; padding: 8px 10px; text-align: center; }
  .top-r { display: contents; }
  .brand { padding-right: 150px; }
  .brand > div { min-width: 0; }
  .brand b { overflow: hidden; text-overflow: ellipsis; }
  .lang { position: absolute; top: 12px; right: 58px; }
  .lang button { min-height: 32px; padding: 6px 10px; }
  .snd { position: absolute; top: 10px; right: 10px; }
  .frame { margin: 0 6px 5px; border-radius: 20px; }
  .foot { padding-bottom: 6px; }
  .side { left: 8px; right: 8px; top: auto; bottom: 60px; width: auto; max-height: 38%; gap: 6px; }
  .list-card { padding: 10px 6px 6px; }
  .season { display: none; }
  .timebar { right: 8px; left: 8px; top: 8px; padding-right: 12px; }
  .tslide { width: auto; flex: 1; min-width: 0; }
  .tmarks em { display: none; }
  .status { left: 8px; right: 8px; top: 64px; bottom: auto; max-width: none; border-radius: 16px; }
  .toolbar { right: 8px; bottom: 8px; left: 8px; justify-content: center; }
  .card { left: 8px; right: 8px; width: auto; top: 108px; max-height: calc(100% - 180px); overflow-y: auto; }
  .card img { aspect-ratio: 21/9; }
  .pin.stop { height: 28px; font-size: 10.5px; padding-right: 9px; }
  .pin.stop i { width: 20px; height: 20px; font-size: 9.5px; }
  .pin.stop span { display: none; }
  .pin.stop.active span { display: inline; }
  .hero { height: 62vh; min-height: 320px; }
  .hero-text { left: 20px; right: 20px; bottom: 22px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 13px 16px; border-bottom: 1px solid var(--line); }
  .stats > div:first-child { flex-direction: column; gap: 4px; }
  .stats > div:nth-child(3), .stats > div:nth-child(5) { border-right: 0; }
  .stats b { white-space: normal; }
  .split { grid-template-columns: 1fr; padding: 18px; }
  .split-img { min-height: 220px; }
  .life-head { padding: 18px 18px 12px; }
  .life { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; padding: 0 18px; }
  .life button:nth-child(1), .life button:nth-child(4) { grid-column: span 2; grid-row: span 1; }
  .life button:nth-child(1) { grid-row: span 2; }
  .inseason { margin: 14px 18px 0; }
  #overview .fine { padding-left: 18px; padding-right: 18px; }
  .dt, .pl { padding: 22px 16px 30px; }
  .ln { padding: 22px 14px 26px; }
  .ln-grid { grid-template-columns: minmax(0, 1fr); }
  .ln-in { grid-row: auto; padding: 2px 16px; }
  .ln-out { order: -1; }
  .ln-up { padding: 16px; }
  .tbl > * { grid-template-columns: 56px 1fr; padding: 11px 12px; font-size: 12.5px; }
  .tbl > * > :nth-child(3) { grid-column: 2; }
  .tbl .th > :nth-child(3) { display: none; }
  .facts > div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
  .two { grid-template-columns: 1fr; }
  .tl > li { grid-template-columns: 46px 26px minmax(0, 1fr); gap: 0 10px; }
  .tl > li::before { left: 68px; }
  .tl .tt { font-size: 12.5px; }
  .plbar .sp { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---------- poster theme ---------- */
/* flat surfaces: tight corners, hairline rules, no frosted glass */
.frame { border-radius: 14px; }
.seg { border-radius: var(--r); }
.seg button { border-radius: 4px; font-weight: 700; }
.seg button[aria-pressed="true"] { background: var(--accent); color: #fff; box-shadow: none; }
.lang button[aria-pressed="true"] { background: var(--ink); }
.snd, .brand i { border-radius: var(--r); }
.brand i { background: var(--accent); }
.brand b { font-weight: 800; }
.dglass, .glass { backdrop-filter: none; -webkit-backdrop-filter: none; }
.timebar, .status, .toolbar { border-radius: var(--r); }
.dpill, .btn, .links a, .links button, .chips button, .tag, .stepper button, .play, .sq, .close { border-radius: 4px; }
.dark-card { border-radius: 10px; border: 0; }
.dark-card h2 { font-weight: 800; letter-spacing: -.035em; }
.dark-card p { color: #e1ebff; }
.dark-card .eyebrow { color: #c8eafa; }
.list-card, .card, .ln-in, .ln-up, .ln-out, .tbl, .facts, .inc, .plbar, .tl .stopc, .menu { border-radius: 10px; box-shadow: none; }
.card { box-shadow: var(--shadow-up); }
.card img, .tl .stopc img, .life button, .split-img, .numf, .stepper, .q { border-radius: 6px; }
.stops button { border-radius: 6px; }
.dot, .num, .pin.stop i { border-radius: 4px; }
.pin.stop, .pin.far { border-radius: 6px; }
.pin { box-shadow: 0 4px 12px rgba(31, 60, 120, .2); }
.pin.bus { background: var(--hot); border-radius: 6px; box-shadow: 0 6px 14px rgba(31, 42, 68, .3); }
.status i { background: var(--hot); border-radius: 2px; box-shadow: none; }
.status span { color: #dbe7ff; }
#tRange::-webkit-slider-thumb { border-color: var(--hot); border-radius: 4px; }
#tRange::-moz-range-thumb { border-color: var(--hot); border-radius: 4px; }
.tmarks { color: rgba(255, 255, 255, .85); }
.play { color: var(--accent); }
.tag.hot { background: var(--hot-soft); color: #a94510; }
.stops .now .dot { background: var(--hot); }
.chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }

/* type: heavy grotesk headings, cobalt captions in sentence case like the poster's */
.eyebrow { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 700; color: var(--accent); }
:lang(ja) .eyebrow { letter-spacing: 0; }
.split-text h2, .life-head h2, .pl > h2, .ln > h2 { font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.dt h2 { font-weight: 800; letter-spacing: -.035em; }
.tl h4, .card h4, .lb-t b { font-weight: 800; }
.stats small { color: var(--accent); font-weight: 700; }
.stats b { font-weight: 800; }
.stats > div:first-child b { color: var(--accent); }
.go b { font-weight: 800; }
.go i { color: var(--accent); }
.life span { background: linear-gradient(0deg, rgba(18, 48, 112, .8), rgba(18, 48, 112, 0)); }
.life em { border-radius: 4px; color: var(--accent); font-weight: 700; }
.ln-out .big { font-weight: 800; letter-spacing: -.05em; }
.ln-out > small, .ln-out dt { color: #dbe7ff; }
.ln-out p { color: #e8f0ff; }
.ln-out h5 { color: #c8eafa; }
.ln-out dl > div { border-top-color: rgba(255, 255, 255, .2); }
#barT { background: #fff; }
#barC, .ln-out dt i.r { background: var(--hot); }
.inc.no svg { color: var(--hot); }

/* poster hero: sky, a giant white title, three spread captions, giant cobalt kanji */
.poster-sky { position: relative; height: min(78vh, 720px); min-height: 440px; overflow: hidden; background: linear-gradient(180deg, var(--sky-top), var(--sky-top) 42%, var(--sky-bot) 82%, #fff); }
.poster-sky img { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 76%; object-fit: cover; object-position: 50% 60%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 34%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 34%, #000 86%, transparent); }
.poster-title { position: relative; z-index: 1; margin: 0; padding: 22px 26px 0; color: #fff; font-size: clamp(72px, 24.5vw, 330px); line-height: .8; font-weight: 800; letter-spacing: -.045em; text-transform: uppercase; white-space: nowrap; }
.poster-sub { position: relative; z-index: 1; padding: 12px 32px; color: #fff; font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; }
.poster-tri { display: flex; justify-content: space-between; gap: 12px; padding: 16px 32px 8px; color: var(--accent); font-weight: 700; font-size: 15px; }
.poster-foot { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; padding: 8px 32px 30px; align-items: end; }
.poster-kana { margin: 0; color: var(--accent); font-family: 'Noto Sans JP', sans-serif; font-weight: 700; font-size: clamp(88px, 14vw, 200px); line-height: 1; letter-spacing: -.02em; }
.poster-side { display: grid; gap: 16px; justify-items: start; padding-bottom: 10px; }
.poster-side p { margin: 0; color: var(--accent); font-weight: 700; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.25; max-width: 22ch; }
.poster-side .pg { justify-self: end; color: var(--accent); font-weight: 800; font-size: 13px; }
:lang(ja) .poster-title { letter-spacing: .02em; }
:lang(ja) .poster-kana { font-family: 'Inter Tight', sans-serif; font-weight: 800; letter-spacing: -.05em; line-height: .86; }
@media (max-width: 760px) {
  .poster-sky { height: 64vh; min-height: 380px; }
  .poster-title { padding: 16px 14px 0; }
  .poster-sub { padding: 8px 18px; }
  .poster-tri { padding: 14px 18px 6px; font-size: 13px; }
  .poster-foot { grid-template-columns: 1fr; gap: 10px; padding: 4px 18px 22px; }
  .poster-side p { max-width: none; }
}
