@charset "utf-8";
/* ============================================================
   排排坐 — 樣式
   設計語言：Alison Roman editorial（DESIGN.md）
   奶油紙底 · 墨色內文 · 輕襯線 · 0px 圓角 · 無陰影
   ------------------------------------------------------------
   1. Tokens
   2. Reset / base
   3. Utilities
   4. Header
   5. Hero + search
   6. Explore layout / filters
   7. Results bar
   8. Cards (9:16)
   9. Section title
   10. Travel
   11. Footer
   12. Filter sheet / detail sheet / toast
   13. Responsive
   ============================================================ */

/* ── 1. Tokens ───────────────────────────────────────────── */
:root {
  /* Colors */
  --ink: #290a08;
  --burgundy: #810c00;
  --butter: #fff3cc;
  --canvas: #f6f0e1;
  --hero-paper: #f6f0e1;
  --linen: #fffaec;
  --hair: #e5e7eb;
  --paper: #ffffff;

  /* 墨色透明階（暖色髮絲線比冷灰更貼近紙感）
     文字最低一級係 --ink-meta：0.66 on parchment ≈ 5.6:1，過 AA。
     再淡嘅灰只可以用喺裝飾（框線、斑點），唔可以用嚟寫要讀嘅字。 */
  --ink-04: rgba(41, 10, 8, 0.04);
  --ink-08: rgba(41, 10, 8, 0.08);
  --ink-12: rgba(41, 10, 8, 0.12);
  --ink-16: rgba(41, 10, 8, 0.16);
  --ink-22: rgba(41, 10, 8, 0.22);
  --ink-meta: rgba(41, 10, 8, 0.66);
  --ink-64: rgba(41, 10, 8, 0.64);
  --ink-74: rgba(41, 10, 8, 0.74);
  /* 未選中控制項邊界：3:1 係下限，0.48 ≈ 3.2:1 on parchment */
  --line-control: rgba(41, 10, 8, 0.48);

  /* Type */
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino,
           "Songti TC", "Songti SC", "PMingLiU", "MingLiU", "Noto Serif TC",
           "Noto Serif CJK TC", Georgia, "Times New Roman", serif;
  --ui: "Helvetica Neue", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC",
        system-ui, sans-serif;

  --step-body: 18px;
  --track-tight: -0.02em;

  /* Layout */
  --page: 1200px;
  --pad: 32px;
  --section-gap: 112px;
  /* Header is overlaid on the hero, so its height is reserved inside the hero. */
  --head-h: 86px;
}

/* ── 2. Reset / base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--step-body);
  line-height: 1.6;
  font-feature-settings: "onum" 1, "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input, select { font: inherit; color: inherit; }

::selection { background: var(--butter); color: var(--ink); }

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

/* 紙張微粒：極淡，只為觸感，不是陰影 */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── 3. Utilities ────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.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;
}

/* SVG sprite：只係符號倉庫，唔佔位、唔畀輔助科技讀 */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}
.skip:focus { transform: translateY(0); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-meta);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow__dot {
  width: 5px; height: 5px;
  background: var(--ink);
  display: inline-block;
  flex: none;
}

.ico { width: 16px; height: 16px; flex: none; }

/* 按鈕：全站唯一彩色動作 = 墨色實心 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  padding: 11px 18px;
  min-height: 44px;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background-color 0.18s ease, color 0.18s ease,
              border-color 0.18s ease, opacity 0.18s ease;
}

.btn--ink {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn--ink:hover { background: #3d1613; border-color: #3d1613; }

.btn--ghost {
  border-color: var(--line-control);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink-04); border-color: var(--ink); }

.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.18s ease; }
.btn:hover svg { transform: translateX(3px); }

/* 行內連結：奶油螢光筆，不用藍色、不用底線 */
.linkish {
  font-size: 14.5px;
  color: var(--ink);
  padding: 6px 0;
  background-image: linear-gradient(var(--butter), var(--butter));
  background-repeat: no-repeat;
  background-size: 0% 0.6em;
  background-position: 0 88%;
  transition: background-size 0.22s ease, opacity 0.18s ease;
}
.linkish:hover { background-size: 100% 0.6em; }
.linkish--muted { color: var(--ink-meta); }

