/* ════════════════════════════════════════════════════════════════
   Family Travel Guide — "Cinematic Minimalism × Bento" design system
   Obsidian dark · brutalist display type · glassmorphism · terracotta+reef
   Display: Anton + Noto Sans TC 900 · Body: Inter Tight + Noto Sans TC
   ════════════════════════════════════════════════════════════════ */

:root {
  --bg: #0f0f0f;
  --bg-2: #161618;
  --tile: #1e1e22;   /* lifted vs bg for clearer card separation */
  --tile-hi: #28282d;
  --line: rgba(244,244,245,.16);  /* brighter borders = crisper UI */
  --ice: #fafafa;
  --ice-dim: #e9e9ee;   /* Wei: 比白稍暗一點點就好 — greys must never blend into bg */
  --ice-faint: #cfcfd8;
  --terra: #e25a3a;          /* outback terracotta */
  --terra-deep: #c2401f;
  --reef: #38c8e8;           /* bioluminescent reef blue */
  --glass: rgba(24,24,27,.55);
  --glass-edge: rgba(244,244,245,.14);
  --r: 22px;                 /* bento radius */
  --disp: "Anton", "Noto Sans TC", sans-serif;
  --tc-disp: "Noto Sans TC", sans-serif; /* weight 900 for CJK display */
  --body: "Inter Tight", "Noto Sans TC", sans-serif;
  --sans-tc: "Noto Sans TC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ice);
  font-family: var(--body); font-size: 16px; line-height: 1.75;
  overflow-x: hidden;
}
::selection { background: var(--terra); color: #fff; }

/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay; /* lighter grain = cleaner, brighter */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── custom cursor (fine pointers only) ── */
@media (pointer: fine) {
  body { cursor: none; }
  a, button, input, .tile { cursor: none; }
  #cursor {
    position: fixed; z-index: 9500; pointer-events: none;
    width: 22px; height: 22px; border-radius: 50%;
    border: 1.5px solid var(--ice); opacity: .85;
    transform: translate(-50%, -50%);
    transition: width .25s, height .25s, background .25s, opacity .25s;
    mix-blend-mode: difference;
  }
  #cursor.hot { width: 52px; height: 52px; background: rgba(244,244,245,.12); }
}
@media (pointer: coarse) { #cursor { display: none; } }

/* ════════════════ live weather bar (very top) ════════════════ */
.wx-bar {
  background: linear-gradient(180deg, #101418, #0f0f0f);
  border-bottom: 1px solid var(--line);
}
.wx-now {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  max-width: 1180px; margin: 0 auto; padding: 10px 16px;
  cursor: pointer; user-select: none;
}
.wx-city-tabs { display: flex; gap: 4px; }
.wx-city {
  font-family: var(--sans-tc); font-size: 11.5px; color: var(--ice-faint);
  background: rgba(244,244,245,.05); border: 1px solid var(--line);
  border-radius: 99px; padding: 4px 12px; cursor: pointer;
}
.wx-city.on { color: var(--ice); background: rgba(56,200,232,.14); border-color: rgba(56,200,232,.4); }
.wx-cur { font-family: var(--disp); font-size: 18px; color: var(--ice); letter-spacing: .02em; }
.wx-meta { font-family: var(--sans-tc); font-weight: 300; font-size: 12px; color: var(--ice-dim); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wx-caret { color: var(--ice-faint); font-size: 12px; }
.wx-week {
  display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap;
  max-width: 1180px; margin: 0 auto;
  max-height: 0; opacity: 0; overflow-y: hidden; padding: 0 16px;
  transition: max-height .45s cubic-bezier(.3,.9,.25,1), opacity .35s, padding .35s;
}
.wx-week::-webkit-scrollbar { display: none; }
.wx-week.open { max-height: 300px; opacity: 1; padding: 4px 16px 14px; }
.wx-day {
  flex: 0 0 108px; text-align: center; font-family: var(--sans-tc);
  background: var(--tile); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 8px;
}
.wx-day .wd-name { font-weight: 700; font-size: 12.5px; color: var(--ice); }
.wx-day .wd-date { font-weight: 300; font-size: 10.5px; color: var(--ice-faint); }
.wx-day .wd-ic { font-size: 24px; margin: 5px 0 3px; }
.wx-day .wd-t { font-size: 12.5px; color: var(--ice-dim); margin-bottom: 5px; }
.wx-day .wd-t b { color: var(--ice); font-weight: 700; }
.wx-day .wd-x { font-weight: 300; font-size: 10.5px; color: var(--ice-dim); line-height: 1.7; }
.wx-day .wd-x2 { font-weight: 300; font-size: 10px; color: var(--ice-faint); margin-top: 3px; }
.wx-sun { flex: 0 0 auto; align-self: center; font-family: var(--sans-tc); font-weight: 300; font-size: 11.5px; color: var(--ice-dim); padding: 0 8px; }

/* ════════════════ floating glass nav pill ════════════════ */
.navpill {
  position: fixed; top: 14px; left: 50%; z-index: 900;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px;
  background: var(--glass); backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--glass-edge); border-radius: 99px;
  padding: 6px; transition: transform .45s cubic-bezier(.3,.9,.25,1), opacity .35s;
}
.navpill.hidden { transform: translate(-50%, -130%); opacity: 0; }
.navpill a {
  text-decoration: none; color: var(--ice-dim);
  font-family: var(--sans-tc); font-size: 12.5px; letter-spacing: .12em;
  padding: 7px 16px; border-radius: 99px; white-space: nowrap;
  transition: color .25s, background .25s;
}
.navpill a.on, .navpill a:hover { color: var(--ice); background: rgba(244,244,245,.1); }

/* ════════════════ cinematic hero ════════════════ */
.hero {
  position: relative; min-height: 86svh;
  display: flex; align-items: flex-end;
  overflow: hidden; border-radius: 0 0 28px 28px;
  background: var(--bg-2);
}
.hero-bg { position: absolute; inset: -6%; z-index: 0; }
.hero-bg .sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(110% 80% at 75% 0%, #2b3947 0%, transparent 60%),
    radial-gradient(130% 90% at 15% 8%, #3b2f33 0%, transparent 55%),
    linear-gradient(180deg, #16181d 0%, #1d2733 46%, #0d3742 78%, #062a36 100%);
  animation: skyDrift 26s ease-in-out infinite alternate;
}
.hero-bg .sun {
  position: absolute; top: 12%; right: 14%;
  width: 30vmin; height: 30vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,196,128,.9), rgba(226,90,58,.45) 55%, transparent 72%);
  filter: blur(6px); animation: sunPulse 12s ease-in-out infinite alternate;
}
.hero-bg .sea {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  background:
    repeating-linear-gradient(176deg, rgba(56,200,232,.13) 0 2px, transparent 2px 26px),
    linear-gradient(180deg, rgba(56,200,232,.22), rgba(6,42,54,.9));
  mask-image: linear-gradient(180deg, transparent, #000 30%);
  animation: seaShimmer 9s linear infinite;
}
@keyframes skyDrift { to { transform: translate3d(2.5%, -1.5%, 0) scale(1.05); } }
@keyframes sunPulse { to { transform: scale(1.12); filter: blur(9px); } }
@keyframes seaShimmer { to { background-position: 0 64px, 0 0; } }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,15,15,.3), transparent 35%, rgba(10,10,10,.9) 94%); }
.hero-photo {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  animation: heroKb 28s ease-in-out infinite alternate;
}
@keyframes heroKb { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, 1%); } }
@media (prefers-reduced-motion: reduce) { .hero-photo { animation: none; } }

