:root {
  --bg: #f2efe9;
  --surface: #fbfaf6;
  --ink: #2b2a26;
  --muted: #6b675d;
  --line: #ddd6c8;
  --accent: #3f6b3a;
  --accent-ink: #ffffff;
  --water: #aecfdf;
  --warn-bg: #f6ecd2;
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d211c;
    --surface: #262b24;
    --ink: #ece8dd;
    --muted: #a6a294;
    --line: #3a4036;
    --accent: #8fbf85;
    --accent-ink: #14210f;
    --water: #2f4a58;
    --warn-bg: #3a3522;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.75;
}

.wrap { width: min(100% - 32px, 960px); margin-inline: auto; }

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 { line-height: 1.3; }
h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 1.6rem 0 .8rem; }
h2 { font-size: 1.35rem; margin: 2.2rem 0 .8rem; }
h3 { font-size: 1.1rem; margin: 1.4rem 0 .4rem; }

.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: var(--surface); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 0; flex-wrap: wrap; }
.admin-online { position: fixed; top: 10px; right: 14px; z-index: 50; padding: 2px 10px; border-radius: 999px; background: #15803d; color: #fff; font-size: 12px; font-weight: 600; line-height: 1.6; }
.admin-online[hidden] { display: none; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 10px; border-radius: 999px; }
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.language-switch { flex: 0 0 auto; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .88rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.language-switch:hover { color: var(--accent); border-color: var(--accent); }
.menu-toggle { display: none; width: 42px; height: 42px; place-content: center; gap: 5px; padding: 9px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--surface); cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.site-menu { position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; overflow: auto; border: 0; color: var(--ink); background: var(--surface); box-shadow: -18px 0 48px rgba(0, 0, 0, .25); }
.site-menu[open] { display: flex; flex-direction: column; }
.site-menu::backdrop { background: rgba(0, 0, 0, .48); backdrop-filter: blur(3px); }
.site-menu-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 22px 16px; border-bottom: 1px solid var(--line); }
.site-menu-eyebrow { margin: 0; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.site-menu-header h2 { margin: 2px 0 0; font-size: 1.35rem; }
.site-menu-close { display: grid; place-items: center; width: 42px; height: 42px; padding: 0 0 3px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; font: 2rem/1 sans-serif; cursor: pointer; }
.site-menu-links { display: grid; align-content: start; gap: 8px; padding: 12px 16px 24px; }
.site-menu-links section { padding: 12px 6px 14px; border-bottom: 1px solid var(--line); }
.site-menu-links h3 { margin: 0 0 7px; color: var(--muted); font-size: .78rem; letter-spacing: .08em; }
.site-menu-links a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; }
.site-menu-links a:hover, .site-menu-links a[aria-current="page"] { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.site-menu-links a[aria-current="page"] { font-weight: 700; }

main { padding-bottom: 48px; }

.home-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .75fr); align-items: center; gap: clamp(32px, 6vw, 72px); padding: clamp(42px, 7vw, 76px) 0 36px; }
.home-hero-copy { min-width: 0; }
.home-hero-brand { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 25px; font-size: 1rem; font-weight: 750; }
.home-hero-brand .hero-icon { display: block; border-radius: 16px; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.home-hero-eyebrow { margin: 0 0 10px; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
.home-hero h1 { margin: 0; font-size: clamp(2.15rem, 4.4vw, 3.25rem); line-height: 1.3; letter-spacing: -.045em; }
.home-hero-lead { max-width: 43ch; margin: 17px 0 24px; color: var(--muted); font-size: 1.08rem; }
.home-hero-actions { display: grid; justify-items: start; gap: 17px; }
.home-download-badge { display: inline-flex; align-items: center; line-height: 0; transition: transform .18s ease; }
.home-download-badge:hover { transform: translateY(-2px); }
.home-download-badge img { display: block; width: auto; height: 56px; }
.home-download-label { min-height: 56px; padding: 0 18px; border-radius: 10px; color: #fff; background: #111; font-size: .95rem; font-weight: 650; line-height: 1.2; text-decoration: none; }
.home-hero-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.home-hero-links a { color: var(--muted); font-size: .9rem; font-weight: 650; text-decoration: none; }
.home-hero-links a span { margin-left: 3px; color: var(--accent); }
.home-hero-links a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.home-hero-visual { display: grid; justify-items: center; gap: 13px; margin: 0; }
.home-hero-composition { position: relative; display: grid; place-items: center; width: min(100%, 320px); height: 330px; }
.home-hero-detail { position: absolute; top: 66px; z-index: 0; width: min(100%, 100px); padding: 7px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 22px; background: color-mix(in srgb, var(--ink) 88%, #101512); box-shadow: 0 12px 32px rgba(28, 39, 27, .22), 0 3px 10px rgba(0, 0, 0, .12); }
.home-hero-detail.is-left { left: 0; transform: rotate(-8deg); }
.home-hero-detail.is-right { right: 0; transform: rotate(8deg); }
.home-hero-detail img { display: block; width: 100%; height: auto; border-radius: 15px; }
.home-hero-screen { position: relative; z-index: 1; width: min(100%, 148px); padding: 9px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent); border-radius: 30px; background: color-mix(in srgb, var(--ink) 88%, #101512); box-shadow: 0 24px 60px rgba(28, 39, 27, .24), 0 4px 14px rgba(0, 0, 0, .12); transform: rotate(2deg); }
.home-hero-screen::before { position: absolute; top: 9px; left: 50%; z-index: 1; width: 28%; height: 14px; border-radius: 0 0 11px 11px; background: #171a17; content: ""; transform: translateX(-50%); }
.home-hero-screen img { display: block; width: 100%; height: auto; border-radius: 22px; }
.home-hero-visual figcaption { color: var(--muted); font-size: .82rem; }
.home-hero-visual figcaption span { margin-right: 6px; color: var(--accent); font-size: .68rem; }
.home-trip-status { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 42px; padding:14px 18px; border:1px solid var(--line); border-radius:15px; background:var(--surface); }
.home-trip-status-eyebrow { margin:0 0 2px; color:var(--muted); font-size:.68rem; font-weight:750; letter-spacing:.08em; }
.home-trip-status h2 { margin:0; font-size:1rem; }
.home-trip-status p:last-child { margin:2px 0 0; color:var(--muted); font-size:.86rem; }
.home-trip-status-badge { display:inline-flex; align-items:center; gap:7px; flex:0 0 auto; padding:5px 11px; border-radius:999px; background:var(--warn-bg); color:var(--muted); font-size:.78rem; font-weight:700; }
.home-trip-status-badge.is-enabled { background:#d9efcf; color:#24551f; }
.home-trip-status-dot { width:7px; height:7px; border-radius:50%; background:currentColor; }

.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 1.4rem 0; }
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { border-color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: .85rem; color: var(--accent); font-weight: 650; text-decoration: none; }
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.map-list { display: grid; gap: 16px; margin: 1.2rem 0; }
.map-card p { margin: .4rem 0; }
.map-card .map-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.map-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .8rem; font-weight: 600; }
.map-badge-outline { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.map-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: .8rem; }
.map-actions .map-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.map-action-icon { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.home-gallery-section { margin-top: 40px; }
.home-gallery { display: grid; gap: 30px; }
.home-gallery-group { min-width: 0; }
.home-gallery-group > h3 { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; min-height: 62px; margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 4px 14px rgba(0, 0, 0, .1); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 750; }
.home-gallery-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-shot { min-width: 0; margin: 0; }
.home-shot-link { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 480px; padding: 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); line-height: 0; }
.home-shot-link img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, .24); }
.home-shot-link:hover img { transform: translateY(-2px); }
.home-shot figcaption { min-height: 3.1em; margin-top: 8px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.home-shot-link .figure-zoom { opacity: 0; }
.home-shot-link:hover .figure-zoom, .home-shot-link:focus-visible .figure-zoom { opacity: 1; }
.home-lightbox { z-index: 10; }

.notice { background: var(--warn-bg); border-radius: var(--radius); padding: 14px 18px; }
.home-hero ~ .notice { margin-bottom: 28px; }
.notice h2 { margin-top: 0; font-size: 1.1rem; }
.notice p:last-child { margin-bottom: 0; }

.prose { max-width: 70ch; }
.prose h2 { border-bottom: 1px solid var(--line); padding-bottom: .3rem; }
.prose li { margin: .3rem 0; }
.prose img { max-width: 100%; height: auto; }

/* 隱私權政策 */
.privacy-main { width: min(100% - 40px, 1040px); }
.privacy-page { padding: 42px 0 24px; }
.privacy-hero { max-width: 700px; margin: 0 auto 26px; text-align: center; }
.privacy-eyebrow { margin: 0 0 9px; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .16em; }
.privacy-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.035em; }
.privacy-lead { max-width: 58ch; margin: 12px auto 0; color: var(--muted); font-size: 1.02rem; }
.privacy-toc { margin: 0 auto 20px; padding: 19px 22px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.privacy-toc-title { margin: 0 0 10px; font-size: .86rem; font-weight: 750; }
.privacy-toc ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px 16px; margin: 0; padding: 0; list-style: none; }
.privacy-toc a { display: block; padding: 5px 0; color: var(--muted); font-size: .9rem; text-decoration: none; }
.privacy-toc a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.privacy-document { max-width: none; padding: clamp(22px, 4vw, 42px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.privacy-document > p:first-child { display: table; margin: 0 0 24px; padding: 5px 12px; border-radius: 999px; color: var(--muted); background: var(--bg); font-size: .82rem; }
.privacy-document h3 { margin: 28px 0 8px; padding-left: 13px; border-left: 3px solid var(--accent); font-size: 1.12rem; scroll-margin-top: 84px; }
.privacy-document h3:first-of-type { margin-top: 0; }
.privacy-document p { max-width: 72ch; margin: 0 0 16px; color: var(--muted); line-height: 1.9; }
.privacy-document p:last-child { margin-bottom: 0; }
.privacy-download { display: flex; align-items: center; gap: 17px; margin-top: 18px; padding: 20px 23px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.privacy-download-icon { flex: 0 0 64px; border-radius: 15px; box-shadow: 0 5px 16px rgba(0, 0, 0, .15); }
.privacy-download-copy { flex: 1; min-width: 0; }
.privacy-download-eyebrow { margin: 0 0 3px; color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .14em; }
.privacy-download-copy h2 { margin: 0; font-size: 1.1rem; }
.privacy-download-copy > p:last-child { margin: 3px 0 0; color: var(--muted); font-size: .88rem; }
.privacy-download-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 17px; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent-ink); background: var(--accent); font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.privacy-download-link:hover { filter: brightness(1.08); }
.privacy-download-mark { display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 1rem; line-height: 1; }
@media (max-width: 680px) {
  .privacy-main { width: min(100% - 30px, 1040px); }
  .privacy-page { padding-top: 28px; }
  .privacy-toc { padding: 16px; border-radius: 15px; }
  .privacy-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 10px; }
  .privacy-toc a { font-size: .84rem; }
  .privacy-document { padding: 21px 18px; border-radius: 16px; }
  .privacy-document h3 { margin-top: 24px; }
  .privacy-download { align-items: flex-start; flex-wrap: wrap; gap: 14px; padding: 17px; border-radius: 16px; }
  .privacy-download-icon { width: 54px; height: 54px; flex-basis: 54px; border-radius: 13px; }
  .privacy-download-copy { flex: 1 1 calc(100% - 70px); }
  .privacy-download-link { width: 100%; }
}

.muted { color: var(--muted); }

/* 行程分享介紹頁 */
.trip-share-main { width: min(100% - 40px, 1120px); }
.trip-page { padding-bottom: 12px; }
.trip-hero { display: grid; grid-template-columns: 1fr 1.02fr; align-items: center; gap: clamp(26px, 5vw, 64px); padding: 54px 0 34px; }
.trip-hero-copy { min-width: 0; }
.trip-eyebrow { margin: 0 0 .55rem; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .13em; }
.trip-hero h1 { margin: 0 0 1rem; font-size: clamp(2.1rem, 4.5vw, 3.5rem); line-height: 1.22; letter-spacing: -.04em; }
.trip-hero h1 span { color: var(--accent); }
.trip-lead { max-width: 55ch; color: var(--muted); font-size: 1.08rem; }
.trip-availability { display: flex; align-items: flex-start; gap: 9px; max-width: 54ch; margin: 1.2rem 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); background: var(--surface); font-size: .9rem; }
.trip-availability span { color: #c08036; font-size: .75rem; line-height: 2; }
.trip-button { display: inline-flex; align-items: center; gap: 12px; margin-top: .4rem; padding: 11px 19px; border-radius: 999px; color: var(--accent-ink); background: var(--accent); font-weight: 700; text-decoration: none; }
.trip-button:hover { filter: brightness(1.08); }
.trip-hero-visual, .trip-flow-figure { margin: 0; }
.trip-hero-visual img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 16px 44px rgba(38, 50, 34, .12); }
.trip-hero-visual figcaption, .trip-flow-figure figcaption { margin: 9px 5px 0; color: var(--muted); font-size: .82rem; }
.trip-section { padding: 48px 0; border-top: 1px solid var(--line); }
.trip-section-heading { max-width: 66ch; margin-bottom: 24px; }
.trip-section-heading h2, .trip-view-copy h2, .trip-faq h2 { margin: 0 0 .55rem; font-size: clamp(1.55rem, 3vw, 2.1rem); letter-spacing: -.025em; }
.trip-section-heading > p:last-child { margin: 0; color: var(--muted); }
.trip-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trip-step { position: relative; min-height: 235px; padding: 22px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.trip-step-number { color: var(--accent); font-size: .82rem; font-weight: 800; letter-spacing: .1em; }
.trip-step h3 { margin: 12px 0 8px; font-size: 1.15rem; }
.trip-step p { margin: 0; color: var(--muted); font-size: .96rem; }
.trip-step-note { display: inline-block; margin-top: 14px; padding: 3px 10px; border-radius: 999px; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); font-size: .8rem; font-weight: 700; }
.trip-flow-figure { margin-top: 24px; padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.trip-flow-figure img { display: block; width: 100%; height: auto; }
.trip-view-section { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(28px, 6vw, 74px); }
.trip-view-copy > p:not(.trip-eyebrow) { color: var(--muted); }
.trip-check-list { padding-left: 1.25rem; }
.trip-check-list li { margin: .45rem 0; padding-left: .2rem; }
.trip-check-list li::marker { color: var(--accent); }
.trip-status-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 15px 40px rgba(38, 50, 34, .09); }
.trip-status-top, .trip-status-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 19px; }
.trip-status-top { border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 700; }
.trip-live-dot { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: #6c9c5d; box-shadow: 0 0 0 4px color-mix(in srgb, #6c9c5d 18%, transparent); }
.trip-status-tag { padding: 3px 9px; border-radius: 99px; color: var(--muted); background: var(--bg); font-size: .76rem; font-weight: 600; }
.trip-mini-map { position: relative; height: 210px; overflow: hidden; background: #e7eee2; }
.trip-mini-map svg { width: 100%; height: 100%; }
.trip-mini-map svg > path { fill: none; stroke: #bfd0b6; stroke-width: 2; }
.trip-mini-map .trip-mini-route { stroke: #e4774c; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.trip-mini-map .trip-start-dot { fill: #fff; stroke: #467c40; stroke-width: 5; }
.trip-mini-map .trip-last-dot { fill: #e4774c; stroke: #fff; stroke-width: 5; }
.trip-mini-map .trip-last-pulse { fill: none; stroke: #e4774c; stroke-opacity: .35; stroke-width: 2; }
.trip-map-label { position: absolute; padding: 3px 8px; border-radius: 7px; color: #2b2a26; background: rgba(251, 250, 246, .92); font-size: .75rem; font-weight: 700; box-shadow: 0 2px 8px #0002; }
.label-start { left: 5%; bottom: 15%; }.label-last { right: 13%; top: 12%; }
.trip-status-bottom > div { display: grid; gap: 3px; }.trip-status-bottom small { color: var(--muted); }.trip-status-bottom strong { font-size: .88rem; }
.trip-card-disclaimer { margin: 0; padding: 0 19px 16px; color: var(--muted); font-size: .78rem; }
.trip-offline { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 28px; border: 1px solid color-mix(in srgb, #c08036 30%, var(--line)); border-radius: 20px; background: color-mix(in srgb, var(--warn-bg) 70%, var(--surface)); }
.trip-offline-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: #8b672d; background: color-mix(in srgb, #c08036 16%, transparent); font-size: 2rem; }
.trip-offline h2 { margin: 0 0 8px; font-size: 1.45rem; }.trip-offline p:last-child { margin-bottom: 0; }
.trip-privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trip-privacy-grid article { padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.trip-privacy-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: 1.25rem; font-weight: 700; }
.trip-privacy-grid h3 { margin: 12px 0 5px; }.trip-privacy-grid p { margin: 0; color: var(--muted); font-size: .94rem; }
.trip-retention { margin-top: 14px; padding: 17px 20px; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--surface); }.trip-retention h3 { margin: 0 0 4px; }.trip-retention p { margin: 0; color: var(--muted); }
.trip-emergency { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 14px 0 48px; padding: 26px 30px; border-radius: 20px; color: #f6f3eb; background: #303d2f; }
.trip-emergency .trip-eyebrow { color: #b8d1a9; }.trip-emergency h2 { margin: 0 0 8px; font-size: 1.4rem; }.trip-emergency p { max-width: 70ch; margin: 0; color: #e1e5da; }.trip-emergency-numbers { display: flex; gap: 10px; flex-shrink: 0; }.trip-emergency-numbers span { display: grid; place-items: center; width: 70px; height: 70px; border: 1px solid #ffffff55; border-radius: 50%; font-size: 1.35rem; font-weight: 800; }
.trip-faq { max-width: 850px; margin: 0 auto; }.trip-faq h2 { margin-bottom: 18px; }.trip-faq details { padding: 15px 3px; border-bottom: 1px solid var(--line); }.trip-faq summary { cursor: pointer; font-weight: 700; }.trip-faq details p { margin: 8px 0 0; color: var(--muted); }
.trip-footer-note { margin: 32px auto 0; max-width: 80ch; color: var(--muted); text-align: center; font-size: .88rem; }
@media (max-width: 760px) { .trip-hero, .trip-view-section { grid-template-columns: 1fr; }.trip-hero { padding-top: 34px; }.trip-hero-visual { grid-row: 1; }.trip-steps, .trip-privacy-grid { grid-template-columns: 1fr; }.trip-step { min-height: 0; }.trip-section { padding: 36px 0; }.trip-offline { grid-template-columns: 1fr; padding: 21px; gap: 12px; }.trip-emergency { align-items: flex-start; flex-direction: column; padding: 22px; }.trip-emergency-numbers span { width: 60px; height: 60px; }.trip-status-bottom { align-items: flex-start; flex-direction: column; }.trip-status-bottom > div { display: flex; justify-content: space-between; width: 100%; gap: 10px; } }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 20px 0 32px; font-size: .92rem; }
.site-footer p { margin: .3rem 0; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* 支援與常見問題 */
.support-main { width: min(100% - 40px, 900px); }
.support-head { padding: 36px 0 26px; }
.support-eyebrow { margin: 0 0 4px; color: var(--accent); font-size: .74rem; font-weight: 800; letter-spacing: .13em; }
.support-head h1 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 2.7rem); letter-spacing: -.03em; }
.support-lead { max-width: 72ch; margin: 0; color: var(--muted); font-size: 1.06rem; }
.support-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.support-shortcuts a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--surface); font-size: .88rem; text-decoration: none; }
.support-shortcuts a:hover { border-color: var(--accent); color: var(--accent); }
.support-category { scroll-margin-top: 84px; margin: 16px 0 34px; }
.support-category-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.support-category-heading .support-eyebrow { margin: 0; }
.support-category-heading h2 { margin: 0; font-size: 1.45rem; }
.support-category-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 14px; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, var(--surface)); font-size: 1.5rem; font-weight: 700; }
.support-item { margin: 8px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.support-item summary { position: relative; padding: 15px 48px 15px 18px; cursor: pointer; font-weight: 700; list-style: none; }
.support-item summary::-webkit-details-marker { display: none; }
.support-item summary::after { position: absolute; top: 50%; right: 18px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); content: "+"; font-size: 1.05rem; line-height: 1; transform: translateY(-50%); }
.support-item[open] summary::after { content: "−"; }
.support-item[open] summary { border-bottom: 1px solid var(--line); }
.support-answer { padding: 13px 18px 16px; }
.support-answer p { margin: 0 0 10px; color: var(--muted); }
.support-answer ol { margin: 0 0 12px; padding-left: 1.4rem; color: var(--muted); }
.support-answer ol li { margin: 5px 0; padding-left: 3px; }
.support-answer p:last-child { margin-bottom: 0; }
.support-answer .support-guide-link { color: var(--ink); font-size: .92rem; }
.support-guide-link a { margin-right: 8px; font-weight: 650; text-underline-offset: 3px; }
.support-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 38px 0 16px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.support-contact h2 { margin: 0 0 6px; font-size: 1.35rem; }
.support-contact p:not(.support-eyebrow) { max-width: 66ch; margin: 0; color: var(--muted); }
.support-contact .btn { flex: 0 0 auto; white-space: nowrap; }
.support-footnote { margin: 20px 0 36px; color: var(--muted); font-size: .9rem; }
@media (max-width: 640px) { .support-main { width: min(100% - 30px, 900px); }.support-head { padding-top: 28px; }.support-shortcuts { gap: 6px; }.support-shortcuts a { font-size: .82rem; }.support-contact { align-items: flex-start; flex-direction: column; padding: 20px; }.support-item summary { padding-left: 14px; }.support-answer { padding-inline: 14px; } }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* 使用手冊 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.guide-main { width: min(calc(100% - 48px), 1480px); max-width: 1480px; }
.guide { max-width: 1400px; margin-inline: auto; font-size: calc(1rem + 1px); }
.guide-head { padding: 1.7rem 0 1rem; }
.guide-head h1 { margin: .25rem 0 .4rem; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.035em; }
.guide-eyebrow { margin: 0; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .07em; }
.guide-eyebrow a { text-decoration: none; }
.guide-eyebrow span { padding-inline: .45rem; }
.guide-lead, .guide-intro { max-width: 72ch; margin: 0; }

.guide-toolbar { position: sticky; top: 0; z-index: 30; margin: 1rem calc((100% - min(100%, 1400px)) / -2) 1.4rem; padding: 10px max(16px, calc((100% - 1400px) / 2)); background: color-mix(in srgb, var(--bg) 92%, transparent); border-block: 1px solid var(--line); backdrop-filter: blur(14px); }
.guide-search { position: relative; width: min(100%, 840px); margin-inline: auto; }
.guide-search input { display: block; width: 100%; min-height: 46px; padding: 9px 48px 9px 44px; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.guide-search input:focus { border-color: var(--accent); }
.guide-search input:disabled { cursor: progress; opacity: .72; }
.guide-search-icon { position: absolute; left: 14px; top: 8px; font-size: 1.55rem; line-height: 1; color: var(--muted); }
.guide-search kbd { position: absolute; right: 12px; top: 12px; padding: 0 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font: .78rem ui-monospace, monospace; }
.guide-count { position: absolute; top: calc(100% + 4px); left: 8px; z-index: 2; margin: 0; padding: 3px 9px; border-radius: 7px; color: var(--muted); background: var(--surface); font-size: .82rem; }
.guide-results { position: absolute; top: calc(100% + 28px); left: 0; right: 0; z-index: 2; max-height: min(62vh, 560px); overflow-y: auto; list-style: none; margin: 0; padding: 5px; display: grid; gap: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); }
.guide-results[hidden] { display: none; }
.guide-results a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.guide-results a:hover, .guide-results a:focus-visible { background: var(--bg); }
.guide-results p { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.guide-results mark { background: var(--warn-bg); color: inherit; border-radius: 3px; padding: 0 2px; }

.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; grid-template-areas: "article toc"; align-items: start; gap: clamp(30px, 4vw, 64px); }
.guide-toc { grid-area: toc; position: sticky; top: 82px; max-height: calc(100vh - 98px); overflow-y: auto; padding: 6px 0 12px 16px; border-left: 1px solid var(--line); }
.guide-toc summary { margin-bottom: 10px; color: var(--muted); font-size: .84rem; font-weight: 700; letter-spacing: .08em; list-style: none; pointer-events: none; }
.guide-toc summary::-webkit-details-marker { display: none; }
.guide-toc ol { list-style: none; margin: 0; padding: 0; }
.guide-toc li { margin: 2px 0; }
.guide-toc a { display: flex; align-items: baseline; gap: 8px; padding: 5px 8px; border-radius: 6px; color: var(--muted); text-decoration: none; line-height: 1.4; }
.guide-toc a:hover { color: var(--accent); background: var(--surface); }
.guide-toc .toc-chapter-link { color: var(--ink); font-size: .96rem; }
.guide-toc .toc-number { flex: 0 0 1.8em; color: var(--muted); font-size: .81rem; font-variant-numeric: tabular-nums; }
.guide-toc .is-current > .toc-chapter-link { color: var(--accent); font-weight: 700; }
.guide-toc .toc-sections { margin: 1px 0 8px 1.8em; padding-left: 8px; border-left: 1px solid var(--line); font-size: .86rem; }
.guide-toc .toc-sections a { padding-block: 4px; }
.guide-toc .toc-sections a[aria-current="location"] { color: var(--accent); font-weight: 700; }

.guide-body { grid-area: article; min-width: 0; max-width: 980px; }
.chapter-progress { display: flex; justify-content: space-between; margin: .1rem 0 1rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.sec { padding: 0 0 1.25rem; margin: 0 0 1.5rem; border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.sec:target > h2 { color: var(--accent); }
.sec > h2 { margin: 0 0 .75rem; font-size: calc(1.3rem + 1px); }
.sec-copy { min-width: 0; max-width: 74ch; }
.sec-copy > :first-child { margin-top: 0; }
.sec-copy > :last-child { margin-bottom: 0; }
.sec-copy p, .sec-copy li { line-height: 1.8; }
.sec-copy li { margin: .32rem 0; }
.sec h4 { margin: 1.1rem 0 .3rem; }
.sec code { padding: 1px 6px; border-radius: 5px; background: var(--surface); border: 1px solid var(--line); font-size: .92em; }
.sec-content.has-single-figure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(210px, 280px); gap: clamp(20px, 3vw, 42px); align-items: start; }
.sec-content.has-single-figure .sec-media { grid-column: 2; grid-row: 1; }
.sec-content.has-single-figure .sec-copy { grid-column: 1; grid-row: 1; }
.sec-content.has-gallery { display: block; }
.sec-content.has-gallery .sec-copy { max-width: 76ch; }
.sec-content.has-gallery > .figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 280px)); justify-content: start; align-items: start; gap: 22px; margin: 0; }
.sec-content.has-gallery > .figs .guide-figure { max-width: 280px; }
.sec-media { min-width: 0; }
.sec-media .figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 280px)); justify-content: start; align-items: start; gap: 22px; margin: 0; }
.guide-figure { position: relative; min-width: 0; max-width: 280px; margin: 0; }
.fig-link { position: relative; display: block; width: fit-content; max-width: 100%; margin-inline: auto; border-radius: 14px; line-height: 0; }
.fig-link img { display: block; width: auto; max-width: 100%; max-height: min(680px, 72vh); height: auto; object-fit: contain; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 6px 20px rgba(0, 0, 0, .16); transition: box-shadow .18s ease, transform .18s ease; }
.fig-link:hover img { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .22); }
.fig-link:focus-visible { outline-offset: 4px; }
.figure-zoom { position: absolute; right: 8px; bottom: 8px; padding: 5px 8px; border-radius: 999px; color: #fff; background: rgba(20, 25, 20, .78); font-size: .78rem; line-height: 1.3; opacity: 0; transition: opacity .18s ease; }
.fig-link:hover .figure-zoom, .fig-link:focus-visible .figure-zoom { opacity: 1; }
.guide-figure figcaption { margin-top: 9px; color: var(--muted); font-size: .88rem; line-height: 1.55; text-align: left; }
.guide-pin { position: absolute; z-index: 1; display: grid; place-items: center; width: 27px; height: 27px; border: 2px solid #fff; border-radius: 50%; color: #fff; background: var(--accent); box-shadow: 0 2px 9px rgba(0, 0, 0, .3); font-size: .86rem; font-weight: 800; line-height: 1; }
.guide-pin-center-upper { top: 19%; left: 50%; transform: translate(-50%, -50%); }
.guide-pin-right-upper { top: 28%; right: 13%; transform: translate(50%, -50%); }
.guide-pin-right-lower { top: 72%; right: 13%; transform: translate(50%, -50%); }
.figure-callouts { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 8px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .84rem; }
.figure-callouts li { display: inline-flex; align-items: center; gap: 5px; }
.figure-callouts li span { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; background: var(--accent); font-size: .76rem; font-weight: 700; }

.steps { padding-left: 1.35rem; }
.steps li { padding-left: .15rem; }
.callout { margin: 1rem 0; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--surface); }
.callout p { margin: .2rem 0 0; }
.callout-warn { border-left-color: #b87917; background: var(--warn-bg); }
.icon-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 8px 22px; list-style: none; margin: 1rem 0; padding: 0; }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); }
.icon-cell { flex: 0 0 42px; display: grid; place-items: center; }
.icon-cell img { width: 42px; height: 42px; border: 0; border-radius: 50%; box-shadow: none; }
.icon-list p { margin: .15rem 0 0; color: var(--muted); font-size: .96rem; line-height: 1.6; }