/* ── 4. Header ───────────────────────────────────────────── */
/* 頁首浮在首屏插畫上，插畫才可以由頁面最頂開始滿版。 */
.site-head {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 28px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
}

.brand__tile {
  width: 58px; height: 58px;
  flex: none;
  background: var(--paper);
  border: 1px solid var(--ink-16);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand__tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.brand__text { display: flex; flex-direction: column; gap: 4px; }

.brand__name {
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.06em;
}

.brand__tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-meta);
  line-height: 1.3;
}

/* 頁尾嘅快搜鍵喺頁首重現：一入站就跳得到區塊，唔使碌到底。
   同頁尾同一組目的地；社交平台由右邊嘅圖示組負責，唔重複。 */
.head__nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.head__nav a {
  font-size: 14.5px;
  letter-spacing: 0.02em;
  color: var(--ink-74);
  padding: 6px 0;
  background-image: linear-gradient(var(--butter), var(--butter));
  background-repeat: no-repeat;
  background-size: 0% 0.62em;
  background-position: 0 88%;
  transition: color 0.16s ease, background-size 0.22s ease;
}
.head__nav a:hover { color: var(--ink); background-size: 100% 0.62em; }

/* 社交平台：三個純線稿圖示（IG／Threads／Facebook），頁首頁尾共用。
   21px 圖示放喺 44px 觸控格，0 圓角；hover 只加 1px 髮絲線同 4% 墨色，
   唔加陰影 —— 同全站紙感一致。 */
.social {
  display: flex;
  align-items: center;
  gap: 2px;
}

.social__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 0;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.social__ico { display: block; width: 21px; height: 21px; }

@media (hover: hover) {
  .social__link:hover {
    background: var(--ink-04);
    border-color: var(--ink-16);
  }
}
.social__link:active {
  background: var(--ink-08);
  border-color: var(--ink-22);
}

/* ── 5. Hero ─────────────────────────────────────────────── */
/*
   滿版插畫舞台：
   - 背景由頁面最頂開始，浮起的頁首疊在插畫上。
   - 手機：圖片放大至 110% 高、向右推至 65%，情侶與載具留在右下；
     底部保留 pb-48（192px）草地，卡片不會壓住插畫。
   - 平板：靠底置中、cover。
   - 電腦：靠右下、cover，左上天空留給標題與搜尋框。
*/
.hero {
  --hero-art-pos: 65% bottom;
  --hero-art-size: auto 110%;
  --hero-art-fade: linear-gradient(
    to bottom,
    #000 calc(100% - 150px),
    rgba(0, 0, 0, 0.62) calc(100% - 70px),
    transparent 100%
  );
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--hero-paper);
  padding-top: calc(var(--head-h) + 52px);
  padding-bottom: 192px;
}

/* 插畫放喺 ::before，最底 150px 用 mask 淡出到全透明。
   最後一行像素 = --canvas，所以插畫同頁面之間冇接縫，
   而頁面顏色本身（#f6f0e1）一個字都冇改。 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("hero-illustration.jpg");
  background-repeat: no-repeat;
  background-position: var(--hero-art-pos);
  background-size: var(--hero-art-size);
  -webkit-mask-image: var(--hero-art-fade);
  mask-image: var(--hero-art-fade);
}

.hero__inner {
  max-width: 576px; /* max-w-xl */
  margin-right: auto;
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* 搜尋框跟隨文字欄寬，不再比文字欄更寬而伸出天空區。 */
.hero__inner .search { max-width: 100%; }

@media (min-width: 768px) {
  .hero {
    --hero-art-pos: center bottom;
    --hero-art-size: cover;
    padding-top: calc(var(--head-h) + 96px);
    padding-bottom: 96px; /* py-24 */
  }
}