/* day gallery — swipeable, snap, labelled slides */
.day-gal { margin: 18px 0 4px; position: relative; }
.gal-track {
  display: flex; gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide {
  flex: 0 0 100%; scroll-snap-align: center; position: relative;
  aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r);
  border: 1px solid var(--line); margin: 0;
}
.gal-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.02); transition: transform 6s ease;
}
@media (hover:hover) { .gal-slide:hover img { transform: scale(1.1); } }
.gal-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(15,15,15,.55));
}
.gal-slide figcaption {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-family: var(--sans-tc); font-weight: 500; font-size: 13px; color: var(--ice);
  background: rgba(15,15,15,.45); backdrop-filter: blur(8px);
  border: 1px solid var(--glass-edge); border-radius: 99px; padding: 6px 14px;
}
.gal-dots { display: flex; justify-content: center; gap: 7px; margin-top: 10px; }
.gal-dots span {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(244,244,245,.22);
  transition: all .3s;
}
.gal-dots span.on { background: var(--terra); width: 18px; border-radius: 99px; }

.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: 0 auto; padding: 120px 22px 56px; }
.hero .kicker {
  font-family: var(--body); font-weight: 500; font-size: 11.5px;
  letter-spacing: .5em; text-transform: uppercase; color: var(--reef);
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--disp); font-weight: 400; text-transform: uppercase;
  font-size: clamp(52px, 13vw, 152px); line-height: .98; letter-spacing: .015em;
  color: var(--ice); text-shadow: 0 12px 60px rgba(0,0,0,.45);
}
.hero h1 .tc { font-family: var(--tc-disp); font-weight: 900; letter-spacing: .04em; }
.hero h1 .dot { color: var(--terra); }
.hero-latin {
  font-family: var(--disp); font-weight: 400; text-transform: uppercase;
  font-size: clamp(20px, 4.6vw, 42px); letter-spacing: .06em; line-height: 1.1;
  color: var(--reef); margin-top: 10px; opacity: .92;
  text-shadow: 0 0 30px rgba(56,200,232,.35);
}
.hero .tagline {
  font-family: var(--sans-tc); font-weight: 300; font-size: 15px;
  color: #f2f2f4; max-width: 34em; margin-top: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,.85);
}
.hero .meta-row { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 26px; font-family: var(--body); font-size: 13px; color: #e6e6ea; text-shadow: 0 2px 10px rgba(0,0,0,.85); }
.hero .meta-row b { color: var(--ice); font-weight: 500; }

/* glass strip under hero title */
.glassbar {
  margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: var(--glass); backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid var(--glass-edge); border-radius: 18px; padding: 12px 16px;
  font-family: var(--sans-tc); font-size: 13px; color: var(--ice-dim);
}
.glassbar .chip { border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; }
.glassbar .go {
  margin-left: auto; background: var(--terra); color: #fff; border: none;
  border-radius: 99px; padding: 10px 22px; font-family: var(--sans-tc); font-weight: 500;
  font-size: 13.5px; letter-spacing: .1em; text-decoration: none;
  box-shadow: 0 0 24px rgba(226,90,58,.45);
}

.back-link {
  position: absolute; top: 18px; left: 18px; z-index: 5; text-decoration: none;
  font-family: var(--sans-tc); font-size: 12.5px; color: var(--ice-dim);
  border: 1px solid var(--glass-edge); border-radius: 99px; padding: 8px 16px;
  backdrop-filter: blur(10px); background: var(--glass);
}

/* ════════════════ BENTO GRID ════════════════ */
.bento {
  max-width: 1180px; margin: 18px auto 0; padding: 0 14px 60px;
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .bento { grid-template-columns: repeat(4, 1fr); } }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r);
  background: var(--tile); border: 1px solid var(--line);
  padding: 22px; min-height: 150px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .4s, background .4s;
  will-change: transform;
}
@media (hover:hover) { .tile:hover { border-color: rgba(244,244,245,.22); background: var(--tile-hi); } }
.tile .t-tag {
  font-family: var(--body); font-weight: 500; font-size: 10.5px;
  letter-spacing: .34em; text-transform: uppercase; color: var(--ice-faint);
}
.tile h3 { font-family: var(--tc-disp); font-weight: 900; font-size: 21px; margin-top: 8px; line-height: 1.35; }
.tile .t-sub { font-family: var(--sans-tc); font-weight: 300; font-size: 13px; color: var(--ice-dim); margin-top: 6px; }
.span2 { grid-column: span 2; }
.rowspan2 { grid-row: span 2; }

