/* travel.tanoza.com — hub stylesheet.
   Conservative CSS on purpose: this is opened in WeChat's in-app browser on older
   phones. No flex `gap`, no `inset`, no `:is()`, no aspect-ratio. */

:root {
  --bg: #F7F7F4;
  --card: #FFFFFF;
  --ink: #171A22;
  --muted: #4E5665;
  --line: #D9DEE6;
  --soft: #EEF1F5;
  --accent: #1F7A8C;
  --accent2: #3A6EA5;
  --tbd-bg: #FFF1DB;
  --tbd-ink: #8A4B00;
  --tbd-line: #F0A046;
  --ok: #1F8A4C;
  --shadow: 0 6px 22px rgba(20, 30, 50, .10);
  --radius: 16px;
  --fs: 17px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12151D;
    --card: #1B2029;
    --ink: #EAEDF4;
    --muted: #A9B1C2;
    --line: #2B3140;
    --soft: #222836;
    --tbd-bg: #3A2A12;
    --tbd-ink: #FFD08A;
    --tbd-line: #C77A1C;
    --ok: #3FBF7A;
    --shadow: 0 8px 26px rgba(0, 0, 0, .45);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: var(--fs);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body.lang-zh { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, sans-serif; }
[hidden] { display: none !important; }
a { color: var(--accent2); }
button { font: inherit; }

/* ---------- Language pairs ----------
   Every string is rendered twice (.l-en and .l-zh). The body class decides what shows,
   so switching language never re-renders content. In 双语 mode both show; block-level
   pairs become two columns on wide screens and stack on phones. */
.l-en, .l-zh { display: none; }
body.lang-en .l-en { display: inline; }
body.lang-zh .l-zh { display: inline; }
body.lang-both .l-en, body.lang-both .l-zh { display: inline; }
body.lang-both .bi-inline .l-zh::before { content: " · "; color: var(--muted); }
.bi-block { display: block; }
body.lang-both .bi-block .l-en, body.lang-both .bi-block .l-zh { display: block; }
body.lang-both .bi-block .l-zh { color: var(--ink); margin-top: 2px; }
@media (min-width: 760px) {
  body.lang-both .bi-block { display: grid; grid-template-columns: 1fr 1fr; grid-column-gap: 22px; }
  body.lang-both .bi-block .l-zh { margin-top: 0; }
}

/* ---------- Gate ---------- */
.gate {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 60;
  background: radial-gradient(circle at 20% 25%, rgba(31, 122, 140, .18), transparent 45%),
              radial-gradient(circle at 80% 30%, rgba(58, 110, 165, .16), transparent 45%), var(--bg);
  display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center;
}
.gate-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 34px 28px 26px; max-width: 380px; width: 100%; box-shadow: var(--shadow);
}
.gate-icon { font-size: 40px; margin-bottom: 8px; }
.gate-card h1 { font-size: 22px; font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
.gate-card p { font-size: 15px; color: var(--muted); margin-bottom: 18px; line-height: 1.45; }
#gate-input {
  width: 100%; padding: 14px; font-size: 18px; text-align: center; border: 2px solid var(--line);
  border-radius: 12px; outline: none; margin-bottom: 12px; background: var(--bg); color: var(--ink);
}
#gate-input:focus { border-color: var(--accent); }
#gate-btn {
  width: 100%; padding: 14px; font-size: 17px; font-weight: 800; color: #fff; border: none; cursor: pointer;
  border-radius: 12px; background: linear-gradient(90deg, var(--accent2), var(--accent));
}
#gate-btn[disabled] { opacity: .6; cursor: progress; }
.gate-err { color: #C2323F; font-size: 14px; font-weight: 700; margin-top: 12px; min-height: 20px; }
.gate-foot { font-size: 13px !important; margin: 16px 0 0 !important; color: var(--muted); }
@keyframes shake { 10%, 90% { transform: translateX(-2px) } 20%, 80% { transform: translateX(4px) } 30%, 50%, 70% { transform: translateX(-8px) } 40%, 60% { transform: translateX(8px) } }
.gate-card.shake { animation: shake .5s; }

/* ---------- Header ---------- */
.hdr {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 20;
  background: var(--card); border-bottom: 1px solid var(--line);
}
.hdr-inner { max-width: 960px; margin: 0 auto; padding: 10px 14px; display: flex; align-items: center; }
.nav-back {
  text-decoration: none; color: var(--ink); font-size: 30px; line-height: 1; padding: 0 10px 4px 2px;
  font-weight: 700;
}
.nav-title { font-weight: 800; font-size: 17px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr-tools { display: flex; align-items: center; }
.toggle { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--soft); }
.toggle button {
  background: transparent; color: var(--muted); border: none; cursor: pointer;
  padding: 7px 11px; font-size: 14px; font-weight: 700;
}
.toggle button.active { background: var(--accent); color: #fff; }
.icon-btn {
  margin-left: 8px; border: 1px solid var(--line); background: var(--soft); color: var(--ink);
  border-radius: 999px; width: 38px; height: 38px; cursor: pointer; font-size: 17px;
}
@media (max-width: 420px) { .toggle button { padding: 7px 9px; font-size: 13px; } .icon-btn { width: 34px; height: 34px; margin-left: 6px; } }

/* ---------- Layout ---------- */
.app { max-width: 960px; margin: 0 auto; padding: 0 16px 80px; }
.section-title {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent);
  font-weight: 800; margin: 40px 0 14px; display: flex; align-items: center;
}
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); margin-left: 12px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px;
}
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* TBD chip */
.tbd {
  display: inline-block; font-size: 12.5px; font-weight: 800; padding: 1px 9px; border-radius: 999px;
  background: var(--tbd-bg); color: var(--tbd-ink); border: 1px solid var(--tbd-line);
  vertical-align: middle; white-space: nowrap; line-height: 1.6;
}