@media (min-width: 1024px) {
  .hero {
    --hero-art-pos: right bottom;
    padding-top: calc(var(--head-h) + 112px);
    padding-bottom: 128px; /* lg:py-32 */
  }
  .hero__inner {
    max-width: 672px; /* lg:max-w-2xl */
  }
}

/* 只在橫向桌面用滿版視窗高度並垂直置中；
   直向平板（如 1024×1366）改用內容高度，避免 cover 裁切把情侶推入文字欄。 */
@media (min-width: 1024px) and (min-aspect-ratio: 4/3) {
  .hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
  }
}

.hero__title {
  margin-top: 26px;
  font-size: clamp(46px, 7.4vw, 92px);
  line-height: 1.02;
  letter-spacing: var(--track-tight);
  font-weight: 400;
  max-width: 13ch;
}
/* 標題全墨：顏色留返畀封面，內文保持兩色系 */
.hero__ink { color: var(--ink); white-space: nowrap; }

.hero__lede {
  margin-top: 30px;
  max-width: 44ch;
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--ink-74);
  text-wrap: pretty;
  word-break: auto-phrase;
}

/* 搜尋 */
.search {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 680px;
  background: var(--paper);
  border: 1px solid var(--line-control);
  padding: 4px 10px 4px 18px;
  transition: border-color 0.2s ease;
}
.search:focus-within { border-color: var(--ink); }

.search__ico { width: 20px; height: 20px; color: var(--ink-meta); flex: none; }

.search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: none;
  padding: 15px 0;
  font-size: 17.5px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.search input::placeholder { color: var(--ink-meta); }
.search input:focus { outline: none; }
.search input::-webkit-search-cancel-button { display: none; }

.search__clear {
  flex: none;
  font-size: 13.5px;
  color: var(--ink-meta);
  padding: 10px 12px;
  min-height: 40px;
  transition: color 0.16s ease;
}
.search__clear:hover { color: var(--ink); }

/* 熱門 */
.quick {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
}
.quick__label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-meta);
}
.quick__list { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }

.quick__item {
  font-size: 14.5px;
  padding: 4px 0;
  color: var(--ink-64);
  transition: color 0.16s ease;
  background-image: linear-gradient(var(--butter), var(--butter));
  background-repeat: no-repeat;
  background-size: 0% 0.7em;
  background-position: 0 92%;
  transition: background-size 0.2s ease, color 0.16s ease;
}
.quick__item:hover { color: var(--ink); background-size: 100% 0.7em; }
.quick__item[aria-pressed="true"] {
  color: var(--ink);
  background-size: 100% 0.7em;
}

.hero__meta {
  margin-top: 34px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-meta);
  padding-bottom: 8px;
}

/* ── 6. Explore layout / filters ─────────────────────────── */
/* 冇側欄：三個區塊都係滿版單欄，篩選一律由工具列嘅「篩選」
   開 <dialog id="filterSheet">，所以卡片用到成頁寬度。 */
.explore { padding-top: 56px; scroll-margin-top: 8px; }

/* 每個 fieldset 都係一個篩選群組 */
.filter-group {
  min-width: 0;
  margin: 0;
  padding: 18px 0 20px;
  border: 0;
  border-bottom: 1px solid var(--ink-08);
}
.filter-group:last-child { border-bottom: 0; }

.filter-group__legend {
  display: block;
  padding: 0;
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-meta);
  text-transform: uppercase;
}

.filter-group__hint {
  letter-spacing: 0.08em;
  color: var(--ink-64);
  text-transform: none;
}

.filter-group .chips { gap: 7px; }

/* 大區：桌面 wrap，手機 sheet 橫向 scroll */
.zone-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.zone-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 11px;
  min-height: 40px;
  border: 1px solid var(--line-control);
  color: var(--ink-74);
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease,
              border-color 0.16s ease;
}
.zone-tab:hover {
  background: var(--ink-04);
  color: var(--ink);
  border-color: var(--ink-meta);
}
.zone-tab:has(input:checked) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.zone-tab:has(input:focus-visible),
.chip:has(input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.filter-sheet .zone-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding: 4px 4px 8px;
}
.filter-sheet .zone-tabs::-webkit-scrollbar { display: none; }
.filter-sheet .zone-tab { flex: none; scroll-snap-align: start; }