/* trip cover tile (big) */
.tile.trip-cover {
  min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none; color: var(--ice);
  background:
    radial-gradient(120% 100% at 80% 0%, rgba(56,200,232,.18) 0%, transparent 55%),
    radial-gradient(100% 120% at 10% 100%, rgba(226,90,58,.22) 0%, transparent 60%),
    var(--tile);
}
.tile.trip-cover .big {
  font-family: var(--disp); text-transform: uppercase; font-weight: 400;
  font-size: clamp(34px, 6vw, 58px); line-height: 1.02; letter-spacing: .02em;
  color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.85), 0 1px 4px rgba(0,0,0,.7);
}
.tile.trip-cover .t-sub { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.9), 0 1px 3px rgba(0,0,0,.8); }
.tile.trip-cover .big .tc { font-family: var(--tc-disp); font-weight: 900; }
.tile.trip-cover .arrow {
  position: absolute; top: 18px; right: 20px; font-size: 22px; color: var(--terra);
  transition: transform .35s;
}
@media (hover:hover) { .tile.trip-cover:hover .arrow { transform: translate(4px, -4px); } }
.badge {
  display: inline-block; margin-bottom: 12px; width: fit-content;
  font-family: var(--body); font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 99px;
}
.badge.up { background: rgba(226,90,58,.16); color: #ff9b80; border: 1px solid rgba(226,90,58,.4); }
.badge.past { background: rgba(56,200,232,.12); color: var(--reef); border: 1px solid rgba(56,200,232,.35); }

/* weather tile */
.tile.weather .temp { font-family: var(--disp); font-size: 54px; line-height: 1; margin-top: 10px; }
.tile.weather .temp small { font-size: .4em; color: var(--ice-dim); }
.tile.weather .w-desc { font-family: var(--sans-tc); font-weight: 300; font-size: 12.5px; color: var(--ice-dim); margin-top: 6px; }
.tile.weather .w-icon { position: absolute; top: 18px; right: 18px; font-size: 26px; opacity: .9; }

/* globe tile */
.tile.globe { display: flex; flex-direction: column; background: linear-gradient(150deg, #25130e, #1b1b1e 65%); }
.globe-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 8px 0 2px; }
.globe-svg { width: 110px; height: 110px; animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .globe-svg, .hero-bg .sky, .hero-bg .sun, .hero-bg .sea { animation: none; } }

/* ken-burns photo-ish tile */
.tile.kb { padding: 0; min-height: 220px; }
.tile.kb .kb-img {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 70% 20%, rgba(56,200,232,.3), transparent 60%),
    radial-gradient(110% 80% at 20% 90%, rgba(226,90,58,.25), transparent 55%),
    linear-gradient(200deg, #20303c, #101a21);
  background-size: cover; background-position: center;
  transform: scale(1.02); transition: transform 6s ease;
}
@media (hover:hover) { .tile.kb:hover .kb-img { transform: scale(1.14); } }
.tile.kb .kb-label {
  position: absolute; left: 20px; bottom: 18px; z-index: 2;
  font-family: var(--tc-disp); font-weight: 900; font-size: 19px;
  text-shadow: 0 4px 18px rgba(0,0,0,.6);
}
.tile.kb .kb-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15,15,15,.7)); }

/* ════════════════ trip page sections ════════════════ */
.daynav {
  position: sticky; top: 0; z-index: 800;
  background: rgba(15,15,15,.7); backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid var(--line);
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
  padding: 10px 14px; display: flex; gap: 8px;
}
.daynav::-webkit-scrollbar { display: none; }
.daynav a {
  text-decoration: none; font-family: var(--sans-tc); font-size: 12.5px;
  color: var(--ice-dim); border: 1px solid var(--line); border-radius: 99px;
  padding: 6px 14px; transition: all .25s; flex: 0 0 auto;
}
.daynav a.active { background: var(--terra); color: #fff; border-color: var(--terra); }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

.sec-h { display: flex; align-items: baseline; gap: 14px; margin: 64px 0 22px; }
.sec-h .latin {
  font-family: var(--body); font-weight: 500; font-size: 11px;
  letter-spacing: .4em; text-transform: uppercase; color: var(--terra);
}
.sec-h h2 { font-family: var(--tc-disp); font-weight: 900; font-size: 25px; }
.sec-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

/* boarding-pass tickets — dark glass */
.ticket {
  background: var(--tile); border: 1px solid var(--line); border-radius: var(--r);
  margin-bottom: 14px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 86px;
  transition: border-color .3s, transform .35s;
}
@media (hover:hover) { .ticket:hover { border-color: rgba(56,200,232,.35); } }
.ticket .t-main { padding: 20px 22px; }
.ticket .t-stub {
  border-left: 2px dashed rgba(244,244,245,.18); padding: 14px 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, rgba(56,200,232,.07), rgba(226,90,58,.07));
}
.ticket .t-stub::before, .ticket .t-stub::after {
  content: ""; position: absolute; right: 78px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg);
}
.ticket .t-stub::before { top: -9px; } .ticket .t-stub::after { bottom: -9px; }
.ticket .t-leg { font-family: var(--body); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--reef); }
.ticket .t-no { font-family: var(--disp); font-size: 34px; letter-spacing: .03em; margin: 4px 0 2px; }
.ticket .t-route { font-family: var(--sans-tc); font-weight: 500; font-size: 15px; color: var(--ice); }
.ticket .t-time {
  font-family: var(--sans-tc); font-weight: 300; font-size: 13px; color: var(--ice-dim); margin-top: 6px;
  white-space: pre-line;        /* one clause per line, as authored */
  word-break: keep-all; line-break: strict;  /* never split a CJK word like 雪梨 */
  line-height: 1.9;
}
.ticket .t-route, .ticket .t-note { word-break: keep-all; line-break: strict; }
.ticket .t-note { font-family: var(--sans-tc); font-weight: 300; font-size: 12px; color: var(--ice-faint); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.ticket .t-date { writing-mode: vertical-rl; font-family: var(--body); font-size: 10px; letter-spacing: .26em; color: var(--ice-faint); }
.ticket .t-barcode { width: 38px; height: 46px; background: repeating-linear-gradient(90deg, var(--ice) 0 2px, transparent 2px 4px, var(--ice) 4px 5px, transparent 5px 8px); opacity: .6; }

/* hotels */
.hotel-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .hotel-grid { grid-template-columns: 1fr 1fr; } }
.hotel {
  position: relative; overflow: hidden; text-decoration: none; display: block;
  background: linear-gradient(140deg, #14222c, var(--tile) 70%);
  border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
  color: var(--ice); transition: border-color .3s;
}
@media (hover:hover) { .hotel:hover { border-color: rgba(56,200,232,.4); } }
.hotel::after { content: "✦"; position: absolute; right: 18px; top: 16px; color: var(--reef); }
.hotel .h-city { font-family: var(--body); font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--reef); }
.hotel h3 { font-family: var(--disp); font-weight: 400; font-size: 23px; letter-spacing: .02em; margin: 8px 0 10px; text-transform: uppercase; }
.hotel .h-dates { font-family: var(--sans-tc); font-weight: 300; font-size: 12.5px; color: var(--ice-dim); }
.hotel .h-map { font-family: var(--sans-tc); font-size: 11.5px; margin-top: 14px; color: #ffb29c; letter-spacing: .1em; }

/* tour meta */
.tour-meta {
  background: var(--tile); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 22px; font-family: var(--sans-tc); font-weight: 300; font-size: 13px; line-height: 2.1;
  color: var(--ice-dim);
}
.tour-meta b { font-weight: 500; color: var(--ice); }
.tour-meta .warn { color: #ff9b80; font-weight: 400; }

/* ── day sections ── */
.day { position: relative; padding-top: 8px; scroll-margin-top: 64px; }
.day-head { position: relative; margin: 70px 0 10px; min-height: 100px; }
.day-head .big-n {
  position: absolute; right: -10px; top: -44px; z-index: 0;
  font-family: var(--disp); font-size: clamp(120px, 28vw, 190px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(226,90,58,.4);
}
.day-head .d-date { font-family: var(--body); font-weight: 500; font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--terra); }
.day-head h2 { font-family: var(--tc-disp); font-weight: 900; font-size: clamp(30px, 7.4vw, 44px); position: relative; z-index: 1; margin-top: 4px; }
.day-head .d-en { font-family: var(--disp); font-weight: 400; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--ice-faint); margin-top: 4px; }
.day-hl {
  background: rgba(56,200,232,.07); border-left: 3px solid var(--reef);
  font-family: var(--sans-tc); font-weight: 300; font-size: 13.5px; color: #d8f1f8;
  padding: 13px 16px; border-radius: 0 12px 12px 0; margin: 16px 0 28px; line-height: 1.85;
}

/* timeline */
.tl { position: relative; }
.tl-item { display: grid; grid-template-columns: 76px 1fr; gap: 0 14px; position: relative; padding-bottom: 24px; }
.tl-item::before {
  content: ""; position: absolute; left: 84px; top: 26px; bottom: 0; width: 0;
  border-left: 2px dotted rgba(244,244,245,.18);
}
.tl-item:last-child::before { display: none; }
.tl-item::after {
  content: ""; position: absolute; left: 79px; top: 8px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2.5px solid var(--terra);
  box-shadow: 0 0 12px rgba(226,90,58,.5);
}
.tl-time { font-family: var(--disp); font-weight: 400; font-size: 14px; letter-spacing: .04em; color: var(--terra); text-align: right; padding-top: 4px; }
.tl-card {
  background: var(--tile); border: 1px solid var(--line); border-radius: 16px;
  padding: 15px 17px; margin-left: 18px; position: relative;
  transition: border-color .3s, background .3s;
}
@media (hover:hover) { .tl-card:hover { border-color: rgba(244,244,245,.22); background: var(--tile-hi); } }
/* transit line — dedicated colour, one glance = travel info */
.transit {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
  font-family: var(--sans-tc); font-size: 12.5px; font-weight: 500;
  color: #8be39a;                      /* transit 專屬綠 */
  border-bottom: 1px dashed rgba(139,227,154,.25);
  padding-bottom: 8px; margin-bottom: 10px;
  word-break: keep-all; line-break: strict;
}
.transit .tr-ic { font-size: 14px; }
.transit .tr-peak { color: #d9c069; font-weight: 400; }   /* 尖峰預估＝琥珀 */
.transit.jam .tr-peak { color: #ff7a66; font-weight: 700; } /* 現在正塞＝紅 */
.transit .tr-note { color: #79b886; font-weight: 300; width: 100%; font-size: 11.5px; }

.tl-card h3 { font-family: var(--sans-tc); font-weight: 700; font-size: 16.5px; line-height: 1.55; color: var(--ice); }
.tl-card .tl-desc { font-family: var(--sans-tc); font-weight: 300; font-size: 13.5px; color: var(--ice-dim); margin-top: 8px; }
.tl-card .tl-note {
  margin-top: 11px; font-family: var(--sans-tc); font-weight: 300; font-size: 12.5px; color: #e8c87f;
  background: rgba(232,200,127,.08); border-radius: 10px; padding: 9px 13px;
}
.tl-card .tl-note::before { content: "★ "; }
.tl-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; align-items: center; }
.stamp {
  font-family: var(--sans-tc); font-size: 11px; letter-spacing: .12em;
  padding: 4px 12px; border-radius: 6px; transform: rotate(-1.4deg); display: inline-block;
}
.stamp.booked { color: #ff9b80; border: 1.5px solid rgba(226,90,58,.6); background: rgba(226,90,58,.1); }
.stamp.paid { color: #6fd8f2; border: 1.5px solid rgba(56,200,232,.5); background: rgba(56,200,232,.08); }
.map-btn {
  margin-left: auto; text-decoration: none; font-family: var(--sans-tc); font-size: 11.5px;
  color: var(--ice-dim); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px;
  transition: all .25s;
}
.map-btn:active, .map-btn:hover { background: var(--ice); color: var(--bg); border-color: var(--ice); }

/* tips + notes */
.tips-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .tips-grid { grid-template-columns: 1fr 1fr; } }
.tip { background: var(--tile); border: 1px solid var(--line); border-radius: 16px; padding: 17px 19px; border-top: 3px solid var(--terra); }
.tip b { font-family: var(--sans-tc); font-weight: 700; display: block; margin-bottom: 5px; }
.tip span { font-family: var(--sans-tc); font-weight: 300; font-size: 13px; color: var(--ice-dim); line-height: 1.85; }
.fine { font-family: var(--sans-tc); font-weight: 300; font-size: 12.5px; color: var(--ice-faint); line-height: 2.1; padding-left: 1.3em; }
.fine li { margin-bottom: 4px; }

footer { text-align: center; padding: 80px 20px 120px; font-family: var(--sans-tc); font-weight: 300; font-size: 12px; color: var(--ice-faint); }
footer .heart { color: var(--terra); }

/* ════════════════ scroll reveal ════════════════ */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ════════════════ AI concierge ════════════════ */
.chat-fab {
  position: fixed; right: 16px; bottom: 22px; z-index: 950;
  display: flex; align-items: center; gap: 9px;
  border: none; border-radius: 99px; padding: 15px 22px;
  background: linear-gradient(135deg, var(--terra) 0%, #b8401f 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,.5), 0 0 30px rgba(226,90,58,.55);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
  animation: fabPulse 2.6s ease-in-out infinite;
}
.chat-fab .cf-ic { font-size: 19px; color: #ffe3b8; }
.chat-fab .cf-txt {
  font-family: var(--sans-tc); font-weight: 700; font-size: 14.5px; letter-spacing: .08em;
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(0,0,0,.5), 0 0 24px rgba(226,90,58,.45); transform: scale(1); }
  50% { box-shadow: 0 8px 30px rgba(0,0,0,.5), 0 0 46px rgba(226,90,58,.85); transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) { .chat-fab { animation: none; } }
.chat-fab:active { transform: scale(.93); }
@media (hover:hover) { .chat-fab:hover { box-shadow: 0 8px 30px rgba(0,0,0,.5), 0 0 56px rgba(226,90,58,.9); animation-play-state: paused; } }
.chat-panel {
  position: fixed; z-index: 960; right: 0; bottom: 0; left: 0;
  max-height: 78dvh; height: 78dvh; display: flex; flex-direction: column;
  background: rgba(18,18,20,.82); backdrop-filter: blur(26px) saturate(1.6);
  border: 1px solid var(--glass-edge); border-bottom: none;
  border-radius: 24px 24px 0 0; box-shadow: 0 -18px 70px rgba(0,0,0,.6);
  transform: translateY(105%); transition: transform .45s cubic-bezier(.3,.9,.25,1);
  color: var(--ice);
}
.chat-panel.open { transform: none; }
@media (min-width: 720px) {
  .chat-panel { left: auto; right: 22px; bottom: 22px; width: 420px; height: 620px; border-radius: 24px; border-bottom: 1px solid var(--glass-edge); transform: translateY(20px); opacity: 0; pointer-events: none; }
  .chat-panel.open { transform: none; opacity: 1; pointer-events: auto; }
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.chat-head .ch-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--reef); box-shadow: 0 0 12px var(--reef); }
.chat-head h4 { font-family: var(--sans-tc); font-weight: 700; font-size: 15px; flex: 1; }
.chat-head .ch-sub { font-family: var(--sans-tc); font-weight: 300; font-size: 11px; color: var(--ice-faint); display: block; }
.chat-close { background: none; border: none; color: var(--ice-faint); font-size: 20px; cursor: pointer; padding: 4px 8px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 16px 8px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 16px; font-family: var(--sans-tc); font-weight: 300; font-size: 14px; line-height: 1.78; word-break: break-word; }
.msg.user { white-space: pre-wrap; }
.msg.bot p { margin: 0 0 4px; }
.msg.bot p:last-child { margin-bottom: 0; }
.msg.bot b { font-weight: 700; color: var(--ice); }
.msg.bot .md-h { display: block; margin: 8px 0 4px; color: #ffc9b3; }
.msg.bot .md-gap { display: block; height: 7px; }
.msg.bot .md-ul { margin: 2px 0 6px; padding-left: 1.25em; }
.msg.bot .md-ul li { margin-bottom: 3px; }
.msg.bot a { color: var(--reef); word-break: break-all; }
.msg-engine { display: block; margin-top: 8px; font-family: var(--body); font-size: 10px; letter-spacing: .1em; color: var(--ice-faint); opacity: .7; }
.msg-engine::before { content: "✦ "; color: var(--reef); }
.msg.user { align-self: flex-end; background: var(--terra); color: #fff; border-bottom-right-radius: 5px; }
.msg.bot { align-self: flex-start; background: rgba(244,244,245,.07); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.bot.typing { color: var(--ice-faint); font-style: italic; }
.chat-sugs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 10px; scrollbar-width: none; }
.chat-sugs::-webkit-scrollbar { display: none; }
.chat-sugs button {
  flex: 0 0 auto; font-family: var(--sans-tc); font-size: 12px; color: var(--ice-dim);
  background: rgba(244,244,245,.05); border: 1px solid var(--line);
  border-radius: 99px; padding: 6px 14px; cursor: pointer;
}
.chat-input { display: flex; gap: 10px; padding: 10px 14px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.chat-input textarea {
  flex: 1; background: rgba(244,244,245,.06); border: 1px solid var(--line);
  border-radius: 22px; padding: 12px 18px; color: var(--ice);
  font-family: var(--sans-tc); font-size: 16px; outline: none; /* ≥16px: stops iOS focus auto-zoom */
  resize: none; line-height: 1.5; max-height: 110px; overflow-y: auto;
}
.chat-input textarea::placeholder { color: var(--ice-faint); }
.chat-input textarea:focus { border-color: rgba(56,200,232,.5); }
.chat-input button {
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--terra); color: #fff; font-size: 17px; flex: 0 0 auto;
  box-shadow: 0 0 18px rgba(226,90,58,.4);
}
.chat-input button:disabled { opacity: .45; }

/* ════════════════ venue detail sheet ════════════════ */
#sheetBack {
  position: fixed; inset: 0; z-index: 970; background: rgba(10,10,10,.6);
  backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .35s;
  display: flex; align-items: flex-end; justify-content: center;
}
#sheetBack.open { opacity: 1; pointer-events: auto; }
#sheet {
  width: 100%; max-width: 560px; max-height: 84dvh; overflow-y: auto;
  background: rgba(22,22,25,.92); backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid var(--glass-edge); border-bottom: none;
  border-radius: 26px 26px 0 0; padding: 26px 24px calc(28px + env(safe-area-inset-bottom));
  transform: translateY(40px); transition: transform .4s cubic-bezier(.3,.9,.25,1);
  position: relative;
}
#sheetBack.open #sheet { transform: none; }
@media (min-width: 720px) {
  #sheetBack { align-items: center; }
  #sheet { border-radius: 26px; border-bottom: 1px solid var(--glass-edge); }
}
.sheet-x { position: absolute; top: 16px; right: 16px; background: rgba(244,244,245,.07); border: 1px solid var(--line); color: var(--ice-dim); width: 34px; height: 34px; border-radius: 50%; font-size: 15px; cursor: pointer; }
.sheet-kicker { font-family: var(--body); font-weight: 500; font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--reef); }
#sheet h3 { font-family: var(--tc-disp); font-weight: 900; font-size: 26px; margin: 8px 0 12px; padding-right: 40px; }
.sheet-intro { font-family: var(--sans-tc); font-weight: 300; font-size: 14px; line-height: 1.95; color: var(--ice-dim); margin-bottom: 18px; }
.sheet-gal { margin: 4px 0 16px; }
.sg-track {
  display: flex; gap: 10px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.sg-track::-webkit-scrollbar { display: none; }
.sg-slide {
  flex: 0 0 78%; scroll-snap-align: center; position: relative;
  aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px;
  border: 1px solid var(--line); margin: 0;
}
.sg-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(15,15,15,.55)); }
.sg-slide figcaption {
  position: absolute; left: 10px; bottom: 9px; z-index: 2;
  font-family: var(--sans-tc); font-weight: 500; font-size: 12px; color: var(--ice);
  background: rgba(15,15,15,.45); backdrop-filter: blur(8px);
  border: 1px solid var(--glass-edge); border-radius: 99px; padding: 4px 11px;
}
.sheet-facts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.fact { display: flex; gap: 12px; align-items: flex-start; background: rgba(244,244,245,.04); border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; }
.fact span { font-size: 16px; }
.fact b { display: block; font-family: var(--sans-tc); font-size: 11px; letter-spacing: .18em; color: var(--ice-faint); margin-bottom: 2px; }
.fact div { font-family: var(--sans-tc); font-weight: 300; font-size: 13.5px; color: var(--ice); line-height: 1.7; }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sa {
  text-decoration: none; text-align: center; font-family: var(--sans-tc); font-size: 13.5px;
  color: var(--ice); border: 1px solid var(--line); border-radius: 14px; padding: 13px 10px;
  background: rgba(244,244,245,.05); transition: all .25s;
}
.sa.primary { background: var(--terra); border-color: var(--terra); color: #fff; box-shadow: 0 0 20px rgba(226,90,58,.35); }
.sa:active { transform: scale(.97); }
/* bilingual menu inside venue sheet */
.menu-box {
  margin: 4px 0 18px; border: 1px solid var(--line); border-radius: 16px;
  background: rgba(244,244,245,.03); overflow: hidden;
}
.menu-box summary {
  list-style: none; cursor: pointer; padding: 14px 16px;
  font-family: var(--sans-tc); font-weight: 700; font-size: 14px; color: var(--ice);
  display: flex; align-items: center; justify-content: space-between;
}
.menu-box summary::-webkit-details-marker { display: none; }
.menu-box summary::after { content: "▾"; color: var(--ice-faint); }
.menu-box[open] summary::after { content: "▴"; }
.menu-box[open] summary { border-bottom: 1px solid var(--line); }
.mn-hl {
  font-family: var(--sans-tc); font-weight: 300; font-size: 12.5px; line-height: 1.85; color: #f0d8a0;
  background: rgba(232,200,127,.08); padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.mn-sec { padding: 6px 16px 10px; }
.mn-sec-h {
  display: flex; align-items: baseline; gap: 8px; margin: 12px 0 8px;
  border-bottom: 1px dashed rgba(244,244,245,.14); padding-bottom: 5px;
}
.mn-sec-h span { font-family: var(--body); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--terra); }
.mn-sec-h b { font-family: var(--sans-tc); font-weight: 700; font-size: 14.5px; color: var(--ice); }
.mn-it { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid rgba(244,244,245,.05); }
.mn-it:last-child { border-bottom: none; }
.mn-it-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.mn-en { font-family: var(--body); font-size: 12.5px; color: var(--ice-dim); line-height: 1.4; }
.mn-zh { font-family: var(--sans-tc); font-weight: 500; font-size: 13.5px; color: var(--ice); line-height: 1.5; }
.mn-price { font-family: var(--sans-tc); font-weight: 600; font-size: 13.5px; color: var(--terra); white-space: nowrap; padding-top: 1px; text-align: right; }
.mn-price .mn-nt { display: block; font-size: 13.5px; font-weight: 600; color: #b8a1e8; margin-top: 2px; } /* 台幣＝紫，同字級 */
.mn-note { font-family: var(--sans-tc); font-weight: 300; font-size: 11px; color: var(--ice-faint); padding: 10px 16px 14px; line-height: 1.7; }

.detail-btn {
  font-family: var(--sans-tc); font-size: 11.5px; color: var(--reef);
  background: rgba(56,200,232,.08); border: 1px solid rgba(56,200,232,.35);
  border-radius: 99px; padding: 6px 14px; cursor: pointer;
}
.tl-card.has-detail { cursor: pointer; }
@media (hover:hover) { .tl-card.has-detail:hover { border-color: rgba(56,200,232,.4); } }

/* ════════════════ family notebook ════════════════ */
.nb-hint { font-family: var(--sans-tc); font-weight: 300; font-size: 13px; color: var(--ice-dim); margin: -6px 0 16px; line-height: 1.8; }
.nb-empty { font-family: var(--sans-tc); font-weight: 300; font-size: 13px; color: var(--ice-faint); border: 1px dashed var(--line); border-radius: 14px; padding: 18px; text-align: center; }
.nb-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--tile); border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 15px; margin-bottom: 10px;
}
.nb-main { flex: 1; font-family: var(--sans-tc); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.nb-main b { font-weight: 700; color: var(--ice); }
.nb-tel { color: var(--reef); text-decoration: none; font-weight: 500; }
.nb-note { font-weight: 300; color: var(--ice-faint); width: 100%; }
.nb-del { background: none; border: none; color: var(--ice-faint); font-size: 14px; cursor: pointer; padding: 6px; }
.nb-form { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 14px; }
@media (min-width: 620px) { .nb-form { grid-template-columns: 1fr 1fr; } .nb-form input:nth-child(3) { grid-column: 1 / -1; } }
.nb-form input {
  background: rgba(244,244,245,.05); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px; color: var(--ice); font-family: var(--sans-tc); font-size: 16px; outline: none; /* ≥16px: no iOS zoom */
}
.nb-form input:focus { border-color: rgba(56,200,232,.5); }
.nb-form button {
  grid-column: 1 / -1; border: none; border-radius: 12px; padding: 13px;
  background: var(--terra); color: #fff; font-family: var(--sans-tc); font-weight: 700;
  font-size: 14px; letter-spacing: .15em; cursor: pointer;
  box-shadow: 0 0 20px rgba(226,90,58,.3);
}

/* ════════════════ login ════════════════ */
.login-body {
  min-height: 100dvh; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(110% 80% at 78% 8%, rgba(56,200,232,.14) 0%, transparent 55%),
    radial-gradient(100% 90% at 12% 95%, rgba(226,90,58,.16) 0%, transparent 58%),
    var(--bg);
}
.login-card {
  text-align: center; padding: 46px 34px; max-width: 380px; width: 92%;
  background: var(--glass); backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-edge); border-radius: 26px;
}
.login-card .lk { font-family: var(--body); font-weight: 500; font-size: 10.5px; letter-spacing: .5em; text-transform: uppercase; color: var(--reef); }
.login-card h1 { font-family: var(--tc-disp); font-weight: 900; font-size: 34px; color: var(--ice); margin: 16px 0 4px; }
.login-card .le { font-family: var(--disp); font-weight: 400; text-transform: uppercase; letter-spacing: .12em; color: var(--ice-faint); font-size: 13px; margin-bottom: 36px; }
.login-card input {
  width: 100%; text-align: center; letter-spacing: .3em;
  background: rgba(244,244,245,.06); border: 1px solid var(--line);
  border-radius: 99px; padding: 15px 20px; color: var(--ice);
  font-family: var(--body); font-size: 16px; outline: none; margin-bottom: 14px;
}
.login-card input:focus { border-color: rgba(56,200,232,.55); box-shadow: 0 0 22px rgba(56,200,232,.18); }
.login-card button {
  width: 100%; border: none; border-radius: 99px; padding: 15px;
  background: var(--terra); color: #fff; font-family: var(--sans-tc); font-weight: 700;
  font-size: 15px; letter-spacing: .3em; cursor: pointer;
  box-shadow: 0 0 28px rgba(226,90,58,.4);
}
.login-card .lerr { font-family: var(--sans-tc); font-weight: 300; font-size: 12.5px; color: #ff9b80; margin-top: 16px; min-height: 1.4em; }