/* ---------- Index ---------- */
.index-hero { text-align: center; padding: 40px 0 6px; }
.index-hero h2 { font-size: 30px; font-weight: 800; line-height: 1.2; }
.index-hero p { color: var(--muted); margin-top: 6px; }
.trip-list { display: grid; grid-template-columns: 1fr; grid-gap: 18px; margin-top: 18px; }
@media (min-width: 700px) { .trip-list { grid-template-columns: 1fr 1fr; } }
.trip-card {
  display: block; text-decoration: none; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .15s;
}
.trip-card:hover { transform: translateY(-2px); }
.trip-card .hero-img { display: block; width: 100%; height: 170px; object-fit: cover; background: var(--soft); }
.trip-card .hero-fallback { height: 170px; display: flex; align-items: center; justify-content: center; font-size: 56px; color: #fff; }
.trip-card .body { padding: 16px 18px 18px; }
.trip-card .when { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 800; color: var(--accent); }
.trip-card h3 { font-size: 24px; font-weight: 800; margin: 4px 0 2px; line-height: 1.2; }
.trip-card .sum { color: var(--muted); font-size: 15px; }
.trip-card .cd {
  margin-top: 12px; display: inline-block; font-weight: 800; font-size: 14px; padding: 4px 12px;
  border-radius: 999px; background: var(--soft); color: var(--ink);
}
.trip-card.past { opacity: .8; }
details.past-trips { margin-top: 34px; }
details.past-trips > summary {
  list-style: none; cursor: pointer; font-weight: 800; color: var(--muted); padding: 12px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); -webkit-user-select: none; user-select: none;
}
details.past-trips > summary::-webkit-details-marker { display: none; }
details.past-trips > summary .chev { display: inline-block; margin-right: 8px; transition: transform .2s; font-size: 12px; }
details.past-trips[open] > summary .chev { transform: rotate(90deg); }

/* ---------- Trip hero ---------- */
.trip-hero { position: relative; border-radius: 22px; overflow: hidden; margin-top: 18px; box-shadow: var(--shadow); background: var(--card); border: 1px solid var(--line); }
.trip-hero .hero-img { display: block; width: 100%; height: 220px; object-fit: cover; }
.trip-hero .hero-fallback { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 64px; }
.trip-hero .text { padding: 22px 22px 24px; text-align: center; }
.trip-hero .kicker { color: var(--accent); font-weight: 800; letter-spacing: 1.5px; font-size: 13px; text-transform: uppercase; }
.trip-hero h2 { font-size: 32px; font-weight: 800; margin: 6px 0 6px; line-height: 1.15; }
/* zh headings break at spaces/punctuation, not inside a place name. */
.trip-hero h2 .l-zh, .day .place .l-zh, .trip-card h3 .l-zh, .index-hero h2 .l-zh { word-break: keep-all; overflow-wrap: anywhere; }
.trip-hero .who { color: var(--muted); font-size: 16px; }
.trip-hero .icon { font-size: 24px; margin-top: 12px; }
.trip-hero .source { font-size: 13.5px; color: var(--muted); margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
@media (max-width: 480px) { .trip-hero h2 { font-size: 27px; } .index-hero h2 { font-size: 26px; } }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; grid-column-gap: 16px; } }
.fact { padding: 12px 0; border-bottom: 1px solid var(--line); }
.fact .label { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 800; color: var(--accent); }
.fact .value { font-size: 18px; font-weight: 600; margin-top: 2px; }