.table-wrap { overflow-x: auto; margin: 1rem 0; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.table-wrap th, .table-wrap td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap th { color: var(--muted); background: var(--surface); font-size: .86rem; }
.table-wrap td:first-child { white-space: nowrap; font-weight: 600; }
.table-cards { display: none; }
.faq details { margin: .55rem 0; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; }
.faq details div { max-width: 74ch; margin-top: .45rem; color: var(--muted); }

.guide-foot { margin-top: 1.8rem; }
.guide-start { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin: .5rem 0 2rem; padding: 20px 24px; border-left: 4px solid var(--accent); background: var(--surface); }
.guide-start h2 { margin: .15rem 0; font-size: 1.2rem; }
.guide-start p { margin: .25rem 0 0; color: var(--muted); }
.guide-start-label { color: var(--accent); font-size: .86rem; font-weight: 700; }
.guide-start-link { flex: 0 0 auto; padding: 9px 13px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 700; }
.guide-section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: .6rem; }
.guide-section-heading .guide-eyebrow { font-size: .78rem; }
.guide-section-heading h2 { margin: 0; font-size: 1.5rem; }
.guide-section-heading > span { color: var(--muted); font-size: .96rem; }
.guide-chapter-list ol { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.guide-chapter-list li { border-bottom: 1px solid var(--line); }
.guide-chapter-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 18px; align-items: center; gap: 14px; padding: 13px 9px; color: var(--ink); text-decoration: none; }
.guide-chapter-card:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); }
.chapter-card-number { color: var(--accent); font-size: .96rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.chapter-card-copy { display: grid; gap: 2px; }
.chapter-card-copy strong { font-size: 1.06rem; }
.chapter-card-copy > span { overflow: hidden; color: var(--muted); font-size: .91rem; text-overflow: ellipsis; white-space: nowrap; }
.chapter-card-count { color: var(--muted); font-size: .86rem; }
.chapter-card-arrow { color: var(--accent); }
.chapter-pager { display: flex; justify-content: space-between; gap: 14px; margin-top: 1.7rem; }
.chapter-pager-link { display: grid; gap: 3px; max-width: 48%; padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); text-decoration: none; }
.chapter-pager-link span { color: var(--muted); font-size: .82rem; }
.chapter-pager-link.next { margin-left: auto; text-align: right; }
.chapter-pager-link:hover { border-color: var(--accent); }