/* 有滑鼠就唔使橫掃：全部大區一眼睇晒。 */
@media (min-width: 700px) {
  .filter-sheet .zone-tabs {
    flex-wrap: wrap;
    overflow: visible;
    padding: 2px 0 4px;
  }
}

/* 選項 chips：label + 隱藏 input */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  min-height: 40px;
  border: 1px solid var(--line-control);
  color: var(--ink-74);
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease,
              border-color 0.16s ease;
}
.chip:hover {
  background: var(--ink-04);
  color: var(--ink);
  border-color: var(--ink-meta);
}
.chip:has(input:checked) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.filter-count {
  font-size: 12px;
  opacity: 0.55;
  font-feature-settings: "lnum" 1;
}
.zone-tab:has(input:checked) .filter-count,
.chip:has(input:checked) .filter-count { opacity: 0.72; }

/* 0 個結果：唔可以撳，亦唔可以扮有得揀。
   app.js 會加 .is-disabled，呢度係佢嘅外觀。 */
.chip.is-disabled,
.zone-tab.is-disabled,
.chip:has(input:disabled),
.zone-tab:has(input:disabled) {
  cursor: not-allowed;
  color: var(--ink-meta);
  border-color: var(--ink-08);
  background: transparent;
}
.chip.is-disabled > span:first-of-type,
.zone-tab.is-disabled > span:first-of-type { opacity: 0.55; }

/* 「更多類型 / 更多特色」：用 <details>，但收起時要似一粒控制，
   要有 +/−，唔好靠瀏覽器個三角。 */
.filter-disclosure { margin-top: 10px; }

.filter-disclosure__summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--ink-meta);
  border-bottom: 1px solid var(--line-control);
  list-style: none;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.filter-disclosure__summary::-webkit-details-marker { display: none; }
.filter-disclosure__summary::before { content: "＋"; font-size: 12px; }
.filter-disclosure[open] > .filter-disclosure__summary::before { content: "−"; }
.filter-disclosure__summary:hover { color: var(--ink); border-color: var(--ink); }
.filter-disclosure__body { margin-top: 10px; }

/* 已選條件摘要：三個區塊共用，所有尺寸都見 */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 14px 0 0;
}
.active-filters[hidden] { display: none; }

.active-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--line-control);
  font-size: 13px;
  color: var(--ink-74);
  transition: background-color 0.16s ease, color 0.16s ease,
              border-color 0.16s ease;
}
.active-filter span { font-size: 15px; line-height: 1; opacity: 0.55; }
.active-filter:hover {
  background: var(--ink-04);
  color: var(--ink);
  border-color: var(--ink-meta);
}
.active-filters__clear {
  font-size: 12.5px;
  color: var(--ink-meta);
  padding: 6px 2px;
  min-height: 36px;
}
.active-filters__clear:hover { color: var(--ink); }

/* ── 7. Results bar ──────────────────────────────────────── */
.results-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px 20px;
  flex-wrap: wrap;
  padding: 12px 0;
  background: var(--canvas);
  border-bottom: 1px solid var(--ink-16);
}

/* 本地／外遊工具列同一個組件，只係喺區塊標題下面開始 */
.results-bar--section { margin-top: 28px; }

.results-bar__count {
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--ink-74);
}
.results-bar__count strong {
  font-weight: 400;
  font-size: 19px;
  color: var(--ink);
  margin-right: 3px;
}

.results-bar__actions {
  display: flex;
  align-items: center;
  gap: 10px 20px;
  flex-wrap: wrap;
  margin-left: auto;
}

.filter-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line-control);
  font-size: 14px;
  color: var(--ink);
  transition: background-color 0.16s ease, border-color 0.16s ease;
}
.filter-trigger:hover {
  background: var(--ink-04);
  border-color: var(--ink-meta);
}

/* 有條件生效時，篩選鍵同已選 chips 一樣著墨：
   唔使開 panel 都知呢個名單收窄咗。 */
.filter-trigger.is-active {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-trigger__badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  line-height: 1;
  font-feature-settings: "lnum" 1;
}
.filter-trigger__badge[hidden] { display: none; }

.sort { display: inline-flex; align-items: center; gap: 8px; }
.sort__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-meta);
  text-transform: uppercase;
}
.sort select {
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--line-control);
  background: transparent;
  padding: 6px 20px 6px 2px;
  font-size: 14.5px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23290a08' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  transition: border-color 0.18s ease;
}
.sort select:hover { border-bottom-color: var(--ink); }

/* ── 8. Cards ────────────────────────────────────────────── */
/* 滿版之後 1024px 已經夠位放四欄；再闊都係四欄，
   因為 --page 封頂 1200px，五欄會令 9:16 封面細到睇唔清。 */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 12px;
  padding-top: 24px;
}
.grid[hidden] { display: none; }

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px 20px;
    padding-top: 32px;
  }
}
@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 44px 24px;
  }
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  scroll-margin-top: 80px;
}

.card__open {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

/* 9:16 — IG Reels 封面原生比例，避免裁切 */
.plate {
  display: block;
  position: relative;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--ink-16);
  overflow: hidden;
  background: var(--paper);
}
.plate svg { display: block; width: 100%; height: 100%; }

/* 真 Reel 封面：卡片上鋪滿 9:16，任何比例都唔會露白邊。 */
.plate__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 詳情面板：16:7 塞 9:16 會鋸走畫面，所以改成「裱相」——
   亞麻底、留白、成張圖完整見人（DESIGN.md 嘅 book plate）。
   4:3 係面板高度同相片尺寸之間嘅平衡，唔會霸死成個面板。 */
.sheet__plate.plate--still {
  aspect-ratio: 4 / 3;
  background: var(--linen);
}
.sheet__plate.plate--still .plate__img {
  object-fit: contain;
  padding: 20px;
}

.plate__tag {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 8px;
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--ink-16);
}
.plate--ink .plate__tag,
.plate--burgundy .plate__tag {
  background: transparent;
  color: var(--canvas);
  border-color: rgba(246, 240, 225, 0.42);
}

/* 地區 · 類型：卡片最細嘅一級，13px 起，唔會再細。 */
.card__kicker {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-meta);
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .card__kicker { margin-top: 16px; }
}

.card__title {
  display: inline;
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 400;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-image: linear-gradient(var(--butter), var(--butter));
  background-repeat: no-repeat;
  background-size: 0% 0.55em;
  background-position: 0 90%;
  transition: background-size 0.24s ease;
}
@media (min-width: 768px) {
  .card__title { font-size: 20px; }
}
@media (min-width: 1024px) {
  .card__title { font-size: 19px; }
}

.card__open:hover .card__title,
.card__open:focus-visible .card__title { background-size: 100% 0.55em; }


.card__foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
@media (min-width: 768px) {
  .card__foot { padding-top: 16px; gap: 10px 18px; font-size: 14px; }
}

.card__foot .act:first-of-type { margin-left: auto; }

/* 景點卡冇價位，動作就由左邊開始，唔好吊喺右邊留一大條空位。 */
.card__foot--plain .act:first-of-type { margin-left: 0; }

.price {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-74);
}
@media (min-width: 768px) {
  .price { font-size: 12.5px; }
}
.price__note { font-size: 12px; letter-spacing: 0.08em; color: var(--ink-meta); }