/* ---------- Days ---------- */
.days-note { color: var(--muted); font-size: 14.5px; margin: -4px 0 14px; }
.day { margin-bottom: 14px; padding: 18px 20px; position: relative; }
.day .top { display: flex; align-items: flex-start; }
.day .info { flex: 1 1 auto; min-width: 0; }
body.lang-both .day .num .d .l-zh { display: none; }
.day .num {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; margin-right: 14px;
  font-weight: 800; line-height: 1;
}
.day .num .n { font-size: 22px; }
.day .num .d { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; opacity: .9; margin-top: 3px; }
.day .date { font-weight: 800; font-size: 16px; color: var(--accent); }
.day .place { font-size: 22px; font-weight: 800; line-height: 1.25; margin-top: 2px; }
.day .kind {
  display: inline-block; font-size: 12.5px; font-weight: 800; padding: 2px 10px; border-radius: 999px;
  color: #fff; margin-top: 6px; margin-right: 6px; vertical-align: middle;
}
.kind-embark, .kind-debark { background: #6C4FA6; }
.kind-port { background: #1F8A4C; }
.kind-sea { background: #3A6EA5; }
.kind-scenic { background: #1F7A8C; }
.day .times { margin-top: 6px; font-weight: 700; font-variant-numeric: tabular-nums; }
.day .times .sep { color: var(--muted); margin: 0 6px; }
.day .summary { margin-top: 10px; }
.day .tbds { margin-top: 10px; }
.day .tbds .tbd { margin: 2px 6px 2px 0; white-space: normal; max-width: 100%; line-height: 1.5; padding: 3px 10px; }
.day.kind-sea-wrap, .day.kind-scenic-wrap { background: linear-gradient(180deg, var(--card), var(--soft)); }

.day .about { margin-top: 10px; }
.day .about p { margin-top: 8px; }
.day .about p:first-child { margin-top: 0; }
.day .highlights { margin-top: 12px; padding: 12px 14px; background: var(--soft); border-radius: 12px; }
.day .hl-head { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.day .highlights ul { margin: 0 0 0 18px; }
.day .highlights li { padding: 3px 0; }

/* ---------- Route map ---------- */
.map-card { padding: 12px; }
.route-map { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; border-radius: 12px; }
.route-map .sea { fill: #CFE6F2; }
.route-map .land { fill: #9DBB8F; stroke: #6F9464; stroke-width: 1.5; stroke-linejoin: round; }
.route-map .route { fill: none; stroke: #0B3954; stroke-width: 4; stroke-dasharray: 10 8; stroke-linejoin: round; stroke-linecap: round; }
.route-map .dot { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.route-map .dot-sea { fill: #fff; stroke: #0B3954; stroke-width: 3; }
.route-map .num { fill: #fff; font-size: 16px; font-weight: 800; }
.route-map .label { fill: #0F1B26; font-size: 19px; font-weight: 800; paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: 5px; stroke-linejoin: round; }
.route-map .sub { fill: #3B4A5A; font-size: 14px; font-weight: 600; paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: 4px; stroke-linejoin: round; }
.route-map .l-sep { display: none; }
body.lang-both .route-map .l-sep { display: inline; }
body.lang-both .route-map .label { font-size: 16px; }
.map-note { color: var(--muted); font-size: 13.5px; margin-top: 10px; text-align: center; }
@media (prefers-color-scheme: dark) {
  .route-map .sea { fill: #17324A; } .route-map .land { fill: #3E5A3A; stroke: #567A50; }
  .route-map .route { stroke: #9DD3EA; } .route-map .dot-sea { fill: #1B2029; stroke: #9DD3EA; }
  .route-map .label { fill: #F2F5FA; stroke: rgba(20, 30, 45, .8); } .route-map .sub { fill: #C9D3E0; stroke: rgba(20, 30, 45, .8); }
}

/* ---------- Timeline (free-form) ---------- */
.t-us { --t: #33509E; } .t-cn { --t: #E0405A; } .t-sg, .t-th { --t: #1F8A7A; } .t-sea { --t: #7B5CC6; }
.t-default { --t: var(--accent); }
@media (prefers-color-scheme: dark) { .t-us { --t: #8FA9EF; } .t-sg, .t-th { --t: #3FBFA8; } .t-sea { --t: #A985E8; } }
.phase { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 800; margin: 22px 0 12px; color: var(--t); }
.phase .fl { margin-right: 6px; }
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.stop { position: relative; padding: 0 0 22px; }
.stop::before {
  content: ""; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--t); box-shadow: 0 0 0 4px var(--bg);
}
.stop .date { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--t); font-weight: 800; }
.stop .head { font-size: 19px; font-weight: 700; margin: 2px 0 3px; }
.stop .desc { color: var(--muted); font-size: 16px; }
.stop .desc .ico { margin-right: 4px; }
.stop .stay, .stop .port { color: var(--muted); font-size: 15px; margin-top: 4px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 800; padding: 1px 9px; border-radius: 999px;
  margin-left: 8px; vertical-align: middle; border: 1px solid; white-space: nowrap;
}
.tag-fly, .tag-default { color: #33509E; border-color: rgba(51, 80, 158, .4); background: rgba(51, 80, 158, .08); }
.tag-rail, .tag-ship { color: #6C4FA6; border-color: rgba(108, 79, 166, .4); background: rgba(108, 79, 166, .08); }
.tag-holiday { color: #C2323F; border-color: rgba(194, 50, 63, .4); background: rgba(194, 50, 63, .08); }
.tag-gold { color: #8A6A00; border-color: rgba(200, 160, 0, .5); background: rgba(255, 210, 77, .18); }
.tag-tbd { color: var(--tbd-ink); border-color: var(--tbd-line); background: var(--tbd-bg); }
@media (prefers-color-scheme: dark) {
  .tag-fly, .tag-default { color: #8FA9EF; } .tag-rail, .tag-ship { color: #A985E8; } .tag-holiday { color: #FF7A8A; } .tag-gold { color: #FFD24D; }
}
.addons { margin-top: 8px; padding-left: 11px; border-left: 2px solid var(--line); }
.addons .addons-label { font-size: 11px; letter-spacing: .6px; text-transform: uppercase; font-weight: 800; color: var(--tbd-ink); margin-bottom: 4px; }
.addons a.addon { display: block; font-size: 15px; line-height: 1.45; text-decoration: none; margin: 4px 0; }
.addons a.addon:hover { text-decoration: underline; }
.addons a.addon .ref { display: block; color: var(--muted); font-size: 12px; }
.addons .caveat { color: var(--muted); font-size: 13.5px; font-style: italic; margin-top: 5px; }

/* ---------- Countdowns ---------- */
.countdowns { display: grid; grid-template-columns: 1fr; grid-gap: 16px; }
@media (min-width: 640px) { .countdowns { grid-template-columns: 1fr 1fr; } }
.cd-card { border-radius: 20px; padding: 20px 22px; color: #fff; background: var(--t, var(--accent)); position: relative; overflow: hidden; }
.cd-card .label { font-weight: 800; font-size: 18px; }
.cd-card .label .fl { margin-right: 6px; }
.cd-card .detail { color: rgba(255, 255, 255, .85); font-size: 14px; margin: 4px 0 14px; }
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 8px; text-align: center; }
.cd-unit .num { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.cd-unit .u { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; opacity: .85; }
.cd-done { font-size: 20px; font-weight: 800; padding: 10px 0; }

/* ---------- Cards (hotels etc.) ---------- */
.cards { display: grid; grid-template-columns: 1fr; grid-gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.hcard { display: flex; flex-direction: column; }
.hcard .city { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 800; color: var(--t); }
.hcard .name { font-size: 18px; font-weight: 700; margin: 4px 0 6px; }
.hcard .meta { color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.hcard a.map {
  margin-top: auto; padding-top: 10px; text-align: center; text-decoration: none; font-weight: 800; font-size: 15px;
  color: #fff; border-radius: 10px; padding: 10px; background: var(--t); display: block;
}
.hcard a.map + a.map { margin-top: 8px; }

/* ---------- Checklist ---------- */
.checklist { border-left: 4px solid var(--accent); }
.checklist .th { font-weight: 800; font-size: 18px; margin-bottom: 4px; }
.checklist .intro { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.checklist .grp { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 800; color: var(--muted); margin: 16px 0 2px; }
.checklist ul { list-style: none; }
.checklist li { display: flex; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; }
.checklist li .box { flex: 0 0 auto; width: 18px; height: 18px; border: 2px solid var(--accent); border-radius: 4px; margin: 5px 12px 0 0; }
.checklist li .check { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 4px; background: var(--ok); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 5px 12px 0 0; }
.checklist li.done { color: var(--muted); }
.checklist li .lead { font-weight: 700; }
.checklist li .sub { color: var(--muted); }

/* ---------- Notes ---------- */
.notes-intro { color: var(--muted); font-size: 15px; margin: -4px 0 14px; }
.note { display: flex; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.note:first-child { border-top: none; padding-top: 4px; }
.note .ico { flex: 0 0 auto; font-size: 26px; margin-right: 14px; line-height: 1.2; }
.note .head { font-weight: 800; font-size: 18px; }
.note .body { margin-top: 4px; }
.note .body p { margin-top: 6px; }
.note .body p:first-child { margin-top: 0; }

/* ---------- Archive ---------- */
details.archive { margin-top: 44px; border: 1px dashed var(--line); border-radius: 16px; background: var(--soft); }
details.archive > summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 800; color: var(--muted); font-size: 16px; -webkit-user-select: none; user-select: none; }
details.archive > summary::-webkit-details-marker { display: none; }
details.archive > summary .chev { display: inline-block; margin-right: 8px; transition: transform .2s; font-size: 12px; }
details.archive[open] > summary .chev { transform: rotate(90deg); }
.archive-body { padding: 0 20px 22px; }
.archive-note { font-size: 14.5px; color: var(--muted); border-left: 3px solid var(--tbd-line); padding: 8px 12px; background: var(--tbd-bg); border-radius: 0 8px 8px 0; margin-bottom: 18px; }
.archive-body .timeline, .archive-body .cards { opacity: .85; }

/* ---------- TBD summary + footer ---------- */
.tbd-summary { border-left: 4px solid var(--tbd-line); background: var(--card); }
.tbd-summary .th { font-weight: 800; font-size: 18px; }
.tbd-summary ul { margin: 8px 0 0 20px; }
.tbd-summary li { padding: 3px 0; }
.print-row { text-align: center; margin-top: 30px; }
.print-row button {
  border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 999px;
  padding: 10px 20px; font-weight: 800; cursor: pointer; font-size: 15px;
}
footer.trip-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 44px; }
.notice { text-align: center; color: var(--muted); padding: 40px 10px; }

/* ---------- Print / save as PDF ----------
   One clean bilingual document: both languages, no chrome, a page break per day. */
@media print {
  :root { --bg: #fff; --card: #fff; --ink: #000; --muted: #333; --line: #bbb; --soft: #f2f2f2; --shadow: none; --fs: 12.5pt; }
  body { background: #fff; color: #000; }
  .hdr, .gate, .print-row, #btn-print, #btn-lock, .nav-back, .trip-card .cd { display: none !important; }
  .l-en, .l-zh { display: inline !important; }
  .bi-block .l-en, .bi-block .l-zh { display: block !important; }
  .bi-inline .l-zh::before { content: " · "; }
  .app { max-width: none; padding: 0; }
  .card, .trip-hero, .cd-card, .hcard { box-shadow: none; border: 1px solid #bbb; break-inside: avoid; page-break-inside: avoid; }
  .day { break-inside: avoid; page-break-inside: avoid; }
  .map-card { break-inside: avoid; page-break-inside: avoid; }
  .route-map .sea { fill: #E4EEF4; } .route-map .land { fill: #C9D9C2; }
  .day + .day { break-before: page; page-break-before: always; }
  .section-title { break-after: avoid; page-break-after: avoid; }
  .cd-card, .kind, .day .num, .hcard a.map { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a { color: #000; text-decoration: none; }
  details.archive, details.past-trips { display: none; }
  .trip-hero .hero-img { height: 160px; }
}
