:root {
  --forest: #173f35;
  --forest-2: #235d4d;
  --vermillion: #ce4a32;
  --gold: #c39a56;
  --sea: #2f6f78;
  --ink: #19211f;
  --muted: #65706c;
  --paper: #f2f1ea;
  --paper-2: #e8e7de;
  --surface: #fbfaf5;
  --line: #d5d4cb;
  --white: #fffef9;
  --success: #267356;
  --warning: #a7562e;
  --danger: #a33b32;
  --shadow-1: 0 8px 24px rgba(25, 33, 31, .08);
  --shadow-2: 0 18px 50px rgba(25, 33, 31, .16);
  --radius: 6px;
  --space: 1;
  --motion: 260ms cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  transition: background var(--motion), color var(--motion);
}
html.is-dark {
  --ink: #f2f0e8;
  --muted: #a7aea9;
  --paper: #171c1a;
  --paper-2: #222826;
  --surface: #202623;
  --line: #39413d;
  --white: #f6f3e8;
  --shadow-1: 0 8px 24px rgba(0, 0, 0, .24);
  --shadow-2: 0 18px 50px rgba(0, 0, 0, .38);
  color-scheme: dark;
}
button, input { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; stroke-width: 1.8; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10000; padding: 10px 14px; background: var(--surface); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.hero {
  position: relative;
  min-height: min(760px, 86svh);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: #254e43;
}
.hero-photo { position: absolute; inset: 0; z-index: -3; background: url("assets/hero-sunset.webp") 52% 46% / cover no-repeat; transform: scale(1.02); animation: heroIn 1.1s ease-out both; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(11, 25, 21, .22) 0%, rgba(11, 25, 21, .08) 30%, rgba(11, 25, 21, .78) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 45, 37, .38), transparent 65%); mix-blend-mode: multiply; }
.topbar { height: 72px; padding: max(14px, env(safe-area-inset-top)) 20px 0; display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; }
.wordmark { width: 44px; height: 44px; display: grid; place-content: center; text-decoration: none; border: 1px solid rgba(255,255,255,.55); font-size: 11px; line-height: 1; }
.wordmark span, .wordmark b { display: block; }
.wordmark b { margin-top: 3px; color: #f2c069; font-weight: 700; }
.trip-progress { justify-self: center; display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 700; }
.progress-line { width: 58px; height: 1px; background: rgba(255,255,255,.4); overflow: hidden; }
.progress-line i { display: block; width: 20%; height: 100%; background: #f2c069; }
.icon-button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; display: inline-grid; place-items: center; cursor: pointer; transition: transform var(--motion), background var(--motion), border-color var(--motion); }
.icon-button:hover { background: var(--paper-2); }
.icon-button:active { transform: scale(.94); }
.icon-button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid color-mix(in srgb, var(--gold) 70%, white); outline-offset: 2px; }
.icon-button.small { width: 40px; height: 40px; }
.share-button { justify-self: end; border-color: rgba(255,255,255,.55); color: #fff; background: rgba(12,31,25,.12); backdrop-filter: blur(12px); }
.share-button:hover { background: rgba(12,31,25,.35); }
.hero-content { position: absolute; left: 20px; right: 20px; bottom: max(76px, calc(env(safe-area-inset-bottom) + 64px)); max-width: 780px; }
.eyebrow, .kicker { margin: 0 0 10px; font-size: 11px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.eyebrow { color: #f2c069; }
.hero h1 { margin: 0; font-family: "Songti SC", "STSong", serif; font-size: 68px; line-height: .92; font-weight: 700; text-wrap: balance; }
.hero h1 span { font-style: italic; font-weight: 400; }
.hero-copy { max-width: 520px; margin: 20px 0 18px; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.9); text-wrap: pretty; }
.route-lockup { display: flex; align-items: center; gap: 7px; font-size: 12px; flex-wrap: wrap; }
.route-lockup svg { width: 14px; height: 14px; color: #f2c069; }
.route-lockup span { opacity: .68; }
.route-lockup strong { font-weight: 700; }
.hero-scroll { position: absolute; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); color: #fff; background: rgba(11,25,21,.16); display: grid; place-items: center; cursor: pointer; animation: bob 2s ease-in-out infinite; }

.audit-strip { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; max-width: 900px; margin: 0 auto; padding: 18px 20px; color: #fff8ec; background: var(--warning); }
.audit-icon { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; }
.audit-strip b { font-size: 14px; }
.audit-strip p { margin: 2px 0 0; font-size: 12px; opacity: .82; text-wrap: pretty; }
.text-button { min-height: 44px; padding: 0 8px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }

main { width: min(100%, 900px); margin: 0 auto; padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
.view { padding: calc(32px * var(--space)) 20px 24px; animation: viewIn var(--motion) both; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: calc(24px * var(--space)); }
.section-heading.compact { margin: 0 0 16px; }
.section-heading h2, .section-heading h3 { margin: 0; font-family: "Songti SC", "STSong", serif; line-height: 1.08; }
.section-heading h2 { font-size: 32px; }
.section-heading h3 { font-size: 24px; }
.kicker { color: var(--vermillion); }
.mode-pill { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; display: flex; gap: 8px; align-items: center; cursor: pointer; white-space: nowrap; }
.mode-pill svg { width: 17px; height: 17px; color: var(--forest-2); }
.data-stamp { font-size: 11px; color: var(--muted); }

.date-rail { display: flex; gap: 6px; overflow-x: auto; margin: 0 -20px 22px; padding: 2px 20px 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.date-rail::-webkit-scrollbar { display: none; }
.date-chip { flex: 0 0 58px; min-height: 70px; border: 1px solid var(--line); border-radius: var(--radius); background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; scroll-snap-align: center; transition: background var(--motion), color var(--motion), transform var(--motion); }
.date-chip small { font-size: 10px; color: var(--muted); }
.date-chip b { margin-top: 3px; font-size: 20px; font-weight: 650; }
.date-chip span { margin-top: 2px; font-size: 9px; color: var(--muted); }
.date-chip.is-active { background: var(--forest); color: #fff; border-color: var(--forest); transform: translateY(-2px); }
.date-chip.is-active small, .date-chip.is-active span { color: rgba(255,255,255,.64); }

.day-hero { position: relative; min-height: 210px; margin: 0 -20px; padding: 26px 20px; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; background: var(--forest); }
.day-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--day-photo) 50% 50% / cover no-repeat; }
.day-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(11,21,18,.08), rgba(11,21,18,.82)); }
.day-hero > * { position: relative; z-index: 1; }
.day-number { position: absolute; right: 18px; top: 12px; font-family: "Songti SC", serif; font-size: 58px; font-style: italic; opacity: .36; }
.day-hero .kicker { color: #f2c069; }
.day-hero h3 { max-width: 520px; margin: 0; font-size: 31px; line-height: 1.08; text-wrap: balance; }
.day-hero p { max-width: 590px; margin: 10px 0 0; font-size: 13px; color: rgba(255,255,255,.76); }
.day-weather { position: absolute; top: 18px; left: 20px; display: inline-flex; gap: 7px; align-items: center; padding: 7px 9px; border: 1px solid rgba(255,255,255,.4); font-size: 10px; background: rgba(15,31,26,.18); backdrop-filter: blur(8px); }
.day-weather svg { width: 15px; height: 15px; }
.day-summary { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-top: 0; background: var(--surface); }
.day-summary div { min-width: 0; padding: 13px 12px; border-right: 1px solid var(--line); }
.day-summary div:last-child { border-right: 0; }
.day-summary small { display: block; font-size: 9px; color: var(--muted); }
.day-summary strong { display: block; margin-top: 3px; font-size: 12px; overflow-wrap: anywhere; }
.weather-impact { margin: 12px 0 0; padding: 14px; display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: #f5fbfa; background: var(--sea); border-radius: var(--radius); animation: viewIn var(--motion) both; }
.weather-impact > svg { width: 21px; height: 21px; }
.weather-impact b { display: block; font-size: 12px; }
.weather-impact p { margin: 3px 0 0; color: rgba(255,255,255,.74); font-size: 11px; text-wrap: pretty; }

.traveler-split { margin: 24px 0 4px; padding: 18px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.traveler-split-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.traveler-split-head .kicker { margin-bottom: 4px; }
.traveler-split-head h4 { margin: 0; font-family: "Songti SC", serif; font-size: 21px; }
.traveler-split-head > span { flex: 0 0 auto; color: var(--muted); font-size: 9px; }
.traveler-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.traveler-card { position: relative; min-width: 0; min-height: 146px; padding: 13px 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--surface); display: grid; grid-template-columns: 56px 1fr; gap: 7px; align-items: end; text-align: left; cursor: pointer; overflow: hidden; transition: transform var(--motion), border-color var(--motion), background var(--motion); }
.traveler-card:hover { transform: translateY(-2px); }
.traveler-card.is-active { border-color: var(--vermillion); background: color-mix(in srgb, var(--vermillion) 7%, var(--surface)); box-shadow: inset 0 0 0 1px var(--vermillion); }
.traveler-card > svg { position: absolute; top: 10px; right: 9px; width: 15px; height: 15px; color: var(--muted); }
.traveler-card-copy { min-width: 0; align-self: center; }
.traveler-card-copy small, .traveler-card-copy strong, .traveler-card-copy b, .traveler-card-copy > span { display: block; }
.traveler-card-copy small { color: var(--muted); font-size: 8px; }
.traveler-card-copy strong { margin-top: 2px; font-family: "Songti SC", serif; font-size: 18px; }
.traveler-card-copy b { margin-top: 4px; color: var(--vermillion); font-size: 11px; }
.traveler-card-copy > span { margin-top: 2px; color: var(--muted); font-size: 9px; }

.traveler-figure { --skin: #d9a17e; --hair: #282522; --shirt: var(--vermillion); position: relative; display: inline-block; width: 56px; height: 82px; flex: 0 0 56px; }
.traveler-figure i { position: absolute; display: block; }
.figure-hair { z-index: 1; left: 11px; top: 5px; width: 34px; height: 38px; border-radius: 52% 52% 42% 42%; background: var(--hair); }
.figure-face { z-index: 2; left: 17px; top: 12px; width: 23px; height: 27px; border-radius: 48% 48% 44% 44%; background: var(--skin); box-shadow: inset 0 -2px rgba(105,56,38,.08); }
.figure-face::before { content: ""; position: absolute; left: 5px; top: 11px; width: 2px; height: 2px; border-radius: 50%; background: #3b2c27; box-shadow: 10px 0 #3b2c27; }
.figure-face::after { content: ""; position: absolute; left: 9px; bottom: 5px; width: 6px; height: 2px; border-bottom: 1px solid rgba(102,45,39,.72); border-radius: 50%; }
.figure-neck { z-index: 1; left: 25px; top: 36px; width: 8px; height: 9px; background: var(--skin); }
.figure-body { z-index: 2; left: 13px; top: 43px; width: 31px; height: 30px; border-radius: 9px 9px 4px 4px; background: var(--shirt); }
.figure-arm { z-index: 1; top: 46px; width: 7px; height: 25px; border-radius: 8px; background: var(--skin); }
.arm-left { left: 8px; transform: rotate(8deg); }
.arm-right { right: 7px; transform: rotate(-8deg); }
.figure-leg { z-index: 1; top: 69px; width: 8px; height: 13px; border-radius: 0 0 5px 5px; background: #263c38; }
.leg-left { left: 18px; }
.leg-right { left: 32px; }
.figure-bag { z-index: 3; right: 0; top: 55px; width: 13px; height: 17px; border: 1px solid rgba(25,33,31,.35); border-radius: 3px; background: var(--gold); }
.figure-bag::before { content: ""; position: absolute; left: 3px; top: -5px; width: 5px; height: 5px; border: 1px solid currentColor; border-bottom: 0; border-radius: 3px 3px 0 0; }
.traveler-dawang { --hair: #54372f; --shirt: var(--vermillion); }
.traveler-dawang .figure-hair { height: 49px; border-radius: 50% 50% 36% 36%; box-shadow: -3px 8px 0 -1px var(--hair), 3px 8px 0 -1px var(--hair); }
.traveler-dawang .figure-body { clip-path: polygon(16% 0,84% 0,100% 100%,0 100%); }
.traveler-johnny { --hair: #334640; --shirt: var(--sea); }
.traveler-johnny .figure-hair { top: 6px; height: 18px; border-radius: 55% 55% 28% 28%; transform: rotate(-4deg); }
.traveler-johnny .figure-body { border-radius: 5px 5px 3px 3px; }
.traveler-figure.is-compact { width: 30px; height: 30px; flex-basis: 30px; overflow: hidden; border-radius: 50%; background: color-mix(in srgb, var(--shirt) 16%, var(--surface)); }
.traveler-figure.is-compact .figure-hair { left: 4px; top: 2px; width: 22px; height: 24px; }
.traveler-figure.is-compact .figure-face { left: 8px; top: 7px; width: 15px; height: 18px; }
.traveler-figure.is-compact .figure-face::before { left: 3px; top: 7px; box-shadow: 7px 0 #3b2c27; }
.traveler-figure.is-compact .figure-face::after { left: 6px; bottom: 3px; width: 4px; }
.traveler-figure.is-compact .figure-neck, .traveler-figure.is-compact .figure-body, .traveler-figure.is-compact .figure-arm, .traveler-figure.is-compact .figure-leg, .traveler-figure.is-compact .figure-bag { display: none; }
.traveler-figure.is-compact.traveler-johnny .figure-hair { height: 12px; }

.timeline { margin-top: calc(24px * var(--space)); }
.timeline-event { position: relative; display: grid; grid-template-columns: 58px 20px 1fr; gap: 10px; min-height: 104px; }
.event-time { padding-top: 2px; font-size: 12px; font-weight: 750; color: var(--muted); font-variant-numeric: tabular-nums; }
.event-rail { position: relative; display: flex; justify-content: center; }
.event-rail::before { content: ""; position: absolute; top: 12px; bottom: -2px; width: 1px; background: var(--line); }
.timeline-event:last-child .event-rail::before { display: none; }
.event-dot { position: relative; z-index: 1; width: 9px; height: 9px; margin-top: 7px; border-radius: 50%; background: var(--paper); border: 2px solid var(--forest-2); box-shadow: 0 0 0 4px var(--paper); }
.event-body { min-width: 0; padding: 0 0 calc(24px * var(--space)); border-bottom: 1px solid var(--line); }
.timeline-event:last-child .event-body { border-bottom: 0; }
.event-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.event-heading { min-width: 0; }
.traveler-event-tag { width: max-content; margin-bottom: 5px; padding-right: 8px; border-radius: 999px; display: flex; align-items: center; gap: 5px; color: var(--muted); background: var(--paper-2); font-size: 9px; font-weight: 800; }
.traveler-event-tag .traveler-figure { margin-left: 0; }
.traveler-event-dawang .event-dot { border-color: var(--vermillion); }
.traveler-event-johnny .event-dot { border-color: var(--sea); }
.event-title { margin: 0; font-size: 17px; font-weight: 750; line-height: 1.35; text-wrap: pretty; }
.event-body p { margin: 6px 0 10px; font-size: 13px; color: var(--muted); text-wrap: pretty; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.event-meta span { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; color: var(--muted); }
.event-meta svg { width: 13px; height: 13px; }
.save-button { flex: 0 0 44px; width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; color: var(--muted); cursor: pointer; }
.save-button svg { width: 19px; height: 19px; }
.save-button.is-saved { color: var(--vermillion); }
.save-button.is-saved svg { fill: currentColor; }
.day-note { margin-top: 10px; padding: 16px; display: grid; grid-template-columns: 28px 1fr; gap: 10px; background: color-mix(in srgb, var(--gold) 17%, var(--surface)); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--line)); }
.day-note svg { color: var(--warning); }
.day-note b { display: block; margin-bottom: 3px; font-size: 13px; }
.day-note p { margin: 0; font-size: 12px; color: var(--muted); }
.day-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.action-button { min-height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-size: 12px; font-weight: 750; cursor: pointer; }
.action-button.primary { color: #fff; background: var(--forest); border-color: var(--forest); }
.action-button svg { width: 17px; height: 17px; }

.island-map { position: relative; height: 590px; margin: 0 -20px; overflow: hidden; background: #dce8e6; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
body.is-dark .island-map { background: #1d302d; }
.map-watermark { position: absolute; top: 32px; right: -8px; color: rgba(23,63,53,.08); font-family: "Songti SC", serif; font-size: 52px; font-weight: 700; writing-mode: vertical-rl; }
body.is-dark .map-watermark { color: rgba(255,255,255,.06); }
.island-shape { position: absolute; width: 220px; height: 500px; left: 50%; top: 30px; transform: translateX(-50%) rotate(4deg); background: #b8c7a7; clip-path: polygon(47% 0, 61% 4%, 67% 11%, 59% 18%, 67% 26%, 62% 34%, 71% 43%, 64% 51%, 70% 61%, 61% 70%, 66% 79%, 55% 89%, 54% 100%, 40% 96%, 35% 87%, 27% 82%, 33% 71%, 25% 62%, 31% 54%, 23% 43%, 30% 34%, 27% 24%, 38% 16%, 35% 8%); box-shadow: inset -14px -14px 0 rgba(23,63,53,.08); }
body.is-dark .island-shape { background: #4d6656; }
.map-path { position: absolute; left: calc(50% - 2px); top: 108px; width: 2px; height: 366px; border-left: 2px dashed rgba(206,74,50,.65); transform: rotate(3deg); }
.map-pin { position: absolute; z-index: 2; min-height: 56px; border: 0; background: transparent; display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 9px; align-items: center; text-align: left; cursor: pointer; }
.map-pin > span { grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--forest); border: 4px solid rgba(255,255,255,.78); box-shadow: var(--shadow-1); font-size: 11px; font-weight: 800; }
.map-pin b { align-self: end; font-size: 12px; }
.map-pin small { align-self: start; font-size: 9px; color: var(--muted); }
.map-pin:hover > span, .map-pin:focus-visible > span { background: var(--vermillion); transform: scale(1.05); }
.pin-north { left: calc(50% - 142px); top: 56px; }
.pin-airport { left: calc(50% + 6px); top: 278px; }
.pin-airport > span { background: var(--sea); }
.pin-airport svg { width: 16px; height: 16px; }
.pin-south { left: calc(50% - 144px); top: 422px; }
.pin-sunset { left: calc(50% + 4px); top: 488px; }
.pin-sunset > span { background: var(--vermillion); outline: 2px solid rgba(206,74,50,.35); outline-offset: 3px; }
.map-scale { position: absolute; left: 20px; bottom: 18px; max-width: 180px; font-size: 9px; color: var(--muted); }
.map-scale i { display: block; width: 70px; height: 4px; margin-bottom: 6px; border-left: 1px solid currentColor; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.map-legend { display: flex; gap: 18px; padding: 14px 0 26px; font-size: 10px; color: var(--muted); }
.map-legend span { display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-solid { background: var(--forest); }
.dot-ring { border: 2px solid var(--vermillion); }
.dot-route { border-radius: 0; height: 1px; width: 16px; border-top: 1px dashed var(--vermillion); }

.hotel-gallery { display: grid; gap: 14px; }
.hotel-card { position: relative; min-height: 300px; overflow: hidden; color: #fff; background: var(--forest); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.hotel-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hotel-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,18,.03), rgba(10,22,18,.82)); }
.hotel-copy { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 17px; }
.hotel-index { position: absolute; top: 15px; left: 16px; z-index: 1; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.6); display: grid; place-items: center; font-size: 10px; backdrop-filter: blur(8px); }
.hotel-status { position: absolute; top: 15px; right: 16px; z-index: 1; min-height: 30px; padding: 5px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; background: rgba(17,38,31,.7); font-size: 9px; backdrop-filter: blur(8px); }
.hotel-status.is-flexible { color: #fff6dc; background: rgba(167,86,46,.84); }
.hotel-copy p { margin: 0 0 5px; color: #f2c069; font-size: 10px; font-weight: 800; }
.hotel-copy h3 { margin: 0; max-width: 80%; font-family: "Songti SC", serif; font-size: 24px; line-height: 1.15; }
.hotel-copy small { display: block; margin-top: 7px; color: rgba(255,255,255,.72); }
.hotel-tools { display: flex; gap: 8px; margin-top: 13px; }
.hotel-tools button, .hotel-tools a { min-height: 40px; padding: 0 11px; border: 1px solid rgba(255,255,255,.38); border-radius: var(--radius); color: #fff; background: rgba(18,40,33,.35); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 10px; cursor: pointer; backdrop-filter: blur(8px); }
.hotel-tools svg { width: 15px; height: 15px; }
.stay-pick { margin-top: 40px; }
.stay-intro { margin: -4px 0 14px; max-width: 660px; color: var(--muted); font-size: 12px; text-wrap: pretty; }
.saigon-pick { padding: 22px 18px 4px; background: var(--surface); border: 1px solid var(--line); }
.saigon-pick .stay-option:last-child { border-bottom: 0; }
.stay-options { display: grid; gap: 10px; }
.stay-option { padding: 18px 0; display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; border-top: 1px solid var(--line); }
.stay-option:last-child { border-bottom: 1px solid var(--line); }
.stay-grade { width: 48px; height: 48px; border: 1px solid var(--line); display: grid; place-items: center; font-family: "Songti SC", serif; font-size: 20px; color: var(--vermillion); }
.stay-option h4 { margin: 0; font-size: 15px; }
.stay-option p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.stay-option a { width: 44px; height: 44px; display: grid; place-items: center; }
.saigon-option { grid-template-columns: 48px minmax(0, 1fr) auto; }
.saigon-option small { display: block; margin-bottom: 2px; color: var(--vermillion); font-size: 9px; font-weight: 800; }
.stay-option-actions { display: flex; align-items: center; }
.stay-option-actions a { width: 40px; height: 44px; }
.stay-option-actions svg { width: 16px; height: 16px; }

.completion { min-width: 62px; font-size: 12px; font-weight: 800; color: var(--muted); text-align: right; }
.completion-bar { height: 5px; margin: -10px 0 30px; background: var(--paper-2); overflow: hidden; }
.completion-bar i { display: block; width: 0; height: 100%; background: var(--vermillion); transition: width 400ms ease; }
.check-group { margin: 0 0 28px; }
.check-group h3 { margin: 0 0 8px; font-size: 12px; color: var(--muted); }
.check-item { min-height: 52px; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; border-bottom: 1px solid var(--line); }
.check-item input { position: absolute; opacity: 0; pointer-events: none; }
.check-mark { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background var(--motion), border-color var(--motion); }
.check-mark svg { width: 14px; height: 14px; opacity: 0; color: #fff; transform: scale(.6); transition: opacity var(--motion), transform var(--motion); }
.check-item input:checked + .check-mark { background: var(--success); border-color: var(--success); }
.check-item input:checked + .check-mark svg { opacity: 1; transform: scale(1); }
.check-item input:checked ~ .check-label { color: var(--muted); text-decoration: line-through; }
.check-label { padding: 12px 4px; cursor: pointer; font-size: 14px; text-wrap: pretty; }
.delete-item { width: 40px; height: 40px; border: 0; background: transparent; display: grid; place-items: center; color: var(--muted); cursor: pointer; opacity: .55; }
.delete-item svg { width: 16px; height: 16px; }
.add-item { display: grid; grid-template-columns: 1fr 48px; gap: 8px; margin: 28px 0; }
.add-item input { min-width: 0; height: 48px; padding: 0 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.document-note { padding: 18px; display: grid; grid-template-columns: 28px 1fr; gap: 11px; color: var(--ink); background: color-mix(in srgb, var(--vermillion) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--vermillion) 32%, var(--line)); }
.document-note > svg { color: var(--vermillion); }
.document-note b { font-size: 13px; }
.document-note p { margin: 5px 0 10px; color: var(--muted); font-size: 12px; text-wrap: pretty; }
.document-note a { grid-column: 2; display: inline-flex; align-items: center; gap: 5px; color: var(--vermillion); font-size: 12px; font-weight: 800; }
.document-note a svg { width: 14px; height: 14px; }

.utility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.utility-card { min-height: 150px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.utility-card > svg { color: var(--forest-2); }
.utility-card h3 { margin: 18px 0 6px; font-size: 14px; }
.utility-card p { margin: 0; font-size: 11px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.utility-card a { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; color: var(--vermillion); font-size: 10px; font-weight: 750; }
.utility-card a svg { width: 13px; height: 13px; }
.hanoi-calculator { margin: 38px -20px 0; padding: 28px 20px; color: #fff; background: var(--forest); }
.calc-head .kicker { color: #f2c069; }
.calc-head h3 { margin: 0; max-width: 520px; font-family: "Songti SC", serif; font-size: 29px; line-height: 1.12; }
.calc-head p { margin: 10px 0 22px; max-width: 620px; font-size: 12px; color: rgba(255,255,255,.67); }
.traveler-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.traveler-picker button { min-width: 0; min-height: 54px; padding: 6px 10px 6px 7px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); color: rgba(255,255,255,.66); background: transparent; display: flex; align-items: center; gap: 8px; text-align: left; cursor: pointer; }
.traveler-picker button.is-active { color: #fff; border-color: #f2c069; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px #f2c069; }
.traveler-picker button span:not(.traveler-figure) { min-width: 0; }
.traveler-picker button b, .traveler-picker button small { display: block; }
.traveler-picker button b { font-size: 12px; }
.traveler-picker button small { color: inherit; opacity: .65; font-size: 9px; }
.traveler-picker .traveler-figure.is-compact { --surface: #f6f3e8; }
.traveler-departure { min-height: 108px; margin: 12px 0 0; padding: 12px 16px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); display: grid; grid-template-columns: 66px 1fr; gap: 14px; align-items: center; }
.traveler-departure .traveler-figure { transform: scale(.78); transform-origin: center; }
.traveler-departure small, .traveler-departure strong, .traveler-departure span { display: block; }
.traveler-departure small { color: rgba(255,255,255,.56); font-size: 9px; }
.traveler-departure strong { margin-top: 2px; color: #f2c069; font-size: 24px; }
.traveler-departure span { margin-top: 1px; color: rgba(255,255,255,.72); font-size: 11px; }
.time-entry { display: grid; grid-template-columns: 1fr 118px; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.time-entry label { font-size: 12px; }
.time-entry input { width: 118px; height: 44px; padding: 0 10px; border: 1px solid rgba(255,255,255,.32); border-radius: var(--radius); color: #fff; background: rgba(255,255,255,.08); }
.time-result { display: grid; grid-template-columns: 1fr 30px 1fr; align-items: center; gap: 8px; margin: 22px 0; }
.time-result > div { min-width: 0; }
.time-result small { display: block; font-size: 9px; color: rgba(255,255,255,.58); }
.time-result strong { display: block; margin-top: 2px; font-family: "Avenir Next", sans-serif; font-size: 28px; font-variant-numeric: tabular-nums; }
.time-result > svg { width: 18px; opacity: .45; }
.hanoi-route { display: flex; align-items: center; gap: 4px; overflow-x: auto; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.18); font-size: 10px; white-space: nowrap; scrollbar-width: none; }
.hanoi-route svg { flex: 0 0 auto; width: 13px; color: #f2c069; }
.calc-warning { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; margin: 14px 0 0; font-size: 10px; color: rgba(255,255,255,.64); }
.calc-warning svg { width: 16px; height: 16px; color: #f2c069; }
.saved-section { margin-top: 36px; }
.saved-list { display: grid; gap: 8px; }
.saved-item { min-height: 60px; padding: 10px 0; display: grid; grid-template-columns: 36px 1fr 44px; gap: 10px; align-items: center; border-top: 1px solid var(--line); }
.saved-item:last-child { border-bottom: 1px solid var(--line); }
.saved-item > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--vermillion); font-size: 11px; font-weight: 800; }
.saved-item b { display: block; font-size: 13px; }
.saved-item small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.saved-empty { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: center; }

.bottom-nav { position: fixed; z-index: 100; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 900px); height: calc(72px + env(safe-area-inset-bottom)); padding: 6px 12px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px rgba(25,33,31,.06); }
.nav-item { min-width: 0; height: 58px; border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); cursor: pointer; }
.nav-item svg { width: 20px; height: 20px; }
.nav-item span { font-size: 10px; }
.nav-item.is-active { color: var(--vermillion); }
.nav-item.is-active svg { stroke-width: 2.3; }

.tweaks-toggle { position: static; z-index: auto; min-width: 0; height: 58px; padding: 0; border: 0; border-radius: 0; color: var(--muted); background: transparent; box-shadow: none; backdrop-filter: none; cursor: pointer; }
.tweaks-toggle svg { width: 20px; height: 20px; }
.tweaks-toggle[aria-expanded="true"] { color: var(--vermillion); }
.tweaks-panel { position: fixed; z-index: 121; right: 14px; bottom: calc(80px + env(safe-area-inset-bottom)); width: min(310px, calc(100vw - 28px)); padding: 17px; color: #f8f5ec; background: rgba(24,32,29,.96); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; box-shadow: var(--shadow-2); backdrop-filter: blur(22px); transform-origin: bottom right; animation: panelIn var(--motion) both; pointer-events: auto; visibility: visible; }
.tweaks-panel[hidden] { display: none !important; pointer-events: none !important; visibility: hidden; }
.tw-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tw-head b { font-size: 12px; }
.tw-head .icon-button { border-color: rgba(255,255,255,.12); }
.tw-row { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.09); }
.tw-row > span { font-size: 11px; color: rgba(255,255,255,.62); }
.segmented { display: flex; padding: 2px; background: rgba(255,255,255,.07); border-radius: 999px; }
.segmented button { min-width: 52px; height: 32px; padding: 0 10px; border: 0; border-radius: 999px; color: rgba(255,255,255,.52); background: transparent; font-size: 10px; cursor: pointer; }
.segmented button.is-active { color: #17241f; background: #fffef9; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.segmented button[data-weather="rain"].is-active { color: #fff; background: var(--sea); }
.switch { position: relative; width: 44px; height: 24px; border: 0; border-radius: 999px; background: rgba(255,255,255,.16); cursor: pointer; }
.switch i { position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform var(--motion); }
.switch[aria-checked="true"] { background: var(--vermillion); }
.switch[aria-checked="true"] i { transform: translateX(20px); }

.sheet-backdrop { position: fixed; inset: 0; z-index: 199; background: rgba(9,16,14,.56); backdrop-filter: blur(3px); }
.detail-sheet { position: fixed; z-index: 200; inset: auto 0 0; width: min(100%, 680px); max-height: min(82svh, 760px); margin: 0 auto; padding: 36px 20px calc(26px + env(safe-area-inset-bottom)); color: var(--ink); background: var(--surface); border: 0; border-radius: 8px 8px 0 0; box-shadow: var(--shadow-2); overflow-y: auto; }
.detail-sheet[open] { animation: sheetIn 320ms cubic-bezier(.2,.9,.2,1) both; }
.detail-sheet::backdrop { background: transparent; }
.sheet-handle { position: absolute; top: 10px; left: 50%; width: 44px; height: 4px; transform: translateX(-50%); border-radius: 999px; background: var(--line); }
.sheet-close { position: absolute; top: 18px; right: 16px; }
.sheet-title { margin: 0 50px 8px 0; font-family: "Songti SC", serif; font-size: 27px; line-height: 1.15; }
.sheet-lead { margin: 0 46px 22px 0; color: var(--muted); font-size: 13px; }
.sheet-list { margin: 0; padding: 0; list-style: none; }
.sheet-list li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 13px; }
.sheet-list li b { display: block; margin-bottom: 3px; }
.sheet-list li p { margin: 0; color: var(--muted); }
.sheet-list a { display: inline-flex; align-items: center; gap: 5px; color: var(--vermillion); overflow-wrap: anywhere; }
.share-link-box { display: grid; grid-template-columns: 1fr 44px; gap: 8px; margin: 20px 0 0; }
.share-link-box input { min-width: 0; height: 44px; padding: 0 11px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-size: 11px; }
.share-link-box .icon-button { width: 44px; height: 44px; }
.share-actions { margin-top: 10px; }
.share-feedback { min-height: 20px; margin: 8px 0 0; color: var(--success); font-size: 11px; }
.action-button:disabled { cursor: wait; opacity: .58; }
.wechat-share-tip { margin-top: 18px; padding: 14px; display: grid; grid-template-columns: 24px 1fr; gap: 9px; color: var(--ink); background: color-mix(in srgb, var(--sea) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--sea) 35%, var(--line)); }
.wechat-share-tip > svg { width: 19px; color: var(--sea); }
.wechat-share-tip b { display: block; font-size: 12px; }
.wechat-share-tip p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); max-width: calc(100vw - 40px); padding: 11px 15px; transform: translate(-50%, 20px); border-radius: 999px; color: #fff; background: rgba(24,32,29,.94); box-shadow: var(--shadow-1); font-size: 11px; opacity: 0; pointer-events: none; transition: opacity var(--motion), transform var(--motion); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

body[data-density="compact"] { --space: .72; }
body[data-weather="rain"] .day-weather { background: rgba(47,111,120,.72); }
@keyframes heroIn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1.02); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: translateY(0); } }

@media (min-width: 720px) {
  .hero { min-height: min(820px, 88svh); }
  .topbar, .hero-content { left: 50%; right: auto; width: min(calc(100% - 80px), 900px); transform: translateX(-50%); }
  .topbar { position: absolute; top: 0; padding-left: 0; padding-right: 0; }
  .hero h1 { font-size: 96px; }
  .hero-copy { font-size: 19px; }
  .hero-scroll { right: max(40px, calc((100vw - 900px) / 2)); }
  .audit-strip { margin-top: -1px; }
  .view { padding-left: 36px; padding-right: 36px; }
  .day-hero, .hanoi-calculator { margin-left: 0; margin-right: 0; border-radius: var(--radius); }
  .day-summary { border-top: 1px solid var(--line); margin-top: 10px; }
  .island-map { margin: 0; border: 1px solid var(--line); }
  .hotel-gallery { grid-template-columns: 1fr 1fr; }
  .hotel-card:first-child { grid-column: span 2; min-height: 370px; }
  .utility-grid { grid-template-columns: repeat(4, 1fr); }
  .tweaks-panel { right: calc((100vw - 900px) / 2 + 18px); }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 58px; }
  .hero-copy { font-size: 15px; }
  .audit-strip { grid-template-columns: 38px 1fr; }
  .audit-strip .text-button { grid-column: 2; justify-self: start; min-height: 32px; }
  .section-heading h2 { font-size: 28px; }
  .map-pin { transform: scale(.92); transform-origin: left center; }
  .saigon-pick { padding-left: 14px; padding-right: 14px; }
  .saigon-option { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 10px; }
  .saigon-option .stay-grade { width: 40px; height: 40px; font-size: 15px; }
  .stay-option-actions { flex-direction: column; }
  .stay-option-actions a { width: 40px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