.act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink);
  background-image: linear-gradient(var(--butter), var(--butter));
  background-repeat: no-repeat;
  background-size: 0% 0.5em;
  background-position: 0 88%;
  transition: background-size 0.2s ease, color 0.2s ease;
}
@media (min-width: 768px) {
  .act { font-size: 13.5px; }
}
.act:hover { background-size: 100% 0.5em; }
.act svg { width: 12px; height: 12px; opacity: 0.55; }
.act--quiet { color: var(--ink-meta); }
.act--quiet:hover { color: var(--ink); }

/* 空狀態 */
.empty {
  padding: 88px 0 72px;
  max-width: 560px;
}
.empty__title {
  font-size: 27px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.empty__text {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-64);
}
.empty__picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.empty .btn { margin-top: 28px; }

/* 更多 */
.more {
  margin-top: 88px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.more__text { font-size: 16px; color: var(--ink-64); }

/* ── 9. Section title（外遊仍在用） ─────────────────────── */
.feature__title {
  margin-top: 22px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.14;
  letter-spacing: var(--track-tight);
  font-weight: 400;
}

/* ── 10. Travel ──────────────────────────────────────────── */
.travel { padding-top: var(--section-gap); }

/* 本地攻略：同外遊同一個呼吸節奏，heading 重用 .travel__head */
.local-spots { padding-top: var(--section-gap); }

/* 標題行唔再自己畫線：下面嘅工具列用同一條 --ink-16 髮絲線收口，
   三個區塊（搵店／本地／外遊）嘅節奏就一致。 */
.travel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.travel__note {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-64);
  max-width: 36ch;
  text-wrap: pretty;
  word-break: auto-phrase;
}
.travel__hint { display: block; color: var(--ink-meta); font-size: 13.5px; margin-top: 4px; }


/* ── 11. Footer ──────────────────────────────────────────── */
.site-foot { padding-top: 120px; padding-bottom: 56px; }

.site-foot__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px 40px;
  align-items: start;
  padding-top: 36px;
  border-top: 1px solid var(--ink-16);
}

.site-foot__brand { display: flex; align-items: center; gap: 14px; }
.site-foot__brand img {
  width: 48px; height: 48px;
  object-fit: cover;
  border: 1px solid var(--ink-16);
  background: var(--paper);
  mix-blend-mode: multiply;
}
.site-foot__name { font-size: 19px; letter-spacing: 0.08em; }
.site-foot__tag { font-size: 12.5px; letter-spacing: 0.08em; color: var(--ink-meta); }

/* 頁尾右邊：文字快搜鍵 + 同一組社交圖示 */
.site-foot__aside {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-foot__nav { display: flex; gap: 26px; font-size: 14.5px; }
.site-foot__nav a {
  color: var(--ink-74);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.site-foot__nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.site-foot__legal {
  grid-column: 1 / -1;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-meta);
  max-width: 62ch;
  margin-top: 12px;
}

.noscript {
  padding: 32px;
  border: 1px solid var(--line-control);
  background: var(--linen);
  margin-top: 24px;
}

/* ── 12. Filter bottom sheet ─────────────────────────────── */
.filter-sheet {
  position: fixed;
  inset: auto 0 0;
  width: min(560px, 100%);
  max-width: 560px;
  max-height: 88vh;
  max-height: 88svh;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

/* 桌面用同一塊 bottom sheet，只係闊少少令 chips 一行放得晒。 */
@media (min-width: 1024px) {
  .filter-sheet {
    width: min(620px, 100%);
    max-width: 620px;
  }
}

.filter-sheet::backdrop {
  background: rgba(41, 10, 8, 0.55);
}

.filter-sheet__panel {
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  max-height: 88svh;
  background: var(--linen);
  border: 1px solid var(--ink-16);
  border-bottom: 0;
}

.filter-sheet__head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ink-12);
}

/* 標題同「邊一區 · 幾個條件」同一行；窄機自己換行，
   唔會將粒 close 擠出 panel。 */
.filter-sheet__heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 10px;
  min-width: 0;
}

.filter-sheet__title {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.filter-sheet__meta {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-meta);
  font-feature-settings: "lnum" 1;
}