.guide-lightbox { position: fixed; inset: 0; width: min(94vw, 1040px); max-width: none; max-height: 94vh; margin: auto; padding: 46px 20px 16px; overflow: auto; border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; color: #fff; background: rgba(24, 27, 24, .98); box-shadow: 0 24px 80px rgba(0, 0, 0, .55); }
.guide-lightbox::backdrop { background: rgba(8, 10, 8, .78); backdrop-filter: blur(5px); }
.guide-lightbox img { display: block; width: auto; max-width: 100%; max-height: calc(94vh - 100px); margin: 0 auto; object-fit: contain; border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; box-shadow: 0 12px 38px rgba(0, 0, 0, .52); }
.guide-lightbox p { margin: 10px 0 0; color: rgba(255, 255, 255, .82); font-size: .88rem; text-align: center; }
.lightbox-close { position: absolute; top: 10px; right: 12px; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .12); font: inherit; cursor: pointer; }
.lightbox-nav { position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; padding: 0 0 4px; transform: translateY(-50%); border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; color: #fff; background: rgba(20, 25, 20, .78); font: inherit; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox-nav:disabled { opacity: .35; cursor: default; }
.lightbox-nav:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 1199px) {
  .guide-layout { display: flex; flex-direction: column; gap: 16px; }
  .guide-toc { position: static; order: 0; width: 100%; max-height: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
  .guide-toc details { padding: 9px 12px; }
  .guide-toc summary { margin: 0; color: var(--ink); list-style: disclosure-closed; pointer-events: auto; }
  .guide-toc details[open] summary { margin-bottom: 8px; list-style: disclosure-open; }
  .guide-toc .toc-chapters { max-height: 48vh; overflow-y: auto; }
  .guide-body { order: 1; width: 100%; max-width: none; }
}

@media (max-width: 760px) {
  .home-hero { grid-template-columns: 1fr; gap: 28px; padding: 34px 0 26px; }
  .home-hero-brand { margin-bottom: 21px; }
  .home-hero h1 { font-size: clamp(2rem, 8vw, 2.7rem); }
  .home-hero-lead { margin: 13px 0 20px; font-size: 1rem; }
  .home-hero-visual { grid-row: 2; }
  .home-hero-composition { height: 286px; }
  .home-hero-detail { top: 54px; width: min(100%, 86px); padding: 6px; border-radius: 18px; }
  .home-hero-detail img { border-radius: 12px; }
  .home-hero-screen { width: min(34vw, 127.5px); }
  .home-trip-status { margin:0 0 34px; padding:14px 15px; }
  .home-gallery-group > h3 { min-height: 54px; margin-bottom: 12px; padding: 10px 14px; }
  .home-gallery-track { display: flex; gap: 14px; overflow-x: auto; padding: 0 4px 10px; scroll-padding-inline: 4px; scroll-snap-type: x mandatory; }
  .home-shot { flex: 0 0 min(82vw, 300px); scroll-snap-align: start; }
  .home-shot-link { height: min(62vh, 520px); }
  .home-shot-link .figure-zoom { opacity: 1; font-size: .74rem; }
  .site-header { position: sticky; top: 0; z-index: 40; }
  html.site-menu-ready .nav { display: none; }
  html.site-menu-ready .menu-toggle { display: grid; }
  .admin-online { top: 17px; right: 68px; }
  .header-inner { flex-wrap: nowrap; min-height: 56px; }
  .guide-head { padding-top: 1rem; }
  .guide-toolbar { top: 57px; margin-top: .6rem; margin-bottom: 1rem; padding: 4px 10px; }
  .sec { scroll-margin-top: 120px; }
  .guide-search input { min-height: 40px; padding-block: 6px; }
  .guide-search-icon { top: 5px; }
  .guide-search kbd { top: 9px; }
  .guide-layout { gap: 12px; }
  .sec-content.has-single-figure { display: block; }
  .sec-content.has-single-figure .sec-media { margin-top: 12px; }
  .sec-content.has-single-figure .sec-media .guide-figure { flex: 0 0 min(100%, 280px); width: min(100%, 280px); max-width: 280px; margin-left: 0; }
  .sec-content.has-single-figure .fig-link { width: 100%; }
  .sec-content.has-single-figure .fig-link img { width: 100%; max-height: min(520px, 70vh); }
  .fig-link.is-long-portrait, .fig-link.is-short-portrait { overflow: hidden; }
  .fig-link.is-long-portrait { aspect-ratio: 1 / 1; }
  .fig-link.is-short-portrait { aspect-ratio: 4 / 3; }
  .fig-link.is-long-portrait img, .fig-link.is-short-portrait img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: top; }
  .sec-content.has-gallery .sec-media { margin-top: 12px; }
  .sec-media .figs, .sec-content.has-gallery > .figs { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 14px; padding: 0 4px 10px; scroll-snap-type: x mandatory; }
  .sec-media .guide-figure, .sec-content.has-gallery > .figs .guide-figure { flex: 0 0 150px; max-width: 150px; scroll-snap-align: start; }
  .fig-link img { max-height: 330px; border-radius: 11px; }
  .figure-zoom { opacity: 1; font-size: .74rem; }
  .table-desktop { display: none; }
  .table-cards { display: grid; gap: 8px; margin: 12px 0; }
  .table-card { padding: 10px 12px; border-left: 3px solid var(--line); background: var(--surface); }
  .table-card h4 { margin: 0 0 3px; font-size: 1.06rem; }
  .table-card p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.65; }
  .table-card-label { color: var(--ink); font-weight: 600; }
  .guide-start { align-items: flex-start; flex-direction: column; padding: 16px; }
  .guide-chapter-card { grid-template-columns: 32px minmax(0, 1fr) 16px; gap: 9px; padding-inline: 2px; }
  .chapter-card-count { display: none; }
  .guide-lightbox { width: 100vw; max-width: 100vw; max-height: 100dvh; padding: 50px 10px 14px; border-radius: 0; }
  .guide-lightbox img { max-height: calc(100dvh - 104px); border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }
