/* wedding 首頁「美國結婚全地圖」（2026-10-27）。只給 hub/render.mjs 輸出的 .wh-* 用，不動站上其他樣式。
   色票沿用 style.css 的 --bg／--ink／--muted／--line／--card／--signal，粉紅 #f2c4ca 是 10/14 站長指定 wedding 用的主站 --pink。
   四條線的顏色寫在各線的 style="--lane:…"（hub/content.zh-Hant.mjs 的 color）。 */

/* style.css 有一條全域的 section { max-width: 48rem; padding: 0 1.25rem }，hero 要滿版，這裡解開。 */
.wh-hero {
  max-width: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  border-bottom: 1px solid var(--line);
}
.wh-hero-copy { padding: clamp(28px, 4.2vw, 64px) clamp(18px, 3.8vw, 56px); min-width: 0; }
.wh-hero-board {
  min-width: 0;
  padding: clamp(18px, 2.6vw, 36px) clamp(16px, 2.6vw, 40px) clamp(28px, 3vw, 44px);
  background: #f2c4ca;
  border-left: 1px solid var(--line);
}

.wh-purpose {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin: 14px 0 0; padding: 9px 12px; border: 1px solid var(--line); background: var(--card);
}
.wh-purpose b { font-size: 13px; font-weight: 800; }
.wh-purpose span { font: 500 10px "DM Mono", ui-monospace, monospace; letter-spacing: .1em; white-space: nowrap; }
.wh-hero h1 {
  margin: 22px 0 14px;
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 1.12;
}
.wh-hero h1 em { display: block; font-style: normal; color: #b23a55; }
.wh-intro { margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.8; }

/* ── 搜尋 ── */
.wh-search { margin: 0 0 18px; }
.wh-search label, .wh-statepick label { display: block; margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.wh-search-row { display: flex; }
.wh-search-row input {
  flex: 1; min-width: 0; height: 52px; padding: 0 14px;
  border: 1px solid var(--line); border-right: 0; border-radius: 0; background: #fff; color: var(--ink);
  font: 16px/1.2 system-ui, -apple-system, "Noto Sans TC", "PingFang TC", sans-serif;
}
.wh-search-row button {
  flex: none; height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: 0;
  background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 800; cursor: pointer;
  box-shadow: 4px 4px 0 var(--signal);
}
.wh-results { margin: 10px 0 0; padding: 6px 14px 10px; border: 1px solid var(--line); background: var(--card); max-height: 360px; overflow-y: auto; }
.wh-results-h { margin: 8px 0 4px; font: 700 10px "DM Mono", ui-monospace, monospace; letter-spacing: .1em; color: var(--muted); }
.wh-results ul { list-style: none; margin: 0; padding: 0; }
.wh-results li + li { border-top: 1px dashed rgba(21, 25, 30, .15); }
.wh-results button, .wh-results a {
  display: flex; align-items: baseline; gap: 8px; width: 100%; padding: 8px 0; border: 0; background: none;
  color: inherit; font: inherit; font-size: 14.5px; text-align: left; text-decoration: none; cursor: pointer;
}
.wh-results button:hover b, .wh-results a:hover { text-decoration: underline; }
.wh-results i { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; }
.wh-results-none { margin: 6px 0; color: var(--muted); font-size: 14px; }
.wh-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; }
.wh-chips span { font-size: 12px; color: var(--muted); margin-right: 2px; }
.wh-chips button {
  padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent;
  color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer;
}
.wh-chips button:hover, .wh-chips button:focus-visible { background: var(--signal); }

/* ── 選州 ── */
.wh-statepick { margin: 22px 0 0; padding: 14px 14px 12px; border: 1px solid var(--line); background: var(--card); }
.wh-statepick select {
  width: 100%; height: 46px; padding: 0 10px; border: 1px solid var(--line); border-radius: 0; background: #fff;
  color: var(--ink); font: 15px system-ui, -apple-system, "Noto Sans TC", "PingFang TC", sans-serif;
}
.wh-state-card { margin: 12px 0 0; }
.wh-state-card dl { margin: 0; display: grid; gap: 8px; }
.wh-state-card dl > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 8px; padding-top: 8px; border-top: 1px dashed rgba(21, 25, 30, .18); }
.wh-state-card dt { font-size: 12.5px; font-weight: 800; }
.wh-state-card dd { margin: 0; font-size: 13.5px; line-height: 1.55; }
.wh-state-card dd ul { list-style: none; margin: 0; padding: 0; }
.wh-state-card dd li + li { margin-top: 4px; }
.wh-sc-title { margin: 0 0 4px; font-size: 16px; }
.wh-sc-title span { margin-left: 6px; font: 12px "DM Mono", ui-monospace, monospace; color: var(--muted); }
.wh-sc-note { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.wh-state-all { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 800; }

.wh-cta { margin-top: 0; }
.wh-cta-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.7; }
/* 繁中、簡中五格（含駐美辦事處館數），英日韓四格：欄數跟著格數走。 */
.wh-stats {
  list-style: none; margin: 22px 0 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  border: 1px solid var(--line); background: var(--card);
}
.wh-stats li { padding: 10px 10px 8px; min-width: 0; }
.wh-stats li + li { border-left: 1px solid var(--line); }
/* 舊版 hero 的 Racco（拿戒指盒那張）：桌機左欄在數字列下面還有空間，放這裡；疊成一欄時不放。 */
.wh-racco { display: block; width: min(220px, 46%); height: auto; margin: 28px 0 0 auto; filter: drop-shadow(7px 7px 0 rgba(21, 25, 30, .12)); }
.wh-stats b { display: block; font: 600 28px/1 "Bodoni Moda", serif; letter-spacing: -.03em; }
.wh-stats span { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); }

/* ── 路線圖 ── */
.wh-board {
  position: relative; padding: 18px 20px 0;
  border: 1px solid var(--line); background: var(--card); box-shadow: 10px 10px 0 var(--ink);
}
.wh-board-head h2 { margin: 4px 0 2px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; }
.wh-board-head > p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.wh-sit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 0; }
.wh-sit span { font-size: 12px; font-weight: 800; margin-right: 4px; }
.wh-sit button {
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--ink); font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.wh-sit button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.wh-sit-count { margin: 8px 0 0; font-size: 12.5px; font-weight: 700; }

.wh-lanes { display: grid; gap: 4px; margin: 14px 0 0; }
.wh-lane { padding: 10px 0 2px; border-top: 1px dashed rgba(21, 25, 30, .2); }
.wh-lane-name { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13.5px; }
.wh-lane-name i {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--lane); color: #fff;
  font: 700 11px/22px "DM Mono", ui-monospace, monospace; font-style: normal; text-align: center;
}
.wh-lane-name b { font-weight: 800; }
.wh-lane-name span { font: 500 9.5px "DM Mono", ui-monospace, monospace; letter-spacing: .1em; color: var(--muted); }
.wh-stops {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
}
/* 路線：從第一站的點畫到最後一站的點。li 等寬，所以頭尾各縮半格。 */
.wh-stops::before {
  content: ""; position: absolute; top: 8px; height: 4px; background: var(--lane);
  left: calc(50% / var(--n, 7)); right: calc(50% / var(--n, 7));
}
.wh-stops li { position: relative; min-width: 0; transition: opacity .2s; }
.wh-stops a {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 2px 10px;
  color: inherit; text-align: center; text-decoration: none;
}
.wh-stops a i {
  width: 20px; height: 20px; border-radius: 50%; border: 4px solid var(--lane); background: #fff;
  transition: transform .15s ease, background .15s ease;
}
.wh-stops a b { font-size: 12.5px; line-height: 1.3; font-weight: 700; word-break: keep-all; overflow-wrap: break-word; }
.wh-stops a:hover i, .wh-stops a:focus-visible i { transform: scale(1.25); }
.wh-stops a[aria-current="true"] i { background: var(--lane); box-shadow: 0 0 0 4px var(--signal); }
.wh-stops a[aria-current="true"] b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.wh-stops li.is-dim, .wh-st.is-dim { opacity: .3; }

/* ── 面板（桌機在路線圖下方；手機點了才從下面拉上來） ── */
.wh-panel { position: relative; margin: 10px -20px 0; padding: 18px 20px 20px; border-top: 1px solid var(--line); background: #fff; outline: none; }
.wh-panel-close {
  display: none; position: absolute; top: 8px; right: 10px; width: 40px; height: 40px;
  border: 1px solid var(--line); background: var(--card); font-size: 22px; line-height: 1; cursor: pointer;
}
.wh-panel-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 10px; }
.wh-panel-lane { margin: 0; font-size: 12.5px; font-weight: 800; color: var(--muted); }
.wh-panel-head h3 { grid-column: 1 / -1; margin: 8px 0 8px; font: 800 22px/1.3 "Noto Sans TC", "PingFang TC", sans-serif; letter-spacing: -.01em; }
.wh-panel .wh-more > summary { display: none; }
.wh-panel .wh-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wh-panel-map { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 800; }
.wh-sheet-backdrop { display: none; }