.filter-sheet__close {
  margin-left: auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-16);
  background: var(--paper);
  transition: background-color 0.16s ease;
}
.filter-sheet__close:hover { background: var(--butter); }
.filter-sheet__close svg { width: 18px; height: 18px; }

.filter-sheet__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 20px 16px;
  scroll-padding-bottom: 16px;
}
.filter-sheet__body .filter-group:last-child { border-bottom: 0; }
.filter-sheet .chip,
.filter-sheet .zone-tab { min-height: 44px; }

.filter-sheet__foot {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: var(--linen);
  border-top: 1px solid var(--ink-12);
}

.filter-sheet__reset {
  font-size: 13px;
  color: var(--ink-meta);
  min-height: 44px;
  padding: 6px 4px;
}
.filter-sheet__reset:hover { color: var(--ink); }

.filter-sheet__apply {
  flex: 1 1 auto;
  justify-content: center;
  min-height: 48px;
}

.filter-sheet[open] .filter-sheet__panel {
  animation: sheet-in 0.26s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.filter-sheet[open]::backdrop {
  animation: backdrop-in 0.2s ease both;
}

@keyframes sheet-in {
  from { transform: translateY(100%); opacity: 0.6; }
  to { transform: none; opacity: 1; }
}
@keyframes backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── 12. Sheet / toast ───────────────────────────────────── */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(41, 10, 8, 0.55);
  opacity: 0;
  transition: opacity 0.24s ease;
}
.scrim.is-on { opacity: 1; }

.sheet {
  position: fixed;
  z-index: 71;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%);
  width: min(680px, calc(100vw - 40px));
  max-height: min(86vh, 900px);
  overflow-y: auto;
  background: var(--linen);
  padding: 64px 44px 44px;
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overscroll-behavior: contain;
}
.sheet.is-on { opacity: 1; transform: translate(-50%, -50%); }

.sheet__close {
  position: absolute;
  right: 12px; top: 12px;
  z-index: 2;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink-16);
  transition: background-color 0.16s ease;
}
.sheet__close:hover { background: var(--butter); }
.sheet__close svg { width: 18px; height: 18px; }

.sheet__plate { aspect-ratio: 16 / 7; }
.sheet__kicker {
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-meta);
}
.sheet__title {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.sheet__desc {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink-74);
}
.sheet__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 18px;
}
.sheet__tags li {
  font-size: 12px;
  letter-spacing: 0.08em;
  border: 1px solid var(--ink-16);
  padding: 4px 9px 5px;
  color: var(--ink-64);
}
.sheet__sub {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-meta);
}
.sheet__list { margin-top: 10px; border-top: 1px solid var(--ink-12); }
.sheet__list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--ink-08);
  font-size: 16px;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.sheet__list li span {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-meta);
  font-feature-settings: "lnum" 1;
  flex: none;
  width: 24px;
}
.sheet__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sheet__meta {
  margin-top: 20px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--ink-meta);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  font-size: 14px;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.28s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── 13. Responsive ──────────────────────────────────────── */
@media (max-width: 1080px) {
  :root { --pad: 28px; --section-gap: 96px; }
}

@media (max-width: 880px) {
  :root { --head-h: 70px; }
  .site-head { padding-block: 20px 0; }
  .brand__tile { width: 50px; height: 50px; }
  .brand__name { font-size: 20px; }
  .brand__tag { font-size: 12px; }
  .head__nav { gap: 22px; }
  .head__nav a { font-size: 14px; min-height: 44px; padding: 10px 0; }
}

@media (max-width: 700px) {
  :root { --pad: 20px; --section-gap: 80px; --step-body: 17px; --head-h: 114px; }

  /* 手機：插畫放大後情侶大約在畫面 41% 高度，長文案會壓住臉。
     因此只保留 eyebrow + 標題 + 搜尋框，其餘資訊在下方篩選區已有。
     頁首多一行快搜鍵，舞台同時加高，令搜尋框同插畫嘅留白唔變。 */
  .hero {
    min-height: 940px;
    min-height: max(940px, 100svh);
    padding-top: calc(var(--head-h) + 8px);
  }
  .hero__lede,
  .hero .quick,
  .hero__meta { display: none; }

  .hero__title { font-size: clamp(38px, 11.5vw, 56px); margin-top: 20px; }
  .search { margin-top: 30px; padding-left: 14px; }
  .search input { font-size: 16px; padding: 14px 0; }
  .search input::placeholder { font-size: 14.5px; }

  /* 品牌同社交圖示一行，快搜鍵自己一行：兩行都比硬塞一行清楚。 */
  .site-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand social"
      "nav   nav";
    align-items: center;
    column-gap: 12px;
    row-gap: 6px;
  }
  .brand { grid-area: brand; gap: 10px; }
  .brand__tile { width: 44px; height: 44px; }
  .brand__name { font-size: 18px; }
  .brand__tag { display: none; }

  .head__nav { grid-area: nav; margin-left: 0; }

  .site-head > .social {
    grid-area: social;
    justify-self: end;
  }
  .site-head > .social .social__ico { width: 20px; height: 20px; }

  .explore { padding-top: 40px; }

  .chip,
  .zone-tab { font-size: 13.5px; padding: 10px 11px; min-height: 44px; }
  .chips { gap: 7px; }
  .filter-group { padding: 16px 0 18px; }

  .results-bar { gap: 10px; }
  .results-bar--section { margin-top: 22px; }
  /* 手機：第一行 數量 ←→ 篩選，第二行 排序 ←→ 連結。 */
  .filter-trigger { margin-left: auto; }
  .results-bar__actions {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
    gap: 8px 14px;
  }

  .active-filters { padding-top: 12px; }
  .active-filter,
  .active-filters__clear { min-height: 44px; }
  .results-bar .linkish { padding-block: 12px; }
  .sort select { min-height: 44px; }

  /* results bar 在手機約 120px 高，focus 卡片時要留位 */
  .card { scroll-margin-top: 132px; }

  .more { margin-top: 64px; }

  .feature__title { font-size: 30px; }

  .travel__head { gap: 18px; }

  .site-foot { padding-top: 80px; padding-bottom: 36px; }
  .site-foot__inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .site-foot__aside { justify-content: flex-start; }
  .site-foot__nav { gap: 20px; }

  .sheet {
    top: auto;
    bottom: 0;
    left: 0;
    transform: translateY(6%);
    width: 100%;
    max-height: 92vh;
    padding: 58px 22px 32px;
  }
  .sheet.is-on { transform: translateY(0); }
  .sheet__title { font-size: 27px; }
  .sheet__actions { gap: 8px; }
  .sheet__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* 701–767px：插畫仍用手機裁切，但保留完整文案；收窄行寬避開情侶。 */
@media (min-width: 701px) and (max-width: 767px) {
  .hero__lede { max-width: 19rem; }
}

@media (max-width: 380px) {
  .brand__tag { display: none; }
  .results-bar__count { font-size: 14px; }
  .sort__label { display: none; }
}

/* ── 14. 細字下限 + 觸控目標 ─────────────────────────────
   12px 係桌面下限；手機一律 13px，唔靠縮字換密度。
   觸控目標 44px：手指唔會因為字細而變細。 */
@media (max-width: 700px) {
  .eyebrow,
  .brand__tag,
  .quick__label,
  .sort__label,
  .filter-group__legend,
  .filter-count,
  .price,
  .price__note,
  .plate__tag,
  .filter-sheet__meta,
  .sheet__kicker,
  .sheet__sub,
  .sheet__meta,
  .active-filters__clear,
  .site-foot__tag,
  .site-foot__legal,
  .sheet__list li span { font-size: 13px; }
}

@media (pointer: coarse), (max-width: 700px) {
  .act { min-height: 44px; padding-block: 6px; }
  .search__clear,
  .active-filter,
  .active-filters__clear { min-height: 44px; }
  .linkish { padding-block: 12px; }
}

/* 尊重減少動態 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