/* ── 一站的內容（地圖卡與面板共用） ── */
.wh-st-no {
  display: inline-block; min-width: 34px; padding: 3px 6px; background: var(--lane); color: #fff;
  font: 700 12px/1.2 "DM Mono", ui-monospace, monospace; text-align: center;
}
.wh-answer { margin: 0 0 10px; font-size: 15.5px; line-height: 1.75; }
.wh-who { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; font-size: 13.5px; line-height: 1.6; }
.wh-who b { flex: none; padding: 1px 8px; border: 1px solid var(--line); font-size: 11.5px; }
.wh-more > summary {
  padding: 9px 0; border-top: 1px solid rgba(21, 25, 30, .15);
  font-size: 13px; font-weight: 800; cursor: pointer; list-style: none;
}
.wh-more > summary::-webkit-details-marker { display: none; }
.wh-more > summary::before { content: "＋"; display: inline-block; width: 1.4em; }
.wh-more[open] > summary::before { content: "－"; }
.wh-blocks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 22px; padding: 4px 0 2px; }
.wh-block-title { margin: 0 0 4px; font-size: 12.5px; font-weight: 800; }
.wh-block ul, .wh-links { list-style: none; margin: 0; padding: 0; }
.wh-block li, .wh-links li { padding: 6px 0; border-top: 1px dashed rgba(21, 25, 30, .15); font-size: 13.5px; line-height: 1.55; }
.wh-block a, .wh-links a { color: inherit; text-underline-offset: 2px; }
.wh-block a:hover, .wh-links a:hover { color: #b23a55; }
.wh-tag { margin-right: 6px; padding: 0 5px; border: 1px solid currentColor; font-size: 10.5px; font-style: normal; font-weight: 800; white-space: nowrap; }
.wh-tag.is-free { border-color: var(--ink); background: var(--signal); }
.wh-tag.is-paid { color: var(--muted); }
.wh-items li a { text-decoration: none; }
.wh-items li a span { text-decoration: underline; text-decoration-color: rgba(21, 25, 30, .3); text-underline-offset: 2px; }
.wh-items-more { color: var(--muted); }
.wh-items-cta { display: inline-block; margin-top: 8px; font-size: 13.5px; font-weight: 800; }
.wh-ext { margin-left: 3px; font-size: .8em; }
.wh-site { margin-right: 6px; padding: 0 5px; border: 1px solid var(--line); font-size: 10.5px; font-style: normal; font-weight: 700; white-space: nowrap; }
.wh-block-platforms ul, .wh-platforms { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.wh-block-platforms li, .wh-platforms li { padding: 0; border: 0; }
.wh-platform, .wh-platforms a {
  display: inline-block; padding: 4px 10px; border: 1px solid var(--line); background: #fff;
  font-size: 13px; font-weight: 700; text-decoration: none;
}
.wh-platform:hover, .wh-platforms a:hover { background: var(--signal); color: var(--ink); }
.wh-states-link { margin: 0; font-size: 13.5px; font-weight: 800; }

/* ── 頁內導覽 ── */
.wh-jump { position: sticky; top: 0; z-index: 25; background: var(--bg); border-bottom: 1px solid var(--line); }
.wh-jump > div { display: flex; gap: 2px; max-width: 1200px; margin: 0 auto; padding: 0 clamp(6px, 3vw, 32px); overflow-x: auto; scrollbar-width: none; }
.wh-jump > div::-webkit-scrollbar { display: none; }
.wh-jump a { flex: none; padding: 13px 12px; font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.wh-jump a:hover, .wh-jump a:focus-visible { background: var(--signal); }

/* ── 下面幾段的共同版型 ── */
.wh-map, .wh-states, .wh-services, .wh-agencies, .wh-sister {
  max-width: 1200px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) clamp(16px, 4vw, 40px) 0;
  scroll-margin-top: 48px;
}
.wh-head { max-width: 980px; margin: 0 0 28px; }
.wh-head h2 { margin: 6px 0 12px; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.15; }
.wh-head > p:last-child { max-width: 780px; margin: 0; color: var(--muted); line-height: 1.8; }

.wh-map-lane { margin: 0 0 44px; scroll-margin-top: 48px; }
.wh-map-lane-head { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 16px; padding-top: 14px; border-top: 6px solid var(--lane); }
.wh-map-lane-head > i {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--lane); color: #fff;
  font: 700 18px/40px "DM Mono", ui-monospace, monospace; font-style: normal; text-align: center;
}
.wh-map-lane-head .eyebrow { margin: 2px 0 0; }
.wh-map-lane-head h3 { margin: 2px 0 6px; font: 800 24px/1.25 "Noto Sans TC", "PingFang TC", sans-serif; }
.wh-map-lane-head p:last-child { max-width: 780px; margin: 0; color: var(--muted); line-height: 1.75; }
.wh-st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 16px; align-items: start; }
.wh-st { padding: 16px 18px 6px; border: 1px solid var(--line); background: var(--card); scroll-margin-top: 60px; transition: opacity .2s, box-shadow .2s; }
.wh-st header { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.wh-st h4 { margin: 0; font: 800 18px/1.35 "Noto Sans TC", "PingFang TC", sans-serif; }
.wh-st:target { box-shadow: 6px 6px 0 var(--lane); }
.wh-latest { margin: 0 0 20px; padding: 16px 18px; border: 1px dashed var(--line); }

/* 各州：依駐美辦事處分組 */
.wh-teco-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; align-items: start; }
.wh-teco { border: 1px solid var(--line); background: var(--card); }
.wh-teco header { padding: 14px 16px 12px; border-bottom: 1px solid var(--line); background: #f8dde0; }
.wh-teco h3 { margin: 0 0 4px; font: 800 17px/1.35 "Noto Sans TC", "PingFang TC", sans-serif; }
.wh-teco-link { font-size: 12.5px; line-height: 1.5; }
.wh-state-list { list-style: none; margin: 0; padding: 2px 16px 10px; }
.wh-state-list > li { padding: 10px 0; scroll-margin-top: 60px; }
.wh-state-list > li + li { border-top: 1px dashed rgba(21, 25, 30, .18); }
.wh-state-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; }
.wh-state-name b { font-size: 15px; }
.wh-state-name > span { font: 11px "DM Mono", ui-monospace, monospace; color: var(--muted); }
.wh-vital { margin-left: auto; font-size: 12.5px; }
.wh-vital.is-text { color: var(--muted); }
.wh-state-guides { list-style: none; margin: 6px 0 0; padding: 0; font-size: 13px; line-height: 1.55; }
.wh-state-guides li { position: relative; padding: 2px 0 2px 16px; }
.wh-state-guides li::before { content: "→"; position: absolute; left: 0; }
.wh-state-note { margin: 6px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.wh-source { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }

/* 各州：英日韓照州名排成一張表（flat），駐美辦事處縮成上面那一行 */
.wh-teco-line { max-width: 780px; margin: 0 0 18px; padding: 10px 14px; border-left: 4px solid #1f7a5a; background: var(--card); font-size: 14px; line-height: 1.7; }
.wh-teco-line a { font-weight: 800; }
.wh-state-flat { border: 1px solid var(--line); background: var(--card); }
.wh-state-cols { columns: 3 280px; column-gap: 32px; padding: 6px 20px 8px; }
.wh-state-cols > li { break-inside: avoid; border-bottom: 1px dashed rgba(21, 25, 30, .18); }
.wh-state-cols > li + li { border-top: 0; }

/* 廠商 */
.wh-svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: start; }
.wh-svc { padding: 18px; border: 1px solid var(--line); background: var(--card); }
.wh-svc h3 { margin: 0 0 6px; font: 800 18px/1.35 "Noto Sans TC", "PingFang TC", sans-serif; }
.wh-svc > p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.wh-svc .wh-platforms { margin: 0 0 12px; }
.wh-svc .wh-block + .wh-block { margin-top: 10px; }
.wh-svc-shop { background: #f2c4ca; }

/* 機關 */
.wh-agency-group { margin: 0 0 30px; }
.wh-agency-group > h3 { margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font: 800 15px "Noto Sans TC", "PingFang TC", sans-serif; }
.wh-agency-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 14px; align-items: start; }
.wh-agency { padding: 14px 16px; border: 1px solid var(--line); background: var(--card); }
.wh-agency h4 { margin: 0 0 4px; font: 800 16px/1.4 "Noto Sans TC", "PingFang TC", sans-serif; }
.wh-agency > p { margin: 0 0 8px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.wh-agency .wh-states-link { margin-top: 8px; }

/* 姊妹站 */
.wh-sister-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.wh-sis { display: flex; flex-direction: column; padding: 16px; border: 1px solid var(--line); background: var(--card); }
.wh-sis > .wh-site { align-self: flex-start; margin: 0; }
.wh-sis h3 { margin: 8px 0 4px; font: 800 17px/1.35 "Noto Sans TC", "PingFang TC", sans-serif; }
.wh-sis > p { margin: 0 0 8px; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.wh-sis-home { margin: auto 0 0; padding-top: 10px; font: 12px "DM Mono", ui-monospace, monospace; }

/* 收尾的購買條 */
.wh-band {
  max-width: 1120px; margin: clamp(56px, 6vw, 96px) auto 0; padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line); background: var(--signal); box-shadow: 10px 10px 0 var(--ink);
}
.wh-band h2 { margin: 6px 0 10px; font-size: clamp(26px, 3vw, 40px); line-height: 1.2; }
.wh-band > p:not(.eyebrow) { max-width: 760px; margin: 0; line-height: 1.8; }

/* 日文、韓文的斷行（2026-10-28）。韓文照詞斷：預設會把「영주권」斷成「영／주권」。
   日文標題照片語斷（word-break: auto-phrase，Chrome 119 起；其他瀏覽器照平常斷）。
   日文大標只在文字裡標的位置斷（content.ja.mjs 的 ​ → <wbr>），字級略小：日文同一句比中文長。 */
html[lang="ko"] :is(.wh-hero, .wh-jump, .wh-map, .wh-states, .wh-services, .wh-agencies, .wh-sister, .wh-band) { word-break: keep-all; overflow-wrap: break-word; }
html[lang="ja"] :is(.wh-head h2, .wh-board-head h2, .wh-band h2, .wh-map-lane-head h3, .wh-panel-head h3, .wh-st h4, .wh-svc h3, .wh-sis h3, .wh-agency h4) { word-break: auto-phrase; }
html[lang="ja"] .wh-hero h1 { font-size: clamp(28px, 2.7vw, 44px); word-break: keep-all; overflow-wrap: break-word; }

@media (max-width: 1180px) { .wh-band { margin-left: 16px; margin-right: 16px; } }

@media (max-width: 1099px) {
  .wh-racco { display: none; }
  .wh-hero { grid-template-columns: minmax(0, 1fr); }
  .wh-hero-board { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 759px) {
  .wh-purpose { flex-direction: column; align-items: flex-start; gap: 2px; }
  .wh-stats li { padding: 8px 6px 7px; }
  .wh-stats b { font-size: 21px; }
  .wh-stats span { font-size: 10.5px; line-height: 1.35; }
  .wh-search-row button { padding: 0 14px; box-shadow: none; }
  .wh-board { padding: 16px 14px 14px; box-shadow: 6px 6px 0 var(--ink); }
  /* 手機的路線改成兩欄的站牌 */
  .wh-stops { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .wh-stops::before { display: none; }
  .wh-stops a {
    flex-direction: row; justify-content: flex-start; gap: 8px; height: 100%; padding: 9px 10px;
    border: 1px solid rgba(21, 25, 30, .22); background: #fff; text-align: left;
  }
  .wh-stops a i { flex: none; width: 14px; height: 14px; border-width: 3px; }
  .wh-stops a b { font-size: 13.5px; }
  .wh-stops a[aria-current="true"] { border-color: var(--lane); }
  .wh-panel { margin: 12px -14px -14px; padding: 16px 14px 18px; }
  .wh-panel .wh-blocks { grid-template-columns: minmax(0, 1fr); }
  /* JS 在跑的時候，面板平常收起來，點了一站才從下面拉上來 */
  .wh-js .wh-panel:not(.is-sheet) { display: none; }
  .wh-panel.is-sheet {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001;
    max-height: 84vh; max-height: 84dvh; margin: 0; padding: 22px 16px calc(22px + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-bottom: 0;
    box-shadow: 0 -10px 0 rgba(21, 25, 30, .12);
  }
  .wh-panel.is-sheet .wh-panel-close { display: block; }
  .wh-panel.is-sheet .wh-panel-head { padding-right: 46px; }
  .wh-sheet-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(21, 25, 30, .45); }
  html.wh-sheet-open, html.wh-sheet-open body { overflow: hidden; }
  .wh-state-card dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .wh-map-lane-head h3 { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .wh-stops a i, .wh-stops li, .wh-st { transition: none; }
}
