  /* 里程碑的感謝橫幅（首頁，自動顯示七天） */
  .msbanner { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 12px 14px 12px 16px; border-radius: 14px; background: linear-gradient(120deg, #fff4d6, #ffe9ef); border: 1px solid #f1d9a8; color: #3a2a10; }
  .msbanner__pv { display: block; font-weight: 400; font-size: 12.5px; color: #8a6a2a; }
  .msbanner p { margin: 0; flex: 1; font-weight: 700; font-size: 16px; line-height: 1.5; } .msbanner__i { font-size: 26px; flex: none; }
  .msbanner__x { flex: none; width: 44px; height: 44px; border: 0; background: transparent; font-size: 24px; line-height: 1; color: #7a6540; cursor: pointer; border-radius: 50%; } .msbanner__x:hover { background: rgba(0,0,0,.06); }
  /* 載入畫面裡這一頁的名稱、說明與主要頁面連結：畫面上不佔位置（報讀軟體與搜尋引擎讀得到），程式跑起來就整塊換掉 */
  .boot__seo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  /* 網站資訊頁尾（2026-10-04）：跟 /about、/terms 等頁共用 */
  .sitefoot { background: var(--surface-deep); color: var(--ink-deep-muted); font-size: 13px; line-height: 1.7; }
  .sitefoot__in { max-width: 1180px; margin: 0 auto; padding: 16px 16px 18px; box-sizing: border-box; }
  .sitefoot__brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 6px; }
  .sitefoot__brand b { color: var(--ink-deep); font-family: var(--font-serif); font-size: 18px; }
  /* 2026-10-31 站長：LINE 小幫手、馬祖探險島對齊、做成有底色的圓角按鈕 */
  .sitefoot__line, .sitefoot__game { display: inline-flex; align-items: center; justify-content: center; gap: 6px; vertical-align: middle; box-sizing: border-box; min-height: 40px; padding: 0 16px; margin: 8px 8px 4px 0; border-radius: 99px; font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; color: #fff; box-shadow: 0 2px 8px rgba(8,36,42,.18); }
  .sitefoot__line { background: #06c755; } .sitefoot__line svg { color: #fff; }
  .sitefoot__game { background: #0c7078; }
  .sitefoot__line:hover, .sitefoot__game:hover { filter: brightness(1.08); }
  .sitefoot__line:focus-visible, .sitefoot__game:focus-visible { outline: 2px solid var(--focus-invert, #fff); outline-offset: 2px; }
  .sitefoot__links { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 2px 0 8px -10px; }
  .sitefoot__links a { color: var(--ink-deep); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; font-size: 14px; }
  .sitefoot__links a:hover { text-decoration: underline; }
  .sitefoot__links a:focus-visible { outline: 2px solid var(--focus-invert, #fff); outline-offset: -2px; }
  .sitefoot__note { margin: 2px 0; }
  .sitefoot__copy { margin: 2px 0 0; color: var(--ink-deep-muted); }

  .lookroot main { padding-bottom: 40px; }
  .lookroot > .sitefoot { margin-top: 24px; padding-bottom: 72px; }
  @media (max-width: 720px) { body .lookroot main { padding-bottom: 32px; } .lookroot > .sitefoot { padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px)); } }
  /* ── [hidden] 不可以被任何 display 蓋掉 ──────────────────
     程式裡用 `el.hidden = true` 收掉載不到的圖，而 [hidden] 靠的是
     瀏覽器內建的 display:none——**任何**選到同一個元素又寫了 display
     的規則都會贏過它，「收起來」就完全失效。
     實測踩過：`.newsitem__thumb img { display: block }` 讓封面 404
     留著破圖、太小的來源標誌照樣畫出來，一條規則三種症狀。
     用 !important 把這條釘死，比逐一去記得每個地方加 [hidden] 可靠。 */
  [hidden] { display: none !important; }
  /* 可橫捲表格的邊緣提示（portal.js 的 xsUpdate 依捲動位置加 xs-r／xs-l） */
  .xs-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), rgba(0,0,0,.2)); mask-image: linear-gradient(to right, #000 calc(100% - 40px), rgba(0,0,0,.2)); }
  .xs-l { -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.2), #000 40px); mask-image: linear-gradient(to right, rgba(0,0,0,.2), #000 40px); }
  .xs-l.xs-r { -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.2), #000 40px, #000 calc(100% - 40px), rgba(0,0,0,.2)); mask-image: linear-gradient(to right, rgba(0,0,0,.2), #000 40px, #000 calc(100% - 40px), rgba(0,0,0,.2)); }
  /* 各頁的「回首頁」按鈕不顯示（2026-10-06 使用者：根本不需要；上方與底部的選單就能回去） */
  .backhome { display: none !important; }


  html, body { background: var(--surface); }
  body {
    margin: 0; color: var(--ink); font-family: var(--font-sans);
    font-size: 15px; line-height: 26px;
    -webkit-text-size-adjust: 100%;
  }
  :root { --shell: 1180px;
    /* 罕用字補字（𦁧、𥴊、䲅…）：思源字型沒有，接在最後；只有遇到這些字才下載（unicode-range），見 scripts/build_rare_font.py */
    --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, "MatsuRare", sans-serif;
    --font-serif: "Noto Serif TC", "Source Han Serif TC", "Songti TC", Georgia, "MatsuRare", serif; }
  body { font-family: var(--font-sans); }
  /* 字級放大。設計系統的元件字級多半寫死 px（15px、17px…），
     所以只改 :root 的 font-size 幾乎沒有作用——這是先前「按了沒感覺」的原因。
     改用 zoom 放大整個內容，px 也會跟著變大，版面比例維持不變。 */
  :root[data-size="large"] body { zoom: 1.2; }
  @supports not (zoom: 1.2) {
    /* 舊瀏覽器退而求其次：至少把以 rem／% 計算的部分放大 */
    :root[data-size="large"] { font-size: 120%; }
    :root[data-size="large"] body { font-size: 18px; line-height: 30px; }
  }

  .shell { --shell-pad: 16px; max-width: var(--shell); margin: 0 auto; padding-inline: var(--shell-pad); }  /* 可橫捲列用負邊距貼齊畫面時一律用 --shell-pad，不要寫死 16px */

  /* ---- 頁首 ---- */
  .masthead { background: var(--surface-deep); color: var(--ink-deep); }
  .masthead .shell { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; padding-block: var(--space-4); }
  .wordmark { font-family: var(--font-serif); font-size: 30px; line-height: 36px; font-weight: 700; margin: 0; letter-spacing: .02em; }
  .wordmark__a { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
  /* LOGO 是青綠底，頁首是深藍或照片：加一圈淡白邊與陰影，任何背景都分得出來 */
  .wordmark__logo { flex: none; width: 44px; height: 44px; display: block; }
  /* 標誌〈潮汐之 W〉（2026-10-18，portal.js 的 BrandMark）：深色頁首（照片、色帶）上圓圈改紙白；淺色頁首跟著 --hd-ink（夜間也會換） */
  .bmk { overflow: visible; --bmk-ring: #f4f6f4; filter: drop-shadow(0 1px 3px rgba(0,0,0,.28)); }
  .lookroot.hdr-light .bmk { --bmk-ring: var(--hd-ink, #10242a); filter: none; }
  .bmk__water { fill: #0c7078; } .bmk__line { fill: none; stroke: #0a4e55; stroke-width: 5.4; stroke-linecap: round; stroke-linejoin: round; }
  .bmk__ring { fill: none; stroke: var(--bmk-ring); stroke-width: 5.2; }
  .bmk__dot { fill: #c2560c; stroke: #f4f6f4; stroke-width: 2.4; }
  @media (prefers-reduced-motion: no-preference) {
    .bmk--draw .bmk__line { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; animation: bmkdraw 1.1s cubic-bezier(.45,.05,.3,1) .1s forwards; }
    .bmk--draw .bmk__ring { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; animation: bmkdraw .9s ease-in-out .6s forwards; }
    .bmk--draw .bmk__water { opacity: 0; animation: bmkfade .6s ease-out .9s forwards; }
    .bmk--draw .bmk__dot { opacity: 0; animation: bmkfade .35s ease-out 1.35s forwards; }
  }
  @keyframes bmkdraw { to { stroke-dashoffset: 0; } } @keyframes bmkfade { to { opacity: 1; } }
  .wordmark__sub { font-family: var(--font-sans); font-size: 13px; font-weight: 400; color: var(--ink-deep-muted); margin-left: 10px; letter-spacing: 0; }
  .mast-tools { margin-left: auto; display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; }
  /* 全站搜尋（2026-10-03） */
  /* 頁首的待審核按鈕（只有審核者看得到）：在「搜尋」左邊，琥珀色、帶數量 */
  .revbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px 0 14px; border-radius: 999px; background: #fff3d6; color: #5a3d00; border: 1px solid #e3c88a; font-weight: 800; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
  .revbtn:hover { background: #ffe9b8; } .revbtn:focus-visible { outline: 2px solid var(--focus-invert, #fff); outline-offset: 2px; }
  .revbtn__n { min-width: 26px; height: 26px; padding: 0 7px; box-sizing: border-box; border-radius: 13px; background: #c9382f; color: #fff; font-family: var(--font-mono); font-size: 14px; line-height: 26px; text-align: center; }
  .revgrp { display: inline-flex; align-items: center; gap: 8px; } .revbtn--sum { display: none; }
  /* 手機與窄螢幕的頁首已經排滿，多兩顆按鈕會整排掉到第二行：合成一顆數字小圓（兩種加總），疊在右上角會員按鈕的角落 */
  @media (max-width: 900px) {
    .mast-tools { position: relative; }
    .revgrp { position: absolute; right: -6px; top: -12px; z-index: 2; } .revgrp .revbtn { display: none; }
    .revgrp .revbtn--sum { display: inline-flex; min-height: 0; padding: 4px; border: 0; background: none; } .revbtn--sum .revbtn__n { box-shadow: 0 0 0 2px #10303b; }
  }
  .srchbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
  .srchbtn:hover { background: rgba(255,255,255,.18); }
  @media (max-width: 560px) { .srchbtn { padding: 0; width: 44px; justify-content: center; } .srchbtn__t { display: none; } }
  .srch__scrim { position: fixed; inset: 0; z-index: 2000; background: rgba(6,18,28,.55); display: flex; justify-content: center; align-items: flex-start;
    padding: 6vh 16px 16px; overscroll-behavior: contain; }
  .srch { width: min(720px, 100%); max-height: 88vh; display: flex; flex-direction: column; background: var(--surface, #fff); color: var(--text, #1b2a33);
    border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.35); overflow: hidden; }
  .srch__bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--border, #e3e6e8); }
  .srch__bar input { flex: 1; min-width: 0; min-height: 44px; border: 0; outline: 0; font: inherit; font-size: 17px; background: transparent; color: inherit; }
  .srch__x { min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--text-muted, #5b6b75); font: inherit; cursor: pointer; }
  .srch__body { overflow-y: auto; padding: 8px 16px 16px; }
  .srch__msg, .srch__hint { padding: 12px 0; }
  .srch__sug { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
  .srch__chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border, #d8dde0); background: transparent; color: inherit; font: inherit; cursor: pointer; }
  .srch__g { margin-top: 12px; }
  .srch__gh { display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px; font-size: 13px; letter-spacing: .04em; color: var(--text-muted, #5b6b75); }
  .srch__gh .muted { font-weight: 400; font-size: 12px; }
  .srch__l { list-style: none; margin: 0; padding: 0; }
  .srch__i { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border, #eef0f1); }
  .srch__b { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; border: 0; background: transparent;
    color: inherit; font: inherit; text-align: left; cursor: pointer; }
  .srch__b:hover b { text-decoration: underline; }
  .srch__img { flex: none; width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--surface-2, #eef2f3); }
  .srch__img--ph { display: grid; place-items: center; color: var(--text-muted, #5b6b75); font-weight: 700; }
  .srch__t { min-width: 0; display: flex; flex-direction: column; }
  .srch__t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .srch__t .muted { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .srch__ext { color: var(--text-muted, #5b6b75); }
  .srch__tel { flex: none; }
  .srch__more { margin: 6px 0 0; min-height: 40px; padding: 0 4px; border: 0; background: transparent; color: var(--accent, #1f6f8b); font: inherit; cursor: pointer; }
  /* 頂部按鈕（日夜、字級、後台、會員）高度一致、扁一點（使用者要求） */
  .mast-tools > button, .mast-tools > a { height: 36px; min-height: 36px; padding-top: 0; padding-bottom: 0; box-sizing: border-box;
    display: inline-flex; align-items: center; gap: 6px; line-height: 1; border-radius: 10px; }
  .demo-chip {
    font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .06em;
    color: var(--surface-deep); background: var(--focus-invert);
    padding: 3px var(--space-2); border-radius: var(--radius-pill);
  }

  /* ---- 導覽 ---- */
  .viewnav { background: var(--surface-deep); border-top: 1px solid rgba(255,255,255,.08); }
  .viewnav .shell { display: flex; gap: var(--space-1); overflow-x: auto; padding-block: 0; }
  .viewtab {
    appearance: none; border: 0; background: transparent; cursor: pointer;
    color: var(--ink-deep-muted); font-family: var(--font-sans); font-size: 15px; font-weight: 700;
    padding: var(--space-3) var(--space-4); min-height: 48px; border-bottom: 3px solid transparent; white-space: nowrap;
    display: flex; align-items: center; gap: var(--space-1);
  }
  .viewtab[aria-current="true"] { color: var(--ink-deep); border-bottom-color: var(--tide-glow); }
  .viewtab:focus-visible { outline: 2px solid var(--focus-invert); outline-offset: -2px; }
  /* 主選單：上方只放大類，點了展開子頁面板（2026-09-28） */
  .viewnav--site .shell { overflow: visible; }
  .navgroups { position: relative; display: flex; gap: var(--space-1); width: 100%; }
  .navg-w { position: relative; display: flex; }
  .navg__caret { font-size: 11px; opacity: .7; margin-left: 2px; }
  .navg[aria-expanded="true"] { color: var(--ink-deep); }
  .navpanel { position: absolute; top: calc(100% + 4px); left: 0; z-index: calc(var(--z-sticky, 20) + 5); min-width: 300px; max-width: 420px;
              background: var(--surface-raised, #fff); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius-md);
              box-shadow: var(--shadow-lift); padding: 6px; display: flex; flex-direction: column; }
  .navpanel__i { appearance: none; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
                 display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; min-height: 48px; border-radius: var(--radius-sm); }
  .navpanel__i:hover, .navpanel__i:focus-visible { background: var(--surface-sunken); }
  .navpanel__i.is-on { background: var(--surface-sunken); }
  .navpanel__i > span { display: flex; flex-direction: column; gap: 2px; }
  .navpanel__i b { font-size: 15px; }
  .navpanel__i > span > span { font-size: 13px; color: var(--ink-muted); }
  .navpanel--2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(640px, 92vw); max-width: none; gap: 0 4px; }
  .navpanel--2col .navpanel__i { min-height: 44px; padding: 8px 10px; }
  .navpanel--2col .navpanel__i > span > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 250px; }
  .navpanel__i .dy-icon { margin-top: 2px; flex: none; }
  .navpanel__g { margin: 8px 12px 2px; font-size: 12px; font-weight: 700; color: var(--ink-muted); }
  /* 子分頁：同一類的頁一排 */
  .subnav { background: var(--surface); border-bottom: 1px solid var(--line); }
  .crumb { background: var(--surface); border-bottom: 1px solid var(--line); } .crumb .shell { display: flex; align-items: center; gap: 4px; padding-block: 4px; overflow-x: auto; white-space: nowrap; font-size: 14px; color: var(--ink-muted); }
  .crumb__b { appearance: none; border: 0; background: none; color: var(--tide, #0c7078); font: inherit; font-weight: 700; min-height: 44px; padding: 0 8px; border-radius: 8px; cursor: pointer; } .crumb__b:first-child { padding-left: 0; } .crumb__b:hover { text-decoration: underline; }
  .crumb b { font-weight: 600; color: var(--ink); padding: 0 6px; overflow: hidden; text-overflow: ellipsis; }
  .subnav .shell { display: flex; gap: 6px; overflow-x: auto; padding-block: 8px; }
  /* 電腦與平板：上方大類的下拉選單已經列出同一批頁面，這一排就不重複（2026-10-06 使用者）。手機沒有下拉選單（底部只有大類），所以手機照常顯示 */
  @media (min-width: 721px) { .subnav { display: none; } }
  .subnav__t { appearance: none; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-muted); cursor: pointer;
               font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; padding: 6px 14px; min-height: 44px; border-radius: var(--radius-pill); }
  .subnav__t[aria-current="page"] { background: var(--surface-deep); border-color: var(--surface-deep); color: var(--ink-deep); }
  /* 手機：底部固定的大類按鈕（桌面不顯示） */
  .botnav { display: none; }
  @media (max-width: 720px) {
    .viewnav--site { display: none; }
    .botnav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: calc(var(--z-dialog, 500) - 1);   /* 在對話框底下 */
              background: var(--surface-deep); border-top: 1px solid rgba(255,255,255,.12); padding-bottom: env(safe-area-inset-bottom, 0px); }
    .botnav__b { appearance: none; flex: 1; border: 0; background: none; color: var(--ink-deep-muted); cursor: pointer; font: inherit;
                 font-size: 11px; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center;
                 gap: 2px; min-height: 56px; padding: 6px 2px; border-top: 3px solid transparent; }
    .botnav__b[aria-current="page"] { color: var(--ink-deep); border-top-color: var(--tide-glow); }
    .botnav__b:focus-visible { outline: 2px solid var(--focus-invert); outline-offset: -2px; }
    .navpanel--up { position: fixed; top: auto; left: 8px; right: 8px; bottom: calc(72px + env(safe-area-inset-bottom, 0px)); max-width: none;
                    max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); overflow-y: auto; overscroll-behavior: contain; }
    .navpanel--grid { padding: 8px 10px; gap: 4px; }
    .navpanel__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; }
    .navpanel__i--s { align-items: center; min-height: 44px; padding: 8px 10px; gap: 8px; }
    .navpanel__i--s b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    /* 資料狀態列疊在底部選單上面 */
    body .console { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); padding-bottom: 0; z-index: calc(var(--z-dialog, 500) - 1); }
    body main { padding-bottom: 150px; }
    .subnav .shell { padding-block: 6px; }
  }
  /* 會員積分（2026-10-15）：會員視窗裡的一塊 */
  .mpt { flex-basis: 100%; border-radius: 16px; padding: 14px 16px; margin: 4px 0 10px; color: #fff; background: linear-gradient(135deg, #0b2534 0%, #124a57 70%, #1b6f78 100%); }
  .mpt__top { display: flex; align-items: center; gap: 12px; } .mpt__lv { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #f5c242; color: #0b2534; font-weight: 900; font-size: 18px; flex: none; }
  .mpt__who { flex: 1; min-width: 0; } .mpt__who small { display: block; color: #9fd9d2; font-size: 12px; } .mpt__who b { font-size: 20px; letter-spacing: .04em; }
  .mpt__pts { text-align: right; } .mpt__pts b { display: block; font-size: 24px; font-variant-numeric: tabular-nums; } .mpt__pts small { color: #9fd9d2; font-size: 12px; }
  .mpt__bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.18); margin: 12px 0 6px; overflow: hidden; } .mpt__bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #f5c242, #ffe08a); }
  .mpt__next { margin: 0 0 10px; font-size: 13px; color: #d7eeeb; }
  .mpt__inv { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; align-items: center; background: rgba(255,255,255,.1); border-radius: 12px; padding: 10px 12px; font-size: 13px; }
  .mpt__inv span { grid-column: 1 / -1; font-weight: 700; } .mpt__inv code { font-size: 12px; color: #bfe6e1; overflow-wrap: anywhere; min-width: 0; }
  .mpt__inv button { border: 0; border-radius: 99px; padding: 8px 14px; background: #f5c242; color: #0b2534; font-weight: 800; font: inherit; font-weight: 800; cursor: pointer; min-height: 36px; }
  .mpt__more { margin-top: 10px; background: none; border: 0; color: #bfe6e1; font: inherit; font-size: 13px; cursor: pointer; padding: 6px 0; }
  .mpt__body { background: #fff; color: #24323d; border-radius: 12px; padding: 12px 14px; margin-top: 6px; } .mpt__body h5 { margin: 10px 0 6px; font-size: 14px; } .mpt__body h5:first-child { margin-top: 0; }
  .mpt__rules, .mpt__log { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; }
  .mpt__rules li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dashed #eee; } .mpt__rules small { display: block; color: #888; font-size: 11.5px; } .mpt__rules b { color: #0f6e78; white-space: nowrap; }
  .mpt__tiers { margin: 0; padding-left: 20px; display: grid; gap: 2px; font-size: 13px; } .mpt__tiers li { display: flex; justify-content: space-between; } .mpt__tiers li.is-on { font-weight: 800; color: #0f6e78; } .mpt__tiers small { color: #888; }
  .stars { display: inline-flex; gap: 2px; vertical-align: middle; line-height: 0; } .star { display: block; }
  .mpt__who .stars { margin-bottom: 4px; } .mpt__tiers .stars .star:not(.is-on) path { stroke: #c8c2b4; }
  .stars--rainbow { gap: 3px; filter: drop-shadow(0 0 3px rgba(190,230,255,.7)) drop-shadow(0 0 7px rgba(255,200,240,.35)) hue-rotate(0deg); animation: starhue 9s linear infinite; }
  .star--gem { overflow: visible; }
  @keyframes starhue { from { filter: drop-shadow(0 0 3px rgba(190,230,255,.7)) drop-shadow(0 0 7px rgba(255,200,240,.35)) hue-rotate(0deg); } to { filter: drop-shadow(0 0 3px rgba(190,230,255,.7)) drop-shadow(0 0 7px rgba(255,200,240,.35)) hue-rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) { .stars--rainbow { animation: none; } }
  .mpt__note { margin: 0 0 6px; font-size: 12px; color: #777; } .mpt--staff .mpt__lv { background: #ffd7d2; color: #b42318; }
  .mpt__log li { display: grid; grid-template-columns: 3.5em 1fr auto; gap: 8px; } .mpt__log small { color: #888; } .mpt__log b { color: #0f6e78; }
  /* 站長待處理總數：紅底白字，貼在會員鈕右上角（2026-10-15） */
  .authbtn { position: relative; }
  .authbtn__due { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 999px;
    background: #d92d20; color: #fff; font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 2px var(--surface-deep, #0b2534); pointer-events: none; }
  .authbtn__due.is-inline { position: static; box-shadow: none; margin-left: 8px; display: inline-block; }
  .mys__pulse { flex-basis: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 6px 4px; border-radius: 12px; background: #eef5f5; text-decoration: none; color: #4a5a5a; font-size: 12px; text-align: center; line-height: 1.3; }
  .mys__pulse span { display: flex; flex-direction: column; align-items: center; white-space: nowrap; }
  /* 滑過看是誰（2026-10-31） */
  .mys__pulse > span { position: relative; border-radius: 8px; outline: none; }
  .mys__pulse > span.has-pop:hover, .mys__pulse > span.has-pop:focus { background: rgba(12,112,120,.1); }
  .mys__pop { display: none !important; position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 30; width: min(300px, 80vw); max-height: 320px; overflow-y: auto;
    flex-direction: column; align-items: stretch !important; gap: 0; padding: 8px 0; border: 1px solid var(--line, #d3dcda); border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(16,36,42,.18); text-align: left; white-space: normal !important; color: #10242a; }
  .mys__pulse > span:first-child .mys__pop { left: 0; transform: none; } .mys__pulse > span:last-child .mys__pop { left: auto; right: 0; transform: none; }
  .mys__pulse > span.has-pop:hover .mys__pop, .mys__pulse > span.has-pop:focus .mys__pop, .mys__pulse > span.has-pop:focus-within .mys__pop { display: flex !important; }
  .mys__pop > em { font-style: normal; font-size: 12px; color: #56676c; padding: 0 12px 6px; border-bottom: 1px solid var(--line, #d3dcda); }
  .mys__pr { display: grid !important; gap: 2px; padding: 8px 12px; border-bottom: 1px dashed var(--line, #d3dcda); align-items: start !important; }
  .mys__pr:last-child { border-bottom: 0; } .mys__pr b::before { display: none !important; }
  .mys__pr b { font-size: 14px !important; font-weight: 700; } .mys__pr b small { font: 500 11px "IBM Plex Mono", monospace; color: #56676c; }
  .mys__pr small { font-size: 12px; color: #56676c; line-height: 1.5; } .mys__pr .is-note { color: #8a5a00; } .mys__pr .is-near { color: #0c7078; }
  .mys__pulse b { font-size: 17px; color: #10242a; font-variant-numeric: tabular-nums; }
  .mys__pulse .is-live b::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #1f9d55; margin-right: 4px; vertical-align: 3px; }
  [data-theme="dark"] .mys__pulse { background: rgba(255,255,255,.07); color: #b9c7c7; } [data-theme="dark"] .mys__pulse b { color: #eef5f5; }
  .mys__todo { flex-basis: 100%; display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; background: #fff1ef; border: 1px solid #f3c4bd; }
  .mys__todo b { font-size: 13px; color: #b42318; } .mys__todo a { display: flex; align-items: center; justify-content: space-between; color: #4a1a14; font-weight: 700; text-decoration: none; padding: 4px 0; }
  .viewtab .pip {
    font-family: var(--font-mono); font-size: 11px; font-weight: 600; background: var(--hold); color: #2a2010;
    border-radius: var(--radius-pill); padding: 0 6px; min-width: 18px; text-align: center;
  }

  /* ---- 島況列的島嶼選單 ----
     原生 select 在深色底上長相完全不受控（作業系統決定），
     而且選項文字會把按鈕撐得很長——「台馬航線（基隆⇄南竿⇄東引）」
     一進去按鈕就變兩倍寬。所以自己做：
     按鈕只放名稱，副標收進選單裡。 */
  .condpick { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; }
  /* ---- 單島的島況列：格子版（使用者 2026-10-05：每一項都是圖示＋數值＋程度） ----
     左邊選單與時間、右邊一排格子；手機三欄，而且不固定在頂端（十格有四列高，固定住會佔掉三分之一個畫面） */
  .dy-cond.dy-cond--tiles { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-4); row-gap: 2px; align-items: center; }
  .dy-cond--tiles > .condpick { grid-column: 1; grid-row: 1; align-self: end; }
  .dy-cond--tiles > .dy-cond__time { grid-column: 1; grid-row: 2; align-self: start; margin: 0; }
  .dy-cond--tiles > .condtiles { grid-column: 2; grid-row: 1 / span 2; }
  .condtiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 2px 4px; min-width: 0; }
  .ctile { appearance: none; font: inherit; color: inherit; text-align: left; background: none; border: 0; border-radius: 10px;
    padding: 6px 8px; margin: 0; display: grid; gap: 2px; align-content: start; min-width: 0; min-height: 44px; }
  button.ctile { cursor: pointer; }
  button.ctile:hover { background: rgba(255,255,255,.08); }
  .ctile:focus-visible { outline: 2px solid var(--focus-invert); outline-offset: 1px; }
  .ctile__lb { display: flex; align-items: center; gap: 5px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink-deep-muted); white-space: nowrap; }
  .ctile__lb svg { flex: none; }
  .ctile__v { font-size: 18px; line-height: 24px; font-weight: 600; white-space: nowrap; }
  .ctile__v.is-text { font-family: var(--font-sans); font-size: 16px; font-weight: 700; }
  .ctile__v small { font-family: var(--font-sans); font-weight: 500; margin-left: 3px; }
  /* 天氣那一格：大圖示與粗體文字並排，一起佔下面兩行的高度 */
  .ctile__wxrow { display: flex; align-items: center; gap: 4px; min-height: 42px; min-width: 0; }
  .ctile__wxrow .wxi { width: 32px; height: 32px; margin: 0 0 0 -2px; flex: none; vertical-align: 0; }
  .ctile__wxt { font-family: var(--font-sans); font-size: 15.5px; line-height: 19px; font-weight: 700; color: var(--ink-deep); white-space: nowrap; }
  .ctile__wxt.is-long { white-space: normal; text-wrap: balance; font-size: 14px; line-height: 17px; }
  /* 淺底上雲太淡，加深 */
  [data-theme="light"] .dy-cond .wxi__cloud { fill: #c5d1d9; stroke: #6d8490; }
  [data-theme="light"] .dy-cond .wxi__fog { stroke: #8a9ba5; }
  .ctile.condq--real .dy-cond__value::after { content: none; }
  .ctile .lvl { min-height: 16px; }
  .ctile .lvl { gap: 4px; }
  .ctile .lvl__bar i { height: 10px; width: 5px; }   /* 窄一點：四個字的程度（滿潮剛過、稍有寒意）才不會擠到隔壁格 */
  .ctile .lvl__w { font-size: 12.5px; line-height: 16px; text-decoration: none; white-space: nowrap; }
  .lvl--c .is-on { background: #7cc4f0; } .lvl--c .lvl__w { color: #a5d8f7; }
  .lvl--t .is-on { background: #4fd1c5; } .lvl--t .lvl__w { color: #7fe3d8; }
  .frule .lvl--c .is-on { background: #3b9bd6; } .frule .lvl--t .is-on { background: #0c9aa0; }
  /* 南竿＋北竿的表格：能見度、雲高只加小程度條，不寫字（欄位窄） */
  .dy-cond--dual .lvl__w { display: none; }
  .dy-cond--dual .dy-cond__item:has(.lvlbtn) { flex-wrap: wrap; row-gap: 0; }
  .dy-cond--dual .lvlbtn { flex-basis: 100%; margin: 1px 0 0; }
  .dy-cond--dual .lvl__bar i { width: 9px; height: 5px; border-radius: 2px; }
  @media (max-width: 720px) {
    .sticky:has(.dy-cond--tiles) { position: static; }
    .dy-cond--tiles > .condpick { align-self: center; }
    .dy-cond--tiles > .dy-cond__time { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; }
    /* 手機：重點四格完整、其餘小格（設計稿丙） */
    .dy-cond--tiles > .condtiles { display: none; }
    .dy-cond--tiles > .condcomp { display: grid; gap: 6px; grid-column: 1 / -1; grid-row: 2; margin-top: 6px; min-width: 0; }
    .condcomp__top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
    .condcomp__rest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding-top: 6px; border-top: 1px solid var(--cond-rule, rgba(255,255,255,.14)); }
    .ctile { padding: 4px; gap: 0; min-height: 0; }
    .ctile__v { font-size: 17px; line-height: 22px; }
    .ctile__v.is-text { font-size: 15.5px; }
    .ctile__wxrow { gap: 3px; min-height: 38px; } .ctile__wxrow .wxi { width: 28px; height: 28px; } .ctile__wxt { font-size: 14px; line-height: 17px; } .ctile__wxt.is-long { font-size: 13px; line-height: 16px; }
    .ctile__go { display: none; }
    .ctile .lvl { gap: 4px; } .ctile .lvl__bar i { width: 5px; } .ctile .lvl__w { font-size: 12px; }
    .cchip { appearance: none; font: inherit; color: inherit; text-align: left; background: none; border: 0; border-radius: 8px; margin: 0;
      padding: 4px 5px; display: flex; align-items: center; gap: 5px; min-width: 0; min-height: 32px; white-space: nowrap; }
    button.cchip { cursor: pointer; }
    .cchip:focus-visible { outline: 2px solid var(--focus-invert); outline-offset: 1px; }
    .cchip__ic { display: flex; color: var(--ink-deep-muted); }
    .cchip__v { font-size: 14.5px; line-height: 20px; font-weight: 600; }
    .cchip__v small { font-family: var(--font-sans); font-weight: 500; font-size: 11px; margin-left: 2px; }
    .cchip__dot { width: 8px; height: 8px; border-radius: 50%; margin-left: auto; flex: none; background: #94a3a8; }
    .cchip.lvl--0 .cchip__dot { background: #34d399; } .cchip.lvl--1 .cchip__dot { background: #a3e635; } .cchip.lvl--2 .cchip__dot { background: #facc15; }
    .cchip.lvl--3 .cchip__dot { background: #fb923c; } .cchip.lvl--4 .cchip__dot { background: #ef4444; } .cchip.lvl--c .cchip__dot { background: #7cc4f0; } .cchip.lvl--t .cchip__dot { background: #4fd1c5; }
  }
  .condpick__btn {
    appearance: none; display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20);
    color: var(--ink-deep); font-family: var(--font-sans); font-size: 15px;
    line-height: 22px; font-weight: 700; padding: 10px 12px; min-height: 44px;
    border-radius: var(--radius-md); cursor: pointer; white-space: nowrap;
  }
  .condpick__btn:hover { background: rgba(255,255,255,.18); }
  .condpick__btn:focus-visible { outline: 2px solid var(--focus-invert); outline-offset: 2px; }
  .condpick__caret {
    width: 7px; height: 7px; margin-left: 2px; opacity: .75;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }
  .condpick__menu {
    position: absolute; top: calc(100% + 6px); left: 0; z-index: var(--z-dialog);
    min-width: 200px; padding: var(--space-1); display: grid; gap: 1px;
    background: var(--surface-raised); color: var(--ink);
    border: 1px solid var(--line-strong); border-radius: var(--radius-md);
    box-shadow: var(--shadow-lift);
  }
  .condpick__opt {
    appearance: none; background: transparent; border: 0; cursor: pointer;
    display: flex; align-items: baseline; gap: var(--space-2); width: 100%;
    padding: 8px var(--space-3); border-radius: var(--radius-sm);
    font-family: var(--font-sans); font-size: 15px; line-height: 22px;
    color: var(--ink); text-align: left; min-height: 40px;
  }
  .condpick__opt:hover { background: var(--surface-sunken); }
  .condpick__opt.is-on { background: var(--tide); color: var(--on-tide); }
  .condpick__opt:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
  .condpick__name { font-weight: 700; white-space: nowrap; }
  .condpick__sub { font-size: 12px; line-height: 18px; opacity: .75; white-space: nowrap; }

  /* ---- 南竿＋北竿：兩個機場各一列 ----
     左欄是選單與更新時間（上下疊），右欄是兩個機場。
     每個機場的內容分成「天候」與「航班」兩組，放不下時**整組**換行，
     換到下一行時對齊在第一個欄位下方，不會零散地掉一格下去。 */
  .dy-cond--dual { display: grid; grid-template-columns: auto minmax(0, 1fr);
                   grid-template-rows: auto auto; align-items: center; column-gap: var(--space-5); }
  .dy-cond--dual > .condpick { grid-column: 1; grid-row: 1; align-self: end; }
  .dy-cond--dual > .dy-cond__time { grid-column: 1; grid-row: 2; align-self: start;
                                    margin: var(--space-2) 0 0; }
  .dy-cond--dual > .condgrps { grid-column: 2; grid-row: 1 / span 2; }
  .condgrps { display: grid; row-gap: var(--space-2); min-width: 0; }
  .condgrp { display: grid; grid-template-columns: 2.5em minmax(0, 1fr);
             column-gap: var(--space-3); align-items: baseline; }
  .condgrp + .condgrp { padding-top: var(--space-2); border-top: 1px solid rgba(255,255,255,.12); }
  .condgrp__name { font-size: 14px; line-height: 22px; font-weight: 700; color: var(--ink-deep); }
  .condgrp__body { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-6, 32px); }
  .condgrp__part { display: flex; flex-wrap: nowrap; align-items: baseline; gap: var(--space-4); }
  /* 「飛往台中」「從台中抵達」是重點資訊，不是單位，比單位亮一階 */
  .condverb { font-size: 13px; color: var(--ink-deep); }
  /* 「今日航班已結束」是說明，不是數值：比數值小一號、淡一階 */
  .condgrp__part .dy-cond__value:only-child { font-size: 14px; }
  /* 兩列（南竿、北竿）的同一欄要上下對齊（使用者：排版沒有對齊）：每一格都是內容撐開的寬度，
     「接近門檻」比「達標準」多一個字，後面的班機欄就錯開。每一格給固定的最小寬度 */
  .condgrp__part:first-child > :nth-child(1) { min-width: 7.2em; }   /* 能見度 */
  .condgrp__part:first-child > :nth-child(2) { min-width: 6.6em; }   /* 雲高 */
  .condgrp__part:first-child > :nth-child(3) { min-width: 6.4em; }   /* 天氣（「晴時多雲」這種要放得下） */
  .condgrp__part:first-child > :nth-child(4) { min-width: 8.4em; }   /* 起降 */
  .condgrp__part:last-child > * { min-width: 15.5em; }                /* 下一班出發、抵達 */
  /* 寬螢幕的南竿＋北竿：橫向鋪滿的表（見 condWide）。1200px 以上用它（1100 會出現橫向捲軸），中等寬度用上面的分組版 */
  .condwide { display: none; }
  @media (min-width: 1200px) {
    .dy-cond.dy-cond--dual > .condgrps { display: none; }
    .dy-cond.dy-cond--dual > .condwide { display: grid; grid-column: 2; grid-row: 1 / span 2; min-width: 0;
      grid-template-columns: 2.6em repeat(4, minmax(6.5em, 1fr)) repeat(2, minmax(14em, 1.7fr)); column-gap: var(--space-5); }
    .condwide__r { display: contents; }
    .condwide__r--h > span { font-size: 12px; line-height: 18px; font-weight: 600; color: var(--ink-deep-muted); padding-bottom: 4px;
                             border-bottom: 1px solid rgba(255,255,255,.12); }
    .condwide__r:not(.condwide__r--h) > span { padding-top: 10px; }
    .condwide__r:not(.condwide__r--h) + .condwide__r > span { border-top: 1px solid rgba(255,255,255,.08); margin-top: 8px; }
    .condwide__n { font-size: 15px; line-height: 24px; font-weight: 700; color: var(--ink-deep); align-self: baseline; }
    .condwide__c { min-width: 0; align-self: baseline; }
    .condwide__c--span { grid-column: span 2; }
    .condwide .dy-cond__label { display: none; }            /* 欄名在上面寫過了 */
    .condwide .dy-cond__item { white-space: nowrap; }
  }
  /* 手機的南竿＋北竿迷你表（見 condMini） */
  .condmini { display: none; }
  @media (max-width: 720px) {
    /* 選擇器多一層 .dy-cond：後面還有一段舊的手機版規則（同樣具體度、位置在後），不加會被蓋掉 */
    .dy-cond.dy-cond--dual { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto;
                             row-gap: var(--space-2); padding: var(--space-3); }
    .dy-cond.dy-cond--dual > .condpick { grid-column: 1; grid-row: 1; align-self: center; }
    .dy-cond.dy-cond--dual > .dy-cond__time { grid-column: 2; grid-row: 1; justify-self: end;
                                               align-self: center; margin: 0; }
    .dy-cond.dy-cond--dual > .condgrps { display: none; }
    .dy-cond.dy-cond--dual > .condmini { display: block; grid-column: 1 / -1; grid-row: 2; }
    .condmini__r { display: grid; grid-template-columns: 2.6em repeat(4, minmax(0, 1fr));
                   column-gap: 6px; align-items: baseline; }
    .condmini__r--h { font-size: 11px; line-height: 16px; color: var(--ink-deep-muted); font-weight: 600; }
    .condmini__r:not(.condmini__r--h) { margin-top: 6px; }
    .condmini__n { font-size: 14px; line-height: 22px; font-weight: 700; color: var(--ink-deep); }
    .condmini__v { font-family: var(--font-mono); font-size: 15px; line-height: 22px; color: var(--ink-deep);
                   white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    /* 狀態色要蓋過上面的白色（深色底專用的那組） */
    .condmini__v.dy-cond__value--go { color: var(--go-on-deep, var(--go)); }
    .condmini__v.dy-cond__value--hold { color: var(--hold-on-deep, var(--hold)); }
    .condmini__v.dy-cond__value--stop { color: var(--stop-on-deep, var(--stop)); }
    .condmini__f { margin: 0 0 0 calc(2.6em + 6px); font-size: 12px; line-height: 18px; color: var(--ink-deep-muted); }
    .condmini__fi + .condmini__fi::before { content: '·'; margin: 0 6px; }
    .condmini__fi b { color: var(--ink-deep); font-family: var(--font-mono); font-weight: 600; }
    .condmini .condbadge { font-size: 11px; line-height: 16px; padding: 0 5px; margin-left: 4px; }
  }
  /* 航班狀態字：深色底要用深色底專用的狀態色（見 CLAUDE.md 對比那一條） */
  .condbadge { font-size: 12px; line-height: 18px; font-weight: 700; margin-left: 4px;
               padding: 0 6px; border-radius: var(--radius-pill);
               border: 1px solid rgba(255,255,255,.25); color: var(--ink-deep); }
  .condbadge--go { color: var(--go-on-deep, var(--go)); border-color: currentColor; }
  .condbadge--hold { color: var(--hold-on-deep, var(--hold)); border-color: currentColor; }
  .condbadge--stop { color: var(--stop-on-deep, var(--stop)); border-color: currentColor; }
  @media (max-width: 720px) {
    .dy-cond--dual { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: var(--space-3); }
    .dy-cond--dual > .condpick, .dy-cond--dual > .dy-cond__time,
    .dy-cond--dual > .condgrps { grid-column: 1; grid-row: auto; align-self: start; }
    .dy-cond--dual > .dy-cond__time { margin: 0; }
    /* 手機放不下一整組天候，組內也要能換行；機場名獨占一行 */
    .condgrp { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-1); }
    .condgrp__body { row-gap: var(--space-1); }
    .condgrp__part { flex-wrap: wrap; row-gap: var(--space-1); }
  }

  /* ---- 黏頂的島況 ---- */
  .sticky { position: sticky; top: env(safe-area-inset-top, 0px); z-index: var(--z-sticky); background: var(--surface); padding-block: var(--space-3); }
  .sticky-inner { display: flex; flex-direction: column; gap: var(--space-3); }
  .switchrow { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }

  /* ---- 版面 ---- */
  main { padding-bottom: 96px; }
  .block { margin-top: var(--space-7); }
  .cols { display: grid; gap: var(--space-5); }
  .cols-2 { grid-template-columns: 1fr 1fr; }
  .cols-32 { grid-template-columns: 3fr 2fr; }
  .stack { display: grid; gap: var(--space-4); }
  @media (max-width: 820px) { .cols-2, .cols-32 { grid-template-columns: 1fr; } }

  /* 手機：內距縮小、字級調整，把橫向空間留給內容 */
  @media (max-width: 560px) {
    .shell { --shell-pad: 12px; }
    /* 任何一塊都不准把內容推出畫面——右邊被切掉的字是最難發現的錯誤 */
    body { overflow-x: hidden; }
    .plain, .dy-card { overflow-wrap: anywhere; }
    .plain { padding: var(--space-4); }
    .masthead .shell { gap: var(--space-2); padding-block: var(--space-3); }
    .wordmark { font-size: 24px; line-height: 30px; }
    .wordmark__a { gap: 10px; } .wordmark__logo { width: 40px; height: 40px; border-radius: 10px; }
    .wordmark__sub { display: block; margin-left: 0; line-height: 18px; }
    .mast-tools { gap: 6px; }
    .viewtab { padding: var(--space-2) var(--space-3); font-size: 14px; }
    .block { margin-top: var(--space-5); }
    .booklinks { gap: var(--space-2); }
    .booklink { font-size: 12px; }
    /* 訂票與候補按鈕在窄畫面要能換行，不要把標題擠成直排 */
    .dy-sec__actions, .dy-dep__head { flex-wrap: wrap; }
  }

  .plain { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: var(--space-5); }
  .plain--quiet { box-shadow: none; }
  .muted { color: var(--ink-muted); font-size: 13px; line-height: 21px; }
  .mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
  .none { color: var(--ink-muted); font-size: 15px; padding: var(--space-4) 0; }

  /* ---- 表單 ---- */
  .field { display: grid; gap: var(--space-1); margin-bottom: var(--space-3); }
  .field label { font-size: 12px; letter-spacing: .06em; font-weight: 600; color: var(--ink-muted); }
  .field input, .field select, .field textarea {
    font-family: var(--font-sans); font-size: 15px; line-height: 24px; color: var(--ink);
    background: var(--surface-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
    padding: 9px var(--space-3); min-height: 44px; width: 100%; box-sizing: border-box;
  }
  .field textarea { min-height: 88px; resize: vertical; }
  .field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
  .rowfields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  @media (max-width: 560px) { .rowfields { grid-template-columns: 1fr; } }

  /* ---- 對話框 ---- */
  /* 開著任何對話框時，背景頁面不能捲（2026-09-29，使用者：開視窗時滾輪會捲到後面的頁面）；
     視窗本身捲到底也不把捲動傳給後面（overscroll-behavior） */
  html:has(.scrim, .sp__modal, .zoomer, .spot3d.is-full, .gbmapw.is-full, .tbh__stage, .srch__scrim), html:has(.scrim, .sp__modal, .zoomer, .spot3d.is-full, .gbmapw.is-full, .tbh__stage, .srch__scrim) body { overflow: hidden !important; }
  .scrim, .sp__modal, .zoomer, .sheet, .sp__face--back { overscroll-behavior: contain; }
  .scrim { position: fixed; inset: 0; background: var(--overlay); z-index: var(--z-dialog); display: flex; align-items: center; justify-content: center; padding: 16px; }
  /* 覆蓋層一定要有自己的背景。原本沒有，底下的頁面會整個透出來——
     文章頁的字疊在月曆格線上，看起來又暗又亂，以為是字的顏色太深，
     其實是根本沒有底。其他覆蓋層看起來正常只是碰巧：
     它們的第一個子元素是 .dy-card，那個有背景。 */
  .sheet {
    max-width: 460px; width: 100%; max-height: 86vh; overflow-y: auto;
    position: relative;
    background: var(--surface-raised, #fff); color: var(--ink);
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lift); padding: var(--space-4);
  }
  /* 文章頁要放直式海報，460px 太窄 */
  .sheet--wide { max-width: 620px; }
  .sheet__x {
    position: sticky; top: 0; float: right; z-index: 2;
    appearance: none; cursor: pointer; border: 1px solid var(--line-strong);
    background: var(--surface-raised, #fff); color: var(--ink-muted);
    width: 34px; height: 34px; border-radius: var(--radius-sm);
    font-size: 18px; line-height: 1; margin: -4px -4px 0 var(--space-3);
  }
  .sheet__x:hover { color: var(--ink); border-color: var(--ink-muted); }

  /* ---- 原型控制台 ---- */
  .console { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-toast); background: var(--surface-deep); color: var(--ink-deep); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .console .shell { display: flex; align-items: center; gap: var(--space-3);
                    flex-wrap: wrap; padding-block: 2px; }
  /* 收合時整條只有一行。原本三個項目平鋪，手機上折成兩三行，
     吃掉畫面下緣近九十像素——而這是輔助資訊不是內容。 */
  .console-toggle {
    appearance: none; border: 0; background: transparent; cursor: pointer;
    display: inline-flex; align-items: center; gap: var(--space-2);
    color: var(--ink-deep); font-family: var(--font-sans);
    font-size: 12px; line-height: 18px; font-weight: 600;
    padding: 0 var(--space-2) 0 0; min-height: 44px;   /* 觸控目標（SPEC 11） */
  }
  .console-toggle:focus-visible { outline: 2px solid var(--focus-invert); outline-offset: 2px; }
  .console-toggle .dy-icon { transition: transform 140ms ease; opacity: .75; }
  .console--open .console-toggle .dy-icon { transform: rotate(180deg); }
  @media (prefers-reduced-motion: reduce) {
    .console-toggle .dy-icon { transition: none; }
  }
  /* 一顆點就看得出「有沒有東西沒載到」，不必展開 */
  .console-dot { width: 7px; height: 7px; border-radius: 50%;
                 background: var(--go-on-deep); flex: none; }
  .console-dot--off { background: var(--stop-on-deep); }
  .console-sum { white-space: nowrap; }
  .console-lbl { font-size: 12px; letter-spacing: .06em; font-weight: 600; color: var(--ink-deep-muted); }
  .seg { display: inline-flex; gap: 2px; background: rgba(255,255,255,.08); border-radius: var(--radius-pill); padding: 2px; }
  .seg button {
    appearance: none; border: 0; background: transparent; color: var(--ink-deep-muted); cursor: pointer;
    font-family: var(--font-sans); font-size: 13px; font-weight: 700; padding: 6px var(--space-3); min-height: 34px; border-radius: var(--radius-pill);
  }
  .seg button[aria-pressed="true"] { background: var(--tide); color: var(--on-tide); }
  .seg button:focus-visible { outline: 2px solid var(--focus-invert); outline-offset: 1px; }
  .console input[type="range"] { accent-color: var(--tide-glow); width: 132px; }
  .feedchip {
    font-family: var(--font-sans); font-size: 12px; line-height: 18px; color: var(--ink-deep-muted);
    border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-pill); padding: 3px var(--space-3);
  }
  .feedchip b { color: var(--ink-deep); font-weight: 700; margin-right: 4px; }
  .feedchip--off { border-color: var(--stop); color: var(--stop); }

  /* ---- 現場 ---- */
  .stage-note { font-size: 13px; line-height: 21px; }

  /* ---- 頁首的登入／登出 ---- */
  .authbtn {
    display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
    font-family: var(--font-sans); font-size: 13px; font-weight: 700;
    color: var(--ink-deep); background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius-md);
    padding: 11px var(--space-3); min-height: 44px; box-sizing: border-box;
  }
  .authbtn:hover { background: rgba(255,255,255,.18); }
  .authbtn:focus-visible { outline: 2px solid var(--focus-invert); outline-offset: 2px; }
  .authbtn--primary { background: var(--tide); color: var(--on-tide); border-color: transparent; }
  /* 2026-10-16 排版改版：島民寫島的「寫文章」一般大小、跟標題列對齊；手機放到說明文字下方 */
  .cl__head { align-items: center; } .cl__head .dy-sec__actions { align-self: center; }
  .cl__write { min-height: 40px; padding: 8px 16px; font-size: 14px; }
  @media (max-width: 560px) { .cl__head { flex-wrap: wrap; } .cl__head .dy-sec__rule { display: none; } .cl__head .dy-sec__actions { flex-basis: 100%; margin: 6px 0 0; } .cl__write { min-height: 44px; } }
  .authbtn--primary:hover { background: var(--tide); filter: brightness(1.08); }
  /* 淺底（快報、卡片）上的版本——頁首那組是給 surface-deep 用的 */
  .dy-banner .authbtn, .plain .authbtn {
    color: var(--tide); background: var(--surface-raised); border-color: var(--line-strong);
  }
  .dy-banner .authbtn:hover, .plain .authbtn:hover { background: var(--surface-sunken); }
  .dy-banner .authbtn:focus-visible, .plain .authbtn:focus-visible {
    outline: 2px solid var(--focus); outline-offset: 2px;
  }

  /* ---- 飛機即時位置地圖 ---- */
  .flightmap { height: 340px; margin-top: var(--space-3); border-radius: var(--radius-md);
               overflow: hidden; background: var(--surface-sunken); }
  @media (max-width: 560px) { .flightmap { height: 260px; } }
  .planeicon { display: flex; align-items: center; justify-content: center;
               color: var(--tide); filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
  .planetip { font-family: var(--font-sans); font-size: 13px; line-height: 20px; }
  .planetip b { font-family: var(--font-mono); }
  .leaflet-container { font-family: var(--font-sans); background: var(--surface-sunken); }

  /* ---- 飛航中的班機 ---- */
  .plane__route { font-family: var(--font-sans); font-weight: 600; }
  .plane__ico--idle { opacity: .4; }
  /* 航空公司標誌：方形圖案，跟班號同一行 */
  .airlogo--link.airlogo { height: 18px; margin-right: 2px; vertical-align: 0; }
  .backhome { white-space: nowrap; }
  /* 垃圾車清運時間 */
  /* ─── 桶裝瓦斯（生活資訊的「瓦斯」，2026-10-10） ─── */
  .gs p { margin: 0; } .gs__alert { background: var(--hold-tint); border-radius: 12px; padding: 10px 14px; font-size: 15px; line-height: 1.7; } .gs__alert b { color: var(--hold); margin-right: 8px; }
  .gs__intro { display: grid; gap: 6px; font-size: 15.5px; line-height: 1.8; justify-items: start; }
  .gs__price { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 22px; align-items: center; background: var(--surface-deep); color: var(--ink-deep); border-radius: 16px; padding: 18px; }
  .gs__now { display: grid; gap: 2px; } .gs__now span { font-size: 13px; color: var(--ink-deep-muted); } .gs__now b { font-family: var(--font-serif); font-size: 56px; line-height: 1; font-variant-numeric: tabular-nums; } .gs__now small { font-family: var(--font-sans); font-size: 18px; } .gs__now em { font-style: normal; font-size: 13.5px; color: var(--ink-deep-muted); } .gs__now em.is-up { color: var(--stop-on-deep); font-weight: 700; }
  .gs__cmp { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; } .gs__cmp li { background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 8px 12px; display: grid; gap: 1px; } .gs__cmp b { font-size: 18px; } .gs__cmp span { font-size: 12.5px; line-height: 1.55; color: var(--ink-deep-muted); }
  .gs__chartw { display: grid; gap: 8px; min-width: 0; } .gs__charth { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; } .gs__charth .newsfilter { margin: 0; }
  .gs__chart { display: block; width: 100%; height: auto; } .gs__grid { stroke: var(--line); stroke-width: 1; } .gs__tick { font-size: 12px; fill: var(--ink-muted); font-variant-numeric: tabular-nums; }
  .gs__band { fill: var(--tide); opacity: .12; stroke: none; } .gs__med { fill: none; stroke: var(--ink-muted); stroke-width: 2; stroke-dasharray: 5 4; } .gs__lj { fill: none; stroke: var(--stop); stroke-width: 3.5; stroke-linejoin: round; } .gs__dot { fill: var(--stop); stroke: var(--surface-raised); stroke-width: 2; }
  .gs__km { fill: none; stroke: var(--tide); stroke-width: 2; } .gs__ph { fill: none; stroke: var(--hold); stroke-width: 2; } .gs__key i.k-km { border-top: 2.5px solid var(--tide); } .gs__key i.k-ph { border-top: 2.5px solid var(--hold); }
  .gs__cpc { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 2 4; stroke-linecap: round; } .gs__key i.k-cpc { border-top: 2.5px dotted var(--ink); }
  .gs__gap { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; } .gs__cap { font-size: 14.5px; color: var(--ink-muted); line-height: 1.7; margin: 0; } .gs__why > table, .gs__why > p, .gs__why > ul { width: 100%; box-sizing: border-box; justify-self: stretch; min-width: 0; } .gs__cmp { table-layout: fixed; } @media (max-width: 380px) { .gs__gap:not(.gs__cmp) { font-size: 14px; } } .gs__gap:not(.gs__cmp) th, .gs__gap:not(.gs__cmp) td { white-space: nowrap; padding: 5px 4px; } .gs__cmp td:nth-child(2) { width: 62px; white-space: nowrap; }
  .gs__gap th, .gs__gap td { text-align: right; padding: 5px 6px; border-bottom: 1px solid var(--line); font-weight: 500; } .gs__gap tr > :first-child { text-align: left; } .gs__gap thead th { font-size: 13.5px; color: var(--ink-muted); }
  .gs__cmp small { display: block; font-size: 13.5px; font-weight: 400; color: var(--ink-muted); line-height: 1.6; } .gs__cmp td:last-child { text-align: left; font-size: 13.5px; color: var(--ink-muted); width: 30%; }
  .gs__gap tr.is-me th, .gs__gap tr.is-me td { font-weight: 800; }
  .gs__hikes { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; } .gs__rank .gs__hikes li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; align-items: start; font-size: 15px; line-height: 1.7; } .gs__rank .gs__hikes li b { text-align: left; } .gs__why > details { width: 100%; box-sizing: border-box; min-width: 0; }
  .gs__why { display: grid; gap: 6px; justify-items: start; background: var(--surface-sunken); border-radius: 12px; padding: 12px 14px; } .gs__why b { font-size: 15.5px; }
  .gs__key { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--ink-muted); } .gs__key span { display: inline-flex; align-items: center; gap: 6px; } .gs__key i { width: 22px; height: 0; border-top: 3.5px solid var(--stop); } .gs__key i.k-med { border-top: 2px dashed var(--ink-muted); } .gs__key i.k-band { height: 10px; border: 0; background: var(--tide); opacity: .2; }
  .gs__rank summary, .gs__more summary { cursor: pointer; font-size: 15px; font-weight: 700; color: var(--tide); min-height: 44px; display: flex; align-items: center; }
  .gs__rank ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; } .gs__rank li { display: grid; grid-template-columns: 64px minmax(0, 1fr) 46px; gap: 8px; align-items: center; font-size: 13.5px; } .gs__rank li i { height: 10px; border-radius: 5px; background: var(--line-strong); } .gs__rank li b { text-align: right; font-variant-numeric: tabular-nums; } .gs__rank li.is-me { font-weight: 700; } .gs__rank li.is-me i { background: var(--stop); }
  .gs__notes { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; line-height: 1.75; }
  .gs__isl { display: grid; gap: 10px; border: 1px solid var(--line); border-left: 6px solid var(--go); border-radius: 14px; padding: 14px; } .gs__isl.is-old { border-left-color: var(--hold); } .gs__isl.is-none { border-left-color: var(--ink-muted); }
  .gs__known { justify-self: start; font-size: 12.5px; font-weight: 700; border-radius: 6px; padding: 2px 9px; background: var(--go-tint); color: var(--go); } .is-old > .gs__known { background: var(--hold-tint); color: var(--hold); } .is-none > .gs__known { background: var(--surface-sunken); color: var(--ink-muted); }
  .gs__isl dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 12px; margin: 0; font-size: 15.5px; line-height: 1.65; } .gs__isl dt { color: var(--ink-muted); white-space: nowrap; } .gs__isl dd { margin: 0; } .gs__isl > p { font-size: 15px; line-height: 1.8; }
  .gs__tel { color: var(--tide); font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; } .gs__act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; }
  .gs__rights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; } .gs__rights > div { display: grid; gap: 6px; align-content: start; justify-items: start; background: var(--surface-sunken); border-radius: 12px; padding: 12px 14px; } .gs__rights b { font-size: 16px; } .gs__rights p { font-size: 14.5px; line-height: 1.75; }
  .gs__ev { list-style: none; margin: 0; padding: 0; display: grid; } .gs__ev li { display: grid; grid-template-columns: 96px 44px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.7; } .gs__ev time { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
  /* 只有「時間＋內文」兩格的（貨輪大事紀）內文要跨到最後一欄，不然掉進 44px 那一欄變成直排 */
  .gs__ev li > :nth-child(2):last-child { grid-column: 2 / -1; }
  /* 最上面三格（2026-10-10 使用者：上方先寫清楚運送時間、聯繫單位與電話、價格） */
  .gs__top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
  .gs__box { display: grid; gap: 10px; align-content: start; border: 2px solid var(--line-strong); border-radius: 16px; padding: 16px; min-width: 0; } .gs__box h4 { margin: 0; font-size: 15px; letter-spacing: .08em; color: var(--ink-muted); } .gs__box > p { font-size: 17px; line-height: 1.75; }
  .gs__box .gs__sm, .gs__sm { font-size: 13.5px !important; line-height: 1.7 !important; color: var(--ink-muted); }
  .gs__call { display: grid; gap: 2px; text-decoration: none; background: var(--tide); color: var(--on-tide); border-radius: 12px; padding: 12px 14px; min-height: 64px; align-content: center; } .gs__call span { font-size: 14px; line-height: 1.4; } .gs__call b { font-size: 26px; line-height: 1.15; font-variant-numeric: tabular-nums; }
  .gs__pr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; } .gs__pr b { font-family: var(--font-serif); font-size: 30px; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; } .gs__pr span { font-size: 14px; color: var(--ink-muted); } .gs__pr + .gs__pr b { font-size: 21px; }
  .gs__rep { font: inherit; font-size: 14.5px; font-weight: 700; min-height: 44px; padding: 6px 12px; border-radius: 10px; border: 1.5px solid var(--tide); background: none; color: var(--tide); cursor: pointer; justify-self: start; text-align: left; }
  p.gs__known { justify-self: start; display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; background: var(--go-tint); color: var(--go); } p.gs__known.is-old { background: var(--hold-tint); color: var(--hold); } p.gs__known.is-none { background: var(--surface-sunken); color: var(--ink-muted); }
  .gs__how { display: grid; gap: 8px; } .gs__how p { font-size: 15.5px; line-height: 1.8; } .gs__sum { font-size: 15.5px; line-height: 1.8; } .gs__more > div, .gs__more > ol, .gs__more > ul { padding-bottom: 10px; }
  .gs__box h4 { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; } .gs__box h4 em { font-style: normal; letter-spacing: 0; font-size: 12.5px; border-radius: 6px; padding: 1px 8px; background: var(--go-tint); color: var(--go); } .gs__box h4 em.is-old { background: var(--hold-tint); color: var(--hold); } .gs__box h4 em.is-none { background: var(--surface-sunken); color: var(--ink-muted); }
  .gs__sch { display: grid; gap: 10px; } .gs__sch > div { display: grid; gap: 4px; background: var(--surface-sunken); border-radius: 10px; padding: 10px 12px; } .gs__sch b { font-size: 15px; } .gs__sch span { font-size: 13.5px; color: var(--ink-muted); }
  .gs__sch ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 3px; } .gs__sch li { display: flex; justify-content: space-between; gap: 10px; font-size: 16px; } .gs__sch i { font-style: normal; font-weight: 700; } .gs__sch time { font-variant-numeric: tabular-nums; }
  .gs__srcl { font-size: 13px; color: var(--ink-muted); display: flex; flex-wrap: wrap; align-items: center; }
  /* 精簡版（2026-10-10 使用者截圖：三格等高時右邊兩格大半是空的）：有時刻表的島，左邊放時間、右邊電話與價格上下疊；時刻表的兩區左右並排 */
  .gs__side { display: contents; } .gs__box { border-width: 1px; border-color: var(--line-strong); padding: 14px 16px; gap: 8px; } .gs__box > p { font-size: 16px; line-height: 1.7; } .gs__box h4 .srci { margin-left: auto; }
  .gs__top.has-sch { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; } .gs__top.has-sch .gs__side { display: grid; gap: 12px; }
  .gs__sch { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .gs__sch > div { padding: 8px 12px; gap: 2px; } .gs__sch li { font-size: 15px; } .gs__sch ul { gap: 1px; }
  .gs__call { min-height: 56px; padding: 9px 14px; } .gs__call b { font-size: 24px; } .gs__pr b { font-size: 28px; } .gs__pr + .gs__pr b { font-size: 19px; }
  @media (max-width: 820px) { .gs__top, .gs__top.has-sch { grid-template-columns: minmax(0, 1fr); } .gs__side, .gs__top.has-sch .gs__side { display: grid; gap: 12px; } }
  @media (max-width: 460px) { .gs__sch { grid-template-columns: minmax(0, 1fr); } }

  @media (max-width: 640px) { .gs__price { grid-template-columns: minmax(0, 1fr); } .gs__now b { font-size: 48px; } .gs__ev li { grid-template-columns: 84px minmax(0, 1fr); } .gs__ev li span { grid-column: 1 / -1; } }
  /* 桶裝瓦斯第二版（2026-10-16 使用者確認的提案）：第一層日常資訊、第二層價格與供應分析。gsv__ 開頭 */
  .gsv { display: grid; gap: 14px; min-width: 0; } .gsv p { margin: 0; } .gsv .newsfilter { margin: 0; } .gsv .gs__chart { max-width: 100%; }
  .gsv__ico { flex: none; }
  .gsv__card { display: grid; gap: 10px; min-width: 0; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
  .gsv__card.is-flat { gap: 6px; padding: 14px 16px; } .gsv__card.is-rep { background: var(--surface-sunken); border-style: dashed; justify-items: start; }
  .gsv__hd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; } .gsv__hd h4 { margin: 0; font-size: 17px; } .gsv__hd .srci { margin-left: auto; }
  .gsv__sec { margin: 6px 0 -4px; font-size: 17px; }
  .gsv__tag { font-size: 12px; font-weight: 700; border-radius: 6px; padding: 2px 8px; background: var(--hold-tint); color: var(--hold); } .gsv__tag.is-ok { background: var(--go-tint); color: var(--go); } .gsv__tag.is-none { background: var(--surface-sunken); color: var(--ink-muted); }
  .gsv__lead { font-size: 15px; line-height: 1.7; color: var(--ink-muted); } .gsv__note { font-size: 13px; line-height: 1.65; color: var(--ink-muted); } .gsv__foot { font-size: 13px; color: var(--ink-muted); text-align: center; }
  .gsv__list { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 15px; line-height: 1.7; } .gsv__list.is-sm { font-size: 13.5px; color: var(--ink-muted); }
  .gsv__top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .gsv__wide { grid-column: 1 / -1; }
  .gsv__call { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; background: var(--tide); color: var(--on-tide); border-radius: 14px; padding: 12px 16px; text-decoration: none; min-height: 64px; box-sizing: border-box; }
  .gsv__call > span { display: grid; } .gsv__call small { font-size: 13px; opacity: .9; } .gsv__call b { font-size: 24px; letter-spacing: .02em; font-variant-numeric: tabular-nums; } .gsv__call em { margin-left: auto; font-style: normal; font-size: 14px; font-weight: 700; background: rgba(255, 255, 255, .18); border-radius: 999px; padding: 6px 14px; }
  .gsv__top .gsv__prt { grid-column: 1 / -1; margin: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  @media (min-width: 900px) { .gsv__top .gsv__prt { grid-column: span 2; } }
  @media (max-width: 560px) { .gsv__top .gsv__prt { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .gsv__prt .stt__i { padding: 10px 10px; } }
  .gsv__pr, .gsv__pr2 { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; align-content: start; }
  .gsv__pr span, .gsv__pr > small { font-size: 13px; color: var(--ink-muted); } .gsv__pr b { font-family: var(--font-serif); font-size: 32px; line-height: 1.15; font-variant-numeric: tabular-nums; } .gsv__pr b small { font-family: var(--font-sans); font-size: 15px; font-weight: 500; }
  .gsv__pr2 { gap: 6px; } .gsv__pr2 p { display: flex; justify-content: space-between; gap: 8px; font-size: 14.5px; } .gsv__pr2 b { white-space: nowrap; } .gsv__pr2 span { color: var(--ink-muted); } .gsv__pr2 small { font-size: 12px; color: var(--ink-muted); }
  .gsv__hot, .gsv__go, .gsv__btn, .gsv__back { font: inherit; cursor: pointer; }
  .gsv__hot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; text-align: left; background: var(--hold-tint); color: var(--hold); border: 1px solid var(--hold); border-radius: 12px; padding: 10px 14px; min-height: 44px; font-size: 14.5px; } .gsv__hot em { margin-left: auto; font-style: normal; font-weight: 700; }
  .gsv__btn { justify-self: start; min-height: 44px; padding: 6px 16px; border-radius: 12px; border: 1.5px solid var(--tide); background: none; color: var(--tide); font-size: 15px; font-weight: 700; }
  .gsv__back { justify-self: start; border: 0; background: none; color: var(--tide); font-size: 15px; font-weight: 700; padding: 6px 0; min-height: 44px; }
  .gsv__go { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--surface-deep); color: var(--ink-deep); border: 0; border-radius: 16px; padding: 16px; } .gsv__go > span { display: grid; gap: 2px; } .gsv__go b { font-size: 17px; } .gsv__go small { font-size: 13px; color: var(--ink-deep-muted); } .gsv__go em { margin-left: auto; font-style: normal; font-size: 24px; }
  .gsv__week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; text-align: center; }
  .gsv__week > div { display: grid; gap: 4px; } .gsv__week span { font-size: 13px; font-weight: 700; } .gsv__week .is-off span { color: var(--ink-muted); font-weight: 400; }
  .gsv__week i { display: block; height: 22px; border-radius: 6px; background: var(--surface-sunken); } .gsv__week i.is-am, .gsv__wkey i.is-am { background: var(--tide); } .gsv__week i.is-pm, .gsv__wkey i.is-pm { background: var(--hold); }
  .gsv__wkey { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--ink-muted); } .gsv__wkey span { display: inline-flex; align-items: center; gap: 5px; } .gsv__wkey i { width: 12px; height: 12px; border-radius: 3px; }
  .gsv__sch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .gsv__sch > div { border-left: 3px solid var(--tide); padding-left: 10px; display: grid; gap: 4px; } .gsv__sch > .is-pm { border-left-color: var(--hold); }
  .gsv__sch b { font-size: 14px; } .gsv__sch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; } .gsv__sch li { display: flex; justify-content: space-between; gap: 6px; font-size: 14px; } .gsv__sch time { color: var(--ink-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .gsv__alert { display: flex; gap: 10px; align-items: flex-start; background: var(--hold-tint); color: var(--ink); border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 1.65; } .gsv__alert > .gsv__ico { color: var(--hold); margin-top: 2px; } .gsv__alert b { color: var(--hold); margin-right: 8px; } .gsv__alert .srci { margin-left: auto; flex: none; white-space: nowrap; align-self: flex-start; } .gsv__alert > span { flex: 1; min-width: 0; }
  .gsv__rights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gsv__rights > div { display: grid; gap: 6px; align-content: start; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 14px; padding: 12px; } .gsv__rights > div > .gsv__ico { color: var(--tide); }
  .gsv__rights > div > div { display: grid; gap: 4px; justify-items: start; } .gsv__rights b { font-size: 15.5px; } .gsv__rights p { font-size: 13.5px; line-height: 1.6; color: var(--ink-muted); }
  .gsv__rights > .is-wide { grid-column: 1 / -1; grid-template-columns: 30px minmax(0, 1fr); }
  .gsv__how { display: grid; gap: 8px; margin: 0; } .gsv__how > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.6; }
  .gsv__how dt { font-weight: 700; color: var(--tide); } .gsv__how dd { margin: 0; } .gsv__how em { font-style: normal; color: var(--hold); font-size: 13px; font-weight: 700; margin-left: 6px; white-space: nowrap; }
  .gsv__safe { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: s; } .gsv__safe li { counter-increment: s; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.6; }
  .gsv__safe li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--stop-tint); color: var(--stop); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
  .gsv__kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .gsv__kpi > div { display: grid; gap: 2px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
  .gsv__kpi span, .gsv__kpi small { font-size: 12.5px; color: var(--ink-muted); } .gsv__kpi b { font-size: 26px; line-height: 1.15; font-variant-numeric: tabular-nums; }
  .gsv__kpi .is-dark { background: var(--surface-deep); border-color: transparent; color: var(--ink-deep); } .gsv__kpi .is-dark span, .gsv__kpi .is-dark small { color: var(--ink-deep-muted); }
  .gsv__kpi .is-warn { background: var(--hold-tint); border-color: var(--hold); } .gsv__kpi .is-warn b { color: var(--hold); }
  .gsv__mix { display: grid; gap: 4px; } .gsv__mix p { display: flex; justify-content: space-between; font-size: 14px; }
  .gsv__mixbar { display: flex; height: 28px; border-radius: 6px; overflow: hidden; } .gsv__mixbar i { display: grid; place-items: center; font-style: normal; font-size: 12.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; }
  .gsv__mixbar .is-cp { background: #6b7375; } .gsv__mixbar .is-ot { background: var(--stop); }
  .gsv__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; text-align: center; } .gsv__tiles > div { background: var(--surface-sunken); border-radius: 10px; padding: 8px 4px; display: grid; }
  .gsv__tiles b { font-size: 19px; font-variant-numeric: tabular-nums; } .gsv__tiles span { font-size: 12.5px; color: var(--ink-muted); } .gsv__tiles .is-me { background: var(--hold-tint); } .gsv__tiles .is-me b { color: var(--stop); }
  .gsv__bars { display: grid; gap: 8px; } .gsv__bars > div { display: grid; grid-template-columns: 104px minmax(0, 1fr) 48px; grid-template-areas: "l b v" ". m m"; gap: 0 8px; align-items: center; font-size: 14px; }
  .gsv__bars span { grid-area: l; } .gsv__bars i { grid-area: b; display: block; height: 14px; } .gsv__bars u { display: block; height: 100%; border-radius: 4px; background: var(--line-strong); } .gsv__bars b { grid-area: v; text-align: right; font-variant-numeric: tabular-nums; } .gsv__bars small { grid-area: m; font-size: 12px; color: var(--ink-muted); }
  .gsv__bars .is-me span, .gsv__bars .is-me b { color: var(--stop); font-weight: 700; } .gsv__bars .is-me u { background: var(--stop); }
  .gsv__tl, .gsv__ev { list-style: none; margin: 0; padding: 0; display: grid; }
  .gsv__tl li { display: grid; grid-template-columns: 70px 58px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; } .gsv__tl li:last-child { border-bottom: 0; }
  .gsv__tl time, .gsv__ev time { color: var(--ink-muted); font-variant-numeric: tabular-nums; } .gsv__tl b { font-variant-numeric: tabular-nums; } .gsv__tl li:last-child b { color: var(--stop); } .gsv__tl .is-quiet span { color: var(--hold); }
  .gsv__ev li { display: grid; grid-template-columns: 64px 42px minmax(0, 1fr); gap: 8px; padding: 6px 0; font-size: 14px; line-height: 1.55; }
  .gsv__big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; } .gsv__big b { font-family: var(--font-serif); font-size: 34px; color: var(--tide); font-variant-numeric: tabular-nums; } .gsv__big b.is-neg { color: var(--stop); } .gsv__big span { font-size: 14px; color: var(--ink-muted); }
  .gsv__big.is-sm b { font-size: 24px; color: var(--ink); }
  .gsv__range { position: relative; height: 26px; } .gsv__range i { position: absolute; display: block; } .gsv__rbar { left: 0; right: 0; top: 10px; height: 6px; border-radius: 3px; background: var(--surface-sunken); }
  .gsv__rfill { top: 10px; height: 6px; border-radius: 3px; background: var(--tide); opacity: .45; } .gsv__rdot { top: 4px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--tide); border: 3px solid var(--surface-raised); box-sizing: border-box; }
  .gsv__rkey { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--ink-muted); margin-top: -4px !important; }
  .gsv__kv { display: grid; gap: 6px; margin: 0; } .gsv__kv > div { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; font-size: 14px; } .gsv__kv dt { color: var(--ink-muted); } .gsv__kv dd { margin: 0; font-weight: 700; text-align: right; }
  .gsv__kv em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--go); } .gsv__kv em.is-guess { color: var(--hold); }
  .gsv__kv.is-co { background: var(--surface-sunken); border-radius: 12px; padding: 10px 12px; } .gsv__kv.is-co > div { grid-template-columns: 96px minmax(0, 1fr); } .gsv__kv.is-co dd { text-align: left; font-weight: 500; }
  .gsv__flow { display: grid; gap: 0; text-align: center; font-size: 14px; } .gsv__flow > div, .gsv__fork .is-end { background: var(--surface-sunken); border-radius: 10px; padding: 9px; }
  .gsv__flow > span, .gsv__fork > div > span { color: var(--ink-muted); font-size: 13px; line-height: 24px; } .gsv__flow .is-hub { background: var(--go-tint); }
  .gsv__fork { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; background: none !important; padding: 0 !important; margin-top: 4px; } .gsv__fork > div { display: grid; } .gsv__fork .is-end { background: var(--hold-tint); display: grid; } .gsv__fork small { font-size: 12.5px; color: var(--ink-muted); }
  .gsv__flow .is-side { margin-top: 10px; background: none; border: 1px dashed var(--line-strong); }
  .gsv__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; } .gsv__chips li { font-size: 13.5px; border: 1px solid var(--line); background: var(--surface-sunken); border-radius: 999px; padding: 5px 12px; }
  .gsv__more summary { cursor: pointer; font-weight: 700; color: var(--tide); min-height: 44px; display: flex; align-items: center; } .gsv__more.is-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px 12px; }
  .gsv__rank { padding-top: 6px !important; }
  @media (max-width: 420px) { .gsv__kpi b { font-size: 22px; } .gsv__tiles b { font-size: 17px; } .gsv__bars > div { grid-template-columns: 92px minmax(0, 1fr) 46px; } .gsv__how > div { grid-template-columns: 68px minmax(0, 1fr); } }
  @media (min-width: 900px) { .gsv__top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); } .gsv__call { grid-column: auto; } .gsv__rights { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .gsv__week, .gsv__sch, .gsv__how, .gsv__mix, .gsv__tiles, .gsv__bars, .gsv__flow, .gsv__range, .gsv__rkey, .gsv__kv { max-width: 620px; } .gsv .gs__chart { max-width: 760px; } }
  /* 無障礙、各宗教兩頁的會員回報 */
  .pgr { display: grid; gap: 10px; min-width: 0; } .pgr h2 { margin: 0; font-size: 20px; } .pgr p { margin: 0; } .pgr .newsfilter { margin: 0; } .pgr .dy-chip { min-height: 44px; }
  .pgr__h { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-top: 4px !important; } .pgr__h b { font-size: 16px; } .pgr__h span { font-size: 13px; color: var(--ink-muted); }
  .pgr__in { font: inherit; font-size: 16px; width: 100%; box-sizing: border-box; padding: 10px 12px; min-height: 48px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); }
  .pgr__send { font: inherit; font-size: 16px; font-weight: 700; min-height: 48px; padding: 8px 18px; border-radius: 12px; border: 0; background: var(--tide); color: var(--on-tide); cursor: pointer; } .pgr__send:disabled { background: var(--surface-sunken); color: var(--ink-muted); cursor: default; }
  .pgr__n { font-size: 12.5px !important; line-height: 1.7; color: var(--ink-muted); list-style: none; } .pgr__err, .pgr__login { font-size: 14.5px; color: var(--stop); font-weight: 700; } .pgr__login { color: var(--ink); background: var(--hold-tint); border-radius: 10px; padding: 10px 12px; } .pgr__login a, .pgr__err a { color: var(--tide); margin-left: 6px; }
  .pgr__list { list-style: none; margin: 0; padding: 8px 10px; display: grid; gap: 4px; background: var(--hold-tint); border-radius: 10px; } .pgr__list.is-all { background: var(--surface-raised); border: 1px solid var(--line); padding: 12px 14px; gap: 8px; }
  .pgr__it { display: flex; gap: 8px; justify-content: space-between; align-items: flex-start; font-size: 14px; line-height: 1.65; color: var(--ink); overflow-wrap: anywhere; } .pgr__it b { color: var(--hold); } .pgr__it.is-hid { opacity: .5; text-decoration: line-through; }
  .pgr__hide { font: inherit; font-size: 12.5px; flex: none; min-height: 32px; padding: 2px 10px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); cursor: pointer; }
  .pgr__blk { display: grid; gap: 10px; background: var(--surface-sunken); border-radius: 16px; padding: 16px; } .pgr__blkh { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; align-items: center; } .pgr__blkh h2 { margin: 0; font-size: 19px; } .pgr__blkh p { margin: 2px 0 0; font-size: 14px; line-height: 1.7; color: var(--ink-muted); max-width: 34em; }
  /* ─── 無障礙資訊 /access（2026-10-10）：這一頁的按鈕一律 44px 以上、內文 16px 以上；等級除了顏色一定有符號與字 ─── */
  .ax { display: grid; gap: 20px; padding-block: 18px 34px; --ax-ok: var(--go); --ax-okb: var(--go-tint); --ax-part: var(--hold); --ax-partb: var(--hold-tint); --ax-no: var(--stop); --ax-nob: var(--stop-tint); --ax-unk: var(--ink-muted); --ax-unkb: var(--surface-sunken); }
  .ax h1, .ax h2, .ax h3, .ax p, .ax ul, .ax ol { margin: 0; } .ax ul, .ax ol { padding: 0; list-style: none; }
  .ax__hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: center; background: var(--surface-deep); color: var(--ink-deep); border-radius: 18px; padding: 22px; }
  .ax__hero h1 { font-family: var(--font-serif); font-size: 32px; line-height: 1.25; margin-bottom: 8px; } .ax__hero p { font-size: 16.5px; line-height: 1.75; color: var(--ink-deep-muted); }
  .ax__nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .ax__nums li { background: rgba(255, 255, 255, .1); border-radius: 12px; padding: 10px 6px; text-align: center; display: grid; gap: 2px; }
  .ax__nums b { font-family: var(--font-serif); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; } .ax__nums span { font-size: 12.5px; color: var(--ink-deep-muted); }
  .ax__alert { background: var(--hold-tint); border-radius: 14px; padding: 14px 16px; display: grid; gap: 6px; } .ax__alert > b { color: var(--hold); font-size: 15px; } .ax__alert li { font-size: 15.5px; line-height: 1.7; padding-left: 16px; position: relative; color: var(--ink); } .ax__alert li::before { content: "・"; position: absolute; left: 0; }
  .ax__now { display: grid; gap: 12px; } .ax__now h2 { font-family: var(--font-serif); font-size: 24px; }
  .ax__sits { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
  .ax__sit { font: inherit; display: grid; gap: 10px; align-content: space-between; justify-items: start; text-align: left; min-height: 104px; padding: 14px 12px; border-radius: 18px; border: 3px solid transparent; cursor: pointer; color: #17262c; }
  .ax__sit b { font-size: 16.5px; line-height: 1.3; } .ax__sit.is-on { border-color: var(--ink); }
  .ax__sit.is-wc { background: #d6ebfb; } .ax__sit.is-loan { background: #d9f0e2; } .ax__sit.is-car { background: #fbe7b8; } .ax__sit.is-sick { background: #f9d6d1; } .ax__sit.is-port { background: #e6dcf8; } .ax__sit.is-go { background: #e3e8e6; }
  .ax__sitb { background: var(--surface-raised); border: 2px solid var(--line-strong); border-radius: 16px; padding: 16px; } .ax__sitb > div { display: grid; gap: 12px; min-width: 0; }
  .ax__tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 2px solid var(--line); scrollbar-width: none; }
  .ax__tabs button { flex: none; font: inherit; font-size: 16px; font-weight: 700; min-height: 48px; padding: 8px 16px; border: 0; background: none; color: var(--ink-muted); border-bottom: 4px solid transparent; margin-bottom: -2px; cursor: pointer; }
  .ax__tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--tide); }
  .ax__body, .ax__body > div { display: grid; gap: 14px; min-width: 0; } .ax .newsfilter { margin-bottom: 0; } .ax .dy-chip { min-height: 44px; }
  .ax__lead { font-size: 14.5px; line-height: 1.8; color: var(--ink-muted); } .ax__none { font-size: 15.5px; color: var(--ink-muted); padding: 10px 0; } .ax__h3 { font-size: 17px; }
  .ax__btn { font: inherit; font-size: 15px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 10px; border: 1.5px solid var(--tide); background: var(--surface-raised); color: var(--tide); text-decoration: none; cursor: pointer; white-space: nowrap; }
  .ax__loc { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 14px; color: var(--ink-muted); }
  .ax__tel { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-height: 44px; padding: 8px 14px; border-radius: 10px; background: var(--surface-sunken); text-decoration: none; color: var(--ink); } .ax__tel span { font-size: 13.5px; color: var(--ink-muted); } .ax__tel b { font-size: 17px; color: var(--tide); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .ax__tel.is-big { background: var(--tide); } .ax__tel.is-big span, .ax__tel.is-big b { color: var(--on-tide); } .ax__tels { display: flex; flex-wrap: wrap; gap: 8px; }
  .ax__lv { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; border-radius: 8px; padding: 3px 10px; white-space: nowrap; } .ax__lv i { font-style: normal; } .ax__lv.is-s { font-size: 12.5px; padding: 1px 7px; }
  .ax__lv.is-ok { background: var(--ax-okb); color: var(--ax-ok); } .ax__lv.is-part { background: var(--ax-partb); color: var(--ax-part); } .ax__lv.is-no { background: var(--ax-nob); color: var(--ax-no); } .ax__lv.is-unk { background: var(--ax-unkb); color: var(--ax-unk); }
  .ax__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
  .ax__spot, .ax__mv { display: grid; gap: 10px; align-content: start; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 16px; padding: 16px; min-width: 0; } .ax__spot { border-top: 6px solid var(--ax-unk); }
  .ax__spot.is-ok { border-top-color: var(--ax-ok); } .ax__spot.is-part { border-top-color: var(--ax-part); } .ax__spot.is-no { border-top-color: var(--ax-no); }
  .ax__spoth { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; } .ax__spoth h3, .ax__mv h3 { font-size: 18px; line-height: 1.4; } .ax__spoth small { font-weight: 400; font-size: 13.5px; color: var(--ink-muted); margin-left: 8px; }
  .ax__spot p, .ax__mv p, .ax__box > p { font-size: 16px; line-height: 1.75; } .ax__conf { font-size: 14px !important; color: var(--ink-muted); border-left: 4px solid var(--hold); padding-left: 10px; }
  .ax__tags { display: flex; flex-wrap: wrap; gap: 6px; } .ax__tags span { font-size: 13.5px; background: var(--surface-sunken); border-radius: 6px; padding: 2px 9px; }
  .ax__foot1 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .ax__foot1 .srci { margin-left: auto; }
  .ax__prof { display: flex; align-items: flex-end; gap: 2px; padding: 6px 0 2px; } .ax__seg { position: relative; flex: 1 1 0; min-width: 0; display: grid; gap: 4px; justify-items: center; text-align: center; }
  .ax__seg svg { width: 100%; height: 30px; display: block; } .ax__seg path { fill: none; stroke: var(--ax-ok); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
  .ax__seg.is-ramp path { stroke: var(--ax-part); } .ax__seg.is-steep path { stroke: var(--ax-part); stroke-width: 6; } .ax__seg.is-stairs path { stroke: var(--ax-no); stroke-width: 4; } .ax__seg.is-unk path { stroke: var(--ax-unk); stroke-width: 3; }
  .ax__seg em { font-style: normal; font-size: 12.5px; line-height: 1.35; color: var(--ink); } .ax__seg.is-past em { color: var(--ink-muted); } .ax__seg.is-past svg { opacity: .55; }
  .ax__here { position: absolute; top: -8px; right: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-deep); color: var(--ink-deep); display: grid; place-items: center; box-shadow: 0 0 0 2px var(--surface-raised); }
  .ax__prof.is-none .ax__seg { justify-items: start; } .ax__prof.is-none em { color: var(--ink-muted); }
  .ax__key { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; vertical-align: middle; margin: 0 6px; } .ax__key .ax__seg { flex: none; display: inline-flex; align-items: center; gap: 4px; } .ax__key svg { width: 34px; height: 16px; } .ax__key em { font-size: 13px; }
  .ax__rows { display: grid; gap: 8px; } .ax__row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: var(--surface-sunken); }
  .ax__row > div:first-child { display: grid; gap: 1px; min-width: 0; } .ax__row b { font-size: 16.5px; } .ax__row em { font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--tide); } .ax__row span { font-size: 14px; color: var(--ink-muted); } .ax__rowa { display: flex; flex-wrap: wrap; gap: 6px; }
  .ax__box { display: grid; gap: 12px; min-width: 0; } .ax__ul { display: grid; gap: 6px; } .ax__ul li { font-size: 15.5px; line-height: 1.75; padding-left: 16px; position: relative; } .ax__ul li::before { content: "・"; position: absolute; left: 0; color: var(--ink-muted); }
  .ax__tblw { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; } .ax__tbl { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
  .ax__tbl th, .ax__tbl td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; } .ax__tbl thead th { background: var(--surface-sunken); font-size: 13.5px; } .ax__tbl tbody tr:last-child > * { border-bottom: 0; } .ax__tbl a { color: var(--tide); font-weight: 700; }
  .ax__line { position: relative; display: grid; gap: 10px; padding-left: 30px; } .ax__line::before { content: ""; position: absolute; left: 10px; top: 20px; bottom: 20px; width: 6px; border-radius: 3px; background: var(--line-strong); }
  .ax__stop { background: var(--surface-raised); border: 1px solid var(--line); border-radius: 14px; position: relative; } .ax__stop.is-gap { border-color: var(--ax-no); background: var(--ax-nob); }
  .ax__stop > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 12px 14px; min-height: 56px; } .ax__stop > summary::-webkit-details-marker { display: none; }
  .ax__dot { position: absolute; left: -29px; top: 18px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 6px solid var(--ax-ok); } .ax__stop.is-call .ax__dot { border-color: var(--ax-part); } .ax__stop.is-gap .ax__dot { border-color: var(--ax-no); }
  .ax__seglb { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--ink-muted); } .ax__stop > summary b { font-size: 17.5px; } .ax__stopt { grid-column: 1 / 3; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
  .ax__stop > summary em { grid-row: 1; grid-column: 3; font-style: normal; font-size: 13px; font-weight: 700; border-radius: 7px; padding: 2px 9px; background: var(--ax-okb); color: var(--ax-ok); white-space: nowrap; } .ax__stop.is-call > summary em { background: var(--ax-partb); color: var(--ax-part); } .ax__stop.is-gap > summary em { background: var(--ax-no); color: #fff; }
  .ax__stopb { padding: 4px 14px 16px; display: grid; gap: 12px; min-width: 0; } .ax__stop.is-gap .ax__stopb { background: var(--surface-raised); border-radius: 0 0 13px 13px; padding-top: 14px; }
  .ax__mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 6px 14px; } .ax__mini li { display: flex; gap: 8px; align-items: center; font-size: 15px; min-height: 32px; }
  .ax__opts { display: grid; gap: 8px; } .ax__prog { height: 12px; border-radius: 6px; background: var(--surface-sunken); overflow: hidden; } .ax__prog i { display: block; height: 100%; background: var(--tide); border-radius: 6px; transition: width .2s; } .ax__progt { font-size: 14px; color: var(--ink-muted); }
  .ax__when { display: grid; gap: 6px; } .ax__when h3 { justify-self: start; font-size: 15px; background: var(--surface-deep); color: var(--ink-deep); border-radius: 8px; padding: 3px 12px; }
  .ax__todo { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px; border-radius: 12px; background: var(--surface-raised); border: 1px solid var(--line); cursor: pointer; min-height: 56px; }
  .ax__todo input { width: 26px; height: 26px; margin: 0; accent-color: var(--tide); } /* 只選直接的子元素：出處圖示的彈出框也是 span，寫成 .ax__todo span 會把它的「平常不顯示」蓋掉（2026-10-10 使用者截圖：出處全部攤開） */
  .ax__todo > span:not(.srci) { display: grid; gap: 2px; } .ax__todo > span > b { font-size: 16.5px; line-height: 1.5; } .ax__todo > span > small { font-size: 14px; color: var(--ink-muted); line-height: 1.6; } .ax__todo.is-done > span > b { text-decoration: line-through; color: var(--ink-muted); }
  .ax__ask { max-width: 46em; } .ax__q { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; } .ax__q legend { font-family: var(--font-serif); font-size: 20px; padding: 0; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
  .ax__q legend i { font-style: normal; font-family: var(--font-sans); font-size: 14px; font-weight: 700; width: 28px; height: 28px; border-radius: 50%; background: var(--tide); color: var(--on-tide); display: grid; place-items: center; }
  .ax__qo { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; } .ax__qo button { font: inherit; font-size: 16.5px; font-weight: 700; min-height: 60px; padding: 8px; border-radius: 14px; border: 2px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); cursor: pointer; } .ax__qo button[aria-pressed="true"] { border-color: var(--tide); background: var(--surface-tint); color: var(--tide); }
  .ax__ans { background: var(--surface-raised); border: 2px solid var(--tide); border-radius: 16px; padding: 16px; display: grid; gap: 12px; } .ax__ans h3 { font-size: 18px; } .ax__ans ol { display: grid; gap: 8px; counter-reset: a; }
  .ax__ans li { font-size: 16px; line-height: 1.8; padding-left: 34px; position: relative; counter-increment: a; } .ax__ans li::before { content: counter(a); position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-sunken); font-size: 13px; font-weight: 700; display: grid; place-items: center; } .ax__ans li.ax__warn { color: var(--ax-no); font-weight: 700; } .ax__ans .ax__tel { min-height: 0; padding: 2px 10px; vertical-align: middle; }
  .ax__map { height: 420px; } .ax__pin { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 900; font-style: normal; color: #fff; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); background: #5d6b70; box-sizing: border-box; }
  .ax__pin.is-ok { background: #0c7a4d; } .ax__pin.is-part { background: #b87400; } .ax__pin.is-no { background: #b3261e; } .ax__pin.is-unk { background: #6b777c; } .ax__pin.is-wc { background: #1f6fb5; border-radius: 8px; } .ax__pin.is-loan { background: #6a4bb0; border-radius: 8px; } .ax__pin.is-port { background: #123a4a; border-radius: 8px; }
  .ax__key2 { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--ink-muted); } .ax__key2 span { display: inline-flex; align-items: center; gap: 6px; } .ax__key2 .ax__pin { width: 22px; height: 22px; font-size: 11px; display: inline-grid; line-height: 1; }
  .ax__listv summary { cursor: pointer; font-size: 15px; font-weight: 700; color: var(--tide); min-height: 44px; display: flex; align-items: center; } .ax__listv .ax__mini li { justify-content: space-between; } .ax__listv .ax__mini span { font-size: 13px; color: var(--ink-muted); }
  .ax__lk { font: inherit; background: none; border: 0; padding: 6px 0; color: var(--tide); font-weight: 700; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
  .ax__board { background: #10212a; color: #e8f0f2; border-radius: 16px; overflow: hidden; gap: 0 !important; } .ax__bh { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px 10px; } .ax__bh b { font-size: 18px; letter-spacing: .1em; } .ax__bh span { font-size: 12.5px; color: #9fb4bb; font-variant-numeric: tabular-nums; }
  .ax__bc { padding: 6px 16px; background: #17303b; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: #9fd6cb; }
  .ax__br { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 16px; border-top: 1px solid #213640; } .ax__bi { font-size: 12.5px; font-weight: 700; color: #9fb4bb; } .ax__bn { display: grid; min-width: 0; } .ax__bn b { font-size: 15.5px; font-weight: 500; } .ax__bn small { font-size: 12.5px; color: #9fb4bb; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ax__lamp { font-size: 13px; font-weight: 900; padding: 4px 9px; border-radius: 6px; white-space: nowrap; } .ax__lamp.is-ok { background: #1f8a5b; color: #fff; } .ax__lamp.is-part { background: #e0a422; color: #1c1400; } .ax__lamp.is-no { background: #d2493d; color: #fff; } .ax__lamp.is-unk { background: #3a4d56; color: #d5e0e3; }
  .ax__trip { display: grid; gap: 12px; max-width: 46em; } .ax__tripc { background: linear-gradient(160deg, #f7dfb0, #f3c98c); color: #2a2012; border-radius: 16px; padding: 18px 16px; display: grid; gap: 4px; } .ax__tripc h3 { font-family: var(--font-serif); font-size: 24px; } .ax__tripc p { font-size: 14.5px; } .ax__tripc a { color: #2a2012; font-weight: 700; }
  .ax__tl { display: grid; } .ax__tl li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-strong); } .ax__tl time { font-weight: 900; font-size: 15px; color: var(--tide); } .ax__tl div { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; } .ax__tl b { font-size: 17px; } .ax__tl p { flex-basis: 100%; font-size: 15.5px; line-height: 1.7; color: var(--ink-muted); }
  .ax__gaps { background: var(--surface-sunken); border-radius: 14px; padding: 4px 16px; } .ax__gaps summary { cursor: pointer; font-size: 15.5px; font-weight: 700; min-height: 48px; display: flex; align-items: center; } .ax__gaps ul { padding-bottom: 14px; }
  .ax__ft { display: grid; gap: 8px; font-size: 14px; line-height: 1.8; color: var(--ink-muted); border-top: 1px solid var(--line); padding-top: 14px; } .ax__ft a { color: var(--tide); font-weight: 700; }
  @media (max-width: 900px) { .ax__sits { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (max-width: 760px) {
    .ax__hero { grid-template-columns: minmax(0, 1fr); padding: 16px; } .ax__hero h1 { font-size: 27px; } .ax__sits { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ax__sit { min-height: 92px; }
    .ax__map { height: 340px; } .ax__sitb { padding: 12px; } .ax__stop > summary em { font-size: 12px; } .ax__br { padding: 10px 12px; }
  }
  /* ─── 各宗教在馬祖 /beliefs（2026-10-10）：各宗教的顏色用 --c 帶進來；宗教色只當色條、色點與深底白字用，內文一律用主題的字色 ─── */
  /* ── 公共事務追蹤 /civic（2026-10-12）：狀態一律「符號＋字＋顏色」；清單一件兩三行，細節點開才看 ── */
  /* 公共工程 /works（2026-10-15；2026-10-17 改數據語言，主視覺與長條在「數據語言・公共工程」那一段，這裡只剩比較表與詳細視窗） */
  .wk__row { display: flex; gap: 8px; flex-wrap: wrap; } .wk__q { flex: 1 1 220px; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: inherit; background: var(--surface-raised); color: var(--ink); }
  .wk__sort { min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; font: inherit; background: var(--surface-raised); color: var(--ink); }
  .wk__st { justify-self: start; display: inline-block; color: #fff; font-size: 12px; font-weight: 700; border-radius: 99px; padding: 2px 9px; }
  .wk__nums { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; font-variant-numeric: tabular-nums; } .wk__nums .is-bad { color: #c0392b; font-weight: 700; }
  .wk__bar { position: relative; height: 8px; border-radius: 99px; background: var(--surface-sunken, #e9e5dc); overflow: visible; margin-top: 2px; }
  .wk__bar i { display: block; height: 100%; border-radius: 99px; } .wk__bar u { position: absolute; top: -3px; width: 2px; height: 14px; background: var(--ink); margin-left: -1px; }
  .wk__more { min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-raised); font: inherit; color: var(--ink); cursor: pointer; margin-top: 10px; width: 100%; }
  .wk__det h2 { margin: 8px 0 4px; font-size: 20px; line-height: 1.4; } .wk__det .wk__meta { margin: 0 0 10px; }
  .wk__pg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0; } .wk__pg div { background: var(--surface-sunken, #f1ede4); border-radius: 10px; padding: 8px 10px; display: grid; }
  .wk__pg b { font-size: 22px; font-variant-numeric: tabular-nums; } .wk__pg b.is-bad { color: #c0392b; } .wk__pg span { font-size: 12.5px; color: var(--ink-muted); }
  .wk__note { font-size: 14px; line-height: 1.7; white-space: pre-line; margin: 6px 0; }
  .wk__chart { margin: 8px 0; } .wk__chart svg { width: 100%; max-width: 420px; height: auto; display: block; } .wk__chart figcaption { font-size: 12.5px; color: var(--ink-muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
  .wk__lg::before { content: ''; display: inline-block; width: 16px; height: 0; border-top: 2.5px solid #0c7078; vertical-align: middle; margin-right: 4px; } .wk__lg--p::before { border-top: 2px dashed #94a3b8; }
  .wk__dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 8px 0; } .wk__dl div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
  .wk__dl dt { color: var(--ink-muted); } .wk__dl dd { margin: 0; overflow-wrap: anywhere; }
  .wk__src { font-size: 12.5px; color: var(--ink-muted); } .wk__tip { font-size: 12.5px; }
  .wk__nmb { display: grid; gap: 2px; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; min-height: 44px; align-content: center; }
  .wk__nmb b { font-size: 15px; line-height: 1.45; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; } .wk__nmb:hover b { text-decoration-color: var(--tide); }
  .wk__nmb small { font-size: 12.5px; color: var(--ink-muted); }
  .wk__num { font-variant-numeric: tabular-nums; white-space: nowrap; } .wk__num.is-bad { color: #c0392b; font-weight: 700; }
  .wk__pgc { display: grid; gap: 4px; min-width: 0; } .wk__pgc small { font-size: 12.5px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
  .wk__tbl .wk__st { white-space: nowrap; }
  .cv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding-block: 18px 34px; --cv-done: #1f7a4d; --cv-late: #4f7a1f; --cv-partial: #9a6a00; --cv-ongoing: #1d5f8a; --cv-delayed: #b3402a; --cv-not_done: #7a1f1f; --cv-cancelled: #6b6b6b; --cv-unknown: #7d7468; }
  [data-theme="dark"] .cv { --cv-done: #6fd3a0; --cv-late: #b5d87a; --cv-partial: #f0c35a; --cv-ongoing: #7cc4f0; --cv-delayed: #ff9a80; --cv-not_done: #ff7a7a; --cv-cancelled: #b0b0b0; --cv-unknown: #c2b8a8; }
  .cv__head h1 { font-family: var(--font-serif); font-size: clamp(26px, 5vw, 38px); line-height: 1.25; margin: 0 0 6px; } .cv__head p { margin: 0; color: var(--ink-muted); max-width: 46em; }
  .cv__tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line-strong); }
  .cv__tabs button { font: inherit; font-size: 17px; font-weight: 700; min-height: 46px; padding: 8px 18px; border: 0; background: none; color: var(--ink-muted); cursor: pointer; border-bottom: 4px solid transparent; margin-bottom: -2px; }
  .cv__tabs button.is-on { color: var(--ink); border-bottom-color: var(--tide); }
  .cv__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; } .cv__lead { margin: 0; } .cv__note { margin: 0; font-size: 13.5px; color: var(--ink-muted); }
  .cv__pill { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; padding: 3px 10px 3px 8px; border-radius: var(--radius-pill); color: var(--c); border: 1.5px solid var(--c); white-space: nowrap; background: var(--surface); }
  .cv__pill i { font-style: normal; font-weight: 900; font-size: 14px; line-height: 1; width: 1em; text-align: center; }
  .cv__pill.is-s { font-size: 12px; padding: 1px 8px 1px 4px; }
  .cv .is-done { --c: var(--cv-done); } .cv .is-late { --c: var(--cv-late); } .cv .is-partial { --c: var(--cv-partial); } .cv .is-ongoing { --c: var(--cv-ongoing); }
  .cv .is-delayed { --c: var(--cv-delayed); } .cv .is-not_done { --c: var(--cv-not_done); } .cv .is-cancelled { --c: var(--cv-cancelled); } .cv .is-unknown { --c: var(--cv-unknown); }
  .sheet .cv__d { --cv-done: #1f7a4d; --cv-late: #4f7a1f; --cv-partial: #9a6a00; --cv-ongoing: #1d5f8a; --cv-delayed: #b3402a; --cv-not_done: #7a1f1f; --cv-cancelled: #6b6b6b; --cv-unknown: #7d7468; }
  [data-theme="dark"] .sheet .cv__d { --cv-done: #6fd3a0; --cv-late: #b5d87a; --cv-partial: #f0c35a; --cv-ongoing: #7cc4f0; --cv-delayed: #ff9a80; --cv-not_done: #ff7a7a; --cv-cancelled: #b0b0b0; --cv-unknown: #c2b8a8; }
  .cv__d .is-done { --c: var(--cv-done); } .cv__d .is-late { --c: var(--cv-late); } .cv__d .is-partial { --c: var(--cv-partial); } .cv__d .is-ongoing { --c: var(--cv-ongoing); }
  .cv__d .is-delayed { --c: var(--cv-delayed); } .cv__d .is-not_done { --c: var(--cv-not_done); } .cv__d .is-cancelled { --c: var(--cv-cancelled); } .cv__d .is-unknown { --c: var(--cv-unknown); }
  .cv__bar { display: flex; gap: 3px; min-height: 52px; flex-wrap: wrap; }
  .cv__seg { flex: 1 0 64px; display: grid; align-content: center; justify-items: center; gap: 1px; padding: 6px 4px; border: 0; border-radius: 8px; background: var(--c); color: var(--surface); font: inherit; min-width: 0; }
  button.cv__seg { cursor: pointer; min-height: 52px; } .cv__seg b { font-size: 18px; line-height: 1; font-variant-numeric: tabular-nums; } .cv__seg span { font-size: 12px; white-space: nowrap; }
  .cv__seg.is-on { outline: 3px solid var(--ink); outline-offset: 2px; }
  span.cv__seg { flex-basis: 22px; min-height: 26px; padding: 2px; } span.cv__seg b { font-size: 13px; }
  /* 選舉史與民調（2026-10-15） */
  .cv__vt { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
  .cv__vt > li { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 4px 14px; align-items: center; }
  .cv__vy { display: grid; gap: 1px; grid-row: span 2; } .cv__vy b { font-size: 22px; font-family: var(--font-serif); font-variant-numeric: tabular-nums; } .cv__vy small { color: var(--ink-muted); font-size: 12.5px; }
  .cv__vb { display: flex; gap: 2px; min-height: 38px; border-radius: 8px; overflow: hidden; }
  .cv__vb > span { flex-basis: 0; min-width: 6px; display: flex; flex-direction: column; justify-content: center; padding: 2px 8px; color: #fff; overflow: hidden; white-space: nowrap; }
  .cv__vb > span b { font-size: 14px; line-height: 1.2; } .cv__vb > span small { font-size: 12px; opacity: .9; font-variant-numeric: tabular-nums; }
  .cv__vb .is-win { background: #1f6f5c; } .cv__vb .is-o1 { background: #8a7f6e; } .cv__vb .is-o2 { background: #a99f8f; } .cv__vb .is-o3 { background: #c4bcae; color: #2b2b2b; }
  .cv__vn { margin: 0; font-size: 13.5px; color: var(--ink-muted); line-height: 1.6; } .cv__vn b { color: var(--ink); }
  .cv__terms { display: flex; gap: 4px; flex-wrap: wrap; }
  .cv__term { flex-basis: 0; min-width: 104px; display: grid; gap: 1px; padding: 10px 12px; border-radius: 10px; background: #e8efe9; border: 1.5px solid #b9d0bf; }
  .cv__term.is-2 { background: #cfe3d4; border-color: #7fae8c; } .cv__term.is-now { background: var(--surface); border-style: dashed; }
  .cv__term b { font-size: 17px; } .cv__term span { font-size: 12.5px; color: var(--ink-muted); font-variant-numeric: tabular-nums; } .cv__term em { font-style: normal; font-weight: 800; font-size: 15px; color: #1f6f5c; } .cv__term small { font-size: 12px; color: var(--ink-muted); }
  .cv__pat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
  .cv__pat li { padding: 12px 14px; border-radius: 12px; background: var(--surface-2, #f4f1ea); border: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
  .cv__pat b { font-size: 16px; } .cv__pat p { margin: 0; font-size: 14px; line-height: 1.65; } .cv__pat small { font-size: 12.5px; color: #8a5a00; }
  .cv__pl { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
  .cv__pl > li { display: grid; gap: 5px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); border-left: 5px solid #1f6f5c; } .cv__pl > li.is-no { border-left-color: #b23b2c; }
  .cv__plh { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; } .cv__plh b { font-size: 15.5px; } .cv__plv { font-size: 13px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #e3f1e8; color: #1f6f5c; } .is-no .cv__plv { background: #f8e3e0; color: #b23b2c; }
  .cv__plb { display: grid; grid-template-columns: 3em minmax(0, 1fr) minmax(9em, auto); gap: 8px; align-items: center; font-size: 13.5px; }
  .cv__plb small { color: var(--ink-muted); } .cv__plb > span { height: 14px; border-radius: 99px; background: var(--line); overflow: hidden; } .cv__plb i { display: block; height: 100%; background: #8a7f6e; border-radius: 99px; } .cv__plb.is-real i { background: #1f6f5c; } .cv__plb em { font-style: normal; font-variant-numeric: tabular-nums; }
  .cv__plx { margin: 2px 0 0; font-size: 13.5px; } .cv__plx b { color: var(--ink); }
  .cv__plw { margin: 0 0 14px; padding: 14px 16px; border-radius: 12px; background: #f0f6f2; border: 1px solid #c9dfd1; display: grid; gap: 8px; } .cv__plw > b { font-size: 16px; }
  .cv__plw ol { margin: 0; padding-left: 1.4em; display: grid; gap: 4px; } .cv__plw li { font-size: 14.5px; } .cv__plw li span { font-weight: 700; } .cv__plw li em { font-style: normal; margin-left: 8px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
  .cv__plw p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--ink-muted); } .cv__plw p b { color: var(--ink); }
  .cv__vd { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
  .cv__vdc { display: grid; gap: 3px; align-content: start; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--line); border-top: 5px solid #8a7f6e; }
  .cv__vdc.is-ok { border-top-color: #1f6f5c; } .cv__vdc.is-mid { border-top-color: #c58a12; } .cv__vdc.is-no { border-top-color: #b23b2c; }
  .cv__vdt { font-size: 15px; font-weight: 800; } .is-ok .cv__vdt { color: #1f6f5c; } .is-mid .cv__vdt { color: #9a6a00; } .is-no .cv__vdt { color: #b23b2c; }
  .cv__vdc > b { font-size: 17px; color: var(--ink); } .cv__vdc small { font-size: 12.5px; color: var(--ink-muted); } .cv__vdc p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.65; color: var(--ink); }
  .cv__vdh { padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px dashed var(--line-strong); } .cv__vdh > b { font-size: 14.5px; } .cv__vdh ol { margin: 6px 0 0; padding-left: 1.3em; display: grid; gap: 3px; font-size: 13.5px; line-height: 1.6; }
  .cv__bz { margin-top: 14px; padding: 14px 16px; border-radius: 12px; border: 1.5px dashed var(--line-strong); display: grid; gap: 8px; } .cv__bz > b { font-size: 16px; } .cv__bz p { margin: 0; font-size: 13.5px; line-height: 1.7; }
  .cv__bz > ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } .cv__bz > ul > li { display: grid; grid-template-columns: 5em 9em 8em; gap: 8px; font-size: 14px; font-variant-numeric: tabular-nums; } .cv__bz > ul > li span { font-weight: 700; } .cv__bz > ul > li em { font-style: normal; color: var(--ink-muted); }
  .cv__bza { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 10px 14px; align-items: start; } .cv__bza .cv__vdh, .cv__bza > p { grid-column: 1 / -1; }
  .cv__bzl { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.65; } .cv__bzl b { color: var(--ink); }
  @media (max-width: 640px) { .cv__bza { grid-template-columns: minmax(0, 1fr); } .cv__bz > ul > li { grid-template-columns: 4.5em 1fr 1fr; } }
  .cv__pln { margin: 2px 0 0; font-size: 13px; color: var(--ink-muted); line-height: 1.6; }
  .cv__scroll { overflow-x: auto; } .cv__st { width: 100%; border-collapse: collapse; font-size: 14px; } .cv__st th, .cv__st td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; } .cv__st th { color: var(--ink-muted); font-weight: 700; font-size: 13px; } .cv__st td:first-child { font-variant-numeric: tabular-nums; font-weight: 700; }
  @media (max-width: 640px) { .cv__vt > li { grid-template-columns: minmax(0, 1fr); } .cv__vy { grid-row: auto; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; } .cv__plb { grid-template-columns: 3em minmax(0, 1fr); } .cv__plb em { grid-column: 2; } }
  /* 長條每一段的說明（2026-10-15）：滑鼠移上去或鍵盤聚焦時，顯示顏色的意思與那幾件的名稱 */
  .cv__seg { position: relative; } span.cv__seg { cursor: help; } .cv__seg:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
  .cv__seg .cv__tip { display: none; position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 30; width: max-content; max-width: min(320px, 80vw); padding: 10px 12px; border-radius: 10px; background: var(--ink); color: var(--surface); text-align: left; font-size: 13px; line-height: 1.5; white-space: normal; box-shadow: 0 6px 18px rgba(0,0,0,.25); pointer-events: none; }
  .cv__seg .cv__tip.is-r { left: auto; right: 0; }
  .cv__seg:hover .cv__tip, .cv__seg:focus-visible .cv__tip, .cv__seg:focus .cv__tip { display: block; }
  .cv__tip b { display: block; font-size: 14px; } .cv__tip small { display: block; opacity: .85; font-size: 12.5px; margin-top: 2px; }
  .cv__tip ul { margin: 6px 0 0; padding-left: 1.1em; } .cv__tip li { margin: 2px 0; font-size: 13px; white-space: normal; } .cv__tip li.is-more { list-style: none; margin-left: -1.1em; opacity: .8; }
  .cv__ctl { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cv__q, .cv__sel select { font: inherit; font-size: 16px; min-height: 46px; padding: 6px 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); width: 100%; box-sizing: border-box; }
  .cv__sel { display: grid; min-width: 0; } .cv__sel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cv__list, .cv__pl, .cv__wl, .cv__tl, .cv__mt, .cv__defs { list-style: none; margin: 0; padding: 0; }
  .cv__list { display: grid; border-top: 1px solid var(--line); }
  .cv__it { border-bottom: 1px solid var(--line); }
  .cv__itb { width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 12px 4px; display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
  .cv__itb:hover { background: var(--surface-sunken); }
  .cv__itb > .cv__pill { grid-row: span 3; justify-self: start; margin-top: 2px; }
  .cv__itt { display: grid; min-width: 0; } .cv__itt b { font-size: 17px; line-height: 1.35; } .cv__itt small { color: var(--ink-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .cv__itd { font-size: 14.5px; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .cv__itd em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink-muted); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 4px; }
  .cv__itn { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--ink-muted); } .cv__itn i { font-style: normal; } .cv__itn .is-go { margin-left: auto; color: var(--tide); font-weight: 700; }
  .cv__more { font: inherit; font-size: 15px; font-weight: 700; min-height: 44px; padding: 6px 16px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; justify-self: start; }
  .cv__d { display: grid; gap: 12px; color: var(--ink); } .cv__d h2 { margin: 0; font-size: 22px; font-family: var(--font-serif); } .cv__d h3 { margin: 8px 0 0; font-size: 16px; } .cv__dm { margin: 0; color: var(--ink-muted); font-size: 14px; }
  .cv__why { margin: 0; padding: 10px 12px; background: var(--surface-sunken); border-radius: 10px; font-size: 15px; line-height: 1.6; }
  .cv__kv { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); gap: 4px 10px; margin: 0; font-size: 15px; } .cv__kv dt { font-weight: 700; color: var(--ink-muted); } .cv__kv dd { margin: 0; }
  .cv__pm { margin: 0; padding: 10px 14px; border-left: 4px solid var(--tide); background: var(--surface-tint, var(--surface-sunken)); border-radius: 0 10px 10px 0; } .cv__pm p { margin: 4px 0; } .cv__pm footer { font-size: 13px; color: var(--ink-muted); }
  .cv__rel > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
  .cv__chip { font: inherit; font-size: 14px; min-height: 40px; padding: 4px 12px; border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; display: inline-flex; gap: 6px; align-items: baseline; } .cv__chip small { color: var(--ink-muted); font-size: 12px; }
  .cv__tl { display: grid; gap: 0; border-left: 2px solid var(--line-strong); margin-left: 6px; }
  .cv__ev { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 2px 8px; align-items: baseline; padding: 6px 0 8px 14px; position: relative; font-size: 14.5px; }
  .cv__ev::before { content: ""; position: absolute; left: -6px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--k, var(--ink-muted)); }
  .cv__ev time { font-family: var(--font-mono); font-size: 13px; font-variant-numeric: tabular-nums; color: var(--ink-muted); } .cv__ev p { grid-column: 1 / -1; margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
  .cv__k { font-size: 12px; font-weight: 700; padding: 0 6px; border-radius: 4px; border: 1px solid var(--k, var(--line-strong)); color: var(--k, var(--ink-muted)); justify-self: start; }
  .cv__ev.is-official { --k: var(--cv-ongoing); } .cv__ev.is-audit { --k: var(--cv-delayed); } .cv__ev.is-council { --k: var(--cv-partial); } .cv__ev.is-public { --k: var(--cv-done); }
  .cv__gap { margin: 0; font-size: 14px; color: var(--ink-muted); border: 1px dashed var(--line-strong); border-radius: 10px; padding: 8px 12px; }
  .cv__pl { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
  .cv__p { border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 14px; display: grid; gap: 10px; align-content: start; background: var(--surface); min-width: 0; }
  .cv__ph { display: flex; justify-content: space-between; gap: 10px; align-items: start; } .cv__ph > div:first-child { display: grid; min-width: 0; } .cv__ph b { font-size: 19px; } .cv__ph small { color: var(--ink-muted); font-size: 13px; }
  .cv__sc { display: flex; gap: 8px; align-items: center; text-align: left; flex: none; } .cv__sc > b { font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; font-family: var(--font-serif); } .cv__sc span { display: grid; font-size: 13px; font-weight: 700; } .cv__sc small { font-weight: 400; font-size: 11.5px; color: var(--ink-muted); max-width: 9em; }
  .cv__sc.is-na > b { color: var(--ink-muted); }
  .cv__pn { margin: 0; font-size: 13px; color: var(--ink-muted); }
  .cv__mt { display: grid; gap: 2px; font-size: 13.5px; } .cv__mt li { display: flex; gap: 8px; justify-content: space-between; border-bottom: 1px dotted var(--line); padding: 2px 0; } .cv__mt li span { min-width: 0; } .cv__mt b { margin-left: auto; white-space: nowrap; } .cv__mt a { font-size: 12px; }
  .cv__w { border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 10px 14px; } .cv__w summary { font-weight: 700; cursor: pointer; min-height: 32px; } .cv__w p { margin: 8px 0; font-size: 14.5px; }
  .cv__sl { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 10px; align-items: center; min-height: 44px; } .cv__sl span { display: flex; justify-content: space-between; gap: 8px; } .cv__sl input { width: 100%; }
  .cv__ck { display: flex; gap: 8px; align-items: start; min-height: 40px; font-size: 14.5px; padding: 4px 0; } .cv__ck input { width: 20px; height: 20px; flex: none; margin-top: 2px; }
  .cv__wl { display: grid; } .cv__wl button { width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; border-bottom: 1px solid var(--line); min-height: 44px; padding: 6px 2px; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; } .cv__wl small { color: var(--ink-muted); font-size: 12.5px; white-space: nowrap; }
  .cv__cg { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
  .cv__cm { border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; min-width: 0; } .cv__cm h3 { margin: 0 0 6px; font-size: 15.5px; line-height: 1.4; }
  .cv__cm ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; } .cv__cm li { display: flex; gap: 8px; align-items: baseline; font-size: 14.5px; border-bottom: 1px dotted var(--line); padding: 2px 0; }
  .cv__cm time { font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); width: 3.2em; flex: none; } .cv__cm li b { font-variant-numeric: tabular-nums; } .cv__cm li span { color: var(--ink-muted); font-size: 13px; } .cv__cm li a { margin-left: auto; font-size: 12px; white-space: nowrap; }
  .cv__cm details { margin-top: 6px; font-size: 12.5px; color: var(--ink-muted); } .cv__cm details li { display: block; border: 0; font-size: 12.5px; }
  /* 人：一人一列（姓名與任期｜大數字｜結果長條＋三個小數字｜看明細），圖例只寫一次；縣長照任期新到舊排，不照分數排 */
  .cv__rows { list-style: none; margin: 0; padding: 0; display: grid; border-top: 2px solid var(--line-strong); }
  .cv__row { display: grid; grid-template-columns: 210px 116px minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .cv__rn { display: grid; gap: 1px; min-width: 0; } .cv__rn b { font-size: 21px; font-family: var(--font-serif); line-height: 1.25; } .cv__rn span { font-size: 14px; font-variant-numeric: tabular-nums; } .cv__rn small { font-size: 12.5px; color: var(--ink-muted); line-height: 1.5; }
  .cv__big { display: grid; justify-items: center; gap: 2px; text-align: center; } .cv__big b { font-size: 46px; line-height: 1; font-family: var(--font-serif); font-variant-numeric: tabular-nums; } .cv__big span { font-size: 12.5px; font-weight: 700; color: var(--ink-muted); }
  .cv__big.is-na b { color: var(--ink-muted); font-size: 34px; } .cv__big.is-n b { font-size: 38px; }
  .cv__rb { display: grid; gap: 8px; min-width: 0; } .cv__rb .cv__bar { min-height: 30px; flex-wrap: nowrap; } .cv__rb span.cv__seg { flex-basis: 0; min-height: 30px; border-radius: 6px; min-width: 22px; } .cv__rb span.cv__seg b { font-size: 14px; }
  .cv__stats { display: flex; flex-wrap: wrap; gap: 4px 22px; } .cv__stat { display: flex; align-items: baseline; gap: 5px; font-size: 13.5px; } .cv__stat b { font-size: 17px; font-variant-numeric: tabular-nums; } .cv__stat small { color: var(--ink-muted); font-size: 12px; }
  .cv__legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--ink-muted); } .cv__legend span { display: inline-flex; align-items: center; gap: 5px; } .cv__legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
  .cv__warn { margin: 0; padding: 10px 14px; border-left: 4px solid var(--cv-partial); background: var(--surface-sunken); border-radius: 0 10px 10px 0; font-size: 14.5px; line-height: 1.6; }
  .cv__gh { margin: 14px 0 6px; font-size: 16px; font-family: var(--font-serif); }
  @media (max-width: 820px) {
    .cv__row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; } .cv__rb { grid-column: 1 / -1; grid-row: 2; } .cv__row > .cv__more, .cv__row > span:last-child { grid-column: 1 / -1; justify-self: stretch; }
    .cv__big b { font-size: 38px; } .cv__big { justify-items: end; text-align: right; }
  }
  /* 人的明細：任期一行一個、事項在前、可以數的紀錄收成一組一組的小格 */
  .cv__who { gap: 14px; } .cv__sec { display: grid; gap: 6px; min-width: 0; } .cv__d .cv__sec h3 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding-bottom: 4px; border-bottom: 2px solid var(--line-strong); } .cv__sec h3 small { font-size: 12.5px; font-weight: 400; color: var(--ink-muted); }
  .cv__roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .cv__roles li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; align-items: baseline; font-size: 14.5px; } .cv__roles span { font-variant-numeric: tabular-nums; color: var(--ink-muted); white-space: nowrap; font-size: 13.5px; } .cv__roles small { grid-column: 1 / -1; font-size: 12.5px; color: var(--ink-muted); }
  .cv__tagline { margin: 0; font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; padding: 6px 12px; border: 1.5px solid var(--line-strong); border-radius: 10px; justify-self: start; }
  .cv__src { font-size: 12.5px; white-space: nowrap; }
  .cv__m1 { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; } .cv__m1 span small { display: block; font-size: 12px; color: var(--ink-muted); font-variant-numeric: tabular-nums; } .cv__m1 b, .cv__chips b { font-size: 19px; font-variant-numeric: tabular-nums; white-space: nowrap; } .cv__m1 b i, .cv__chips b i { font-style: normal; font-size: 12px; font-weight: 400; margin-left: 2px; }
  .cv__mg { display: grid; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--line); } .cv__mg h4 { margin: 0; font-size: 14.5px; font-weight: 400; line-height: 1.4; }
  .cv__chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 6px; } .cv__chips li > * { display: grid; gap: 1px; min-height: 56px; align-content: center; padding: 6px 10px; border: 1.5px solid var(--line-strong); border-radius: 10px; color: var(--ink); text-decoration: none; box-sizing: border-box; height: 100%; } .cv__chips a:hover { background: var(--surface-sunken); } .cv__chips small { font-size: 12px; color: var(--ink-muted); } .cv__chips time { font-size: 11px; color: var(--ink-muted); font-variant-numeric: tabular-nums; white-space: nowrap; } @media (max-width: 560px) { .cv__chips time { display: none; } }
  .cv__chips.is-wide { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); } .cv__chips.is-wide b { font-size: 17px; white-space: normal; }
  .cv__m1.is-long { grid-template-columns: minmax(0, 1fr) auto; } .cv__m1.is-long > span { grid-column: 1 / -1; } .cv__m1.is-long b { white-space: normal; font-size: 17px; }
  .cv__ll { list-style: none; margin: 0; padding: 0; display: grid; } .cv__ll li { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.45; } .cv__ll time { font-size: 12.5px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
  .cv__mt li span { flex: 1; } .cv__mt a { white-space: nowrap; flex: none; }
  /* 總覽：圖表 */
  .cv__dash { gap: 18px; }
  .cv__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } .cv__kpis > div { border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; align-content: start; border-top: 5px solid var(--c, var(--ink)); background: var(--surface); }
  .cv__kpis b { font-size: 38px; line-height: 1.05; font-family: var(--font-serif); font-variant-numeric: tabular-nums; } .cv__kpis span { font-size: 14px; font-weight: 700; } .cv__kpis small { font-size: 12px; color: var(--ink-muted); }
  .cv__card { border: 1.5px solid var(--line-strong); border-radius: 16px; padding: 16px 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; background: var(--surface); min-width: 0; } .cv__card h2 { margin: 0; font-size: 20px; font-family: var(--font-serif); line-height: 1.35; text-wrap: balance; } .cv__cs { margin: 0; font-size: 14px; color: var(--ink-muted); line-height: 1.6; } .cv__card .cv__gh { margin-top: 6px; }
  /* 2026-10-16 排版改版：馬祖缺什麼＝依層面分組的比較表（急迫・缺口｜關鍵數字｜證據），點開看內文 */
  .nd__grp { display: grid; gap: 4px; min-width: 0; } .nd__grp .cv__gh small { font-weight: 400; color: var(--ink-muted); font-size: 13px; }
  .nd__rt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; } .nd__rt b { font-size: 15px; line-height: 1.5; text-wrap: balance; } .nd__rt small { display: inline; font-size: 12.5px; color: var(--ink-muted); }
  .nd__rt .nd__urg { flex: none; }
  .nd__kn { display: grid; gap: 1px; } .nd__kn b { font-size: 18px; font-variant-numeric: tabular-nums; line-height: 1.3; } .nd__kn small { font-size: 12px; color: var(--ink-muted); line-height: 1.45; }
  .nd__ev { font-size: 13px; color: var(--ink-muted); white-space: nowrap; } .nd__ev small.is-me { display: block; color: var(--tide); font-weight: 700; }
  .nd__rd { display: grid; gap: 8px; justify-items: start; } .nd__rd p { margin: 0; }
  /* 2026-10-16 排版改版：各宗教「這一週」固定欄位週曆表 */
  .bf__wt { margin: 4px 0 0; } .bf__wtt { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; } .bf__wtt b { font-variant-numeric: tabular-nums; font-size: 15.5px; }
  .bf__tbc { font-size: 11.5px; font-weight: 700; color: #8a5a00; background: #fbefd2; border-radius: 4px; padding: 0 6px; line-height: 1.6; }
  .bf__wtp { display: inline-flex; align-items: center; gap: 6px; text-align: left; } .bf__wtp i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
  /* 2026-10-16 排版改版：參選人比較表（縣長與鄉長、縣議員兩張；長條長度依件數，同職位同一把尺） */
  .cv__cands { display: grid; gap: 12px; min-width: 0; }
  .cv__cn { display: grid; gap: 1px; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; min-height: 44px; align-content: center; }
  .cv__cn:disabled { cursor: default; } .cv__cn b { font-size: 16px; font-family: var(--font-serif); } .cv__cn:not(:disabled) b { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
  .cv__cn small { font-size: 12.5px; color: var(--ink-muted); line-height: 1.45; }
  .cv__cbig { font-size: 26px; font-family: var(--font-serif); line-height: 1; font-variant-numeric: tabular-nums; } .cv__cbig.is-n { font-size: 22px; }
  .cv__cna { font-size: 12.5px; color: var(--ink-muted); }
  .cv__scale { min-width: 30px; } .cv__scale .cv__bar { min-height: 26px; flex-wrap: nowrap; gap: 2px; }
  .cv__scale span.cv__seg { flex-basis: 0; min-width: 6px; min-height: 26px; border-radius: 5px; padding: 1px; } .cv__scale span.cv__seg b { font-size: 12.5px; }
  .cv__ct .cmpt__c { align-self: center; } .cv__ct .cv__monly { display: none; }
  @container (max-width: 640px) { .cv__ct .cmpt__c.cv__mh { display: none; } .cv__ct .cv__monly { display: grid; } } .cv__cdet { display: grid; gap: 8px; justify-items: start; }
  .cv__row.is-new { grid-template-columns: 210px minmax(0, 1fr) auto; } .cv__row.is-new .cv__note { margin: 0; }
  .cv__mrows, .cv__hb, .cv__rank { list-style: none; margin: 0; padding: 0; display: grid; }
  .cv__mrow { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); } .cv__mrow .cv__stats { grid-column: 2; }
  .cv__mname, .cv__hb button { font: inherit; color: inherit; background: none; border: 0; padding: 4px 0; text-align: left; cursor: pointer; display: grid; min-height: 44px; align-content: center; } .cv__mname b { font-size: 19px; font-family: var(--font-serif); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; } .cv__mname span, .cv__hb button span { font-size: 12.5px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
  .cv__hb li { display: grid; grid-template-columns: 132px minmax(0, 1fr) 9.5em; gap: 4px 12px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); } .cv__hb button b { font-size: 15.5px; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; } .cv__hb small { font-size: 12.5px; color: var(--ink-muted); text-align: right; font-variant-numeric: tabular-nums; }
  .cv__cols { display: flex; align-items: flex-end; gap: 3px; overflow-x: auto; padding-bottom: 2px; } .cv__col { flex: 1 0 20px; display: grid; justify-items: center; gap: 2px; min-width: 20px; } .cv__col small { font-size: 10.5px; color: var(--ink-muted); font-variant-numeric: tabular-nums; } .cv__col span { font-size: 10.5px; color: var(--ink-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .cv__colb { width: 100%; max-width: 30px; display: flex; flex-direction: column; gap: 1px; min-height: 3px; } .cv__colb i { background: var(--c); border-radius: 2px; min-height: 2px; flex-basis: 0; }
  .cv__rank li { border-top: 1px solid var(--line); } .cv__rank button { width: 100%; font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; display: grid; grid-template-columns: 1.6em minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 9px 0; min-height: 52px; } .cv__rank button:hover { background: var(--surface-sunken); }
  .cv__rk { font-family: var(--font-serif); font-size: 17px; color: var(--ink-muted); text-align: center; grid-row: span 2; } .cv__rt { font-size: 15.5px; font-weight: 700; line-height: 1.35; } .cv__rbar { grid-column: 2; display: flex; height: 10px; background: var(--surface-sunken); border-radius: 5px; overflow: hidden; } .cv__rbar i.is-a { background: var(--cv-delayed); } .cv__rbar i.is-b { background: var(--cv-partial); opacity: .75; } .cv__rank button > b { font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .cv__sparks { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; } .cv__spark { margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 4px; min-width: 0; } .cv__spark figcaption { font-size: 13.5px; font-weight: 700; line-height: 1.4; } .cv__spark svg { width: 100%; height: auto; overflow: visible; } .cv__spark small { font-size: 11.5px; color: var(--ink-muted); }
  .cv__sline { fill: none; stroke: var(--cv-ongoing); stroke-width: 2; } .cv__sdot { fill: var(--surface); stroke: var(--cv-ongoing); stroke-width: 2; } .cv__sval { font-size: 10.5px; fill: var(--ink); font-variant-numeric: tabular-nums; } .cv__syr { font-size: 10px; fill: var(--ink-muted); } .cv__sturn { stroke: var(--ink-muted); stroke-dasharray: 3 3; }
  @media (max-width: 820px) {
    .cv__kpis { grid-template-columns: 1fr 1fr; } .cv__kpis b { font-size: 30px; } .cv__card { padding: 14px 12px; border-radius: 14px; }
    .cv__mrow { grid-template-columns: minmax(0, 1fr); } .cv__mrow .cv__stats { grid-column: 1; } .cv__mname { grid-auto-flow: column; justify-content: start; gap: 10px; align-items: baseline; }
    .cv__hb li { grid-template-columns: minmax(0, 1fr) auto; } .cv__hb li > .cv__rb { grid-column: 1 / -1; grid-row: 2; } .cv__hb button { grid-auto-flow: column; justify-content: start; gap: 8px; align-items: baseline; }
    .cv__row.is-new { grid-template-columns: minmax(0, 1fr) auto; } .cv__row.is-new .cv__note { grid-column: 1 / -1; grid-row: 2; }
  }
  .cv__clr { font: inherit; font-size: 14px; font-weight: 700; margin-left: 10px; min-height: 36px; padding: 2px 12px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
  /* 馬祖缺什麼 /needs：沿用 .cv 的骨架，卡片依急迫程度左邊一條色 */
  .nd { --nd-high: var(--cv-delayed); --nd-mid: var(--cv-partial); --nd-low: var(--cv-unknown); } .sheet .nd__d { --nd-high: #b3402a; --nd-mid: #9a6a00; --nd-low: #7d7468; }
  .nd__urg { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; border: 1.5px solid var(--u); color: var(--u); white-space: nowrap; } .nd__urg i { font-style: normal; } .nd__urg.is-high, .nd__card.is-high { --u: var(--nd-high); } .nd__urg.is-mid, .nd__card.is-mid { --u: var(--nd-mid); } .nd__urg.is-low, .nd__card.is-low { --u: var(--nd-low); }
  .nd__dims { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; }
  .nd__dim { font: inherit; color: var(--ink); text-align: left; display: grid; gap: 1px; padding: 10px 12px; min-height: 76px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--surface); cursor: pointer; } .nd__dim b { font-size: 16.5px; } .nd__dim span { font-size: 13px; color: var(--ink-muted); } .nd__dim small { font-size: 12.5px; font-weight: 700; color: var(--nd-high); } .nd__dim.is-on { background: var(--ink); color: var(--surface); border-color: var(--ink); } .nd__dim.is-on span, .nd__dim.is-on small { color: inherit; } .nd__dim:disabled { opacity: .4; cursor: default; }
  .nd__flt { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
  .nd__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; }
  .nd__card { border: 1.5px solid var(--line-strong); border-left: 6px solid var(--u); border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; align-content: start; background: var(--surface); min-width: 0; }
  .nd__ct { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; color: var(--ink-muted); }
  .nd__card h3 { margin: 0; } .nd__card h3 button { font: inherit; font-size: 18.5px; font-weight: 700; font-family: var(--font-serif); line-height: 1.4; color: var(--ink); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; text-wrap: balance; }
  .nd__what { margin: 0; font-size: 14.5px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .nd__num { display: grid; gap: 1px; padding: 8px 12px; background: var(--surface-sunken); border-radius: 10px; min-width: 0; } .nd__num small { font-size: 12.5px; color: var(--ink-muted); } .nd__num b { font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .nd__num span { font-size: 12.5px; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .nd__wish { margin: 0; font-size: 14.5px; line-height: 1.6; } .nd__card .nd__wish { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .nd__cf { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 12.5px; color: var(--ink-muted); } .nd__cf .is-me { color: var(--tide); font-weight: 700; } .nd__more { margin-left: auto; font: inherit; font-size: 14.5px; font-weight: 700; min-height: 44px; padding: 4px 14px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); cursor: pointer; }
  .nd__nums, .nd__vs, .nd__src, .nd__cmp, .nd__sv, .nd__bars, .nd__ex { list-style: none; margin: 0; padding: 0; display: grid; }
  .nd__nums li, .nd__cmp li { display: grid; gap: 1px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; min-width: 0; } .nd__nums small, .nd__cmp small { font-size: 12.5px; color: var(--ink-muted); } .nd__nums b, .nd__cmp b { font-size: 16.5px; overflow-wrap: anywhere; } .nd__nums span, .nd__cmp span { color: var(--ink-muted); font-size: 13.5px; } .nd__nums a, .nd__cmp a { font-size: 12.5px; overflow-wrap: anywhere; }
  .nd__cmp { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 24px; }
  .nd__vs li { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; } .nd__vs time, .nd__ex time { font-size: 12.5px; color: var(--ink-muted); font-variant-numeric: tabular-nums; } .nd__vs a { font-size: 12.5px; white-space: nowrap; }
  .nd__src li { display: grid; grid-template-columns: 5.4em minmax(0, 1fr); gap: 8px; padding: 5px 0; font-size: 13.5px; line-height: 1.5; } .nd__src em { font-style: normal; font-size: 12px; color: var(--ink-muted); } .nd__src a { overflow-wrap: anywhere; }
  .nd__bars > li { border-top: 1px solid var(--line); } .nd__bars summary { display: grid; grid-template-columns: 1.6em 11em minmax(0, 1fr) 3em 46px 4em; gap: 8px; align-items: center; min-height: 44px; cursor: pointer; list-style: none; counter-increment: ndb; font-size: 15px; } .nd__bars { counter-reset: ndb; } .nd__bars summary::before { content: counter(ndb); color: var(--ink-muted); font-family: var(--font-serif); text-align: center; } .nd__bars summary::-webkit-details-marker { display: none; }
  .nd__bn { font-weight: 700; line-height: 1.3; } .nd__bb { height: 12px; background: var(--surface-sunken); border-radius: 6px; overflow: hidden; } .nd__bb i { display: block; height: 100%; background: var(--cv-ongoing); border-radius: 6px; } .nd__bars summary b { text-align: right; font-variant-numeric: tabular-nums; } .nd__bars summary em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--nd-high); white-space: nowrap; }
  .nd__yb { display: inline-flex; align-items: flex-end; gap: 3px; height: 24px; } .nd__yb i { width: 8px; background: var(--ink-muted); border-radius: 2px 2px 0 0; }
  .nd__ex { padding: 2px 0 10px 2.2em; gap: 4px; font-size: 14px; } .nd__ex li { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 8px; }
  .nd__sv { gap: 12px; } .nd__sv > li { display: grid; gap: 3px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; } .nd__sv small { color: var(--ink-muted); font-size: 12.5px; } .nd__sv ul { margin: 2px 0 0; padding-left: 1.2em; display: grid; gap: 2px; } .nd__sv em { font-style: normal; font-weight: 700; } .nd__sv p { margin: 0; }
  .nd__d .pgr__send { justify-self: start; }
  @media (max-width: 720px) {
    .nd__list { grid-template-columns: minmax(0, 1fr); } .nd__dims { grid-template-columns: repeat(3, minmax(0, 1fr)); } .nd__dim { padding: 8px; min-height: 68px; } .nd__dim b { font-size: 15px; }
    .nd__bars summary { grid-template-columns: 1.4em minmax(0, 1fr) 2.6em 40px; } .nd__bb { grid-column: 2 / -1; grid-row: 2; } .nd__bars summary em { display: none; } .nd__bars summary { padding: 6px 0; row-gap: 2px; }
  }
  .cv__cl { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; } .cv__cl li { display: grid; grid-template-columns: 13em minmax(0, 1fr); gap: 4px 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; } .cv__cl button { font: inherit; color: var(--tide); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; } @media (max-width: 720px) { .cv__cl li { grid-template-columns: minmax(0, 1fr); } }
  /* 多語：語言選單、外語版的提示列 */
  .langm { position: relative; display: inline-flex; } .langm__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; } .langm__btn:hover { background: rgba(255,255,255,.18); } .langm__btn svg { flex: none; }
  .langm__list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; list-style: none; margin: 0; padding: 6px; min-width: 9.5em; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.22); display: grid; gap: 2px; }
  .langm__list a { display: block; padding: 10px 12px; min-height: 44px; box-sizing: border-box; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15.5px; } .langm__list a:hover { background: var(--surface-sunken); } .langm__list a[aria-current] { font-weight: 700; background: var(--surface-sunken); }
  .i18n-note { margin: 10px 0 0; padding: 8px 14px; border-radius: 10px; border: 1.5px dashed var(--line-strong); background: var(--surface-sunken); font-size: 13.5px; line-height: 1.6; color: var(--ink-muted); } .i18n-note a { margin-left: 8px; font-weight: 700; } .i18n-note.is-ok { border-style: solid; border-width: 1px; background: none; font-size: 12.5px; }
  /* 語言選單打開時，頁首要疊在島況列（sticky）上面，不然選單下半被蓋住（2026-10-12 使用者截圖） */
  .masthead:has(.langm__list), .mastwrap.is-deco .masthead:has(.langm__list) { position: relative; z-index: calc(var(--z-sticky, 100) + 8); }
  @media (max-width: 560px) { .langm__t { display: none; } .langm__btn { padding: 0; width: 44px; justify-content: center; } }
  /* 橫向可捲的按鈕列不能把頁面撐寬（外語版字長時會發生）：自己限寬、在裡面捲 */
  .depseg, .mergeseg, .days3__tabs { min-width: 0; max-width: 100%; contain: inline-size; } .homemix__a, .homesea, .days3, .dy-sec { min-width: 0; max-width: 100%; }
  .homemix, .homemix__a { grid-template-columns: minmax(0, 1fr); } html:not([lang^="zh"]) .calseason__i { white-space: normal; } html:not([lang^="zh"]) .days3__tabs { overflow-x: auto; } html:not([lang^="zh"]) .days3__tab { font-size: 13px; padding-inline: 8px; white-space: nowrap; flex: 0 1 auto; min-width: 0; }
  html:not([lang^="zh"]) .dy-sec__title { overflow-wrap: anywhere; } html:not([lang^="zh"]) .dy-sec { flex-wrap: wrap; }
  /* 外語版：字比中文長，島況格子的名稱與底部選單要縮字、不撐破格子 */
  html:not([lang^="zh"]) .ctile__n { font-size: 11px; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  html:not([lang^="zh"]) .dy-pill, html:not([lang^="zh"]) [class*="dy-status"], html:not([lang^="zh"]) [class*="pill"] { white-space: nowrap; }
  html:not([lang^="zh"]) .ctile { min-width: 0; overflow: hidden; } html:not([lang^="zh"]) .ctile .dy-cond__value { font-size: 14.5px; white-space: normal; line-height: 1.15; overflow-wrap: anywhere; } html:not([lang^="zh"]) .ctile__lb { min-width: 0; max-width: 100%; }
  html:not([lang^="zh"]) .botnav__b { font-size: 10.5px; letter-spacing: 0; } html:not([lang^="zh"]) .dy-chip { letter-spacing: 0; }
  .cv__recs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; } .cv__rec .cv__mt li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; } .cv__rec .cv__mt b { white-space: normal; margin: 0; font-weight: 400; } .cv__rec .cv__mt span { font-weight: 700; } .cv__rec { border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 12px 14px; display: grid; gap: 8px; min-width: 0; }
  .cv__rech { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: space-between; } .cv__rech b { font-size: 17px; } .cv__rec p { margin: 0; line-height: 1.6; } .cv__rec details summary { cursor: pointer; font-size: 14px; color: var(--tide); font-weight: 700; min-height: 32px; }
  .cv__method { max-width: 46em; line-height: 1.7; } .cv__method h2 { margin: 0; font-family: var(--font-serif); } .cv__method h3 { margin: 10px 0 0; } .cv__method ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; } .cv__method p { margin: 0; }
  .cv__defs { padding-left: 0 !important; } .cv__defs li { display: block; }
  @media (max-width: 720px) {
    .cv__ctl { grid-template-columns: 1fr 1fr; } .cv__q { grid-column: 1 / -1; } .cv__ctl .cv__sel:last-child { grid-column: 1 / -1; }
    .cv__itb { grid-template-columns: minmax(0, 1fr); } .cv__itb > .cv__pill { grid-row: auto; }
    .cv__seg span { font-size: 11px; } .cv__sl { grid-template-columns: 1fr; gap: 0; } .cv__seg { flex-basis: 76px; }
    .cv__itd > span { display: grid; gap: 2px; } .cv__itd { -webkit-line-clamp: 4; } .cv__tabs { overflow-x: auto; } .cv__tabs button { padding-inline: 12px; white-space: nowrap; }
  }
  .bf { display: grid; gap: 22px; padding-block: 18px 34px; }
  .bf h1, .bf h2, .bf h3, .bf p { margin: 0; }
  .bf__hero { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
  .bf__herot { display: grid; gap: 10px; } .bf__herot h1 { font-family: var(--font-serif); font-size: 32px; line-height: 1.25; }
  .bf__herot p { font-size: 16px; line-height: 1.75; color: var(--ink); } .bf__herol { color: var(--ink-muted) !important; font-size: 14.5px !important; } .bf__herol a { color: var(--tide); font-weight: 700; }
  .bf__num { display: grid; gap: 10px; min-width: 0; }
  .bf__nums { display: flex; gap: 22px; align-items: flex-end; } .bf__nums p { display: grid; } .bf__nums b { font-family: var(--font-serif); font-size: 52px; line-height: 1; font-weight: 900; font-variant-numeric: tabular-nums; } .bf__nums span { font-size: 13px; color: var(--ink-muted); }
  .bf__sq { display: grid; grid-template-columns: repeat(18, minmax(0, 1fr)); gap: 4px; } .bf__sq i { aspect-ratio: 1; border-radius: 3px; background: var(--line-strong); } .bf__sq i.is-c { box-shadow: 0 0 0 2px var(--surface-raised), 0 0 0 3px currentColor; }
  .bf__numn { font-size: 13px; line-height: 1.7; color: var(--ink-muted); }
  .bf__want { display: grid; gap: 12px; background: var(--surface-sunken); border-radius: 18px; padding: 18px; }
  .bf__want h2 { font-family: var(--font-serif); font-size: 22px; }
  .bf__lang { display: flex; flex-wrap: wrap; gap: 6px; } .bf__lang button { font: inherit; font-size: 14px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); cursor: pointer; }
  .bf__lang button[aria-pressed="true"] { background: var(--surface-deep); color: var(--ink-deep); border-color: var(--surface-deep); font-weight: 700; }
  .bf__wants { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 8px; }
  .bf__w { font: inherit; text-align: left; display: grid; gap: 2px; padding: 12px 14px; min-height: 64px; border-radius: 14px; border: 2px solid transparent; background: var(--surface-raised); color: var(--ink); cursor: pointer; }
  .bf__w b { font-size: 16px; } .bf__w span { font-size: 13px; color: var(--ink-muted); line-height: 1.45; } .bf__w.is-on { border-color: var(--tide); } .bf__w.is-none { background: transparent; border: 2px dashed var(--line-strong); } .bf__w.is-none.is-on { border-style: solid; border-color: var(--tide); }
  .bf__wres { display: grid; gap: 12px; } .bf__wnote { background: var(--surface-raised); border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.75; }
  .bf__call { font-size: 14px; font-weight: 700; color: var(--ink); } .bf__draft { font-size: 12.5px; color: var(--ink-muted); }
  .bf__tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; border-bottom: 2px solid var(--line); scrollbar-width: none; }
  .bf__tabs button { flex: none; font: inherit; font-size: 15.5px; font-weight: 700; min-height: 46px; padding: 8px 16px; border: 0; background: none; color: var(--ink-muted); border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; }
  .bf__tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--tide); }
  .bf__body { display: grid; gap: 14px; min-width: 0; } .bf__body > div { display: grid; gap: 14px; min-width: 0; }
  .bf__lead { font-size: 14px; line-height: 1.7; color: var(--ink-muted); } .bf__lead a { color: var(--tide); font-weight: 700; } .bf__none { font-size: 14px; color: var(--ink-muted); }
  .bf__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
  .bf__site { display: flex; flex-direction: column; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 16px; min-width: 0; }
  .bf__artw { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 15px 15px 0 0; overflow: hidden; aspect-ratio: 9 / 5; } div.bf__artw { cursor: default; }
  .bf__art { display: block; width: 100%; height: 100%; }
  .bf__noart { position: absolute; right: 8px; bottom: 8px; font-size: 11.5px; color: #fff; background: rgba(0, 0, 0, .38); border-radius: 6px; padding: 2px 7px; }
  .bf__sb { display: grid; gap: 8px; padding: 14px; align-content: start; flex: 1; }
  .bf__tag { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-muted); } .bf__tag i, .bf__chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; display: inline-block; } .bf__chip { display: inline-flex; align-items: center; gap: 6px; }
  .bf__st { margin-left: auto; font-size: 12.5px; font-weight: 700; border-radius: 6px; padding: 1px 8px; } .bf__st.is-active { background: var(--go-tint); color: var(--go); } .bf__st.is-unknown { background: var(--surface-sunken); color: var(--ink-muted); }
  .bf__site h3 { font-size: 18px; line-height: 1.4; } .bf__site h3 small { font-weight: 400; font-size: 13px; color: var(--ink-muted); } .bf__en { font-size: 13.5px; color: var(--ink-muted); }
  .bf__dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; margin: 0; font-size: 14.5px; line-height: 1.6; } .bf__dl dt { color: var(--ink-muted); white-space: nowrap; } .bf__dl dd { margin: 0; min-width: 0; } .bf__dl em { font-style: normal; color: var(--ink-muted); font-size: 12.5px; }
  .bf__tel { color: var(--tide); font-weight: 700; font-variant-numeric: tabular-nums; margin-right: 10px; white-space: nowrap; }
  .bf__sch { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; } .bf__sch li { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; } .bf__sch b { font-weight: 500; } .bf__sch time { font-weight: 700; font-variant-numeric: tabular-nums; } .bf__sch small { flex-basis: 100%; font-size: 12.5px; color: var(--ink-muted); }
  .bf__year { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.7; } .bf__sum { font-size: 14.5px; line-height: 1.75; }
  .bf__act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; padding-top: 4px; }
  .bf__go, .bf__more { font: inherit; font-size: 14.5px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 10px; text-decoration: none; cursor: pointer; }
  .bf__go { background: var(--tide); color: var(--on-tide); border: 0; } .bf__more { background: none; border: 1.5px solid var(--line-strong); color: var(--ink); } .bf__act .srci { margin-left: auto; }
  .bf__site.is-big { border: 0; } .bf__ph { margin: 0; } .bf__ph img { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; } .bf__ph figcaption { font-size: 12px; color: var(--ink-muted); padding: 6px 2px 0; } .bf__ph a { color: var(--tide); }
  .bf__day { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: 14px; background: var(--surface-raised); border: 1px solid var(--line); } .bf__day.is-now { border-color: var(--tide); box-shadow: inset 4px 0 0 var(--tide); }
  .bf__dayh { display: grid; gap: 2px; align-content: start; } .bf__dayh b { font-size: 17px; } .bf__dayh span { font-size: 12px; color: var(--ink-muted); } .bf__dayh em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--on-tide); background: var(--tide); border-radius: 6px; padding: 1px 7px; justify-self: start; }
  .bf__evs { display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
  .bf__ev { font: inherit; text-align: left; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 2px 10px; padding: 8px 10px; min-height: 52px; border: 0; border-left: 5px solid var(--c); border-radius: 8px; background: var(--surface-sunken); color: var(--ink); cursor: pointer; align-items: center; }
  .bf__ev time { font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; } .bf__evn { display: grid; min-width: 0; } .bf__evn b { font-size: 14.5px; } .bf__evn span { font-size: 12.5px; color: var(--ink-muted); } .bf__ev small { grid-column: 2; font-size: 12px; color: var(--ink-muted); }
  .bf__nolist { font-size: 14px; line-height: 1.9; color: var(--ink-muted); } .bf__lk { font: inherit; background: none; border: 0; padding: 0; color: var(--tide); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
  .bf__mapbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .bf__mapbar .newsfilter { margin: 0; } .bf .newsfilter { margin-bottom: 0; }
  .bf__shelf { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; }
  .bf__bk { font: inherit; text-align: left; color: #fff; border: 0; cursor: pointer; display: grid; gap: 8px; align-content: space-between; min-height: 190px; padding: 18px 16px 16px 24px; border-radius: 6px 16px 16px 6px; box-shadow: inset 8px 0 0 rgba(0, 0, 0, .2), var(--shadow-card); }
  .bf__bk b { font-family: var(--font-serif); font-size: 26px; } .bf__bk span { font-size: 14px; line-height: 1.6; } .bf__bk em { font-style: normal; font-size: 13px; font-weight: 700; opacity: .92; } .bf__bk.is-wide { min-height: 120px; }
  .bf__book { --c: var(--tide); } .bf__back { font: inherit; font-size: 14.5px; font-weight: 700; min-height: 44px; justify-self: start; background: none; border: 0; color: var(--tide); cursor: pointer; padding: 0; }
  .bf__bkh { border-left: 8px solid var(--c); padding-left: 14px; display: grid; gap: 2px; } .bf__bkh h2 { font-family: var(--font-serif); font-size: 28px; } .bf__bkh p { color: var(--ink-muted); font-size: 15px; }
  .bf__prose { display: grid; gap: 12px; max-width: 42em; } .bf__prose p { font-size: 16.5px; line-height: 1.9; } .bf__terms { font-size: 14px !important; color: var(--ink-muted); border-top: 1px dashed var(--line-strong); padding-top: 10px; }
  .bf__ppl { display: flex; flex-wrap: wrap; gap: 8px; } .bf__ppl button, .bf__pick button { font: inherit; text-align: left; display: grid; gap: 2px; padding: 10px 14px; min-height: 56px; border-radius: 12px; border: 1px solid var(--line); border-left: 5px solid var(--c); background: var(--surface-raised); color: var(--ink); cursor: pointer; } .bf__ppl span, .bf__pick span { font-size: 13px; color: var(--ink-muted); }
  .bf__h3 { font-family: var(--font-serif); font-size: 20px; }
  .bf__tl { list-style: none; margin: 0; padding: 0; display: grid; } .bf__tl li { display: grid; grid-template-columns: 58px 16px minmax(0, 1fr); gap: 10px; padding: 9px 0; position: relative; }
  .bf__tl li > b { text-align: right; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; } .bf__tl li > i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); margin-top: 6px; z-index: 1; box-shadow: 0 0 0 3px var(--surface); }
  .bf__tl li::before { content: ""; position: absolute; left: 74px; top: 0; bottom: 0; width: 2px; background: var(--line-strong); } .bf__tl li:first-child::before { top: 14px; } .bf__tl li:last-child::before { bottom: calc(100% - 14px); }
  .bf__tl p { font-size: 16px; line-height: 1.55; } .bf__tl small { font-size: 12.5px; color: var(--ink-muted); }
  .bf__pick { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; } .bf__pick button { flex: none; max-width: 220px; } .bf__pick button[aria-pressed="true"] { background: var(--surface-sunken); border-color: var(--c); }
  .bf__story { display: grid; gap: 12px; max-width: 42em; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
  .bf__kick { font-size: 12.5px; letter-spacing: .14em; font-weight: 700; color: var(--ink-muted); border-left: 4px solid var(--c); padding-left: 8px; } .bf__story h2 { font-family: var(--font-serif); font-size: 30px; line-height: 1.3; text-wrap: balance; } .bf__who { font-size: 14px; color: var(--ink-muted); }
  .bf__story > p { font-size: 17px; line-height: 1.95; } .bf__drop::first-letter { font-family: var(--font-serif); font-size: 52px; float: left; line-height: .95; padding: 4px 8px 0 0; font-weight: 900; }
  .bf__q { font-family: var(--font-serif); font-size: 20px !important; line-height: 1.7 !important; border-left: 5px solid var(--c); padding-left: 14px; }
  .bf__foot { display: grid; gap: 8px; font-size: 13.5px; line-height: 1.8; color: var(--ink-muted); border-top: 1px solid var(--line); padding-top: 14px; }
  @media (max-width: 760px) {
    .bf__hero { grid-template-columns: minmax(0, 1fr); padding: 16px; } .bf__herot h1 { font-size: 26px; } .bf__nums b { font-size: 44px; }
    .bf__day { grid-template-columns: minmax(0, 1fr); gap: 8px; } .bf__dayh { display: flex; align-items: center; gap: 8px; } .bf__story { padding: 16px; } .bf__story h2 { font-size: 25px; }
    .bf__tl li { grid-template-columns: 48px 16px minmax(0, 1fr); } .bf__tl li::before { left: 64px; } .bf__want { padding: 14px; }
  }
  /* ── 無障礙頁的外觀＝「路牌」（2026-10-10 使用者從八種風格選的第一種）：黃底黑字、藍底白字的大牌子、粗黑框。牌子的顏色固定，其餘跟著主題色 ── */
  .ax { --ax-y: #ffd200; --ax-k: #111; --ax-b: #0b4ea2; }
  .ax__hero { background: var(--ax-y); color: var(--ax-k); border: 5px solid var(--ax-k); border-radius: 16px; } .ax__hero h1 { font-family: var(--font-sans); font-weight: 900; font-size: 36px; } .ax__hero p { color: var(--ax-k); font-weight: 500; }
  .ax__nums li { background: var(--ax-k); color: #fff; border-radius: 10px; } .ax__nums span { color: #fff; } .ax__nums b { font-family: var(--font-sans); font-weight: 900; }
  .ax__alert { background: var(--ax-k); border-radius: 12px; } .ax__alert > b { color: var(--ax-y); } .ax__alert li { color: #fff; }
  .ax__now h2 { font-family: var(--font-sans); font-weight: 900; font-size: 26px; }
  .ax__sit, .ax__sit.is-wc, .ax__sit.is-loan, .ax__sit.is-car, .ax__sit.is-sick, .ax__sit.is-port, .ax__sit.is-go { background: var(--ax-b); color: #fff; border: 4px solid #fff; border-radius: 14px; box-shadow: 0 0 0 3px var(--ax-b); } .ax__sit b { font-size: 17px; font-weight: 900; }
  .ax__sit.is-on { background: var(--ax-y); color: var(--ax-k); border-color: var(--ax-k); box-shadow: 0 0 0 3px var(--ax-y); }
  .ax__sitb { border: 4px solid var(--ink); }
  .ax__tabs { border-bottom: 0; gap: 6px; padding-bottom: 2px; } .ax__tabs button { border: 3px solid var(--ink); border-radius: 10px; margin: 0; color: var(--ink); } .ax__tabs button[aria-selected="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
  .ax .dy-chip { border: 2.5px solid var(--ink); font-weight: 700; color: var(--ink); background: transparent; } .ax .dy-chip[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
  .ax__spot, .ax__mv, .ax__ans, .ax__todo, .ax__stop { border: 4px solid var(--ink); border-radius: 16px; } .ax__spot { border-top-width: 4px; } .ax__spot.is-ok, .ax__spot.is-part { border-top-color: var(--ink); } .ax__spot.is-no, .ax__stop.is-gap { border-color: var(--ax-no); } .ax__todo { border-width: 3px; }
  .ax__lv { border-radius: 6px; color: #fff; } .ax__lv.is-ok { background: #0c7a4d; color: #fff; } .ax__lv.is-part { background: #8a5a00; color: #fff; } .ax__lv.is-no { background: #b3261e; color: #fff; } .ax__lv.is-unk { background: #4f5d63; color: #fff; }
  .ax__tags span { background: transparent; border: 2px solid var(--ink); font-weight: 700; }
  .ax__btn, .ax .pgr__send { background: var(--ax-y); color: var(--ax-k); border: 3px solid var(--ax-k); border-radius: 10px; }
  .ax__tel, .ax__tel.is-big { background: var(--ax-k); border-radius: 10px; border: 3px solid var(--ax-k); box-sizing: border-box; align-items: center; align-content: center; min-height: 52px; padding: 6px 14px; }
  .ax__tel b { line-height: 1.2; } .ax__tel span { line-height: 1.3; } .ax__tels { align-items: stretch; } .ax__tels .ax__btn { min-height: 52px; box-sizing: border-box; }   /* 2026-10-10 使用者截圖：電話鈕的字偏上、跟旁邊的按鈕不一樣高 */ .ax__tel span, .ax__tel.is-big span { color: #fff; } .ax__tel b, .ax__tel.is-big b { color: var(--ax-y); }
  .ax__row { background: var(--ax-k); color: #fff; } .ax__row span { color: #d9dee0; } .ax__row em { color: var(--ax-y); }
  .ax__line::before { background: var(--ink); } .ax__stop > summary b { font-weight: 900; } .ax__stop > summary em { background: #0c7a4d; color: #fff; } .ax__stop.is-call > summary em { background: #8a5a00; color: #fff; } .ax__dot { border-width: 6px; }
  .ax__when h3 { background: var(--ax-k); color: var(--ax-y); } .ax__prog { border: 2px solid var(--ink); height: 16px; border-radius: 8px; } .ax__prog i { background: var(--ax-b); border-radius: 0; }
  .ax__qo button { border-width: 3px; border-color: var(--ink); } .ax__qo button[aria-pressed="true"] { background: var(--ax-y); color: var(--ax-k); border-color: var(--ax-k); } .ax__q legend { font-family: var(--font-sans); font-weight: 900; } .ax__q legend i { background: var(--ax-b); color: #fff; }
  .ax__tripc { background: var(--ax-y); border: 4px solid var(--ax-k); color: var(--ax-k); } .ax__tripc h3 { font-family: var(--font-sans); font-weight: 900; }
  .ax__gaps, .ax .pgr__blk { background: transparent; border: 3px solid var(--ink); } .ax__tbl thead th { background: var(--ax-k); color: #fff; } .ax__tblw { border: 3px solid var(--ink); }
  [data-theme="dark"] .ax__row, [data-theme="dark"] .ax__tel, [data-theme="dark"] .ax__alert, [data-theme="dark"] .ax__nums li { box-shadow: 0 0 0 2px var(--ax-y); }
  /* 2026-10-16 排版改版：電話改小型 TelLink（同一列排開）、交通方式／船／港口改比較表；手機上行程路段裡不再框中有框 */
  .ax .ax__tels { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; } .ax .ax__telt { margin: 0; }
  .ax__cmpt { margin: 0; } .ax__cmpt .ax__lv { white-space: nowrap; } .ax__nt { font-size: 14px; color: var(--ink-muted); }
  .ax__book { margin: 0; font-size: 15px; } .ax__book b { margin-right: 4px; }
  .ax__hist > summary { cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--tide); } .ax__hist[open] > summary { margin-bottom: 6px; } .ax__hist .srci { margin-top: 6px; }
  @media (max-width: 560px) {
    .ax__stopb { padding: 4px 10px 14px; }
    .ax__stopb .ax__mv, .ax__stopb .ax__box > .ax__mv { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 12px 0 0; background: none; }
    .ax__stopb .ax__grid { gap: 0; }
  }
  @media (max-width: 760px) { .ax__hero h1 { font-size: 31px; } .ax__nums { gap: 5px; } .ax__nums li { padding: 8px 2px; } .ax__nums span { font-size: 11px; white-space: nowrap; } }
  /* ── 各宗教頁的外觀＝「雜誌」（2026-10-10 使用者從八種風格選的第三種）：超大宋體標題、細線分欄、紅色點綴、首字放大；不用卡片 ── */
  .bf { --bf-red: #c8102e; gap: 26px; } [data-theme="dark"] .bf { --bf-red: #ff7a8a; }
  .bf__hero { background: none; border: 0; border-top: 8px solid var(--ink); border-radius: 0; padding: 14px 0 0; align-items: start; } .bf__herot h1 { font-size: 46px; font-weight: 900; line-height: 1.1; } .bf__herot p { font-family: var(--font-serif); font-size: 18px; line-height: 1.8; } .bf__herol { font-family: var(--font-sans) !important; } .bf__herol a { color: var(--bf-red); }
  .bf__num { border-top: 1px solid var(--ink); padding-top: 12px; } .bf__nums b { font-size: 66px; } .bf__sq i { border-radius: 0; } .bf__sq i.is-c { box-shadow: none; }
  .bf__want { background: none; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); border-radius: 0; padding: 16px 0; } .bf__want h2 { font-size: 27px; font-weight: 900; }
  .bf__lang button { border-radius: 0; border-color: var(--ink); background: none; } .bf__lang button[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
  .bf__wants { gap: 0; border-top: 1px solid var(--line-strong); } .bf__w, .bf__w.is-none { background: none; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: 12px 10px 12px 0; } .bf__w b { font-family: var(--font-serif); font-size: 19px; font-weight: 900; } .bf__w.is-on, .bf__w.is-none.is-on { border: 0; border-bottom: 1px solid var(--line-strong); box-shadow: inset 5px 0 0 var(--bf-red); padding-left: 14px; } .bf__w.is-none b { font-style: italic; }
  .bf__wnote { background: none; border-left: 4px solid var(--bf-red); border-radius: 0; font-family: var(--font-serif); }
  .bf__tabs { border-bottom: 1px solid var(--ink); } .bf__tabs button { letter-spacing: .08em; } .bf__tabs button[aria-selected="true"] { color: var(--bf-red); border-bottom-color: var(--bf-red); }
  .bf .dy-chip { border-radius: 0; } .bf__grid { gap: 22px; }
  .bf__day { background: none; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 12px 0; } .bf__day.is-now { box-shadow: none; border-top: 5px solid var(--bf-red); } .bf__dayh b { font-family: var(--font-serif); font-size: 28px; font-weight: 900; } .bf__dayh em { background: var(--bf-red); color: #fff; border-radius: 0; } [data-theme="dark"] .bf__dayh em { color: #1a1a1a; }
  .bf__ev { background: none; border-radius: 0; border-top: 1px solid var(--line); padding: 8px 0 8px 10px; } .bf__ev { grid-template-columns: 68px minmax(0, 1fr); } .bf__ev time { font-family: var(--font-serif); font-size: 22px; }
  .bf__site { background: none; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding-top: 12px; } .bf__artw { border-radius: 0; } .bf__sb { padding: 12px 0 0; } .bf__site h3 { font-family: var(--font-serif); font-size: 23px; font-weight: 900; } .bf__tag { letter-spacing: .12em; font-weight: 700; } .bf__st { border-radius: 0; }
  .bf__go { background: var(--ink); color: var(--surface); border-radius: 0; } .bf__more { border-radius: 0; border-color: var(--ink); } .bf__tel { color: var(--bf-red); } .bf__ph img { border-radius: 0; } .bf__site.is-big { border-top: 0; padding-top: 0; }
  .bf__bk { border-radius: 0; box-shadow: none; padding-left: 16px; } .bf__bk b { font-size: 32px; font-weight: 900; } .bf__bkh { border-left: 0; border-top: 8px solid var(--c); padding: 10px 0 0; } .bf__bkh h2 { font-size: 42px; font-weight: 900; } .bf__prose p { font-family: var(--font-serif); font-size: 18px; line-height: 2; } .bf__prose p:first-child::first-letter { font-size: 58px; float: left; line-height: .95; padding: 4px 8px 0 0; font-weight: 900; color: var(--bf-red); } .bf__terms { font-family: var(--font-sans) !important; }
  .bf__ppl button, .bf__pick button { border-radius: 0; background: none; border: 0; border-top: 4px solid var(--c); border-bottom: 1px solid var(--line-strong); } .bf__ppl b, .bf__pick b { font-family: var(--font-serif); font-size: 18px; } .bf__pick button[aria-pressed="true"] { background: var(--surface-sunken); }
  .bf__story { background: none; border: 0; border-radius: 0; padding: 0; } .bf__story h2 { font-size: 40px; font-weight: 900; line-height: 1.2; } .bf__story > p { font-family: var(--font-serif); font-size: 18.5px; line-height: 2; } .bf__kick { border-left: 0; padding-left: 0; color: var(--bf-red); } .bf__drop::first-letter { font-size: 64px; color: var(--bf-red); } .bf__q { font-size: 24px !important; font-weight: 700; border-left-color: var(--bf-red); }
  .bf__tl li > b { font-family: var(--font-serif); font-size: 21px; } .bf__tl p { font-family: var(--font-serif); font-size: 17.5px; } .bf__h3 { font-size: 24px; font-weight: 900; border-top: 1px solid var(--ink); padding-top: 10px; }
  .bf .pgr__blk { background: none; border-top: 5px solid var(--ink); border-radius: 0; padding: 14px 0 0; } .bf .pgr__blkh h2 { font-family: var(--font-serif); font-size: 26px; font-weight: 900; } .bf .pgr__send { background: var(--ink); color: var(--surface); border-radius: 0; } .bf .pgr__list { border-radius: 0; }
  @media (max-width: 760px) { .bf__herot h1 { font-size: 38px; } .bf__nums b { font-size: 56px; } .bf__story h2 { font-size: 30px; } .bf__bkh h2 { font-size: 34px; } }
  /* ─── 親子 /kids（2026-10-09）：積木牆。積木顏色是固定的（白字或深字都量過對比），其餘跟著主題色 ─── */
  .ime__help { display: grid; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-raised, #fff); min-width: 0; }
  .ime__help h3 { margin: 0; font-size: 18px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; } .ime__help h3 span { font-size: 13px; font-weight: 500; color: var(--ink-muted); }
  .ime__hd { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; } .ime__help .gb__note { margin: 0; }
  .ime__prog { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); } .ime__prog i { display: block; width: 96px; height: 6px; border-radius: 3px; background: var(--line, #e3dccf); overflow: hidden; } .ime__prog i b { display: block; height: 100%; background: #a93222; }
  .ime__cats { display: flex; flex-wrap: wrap; gap: 8px; }
  @media (max-width: 560px) { .ime__cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--shell-pad, 16px)); padding: 2px var(--shell-pad, 16px) 6px; scrollbar-width: none; } .ime__cat { flex: none; } .ime__mat { font-size: 23px; } }
  .ime__cat { min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong, #bdb6a8); border-radius: 22px; background: var(--surface, #fff); color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
  .ime__cat span { font-size: 12px; color: var(--ink-muted); font-variant-numeric: tabular-nums; } .ime__cat.is-on { background: #a93222; border-color: #a93222; color: #fff; font-weight: 700; } .ime__cat.is-on span { color: rgba(255,255,255,.85); }
  .ime__q { display: grid; gap: 12px; padding: 14px; border-radius: 12px; background: #fbf6ee; border: 1px solid var(--line, #e3dccf); min-width: 0; }
  .ime__nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .ime__pos { font-size: 13px; color: #6b6255; font-variant-numeric: tabular-nums; text-align: center; }
  .ime__step { min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong, #bdb6a8); border-radius: 10px; background: #fff; color: #2b2520; font: inherit; font-size: 15px; cursor: pointer; white-space: nowrap; } .ime__step:disabled { opacity: .4; cursor: default; }
  .ime__mat { font-size: 26px; line-height: 1.5; font-family: var(--font-serif); overflow-wrap: anywhere; color: #2b2520; text-align: center; padding: 6px 0; }
  .ime__row { display: flex; gap: 8px; align-items: stretch; } .ime__row .ime__zh { flex: 1; min-width: 0; } .ime__row .gbrep__send { flex: none; min-width: 84px; } .ime__row .gbrep__send:disabled { opacity: .5; }
  .ime__q .gb__note { color: #6b6255; }
  .ime__zh, .ime__rv input { box-sizing: border-box; width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong, #bdb6a8); border-radius: 10px; background: var(--surface, #fff); color: var(--ink); font: inherit; font-size: 17px; }
  .ime__btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .ime__msg { font-size: 14px; color: #9a3d22; font-weight: 700; }
  .ime__staff { border-style: dashed; } .ime__rv { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; } .ime__rv li { display: grid; gap: 6px; padding-top: 10px; border-top: 1px dashed var(--line-strong, #bdb6a8); } .ime__rv small { color: var(--ink-muted); font-size: 13px; }
  /* 翻譯頁裡面的內容最寬 880、左右各留 16；外面的區塊照同一個寬度對齊，不然上窄下寬 */
  .ime { display: grid; gap: 14px; max-width: 880px; margin-inline: auto; } .ime__back { margin: 0 16px; font-size: 15px; } .ime__frame { display: block; width: 100%; border: 0; border-radius: 12px; background: #fbf6ee; }
  .ime > .ime__help, .ime > .gb__note { margin-inline: 16px; }
  /* 外觀＝泡泡雲（使用者 2026-10-09 從六種可愛風格裡選的）：天空底、雲朵標題、圓泡泡按鈕、圓體字（字型只在這一頁載，見 KidsView） */
  .kd { --kd-ink: #17363f; --kd-s1: #bfe6f5; --kd-s2: #eef9fd; --kd-blue: #1f7fa6; --kd-cloud: var(--surface-raised, #fff); display: grid; gap: 18px; align-content: start;
    padding: 20px 16px 22px; border-radius: 28px; background: linear-gradient(var(--kd-s1), var(--kd-s2) 420px, transparent 760px);
    font-family: "Chiron GoRound TC", "PingFang TC", "Microsoft JhengHei", var(--font-sans); }
  [data-theme="dark"] .kd { --kd-s1: #17475c; --kd-s2: #11303b; --kd-blue: #2f9cc7; } [data-theme="dark"] .kd__brick--tell { --c: #3f6f7d; }
  .kd button, .kd input, .kd textarea, .kd select { font-family: inherit; }
  .kd__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; align-items: center; }
  .kd__hero { display: grid; gap: 14px; justify-items: center; min-width: 0; color: var(--ink); }
  .kd__cloud { display: flex; gap: 12px; align-items: center; padding: 8px 30px 8px 12px; border-radius: 999px; background: var(--kd-cloud); min-width: 0; max-width: 100%;
    box-shadow: 26px -14px 0 -8px var(--kd-cloud), -16px 12px 0 -10px var(--kd-cloud), 60px 12px 0 -14px var(--kd-cloud); }
  .kd__tern { flex: none; animation: kd-bob 3.2s ease-in-out infinite; }
  @keyframes kd-bob { 50% { transform: translateY(-5px) rotate(-3deg); } }
  .kd__title { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 900; letter-spacing: .02em; }
  .kd__lead { margin: 2px 0 0; font-size: 14.5px; color: var(--ink-muted); }
  .kd__isles { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .kd__isle { appearance: none; min-height: 44px; min-width: 60px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--kd-cloud); color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
  .kd__isle.is-on { background: var(--kd-blue); color: #fff; }
  .kd__today { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; }
  .kd__today h3 { grid-column: 1 / -1; margin: 0; font-size: 15px; font-weight: 900; text-align: center; color: var(--ink-muted); }
  .kd__trow { display: grid; align-content: start; gap: 1px; width: 100%; min-height: 76px; padding: 10px 14px; border: 0; border-radius: 22px; background: var(--kd-cloud); color: var(--ink); font: inherit; text-align: left; box-sizing: border-box; }
  .kd__trow.is-ok .kd__tw { color: #2f6b22; } .kd__trow.is-warn .kd__tw { color: #c8452c; }
  [data-theme="dark"] .kd__trow.is-ok .kd__tw { color: #9ddc84; } [data-theme="dark"] .kd__trow.is-warn .kd__tw { color: #ff9a82; }
  .kd__trow.is-act { cursor: pointer; }
  .kd__trow.is-act .kd__tw::after { content: ' ›'; color: var(--ink-muted); }
  .kd__trow.is-act { transition: transform .12s; } .kd__trow.is-act:hover { transform: translateY(-2px); }
  .kd__tl { font-size: 13px; color: var(--ink-muted); }
  .kd__tw { font-size: 17px; font-weight: 900; min-width: 0; overflow-wrap: anywhere; }
  .kd__ts { font-size: 12.5px; color: var(--ink-muted); }
  /* 2026-10-16 排版改版：時段每段不斷行、上下兩行；手機五個島排同一列；卡片第一層是電話與導航，出處與回報鈕在底部一行小字 */
  .kd__tsg { display: block; white-space: nowrap; }
  .kd__ca { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
  .kd__card:not(.kd__card--top) { grid-template-columns: 48px minmax(0, 1fr) auto; } .kd__card:not(.kd__card--top) > .kd__ca { grid-column: 3; grid-row: 1; flex-direction: column; align-items: flex-end; gap: 4px; }
  .kd__card--top > .kd__ca .kd__go { margin-left: auto; }
  .kd__cf { font-size: 12.5px; } .kd__cf .kd__flag { font-size: 12.5px; }
  .kd__memh small { margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--ink-muted); background: var(--surface-sunken, #ece7de); border-radius: 99px; padding: 1px 8px; }
  @media (max-width: 560px) {
    .kd__isles { flex-wrap: nowrap; gap: 6px; }
    .kd__isle { flex: 1 1 0; min-width: 0; padding: 0 4px; font-size: 15px; }
    .kd__today .kd__trow { min-height: 92px; }
  }
  .kd__ask { display: flex; justify-content: center; margin-top: 4px; }
  .kd__bub { font-size: 21px; font-weight: 900; }
  .kd__wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 18px 6px; align-content: start; }
  .kd__brick { --c: #17363f; --t: #fff; appearance: none; box-sizing: border-box; display: grid; justify-items: center; align-content: start; gap: 6px; min-width: 0; padding: 0; border: 0;
    background: none; color: var(--ink); font: inherit; text-align: center; text-decoration: none; cursor: pointer;
    animation: kd-drop .45s cubic-bezier(.3, 1.4, .5, 1) backwards; animation-delay: calc(var(--i) * 60ms); }
  @keyframes kd-drop { from { transform: translateY(-26px); opacity: 0; } }
  .kd__brick svg { box-sizing: border-box; width: 84px; height: 84px; padding: 24px; border-radius: 50%; background: var(--c); color: var(--t); box-shadow: inset -6px -8px 0 rgba(0, 0, 0, .11), inset 8px 8px 0 rgba(255, 255, 255, .25); transition: transform .14s; }
  .kd__brick:hover svg { transform: translateY(-4px) scale(1.04); }
  .kd__brick.is-on svg, .kd__brick:active svg { transform: scale(.94); }
  .kd__brick.is-on svg { outline: 4px solid var(--kd-blue); outline-offset: 3px; }
  .kd__bt { display: grid; min-width: 0; } .kd__bt b { font-size: 17px; font-weight: 900; line-height: 1.25; } .kd__bt small { font-size: 12.5px; color: var(--ink-muted); line-height: 1.35; }
  .kd__brick--diaper { --c: #e8674c; } .kd__brick--nursing { --c: #d9618c; }
  .kd__brick--play { --c: #f0b63f; --t: #17363f; } .kd__brick--rain { --c: #56a83a; } .kd__brick--big { --c: #3d86c0; }
  .kd__brick--care { --c: #9068c4; } .kd__brick--doctor { --c: #24a0a6; } .kd__brick--tell { --c: #17363f; }
  .kd__ans { min-width: 0; }
  .kd__ans.is-open { border-radius: 28px; background: var(--kd-s2); padding: 16px 14px 18px; scroll-margin-top: 90px; animation: kd-drop .3s ease backwards; --i: 0; }
  .kd__ansh { margin: 0 0 10px; font-size: 20px; font-weight: 900; display: flex; gap: 10px; align-items: baseline; } .kd__ansh span { font-size: 14px; font-weight: 500; color: var(--ink-muted); }
  .kd__ansin { display: grid; gap: 12px; min-width: 0; }
  /* 點開後的卡片（圖鑑卡）與燕鷗的一句話 */
  .kd__say { display: flex; gap: 10px; align-items: flex-start; } .kd__say .kd__tern { flex: none; width: 44px; height: 37px; }
  .kd__say p { margin: 0; padding: 9px 14px; border-radius: 4px 20px 20px 20px; background: var(--kd-cloud); font-size: 16px; font-weight: 700; line-height: 1.5; min-width: 0; overflow-wrap: anywhere; }
  .kd__card { box-sizing: border-box; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px 12px; align-content: start; align-items: center; padding: 12px 14px; border-radius: 22px; background: var(--kd-cloud); min-width: 0; list-style: none; }
  .kd__cb { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset -4px -5px 0 rgba(0, 0, 0, .11), inset 5px 5px 0 rgba(255, 255, 255, .25); }
  .kd__cm { min-width: 0; display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: center; } .kd__cm b { flex: 1 1 100%; font-size: 17px; font-weight: 900; line-height: 1.3; overflow-wrap: anywhere; } .kd__cm small { font-size: 13px; color: var(--ink-muted); }
  .kd__km { font-style: normal; padding: 1px 10px; border-radius: 999px; background: #dff1f9; color: #145f7d; font-size: 12.5px; font-weight: 900; white-space: nowrap; }
  .kd__open { font-style: normal; padding: 2px 12px; border-radius: 999px; background: #d9efc9; color: #24591a; font-size: 14px; font-weight: 900; white-space: nowrap; } .kd__open.is-no { background: #ece7de; color: #5d6b6e; }
  .kd__cx { grid-column: 1 / -1; display: grid; gap: 6px; justify-items: start; min-width: 0; }
  .kd__chips { display: flex; flex-wrap: wrap; gap: 5px; }
  .kd__chip { padding: 2px 10px; border-radius: 999px; background: #ffe1d8; color: #17363f; font-size: 13px; font-weight: 700; }
  .kd__chip:nth-child(6n+2) { background: #fbd9e6; } .kd__chip:nth-child(6n+3) { background: #ffeab0; } .kd__chip:nth-child(6n+4) { background: #d9efc9; } .kd__chip:nth-child(6n+5) { background: #e6daf5; } .kd__chip:nth-child(6n) { background: #cfecee; }
  .kd__ctx { font-size: 13.5px; color: var(--ink-muted); overflow-wrap: anywhere; }
  .kd__warn { padding: 4px 11px; border-radius: 12px; background: #ffe1d8; color: #a8331b; font-size: 13.5px; font-weight: 700; overflow-wrap: anywhere; }
  .kd__cf { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; min-width: 0; } .kd__cf .kd__from { flex: 1 1 auto; min-width: 0; font-size: 12.5px; color: var(--ink-muted); }
  .kd__card.is-off { background: var(--surface-sunken, #ece7de); } .kd__card.is-off .kd__cb { background: #a9b3b5 !important; color: #fff !important; }
  .kd__card--top { border: 3px solid #f0b63f; padding: 14px 16px; } .kd__card--top .kd__cm b { flex: 1 1 auto; font-size: 21px; } .kd__card--top .kd__ctx { font-size: 14.5px; }
  .kd__top { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 24px; background: #17363f; color: #fff; min-width: 0; }
  .kd__topm { display: grid; gap: 2px; min-width: 0; } .kd__topm small { font-size: 13px; color: #f0b63f; font-weight: 700; } .kd__topm b { font-size: 21px; line-height: 1.3; } .kd__topm span { font-size: 14px; opacity: .9; overflow-wrap: anywhere; }
  .kd__tel { color: var(--ink); font-size: 15px; font-weight: 700; min-height: 30px; display: inline-flex; align-items: center; }
  .kd__go { appearance: none; flex: none; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--kd-blue); color: #fff; font: inherit; font-size: 15px; font-weight: 900; text-decoration: none; cursor: pointer; }
  .kd__go.is-big { min-height: 52px; padding: 0 22px; background: #f0b63f; color: #17363f; font-size: 17px; }
  .kd__rows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
  .kd__row { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 9px 0; border-top: 1px dashed var(--line-strong, #bdb6a8); min-width: 0; }
  .kd__row > div { min-width: 0; } .kd__row b { font-size: 16px; } .kd__row em { font-style: normal; font-size: 13px; color: var(--tide); margin-left: 8px; font-weight: 700; } .kd__row span { display: block; font-size: 13px; color: var(--ink-muted); overflow-wrap: anywhere; }
  .kd__flag { appearance: none; flex: none; min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--ink-muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
  .kd__flag.is-top { min-height: 36px; }
  .kd__row > div { flex: 1; }
  .kdrep__where { display: grid; gap: 8px; } .kdrep .gbrep__o { min-height: 44px; font-size: 15px; } .kdrep .gbrep__send.is-wait { background: var(--surface-sunken, #ece7de); color: var(--ink-muted); }
  .kd__row .kd__from { font-size: 12.5px; } .kd__from a { color: inherit; } .kd__sech small { margin-left: 8px; font-size: 13px; font-weight: 500; color: var(--ink-muted); }
  .sheet > .gb { border: 0; padding: 0; margin: 0 32px 0 0; background: none; }
  .kd__winh { margin: 0 36px 8px 0; font-size: 20px; font-weight: 900; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; } .kd__winh span { font-size: 14px; font-weight: 500; color: var(--ink-muted); }
  .kd__sea { list-style: none; margin: 0 0 10px; padding: 0; }
  .kd__seag { margin-top: 14px; } .kd__seag h4 { margin: 0 0 4px; padding: 5px 10px; font-size: 16px; font-weight: 900; background: var(--surface-sunken, #ece7de); border-radius: 8px; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; } .kd__seag h4 span { font-size: 13px; font-weight: 500; color: var(--ink-muted); }
  .kd__seag .kd__sea li:first-child { border-top: 0; }
  .kd__sea li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px dashed var(--line-strong, #bdb6a8); }
  .kd__sea b { font-family: var(--font-mono, monospace); font-size: 17px; } .kd__sea span { min-width: 0; font-size: 16px; } .kd__sea small { display: block; font-size: 13px; color: var(--ink-muted); }
  .kd__sea em { font-style: normal; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--surface-sunken, #ece7de); white-space: nowrap; }
  .kd__sea .is-stop em { background: #c8452c; color: #fff; } .kd__sea .is-stop span, .kd__sea .is-stop b { text-decoration: line-through; opacity: .7; } .kd__sea .is-hold em { background: #f0b63f; color: #17363f; }
  .kd__reps { display: grid; gap: 2px; margin-top: 3px; }
  .kd__row .kd__rep, .kd__rep { display: block; font-size: 13px; color: #9a3d22; font-weight: 700; overflow-wrap: anywhere; } .kd__rep.is-have { color: #2f6b22; } .is-hid { opacity: .5; }
  .kd__rep .kd__flag { min-height: 28px; margin-left: 6px; }
  .kd__mem, .kd__sec { display: grid; gap: 6px; min-width: 0; } .kd__memh { font-size: 14px; color: var(--ink-muted); }
  .kd__sec { margin-top: 6px; gap: 10px; } .kd__sech { font-size: 18px; font-weight: 900; } .kd__secn { font-size: 14px; color: var(--ink-muted); }
  .kd__more summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 700; }
  .kd__rules { margin: 0 0 8px; padding-left: 1.3em; font-size: 15px; line-height: 1.8; }
  .kd__none { margin: 0; font-size: 15px; }
  .kd__empty { display: grid; gap: 4px; padding: 14px 16px; border: 2px dashed var(--line-strong, #bdb6a8); border-radius: 16px; } .kd__empty b { font-size: 17px; } .kd__empty span { font-size: 14px; color: var(--ink-muted); }
  .kd__big { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .kd__big a { display: grid; gap: 2px; min-height: 64px; padding: 12px 14px; border-radius: 22px; background: var(--kd-s2); color: var(--ink); text-decoration: none; } .kd__big b { font-size: 17px; } .kd__big span { font-size: 13px; color: var(--ink-muted); }
  .kd__src { margin: 0; font-size: 12.5px; color: var(--ink-muted); line-height: 1.7; }
  @media (max-width: 860px) {
    .kd__head { grid-template-columns: minmax(0, 1fr); }
    .kd { padding: 16px 12px 20px; border-radius: 24px; } .kd__title { font-size: 23px; } .kd__cloud { padding-right: 22px; }
    .kd__wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kd__brick svg { width: 78px; height: 78px; padding: 22px; }
    .kd__big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 620px) {
    .kd__tern { width: 60px; height: 50px; } .kd__bt b { font-size: 16px; }
    .kd__wall--nobig .kd__brick--tell { grid-column: 1 / -1; }          /* 七顆時最後一顆置中，不孤零零靠左 */
    .kd__rows, .kd__big { grid-template-columns: minmax(0, 1fr); }
    .kd__top { flex-direction: column; align-items: stretch; } .kd__go.is-big { width: 100%; }
  }
  @media (prefers-reduced-motion: reduce) { .kd__tern, .kd__brick, .kd__ans.is-open { animation: none; } .kd__brick { transition: none; } }
  .gb { margin: var(--space-4) 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-raised, #fff); display: grid; gap: 12px; }
  .gb__h { margin: 0; font-size: 19px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; } .gb__h span { font-size: 13px; font-weight: 500; color: var(--ink-muted); }
  .gb__bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } .gb__bar .newsfilter { margin: 0; }
  .gb__q { flex: 1 1 200px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong, #bdb6a8); border-radius: 999px; font: inherit; font-size: 15px; background: var(--surface, #fff); color: var(--ink); }
  .gb__routes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .gbr { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; } .gbr.is-off { opacity: .6; } .gbr.is-now { border-color: var(--tide, #0c7078); box-shadow: inset 4px 0 0 var(--tide, #0c7078); }
  .gbr__h { appearance: none; width: 100%; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; padding: 12px 14px; min-height: 44px;
    display: grid; grid-template-columns: auto auto 1fr auto; gap: 4px 12px; align-items: center; }
  .gbr__h b { font-size: 16px; } .gbr__t { font-family: var(--font-mono); font-size: 14px; color: var(--ink-muted); }
  .gbr__k { display: flex; gap: 5px; flex-wrap: wrap; } .gbr__c { font-size: 12.5px; color: var(--tide, #0c7078); white-space: nowrap; }
  .gbr__s { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-muted); } .gbr.is-now .gbr__s { color: var(--ink); font-weight: 700; }
  .gbk { font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; color: var(--ink-muted); background: var(--surface-sunken, #ece7de); text-decoration: line-through; opacity: .7; }
  .gbk.is-on { color: #fff; background: var(--c); text-decoration: none; opacity: 1; }
  .gbr__stops { list-style: none; margin: 0; padding: 4px 14px 12px; display: grid; gap: 2px; border-top: 1px solid var(--line); }
  .gbr__stops li { display: grid; grid-template-columns: 3.4em 1fr auto; gap: 10px; align-items: baseline; padding: 5px 6px; border-radius: 8px; font-size: 14.5px; }
  .gbr__stops b { font-family: var(--font-mono); font-weight: 600; } .gbr__stops .is-past { color: var(--ink-muted); }
  .gbr__stops .is-at { background: #fff4df; color: var(--ink); } .gbr__stops em { font-style: normal; font-size: 12px; font-weight: 800; color: #8a5a00; }
  .gb__note { margin: 0; font-size: 12.5px; color: var(--ink-muted); line-height: 1.7; }
  /* 垃圾車即時位置：一句現況 → 地圖｜車輛卡片與這一趟接下來 → 收起來的說明 */
  .gb__subbar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
  .gb__sub { margin: 0; font-size: 17px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; flex: 1 1 260px; } .gb__sub span { font-size: 12.5px; font-weight: 500; color: var(--ink-muted); }
  .gb__subbar .gb__q { flex: 1 1 240px; max-width: 420px; }
  /* 生活資訊的主題按鈕 */
  .lifehub__nav { display: flex; gap: 8px; margin: var(--space-4) 0 0; padding-bottom: 2px; overflow-x: auto; scrollbar-width: none; } .lifehub__nav::-webkit-scrollbar { display: none; }
  .lifehub__b { flex: none; appearance: none; min-height: 46px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-strong, #bdb6a8); background: var(--surface, #fff); color: var(--ink); font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer; }
  .lifehub__b.is-on { background: var(--ink, #17323a); color: var(--surface, #fff); border-color: transparent; }
  /* 公車 */
  .bus__ask { display: grid; gap: 8px 10px; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) minmax(0, 1.1fr); align-items: end; }
  .bus__ask label { display: grid; gap: 3px; font-size: 13px; font-weight: 700; color: var(--ink-muted); } .bus__ask .gbwk__sel { width: 100%; max-width: none; flex: none; }
  .bus__loc { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13px; color: var(--ink-muted); } .bus__loc .gbme__btn { min-height: 40px; font-size: 14px; padding: 0 14px; }
  .bus__near { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
  .bus__nb { appearance: none; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid #b9d3f7; background: #f2f7ff; color: #14263f; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; } .bus__nb.is-on { background: #2f6fde; border-color: #2f6fde; color: #fff; }
  /* 公車的立體地圖（借用景點地圖的元件，精簡模式） */
  .bus3d { display: grid; gap: 6px; min-width: 0; max-width: 100%; overflow: hidden; grid-template-columns: minmax(0, 1fr); } .bus3d .spot3d { height: 440px; margin-bottom: 0; }
  .gbl__side { min-width: 0; } .busl { grid-template-columns: minmax(0, 1fr); } .busd, .busd button { min-width: 0; max-width: 100%; }
  .bus3d .spot3d__mebtn { top: 12px; } .busstripw { display: grid; gap: 6px; align-content: start; min-width: 0; } .busstripw .busstrip { max-width: none; }
  @media (min-width: 900px) { .gb .gbl__top:has(.busstripw) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
  .bus3d__sw { display: inline-flex; border: 1.5px solid var(--tide, #0c7078); border-radius: 999px; overflow: hidden; margin-right: 6px; }
  .bus3d__sw button { appearance: none; border: 0; background: var(--surface, #fff); color: var(--tide, #0c7078); font: inherit; font-size: 14px; font-weight: 700; min-height: 40px; padding: 0 16px; cursor: pointer; }
  .bus3d__sw button.is-on { background: var(--tide, #0c7078); color: #fff; }
  /* 路線條裡收起來的前段、後段：一列小按鈕 */
  .busstrip li.busstrip__gap button { display: flex; align-items: center; gap: 10px; min-height: 40px; margin: 0 0 0 106px; width: auto; padding: 0; background: none; font-weight: 600; font-size: 13.5px; opacity: .92; }
  .busstrip li.busstrip__gap button::before, .busstrip li.busstrip__gap button::after { content: none !important; }
  .busstrip li.busstrip__gap button:hover { opacity: 1; } .busstrip li.busstrip__gap em { font-style: normal; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
  .busstrip { list-style: none; margin: 0; padding: 12px 12px 12px 0; border-radius: 18px; background: #0c7078; color: #fff; position: relative; display: grid; gap: 0; max-width: 520px; }
  .busstrip.is-sea { background: #2a63b0; }
  /* 直線一站一段、畫在每一列自己身上（使用者 2026-10-09：原本一條從頭畫到尾，壓到「還有 N 站」那一列的字）；收起來的那一段是虛線，字排在線的右邊 */
  .busstrip li { position: relative; }
  .busstrip li:not(.busstrip__h)::before { content: ''; position: absolute; left: 86px; top: 0; bottom: 0; width: 4px; background: rgba(255,255,255,.5); }
  .busstrip li.busstrip__gap::before { background: repeating-linear-gradient(to bottom, rgba(255,255,255,.55) 0 4px, transparent 4px 9px); }
  .busstrip .busstrip__h + li:not(.busstrip__gap)::before { top: 50%; } .busstrip li:last-child:not(.busstrip__gap)::before { bottom: 50%; }
  .busstrip__h { padding: 0 0 8px 16px; font-weight: 900; font-size: 16px; display: grid; } .busstrip__h small { font-weight: 500; font-size: 12px; opacity: .85; }
  .busstrip li button { appearance: none; border: 0; background: none; color: inherit; font: inherit; width: 100%; text-align: left; cursor: pointer; min-height: 34px; padding: 3px 0; display: grid; grid-template-columns: 70px 36px minmax(0, 1fr) auto; align-items: center; position: relative; }
  .busstrip li button:disabled { cursor: default; } .busstrip li b { font-family: var(--font-mono); font-size: 13.5px; font-weight: 600; text-align: right; opacity: .9; }
  .busstrip li span { grid-column: 3; font-weight: 700; font-size: 15px; }
  .busstrip li button::before { content: ''; grid-column: 2; grid-row: 1; justify-self: center; width: 12px; height: 12px; border-radius: 50%; background: #fff; position: relative; z-index: 1; }
  .busstrip li.is-before { opacity: .5; } .busstrip li.is-on button::before { background: #d8262c; box-shadow: 0 0 0 4px #fff; } .busstrip li.is-off button::before { background: #ffd87a; box-shadow: 0 0 0 4px #fff; }
  .busstrip li.is-on span, .busstrip li.is-off span { font-size: 17px; font-weight: 900; } .busstrip em { font-style: normal; font-size: 12px; font-weight: 700; background: #fff; color: #17323a; border-radius: 999px; padding: 1px 9px; }
  .busstrip__bus { grid-column: 3 / -1; grid-row: 2; font-style: normal; font-size: 12px; display: flex; align-items: center; gap: 4px; opacity: .95; } .busstrip__bus img { width: 34px; height: 34px; margin: -8px 0; }
  .bus3d__town { display: inline-flex; gap: 6px; padding-right: 10px; margin-right: 4px; border-right: 1px solid var(--line); }
  .bus__swap { appearance: none; align-self: end; justify-self: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--tide, #0c7078); background: var(--surface, #fff); color: var(--tide, #0c7078); font-size: 20px; font-weight: 700; cursor: pointer; }
  .bus__swap:disabled { opacity: .35; cursor: default; }
  .spot3d__pin.is-major i { width: 15px; height: 15px; border-width: 3.5px; } .spot3d__pin.is-major b { font-size: 13px; font-weight: 900; background: #17262b; padding: 1px 7px; }
  .bus3d__ly { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; color: var(--ink-muted); font-weight: 700; }
  .bus3d__rt { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); } .bus3d__rt i { width: 22px; height: 5px; border-radius: 3px; background: #e8452c; }
  .spot3d__pin.is-stop i { width: 10px; height: 10px; border: 2.5px solid #e8452c; background: #fff; } .spot3d__pin.is-stop b { font-size: 11px; font-weight: 600; padding: 0 5px; background: rgba(23,38,43,.72); }
  .spot3d__pin.is-on i, .spot3d__pin.is-off i { width: 18px; height: 18px; border-width: 3px; } .spot3d__pin.is-on b, .spot3d__pin.is-off b { font-size: 13px; background: var(--c); }
  .spot3d__pin.is-vil { pointer-events: none; } .spot3d__pin.is-vil i { opacity: 0; } .spot3d__pin.is-vil b { background: rgba(255,253,248,.9); color: #17323a; font-size: 12.5px; font-weight: 900; letter-spacing: .08em; border: 1px solid rgba(23,50,58,.25); }
  .spot3d__pin.is-poi i { border-radius: 3px; transform: rotate(45deg); width: 11px; height: 11px; } .spot3d__pin.is-poi b { background: rgba(138,94,10,.88); font-size: 11.5px; }
  .spot3d__pin.is-car { z-index: 6; } .spot3d__pin.is-car i { opacity: 0; } .spot3d__pin.is-car img { position: absolute; left: -28px; top: -30px; width: 56px; height: 56px; max-width: none; filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff) drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
  .spot3d__pin.is-car b { margin-left: 12px; background: #fff; color: #0c5a61; border: 1.5px dashed #0c7078; font-size: 11px; } .spot3d__pin.is-car.is-dim img { opacity: 1; width: 40px; height: 40px; left: -20px; top: -25px; } .spot3d__pin.is-car.is-dim b { display: none; }
  .spot3d__pin.is-sunk img { animation: bussink 1.7s cubic-bezier(.5,0,.9,.5) forwards; } .spot3d__pin.is-sunk b { visibility: hidden; }
  @keyframes bussink { 0% { transform: none; opacity: 1; } 18% { transform: translateY(-22px) rotate(-18deg); } 100% { transform: translateY(170px) rotate(220deg) scale(.45); opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .spot3d__pin.is-sunk img { animation: none; opacity: 0; } }
  .spot3d__pin.is-me i { width: 16px; height: 16px; box-shadow: 0 0 0 5px rgba(47,124,246,.3); } .spot3d__pin.is-me b { background: #2f7cf6; }
  @media (max-width: 720px) { .bus3d .spot3d { height: 360px; } }
  /* 居民補助：分類、重點與申請單位 */
  .wf__bar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; } .wf__town { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-muted); } .wf__town .gbwk__sel { flex: none; width: auto; min-height: 40px; }
  .wf__grp { display: grid; gap: 8px; } .wf__grp > h5 { margin: 10px 0 0; font-size: 17px; display: flex; gap: 8px; align-items: baseline; border-left: 5px solid var(--tide, #0c7078); padding-left: 10px; } .wf__grp > h5 span { font-size: 12.5px; color: var(--ink-muted); font-weight: 500; }
  .wf__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
  .wf__it { border: 1px solid var(--line); border-radius: 16px; background: var(--surface, #fff); padding: 12px 14px; display: grid; gap: 8px; align-content: start; min-width: 0; }
  .wf__it h6 { margin: 0; font-size: 16.5px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
  .wf__scope { font-size: 11.5px; font-weight: 700; padding: 1px 9px; border-radius: 999px; background: #fff3d6; color: #7a5200; border: 1px solid #e3c88a; }
  .wf__it dl { margin: 0; display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 5px 10px; font-size: 14px; line-height: 1.65; } .wf__it dt { color: var(--ink-muted); font-size: 12.5px; font-weight: 700; padding-top: 2px; } .wf__it dd { margin: 0; }
  .wf__amt { font-weight: 700; color: #0c5a61; } .wf__unit { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
  .wf__unit b { background: #e3f3f1; border-radius: 8px; padding: 1px 8px; } .wf__unit span { font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); }
  .colstrip { border: 1px solid #e3c88a; background: #fff9ea; color: #2b2619; border-radius: 16px; padding: 12px 14px; margin-top: 16px; display: grid; gap: 10px; }
  .colstrip__h { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; } .colstrip__h b { font-size: 17px; } .colstrip__h span { font-size: 12.5px; color: #6b5a33; } .colstrip__h a { margin-left: auto; font-weight: 700; font-size: 13.5px; }
  /* 藍眼淚頁第二版：三個分頁＋今晚的結論卡 */
  /* 藍眼淚回報表單第二版：兩步、按鈕選、定位自動判斷 */
  .btq { display: grid; gap: 10px; } .btq__n { margin: 6px 0 0; font-weight: 900; font-size: 16px; display: flex; align-items: center; gap: 8px; } .btq__n i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: #2ef0ff; color: #06202e; display: grid; place-items: center; font-size: 14px; }
  .btq__loc { margin: 0; font-size: 13px; color: #a9d6e6; }
  .btq__here { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; align-items: center; border: 1.5px solid #2ef0ff; background: #0f3a4d; border-radius: 14px; padding: 10px 12px; }
  .btq__here b { font-size: 18px; } .btq__here span { grid-column: 1; font-size: 13px; color: #a9d6e6; } .btq__here button { grid-row: 1 / span 2; grid-column: 2; }
  .btq button { appearance: none; font: inherit; cursor: pointer; }
  .btq__here button, .btq__chips button, .btq__more { min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid #2c5566; background: none; color: #cfeefb; font-size: 13.5px; font-weight: 700; }
  .btq__chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .btq__chips small { color: #a9d6e6; }
  .btq__pick { display: grid; gap: 8px; } .btq__geo { min-height: 46px; border-radius: 12px; border: 0; background: #2f6fde; color: #fff; font-weight: 700; font-size: 15px; }
  .btq__isl { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; } .btq__isl button { min-height: 44px; border-radius: 10px; border: 1.5px solid #2c5566; background: #0f3142; color: #e9fbff; font-weight: 700; font-size: 14px; } .btq__isl button.is-on { background: #2ef0ff; border-color: #2ef0ff; color: #06202e; }
  .btq__spots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } .btq__spots button { min-height: 48px; border-radius: 12px; border: 1.5px solid #2c5566; background: #0f3142; color: #e9fbff; font-weight: 700; font-size: 15px; padding: 4px 8px; } .btq__spots button.is-on { border-color: #2ef0ff; box-shadow: inset 0 0 0 1.5px #2ef0ff; }
  .btq__lvs .bt__lv { min-height: 76px; display: grid; justify-items: center; align-content: center; gap: 6px; font-size: 15px; } .btq__lvs .bt__lv .btdot { width: 18px; height: 18px; }
  .btq__hint { margin: 0; font-size: 12.5px; color: #a9d6e6; } .btq__more { justify-self: start; border-style: dashed; }
  /* 首頁兩張班次卡左右對稱：上面各一條同高的列（左邊是標示、右邊是航線分頁），卡片等高 */
  .homesea { height: 100%; display: flex !important; flex-direction: column; gap: 8px; } .homesea > :last-child { flex: 1 1 auto; box-sizing: border-box; }
  .depall { font-size: 13.5px; color: var(--ink-muted); margin-bottom: var(--space-4); } .depall__h { margin: 0; font-weight: 700; } .depall summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; font-weight: 700; } .depall ul { margin: 4px 0 8px; padding-left: 1.2em; display: grid; gap: 4px; } .depall a { color: inherit; }
  .homesea > .depseg, .depbar { min-height: 52px; box-sizing: border-box; margin: 0; }
  .depbar { display: flex; align-items: center; padding: 0 16px; border-radius: 14px; background: var(--surface-sunken, #ece7de); font-weight: 700; font-size: 15px; color: var(--ink-muted); } .depbar.is-tmr { background: #fff3d6; color: #5a3d00; }
  .depseg__l { display: inline-flex; align-items: center; gap: 6px; } .depseg__n { font-style: normal; min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box; border-radius: 10px; background: #c98a12; color: #fff; font-size: 12px; font-weight: 900; line-height: 20px; text-align: center; font-family: var(--font-mono); } .depseg__n.is-stop { background: #c9382f; } .depseg .depseg__n, .depseg .depseg__n.is-stop { color: #fff !important; } .depseg .depseg__n.is-stop { background: #b42318 !important; } .depseg .depseg__n:not(.is-stop) { background: #9a6212 !important; }   /* 2026-10-21：數字跟底色太近（別處的 .is-stop 字色規則把數字也染紅），一律白字、底色加深 */
  .deptag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; background: #fff3d6; color: #5a3d00; border: 1px solid #e3c88a; font-size: 13.5px; font-weight: 700; white-space: nowrap; margin-right: auto; }
  .homesea .dy-dep__head { gap: 6px 10px; } .homesea .dy-dep__head .deptag { margin-right: auto; }
  .homesea .dy-dep__head .booklinks { flex: none; display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; }
  /* 手機：第一行是標題＋「明天」標籤，訂票連結另起一行、排成一列不折行；航線分頁藏掉前面的島名，四個剛好一排，放不下就折行（不再橫向捲動被切掉） */
  @media (max-width: 820px) {
    .homesea .dy-dep__head .booklinks { flex: 1 1 100%; justify-content: flex-start; gap: 14px; font-size: 14px; } .homesea .dy-dep__head .booklinks .booklink { white-space: nowrap; }
    .depseg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(max-content, 1fr); gap: 2px; overflow-x: auto; } .depseg button { min-width: 0; padding: 9px 4px; white-space: nowrap; font-size: 13.5px; } .depseg__l { gap: 4px; justify-content: center; } .depseg__here { display: none; }
  }
  .homesea .dy-dep__head { flex-wrap: wrap; row-gap: 6px; } .homesea .dy-dep__title { white-space: nowrap; flex: none; }
  .depbar.is-sp { visibility: hidden; } @media (max-width: 820px) { .depbar.is-sp { display: none; } }
  .shiplist__trip { font-size: 14px; margin: 2px 0; } .shiplist__trip b { color: var(--tide, #0c7078); font-size: 15.5px; }
  .dy-card.is-srci .dy-dep__foot { display: none; } .dy-card.is-srci .dy-dep__head { gap: 6px 10px; flex-wrap: wrap; } .dy-card.is-srci .dy-dep__head .srci { margin-left: auto; } .dy-card.is-srci .dy-dep__head .booklinks + .srci { margin-left: 0; }   /* 電腦：連結靠右、緊接在出處的左邊（兩個都自動留白的話連結會跑到中間） */
  /* 班次卡的出處（使用者 2026-10-07：點開的小視窗看不清楚；出處放到連結那一行的最右邊）。
     原本小視窗往上、往左開：按鈕在卡片左邊時整個跑出畫面，又被卡片的圓角裁掉，只剩一小角。
     改成以標題列為準、往下開、左右各留 16px，內容一定在卡片裡面。 */
  .dy-card.is-srci .dy-dep__head { position: relative; }
  .dy-card.is-srci .dy-dep__head .srci { position: static; flex: none; }
  .dy-card.is-srci .dy-dep__head .srci__pop { left: 16px; right: 16px; top: calc(100% - 4px); bottom: auto; width: auto; padding: 12px 14px; font-size: 14.5px; line-height: 1.6; color: var(--ink); }
  .dy-card.is-srci .dy-dep__head .srci__pop::after { top: auto; bottom: 100%; height: 18px; }
  .dy-card.is-srci .dy-dep__head .srci__pop b { font-size: 12.5px; letter-spacing: .06em; }
  .dy-card.is-srci .dy-dep__head .srci__pop ul { list-style: none; padding-left: 0; }
  .dy-card.is-srci .dy-dep__head .srci__pop a { color: var(--tide); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
  /* 電腦：標題、三個連結、出處要排在同一行，「出處 1」的字放不下會自己掉到下一行，所以只留圖示 */
  @media (min-width: 821px) { .dy-card.is-srci .dy-dep__head .srci__b { padding: 2px 8px; } .dy-card.is-srci .dy-dep__head .srci__b span { display: none; } .dy-card.is-srci .dy-dep__head .booklinks { margin-left: auto; } .dy-card.is-srci .dy-dep__head .srci__pop { left: auto; width: min(420px, calc(100% - 32px)); box-sizing: border-box; } }
  @media (max-width: 820px) {
    /* 連結那一行留 90px 給出處：連結放不下就自己折行，出處固定在這一行最右邊 */
    .dy-card.is-srci .dy-dep__head .booklinks { flex: 1 1 calc(100% - 90px); min-width: 0; flex-wrap: wrap; gap: 4px 14px; }
    .dy-card.is-srci .dy-dep__head .booklinks + .srci { margin-left: auto; align-self: flex-start; }
  }
  .depnote { font-weight: 500 !important; line-height: 1.6; }
  .depalert { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
  /* 黃框裡放兩段：看板現況＋要準備的證件，中間一條細線 */
  .depnote--box { display: grid; gap: 8px; } .depnote--box p { margin: 0; } .depnote--box p + p { padding-top: 8px; border-top: 1px solid #ecd9a8; }
  /* 左右還捲得動的按鈕列：那一邊貼一顆小箭頭（data-more 由 portal.js 的 moreMark 設） */
  /* 第二版（使用者：白色圓鈕很醜）：不要圓鈕，改成邊緣淡出＋一個細細的箭頭，顏色跟那一條的底色融在一起 */
  [data-more]::before, [data-more]::after { content: ''; position: sticky; z-index: 3; flex: none; align-self: stretch; display: none; width: 40px; min-height: 28px; pointer-events: none;
    --more-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='16' viewBox='0 0 10 16' fill='none' stroke='%2355636a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l6 6-6 6'/%3E%3C/svg%3E"); }
  [data-more*="r"]::after { display: inline-block; right: 0; margin-left: -40px;
    background: var(--more-arrow) no-repeat right 6px center, linear-gradient(to right, transparent, var(--more-bg, var(--surface, #f5f1ea)) 62%); }
  [data-more*="l"]::before { display: inline-block; left: 0; margin-right: -40px; transform: scaleX(-1);
    background: var(--more-arrow) no-repeat right 6px center, linear-gradient(to right, transparent, var(--more-bg, var(--surface, #f5f1ea)) 62%); }
  .mergeseg, .depseg { --more-bg: var(--surface-sunken, #ece7de); }
  .depnote b { margin-right: 8px; } .depnote a { margin-left: 8px; color: inherit; font-weight: 700; white-space: nowrap; text-underline-offset: 3px; }
  .depalert a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 44px; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--line); border-left: 5px solid #8d99a6; background: var(--surface, #fff); color: inherit; text-decoration: none; font-size: 14px; }
  .depalert b { font-size: 12.5px; padding: 1px 9px; border-radius: 999px; background: #eceff1; white-space: nowrap; } .depalert span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; } .depalert em { font-style: normal; font-size: 12.5px; color: var(--tide, #0c7078); font-weight: 700; white-space: nowrap; }
  .depalert .is-stop a { border-left-color: #c9382f; background: #fdf0ee; } .depalert .is-stop b { background: #c9382f; color: #fff; } .depalert .is-go a { border-left-color: #1c7a3d; } .depalert .is-go b { background: #dff3e3; color: #1c6a34; }
  .depnote { margin: 0; padding: 8px 12px; border-radius: 10px; background: #fff3d6; color: #5a3d00; font-weight: 700; font-size: 14px; } .homesea { min-width: 0; display: grid; gap: 8px; align-content: start; }
  .btv__tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 2px solid var(--line); margin-bottom: 14px; }
  .btv__tabs button { appearance: none; border: 0; background: none; font: inherit; font-size: 16px; font-weight: 700; color: var(--ink-muted); min-height: 48px; cursor: pointer; }
  .btv__tabs button.is-on { color: var(--tide, #0c7078); box-shadow: inset 0 -3px 0 var(--tide, #0c7078); }
  .btv__h { margin: 18px 0 8px; font-size: 18px; color: #d6f6ff; }
  .btv:not(.is-tab-tonight) > .btv__h, .btv:not(.is-tab-tonight) > .bt__zones, .btv:not(.is-tab-tonight) > .bt__map, .btv:not(.is-tab-tonight) > .bt__legend, .btv:not(.is-tab-tonight) > .bt__pick, .btv:not(.is-tab-tonight) > .bt__msg { display: none; }
  /* 這一塊是夜色底、字是淺色；裡面的白底卡片要把字色設回深色，不然淺字在白底上看不見 */
  .btv__card, .btv .dcard, .btv .dcard h3, .btv .dcard h4, .btv__card h4, .btv__lv span { color: #17262b; } .btv .dcard__sub, .btv .dcard p { color: #4d5b60; }
  .btv__tabs button { color: #9fc3d4; } .btv__tabs button.is-on { color: #5fe0ff; box-shadow: inset 0 -3px 0 #5fe0ff; } .btv__tabs { border-color: #24506f; }
  .btv .dlead { color: #d6f6ff; }
  .btf__low { margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; background: #fff3d6; color: #5a3d00; font-weight: 700; font-size: 14px; }
  /* 「為什麼」分頁：所有卡片用同一套三欄（窄一點兩欄、手機一欄），同一排等高 */
  .btv__pane .dgrid, .btv__pane .btfind { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; align-items: stretch; }
  .btv__pane .dgrid > .dcard, .btv__pane .btfind > .dcard { margin: 0; height: 100%; box-sizing: border-box; }
  @media (max-width: 1000px) { .btv__pane .dgrid, .btv__pane .btfind { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 640px) { .btv__pane .dgrid, .btv__pane .btfind { grid-template-columns: minmax(0, 1fr); } }
  /* 「今晚」上半：左右兩欄等高，右邊兩張卡把高度分完 */
  .btv__top { align-items: stretch !important; } .btv__verdict { align-content: space-between; } .btv__side { grid-template-rows: auto 1fr; } .btv__side .btv__card:last-child { align-content: space-between; }
  .btv__pane { display: grid; gap: 14px; min-width: 0; }
  .btv__top { display: grid; gap: 12px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
  .btv__verdict { border-radius: 18px; padding: 14px 16px; background: #dff3fb; border: 1px solid #a9dcf2; color: #0b2c3b; display: grid; gap: 8px; }
  .btv__verdict.is-go { background: #dff3e3; border-color: #a5d6b1; } .btv__verdict.is-off, .btv__verdict.is-wait { background: #ece7de; border-color: #d8d1c2; }
  .btv__when { margin: 0; font-size: 13px; font-weight: 700; opacity: .75; }
  .btv__num { display: flex; gap: 14px; align-items: center; } .btv__num > b { font-size: 56px; font-weight: 900; line-height: 1; font-family: var(--font-mono); color: #0b6d94; } .btv__verdict.is-go .btv__num > b { color: #1c6a34; }
  .btv__num span { font-size: 13.5px; line-height: 1.5; } .btv__num em { display: block; font-style: normal; font-size: 20px; font-weight: 900; }
  .btv__why { margin: 0; font-size: 13px; } .btv__why button { appearance: none; border: 0; background: none; color: #0b6d94; font: inherit; font-weight: 700; cursor: pointer; padding: 6px 0; }
  .btv__isl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; text-align: center; } .btv__isl div { background: rgba(255,255,255,.7); border-radius: 10px; padding: 5px 2px; } .btv__isl small { display: block; font-size: 12px; font-weight: 700; } .btv__isl b { font-family: var(--font-mono); font-size: 17px; }
  .btv__fine { margin: 0; font-size: 12px; opacity: .8; }
  .btv__side { display: grid; gap: 12px; min-width: 0; } .btv__card { border: 1px solid var(--line); border-radius: 16px; background: var(--surface, #fff); padding: 12px 14px; display: grid; gap: 8px; } .btv__card h4 { margin: 0; font-size: 16px; }
  .btv__card dl { margin: 0; display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 6px 10px; font-size: 14px; } .btv__card dt { color: var(--ink-muted); font-weight: 700; font-size: 13px; } .btv__card dd { margin: 0; }
  .btv__lv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; } .btv__lv span { border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 2px; text-align: center; font-size: 12px; font-weight: 700; display: grid; justify-items: center; gap: 2px; opacity: .6; } .btv__lv span.is-on { opacity: 1; border-color: var(--tide, #0c7078); } .btv__lv b { font-family: var(--font-mono); font-size: 16px; }
  .btyear { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; align-items: end; text-align: center; } .btyear > div { display: grid; gap: 3px; justify-items: center; } .btyear b { font-family: var(--font-mono); font-size: 14px; }
  .btyear i { display: flex; align-items: flex-end; width: 100%; max-width: 46px; height: 110px; background: var(--surface-sunken, #ece7de); border-radius: 8px; overflow: hidden; } .btyear u { display: block; width: 100%; background: #39b6e6; border-radius: 8px 8px 0 0; }
  .btyear span { font-weight: 700; font-size: 13px; } .btyear small { font-size: 10.5px; color: var(--ink-muted); } .btyear .is-now span { background: var(--tide, #0c7078); color: #fff; border-radius: 999px; padding: 0 8px; }
  @media (max-width: 760px) { .btv__top { grid-template-columns: minmax(0, 1fr); } .btv__num > b { font-size: 46px; } .btyear small { display: none; } }
  .bus__when { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .bus__sug { border: 1px solid #e3c88a; background: #fff9ea; color: #2b2619; border-radius: 16px; padding: 12px 14px; }
  .bus__sugh { margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 16px; } .bus__sugh span { font-size: 12.5px; color: #6b5a33; }
  .bus__sug ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
  .bus__sug li button { appearance: none; width: 100%; min-height: 72px; border: 1px solid #ead9ae; border-radius: 12px; background: #fff; color: inherit; font: inherit; text-align: left; cursor: pointer; padding: 6px 10px 6px 6px;
    display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 10px; align-items: center; }
  .bus__sug li img, .bus__sugph { grid-row: 1 / span 3; width: 64px; height: 60px; border-radius: 8px; object-fit: cover; } .bus__sugph { display: grid; place-items: center; background: #ead9ae; font-weight: 800; font-size: 20px; }
  .bus__sug li b { font-size: 15.5px; } .bus__sug li span { font-size: 12px; color: #6b5a33; } .bus__sug li em { font-style: normal; font-size: 12.5px; color: #0c5a61; font-weight: 700; }
  .bus__spot { display: grid; gap: 10px; } .bus__spot img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 12px; } .bus__spot h3 { margin: 0; } .bus__spot p { margin: 0; line-height: 1.75; }
  .bus__spothow { background: #e3f3f1; border-radius: 10px; padding: 8px 12px; font-size: 14.5px; }
  .bus__hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; align-items: center; border: 1px solid var(--tide, #0c7078); border-radius: 16px; padding: 10px 16px 10px 8px;
    background: linear-gradient(90deg, rgba(12,112,120,.1), rgba(12,112,120,0) 70%), var(--surface, #fff); }
  .bus__hero img { width: 96px; height: 96px; object-fit: contain; } .bus__herot p { margin: 0; font-size: 14px; } .bus__herot p b { font-family: var(--font-mono); font-size: 17px; }
  .bus__hero .gbcount { font-size: 30px; } .bus__heron { font-size: 12.5px !important; color: var(--ink-muted); }
  .bus__pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13.5px; font-weight: 700; color: var(--ink-muted); flex: 1 1 320px; } .bus__pick .gbwk__sel { flex: 1 1 240px; max-width: 420px; }
  .busl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
  .busd button { appearance: none; width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface, #fff); color: inherit; font: inherit; text-align: left; cursor: pointer; padding: 6px 12px;
    display: flex; align-items: baseline; gap: 6px 12px; }
  .busd button > b { flex: none; font-family: var(--font-mono); font-size: 17px; white-space: nowrap; }
  .busd__to { flex: 1 1 auto; min-width: 0; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .busd__arr { flex: none; font-family: var(--font-mono); font-size: 13.5px; color: var(--tide, #0c7078); font-weight: 700; white-space: nowrap; }
  .busd em { flex: none; font-style: normal; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--surface-sunken, #ece7de); white-space: nowrap; } .busd em.is-live { background: #17a673; color: #fff; }
  .bus__hero { cursor: pointer; } .bus__hero.is-open { box-shadow: inset 5px 0 0 var(--tide, #0c7078); }
  .busd.is-open button { border-color: var(--tide, #0c7078); box-shadow: inset 4px 0 0 var(--tide, #0c7078); } .busd.is-past { opacity: .6; } .busd.is-onway button { background: #fff8e6; color: #23302f; }
  .bus__detail { display: grid; gap: 8px; align-content: start; min-width: 0; } .busmap { height: 300px; }
  .bus__dh { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 15px; } .bus__dh span { font-size: 12.5px; color: var(--ink-muted); }
  .bus__seq { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0 12px; font-size: 13.5px; }
  .bus__seq li { padding: 4px 6px; border-bottom: 1px dashed var(--line); display: flex; gap: 8px; align-items: baseline; } .bus__seq li b { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-muted); font-weight: 600; }
  .bus__seq li.is-dest { background: #e3f3f1; font-weight: 700; border-radius: 6px; } .busd .bus__detail { margin: 8px 0 4px; } .busd .busmap { height: 240px; }
  .bus__seq li.is-me { background: #fde1dc; color: #5a1408; font-weight: 700; border-radius: 6px; } .bus__seq li.is-before { color: var(--ink-muted); } .bus__seq em { font-style: normal; font-size: 11.5px; margin-left: 4px; color: var(--tide, #0c7078); }
  @media (min-width: 900px) { .gb .gbl__top:has(.bus__detail) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .busmap { height: 340px; flex: none !important; } }
  /* 瓦斯：經營的公司、一年賺多少（2026-10-15） */
  .gsco__card { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--surface, #fff); display: grid; gap: 8px; }
  .gsco__hd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; } .gsco__hd b { font-size: 17px; }
  .gsco__st { font-size: 12px; font-weight: 700; color: #166534; background: #dcfce7; border-radius: 99px; padding: 1px 9px; }
  .gsco__dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 16px; margin: 0; }
  .gsco__dl div { display: grid; gap: 1px; min-width: 0; } .gsco__dl dt { font-size: 12px; color: var(--ink-muted); } .gsco__dl dd { margin: 0; font-size: 14.5px; overflow-wrap: anywhere; }
  .gspf__intro { font-size: 14px; margin: 0 0 10px; color: var(--ink-muted); }
  .gspf__out { border: 2px solid var(--tide, #0c7078); border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px; background: var(--surface, #fff); }
  .gspf__big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; } .gspf__big span, .gspf__big small { font-size: 13px; color: var(--ink-muted); }
  .gspf__big b { font-size: 32px; font-variant-numeric: tabular-nums; } .gspf__big b.is-neg { color: #b91c1c; }
  .gspf__bar { display: flex; height: 16px; border-radius: 99px; overflow: hidden; background: #cbd5e1; }
  .gspf__bar i, .gspf__key i { display: block; } .gspf__key i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; margin-right: 4px; vertical-align: -1px; }
  .gspf .is-staff { background: #f59e0b; } .gspf .is-other { background: #a78bfa; } .gspf .is-net { background: #0c7078; } .gspf__key .is-gross { background: #cbd5e1; }
  .gspf__key { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; margin: 0; font-variant-numeric: tabular-nums; }
  .gspf__range { font-size: 13.5px; margin: 0; }
  .gspf__in { display: grid; gap: 10px; margin-top: 12px; }
  .gspf__row { display: grid; gap: 3px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
  .gspf__lab { font-size: 14.5px; font-weight: 700; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
  .gspf__lab em { font-style: normal; font-size: 11.5px; font-weight: 700; border-radius: 99px; padding: 1px 8px; } .gspf__lab em.is-src { background: #dcfce7; color: #166534; } .gspf__lab em.is-guess { background: #fef3c7; color: #92400e; }
  .gspf__ctl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; } .gspf__ctl input { width: 100%; min-height: 32px; } .gspf__ctl b { min-width: 92px; text-align: right; font-variant-numeric: tabular-nums; }
  .gspf__row small { font-size: 12.5px; color: var(--ink-muted); }
  .gspf__reset { justify-self: start; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-raised); font: inherit; padding: 0 14px; cursor: pointer; color: var(--ink); }
  /* 貨輪（2026-10-15） */
  .gb.cg { grid-template-columns: minmax(0, 1fr); }
  .cg > .plain { padding: 0; border: 0; background: none; box-shadow: none; margin-bottom: 0 !important; }
  .cg > .gb { margin: 0; }
  /* 貨輪頁（2026-10-16 排版改版：業者、碼頭、寄送都改 CmpTable，見「共用元件」） */
  .cg__lead { margin: 0 0 4px; font-size: 14.5px; line-height: 1.7; color: var(--ink-muted); }
  .cg__pl { display: block; } .cg__pl b { margin-right: 4px; }
  .cg__src { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 8px 0 0 !important; font-size: 12.5px; color: var(--ink-muted); } .cg__src .srci { margin-left: auto; }
  .cg__fare { margin-top: 4px; } .cg__fareh { margin: 0; font-size: 13px; font-weight: 700; color: var(--ink-muted); }
  .sup__k { display: inline-block; font-size: 12.5px; font-weight: 700; color: #fff; padding: 1px 8px; border-radius: 6px; background: #7a5a2e; white-space: nowrap; } .sup__k.is-pax { background: #2a7fb8; }
  .supu { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--surface, #fff); }
  .supu__h { margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 14.5px; } .supu__h span { font-size: 12.5px; color: var(--ink-muted); }
  .supu__bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; max-width: 420px; align-items: end; }
  .supu__b { display: grid; justify-items: center; gap: 2px; font-size: 12.5px; } .supu__b i { width: 70%; border-radius: 6px 6px 0 0; background: #c9bfae; } .supu__b.is-top i { background: #7a5a2e; }
  .supu__b b { font-family: var(--font-mono); } .supu__b span { color: var(--ink-muted); }
  /* 郵局、提款機、加油站 */
  .svcl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); align-items: start; }
  .svc { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--surface, #fff); display: grid; gap: 4px; } .svc p { margin: 0; }
  .svc__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 16px; } .svc__h em { font-style: normal; font-size: 12px; font-weight: 700; padding: 1px 9px; border-radius: 999px; }
  .svc__h em.is-open { background: #17a673; color: #fff; } .svc__h em.is-closed { background: var(--surface-sunken, #ece7de); color: var(--ink-muted); } .svc__h em.is-fuel { background: #fdebb3; color: #5a4300; }
  .svc__r { font-size: 14.5px; font-family: var(--font-mono); } .svc__r span { display: inline-block; width: 3em; font-family: var(--font-sans); font-size: 12.5px; font-weight: 700; color: var(--ink-muted); }
  .svc__n { font-size: 13px; color: #8a5a00; line-height: 1.6; } .svc__a { font-size: 13px; color: var(--ink-muted); } .svc__a a, .atm a { color: var(--tide, #0c7078); font-weight: 700; }
  .atml { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); align-items: start; }
  .atm { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; background: var(--surface, #fff); } .atm__h { margin: 0 0 4px; display: flex; align-items: baseline; gap: 8px; font-size: 15.5px; } .atm__h span { font-size: 12.5px; color: var(--ink-muted); }
  .atm ul { list-style: none; margin: 0; padding: 0; } .atm li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 14px; }
  .atm li span { grid-column: 1; font-size: 12.5px; color: var(--ink-muted); } .atm li a { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 13px; }
  /* 看診時間 */
  .cln { display: grid; gap: 12px; }
  .cln__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
  .cln__day { appearance: none; min-height: 62px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface, #fff); color: inherit; font: inherit; cursor: pointer; display: grid; gap: 0; justify-items: center; padding: 6px 2px; }
  .cln__day b { font-size: 13.5px; } .cln__day span { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-muted); } .cln__day em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--tide, #0c7078); }
  .cln__day.is-off em { color: var(--ink-muted); font-weight: 500; } .cln__day.is-today { border-color: var(--tide, #0c7078); }
  .cln__day.is-on { background: var(--tide, #0c7078); color: #fff; border-color: transparent; } .cln__day.is-on span, .cln__day.is-on em { color: #fff; }
  .cln__slots { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: start; }
  .cln__slot { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface, #fff); }
  .cln__slot h5 { margin: 0; padding: 8px 14px; font-size: 14.5px; color: #fff; display: flex; align-items: baseline; gap: 8px; background: #d18a12; } .cln__slot--pm h5 { background: #2a7fb8; } .cln__slot--night h5 { background: #4c4a8f; }
  .cln__slot h5 span { font-size: 12px; font-weight: 500; opacity: .9; }
  .cln__docs { list-style: none; margin: 0; padding: 4px 14px 8px; } .cln__docs li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 15px; } .cln__docs li:last-child { border-bottom: 0; }
  .cln__docs b { font-size: 15.5px; } .cln__docs span { color: var(--ink-muted); } .cln__docs em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 0 7px; border-radius: 999px; background: var(--surface-sunken, #ece7de); }
  .cln__duty { margin: 0; font-size: 14px; } .cln__duty b { margin-right: 8px; font-size: 12.5px; padding: 1px 8px; border-radius: 999px; background: #f6d9d4; color: #8a1f12; }
  .cln__notes { margin: 4px 0; padding-left: 1.2em; } .cln__notes li { margin: 4px 0; overflow-wrap: anywhere; } .cln__warn { color: #a3470b; font-weight: 700; }
  .cln__addr { margin: 0; font-size: 15px; } .cln__addr a { color: var(--tide, #0c7078); font-weight: 700; }
  .cln__links { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  /* 縣立醫院即時看診進度（2026-10-31） */
  .clv { margin: 4px 0 12px; padding: 14px 16px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface, #fff); }
  .clv--wait { padding: 8px 16px; }
  .clv__h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--tide, #0c7078); }
  .clv__h b { font-size: 16px; color: var(--ink); }
  .clv__at { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 12px; color: var(--ink-muted); }
  .clv__dot { width: 8px; height: 8px; border-radius: 50%; background: #186b43; box-shadow: 0 0 0 3px rgba(24,107,67,.15); }
  .clv__dot.is-stale { background: #b7791f; box-shadow: 0 0 0 3px rgba(183,121,31,.15); }
  .clv__grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin-top: 12px; }
  .clv__c { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; background: var(--surface-sunken, #eef2f1); border: 1px solid transparent; }
  .clv__c.is-now { border-color: var(--tide, #0c7078); background: rgba(12,112,120,.06); }
  .clv__c.is-idle { opacity: .75; }
  .clv__dept { display: flex; align-items: baseline; gap: 8px; font-weight: 700; font-size: 16px; }
  .clv__dept em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--ink-muted); }
  .clv__num { display: flex; align-items: baseline; gap: 4px; min-height: 40px; }
  .clv__num b { font: 700 34px/1 "IBM Plex Mono", monospace; color: var(--tide, #0c7078); }
  .clv__num small { font-size: 12px; color: var(--ink-muted); }
  .clv__num span { font-size: 15px; color: var(--ink-muted); align-self: center; }
  .clv__who { font-size: 13px; color: var(--ink-muted); }
  .clv__note { margin: 10px 0 0; font-size: 12px; color: var(--ink-muted); }
  @media (max-width: 560px) { .clv { padding: 12px; } .clv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .clv__c { padding: 10px; gap: 4px; } .clv__num { min-height: 30px; } .clv__num b { font-size: 28px; } .clv__at { margin-left: 0; } }
  .cln__lic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: rgba(12,112,120,.1); color: var(--tide, #0c7078); }
  .cln__ltx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .cln__link { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 8px 16px; border-radius: 14px; border: 1px solid var(--tide, #0c7078); color: var(--tide, #0c7078); font-weight: 700; font-size: 15px; text-decoration: none; background: var(--surface, #fff); }
  .cln__link:hover { background: rgba(12,112,120,.08); }
  /* 停水停電（2026-10-16 排版改版） */
  .outr__w b { font-size: 15px; } .outr__t { font-family: var(--font-mono); font-weight: 700; white-space: nowrap; } .outr__t.is-raw { font-family: inherit; font-weight: 500; font-size: 13px; }
  .outr__w small { margin-left: 6px; font-size: 12px; color: var(--ink-muted); } .outr__w small.is-cancel { color: var(--stop); font-weight: 700; }
  .outr__k { display: inline-block; font-size: 12.5px; font-weight: 800; color: #fff; padding: 2px 10px; border-radius: 8px; background: #d88b2c; } .outr__k--water { background: #4f8fc4; }
  .outr__go { color: var(--tide); font-weight: 700; white-space: nowrap; }
  .outr__d p { margin: 0 0 4px; font-size: 13.5px; line-height: 1.7; }
  .outr.is-old { opacity: .85; }
  .outr__tel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-sunken); }
  .outr__tel b { font-size: 14px; } .outr__tel small { flex-basis: 100%; font-size: 12.5px; color: var(--ink-muted); }
  /* 郵局、提款機、加油站（2026-10-16 排版改版） */
  .svc2 .gb__sub .srci { margin-left: auto; }
  .svc__st { font-style: normal; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; margin-left: 6px; white-space: nowrap; }
  .svc__st.is-open { background: var(--go-tint, #e3f3e8); color: var(--go, #2f7d5b); } .svc__st.is-closed { background: var(--surface-sunken); color: var(--ink-muted); }
  .svc__two { display: grid; gap: 2px; } .svc__two em { font-style: normal; font-size: 11.5px; color: var(--ink-muted); margin-right: 6px; }
  .svc__d { display: grid; gap: 8px; } .svc__d .gbwk__t { max-width: 520px; }
  .svc__map { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 10px; border: 1px solid var(--tide, #0c7078); border-radius: 99px; color: var(--tide); font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap; }
  .svc__map:hover { background: rgba(12,112,120,.08); }
  .dlsvc-cnt b.is-on { color: #186b43; } .dlsvc-cnt li > b { font-size: 15px !important; min-width: 2.6em; }
  .svc__muted { color: var(--ink-muted); font-size: 13px; }
  .svc__sn { margin: 0 0 6px; font-size: 13px; color: var(--ink-muted); }
  .svc__atmw { overflow-x: auto; }
  .svc__atm { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 12px; }
  .svc__atm th, .svc__atm td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
  .svc__atm thead th { font-size: 12px; color: var(--ink-muted); background: var(--surface-sunken); }
  .svc__atm .svc__vil { font-weight: 700; white-space: nowrap; background: var(--surface-raised); }
  .svc__atm td small { display: block; font-size: 12px; color: var(--ink-muted); }
  .svc__atm td:last-child, .svc__atm th:last-child { white-space: nowrap; width: 1%; }
  @media (max-width: 560px) { .svc__atm { font-size: 13px; } .svc__atm th, .svc__atm td { padding: 6px 6px; } .svc__atm thead th:nth-child(3), .svc__atm td:nth-child(3) { } }
  .cln__link { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; } .cln__link small { font-size: 12px; font-weight: 500; color: var(--ink-muted); }
  .cln__wk th, .cln__wk td { text-align: center; } .cln__wk td { font-family: inherit; } .cln__wk td.is-open { font-weight: 700; color: var(--tide, #0c7078); } .cln__wk .is-today { background: rgba(12,112,120,.08); }
  @media (max-width: 560px) { .cln__day { min-height: 58px; } .cln__day b { font-size: 12px; } }
  /* 停水停電 */
  .outl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); align-items: start; }
  .outc { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--surface, #fff); }
  .outc__k { align-self: start; font-size: 14px; font-weight: 800; color: #fff; padding: 6px 10px; border-radius: 10px; background: #2a7fb8; white-space: nowrap; } .outc--power .outc__k { background: #c77a0a; }
  .outc--water { border-left: 5px solid #2a7fb8; } .outc--power { border-left: 5px solid #c77a0a; }
  .outc.is-old { opacity: .78; } .outc.is-cancel .outc__when b, .outc.is-cancel .outc__when strong { text-decoration: line-through; }
  .outc__m { display: grid; gap: 5px; min-width: 0; } .outc__m p { margin: 0; }
  .outc__when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 16px; } .outc__when strong { font-family: var(--font-mono); font-size: 16.5px; }
  .outc__when span { font-size: 13px; color: var(--ink-muted); } .outc__when em { font-style: normal; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #fff0cf; color: #7a5200; }
  .outc__when em.is-cancel { background: #f6d9d4; color: #8a1f12; } .outc__when em.is-soft { background: var(--surface-sunken, #ece7de); color: var(--ink-muted); }
  .outc__where { display: flex; flex-wrap: wrap; gap: 5px; } .outc__v { font-size: 13px; font-weight: 700; padding: 1px 9px; border-radius: 999px; background: var(--surface-sunken, #ece7de); }
  .outc__a { font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; } .outc__s { font-size: 12px; color: var(--ink-muted); } .outc__s a { color: var(--tide, #0c7078); font-weight: 700; }
  /* 便民公告 */
  .ntcl { list-style: none; margin: 0; padding: 0; display: grid; }
  .ntc { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--line); align-items: start; }
  .ntc__d { font-family: var(--font-mono); font-size: 14px; color: var(--ink-muted); padding-top: 2px; }
  .ntc__m { min-width: 0; display: grid; gap: 4px; } .ntc__t { font-size: 15.5px; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.55; overflow-wrap: anywhere; } .ntc__t:hover { text-decoration: underline; text-underline-offset: 3px; }
  .ntc__s { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12.5px; color: var(--ink-muted); }
  .ntc__c { font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--surface-sunken, #ece7de); color: var(--ink); }
  .ntc__c--traffic { background: #f6dfc4; } .ntc__c--health { background: #d9f0e6; } .ntc__c--subsidy { background: #e3e0f7; } .ntc__c--event { background: #fdebb3; } .ntc__c--jobs { background: #d8e8f7; }
  .ntc__s em { font-style: normal; font-weight: 700; color: #0c5a61; } .ntc__s em.is-soon { color: #b4480a; } .ntc__s em.is-past { color: var(--ink-muted); font-weight: 500; }
  /* 新住戶指南 */
  .ncg__sec h5 { margin: 6px 0 8px; font-size: 15px; }
  .ncg__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); align-items: start; }
  .ncg__it { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--surface, #fff); display: grid; gap: 6px; }
  .ncg__it.is-conflict { border-color: #d9a441; } .ncg__it h6 { margin: 0; font-size: 15.5px; line-height: 1.5; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
  .ncg__tag { font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #fff0cf; color: #7a5200; white-space: nowrap; } .is-dated .ncg__tag { background: var(--surface-sunken, #ece7de); color: var(--ink-muted); }
  .ncg__it p { margin: 0; font-size: 14.5px; line-height: 1.75; overflow-wrap: anywhere; }
  .ncg__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12px; color: var(--ink-muted); }
  .ncg__gaps { margin: 4px 0; padding-left: 1.2em; } .ncg__gaps li { margin: 3px 0; }
  /* 2026-10-16 排版改版：戶政比較表、設籍年限時間軸、圖示清單、補助比較表 */
  .ncg__sec { display: grid; gap: 14px; }
  .ncg__blk { display: grid; gap: 8px; }
  .ncg__bh { margin: 4px 0 0; font-size: 16px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
  .ncg__bh > span:not(.srci) { font-size: 12.5px; font-weight: 500; color: var(--ink-muted); }
  .ncg__on { display: block; font-size: 12px; color: var(--ink-muted); font-weight: 500; }
  .ncg__wt { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
  .ncg__d { display: grid; gap: 8px; }
  .ncg__asof { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-muted); }
  .ncg__icl .icl__t .ncg__tag { margin-left: 6px; vertical-align: 1px; }
  .ncg__tier { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: t; }
  .ncg__tier > li { position: relative; padding: 26px 10px 10px; border-top: 4px solid var(--tide); background: var(--surface, #fff); border-right: 1px solid var(--line); }
  .ncg__tier > li:last-child { border-right: 0; }
  .ncg__tier > li::before { content: ''; position: absolute; left: 10px; top: -10px; width: 16px; height: 16px; border-radius: 50%; background: var(--tide); border: 3px solid var(--surface, #fff); }
  .ncg__tier > li > b { display: block; font-size: 15px; color: var(--tide); margin-bottom: 6px; }
  .ncg__tier ul { margin: 0; padding-left: 1.1em; font-size: 13.5px; line-height: 1.6; }
  @media (max-width: 760px) {
    .ncg__tier { grid-template-columns: minmax(0, 1fr); border-left: 4px solid var(--tide); margin-left: 8px; }
    .ncg__tier > li { border-top: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 12px 10px 18px; }
    .ncg__tier > li::before { left: -12px; top: 12px; }
  }
  .gbl { display: grid; gap: 10px; }
  /* 垃圾車的快速回報 */
  .gbrep__open { justify-self: start; appearance: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong, #bdb6a8); background: var(--surface, #fff); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
  .gbrep { border: 1px solid var(--line-strong, #bdb6a8); border-radius: 14px; padding: 12px 14px; display: grid; gap: 10px; background: var(--surface, #fff); }
  .gbrep__h { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 15.5px; } .gbrep__h span { font-size: 12.5px; color: var(--ink-muted); }
  .gbrep__opts { display: flex; flex-wrap: wrap; gap: 8px; }
  .gbrep__o { appearance: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong, #bdb6a8); background: none; color: inherit; font: inherit; font-size: 14px; cursor: pointer; }
  .gbrep__o.is-on { background: var(--tide, #0c7078); border-color: var(--tide, #0c7078); color: #fff; font-weight: 700; }
  .gbrep__f { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ink-muted); }
  .gbrep__f input, .gbrep__f textarea { min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-strong, #bdb6a8); background: var(--surface, #fff); color: var(--ink); font: inherit; font-size: 15px; font-weight: 400; box-sizing: border-box; width: 100%; }
  .gbrep__st { margin: 0; font-size: 14px; font-weight: 700; color: #a3470b; } .gbrep__st a { color: var(--tide, #0c7078); }
  .gbrep__act { display: flex; gap: 8px; }
  .gbrep__send { appearance: none; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--tide, #0c7078); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
  .gbrep__x { appearance: none; min-height: 44px; padding: 0 14px; border: 0; background: none; color: var(--ink-muted); font: inherit; font-size: 14px; cursor: pointer; }
  .gbwatch { margin: 8px 0; padding: 10px 12px; border: 1px dashed var(--line-strong, #bdb6a8); border-radius: 12px; } .gbwatch table { max-width: 520px; margin: 6px 0; }
  /* 鄉按鈕上的定位狀況 */
  .gbtag { margin-left: 6px; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 999px; white-space: nowrap; }
  .gbtag--off { background: rgba(120,120,120,.18); color: inherit; opacity: .85; } .gbtag--on { background: #17a673; color: #fff; }
  /* 住哪個村、一週怎麼收 */
  .gbwk { display: grid; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
  .gbwk__bar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
  .gbwk__sel { flex: 0 1 300px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-strong, #bdb6a8); background: var(--surface, #fff); color: var(--ink); font: inherit; font-size: 15px; }
  .gbwk__body { display: grid; gap: 10px; }
  .gbwk__t { width: 100%; border-collapse: collapse; font-size: 14.5px; } .gbwk__t caption { text-align: left; font-weight: 700; font-size: 15.5px; padding-bottom: 6px; }
  .gbwk__t th, .gbwk__t td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
  .gbwk__t thead th { font-size: 12.5px; color: var(--ink-muted); font-weight: 700; } .gbwk__t tbody th { white-space: nowrap; font-weight: 700; width: 6.5em; }
  .gbwk__t tbody th small { margin-left: 6px; font-size: 11px; background: var(--tide, #0c7078); color: #fff; padding: 1px 6px; border-radius: 999px; }
  .gbwk__t td { font-family: var(--font-mono); } .gbwk__t td.is-none { font-family: inherit; color: var(--ink-muted); }
  .gbwk__bar .gb__q { flex: 1 1 220px; max-width: 340px; } .gbwk__sel { flex: 0 1 240px; }
  .gbwk__t caption span { margin-left: 10px; font-size: 12.5px; font-weight: 500; color: var(--ink-muted); }
  .gbwk__t td .gbsp { display: inline-flex; align-items: center; gap: 6px; margin: 2px 8px 2px 0; padding: 2px 10px 2px 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface, #fff); font-family: var(--font-mono); font-size: 14px; white-space: nowrap; }
  .gbsp i { white-space: nowrap; font-style: normal; font-family: var(--font-sans); font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; color: #fff; }
  .gbsp--am i { background: #d18a12; } .gbsp--pm i { background: #2a7fb8; } .gbsp--ev i { background: #4c4a8f; }
  .gbwk__t tbody th button { appearance: none; border: 0; background: none; padding: 4px 0; min-height: 36px; font: inherit; font-weight: 700; color: var(--tide, #0c7078); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
  .gbwk__t tr.is-sel { box-shadow: inset 4px 0 0 var(--tide, #0c7078); } .gbwk__t tr.is-sel th button { color: var(--ink); text-decoration: none; }
  .gbday { border: 1px solid var(--tide, #0c7078); border-radius: 14px; padding: 12px 14px; display: grid; gap: 10px; }
  .gbday__h { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: 16.5px; } .gbday__h span { font-size: 12.5px; color: var(--ink-muted); }
  .gbday__sec { display: grid; gap: 6px; } .gbday__sec + .gbday__sec { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
  .gbday__sec h5 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 6px; } .gbday__sec h5 img { width: 40px; height: 40px; object-fit: contain; margin: -6px 0; }
  .gbday__sec h5 span { font-size: 12.5px; font-weight: 500; color: var(--ink-muted); }
  .gbday__g { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; } .gbday__g.is-live { border-color: var(--tide, #0c7078); } .gbday__g.is-done { opacity: .75; }
  .gbday__p { appearance: none; width: 100%; min-height: 46px; border: 0; background: var(--surface, #fff); color: inherit; font: inherit; text-align: left; cursor: pointer; padding: 8px 12px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 14px; }
  .gbday__p i { font-style: normal; font-size: 12px; font-weight: 700; padding: 1px 9px; border-radius: 999px; color: #fff; } .gbday__p i.gbsp--am { background: #d18a12; } .gbday__p i.gbsp--pm { background: #2a7fb8; } .gbday__p i.gbsp--ev { background: #4c4a8f; }
  .gbday__p b { font-family: var(--font-mono); font-size: 15.5px; } .gbday__p span { color: var(--ink-muted); font-size: 13px; }
  .gbday__p em { font-style: normal; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--surface-sunken, #ece7de); }
  .gbday__g.is-live .gbday__p em { background: #0c7078; color: #fff; }
  .gbday__p u { margin-left: auto; text-decoration: none; font-size: 12.5px; font-weight: 700; color: var(--tide, #0c7078); white-space: nowrap; }
  .gbday__g ol { list-style: none; margin: 0; padding: 4px 8px 8px; border-top: 1px solid var(--line); display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
  .gbday__g li > button, .gbday__g li > div { appearance: none; width: 100%; min-height: 38px; border: 0; border-bottom: 1px dashed var(--line); background: none; color: inherit; font: inherit; text-align: left;
    display: grid; grid-template-columns: 3.4em minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 6px 6px; font-size: 14.5px; box-sizing: border-box; }
  .gbday__g li > button { cursor: pointer; } .gbday__g li > button:hover { background: rgba(12,112,120,.07); } .gbday__g li b { font-family: var(--font-mono); font-size: 15px; }
  .gbday__g li small { margin-left: 8px; font-size: 11.5px; color: var(--ink-muted); white-space: nowrap; }
  .gbday__g li em { font-style: normal; font-size: 12.5px; font-weight: 700; white-space: nowrap; color: var(--ink-muted); }
  .gbday__g li.is-past { color: var(--ink-muted); } .gbday__g li.is-past b { text-decoration: line-through; }
  .gbday__g li.is-live > button, .gbday__g li.is-live > div { background: rgba(12,112,120,.1); } .gbday__g li.is-live em { color: var(--tide, #0c7078); }
  .gbwkm { display: none; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
  .gbwkm__d { appearance: none; min-height: 74px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface, #fff); color: inherit; font: inherit; cursor: pointer; padding: 6px 0 4px; display: grid; gap: 4px; justify-items: center; align-content: start; }
  .gbwkm__d b { font-size: 15px; } .gbwkm__d em { font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--tide, #0c7078); min-height: 14px; } .gbwkm__d.is-off { opacity: .55; } .gbwkm__d.is-off em { color: var(--ink-muted); }
  .gbwkm__d.is-today { border-color: var(--tide, #0c7078); } .gbwkm__d.is-on { background: #e3f3f1; border-color: var(--tide, #0c7078); box-shadow: inset 0 -4px 0 var(--tide, #0c7078); }
  .gbwkm__r { display: flex; gap: 3px; } .gbwkm__r i, .gbwkm__lg i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #c9c2b4; box-sizing: border-box; }
  .gbwkm i.is-am, .gbwkm__lg i.is-am { background: #d18a12; border-color: #d18a12; } .gbwkm i.is-pm, .gbwkm__lg i.is-pm { background: #2a7fb8; border-color: #2a7fb8; } .gbwkm i.is-ev, .gbwkm__lg i.is-ev { background: #4c4a8f; border-color: #4c4a8f; }
  .gbwkm__lg { display: none; align-items: center; gap: 4px; margin: 0; font-size: 11.5px; color: var(--ink-muted); } .gbwkm__lg i { margin-left: 8px; } .gbwkm__lg i:first-child { margin-left: 0; }
  .gbwk__t tr.is-today { background: rgba(12,112,120,.08); }
  .gbwk__stops summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; color: var(--tide, #0c7078); font-weight: 700; font-size: 14px; }
  .gbwk__stops ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }
  .gbwk__stops li { display: grid; grid-template-columns: 3.3em minmax(0, 1fr) auto; gap: 2px 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
  .gbwk__stops b { font-family: var(--font-mono); } .gbwk__stops em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 0 7px; border-radius: 999px; background: #f4e3a3; color: #5a4300; }
  .gbwk__stops em.is-rc { background: #d9f0e6; color: #0b5c3d; }
  .gbwk__dots { grid-column: 2 / -1; display: flex; gap: 3px; } .gbwk__dots i { font-style: normal; font-size: 11px; width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-muted); opacity: .45; border: 1px solid var(--line); }
  .gbwk__dots i.is-on { opacity: 1; background: var(--tide, #0c7078); color: #fff; border-color: transparent; font-weight: 700; }
  @media (max-width: 560px) { .gbwk__sel { flex: 1 1 100%; } .gbwk__t th, .gbwk__t td { padding: 7px 6px; } .gbwk__t { font-size: 13.5px; } .gbwk__stops ol { grid-template-columns: 1fr; }
    /* 手機：一週總覽換成一排七顆按鈕（.gbwkm），表格不顯示 */
    .gbwk > .gbwk__body > .gbwk__t { display: none; } .gbwkm { display: grid !important; } .gbwkm__lg { display: flex !important; }
    .bus__hero img { width: 76px; height: 76px; } .bus__hero .gbcount { font-size: 24px; }
    /* 公車的三個問題在手機上排緊一點：上車、要去哪並排，時間一行 */
    .bus__ask { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 6px 6px; } .bus__ask label:nth-of-type(3) { grid-column: 1 / -1; } .bus__swap { width: 40px; height: 40px; } .bus__ask .gbwk__sel { min-height: 42px; padding: 0 8px; font-size: 14.5px; }
    .bus__loc .gbme__btn { min-height: 38px; } }
  /* 離我最近的一趟（定位） */
  .gbme { border: 1px solid #b9d3f7; background: #f2f7ff; color: #14263f; border-radius: 14px; padding: 12px 14px; display: grid; gap: 10px; }
  .gbme--ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; } .gbme--ask > span { font-size: 13px; line-height: 1.6; flex: 1 1 240px; color: #3d5270; }
  .gbme__btn { appearance: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: #2f6fde; color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
  .gbme i { flex: none; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #2f7cf6; box-shadow: 0 0 0 3px #fff, 0 0 0 4px #2f7cf6; margin-right: 4px; } .gbme__btn i { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
  .gbme__h { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 15.5px; } .gbme__h b { margin-right: auto; display: inline-flex; align-items: center; gap: 6px; }
  .gbme__x { appearance: none; min-height: 36px; padding: 0 10px; border: 0; background: none; color: #2f6fde; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
  .gbme__l { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .gbmec { background: #fff; border: 1px solid #d5e3f8; border-radius: 12px; padding: 10px 14px 10px 8px; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 1px 8px; align-items: center; }
  .gbmec.is-live { border-color: #0c7078; }
  .gbmec__m { grid-row: 1 / span 4; align-self: start; appearance: none; border: 0; background: none; padding: 0; cursor: pointer; width: 72px; min-height: 72px; display: grid; justify-items: center; font: inherit; color: #2f6fde; }
  .gbmec__m img { width: 72px; height: 62px; object-fit: contain; display: block; } .gbmec__m small { font-size: 11.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
  .gbmec__m:hover img { transform: translateY(-2px); } .gbmec > :not(.gbmec__m) { grid-column: 2; }
  .gbmec__msg { font-size: 13px; font-weight: 700; color: #0c5a61; background: #e3f3f1; border-radius: 8px; padding: 4px 8px; justify-self: start; }
  .gbpop .leaflet-popup-content { margin: 8px 12px; font-size: 13px; line-height: 1.6; } .gbpop .leaflet-popup-content-wrapper { border-radius: 10px; }
  .gbcar { cursor: pointer; } .gbcar__m { pointer-events: auto !important; }
  .gbmec__k { font-size: 13px; font-weight: 700; color: #3d5270; }
  .gbcount { font-size: 26px; line-height: 1.25; font-weight: 800; font-variant-numeric: tabular-nums; color: #14263f; } .gbcount small { font-size: 13px; font-weight: 700; margin-right: 6px; color: #3d5270; }
  .gbcount.is-soon, .gbcount.is-due { color: #b4480a; }
  .gbmec__w { font-size: 14.5px; } .gbmec__d { font-size: 12px; color: #5b6f8c; }
  .gbmec .gbmec__all { grid-column: 1 / -1; list-style: none; margin: 8px 0 0; padding: 8px 6px 0; border-top: 1px dashed #c9dbf5; display: grid; gap: 2px; }
  .gbmec__all li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 4px 6px; border-radius: 8px; font-size: 14px; }
  .gbmec__all .gbmec__allh { display: block; padding: 0 6px 2px; font-size: 12.5px; font-weight: 700; color: #3d5270; }
  .gbmec__all li:not(.gbmec__allh) { display: block; padding: 0; }
  .gbmec__all li button { appearance: none; width: 100%; min-height: 36px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 8px;
    display: grid; grid-template-columns: 3.4em minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 6px; }
  .gbmec__all li button:hover, .gbwk__go:hover, button.gbmec__w:hover { text-decoration: underline; text-underline-offset: 3px; }
  button.gbmec__w, .gbwk__go { appearance: none; border: 0; background: none; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
  button.gbmec__w { font-size: 14.5px; min-height: 28px; } .gbwk__go { font-size: 14px; }
  .leaflet-tooltip.gbnext--focus { background: #fff; border-color: #e0452b; color: #5a1408; } .leaflet-tooltip.gbnext--focus::before { border-top-color: #e0452b; }
  .gbmec__all b { font-family: var(--font-mono); font-weight: 700; } .gbmec__all em { font-style: normal; font-size: 12px; color: #5b6f8c; white-space: nowrap; }
  .gbmec__all .is-next { background: #e6f0ff; font-weight: 700; } .gbmec__all .is-past { color: #8794a8; } .gbmec__all .is-past b { text-decoration: line-through; }
  .leaflet-tooltip.gbnext--me { background: #fff; border-color: #0c7078; color: #123; } .leaflet-tooltip.gbnext--me::before { border-top-color: #0c7078; }
  .gbl__h { margin: 0; font-size: 15.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
  .gbl__h i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #a9b1b3; } .gbl__h i.is-on { background: #17a673; box-shadow: 0 0 0 4px rgba(23,166,115,.18); }
  .gbl__top { display: grid; gap: 10px; align-items: start; }
  .gbl__side { display: grid; gap: 8px; align-content: start; min-width: 0; }
  .gbl__empty { margin: 0; padding: 14px; border: 1px dashed var(--line-strong, #bdb6a8); border-radius: 12px; font-size: 14px; line-height: 1.7; color: var(--ink-muted); }
  .gbl__top.is-nomap { grid-template-columns: 1fr; }
  .gbl__open { display: block; margin-top: 10px; appearance: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--tide, #0c7078); background: none; color: var(--tide, #0c7078); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
  .gbl__why { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-strong, #bdb6a8); } .gbl__why b { color: var(--ink); }
  .leaflet-container { isolation: isolate; }   /* 地圖套件的控制鈕 z-index 800～1000，不包起來會蓋住手機底部選單（底部選單 499） */
  .gbmapw { position: relative; min-width: 0; isolation: isolate; }   /* 2026-10-17 使用者截圖：地圖上的按鈕（z-index 500）捲到底部時蓋住手機底部選單；獨立圖層，裡面的層級不外漏 */
  .gbmap { height: 300px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; }
  .gbmap__fs { position: absolute; left: 54px; top: 10px; z-index: 500; appearance: none; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(0,0,0,.18);
    background: #fff; color: #17323a; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
  .gbmap__fs::before { content: ''; position: absolute; inset: -4px; }
  .gbmapw.is-full { position: fixed; inset: 0; z-index: 3000; background: var(--surface, #fff); display: flex !important; }
  .gbmapw.is-full .gbmap { flex: 1; height: 100% !important; min-height: 0; border-radius: 0; border: 0; }
  .gbmapw.is-full .gbmap__fs { left: auto; right: 12px; top: max(12px, env(safe-area-inset-top)); min-height: 44px; font-size: 15px; background: #17323a; color: #fff; }
  .gbmapw.is-full .gbmap__tg { right: 12px; top: calc(max(12px, env(safe-area-inset-top)) + 54px); }
  .busmapw { position: relative; min-width: 0; } .busmapw .busmap { width: 100%; }
  .gbcar.is-ghost .gbcar__m { opacity: 1; }
  .gbcar.is-ghost .gbcar__b { background: #fff; color: #4a565a; border: 1.5px dashed #8a959a; box-shadow: none; font-weight: 600; opacity: .9; } .gbcar.is-ghost.is-mine .gbcar__b { color: #0c5a61; border-color: #0c7078; }
  .gbmap__tg { position: absolute; right: 10px; top: 10px; z-index: 500; appearance: none; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(0,0,0,.18);
    background: #fff; color: #17323a; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
  .gbmap__tg[aria-pressed="true"] { background: #0c7078; color: #fff; border-color: #0c7078; }
  .gbmap__tg::before { content: ''; position: absolute; inset: -4px; }
  .gbcar { overflow: visible; }
  .gbmap { --m: 32px; }
  .gbcar__m { position: absolute; left: calc(var(--m) / -2); top: calc(var(--m) * -.56); width: var(--m); height: var(--m); max-width: none; pointer-events: none; }
  /* 車子要從地圖上跳出來（使用者 2026-10-06：顏色太融入背景；先試白色圓底，使用者說太大 → 只在車的輪廓外描一圈白邊加陰影）。停放的不褪色，靠標籤的灰色區分 */
  .gbcar__m { filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff) drop-shadow(0 2px 3px rgba(0,0,0,.55)); }
  .gbcar__b { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); white-space: nowrap; padding: 2px 9px; border-radius: 999px; background: #6f7a7d; color: #fff;
    font-size: 12px; font-weight: 700; line-height: 1.4; box-shadow: 0 1px 4px rgba(0,0,0,.35); border: 2px solid #fff; }
  .gbcar.has-m .gbcar__b { top: calc(var(--m) * .36 + 5px); font-size: 11px; padding: 1px 7px; }
  .gbcar.is-live .gbcar__b { background: #0c7078; } .gbcar.is-pick .gbcar__b { outline: 3px solid #f2b21b; outline-offset: 1px; }
  .leaflet-tooltip.gbnext { background: #fff7e6; border: 1px solid #e08a00; color: #5a3a00; font-weight: 700; font-size: 12px; padding: 2px 7px; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
  .leaflet-tooltip.gbnext::before { border-top-color: #e08a00; }
  .gbl__cars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .gblc { appearance: none; width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface, #fff); color: inherit; font: inherit; text-align: left; cursor: pointer;
    padding: 10px 14px 10px 8px; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 8px; align-items: center; }
  .gblc.is-live { border-color: var(--tide, #0c7078); background: linear-gradient(90deg, rgba(12,112,120,.09), rgba(12,112,120,0) 60%), var(--surface, #fff); }
  .gblc.is-pick { outline: 3px solid #f2b21b; outline-offset: 1px; }
  .gblc__m { grid-row: 1 / span 3; width: 64px; height: 64px; object-fit: contain; } .gblc__m.is-idle { filter: saturate(.6); }
  .gblc__m--none { border-radius: 12px; background: var(--surface-sunken, #ece7de); width: 44px; height: 44px; justify-self: center; } .gblc__m--svg { justify-self: center; }
  .gblc__t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; } .gblc__t b { font-size: 16px; }
  .gblc__s { font-size: 12.5px; font-weight: 700; color: var(--ink-muted); } .gblc.is-live .gblc__s { color: var(--tide, #0c7078); }
  .gblc__n { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 14px; }
  .gblc__n small { font-size: 12px; font-weight: 700; color: #8a5a00; background: #fff4df; padding: 0 7px; border-radius: 999px; }
  .gblc__n strong { font-size: 17px; } .gblc__n em { font-style: normal; font-weight: 700; color: var(--tide, #0c7078); }
  .gblc__w { font-size: 14.5px; } .gblc__r { font-size: 12px; color: var(--ink-muted); }
  .gbrun { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; background: var(--surface, #fff); }
  .gbrun__h { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 14.5px; } .gbrun__h span { font-size: 12.5px; color: var(--ink-muted); }
  .gbrun__l { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 232px; overflow: auto; }
  .gbrun__l li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 0 10px; align-items: baseline; padding: 5px 0; border-top: 1px dashed var(--line); font-size: 14.5px; } .gbrun__l li:first-child { border-top: 0; }
  .gbrun__l b { font-family: var(--font-mono); font-weight: 700; grid-row: 1 / span 2; align-self: center; font-size: 15.5px; } .gbrun__l em { font-style: normal; font-size: 12.5px; color: var(--ink-muted); }
  .gb__more { font-size: 12.5px; color: var(--ink-muted); line-height: 1.7; } .gb__more .cmpt { font-size: 14px; color: var(--ink); line-height: 1.5; } .gb__more > summary { cursor: pointer; min-height: 32px; display: inline-flex; align-items: center; color: var(--tide, #0c7078); font-weight: 700; }
  .gb__more p { margin: 4px 0; }
  /* 電腦版：地圖跟右邊那一欄等高（使用者 2026-10-06：左右不對稱） */
  @media (min-width: 900px) { .gbl__top:not(.is-nomap) { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); align-items: stretch; }
    .gbl__top:not(.is-nomap) .gbmapw { display: flex; } .gbl__top:not(.is-nomap) .gbmap { flex: 1; height: auto; min-height: 340px; }
    .gb__routes { grid-template-columns: 1fr 1fr; align-items: start; } .gbr.is-open { grid-column: 1 / -1; } }
  @media (max-width: 560px) { .gbr__h { grid-template-columns: 1fr auto; } .gbr__k { grid-column: 1 / -1; } }
  /* 大類的彩色徽章：沒選中的手機底部選單稍微淡一點，選中的那個完整顯色 */
  .navbadge { flex: none; display: block; }
  .botnav__b .navbadge { opacity: 1; }
  /* 行內排：用 inline-flex 會以圖的底邊當基線，班號比同一列其他欄高出幾個像素 */
  .depair { white-space: nowrap; }
  /* 票價：電腦在最右一欄，手機那一欄不顯示、改寫在航線下面 */
  .dy-dep__faretag { display: block; font-family: var(--font-sans); font-size: 11.5px; line-height: 15px; font-weight: 700; color: var(--ink-muted); }
  /* 全額票價與其他票種的小視窗 */
  .farecell { position: relative; display: inline-block; }
  .farecell__b { appearance: none; border: 0; background: none; padding: 4px 0 4px 6px; margin: -4px 0; font: inherit; color: inherit; cursor: pointer; text-align: right; border-radius: 8px; white-space: nowrap; }
  .farecell__b b { font-weight: 600; } .farecell__b i { display: block; font-style: normal; font-family: var(--font-sans); font-size: 11.5px; line-height: 15px; font-weight: 700; color: var(--ink-muted); }
  .farecell__more { margin-left: 4px; font-size: 11px; color: var(--tide); }
  .farecell__b:hover b, .farecell__b[aria-expanded="true"] b { color: var(--tide); text-decoration: underline dotted; text-underline-offset: 3px; }
  .farecell__b:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .farecell--in .farecell__b { padding: 6px 0; margin: -6px 0; text-align: left; font-size: inherit; } .farecell--in .farecell__b i { display: inline; font-size: inherit; font-weight: 400; }
  .farecell--in .farecell__more { margin-left: 8px; font-size: 12px; font-weight: 700; }
  /* 手機班次表的票價擠在航線欄：整串不換行時「其他票種」被右邊的狀態膠囊蓋住（2026-10-16 排版檢視）。可換行、連結自己不拆開 */
  .farecell--in { max-width: 100%; } .farecell--in .farecell__b { white-space: normal; } .farecell--in .farecell__more { display: inline-block; white-space: nowrap; }
  .farepop { position: fixed; z-index: var(--z-dialog, 80); display: grid; gap: 2px; padding: 10px 12px 10px; background: var(--surface-raised, #fff); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px;
             box-shadow: var(--shadow-lift, 0 10px 28px rgba(0,0,0,.2)); font-family: var(--font-sans); font-size: 14px; line-height: 1.4; text-align: left; white-space: normal; cursor: default; }
  .farepop__h { display: flex; align-items: baseline; gap: 8px; font-weight: 800; padding-bottom: 6px; margin-bottom: 2px; border-bottom: 1px solid var(--line); } .farepop__h small { margin-left: auto; font-weight: 500; font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
  .farepop__r { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 32px; }
  .farepop__i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--surface-tint, #e6f2f2); color: var(--tide); }
  .farepop__v > small { margin-top: 1px; } .farepop__r.is-sub .farepop__i { background: #f1ede5; color: var(--ink-muted); } .farepop { max-height: calc(100vh - 90px); overflow-y: auto; }
  .farepop__n { font-weight: 700; } .farepop__n small { display: block; font-weight: 400; font-size: 11.5px; line-height: 14px; color: var(--ink-muted); }
  .farepop__v { font-family: var(--font-mono); font-weight: 600; white-space: nowrap; text-align: right; } .farepop__v small { font-family: var(--font-sans); font-weight: 400; font-size: 11.5px; color: var(--ink-muted); white-space: normal; display: block; max-width: 130px; }
  .farepop__r.is-full .farepop__v { color: var(--tide); }
  .farepop__t { display: grid; grid-template-columns: minmax(0, 1fr) 54px 54px 48px; gap: 6px; align-items: center; min-height: 34px; padding: 2px 0; border-bottom: 1px dashed var(--line); }
  .farepop__t.is-h { min-height: 0; padding: 0 0 4px; font-size: 11.5px; font-weight: 700; color: var(--ink-muted); border-bottom: 0; } .farepop__t.is-h span + span { text-align: right; }
  .farepop__t.is-one { grid-template-columns: minmax(0, 1fr) auto; } .farepop__t .farepop__v:nth-child(2) { color: var(--tide); }
  .farepop__f { margin-top: 4px; padding-top: 6px; border-top: 1px solid var(--line); font-size: 11.5px; line-height: 1.6; color: var(--ink-muted); } .farepop__f a { margin-left: 6px; color: var(--tide); white-space: nowrap; }
  .dy-dep__farem { display: none; } @media (max-width: 720px) { .dy-dep__farem { display: block; } }
  .farenote span { margin-left: 4px; } .farenote { margin: 8px 2px 0; font-size: 13px; line-height: 1.7; } .farenote a { margin-left: 6px; color: var(--tide); white-space: nowrap; }
  /* 灰色的狀態標籤（明天・表定、已到…）底色跟班次表的灰底列一樣，在那幾列看不出圓角框（使用者 2026-10-07）：加一圈細邊線，灰底列上改白底 */
  .dy-dep__table .dy-status--info { box-shadow: inset 0 0 0 1px var(--line-strong, #cfc8ba); }
  .dy-dep__table .dy-dep__row:nth-child(even) .dy-status--info { background: var(--surface-raised, #fff); }
  .depseg .airlogo { width: 18px; height: 18px; object-fit: contain; border-radius: 4px; margin: 0; }
  /* 卡片標題列右邊那一組：訂票連結＋出處，永遠在同一行 */
  .dy-card.is-srci .dy-dep__head .dephead__r { display: flex; align-items: center; gap: 6px 10px; margin-left: auto; min-width: 0; }
  .dy-card.is-srci .dy-dep__head .dephead__r .booklinks { flex: 0 1 auto; margin-left: 0; min-width: 0; }
  .dy-card.is-srci .dy-dep__head .dephead__r .srci { margin-left: 0; flex: none; align-self: center; }
  @media (max-width: 820px) {
    .dy-card.is-srci .dy-dep__head .dephead__r { flex: 1 1 100%; justify-content: space-between; align-items: flex-start; }
    .dy-card.is-srci .dy-dep__head .dephead__r .booklinks { flex: 1 1 auto; flex-wrap: wrap; gap: 4px 14px; }
    .dy-card.is-srci .dy-dep__head .dephead__r .srci:only-child { margin-left: auto; }
  }
  .duopick { display: flex; gap: 10px; flex-wrap: wrap; }
  /* 航線：另一頭的地名包成有顏色的小標籤 */
  .rt { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 3px 6px; } .rt__ar { color: var(--ink-muted); font-weight: 500; }
  .rt__home { font-weight: 600; color: var(--ink-muted); }
  .rt__p { padding: 1px 9px; border-radius: 8px; font-weight: 800; background: #e9edf0; color: #26343b; box-shadow: inset 3px 0 0 #8d99a6; }
  .rt__p--a { background: #dfeaf8; color: #123f73; box-shadow: inset 3px 0 0 #2f6fb5; } .rt__p--b { background: #fdebc8; color: #6b3d00; box-shadow: inset 3px 0 0 #d98a1c; }
  .rt__p--c { background: #f6e0ec; color: #6d1f47; box-shadow: inset 3px 0 0 #b8457e; } .rt__p--d { background: #e3e4f7; color: #2c2f7a; box-shadow: inset 3px 0 0 #5b5fc7; }
  .rt__p--e { background: #dbf1ee; color: #0b4f49; box-shadow: inset 3px 0 0 #1a9488; } .rt__p--f { background: #e2f0dc; color: #2a5218; box-shadow: inset 3px 0 0 #5a9a3a; }
  .rt__p--g { background: #ebe3f7; color: #45247a; box-shadow: inset 3px 0 0 #7b4fc0; } .rt__p--h { background: #e6efd2; color: #3f4f12; box-shadow: inset 3px 0 0 #86a02a; }
  .rt__p--i { background: #f3e9d8; color: #5a4215; box-shadow: inset 3px 0 0 #b08a3c; } .rt__p--j { background: #fbe2dc; color: #7a2a16; box-shadow: inset 3px 0 0 #c2553a; }
  /* 班次時間前面的航空公司標誌 */
  .dy-dep__ic { display: inline-block; margin-right: 7px; vertical-align: -5px; } .dy-dep__ic .airlogo { display: block; width: 24px; height: 24px; object-fit: contain; border-radius: 6px; margin: 0; }
  .dy-dep--lead .dy-dep__row--next .dy-dep__ic { vertical-align: -3px; }
  /* 交通頁的情境橫幅：班機＝天空與雲、船班＝海面與浪；裡面是班機｜船班開關與下一班 */
  .goscene { position: relative; overflow: hidden; border-radius: 18px; padding: 14px 16px 40px; margin: 0 0 14px; color: #fff; display: grid; gap: 10px; }
  .goscene--air { background: linear-gradient(180deg, #3f8fc9, #8cc4ea); } .goscene--sea { background: linear-gradient(180deg, #11838d, #0a5a62); }
  .goscene__sw { justify-self: start; display: inline-grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.28); position: relative; }
  /* 選中的白色底是一塊會滑過去的墊片，不是各顆按鈕自己的底（使用者 2026-10-09：切換時要有滑動感） */
  .goscene__sw::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 5px); border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: transform .28s cubic-bezier(.3,.9,.3,1); }
  .goscene__sw.is-b::before { transform: translateX(calc(100% + 2px)); }
  @media (prefers-reduced-motion: reduce) { .goscene__sw::before { transition: none; } }
  .goscene__sw button { appearance: none; border: 0; background: none; color: #fff; font: inherit; font-weight: 800; font-size: 16px; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
                        display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; }
  .goscene__sw button em { font-style: normal; font-weight: 600; font-size: 13px; opacity: .85; }
  .goscene__sw button { position: relative; transition: color .2s; } .goscene__sw button.is-on { color: #10303b; }
  .goscene__sw button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
  .goscene__nx { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-size: 14.5px; text-shadow: 0 1px 2px rgba(0,0,0,.18); }
  .goscene__nx b { font-family: var(--font-mono); font-size: 34px; line-height: 38px; font-weight: 700; display: inline-flex; align-items: center; }
  .goscene__ic { display: inline-flex; margin-right: 8px; padding: 3px; border-radius: 8px; background: #fff; } .goscene__ic .airlogo { display: block; width: 24px; height: 24px; object-fit: contain; margin: 0; }
  .goscene__art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34px; pointer-events: none; }
  .goscene--air .goscene__art path { fill: #fff; opacity: .88; } .goscene--sea .goscene__art .w1 { fill: #fff; opacity: .22; } .goscene--sea .goscene__art .w2 { fill: #fff; opacity: .34; }
  @media (max-width: 720px) { .goscene__sw { justify-self: stretch; } .goscene__sw button { padding: 0 8px; } }
  /* 子分頁列左右有留白，箭頭要貼到最邊上，不然右邊會露出一小塊後面的按鈕 */
  .subnav .shell[data-more]::after { right: -16px; } .subnav .shell[data-more]::before { left: -16px; }
  .depair .airlogo { height: 18px; width: 18px; object-fit: contain; margin: 0 6px 0 0; vertical-align: -4px; }
  .airlogo { width: auto; height: 20px; border-radius: 4px; vertical-align: -4px; margin-right: 6px; }
  .planetip__h { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
  .planetip__h img { border-radius: 4px; }
  /* 地圖圖例：線條樣本 */
  .maplegend { display: flex; flex-wrap: wrap; gap: 4px var(--space-4); margin-top: var(--space-2);
               font-size: 12px; line-height: 18px; color: var(--ink-muted); }
  .maplegend span { display: inline-flex; align-items: center; gap: 6px; }
  .maplegend i { display: inline-block; width: 24px; flex: none; border-top: 2.5px solid var(--tide); }
  .maplegend__dash { border-top-style: dashed !important; opacity: .55; }
  /* 狀態章：白底版（島況列那組是深色底用的） */
  .plane__badge { margin-left: 8px; color: var(--ink-muted); border-color: var(--line); vertical-align: 2px; }
  .plane__badge--go { color: var(--go); border-color: currentColor; }
  .plane__badge--hold { color: var(--hold); border-color: currentColor; }
  .plane__badge--stop { color: var(--stop); border-color: currentColor; }
  .planelist { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-2); }
  .plane { display: flex; gap: var(--space-3); align-items: center; }
  .plane__ico { color: var(--tide); display: inline-flex; transform-origin: center; }
  .plane__t { font-size: 15px; line-height: 23px; font-weight: 700; font-family: var(--font-mono); }
  .plane__r { font-size: 14px; line-height: 22px; font-weight: 600; color: var(--ink); }
  .plane__f { font-size: 13px; line-height: 20px; color: var(--ink-muted); }

  /* ---- 每日活動 ---- */
  .daylist { display: grid; gap: 0; margin-top: var(--space-3); }
  .dayrow { display: grid; grid-template-columns: 76px 1fr; gap: var(--space-4);
            padding: var(--space-3) 0; border-top: 1px solid var(--line); align-items: start; }
  .dayrow:first-child { border-top: 0; }
  .dayrow--today { background: var(--surface-tint); border-radius: var(--radius-md);
                   padding-inline: var(--space-3); }
  .dayrow__d { font-size: 15px; font-weight: 700; color: var(--ink);
               display: flex; flex-direction: column; gap: 2px; }
  .dayrow__today { font-family: var(--font-sans); font-size: 11px; font-weight: 700;
                   letter-spacing: .06em; color: var(--tide); }
  .dayrow__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .dayrow__list li { font-size: 14px; line-height: 23px; }
  /* ---- 每日活動卡片 ----
     海報是直式的，塞進「日期一欄、內容一欄」的清單會把每列撐得很高、
     右邊整片空白，一個畫面看不到三則。卡片一排放得下三到四張。
     圖用固定比例裁切（object-fit: cover），卡片高度才會齊。 */
  .actcard { display: flex; flex-direction: column; gap: var(--space-2);
             padding: var(--space-4); cursor: pointer; text-align: left; }
  .actcard:hover { box-shadow: var(--shadow-lift); }
  .actcard:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .actcard__top { display: flex; align-items: center; justify-content: space-between;
                  gap: var(--space-2); }
  .actcard__d { font-size: 14px; line-height: 22px; font-weight: 700; color: var(--ink-muted); }
  .actcard__d.is-today {
    font-family: var(--font-sans); background: var(--tide); color: var(--on-tide);
    border-radius: var(--radius-pill); padding: 1px 9px; font-size: 12px;
  }
  .actcard__bare { font-size: 11px; line-height: 18px; color: var(--ink-muted); }
  .actcard__img { aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden;
                  background: var(--surface-sunken); }
  .actcard__img img { width: 100%; height: 100%; object-fit: cover;
                      object-position: top center; display: block; }
  /* 沒有內文也沒有圖的，不做成可點——點下去是空白頁 */
  .actcard--flat { cursor: default; }
  .actcard--flat:hover { box-shadow: none; }

  .actcard__series {
    font-size: 11px; line-height: 18px; padding: 1px 7px; border-radius: var(--radius-pill);
    background: var(--surface-sunken); color: var(--ink-muted);
  }
  /* 沒有海報的封面。不編假照片——底圖是配色，上面放真的資訊。 */
  .actcard__ph { display: flex; flex-direction: column; align-items: center;
                 justify-content: center; gap: 4px; text-align: center; padding: var(--space-3); }
  .actcard__ph--tide { background: color-mix(in srgb, var(--tide) 14%, var(--surface-sunken)); }
  .actcard__ph--go { background: color-mix(in srgb, var(--go) 14%, var(--surface-sunken)); }
  .actcard__ph--hold { background: color-mix(in srgb, var(--hold) 16%, var(--surface-sunken)); }
  .actcard__ph--stop { background: color-mix(in srgb, var(--stop) 12%, var(--surface-sunken)); }
  .actcard__ph--neutral { background: var(--surface-sunken); }
  .actcard__phd { font-size: 26px; line-height: 34px; font-weight: 600; color: var(--ink); }
  .actcard__phh { font-size: 13px; line-height: 20px; color: var(--ink-muted);
                  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2;
                  -webkit-box-orient: vertical; }

  /* 系列活動的各場次 */
  .actruns { margin: 0 0 var(--space-4); padding: var(--space-3);
             border: 1px solid var(--line); border-radius: var(--radius-md); }
  .actruns__t { margin: 0 0 var(--space-2); font-size: 14px; line-height: 22px; }
  .actruns__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
  .actruns__list li { font-size: 14px; line-height: 22px; display: flex;
                      align-items: baseline; gap: var(--space-2); flex-wrap: wrap; }
  .actruns__d { font-weight: 600; min-width: 3.4em; flex-shrink: 0; }
  /* 場次名稱全部一樣時只列日期。列十行一樣的字沒有告訴人任何事。 */
  .actruns__dates { margin: 0; font-size: 15px; line-height: 26px; color: var(--ink); }
  .actruns__note { margin: var(--space-2) 0 0; font-size: 13px; line-height: 20px;
                   color: var(--ink-muted); }

  .actcard__t { margin: 0; font-size: 16px; line-height: 24px; font-weight: 700; color: var(--ink); }

  .act { padding: var(--space-2) 0; border-bottom: 1px dashed var(--line); }
  .act:last-child { border-bottom: 0; }
  .act__t { font-size: 15px; line-height: 24px; font-weight: 700; color: var(--ink); }
  .act__facts { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3);
                margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
  .act__f { display: inline-flex; align-items: center; gap: 4px; }
  .act__src { display: inline-flex; align-items: center; gap: 3px; margin-top: 2px;
              font-size: 11px; line-height: 17px; color: var(--ink-faint); text-decoration: none; }
  .act__src:hover { color: var(--ink-muted); text-decoration: underline; }
  @media (max-width: 560px) { .dayrow { grid-template-columns: 58px 1fr; gap: var(--space-3); } }

  /* ---- 新聞縮圖 ----
     照片來自原始媒體（馬祖日報的 og:image），點擊回到原文。
     載入失敗或沒有照片時整塊不出現，版面照常——不放佔位圖。 */
  .newsitem { display: grid; grid-template-columns: 120px 1fr;
              column-gap: var(--space-4); gap: var(--space-1); align-items: start; }
  .newsitem__thumb { grid-row: 1 / span 3; display: block; border-radius: var(--radius-md);
                     overflow: hidden; background: var(--surface-sunken);
                     aspect-ratio: 4 / 3; text-decoration: none; }
  /* 只有封面圖填滿整格。**要排除 .ph__logo**——它也是這一格裡的 img，
     被這條規則套到就會被撐成 100%×100%。 */
  .newsitem__thumb img:not(.ph__logo) {
    width: 100%; height: 100%; object-fit: cover; display: block;
  }
  /* 收不起來的問題由樣式表開頭那條全域保護處理。 */

  /* 沒有照片時：依類別的圖示與色調，加一層極淡的斜紋，不要是一塊死灰 */
  .newsitem__thumb--ph { display: flex; align-items: center; justify-content: center;
                         border: 1px solid var(--line); }
  .ph__in { display: flex; flex-direction: column; align-items: center; gap: 2px; }
  .ph__t { font-size: 11px; line-height: 15px; font-weight: 700; letter-spacing: .04em; }

  /* 來源標誌。取自 Google 的公開圖示服務，實測多為 128–256px，
     縮到 30px 顯示很清楚。白底墊一層是因為不少標誌本身是透明底的深色字，
     直接放在類別色塊上會看不見。 */
  .ph__logo {
    width: 30px; height: 30px; object-fit: contain;
    background: #fff; border-radius: 6px; padding: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  }
  /* 來源只有 32–48px 的（中央社就是 32px，而它佔了最多則數），
     用小一號的框，讓圖仍然大於顯示尺寸，不會被拉開變糊。 */
  .ph__logo--sm { width: 24px; height: 24px; padding: 2px; }
  /* 有標誌時就不再畫類別圖示——兩個一起太擠。
     這個 class 是**確認標誌載得到而且夠大之後才加上**的，
     所以「標誌沒出現卻把圖示藏起來」不會發生。 */
  .ph__in--logo .ph__ico { display: none; }
  /* 有標誌時標誌就是封面：白底鋪滿整格，類別名稱不再重複
     （標題下方本來就有類別標籤）。放大到整格是使用者要求的——
     縮在中間的小圖示看起來像「沒有封面」。 */
  .ph__in--logo { position: absolute; inset: 0; z-index: 1; justify-content: center;
                  background: #fff; }
  .ph__in--logo .ph__t { display: none; }
  .ph__in--logo .ph__logo {
    width: 100%; height: 100%; padding: 12%; box-sizing: border-box;
    background: transparent; border-radius: 0; box-shadow: none;
  }
  /* 太小的標誌（中央社 32px）拉到整格會糊，維持原尺寸置中 */
  .ph__in--logo .ph__logo--sm { width: 48px; height: 48px; padding: 0; }

  /* 有封面而且載得起來時，蓋住下面的類別色塊。
     封面 404 時 onError 會把 img 設成 hidden，這條就不成立，
     色塊自動露出來——不需要重新渲染。 */
  .newsitem__thumb img:not([hidden]):not(.ph__logo) ~ .ph__in { display: none; }
  .ph--tide    { background: var(--surface-tint); color: var(--tide); }
  .ph--go      { background: var(--go-tint);      color: var(--go); }
  .ph--hold    { background: var(--hold-tint);    color: var(--hold); }
  .ph--stop    { background: var(--stop-tint);    color: var(--stop); }
  .ph--neutral { background: var(--surface-sunken); color: var(--ink-muted); }
  .newsitem__thumb--ph::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    background: repeating-linear-gradient(135deg, currentColor 0 1px, transparent 1px 9px);
    opacity: .10; pointer-events: none;
  }
  .newsitem__thumb--ph { position: relative; }
  @media (max-width: 560px) {
    .newsitem { grid-template-columns: 84px 1fr; }
    .ph__t { display: none; }
  }
  /* 2026-10-16 排版改版：縮圖一律是照片或主題插圖（TopicArt 墊底、照片蓋上），縮圖與文字間距 16px；
     來源與日期不換行、來源太長省略，類別標籤放不下就換到下一行 */
  .newsitem { column-gap: 16px; }
  .newsitem__thumb.is-art { position: relative; border: 0; }
  .newsitem__thumb.is-art > .tart { position: absolute; inset: 0; }
  .newsitem__thumb.is-art > img { position: relative; z-index: 1; }
  .newsitem .dy-head__meta { flex-wrap: wrap; row-gap: 4px; min-width: 0; }
  .newsitem .dy-head__src { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 11em; }
  .newsitem .dy-head__date { white-space: nowrap; }
  .news__range { margin: 0 0 var(--space-3); font-size: 13px; color: var(--ink-muted); }
  @media (max-width: 560px) {
    .newsitem { column-gap: 12px; }
    .fscroll .fbar__row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--shell-pad, 12px)); padding-right: var(--shell-pad, 12px); }
    .fscroll .fbar__row > * { flex: none; }
    .fscroll .fbar__pop .fbar__row { flex-wrap: wrap; overflow: visible; margin-right: 0; padding-right: 0; }
  }

  /* ---- 天空與海（/sky）----
     把首頁島況列上那一排數字攤開，每一格都帶來源。
     取不到的那格降低對比並寫明原因——留白但不留疑問。 */
  .skygrid {
    display: grid; gap: 10px; margin: var(--space-3) 0 var(--space-5);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .skycell:last-child:nth-child(odd) { grid-column: 1 / -1; }
  @media (min-width: 720px) { .skygrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .skycell:last-child:nth-child(odd) { grid-column: auto; } }
  .skycell {
    display: flex; flex-direction: column; gap: 3px; min-width: 0;
    padding: 12px 14px; border: 1px solid var(--line);
    border-radius: 14px; background: var(--surface-raised);
  }
  .skycell__lb { font-size: 13px; color: var(--ink-muted); }
  .skycell__v { font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: .01em; overflow-wrap: anywhere; }
  .skycell__sub { font-size: 13px; color: var(--ink); line-height: 1.4; }
  .skycell__src { margin-top: auto; padding-top: 4px; font-size: 11px; color: var(--ink-muted); line-height: 1.35; }
  .skycell--na .skycell__v { color: var(--ink-muted); font-weight: 400; }

  .tearwrap {
    display: grid; gap: var(--space-4); align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }
  @media (min-width: 720px) { .tearwrap { grid-template-columns: 1fr 1fr; } }
  /* 為什麼是這個分數——沒有依據的指數等於算命 */
  .tearwhy {
    list-style: none; margin: 0; padding: var(--space-3);
    border: 1px solid var(--line); border-radius: var(--radius-m);
    background: var(--surface-raised); font-size: 14px;
  }
  .tearwhy li {
    display: flex; justify-content: space-between; gap: var(--space-3);
    padding: 5px 0; border-bottom: 1px solid var(--line);
  }
  .tearwhy li:last-child { border-bottom: 0; }
  .tearwhy__d { color: var(--ink-muted); }
  .tearwhy__d.up { color: var(--go); }
  .tearwhy__d.down { color: var(--stop); }
  .skyfoot { margin-top: var(--space-5); }

  /* ---- 新聞頁的來源篩選 ---- */
  .newsfilter { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4);
                padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); }

  /* ---- 佈告 ---- */
  .boardbar { display: flex; gap: var(--space-3); align-items: center;
              flex-wrap: wrap; margin-bottom: var(--space-4); }
  .boardsearch {
    flex: 1 1 200px; min-width: 0; font-family: var(--font-sans); font-size: 15px;
    line-height: 24px; color: var(--ink); background: var(--surface-raised);
    border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
    padding: 9px var(--space-3); min-height: 44px;
  }
  .boardsearch:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
  .bcard { display: flex; flex-direction: column; gap: var(--space-2);
           padding: var(--space-4); cursor: pointer; text-align: left; }
  .bcard:hover { box-shadow: var(--shadow-lift); }
  .bcard:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .bcard__img { aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden;
                background: var(--surface-sunken); }
  .bcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .bcard__top { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
  .bcard__t { margin: 0; font-size: 16px; line-height: 24px; font-weight: 700; color: var(--ink); }
  .bcard__p { margin: 0; font-family: var(--font-mono); font-size: 18px; line-height: 26px;
              font-weight: 600; color: var(--tide); }
  .bcard__m { margin: 0; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
  /* 手機：佈告與商家改成清單列。原本是卡片裡再包一層卡片（雙層外框＋留白），
     一則約 150px。拿掉內層外框，照片縮成左邊的小方圖（同新聞列表），列與列之間細線分隔。 */
  @media (max-width: 560px) {
    .cardgrid:has(> .bcard) { gap: 0; }
    .cardgrid > .bcard { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px;
                         border: 0; border-radius: 0; box-shadow: none; background: transparent;
                         padding: 12px 0; }
    .cardgrid > .bcard + .bcard { border-top: 1px solid var(--line); }
    .cardgrid > .bcard:hover { box-shadow: none; background: var(--surface-sunken); }
    .cardgrid > .bcard--img { grid-template-columns: 72px minmax(0, 1fr); column-gap: var(--space-3); }
    .cardgrid > .bcard--img .bcard__img { grid-column: 1; grid-row: 1 / span 4; aspect-ratio: 1;
                                          width: 72px; align-self: start; }
    .cardgrid > .bcard--img > :not(.bcard__img) { grid-column: 2; }
    .cardgrid > .bcard .bcard__t { font-size: 15px; line-height: 22px; }
    .cardgrid > .bcard .bcard__p { font-size: 15px; line-height: 22px; }
    .cardgrid > .bcard .bcard__m { font-size: 12px; line-height: 18px; }
    .cardgrid > .bcard .bcard__top .dy-tag { font-size: 11px; padding: 0 6px; line-height: 18px; }
  }
  .bsheet__imgs { display: grid; gap: var(--space-2); margin: var(--space-3) 0; }
  .bsheet__imgs img { width: 100%; border-radius: var(--radius-md); display: block; }
  .bsheet__price { margin: 0; font-family: var(--font-mono); font-size: 22px;
                   font-weight: 600; color: var(--tide); }
  .bsheet__body { margin: var(--space-3) 0; font-size: 15px; line-height: 26px;
                  white-space: pre-wrap; }
  .bsheet__facts { display: grid; gap: var(--space-2); margin: var(--space-3) 0 0; }
  .bsheet__facts > div { display: grid; grid-template-columns: 72px 1fr; gap: var(--space-3); }
  .bsheet__facts dt { font-size: 13px; color: var(--ink-muted); margin: 0; }
  .bsheet__facts dd { font-size: 15px; margin: 0; }

  /* ---- 會員中心 ---- */
  .mylist { list-style: none; margin: var(--space-2) 0 0; padding: 0;
            display: grid; gap: var(--space-3); }
  .mylist li { border-bottom: 1px solid var(--line); padding-bottom: var(--space-3); }
  .mylist li:last-child { border-bottom: 0; padding-bottom: 0; }

  /* ---- 生活資訊 ---- */
  .linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
  .linklist li { border-bottom: 1px solid var(--line); padding-bottom: var(--space-3); }
  .linklist li:last-child { border-bottom: 0; padding-bottom: 0; }
  .linklist__t { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--ink); }
  .linklist__a { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: 2px; }
  .linklist__a a { display: inline-flex; align-items: center; gap: 4px;
                   font-size: 14px; color: var(--tide); text-decoration: none; font-weight: 600; }
  .linklist__a a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .infolink { appearance: none; background: transparent; border: 0; padding: 0;
              font-family: var(--font-sans); font-size: 17px; line-height: 26px;
              font-weight: 700; color: var(--ink); cursor: pointer; text-align: left; }
  .infolink:hover { color: var(--tide); }
  .infolink:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .infobody { font-size: 15px; line-height: 28px; white-space: pre-wrap;
              margin-top: var(--space-3); }

  /* ---- 商家 ---- */
  .psheet__cover { width: 100%; border-radius: var(--radius-md); display: block;
                   margin: var(--space-3) 0; }
  .reviews { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid;
             gap: var(--space-3); }
  .reviews li { border-top: 1px solid var(--line); padding-top: var(--space-3); }
  .reviews li:first-child { border-top: 0; padding-top: 0; }
  .reviews__r { color: var(--sand); font-size: 15px; letter-spacing: 1px; }
  .reviews__c { margin: 2px 0 0; font-size: 14px; line-height: 23px; }

  /* ---- 佈告表單 ---- */
  .bform { display: grid; gap: var(--space-3); margin-top: var(--space-3); }
  .bform select { font-family: var(--font-sans); font-size: 15px; line-height: 24px;
                  color: var(--ink); background: var(--surface-raised);
                  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
                  padding: 9px var(--space-3); min-height: 44px; width: 100%; }
  .bform input[type="file"] { font-size: 13px; }
  .bform__imgs { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-2); }
  .bform__imgs img { width: 72px; height: 72px; object-fit: cover;
                     border-radius: var(--radius-sm); }
  .bform__err { margin: var(--space-3) 0 0; color: var(--stop); font-size: 14px; }

  /* ---- 卡片格線（公告等）---- */
  .cardgrid { display: grid; gap: var(--space-3); margin-top: var(--space-3);
              grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  /* 活動卡片高度各自為政。同一排拉成一樣高的話，只有標題的卡片
     會被撐出一大片空白——旁邊那張有海報的有多高，它就有多高。 */
  .cardgrid--act { align-items: start; }

  /* ---- 行事曆 ----
     卡片高度要一致：說明文字長短差很多，不限制就會一張矮一張高。
     格線用 grid-auto-rows:1fr 讓同列等高，說明再夾成兩行，
     整體就不會像原本那樣一張卡佔掉半個螢幕。 */
  /* 班次表的手機版：三欄兩行（時間｜航線｜狀態，第二行小字是班號與備註）。
     設計系統的手機版把時間、班號、航線在左欄疊成三行，一班約 95px，
     交通頁 45 班要捲五個畫面以上。改成約 56px。只覆寫版面，不動設計系統。 */
  @media (max-width: 720px) {
    /* box-sizing：設計系統給了 width:100% 又加左右內距，沒有 border-box，每一列比外框寬 32px，
       右邊被卡片的 overflow:hidden 切掉——狀態標籤（準時、延誤）正好在那一段，一直只露出一小段圓弧 */
    .dy-dep__table tr.dy-dep__row { grid-template-columns: auto minmax(0, 1fr) auto;
                                    column-gap: var(--space-3); align-items: center;
                                    padding: 8px var(--space-4); box-sizing: border-box; }
    /* 狀態欄原本只分到 22px，「● 準時」被擠成兩行 */
    .dy-dep__table tr.dy-dep__row td:nth-child(4) .dy-pill,
    .dy-dep__table tr.dy-dep__row td:nth-child(4) > * { white-space: nowrap; }
    .dy-dep__table tr.dy-dep__row td:nth-child(1) { grid-column: 1; grid-row: 1; }
    .dy-dep__table tr.dy-dep__row td:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 11px; line-height: 15px; }
    .dy-dep__table tr.dy-dep__row td:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
    /* 設計系統給每格 overflow-wrap:anywhere + min-width:0，狀態欄會被算成極窄；照標籤實際寬度 */
    .dy-dep__table tr.dy-dep__row td:nth-child(4) { grid-column: 3; grid-row: 1 / span 2;
                                                    min-width: max-content; overflow-wrap: normal; }
    .dy-dep__time { font-size: 17px; line-height: 22px; }
    .dy-dep__code { font-size: 11px; line-height: 15px; }
    .dy-dep__route { font-size: 15px; line-height: 21px; }
    .dy-dep__note { font-size: 12px; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  }

  /* 現場頁的篩選：手機改成一行三個下拉選單 */
  .camfilter--sel { display: none; }
  .camsel { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .camsel__lb { font-size: 11px; line-height: 14px; font-weight: 700; color: var(--ink-muted); }
  .camsel__s { font: inherit; font-size: 15px; min-height: 44px; padding: 0 28px 0 10px; width: 100%;
               border: 1px solid var(--line-strong); border-radius: var(--radius-md); color: var(--ink);
               background: var(--surface) 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' stroke='%23667' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center;
               appearance: none; -webkit-appearance: none; }
  .camsel__s:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
  @media (max-width: 560px) {
    .camfilter--chips { display: none; }
    .camfilter--sel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
  }


  /* ─── 馬祖人物 /people ─── 卡牌、時間長卷、島嶼地圖、故事頁。
     類別色只當點綴（卡牌頂邊、故事頁標籤），不拿來傳達資訊——類別名稱一律寫出來。 */
  .pcard, .pstory, .ptl__b { --pc: var(--tide); }
  .pcard--politics, .pstory--politics { --pc: #3b5b92; }
  .pcard--public, .pstory--public { --pc: #4a6f8a; }
  .pcard--military, .pstory--military, .pstory--none { --pc: #5d6b4a; }
  .pcard--business, .pstory--business, .pcard--fishing, .pstory--fishing { --pc: #9a6a2a; }
  .pcard--education, .pstory--education, .pcard--scholar, .pstory--scholar { --pc: #2f7a6d; }
  .pcard--medical, .pstory--medical, .pcard--charity, .pstory--charity { --pc: #a0443c; }
  .pcard--religion, .pstory--religion { --pc: #8a4f7d; }
  .pcard--literature, .pstory--literature, .pcard--arts, .pstory--arts,
  .pcard--music, .pstory--music { --pc: #7a4fa0; }
  .pcard--sports, .pstory--sports { --pc: #2d7f3f; }
  .ptools { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: var(--space-4); }
  .ptools .newsfilter { margin-bottom: var(--space-3); }
  /* ---- 外觀（後台「外觀」開關，2026-09-28）----
     五大類的代表色：a/b 色帶漸層、c 代表色（文字與線，淺底上對比 ≥ 4.5）、m 圖案 */
  .lookroot { --grp-a: var(--surface-tint); --grp-b: var(--surface-tint); --grp-c: var(--tide); --grp-m: #0c707833; }
  .lookroot[data-grp="go"]      { --grp-a: #dcedf4; --grp-b: #c3e2ee; --grp-c: #175a7a; --grp-m: #1f6f9540; }
  .lookroot[data-grp="explore"] { --grp-a: #f5e8dd; --grp-b: #ecd4c2; --grp-c: #93452a; --grp-m: #9a4a2c38; }
  .lookroot[data-grp="life"]    { --grp-a: #e7f0e2; --grp-b: #d3e5cb; --grp-c: #3b6636; --grp-m: #3f6b3a38; }
  .lookroot[data-grp="kids"]    { --grp-a: #f9e8ee; --grp-b: #f2d3de; --grp-c: #9a3558; --grp-m: #9a355830; }
  .lookroot[data-grp="read"]    { --grp-a: #f1eee8; --grp-b: #e6e1d8; --grp-c: #2f3a3d; --grp-m: #2d343630; }
  .lookroot[data-grp="culture"]    { --grp-a: #f4ebe6; --grp-b: #ead9d0; --grp-c: #8a3324; --grp-m: #8a332430; }
  .lookroot[data-grp="walk"]       { --grp-a: #f1ece2; --grp-b: #e4dac6; --grp-c: #6b4a2b; --grp-m: #6b4a2b30; }
  [data-theme="dark"] .lookroot { --grp-a: #10272a; --grp-b: #0d2124; --grp-c: #7fe0d2; --grp-m: #4fdccb30; }
  [data-theme="dark"] .lookroot[data-grp="go"]      { --grp-a: #0f2533; --grp-b: #0b1d29; --grp-c: #8fcdea; --grp-m: #6fb7da38; }
  [data-theme="dark"] .lookroot[data-grp="explore"] { --grp-a: #2a1a14; --grp-b: #22150f; --grp-c: #f0a88a; --grp-m: #e0886038; }
  [data-theme="dark"] .lookroot[data-grp="life"]    { --grp-a: #16241a; --grp-b: #111d14; --grp-c: #a6d49b; --grp-m: #8cc27f33; }
  [data-theme="dark"] .lookroot[data-grp="kids"]    { --grp-a: #2a161d; --grp-b: #211117; --grp-c: #f4b3c6; --grp-m: #f4b3c62b; }
  [data-theme="dark"] .lookroot[data-grp="read"]    { --grp-a: #1a1d1f; --grp-b: #141719; --grp-c: #d8dcdc; --grp-m: #c8cfd02b; }
  [data-theme="dark"] .lookroot[data-grp="culture"]    { --grp-a: #1f1715; --grp-b: #181210; --grp-c: #f0b8a8; --grp-m: #f0b8a82b; }
  [data-theme="dark"] .lookroot[data-grp="walk"]       { --grp-a: #1c1813; --grp-b: #15120e; --grp-c: #e6c99a; --grp-m: #e6c99a2b; }
  /* 深藍頁首的設計（外觀「頁首設計」）：底色維持深藍，右上角一道大類顏色的光暈＋淡淡的線條圖案；
     選中的分頁底線換成大類的亮色。兩種主題都是深色底，所以只有一組 */
  .lookroot { --grp-glow: rgba(23, 201, 183, .22); --grp-hl: var(--tide-glow); }
  .lookroot[data-grp="go"]      { --grp-glow: rgba(64, 160, 230, .30); --grp-hl: #6fc3ea; }
  .lookroot[data-grp="explore"] { --grp-glow: rgba(222, 128, 84, .26); --grp-hl: #f0a88a; }
  .lookroot[data-grp="life"]    { --grp-glow: rgba(126, 196, 110, .24); --grp-hl: #a6d49b; }
  .lookroot[data-grp="kids"]    { --grp-glow: rgba(240, 138, 168, .26); --grp-hl: #f4b3c6; }
  .lookroot[data-grp="read"]    { --grp-glow: rgba(200, 208, 210, .16); --grp-hl: #d8dcdc; }
  .lookroot[data-grp="culture"]    { --grp-glow: rgba(214, 96, 70, .2); --grp-hl: #f0b8a8; }
  .lookroot[data-grp="walk"]       { --grp-glow: rgba(200, 160, 100, .22); --grp-hl: #e6c99a; }
  .mastwrap { position: relative; }
  /* Leaflet 地圖的圖層 z-index 400 起跳，會蓋過主選單的面板（使用者 2026-09-28：下拉選單被切到）：把它關在自己的堆疊範圍裡 */
  .leaflet-container { z-index: 0; isolation: isolate; }
  /* 不能 overflow: hidden：主選單展開的子頁面板在頁首外面，會被一起裁掉（2026-09-28 使用者回報：選單無法點選）。
     圖案本身是有尺寸的 svg，不會超出 */
  .mastwrap.is-deco { background:
      radial-gradient(90% 160% at 92% -10%, var(--grp-glow) 0%, transparent 60%),
      linear-gradient(180deg, var(--surface-deep), color-mix(in srgb, var(--surface-deep) 86%, #000)); transition: background .6s ease; }
  .mastwrap.is-deco .masthead, .mastwrap.is-deco .viewnav { background: transparent; position: relative; z-index: 1; }
  /* 面板要疊在島況列（sticky，z 100）上面：主選單這一層要比它高 */
  .mastwrap.is-deco .viewnav { z-index: calc(var(--z-sticky, 100) + 5); }
  .mastwrap__m { position: absolute; right: 0; top: 0; height: 100%; width: min(58%, 680px); color: rgba(232, 241, 240, .10); pointer-events: none;
                 -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
  .look-bands .viewtab[aria-current="true"] { border-bottom-color: var(--grp-hl); }
  .mast-sky { align-self: center; font-size: 12px; font-weight: 700; color: var(--ink-deep); padding: 2px 10px; border-radius: var(--radius-pill);
              border: 1px solid rgba(232, 241, 240, .45); background: rgba(255, 255, 255, .08); }
  /* ── 頁首樣式（後台「外觀」：photo／tint／lines／plain）── */
  /* 線條：比第二版明顯（圖案 10% → 22%、光暈加倍） */
  .mastwrap.hs-lines .mastwrap__m { color: rgba(232, 241, 240, .22); }
  .mastwrap.hs-lines { background:
      radial-gradient(90% 180% at 92% -10%, color-mix(in srgb, var(--grp-hl) 42%, transparent) 0%, transparent 62%),
      linear-gradient(180deg, var(--surface-deep), color-mix(in srgb, var(--surface-deep) 86%, #000)); }
  /* 各類不同深色：整塊換成那一類的深色 */
  .lookroot { --hdr-tint-a: #0f2e36; --hdr-tint-b: #0b2229; }
  .lookroot[data-grp="go"]      { --hdr-tint-a: #0b3552; --hdr-tint-b: #08243a; }
  .lookroot[data-grp="explore"] { --hdr-tint-a: #43291c; --hdr-tint-b: #2c1a11; }
  .lookroot[data-grp="life"]    { --hdr-tint-a: #163d2a; --hdr-tint-b: #0e2a1c; }
  .lookroot[data-grp="kids"]    { --hdr-tint-a: #4a2333; --hdr-tint-b: #2d1520; }
  .lookroot[data-grp="read"]    { --hdr-tint-a: #262e32; --hdr-tint-b: #181d20; }
  .lookroot[data-grp="culture"]    { --hdr-tint-a: #3a211c; --hdr-tint-b: #211311; }
  .lookroot[data-grp="walk"]       { --hdr-tint-a: #33281c; --hdr-tint-b: #1d1710; }
  .mastwrap.hs-tint { background: radial-gradient(90% 180% at 92% -10%, color-mix(in srgb, var(--grp-hl) 30%, transparent) 0%, transparent 62%),
      linear-gradient(180deg, var(--hdr-tint-a), var(--hdr-tint-b)); }
  .mastwrap.hs-tint .mastwrap__m { color: rgba(255, 255, 255, .16); }
  /* 照片：右側照片，左邊漸層回深藍（網站名稱、選單清楚），底部選單那一條再壓暗一點 */
  .mastwrap.hs-photo { background: var(--surface-deep); }
  .mastwrap__ph { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: 0; pointer-events: none;
                  background: var(--hdr-img) center 45% / cover no-repeat;
                  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.55) 25%, #000 55%);
                          mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.55) 25%, #000 55%); }
  /* 照片上蓋一層：底部選單那一條壓暗、整體稍暗，文字與按鈕照樣清楚；天氣時換成霧或夜色 */
  .mastwrap__ph::after { content: ''; position: absolute; inset: 0;
    background: linear-gradient(0deg, color-mix(in srgb, var(--surface-deep) 72%, transparent) 0 48px, transparent 48px),
                color-mix(in srgb, var(--surface-deep) 22%, transparent); }
  .mastwrap[data-sky="night"] .mastwrap__ph::after { background: rgba(6, 20, 38, .72); }
  .mastwrap[data-sky="fog"] .mastwrap__ph::after { background: repeating-linear-gradient(180deg, rgba(220,230,234,.12) 0 12px, transparent 12px 26px), rgba(64, 80, 88, .68); }
  .mastwrap.hs-photo .masthead, .mastwrap.hs-photo .viewnav { position: relative; z-index: 1; }
  .mastwrap.hs-photo .viewnav { z-index: calc(var(--z-sticky, 100) + 5); }
  .mastwrap__moon { z-index: 1; }
  @media (max-width: 720px) {
    .mastwrap__ph { width: 100%; background-image: var(--hdr-img-sm);
      -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35) 0, #000 70%); mask-image: linear-gradient(90deg, rgba(0,0,0,.35) 0, #000 70%); }
    .mastwrap__ph::after { background: color-mix(in srgb, var(--surface-deep) 45%, transparent); }
  }
  /* 右上角的按鈕壓在照片上：加半透明深色底，照片再亮也看得清楚 */
  .mastwrap.hs-photo .mast-tools .dy-btn, .mastwrap.hs-photo .mast-tools .authbtn:not(.authbtn--primary),
  .mastwrap.has-sky .mast-tools .dy-btn { background-color: rgba(10, 34, 41, .66); }
  .mastwrap__cr { position: absolute; right: 16px; bottom: 3px; z-index: 2; font-size: 10px; line-height: 14px; color: rgba(255,255,255,.72);
                  text-decoration: none; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
  .mastwrap__cr:hover { text-decoration: underline; }
  @media (max-width: 720px) { .mastwrap__cr { font-size: 9px; right: 8px; } .mastwrap__moon { display: none; } }
  /* 天氣疊在任何樣式上面（純深藍也看得到） */
  .mastwrap.has-sky[data-sky="fog"] { background:
      repeating-linear-gradient(180deg, rgba(220, 230, 234, .10) 0 12px, transparent 12px 26px),
      linear-gradient(180deg, rgba(90, 108, 116, .72), rgba(60, 76, 84, .80)),
      #2c3d44; }
  .mastwrap.has-sky[data-sky="night"] { background:
      radial-gradient(1.5px 1.5px at 62% 22%, #fff 99%, transparent), radial-gradient(1px 1px at 71% 58%, #dfe9ff 99%, transparent),
      radial-gradient(1.5px 1.5px at 80% 34%, #fff 99%, transparent), radial-gradient(1px 1px at 88% 70%, #cfe0ff 99%, transparent),
      radial-gradient(1px 1px at 55% 64%, #fff 99%, transparent), radial-gradient(1.5px 1.5px at 94% 18%, #fff 99%, transparent),
      radial-gradient(1px 1px at 46% 30%, #dfe9ff 99%, transparent), radial-gradient(1px 1px at 76% 12%, #fff 99%, transparent),
      linear-gradient(180deg, rgba(6, 20, 38, .86), rgba(11, 33, 57, .9)),
      #061426; }
  .mastwrap.has-sky .masthead, .mastwrap.has-sky .viewnav { background: transparent; position: relative; z-index: 1; }
  .mastwrap.has-sky .viewnav { z-index: calc(var(--z-sticky, 100) + 5); }
  /* 月亮放在標誌與右邊按鈕之間：原本用 right: 34%，登入後右邊按鈕變寬（站長的名字），月亮就壓在「搜尋」上（使用者 2026-10-05） */
  .mastwrap__moon { position: absolute; left: 46%; top: 16px; width: 26px; height: 26px; border-radius: 50%; box-shadow: -7px 4px 0 0 #f4e7b8; z-index: 0; pointer-events: none; }
  @media (prefers-reduced-motion: reduce) { .mastwrap.is-deco { transition: none; } }
  @media (max-width: 720px) { .mastwrap__m { width: 75%; } .mast-sky { order: 3; } }
  /* 段落標題的線換成代表色 */
  .look-bands main .dy-sec__rule { background: var(--grp-c); height: 2px; opacity: .55; }
  /* 長頁面分段換底：同一頁的段落白底與淺底交替（背景延伸到兩側，但不產生橫向捲軸） */
  .look-alt main .shell > section.block:nth-of-type(even) {
    background: var(--surface-sunken); box-shadow: 0 0 0 100vmax var(--surface-sunken); clip-path: inset(-20px -100vmax);
    padding-block: 4px; }
  /* clip-path 會把段落裡打開的彈出視窗（Sheet 等 position: fixed）一起裁掉，偶數段的卡片點開看不到（2026-10-16 發現）：有彈窗時拿掉 */
  .look-alt main .shell > section.block:nth-of-type(even):has(.scrim, .sp__modal, .zoomer) { clip-path: none; }

  /* 人物的藝名／別名 */
  .pstory__photox { display: block; margin-top: 6px; min-height: 36px; padding: 4px 12px; border: 1px solid var(--stop); color: var(--stop);
                    background: none; border-radius: 8px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
  .pcard__aka { font-size: .72em; font-weight: 600; color: var(--ink-muted); margin-left: 2px; }
  .pstory__aka { margin: 2px 0 6px; font-size: 15px; } .pstory__aka b { font-weight: 800; }
  .pstory__akaev { display: block; font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
  /* 馬祖數據 /data（2026-09-28） */
  .dlead { max-width: 70ch; color: var(--ink-muted); margin: 0 0 12px; }
  .dnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
  .dnav button { font: inherit; display: inline-flex; align-items: center; min-height: 44px; padding: 4px 16px; border: 1px solid var(--line-strong);
                 border-radius: var(--radius-pill); background: none; color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; }
  .dnav button:hover { background: var(--surface-sunken); }
  .dnav button[aria-selected="true"] { background: var(--surface-deep); color: var(--ink-deep); border-color: var(--surface-deep); }
  .dnav button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  button.dkpi { font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; }
  button.dkpi:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lift); }
  button.dkpi:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .dkpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; }
  .dkpi { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px 14px 8px; display: flex; flex-direction: column; gap: 2px; }
  .dkpi__l { margin: 0; font-size: 13px; font-weight: 700; color: var(--ink-muted); }
  .dkpi__v { margin: 0; font-family: var(--font-mono); font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; }
  .dkpi__v span { font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--ink-muted); }
  .dkpi__p { margin: 0; font-size: 12px; color: var(--ink-muted); }
  .dkpi__d { margin: 2px 0 0; font-size: 12.5px; font-weight: 700; color: var(--ink-muted); }
  /* 2026-10-16 排版改版：總覽九張排成 3×3（原本 5＋4、右邊空一格）；漲跌與去年同期上下兩行、都靠左、不斷行 */
  .dkpis--ov { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dkpi__d { display: grid; justify-items: start; gap: 1px; }
  .dkpi__pv { font-weight: 400; color: var(--ink-muted); white-space: nowrap; }
  @media (max-width: 720px) { .dkpis--ov { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .dkpi__d span { font-weight: 400; }
  .dkpi__d.is-up { color: var(--go); } .dkpi__d.is-down { color: var(--stop); }
  .dkpi__s { width: 100%; height: 24px; color: var(--tide); margin-top: 4px; }
  @media (max-width: 560px) {
    .dkpis { grid-template-columns: 1fr 1fr; gap: 8px; }
    .dkpi { padding: 10px 10px 6px; } .dkpi__v { font-size: 21px; } .dkpi__l { font-size: 12px; }
    .dkpi__d span { display: block; font-size: 11.5px; }
  }
  .dfail { font-size: 13px; color: var(--hold); margin: 10px 0 0; }
  .dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 16px; }
  .dcard { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 16px 10px; min-width: 0; }
  .dcard h3 { margin: 0; font-size: 17px; }
  .dcard__sub { margin: 2px 0 8px; font-size: 13px; color: var(--ink-muted); }
  .dsrc { margin: 8px 0 0; font-size: 11.5px; color: var(--ink-muted); }
  .dsrc a { color: inherit; }
  .dnote { margin: 8px 0 0; font-size: 13px; color: var(--ink-2, var(--ink)); }
  .sc__read { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: 13px; min-height: 22px; }
  .sc__p { color: var(--ink-muted); }
  .sc__v b { font-family: var(--font-mono); font-size: 15px; font-variant-numeric: tabular-nums; }
  .sc__v i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
  .sc__svg { width: 100%; height: auto; display: block; touch-action: pan-y; }
  .sc-grid { stroke: var(--line); stroke-width: 1; }
  .sc-yt, .sc-xt { font-size: 11px; fill: var(--ink-muted); font-family: var(--font-mono); }
  .sc-hv { stroke: var(--ink-muted); stroke-width: 1; stroke-dasharray: 3 3; }
  .sc__range { display: flex; gap: 6px; margin-top: 4px; }
  .sc__range button { font: inherit; font-size: 12.5px; min-height: 32px; padding: 2px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
                      background: none; color: var(--ink); cursor: pointer; }
  .sc__range button[aria-pressed="true"] { background: var(--surface-deep); color: var(--ink-deep); border-color: var(--surface-deep); }
  .dtable { width: 100%; border-collapse: collapse; margin-top: 10px; font-variant-numeric: tabular-nums; font-size: 14px; }
  .dtable th, .dtable td { text-align: right; padding: 5px 6px; border-bottom: 1px solid var(--line); }
  .dtable th:first-child, .dtable td:first-child { text-align: left; }
  .dtable th { font-size: 12px; color: var(--ink-muted); font-weight: 700; }
  .dtable .is-total td { font-weight: 700; }
  .dtable .is-minus { color: var(--stop); } .dtable .is-plus { color: var(--go); }
  .dbars { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
  .dbars li { display: grid; grid-template-columns: 5.5em 1fr 3em; gap: 8px; align-items: center; font-size: 13.5px; }
  .dbars i { display: block; height: 12px; border-radius: 3px; background: var(--tide); min-width: 2px; }
  .dbars b { font-family: var(--font-mono); text-align: right; font-variant-numeric: tabular-nums; }
  .dvill { margin-top: 10px; font-size: 13px; } .dvill summary { cursor: pointer; min-height: 32px; font-weight: 700; }
  .dcmp { margin-top: 6px; }
  .dcmp__t { margin: 12px 0 2px; font-size: 14px; }
  .dcmp__head { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; margin: 4px 0 0; font-size: 14px; }
  .dcmp__head b { font-family: var(--font-mono); font-size: 18px; font-variant-numeric: tabular-nums; }
  .dcmp__rank { padding: 1px 10px; border-radius: var(--radius-pill); background: var(--surface-tint); color: var(--tide); font-weight: 700; }
  .dcmp__rank b { color: inherit; }
  .dcmp__rank { display: inline-flex; align-items: center; gap: 4px; }
  .medal { flex: none; vertical-align: middle; filter: drop-shadow(0 1px 1px rgba(0,0,0,.2)); }
  .dcmp__r .medal { display: block; margin-left: auto; }
  .dcmp__sub { margin: 2px 0 0; font-size: 12px; color: var(--ink-muted); }
  .dcmp__all { margin-top: 6px; } .dcmp__all summary { cursor: pointer; min-height: 32px; font-size: 13px; font-weight: 700; color: var(--tide); }
  .dcmp__list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
  .dcmp__list li { display: grid; grid-template-columns: 2em 4.5em 1fr 4.5em; gap: 6px; align-items: center; font-size: 13px; padding: 1px 4px; border-radius: 4px; }
  .dcmp__list li.is-me { background: var(--surface-tint); font-weight: 800; }
  .dcmp__list i { display: block; height: 10px; border-radius: 3px; background: var(--line-strong); min-width: 2px; }
  .dcmp__list li.is-me i { background: var(--tide); }
  .dcmp__list b { font-family: var(--font-mono); text-align: right; font-variant-numeric: tabular-nums; }
  .dcmp__r { color: var(--ink-muted); text-align: right; font-family: var(--font-mono); }
  /* 馬祖歷史 /history */
  .his__bar { position: sticky; top: 0; z-index: 6; margin: 12px 0 0; padding: 10px 14px 12px; border-radius: var(--radius-md); background: var(--surface-raised, #fff);
              box-shadow: 0 4px 14px rgba(0,0,0,.12); }
  .his__now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; min-height: 30px; }
  .his__now b { font-size: 20px; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
  .his__era { padding: 1px 10px; border-radius: var(--radius-pill); color: #fff; font-size: 12px; font-weight: 800; }
  .his__t { font-size: 14px; font-weight: 700; color: var(--ink-muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 200px; }
  .his__range { width: 100%; margin: 8px 0 4px; accent-color: var(--tide); height: 28px; cursor: grab; }
  .his__segs { display: flex; gap: 2px; height: 22px; }
  .his__seg { flex-basis: 0; min-width: 6px; border: 0; border-radius: 3px; padding: 0 4px; color: #fff; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; overflow: hidden; opacity: .55; }
  .his__seg span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* 2026-10-16 排版改版：色帶每段至少放得下短名；事件卡放寬到整欄；出處是右上角的圖示 */
  .his__seg { min-width: 52px; flex-basis: 0; } .his__y .srci .srci__pop { left: auto !important; right: 0 !important; }
  .his__y { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; } .his__y .srci { margin-left: auto; }
  .his__role .srci { margin-left: 8px; vertical-align: middle; }
  .his__seg.is-on { opacity: 1; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
  .his__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; font-size: 13px; }
  .his__count { margin-left: auto; color: var(--ink-muted); }
  .his__chip { padding: 2px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--surface-raised, #fff); color: var(--ink); font: inherit; font-size: 12.5px; cursor: pointer; }
  .his__chip.is-on { background: var(--tide); border-color: var(--tide); color: var(--on-tide, #fff); }
  .his__list { position: relative; margin: 14px 0 0; padding-left: 22px; border-left: 3px solid var(--line); }
  .his__erahead { margin: 22px 0 10px -22px; padding: 4px 0 4px 16px; border-left: 6px solid; }
  .his__games { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .his__game { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 14px; background: var(--c); color: #fff; text-decoration: none; min-height: 52px; box-shadow: 0 6px 14px -10px rgba(0,0,0,.5); }
  .his__game img { width: 64px; height: 42px; object-fit: cover; border-radius: 9px; }
  .his__game span { display: flex; flex-direction: column; line-height: 1.25; font-weight: 800; font-size: 15px; }
  .his__game small { font-size: 11.5px; font-weight: 700; opacity: .85; }
  .his__game:hover { filter: brightness(1.08); }
  .his__erahead h3 { margin: 0; font-size: 20px; } .his__erahead p { margin: 4px 0 0; font-size: 14px; color: var(--ink-muted); max-width: 760px; }
  .his__ev { position: relative; margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-raised, #fff); scroll-margin-top: 150px; }
  .his__ev::before { content: ""; position: absolute; left: -30px; top: 16px; width: 11px; height: 11px; border-radius: 50%; background: var(--c); border: 2px solid var(--surface, #fff); }
  .his__ev.is-key { border-color: var(--c); } .his__ev.is-key::before { width: 15px; height: 15px; left: -32px; }
  .his__ev.is-cur { box-shadow: 0 0 0 2px var(--c); }
  .his__y { margin: 0; font-size: 13px; font-weight: 800; color: var(--c); } .his__y span { color: var(--ink-muted); font-weight: 600; }
  .his__cert { margin-left: 6px; padding: 0 6px; border: 1px dashed var(--ink-muted); border-radius: 4px; font-size: 11px; }
  .his__ev h4 { margin: 2px 0 4px; font-size: 16px; }
  .his__txt { margin: 0; font-size: 14.5px; line-height: 1.75; }
  .his__ppl { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0 0; }
  .his__src { margin: 6px 0 0; font-size: 12px; color: var(--ink-muted); } .his__src a { color: var(--ink-muted); }
  .his__h { margin: 0 0 10px; font-size: 18px; }
  .his__people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
  .his__person { padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-raised, #fff); }
  .his__pn { margin: 0; } .his__pn span { font-size: 12.5px; color: var(--ink-muted); }
  .his__role { margin: 2px 0 4px; font-size: 13px; color: var(--tide); font-weight: 700; }
  .his__person .his__chip { margin-top: 6px; }
  @media (max-width: 600px) { .his__bar { margin-left: -4px; margin-right: -4px; } .his__seg { min-width: 6px; } .his__seg span { display: none; } .his__list { padding-left: 16px; } .his__ev::before { left: -24px; } .his__ev.is-key::before { left: -26px; } .his__erahead { margin-left: -16px; } }
  /* 訂船票（示範版）/boat：一列查詢條件、班次併組排時間、寬螢幕右側固定摘要 */
  .bbpage .block { margin-top: 14px; padding-top: 14px; padding-bottom: 14px; }
  .bb__cta { position: sticky; bottom: calc(56px + env(safe-area-inset-bottom, 0px)); z-index: 5; display: flex; align-items: center; gap: 10px; margin: 12px 0 0;
             padding: 8px 8px 8px 14px; border-radius: var(--radius-md); background: var(--surface-deep); color: var(--ink-deep); box-shadow: 0 4px 16px rgba(0,0,0,.25); }
  .bb__cta p { flex: 1; min-width: 0; margin: 0; font-size: 13px; line-height: 1.35; }
  .bb__cta a { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-md); background: var(--tide); color: var(--on-tide, #fff); font-weight: 800; text-decoration: none; font-size: 14px; }
  @media (max-width: 720px) { .bb__cta { bottom: calc(118px + env(safe-area-inset-bottom, 0px)); } }
  @media (min-width: 1000px) { .bb__cta { display: none; } }
  .bb__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
  .bb__title h2 { margin: 0; font-size: 24px; }
  .bb__title p { flex: 1 1 320px; margin: 0; font-size: 13.5px; color: var(--ink-muted); }
  .bb__demo { padding: 2px 10px; border-radius: var(--radius-pill); background: #f2c14e; color: #3a2a00; font-size: 12px; font-weight: 800; }
  .bb__pick { margin: 0 0 16px; }
  .bb__legs { padding-top: 4px; }
  .bb__seg { display: inline-flex; padding: 3px; border-radius: var(--radius-pill); background: var(--surface-tint); }
  .bb__seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--radius-pill); background: none; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
  .bb__seg button.is-on { background: var(--tide); color: var(--on-tide, #fff); }
  .bb__f { display: flex; flex-direction: column; gap: 3px; flex: 1 1 130px; min-width: 0; }
  .bb__f span { font-size: 12px; font-weight: 700; color: var(--ink-muted); }
  .bb__f select, .bb__f input { box-sizing: border-box; width: 100%; min-height: 44px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-md);
                                background: var(--surface-raised, #fff); color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; }
  .bb__swap { flex: none; width: 40px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface-raised, #fff); color: var(--tide); font-size: 18px; font-weight: 800; cursor: pointer; }
  .bb__swap:disabled { opacity: .35; cursor: not-allowed; }
  .bb__warn { margin: 10px 0 0; padding: 6px 12px; border-radius: var(--radius-md); background: var(--surface-tint); font-size: 13.5px; }
  /* 一定要 minmax(0, 1fr)：不寫的話這一欄會被裡面最寬的一列（日期列、港口列）撐開，手機上整頁比螢幕寬一倍
     （使用者 2026-10-05 回報：海圖、羅盤都被切掉右半邊） */
  .bb__grid { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
  .bb__main, .bb__pick, .bb__side { min-width: 0; }
  .bb__legs { display: grid; gap: 14px 28px; }
  @media (min-width: 900px) { .bb__legs.is-round { grid-template-columns: 1fr 1fr; } }
  .bb__leg h3 { margin: 0 0 6px; font-size: 16px; } .bb__leg h3 span { font-weight: 500; color: var(--ink-muted); font-size: 14px; }
  .bb__grp + .bb__grp { margin-top: 10px; }
  .bb__meta { margin: 0; font-size: 13px; color: var(--ink-muted); } .bb__meta b { color: var(--ink); margin-right: 6px; }
  .bb__note { margin: 2px 0 0; font-size: 12px; color: var(--ink-muted); }
  .bb__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; margin-top: 6px; }
  .bb__time { min-height: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface-raised, #fff); color: var(--ink);
              font-family: var(--font-mono); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
  .bb__time.is-on { background: var(--tide); border-color: var(--tide); color: var(--on-tide, #fff); }
  .bb__time.is-gone { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
  .bb__none { margin: 0; padding: 8px 12px; border: 1px dashed var(--line-strong); border-radius: var(--radius-md); font-size: 13.5px; }
  .bb__small { margin: 12px 0 0; font-size: 12px; color: var(--ink-muted); }
  .bb__side h3 { margin: 0 0 6px; font-size: 16px; }
  .bb__sum { margin: 0; display: grid; gap: 2px; font-size: 14px; }
  .bb__sum div { display: grid; grid-template-columns: 3em 1fr; gap: 8px; padding: 3px 0; border-bottom: 1px dashed var(--line); }
  .bb__sum dt { color: var(--ink-muted); } .bb__sum dd { margin: 0; font-weight: 700; }
  .bb__open { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; margin-top: 12px; border-radius: var(--radius-md);
              background: var(--tide); color: var(--on-tide, #fff); font-size: 16px; font-weight: 800; text-decoration: none; }
  .bb__next { margin-top: 10px; font-size: 13px; } .bb__next summary { cursor: pointer; min-height: 32px; font-weight: 700; color: var(--tide); }
  .bb__next ol { margin: 4px 0; padding-left: 20px; line-height: 1.65; } .bb__next p { margin: 4px 0 0; color: var(--ink-muted); }
  .bb__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
  .bb__links a { padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--ink); text-decoration: none; font-size: 12.5px; font-weight: 700; background: var(--surface-raised, #fff); }
  @media (min-width: 1000px) {
    .bb__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 0 28px; align-items: start; }
    .bb__side { position: sticky; top: 12px; margin-top: 14px; padding: 16px 18px !important; background: var(--surface-raised, #fff); border: 1px solid var(--line); border-radius: var(--radius-lg, 16px); box-shadow: var(--shadow-card); }
  }
  @media (max-width: 600px) {
    .bb__seg { grid-column: 1 / -1; justify-self: start; }
    .bb__dfull { grid-column: 1 / -1; } .bb__dl { grid-column: 1 / 2; } .bb__dr { grid-column: 2 / 4; }
    .bb__times { grid-template-columns: repeat(4, 1fr); }
  }
  .dins { border-left: 4px solid var(--tide); }
  .btm { margin-bottom: 14px; } .btm .dgrid { margin-top: 14px; }
  .btm__ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 10px 0 6px; font-size: 14px; font-weight: 700; }
  .btm__ctl select { min-height: 38px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface-raised, #fff); color: var(--ink); font: inherit; }
  .btm__moon { display: inline-flex; align-items: center; gap: 8px; } .btm__moon input { width: 160px; accent-color: var(--tide); } .btm__moon span { min-width: 3em; font-family: var(--font-mono); }
  .btm__tip { margin: 0 0 6px; padding: 6px 10px; border-radius: var(--radius-md); background: var(--surface-tint); font-size: 13.5px; }
  .fognow { border-left: 4px solid #6c8f3a; } .fognow.is-warn { border-left-color: #d9822b; } .fognow.is-bad { border-left-color: #b84a4a; }
  .fognow__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 8px 20px; margin-top: 6px; }
  .fognow__it { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 10px; background: var(--surface-tint); font-size: 14px; }
  .fognow__it.is-bad { background: rgba(184,74,74,.12); } .fognow__it small { color: var(--ink-muted); font-size: 12px; }
  .fogtabs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 10px 14px; }
  .fogbt__plot { position: relative; height: 140px; margin-top: 8px; border-bottom: 1px solid var(--line-strong); }
  .fogbt__col { position: absolute; top: 0; bottom: 0; }
  .fogbt__bar { position: absolute; left: 15%; right: 15%; bottom: 0; background: rgba(90,110,140,.55); border-radius: 2px 2px 0 0; }
  .fogbt__dot { position: absolute; left: 50%; width: 7px; height: 7px; margin: -3px 0 0 -3px; border-radius: 50%; background: #0f6e78; }
  .fogbt__dot.is-bad { background: #b84a4a; width: 9px; height: 9px; margin: -4px 0 0 -4px; }
  .fogbt__thr { position: absolute; left: 0; right: 0; border-top: 1px dashed #b84a4a; }
  .fogbt__ax { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-muted); font-family: var(--font-mono); }
  .shipmap { height: 360px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); z-index: 0; isolation: isolate; }
  @media (max-width: 600px) { .shipmap { height: 300px; } }
  /* 班機與船班：電腦上一左一右，地圖同高、上緣對齊（使用者 2026-09-29） */
  @media (min-width: 1100px) {
    .livepair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; margin-bottom: var(--space-4); }
    .livepair__c { display: flex; flex-direction: column; }
    .livepair__c > .plain { flex: 1; margin-bottom: 0 !important; }
    .livepair .flightmap, .livepair .shipmap { height: 420px; margin-top: var(--space-3); box-sizing: border-box; }
    .livepair .shiplist { grid-template-columns: 1fr; }
  }
  .livepair__c { min-width: 0; }
  /* 航海圖風格的地圖：圖磚換色、米色紙感的標籤、羅盤 */
  .navchart { background: #dcecf2 !important; } .navchart .leaflet-tile-pane { filter: url(#navchart-f); }
  .navchart .isllabel { color: #4a3f25; font-family: var(--font-serif); font-size: 13.5px; text-shadow: 0 0 3px #fbf6e6, 0 0 3px #fbf6e6, 0 0 3px #fbf6e6; }
  .navchart .leaflet-control-attribution { background: rgba(255,252,240,.8); color: #5c5033; }
  .navrose { pointer-events: none; margin: 0 0 6px 6px !important; opacity: .92; }
  @media (max-width: 560px) { .navrose svg { width: 50px; height: 56px; } }
  .isllabel { font-size: 13px; font-weight: 800; color: #3d4a52; text-align: center; white-space: nowrap; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; pointer-events: none; }
  .ship3d, .plane3d { display: block; pointer-events: auto; }
  /* 清單每一列左邊的模型圖（船或飛機） */
  .livemodel { flex: none; width: 56px; height: 56px; margin: -8px 2px -8px -6px; object-fit: contain; }
  .livemodel.is-idle { filter: saturate(.5); opacity: .8; }
  .planelist .plane.is-link { cursor: pointer; border-radius: 10px; }
  .planelist .plane.is-link:hover, .planelist .plane.is-on { background: var(--surface-sunken, #ece7de); }
  .leaflet-marker-icon.is-flash img { animation: shipflash 1.4s ease-out 2; }
  .ship3d.is-idle { filter: saturate(.55) brightness(1.03); }
  .shipmk { background: none; border: 0; }
  .shipico { width: 22px; height: 22px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
  .shipdot { width: 10px; height: 10px; margin: 6px; border-radius: 50%; background: #7d8a8f; border: 2px solid #fff; box-shadow: 0 1px 2px rgba(0,0,0,.4); }
  .shiptip { font-size: 11.5px; font-weight: 700; padding: 1px 6px; } .shiptip.is-moving { color: #0f6e78; }
  .shiplist { list-style: none; margin: 10px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 6px 18px; font-size: 14px; }
  .shiplist li { display: flex; gap: 8px; align-items: flex-start; }
  .shiplist__ico { flex: none; display: inline-flex; margin-top: 2px; } .shiplist__route { font-size: 12.5px; color: var(--tide); }
  .faith__lead p { font-size: 16px; line-height: 1.8; max-width: 820px; margin: 0; }
  .faith__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 16px 0; }
  .faith__stat { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-raised, #fff); color: var(--ink); font: inherit; cursor: pointer; text-align: left; }
  .faith__stat b { font-size: 26px; font-family: var(--font-mono); color: var(--tide); } .faith__stat span { font-size: 13px; color: var(--ink-muted); }
  .faith__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
  .faith__card { padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-raised, #fff); }
  .faith__card h3 { margin: 0 0 6px; font-size: 16px; } .faith__card p { margin: 4px 0; font-size: 14.5px; line-height: 1.75; }
  .faith__aka { font-size: 13px; font-weight: 500; color: var(--ink-muted); }
  .faith__role { color: var(--tide); font-weight: 700; font-size: 13.5px !important; }
  .faith__meta { font-size: 13px !important; color: var(--ink-muted); margin: 4px 0; }
  .faith__filters { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 10px; }
  .faith__search { display: flex; gap: 8px; align-items: center; flex: 1 1 260px; }
  .faith__search input { flex: 1; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--surface-raised, #fff); color: var(--ink); font: inherit; }
  .faithmap { height: 380px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); z-index: 0; isolation: isolate; }
  @media (max-width: 600px) { .faithmap { height: 300px; } }
  .faith__list { display: flex; flex-direction: column; gap: 8px; }
  .faith__temple { border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: var(--radius-md); background: var(--surface-raised, #fff); scroll-margin-top: 90px; }
  .faith__th { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; width: 100%; padding: 10px 14px; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
  .faith__th b { font-size: 16px; }
  .faith__isl { padding: 0 8px; border-radius: var(--radius-pill); background: var(--c); color: #fff; font-size: 12px; font-weight: 800; }
  .faith__badge { padding: 0 8px; border: 1px solid #b0651f; border-radius: var(--radius-pill); color: #b0651f; font-size: 12px; font-weight: 800; }
  .faith__tb { padding: 0 14px 12px; } .faith__tb p { margin: 4px 0; font-size: 14.5px; line-height: 1.75; }
  .faith__ph { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px; margin: 6px 0 10px; }
  .faith__ph.is-one { grid-template-columns: 1fr; }
  @media (max-width: 600px) { .faith__ph { grid-template-columns: repeat(2, minmax(0, 1fr)); } .faith__ph.is-one { grid-template-columns: 1fr; } .faith__ph figcaption small { display: none; } .faith__ph figcaption small:first-of-type { display: block; } }
  .faith__ph figure { margin: 0; min-width: 0; }
  .faith__ph button { display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--line); cursor: zoom-in; aspect-ratio: 4 / 3; }
  .faith__ph.is-one button { aspect-ratio: 16 / 9; }
  .faith__ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
  .faith__ph button:hover img { transform: scale(1.03); }
  .faith__ph figcaption { display: flex; flex-direction: column; gap: 1px; padding-top: 4px; font-size: 13px; line-height: 1.45; }
  .faith__ph figcaption small { font-size: 11.5px; color: var(--ink-muted); overflow-wrap: anywhere; } .faith__ph figcaption small a { color: inherit; }
  .faith__card .faith__ph { margin: 8px 0; }
  .faith__lead.has-ph { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
  @media (max-width: 800px) { .faith__lead.has-ph { grid-template-columns: 1fr; } }
  .faith__th { display: grid !important; grid-template-columns: 88px minmax(0, 1fr); gap: 12px !important; align-items: center; }
  .faith__tthumb { width: 88px; height: 66px; object-fit: cover; border-radius: 8px; display: block; }
  .faith__tthumb.is-empty { display: grid; place-items: center; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) 10%, transparent) 0 8px, color-mix(in srgb, var(--c) 16%, transparent) 8px 16px);
    color: color-mix(in srgb, var(--c) 55%, transparent); font-family: var(--font-serif, serif); font-size: 26px; font-weight: 800; }
  .faith__tt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .faith__tl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
  .faith__tm { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 !important; }
  .faith__pc { font-size: 12px; color: var(--ink-muted); }
  @media (max-width: 600px) { .faith__th { grid-template-columns: 72px minmax(0, 1fr); } .faith__tthumb { width: 72px; height: 54px; } }
  .faith__card { display: flex; flex-direction: column; }
  /* 摘要卡片（2026-09-29，使用者：內容太長，卡片先簡單陳述，點開再看完整資訊；出處縮成圖示） */
  .faith__card .faith__cover { border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0; }
  .cc__t { appearance: none; border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
  .cc__t:hover { color: var(--tide); text-decoration: underline; text-underline-offset: 3px; }
  .cc__lead { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cc__sum { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 4px 0 !important; }
  .cc__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
  .cc__more { appearance: none; border: 0; background: none; padding: 6px 0; min-height: 36px; font: inherit; font-weight: 800; color: var(--tide); cursor: pointer; }
  .srci { position: relative; display: inline-flex; }
  /* 放在區塊標題右邊的出處圖示：小視窗往下開（上面是頁面別的東西，往上會被蓋住） */
  .srcdown:not(.srcdown--up) .srci__pop { top: calc(100% + 6px); bottom: auto; } .srcdown:not(.srcdown--up) .srci__pop::after { top: auto; bottom: 100%; }
  .srcdown--up .srci__pop { left: 0; right: auto; }
  .livehead { position: relative; } .livehead__src { position: absolute; right: 0; top: 0; z-index: 5; background: var(--surface-raised, #fff); padding-left: 8px; border-radius: 999px; } .livehead .dy-sec__title, .livehead h2, .livehead h3 { padding-right: 96px; }
  .livefoot { margin-top: 10px; } .livefoot::after { content: ''; display: block; clear: both; }
  .livefoot > .srcdown { float: left; margin-right: 10px; }
  .livehow { font-size: 13.5px; color: var(--ink); }
  .livehow summary { display: inline-flex; align-items: center; min-height: 32px; padding: 2px 11px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12px; color: var(--ink-muted); cursor: pointer; list-style: none; }
  .livehow summary::-webkit-details-marker { display: none; } .livehow[open] summary { color: var(--tide); border-color: var(--tide); }
  .livehow ul { clear: both; list-style: none; margin: 0; padding: 10px 12px; display: grid; gap: 8px; border-radius: 12px; background: var(--surface-sunken, #f1ede5); position: relative; top: 8px; margin-bottom: 8px; }
  .livehow li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; align-items: center; line-height: 1.5; }
  .livehow__k { font-style: normal; justify-self: center; font-size: 12px; font-weight: 700; color: var(--tide); white-space: nowrap; }
  .livehow__k--dot { width: 34px; height: 10px; background: radial-gradient(circle at 5px 5px, #0c7078 4.5px, transparent 5px), radial-gradient(circle at 17px 5px, rgba(12,112,120,.55) 4.5px, transparent 5px), radial-gradient(circle at 29px 5px, rgba(12,112,120,.25) 4.5px, transparent 5px); }
  .livehow__k--dash { width: 36px; height: 0; border-top: 3px dashed #0c7078; }
  .srci__b { appearance: none; display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 2px 9px; border: 1px solid var(--line-strong);
             border-radius: 999px; background: none; color: var(--ink-muted); font: inherit; font-size: 12px; cursor: pointer; }
  .srci__b:hover, .srci.is-open .srci__b { color: var(--tide); border-color: var(--tide); }
  .srci__pop { display: none; position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 60; width: min(320px, 80vw); padding: 10px 12px;
               background: var(--surface-raised, #fff); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: var(--shadow-lift); font-size: 13px; line-height: 1.55; }
  .srci__pop::after { content: ''; position: absolute; right: 0; left: 0; top: 100%; height: 8px; }      /* 滑鼠從按鈕移到框的途中不會斷掉 */
  .srci:hover .srci__pop, .srci:focus-within .srci__pop, .srci.is-open .srci__pop { display: block; }
  .srci__pop b { display: block; margin-bottom: 4px; color: var(--ink-muted); font-size: 12px; }
  .srci__pop ul { margin: 0; padding-left: 18px; } .srci__pop li { margin: 2px 0; overflow-wrap: anywhere; }
  .ccd__src .srci__pop, .his__ev .srci__pop, .faith__lead .srci__pop, .faith__tb .srci__pop { left: 0; right: auto; }
  .ccd__t { margin: 10px 0 4px; font-size: 21px; }
  .ccd__p { font-size: 15.5px; line-height: 1.85; margin: 6px 0; }
  .ccd__src { margin-top: 12px; }
  .cul__full { margin-top: 8px; }
  .faith__cover { position: relative; margin: -12px -16px 12px; aspect-ratio: 16 / 10; background: var(--line); flex: none; overflow: hidden; min-height: 0; }
  .faith__cover button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
  .faith__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .faith__n { position: absolute; top: 8px; right: 8px; padding: 2px 9px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 700; }
  /* 沒有照片的封面：主題插圖 TopicArt（2026-10-16 排版改版）；圖說與授權收進 PhotoCredit 的「©」 */
  /* 2026-10-16 排版改版：信仰首圖＝角落「©」；卡片牆三欄時，最後一列只剩一張就改成橫式全寬卡（不留右邊三分之二空白） */
  .faith__hero .faith__cover { margin: 0; border-radius: var(--radius-md); }
  @media (min-width: 1100px) {
    .faith__grid:not(.cul__grid) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .faith__grid:not(.cul__grid) > .faith__card:last-child:nth-child(3n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 18px; align-content: start; }
    .faith__grid:not(.cul__grid) > .faith__card:last-child:nth-child(3n+1) > .faith__cover { grid-row: 1 / span 6; grid-column: 1; margin: -12px 0 -12px -16px; aspect-ratio: auto; height: calc(100% + 24px); min-height: 200px; border-radius: calc(var(--radius-md) - 1px) 0 0 calc(var(--radius-md) - 1px); }
    .faith__grid:not(.cul__grid) > .faith__card:last-child:nth-child(3n+1) > :not(.faith__cover) { grid-column: 2; }
  }
  .faith__cover.is-art { background: none; } .faith__cover.is-art .tart svg { transform: scale(.84); }
  /* 文化（2026-09-29） */
  .cul__en { margin-left: 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-muted); letter-spacing: .02em; }
  .cul__tile { text-align: left; font: inherit; color: var(--ink); cursor: pointer; text-decoration: none; }
  .cul__tile:hover h3 { color: var(--tide); }
  @media (min-width: 900px) { .cul__grid.cul__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .cul__tile .faith__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .cul__aspects { margin-top: 4px; }
  .cul__def { margin: 14px 0 4px; font-size: 15px; color: var(--ink-muted); }
  .cul__def b { color: var(--tide); }
  .cul__intro { font-size: 16px; line-height: 1.8; max-width: 860px; margin: 6px 0 12px; }
  .cul__secs { margin-top: 10px; }
  .cul__h { margin: 0 0 4px; font-size: 19px; }
  .cul__lead { margin: 0 0 12px; color: var(--ink-muted); font-size: 14.5px; }
  .cul__links { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 !important; }
  .cul__facts { display: grid; grid-template-columns: max-content 1fr; gap: 2px 10px; margin: 6px 0; font-size: 13.5px; }
  .cul__facts div { display: contents; } .cul__facts dt { color: var(--ink-muted); font-weight: 700; } .cul__facts dd { margin: 0; }
  .cul__more { margin: 6px 0; border-top: 1px dashed var(--line); padding-top: 6px; }
  .cul__more summary { cursor: pointer; font-weight: 700; color: var(--tide); min-height: 32px; display: flex; align-items: center; }
  .cul__tablewrap { overflow-x: auto; margin: 6px 0; }
  .cul__table { border-collapse: collapse; font-size: 13px; min-width: 100%; }
  .cul__table caption { text-align: left; font-weight: 700; padding: 4px 0; }
  .cul__table th, .cul__table td { border-bottom: 1px solid var(--line); padding: 5px 8px; text-align: left; vertical-align: top; }
  .cul__table thead th { background: var(--surface-sunken, #f3f1ec); white-space: nowrap; }
  .cul__recipe h4, .cul__lyrics h4 { margin: 6px 0; font-size: 15px; }
  .cul__recipe ul, .cul__recipe ol { margin: 4px 0 8px; padding-left: 22px; font-size: 14px; line-height: 1.7; }
  .cul__muted { color: var(--ink-muted); font-size: 12.5px; font-weight: 500; }
  .cul__lygrid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 14px; font-size: 14.5px; line-height: 1.6; }
  .cul__lygrid.is-one { grid-template-columns: 1fr; }
  .cul__lygrid b { font-size: 12px; color: var(--ink-muted); }
  .cul__ly { font-weight: 700; } .cul__gl { color: var(--ink-muted); }
  .cul__audio figure { margin: 6px 0; } .cul__audio audio { width: 100%; } .cul__audio figcaption { font-size: 12px; color: var(--ink-muted); }
  /* 生物誌 */
  .sp__groups { margin-top: 8px; }
  .sp__tools { flex-wrap: wrap; margin-top: 8px; }
  .sp__flt { display: flex; flex-wrap: wrap; gap: 6px; }
  .his__chip.is-on { background: var(--tide); color: #fff; border-color: var(--tide); }
  .sp__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  @media (max-width: 480px) { .sp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .sp__card { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 0 0 10px; border: 1px solid var(--line); border-radius: var(--radius-md);
              background: var(--surface-raised, #fff); color: var(--ink); font: inherit; text-align: left; cursor: pointer; overflow: hidden; }
  .sp__card:hover { border-color: var(--tide); }
  .sp__card img, .sp__card .sp__ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-bottom: 6px; }
  .sp__ph { display: grid !important; place-items: center; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 5%, transparent) 0 10px, color-mix(in srgb, var(--ink) 8%, transparent) 10px 20px);
            color: var(--ink-muted); font-family: var(--font-serif, serif); font-size: 34px; font-weight: 800; }
  .sp__far { position: absolute; top: 6px; left: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; }
  .sp__zh { padding: 0 10px; font-weight: 800; font-size: 15px; }
  .sp__sci { padding: 0 10px; font-size: 12px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sp__bs { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 10px; }
  .sp__b { padding: 0 6px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--ink-muted); }
  .sp__b--prot { border-color: #b84a4a; color: #b84a4a; } .sp__b--end { border-color: #0f6e78; color: #0f6e78; }
  .sp__st { padding: 0 10px; font-size: 12px; color: var(--ink-muted); }
  .sp__modal { touch-action: none; position: fixed; inset: 0; z-index: 3000; background: rgba(10,20,25,.55); display: grid; place-items: center; padding: 16px; }
  .sp__sheet { position: relative; width: min(520px, 100%); max-height: 90vh; overflow: auto; background: var(--surface-raised, #fff); border-radius: 14px; padding: 0 18px 16px; }
  .sp__big { width: calc(100% + 36px); margin: 0 -18px 6px; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
  .sp__x { position: absolute; top: 8px; right: 8px; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 18px; cursor: pointer; }
  .sp__credit { font-size: 12px; color: var(--ink-muted); margin: 0 0 6px; }
  /* ── 生物誌卡牌（2026-09-29）：N 白框、R 銀框＋淡光、SR 金框＋金色星屑閃卡、UR 彩虹閃卡。傾斜與光點位置由 JS 寫進 --rx --ry --mx --my ── */
  .sp__hero { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 8px; }
  @media (max-width: 700px) { .sp__hero { grid-template-columns: 1fr; } .sp__daily { width: 200px; margin: 0 auto; } }
  .sp__dl { margin: 0 0 6px; font-weight: 800; color: var(--tide); letter-spacing: .1em; }
  .sp__collect { display: grid; gap: 4px; margin: 10px 0; max-width: 520px; }
  .sp__bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; } .sp__bar i { display: block; height: 100%; background: linear-gradient(90deg, #0f6e78, #d8a23a); }
  .sp__collect small { color: var(--ink-muted); }
  .sp__rk { display: flex; flex-wrap: wrap; gap: 6px; }
  .sp__rkb { appearance: none; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface-raised, #fff); color: var(--ink); font: inherit; font-size: 13px; padding: 5px 12px; min-height: 36px; cursor: pointer; }
  .sp__rkb b { font-family: var(--font-mono); }
  .sp__rkb--SR b { color: #a4741d; } .sp__rkb--R b { color: #6f7b88; } .sp__rkb--UR b { background: linear-gradient(90deg, #e2583e, #d9a300, #2aa36b, #2b7de0, #9b4fd6); -webkit-background-clip: text; background-clip: text; color: transparent; }
  /* 選中要一眼看得出來（使用者 2026-09-30：只有綠框不明顯）：整顆填滿、白字、打勾 */
  .sp__rkb.is-on { background: var(--tide); border-color: var(--tide); color: #fff; box-shadow: 0 2px 8px rgba(12,112,120,.35); }
  .sp__rkb.is-on b { color: #fff !important; background: none !important; -webkit-text-fill-color: #fff; }
  .sp__rkb.is-on::before { content: '✓ '; font-weight: 900; }
  .sp__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 16px 14px; }
  @media (max-width: 480px) { .sp__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; } }
  .sp__cardbtn { appearance: none; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; text-align: left; perspective: 900px; }
  .spc, .spc * { box-sizing: border-box; }
  .spc { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; --hyp: 0; position: relative; aspect-ratio: 63 / 88; border-radius: 4.5% / 3.2%; padding: 4.2%;
         container-type: inline-size; transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
         background: linear-gradient(145deg, #eeeae0, #cfc8b8); box-shadow: 0 2px 6px rgba(0,0,0,.18), 0 10px 22px -12px rgba(0,0,0,.35); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
  .spc.is-tilt { transition: transform .06s linear; box-shadow: 0 6px 16px rgba(0,0,0,.25), 0 22px 40px -16px rgba(0,0,0,.45); }
  .spc--big { touch-action: none; cursor: grab; }
  .spc--big.is-drag { cursor: grabbing; transition: transform .03s linear; transform: rotateX(var(--rx)) rotateY(var(--ry)) scale(1.04); }
  .sp__flip { perspective: 900px; }
  .spc--R { background: linear-gradient(135deg, #f3f5f7 0%, #9aa6b2 28%, #eef1f4 50%, #86919d 72%, #f1f3f6 100%); }
  .spc--SR { background: linear-gradient(135deg, #fff2b8 0%, #c79a3a 25%, #fff6cf 48%, #a8761e 70%, #f7df8a 100%); }
  .spc--UR { background: conic-gradient(from 210deg at 50% 50%, #ff8a7a, #ffd36b, #b9f27a, #6fe3ff, #8aa3ff, #e08aff, #ff8a7a); }
  .spc__in { position: relative; height: 100%; display: flex; flex-direction: column; gap: 2cqw; border-radius: 3.4% / 2.4%; padding: 4cqw; overflow: hidden; line-height: 1.3;
             background: linear-gradient(180deg, #fbf8f1, #efe8d8); color: #2a2622; }
  .spc--R .spc__in { background: linear-gradient(180deg, #f9fbfc, #e4e9ee); }
  .spc--SR .spc__in { background: linear-gradient(180deg, #fffaf0, #f3e3bf); }
  .spc--UR .spc__in { background: linear-gradient(180deg, #fdfbff, #ece6f7); }
  .spc__top { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; }
  .spc__name { font-weight: 900; font-size: 9.5cqw; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .spc__glyph { flex: none; display: flex; align-items: center; justify-content: center; width: 11cqw; height: 11cqw; border-radius: 50%; background: #2a2622; color: #fff;
                 font-size: 6cqw; font-weight: 900; line-height: 1; padding: 0; text-align: center; box-shadow: inset 0 0 0 .5cqw rgba(255,255,255,.25); }
  .spc--SR .spc__glyph { background: linear-gradient(135deg, #b8862b, #7a5410); } .spc--UR .spc__glyph { background: linear-gradient(135deg, #e2583e, #9b4fd6); }
  .spc__stars { display: flex; justify-content: flex-end; gap: .6cqw; margin-top: -1cqw; color: #d9a300; font-size: 6.2cqw; line-height: 1; text-shadow: 0 1px 0 #7a5410; }
  .spc--N .spc__stars { color: #9a8f7a; text-shadow: none; } .spc--R .spc__stars { color: #8c99a6; text-shadow: 0 1px 0 #fff; }
  .spc__art { position: relative; flex: none; aspect-ratio: 10 / 7; border: .8cqw solid #fff; border-radius: 1.2cqw; overflow: hidden; background: #cfd6d0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.25); }
  .spc--SR .spc__art { border-color: #e9c96c; } .spc--UR .spc__art { border-color: #fff; box-shadow: 0 0 0 .6cqw rgba(155,79,214,.35); }
  .spc__art img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
  .spc__ph { display: grid; place-items: center; height: 100%; font-size: 20cqw; font-weight: 900; color: rgba(0,0,0,.25); }
  .spc__far { position: absolute; left: 2cqw; bottom: 2cqw; padding: .4cqw 2.4cqw; border-radius: 99px; background: rgba(0,0,0,.6); color: #fff; font-size: 4.6cqw; }
  .spc__type { font-size: 5.2cqw; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .spc__type i { font-weight: 500; margin-left: 1cqw; color: #6b645a; }
  .spc__box { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 1cqw; border: .5cqw solid rgba(0,0,0,.12); border-radius: 1.4cqw; padding: 2.4cqw 3cqw;
               background: rgba(255,255,255,.6); font-size: 5cqw; line-height: 1.4; overflow: hidden; }
  .spc__where { display: flex; gap: 1.6cqw; align-items: center; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .spc__where span { flex: none; padding: .2cqw 1.8cqw; border-radius: 1cqw; background: #2a2622; color: #fff; font-size: 4.2cqw; font-weight: 800; }
  .spc--SR .spc__where span { background: #a4741d; } .spc--UR .spc__where span { background: #7b4fc0; } .spc--R .spc__where span { background: #6f7b88; }
  .spc__box p { margin: 0; } .spc__flav { color: #5a5248; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .spc__foot { display: flex; align-items: center; gap: 1.6cqw; font-size: 4.4cqw; line-height: 1; min-height: 8cqw; }
  .spc__grade { display: inline-flex; align-items: center; height: 7.4cqw; padding: 0 2.4cqw; border-radius: 99px; font-weight: 800; border: .4cqw solid currentColor; white-space: nowrap; background: rgba(255,255,255,.7); }
  .spc__grade--confirmed { color: #0f6e78; } .spc__grade--verified { color: #3b6fc8; } .spc__grade--few { color: #9a7b3a; }
  .spc__prot { color: #b84a4a; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .spc__rk { margin-left: auto; font-family: var(--font-mono); font-weight: 900; font-size: 6.4cqw; letter-spacing: .02em; }
  .spc--UR .spc__rk { background: linear-gradient(90deg, #e2583e, #d9a300, #2aa36b, #2b7de0, #9b4fd6); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .spc--SR .spc__rk { color: #a4741d; }
  .spc__seen { position: absolute; top: -2%; right: -2%; z-index: 3; width: 13cqw; height: 13cqw; display: grid; place-items: center; border-radius: 50%; background: #0f6e78; color: #fff; font-weight: 900; font-size: 7cqw; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
  .spc__holo, .spc__glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; }
  .spc__box, .spc__type, .spc__foot, .spc__top { position: relative; z-index: 3; }
  .spc__glare { background: radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.35) 0%, rgba(255,255,255,.06) 28%, transparent 55%); mix-blend-mode: overlay; opacity: 0; transition: opacity .3s; }
  .spc.is-tilt .spc__glare { opacity: 1; }
  .spc__holo { opacity: 0; transition: opacity .3s; }
  /* R：一道銀色光帶隨角度掃過 */
  .spc--R .spc__holo { background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.7) 46%, rgba(210,225,240,.55) 50%, transparent 64%);
                       background-size: 260% 260%; background-position: var(--mx) var(--my); mix-blend-mode: soft-light; }
  .spc--R.is-tilt .spc__holo { opacity: 1; }
  /* SR：金色星屑＋斜向金光 */
  .spc--SR .spc__holo { background:
      radial-gradient(circle at 20% 30%, rgba(255,247,200,.9) 0 .7%, transparent 1.4%), radial-gradient(circle at 70% 18%, rgba(255,247,200,.9) 0 .6%, transparent 1.2%),
      radial-gradient(circle at 82% 64%, rgba(255,247,200,.9) 0 .8%, transparent 1.5%), radial-gradient(circle at 34% 78%, rgba(255,247,200,.9) 0 .6%, transparent 1.2%),
      radial-gradient(circle at 55% 48%, rgba(255,247,200,.8) 0 .5%, transparent 1.1%),
      repeating-linear-gradient(115deg, rgba(255,215,120,0) 0%, rgba(255,215,120,.55) 6%, rgba(255,250,220,.75) 9%, rgba(255,200,90,0) 15%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 300% 300%;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, var(--mx) var(--my); mix-blend-mode: soft-light; }
  .spc--SR .spc__holo { opacity: .3; -webkit-mask: linear-gradient(#000, #000) exclude, linear-gradient(#000 0 0) 50% 32% / 86% 44% no-repeat; mask: linear-gradient(#000, #000) exclude, linear-gradient(#000 0 0) 50% 32% / 86% 44% no-repeat; }
  .spc--SR.is-tilt .spc__holo { opacity: .45; }
  /* UR：彩虹全像，靜止時也慢慢流動 */
  .spc--UR .spc__holo { background:
      repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 1px, transparent 1px 3px),
      repeating-linear-gradient(110deg, #ff7773 0%, #ffed5f 7%, #a8ff5f 14%, #83fff7 21%, #7894ff 28%, #d875ff 35%, #ff7773 42%),
      radial-gradient(circle at var(--mx) var(--my), rgba(255,255,255,.6), transparent 50%);
    background-size: 100% 100%, 400% 400%, 100% 100%; background-position: 0 0, var(--mx) var(--my), 0 0; mix-blend-mode: soft-light; opacity: .35;
    -webkit-mask: linear-gradient(#000, #000) exclude, linear-gradient(#000 0 0) 50% 32% / 86% 44% no-repeat; mask: linear-gradient(#000, #000) exclude, linear-gradient(#000 0 0) 50% 32% / 86% 44% no-repeat; }
  .spc--UR.is-tilt .spc__holo { opacity: .4; }
  /* 照片上另外一層很淡的彩虹（不蓋掉照片的顏色） */
  .spc--UR .spc__art::after, .spc--SR .spc__art::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.55) 45%, rgba(190,160,255,.35) 52%, transparent 70%); background-size: 250% 250%; background-position: var(--mx) var(--my); mix-blend-mode: soft-light; }
  .spc.is-tilt .spc__art::after { opacity: 1; }
  @keyframes spholo { 0% { background-position: 0 0, 0% 30%, 0 0; } 50% { background-position: 0 0, 100% 70%, 0 0; } 100% { background-position: 0 0, 0% 30%, 0 0; } }
  @media (prefers-reduced-motion: reduce) { .spc--UR .spc__holo { animation: none !important; } .spc { transition: none; } }
  /* ── 保育等級的閃卡差異（2026-09-30 第二版，使用者：一、二級效果看得眼花、拖動卡頓）──
     全部改成靜態：不再旋轉、流動、呼吸、閃爍；差別靠框的材質與星光多寡，傾斜時光澤才會動 */
  .spc__spark { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .3s; }
  .spc__ribbon { position: absolute; top: 2cqw; right: -1cqw; padding: .6cqw 3cqw; border-radius: 1cqw 0 0 1cqw; font-size: 4.4cqw; font-weight: 900; color: #5a2d00;
                 background: linear-gradient(90deg, #fff1b0, #f5c542, #fff6cf); box-shadow: 0 1px 3px rgba(0,0,0,.35); letter-spacing: .08em; }
  /* SR 二級：金框＋照片細金箔紋 */
  .spc--SR.spc--p2 { background: linear-gradient(135deg, #fff6cf 0%, #d4a53c 20%, #fff9e3 40%, #b88420 60%, #ffe9a0 80%, #c2922b 100%); }
  .spc--SR.spc--p2 .spc__art::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .15;
    background: repeating-linear-gradient(45deg, rgba(255,230,150,.9) 0 1px, transparent 1px 5px); mix-blend-mode: soft-light; }
  /* UR 三級：細斜紋星屑，只在傾斜時出現 */
  .spc--UR.spc--p3 .spc__spark { background: repeating-linear-gradient(135deg, transparent 0 3px, rgba(255,255,255,.5) 3px 4px, transparent 4px 9px); mix-blend-mode: overlay;
    -webkit-mask: linear-gradient(#000, #000) exclude, linear-gradient(#000 0 0) 50% 32% / 86% 44% no-repeat; mask: linear-gradient(#000, #000) exclude, linear-gradient(#000 0 0) 50% 32% / 86% 44% no-repeat; }
  .spc--UR.spc--p3.is-tilt .spc__spark { opacity: .8; }
  /* UR 二級：彩虹框（靜止）＋四顆小星＋名字彩虹漸層 */
  .spc--UR.spc--p2 { background: linear-gradient(120deg, #ff8a7a, #ffd36b, #b9f27a, #6fe3ff, #8aa3ff, #e08aff); }
  .spc--UR.spc--p2 .spc__spark { opacity: .35; background:
      radial-gradient(circle at 10% 16%, #fff 0 .6cqw, transparent 1.2cqw), radial-gradient(circle at 90% 12%, #fff 0 .5cqw, transparent 1cqw),
      radial-gradient(circle at 86% 74%, #fff 0 .6cqw, transparent 1.2cqw), radial-gradient(circle at 14% 86%, #fff 0 .5cqw, transparent 1cqw); }
  .spc--UR.spc--p2 .spc__name, .spc--UR.spc--p1 .spc__name { background: linear-gradient(90deg, #d2432b, #c99400, #1f9a60, #2466c8, #8a3fc7);
    -webkit-background-clip: text; background-clip: text; color: transparent; }
  /* UR 一級：金色與彩虹雙層框（靜止）、金色名字、一級保育緞帶、柔和外光、星光稍多 */
  .spc--UR.spc--p1 { background: conic-gradient(from 200deg, #fff3b0, #ffb86b, #ff7aa8, #b98bff, #6fd3ff, #8cf5b0, #fff3b0);
    box-shadow: 0 2px 6px rgba(0,0,0,.18), 0 0 14px rgba(255,200,100,.45); }
  .spc--UR.spc--p1 .spc__in { background: linear-gradient(180deg, #fffdf4, #f6ecd2); box-shadow: inset 0 0 0 .8cqw rgba(232,177,0,.5); }
  .spc--UR.spc--p1 .spc__art { border-color: #f5d06a; box-shadow: 0 0 0 .6cqw rgba(245,197,66,.45); }
  .spc--UR.spc--p1 .spc__name { background-image: linear-gradient(90deg, #a86a00, #d9a300, #b8860b); }
  .spc--UR.spc--p1 .spc__stars { color: #d9a300; text-shadow: 0 1px 0 #7a5410; }
  .spc--UR.spc--p1 .spc__glyph { background: linear-gradient(135deg, #e8b100, #b8860b); }
  .spc--UR.spc--p1 .spc__spark { opacity: .4; background:
      radial-gradient(circle at 8% 10%, #fff 0 .7cqw, transparent 1.4cqw), radial-gradient(circle at 92% 8%, #fff 0 .6cqw, transparent 1.2cqw),
      radial-gradient(circle at 88% 78%, #fff 0 .7cqw, transparent 1.4cqw), radial-gradient(circle at 10% 88%, #fff 0 .6cqw, transparent 1.2cqw),
      radial-gradient(circle at 50% 97%, #fff9d0 0 .5cqw, transparent 1cqw), radial-gradient(circle at 97% 50%, #fff 0 .5cqw, transparent 1cqw); }
  /* 拖動時關掉耗效能的混色層，拖起來才順 */
  .spc.is-drag .spc__spark, .spc.is-drag .spc__art::before { display: none; }
  .sp__cardbtn:focus-visible .spc { outline: 3px solid var(--tide); outline-offset: 3px; }
  /* 回到鐵板（遊戲頁與遊戲本體 .tbg，2026-10-01） */
  .tbh__hero { display: grid; gap: 12px; }
  /* 遊戲頁封面（2026-10-03 使用者：每個遊戲頁面也要有封面圖；圖同走進歷史卡片） */
  /* 2026-10-08 使用者：封面太高（電腦上一張就佔滿畫面）；改成橫幅又把圖切得不好看（燈塔沒了底座、船沒了船身）。
     這幾張圖本來就畫滿整個畫面，怎麼裁都會少東西 → 不裁：電腦上封面放左邊、介紹與進入遊戲放右邊，手機整張疊在上面 */
  .tbh__cover { display: block; width: 100%; height: auto; aspect-ratio: 720 / 468; object-fit: cover; border-radius: 18px; margin: 4px 0 18px;
    box-shadow: 0 14px 30px -18px rgba(0,0,0,.55); background: #1d2f4a; }
  @media (min-width: 900px) {
    .tbh:has(> .tbh__cover:not([hidden])) { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 32px; align-items: start; }
    .tbh:has(> .tbh__cover:not([hidden])) > * { grid-column: 1 / -1; }
    .tbh:has(> .tbh__cover:not([hidden])) > .tbh__cover { grid-column: 1; grid-row: 2 / span 2; margin: 4px 0 0; }
    .tbh:has(> .tbh__cover:not([hidden])) > .tbh__his { grid-column: 2; grid-row: 2; margin: 4px 0 10px; justify-self: start; }
    .tbh:has(> .tbh__cover:not([hidden])) > .tbh__hero { grid-column: 2; grid-row: 3; }
    .tbh:has(> .tbh__cover:not([hidden])) > .cul__intro { grid-column: 2; grid-row: 3; margin-top: 0; }   /* 服裝那一頁：介紹直接放在右邊，下面整排是挑服裝 */
    .tbh:has(> .cul__intro) > .tbh__cover { margin-bottom: 22px; }
  }
  @media (max-width: 720px) { .tbh__cover { border-radius: 14px; margin-bottom: 14px; } }
  /* 上線排程（2026-10-04） */
  .lnch { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 800; line-height: 1.5; vertical-align: 2px; white-space: nowrap; }
  .lnch--soon { background: #f2c14e; color: #4a3500; } .lnch--new { background: #d9573f; color: #fff; } .lnch--hid { background: #5d6c70; color: #fff; }
  .lnch--big { font-size: 14px; padding: 4px 14px; margin: 0 0 8px; }
  .lnch-teaser { text-align: center; padding: 40px 16px 48px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .lnch-teaser h2 { font-family: var(--font-serif); font-size: clamp(26px, 6vw, 36px); margin: 0; }
  .lnch-teaser__d { color: var(--ink-muted); max-width: 32em; } .lnch-teaser__n { max-width: 32em; font-weight: 700; } .lnch-teaser__at { font-size: 18px; font-weight: 800; color: var(--tide, #0c6e77); }
  .lnch-teaser__open { display: grid; gap: 8px; justify-items: center; } .lnch-teaser__open > p { margin: 0; font-size: 13px; color: var(--ink-muted); } .lnch-teaser__links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; } .lnch-teaser__link { font: inherit; font-weight: 700; color: var(--tide, #0c6e77); background: var(--paper, #fff); border: 1px solid currentColor; border-radius: 999px; padding: 8px 16px; min-height: 40px; cursor: pointer; }
  .lnch-staff { margin: 12px 0 0; padding: 8px 12px; border-radius: 10px; background: #fff4d6; color: #5a4200; font-size: 14px; border: 1px dashed #c9a35a; }
  .lnch-staff a { margin-left: 8px; font-weight: 800; }
  /* 分享這一頁（2026-10-16）：右下角圓鈕；手機在底部選單與資料狀態列上方 */
  .sharefab { position: fixed; z-index: 2900; right: 20px; bottom: calc(56px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 7px;
              min-height: 48px; padding: 0 20px 0 16px; border: 2px solid #fff; border-radius: 999px; background: linear-gradient(135deg, #ff7a3d, #ff4f6d); color: #fff;
              font: inherit; font-size: 15px; font-weight: 800; letter-spacing: .05em; box-shadow: 0 6px 18px rgba(255,79,109,.45), 0 2px 6px rgba(0,0,0,.25); cursor: pointer;
              animation: sharefab-in 1.4s ease 1s 2; }   /* 只放大縮小、不從透明開始：動畫沒播也看得到 */
  .sharefab svg { width: 20px; height: 20px; }
  .sharefab:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255,79,109,.55), 0 2px 6px rgba(0,0,0,.25); }
  .sharefab:focus-visible { outline: 3px solid #ffd166; outline-offset: 3px; }
  @keyframes sharefab-in { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.14); } 30% { transform: scale(.96); } 45% { transform: scale(1.06); } }
  @media (prefers-reduced-motion: reduce) { .sharefab { animation: none; } }
  @media (max-width: 720px) { .sharefab { right: 12px; bottom: calc(112px + env(safe-area-inset-bottom, 0px)); min-height: 46px; padding: 0 16px 0 13px; font-size: 14px; }
    .viewas { bottom: calc(172px + env(safe-area-inset-bottom, 0px)); } }
  .sharescrim { position: fixed; inset: 0; z-index: 3100; background: rgba(10,20,25,.45); display: flex; align-items: flex-end; justify-content: center; }
  @media (min-width: 721px) { .sharescrim { align-items: center; } }
  .sharepop { width: min(440px, 100%); background: var(--surface, #fff); color: var(--ink, #222); border-radius: 18px 18px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -6px 24px rgba(0,0,0,.2); }
  @media (min-width: 721px) { .sharepop { border-radius: 18px; } }
  .sharepop__h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; } .sharepop__h b { font-size: 16px; }
  .sharepop__x { border: 0; background: none; font-size: 18px; width: 44px; height: 44px; cursor: pointer; color: inherit; }
  .sharepop__card { border-radius: 12px; overflow: hidden; background: var(--surface-sunken, #f4f6f6); margin-bottom: 14px; border: 1px solid rgba(0,0,0,.06); }
  .sharepop__img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; background: #dfe7e7; }
  .sharepop__txt { white-space: pre-line; font-size: 13.5px; line-height: 1.6; padding: 10px 12px; overflow-wrap: anywhere; }
  .sharepop__txt span { display: block; margin-top: 4px; color: var(--ink-muted, #777); font-size: 12px; }
  @media (max-height: 640px) { .sharepop__img { max-height: 30vh; } }
  .sharepop__btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 10px; }
  .sharepop__b { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; background: none; font: inherit; font-size: 12.5px; color: inherit; cursor: pointer; padding: 6px 2px; border-radius: 12px; min-height: 44px; }
  .sharepop__b:hover { background: var(--surface-sunken, #f4f6f6); }
  .sharepop__b i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; color: #fff; }
  .sharepop__b.is-line i { background: #06c755; font-size: 11px; } .sharepop__b.is-fb i { background: #1877f2; font-size: 22px; font-family: Arial, sans-serif; }
  .sharepop__b.is-copy i { background: #e8eded; font-size: 20px; } .sharepop__b.is-more i { background: #e8eded; color: #333; font-size: 22px; }
  .sharepop__ok { margin: 12px 0 0; font-size: 13px; color: #1d7a3e; text-align: center; }
  .viewas { position: fixed; z-index: 3000; left: 50%; transform: translateX(-50%); bottom: calc(150px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px;
    padding: 4px 4px 4px 14px; border-radius: 999px; background: rgba(18,49,58,.94); color: #fff; font-size: 13px; line-height: 1.3; box-shadow: 0 8px 20px rgba(0,0,0,.3);
    max-width: calc(100% - 24px); white-space: nowrap; box-sizing: border-box; }
  .viewas.is-public { background: rgba(155,52,36,.95); }
  .viewas__t { flex: none; }
  .viewas button { flex: none; border: 0; border-radius: 999px; background: #f2c14e; color: #3a2a00; font: inherit; font-weight: 800; min-height: 36px; padding: 0 14px; cursor: pointer; white-space: nowrap; }
  .viewas__s { display: none; }
  @media (max-width: 720px) {
    /* 手機：縮成右下角一顆小膠囊，靠右不擋中間的內容 */
    .viewas { left: auto; right: 12px; transform: none; bottom: calc(126px + env(safe-area-inset-bottom, 0px)); font-size: 12.5px; gap: 6px; padding-left: 10px; }
    .viewas__l { display: none; } .viewas__s { display: inline; }
    .viewas button { min-height: 32px; padding: 0 10px; }
  }
  @media (min-width: 721px) { .viewas { bottom: 70px; } }
  .tbh__his { display: inline-block; margin: -8px 0 14px; font-size: 14px; font-weight: 700; color: var(--tide, #0c6e77); }
  .tbh__go { min-height: 56px; padding: 0 28px; border: 0; border-radius: 14px; background: linear-gradient(90deg, #7a2e1f, #a3452c); color: #fff3e0; font: 900 20px var(--font-serif); cursor: pointer; box-shadow: 0 6px 18px -6px rgba(122,46,31,.6); }
  .tbh__note { font-size: 13px; color: var(--ink-muted); }
  .tbh__stage, .tbh__stage.tbg { position: fixed; inset: 0; z-index: 5000; background: #0e1a20; }
  .tbg { position: relative; overflow: hidden; color: #fff; font-family: var(--font-sans); touch-action: none; user-select: none; -webkit-user-select: none; }
  .tbg__gl { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; filter: sepia(.18) saturate(.92) contrast(1.02); }
  .tbg.is-shake .tbg__gl { animation: tbshake .3s; } @keyframes tbshake { 25% { transform: translate(6px,-4px); } 50% { transform: translate(-5px,3px); } 75% { transform: translate(3px,5px); } }
  .tbg__loading { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px; background: #0e1a20; } .tbg__loading b { font: 900 30px var(--font-serif); }
  .tbg__ui { position: absolute; inset: 0; pointer-events: none; }
  .tbg__ui > * { pointer-events: auto; }
  .tbg__top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-start; padding: max(10px, env(safe-area-inset-top)) 10px 0; pointer-events: none; }
  .tbg__top > * { pointer-events: auto; }
  .tbg__clock { background: rgba(20,24,20,.62); border-radius: 12px; padding: 6px 10px; display: grid; } .tbg__clock b { font-size: 16px; } .tbg__clock span { font-size: 12px; color: #cfe; }
  .tbg__btns { display: flex; background: rgba(20,24,20,.66); border-radius: 14px; padding: 3px; gap: 2px; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
  .tbg__btns button { width: 50px; height: 48px; border: 0; border-radius: 11px; background: transparent; color: #fff; cursor: pointer; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
  .tbg__btns button i { font-style: normal; font-size: 18px; line-height: 1; }
  .tbg__btns button span { font: 600 10.5px var(--font-sans); letter-spacing: .02em; opacity: .9; white-space: nowrap; }
  .tbg__btns button:hover, .tbg__btns button:focus-visible { background: rgba(255,255,255,.14); }
  .tbg__btns button.is-on { background: #ffd36b; color: #3b2a1a; }
  .tbg__btns .tbg__exit { margin-left: 4px; position: relative; } .tbg__btns .tbg__exit::before { content: ''; position: absolute; left: -4px; top: 10px; bottom: 10px; width: 1px; background: rgba(255,255,255,.25); }
  .tbg__clock { min-height: 54px; box-sizing: border-box; align-content: center; }
  @media (max-width: 420px) { .tbg__btns button { width: 44px; } .tbg__btns button span { font-size: 9.5px; } .tbg__clock { padding: 6px 8px; } .tbg__clock b { font-size: 15px; } .tbg__clock span { font-size: 11px; } .tbg__top { gap: 6px; } }
  .tbg__goal { position: absolute; top: calc(max(10px, env(safe-area-inset-top)) + 64px); left: 10px; right: 10px; width: fit-content; max-width: calc(100% - 20px); background: rgba(60,40,20,.78); border-radius: 10px; padding: 6px 12px; font-size: 14px; display: none; pointer-events: none; }
  .tbg__goal.is-on { display: block; } .tbg__goal b { color: #ffd36b; }
  .tbg__labels { position: absolute; inset: 0; pointer-events: none; }
  .tbg__lb { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 8px; background: rgba(0,0,0,.5); pointer-events: none; }
  .tbg__lb--place { background: rgba(122,46,31,.8); font-family: var(--font-serif); font-size: 13px; } .tbg__lb i { font-style: normal; margin-right: 3px; }
  /* 九點以後（回到鐵板的夜晚模式） */
  .tbg__alarm.is-cine b, .tbg__alarm.is-cine span { opacity: 0; }
  .tbg__ask { position: absolute; inset: 0; z-index: 32; display: none; align-items: flex-end; justify-content: center; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); background: rgba(5,8,14,.35); }
  .tbg__ask.is-on { display: flex; }
  .tbg__askbox { box-sizing: border-box; width: min(460px, 100%); background: #f4e9cf; color: #3b2a1a; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
  .tbg__askbox b { color: #7a2e1f; } .tbg__askbox p { margin: 0; font-size: 16px; }
  .tbg__askopts { display: flex; gap: 8px; flex-wrap: wrap; }
  .tbg__askopts button { flex: 1; min-width: 90px; border: 0; border-radius: 999px; padding: 12px; font-weight: 800; font-size: 16px; background: #3b2a1a; color: #f4e9cf; cursor: pointer; }
  .tbg__flash { position: absolute; right: 14px; bottom: calc(110px + env(safe-area-inset-bottom)); z-index: 6; border: 0; border-radius: 999px; padding: 10px 14px; font-weight: 800; background: rgba(20,24,30,.78); color: #ffe9b0; cursor: pointer; }
  .tbg__flash.is-far { background: #b3271f; color: #fff; }
  .tbg__meter { position: absolute; left: 12px; top: calc(max(10px, env(safe-area-inset-top)) + 4px); transform: translateY(54px); z-index: 5; display: none; }
  .tbg__meter { display: flex; align-items: center; gap: 6px; position: absolute; right: 14px; left: auto; top: auto; transform: none; bottom: calc(160px + env(safe-area-inset-bottom)); color: #ffe9b0; font-size: 12px; font-weight: 700; }
  .tbg__meter i { width: 90px; height: 8px; border-radius: 4px; background: rgba(0,0,0,.5); overflow: hidden; } .tbg__meter b { display: block; height: 100%; width: 0; }
  .tbg__srcl { margin: 0; padding-left: 1.2em; text-align: left; font-size: 13px; }
  /* 穿上阿嬤那個年代（/costume） */
  .cos { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
  .cos__load { padding: 40px; text-align: center; color: var(--muted, #667); }
  .cos__pick { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .cos__th { flex: 0 0 auto; width: 78px; scroll-snap-align: start; border: 2px solid transparent; border-radius: 10px; background: var(--surface-raised, #fff); padding: 3px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; color: inherit; }
  .cos__th img { width: 100%; aspect-ratio: 208 / 304; object-fit: cover; border-radius: 7px; }
  .cos__th.is-on { border-color: #9a2b1f; }
  .cos__main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; }
  @media (max-width: 720px) { .cos__main { grid-template-columns: minmax(0, 1fr); } .cos__stage { justify-self: center; } }
  .cos__stage img { width: auto; max-width: 100%; height: auto; max-height: 480px; display: block; border-radius: 10px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
  @media (max-width: 720px) { .cos__stage img { max-height: 60vh; } }
  .cos__side .cos__pick { margin: 0 0 4px; }
  .cos__side { display: flex; flex-direction: column; gap: 10px; }
  .cos__side h3 { margin: 0; font-family: var(--font-serif); font-size: 24px; }
  .cos__side p { margin: 0; line-height: 1.75; }
  .cos__who { color: #9a2b1f; font-weight: 700; }
  .cos__src, .cos__note, .cos__tip { font-size: 12.5px; opacity: .8; }
  .cos__up { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; background: var(--surface-raised, #fff); border: 1px solid rgba(0,0,0,.08); }
  .cos__quota b { font-size: 18px; color: #9a2b1f; }
  .cos__ck { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; }
  .cos__ck input { margin-top: 4px; }
  .cos__file { display: block; }
  .cos__file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
  .cos__file span { display: block; text-align: center; padding: 13px; border-radius: 999px; background: #9a2b1f; color: #fff; font-weight: 800; cursor: pointer; }
  .cos__file input:focus-visible + span { outline: 3px solid #e2a54a; }
  .cos__msg { min-height: 1.4em; font-weight: 700; color: #9a2b1f; }
  .cos__styles, .cos__acts { display: flex; gap: 8px; flex-wrap: wrap; }
  .cos__styles button, .cos__acts button { border: 1px solid #9a2b1f; background: transparent; color: #9a2b1f; border-radius: 999px; padding: 9px 16px; font-weight: 700; cursor: pointer; }
  .cos__styles button.is-on, .cos__dl { background: #9a2b1f !important; color: #fff !important; }
  .tbg__lb--mem { background: rgba(40,70,110,.82); font-family: var(--font-serif); font-size: 13px; }
  .tbg__lb--bump { background: #fffaf0; color: #7a2e1f; font-size: 14px; border: 2px solid #7a2e1f; border-radius: 12px; animation: tbgBump .3s ease-out; }
  .tbg__lb--stern { background: #3b4a2f; color: #fff; border-color: #1f2a18; font-size: 15px; }
  @keyframes tbgBump { 0% { scale: .4 } 70% { scale: 1.15 } 100% { scale: 1 } }
  .tbg__map { position: absolute; inset: 0; z-index: 30; display: none; background: rgba(20,16,12,.55); padding: 14px; }
  .tbg__map.is-on { display: flex; align-items: center; justify-content: center; }
  .tbg__mapin { width: min(980px, 100%); height: min(760px, 100%); display: flex; flex-direction: column; background: #f3ead6; border: 3px solid #3b2a1a; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.5); overflow: hidden; }
  .tbg__maphd { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 2px solid #3b2a1a; color: #3b2a1a; font-family: var(--font-serif); flex-wrap: wrap; }
  .tbg__maphd b { font-size: 18px; }
  .tbg__maplg { font-size: 12px; flex: 1; font-family: var(--font-sans); } .tbg__maplg i { font-style: normal; margin-left: 4px; }
  .tbg__maplg .d-me { color: #d0342c; } .tbg__maplg .d-npc { color: #2f5d8a; } .tbg__maplg .d-shop { color: #8a5a3a; } .tbg__maplg .d-in { color: #d9a441; } .tbg__maplg .d-tg { color: #e0a800; }
  .tbg__mapx { min-width: 44px; min-height: 44px; border: 0; border-radius: 8px; background: #3b2a1a; color: #fff; font-size: 18px; cursor: pointer; }
  .tbg__mapin canvas { flex: 1; width: 100%; min-height: 0; display: block; cursor: grab; }
  .tbg__mapin { position: relative; }
  .tbg__mapzm { position: absolute; right: 12px; bottom: 44px; display: flex; flex-direction: column; gap: 6px; }
  @media (max-width: 600px) { .tbg__mapzm { bottom: 96px; } .tbg__map { padding: 8px; } }
  .tbg__mapzm button { width: 44px; height: 44px; border: 2px solid #3b2a1a; border-radius: 8px; background: #f3ead6; color: #3b2a1a; font-size: 20px; font-weight: 700; cursor: pointer; }
  .tbg__mapft { margin: 0; padding: 6px 12px; font-size: 12px; color: #5a4a3a; border-top: 1px solid #c9b48a; }
  .tbg__lb--obj { background: rgba(60,45,30,.72); font-size: 11px; font-weight: 600; }
  /* 回到鐵板・主線：章節標題、黑幕字卡、擲筊、結局 */
  .tbg__chap { position: absolute; left: 0; right: 0; top: 34%; z-index: 22; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; opacity: 0; color: #fff8e6; text-shadow: 0 2px 10px rgba(0,0,0,.75); }
  .tbg__chap b { font-family: var(--font-serif); font-weight: 900; font-size: clamp(26px, 7vw, 40px); letter-spacing: .12em; padding: 10px 26px; background: linear-gradient(90deg, transparent, rgba(40,22,10,.72) 18%, rgba(40,22,10,.72) 82%, transparent); }
  .tbg__chap span { font-family: var(--font-serif); font-size: 16px; opacity: .92; }
  .tbg__chap.is-on { animation: tbgChap 3.8s ease forwards; }
  @keyframes tbgChap { 0% { opacity: 0; transform: translateY(10px); } 12% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; } }
  .tbg__curtain { position: absolute; inset: 0; z-index: 40; display: grid; place-items: center; padding: 24px; background: #0c0a08; color: #f3e6c8; opacity: 0; pointer-events: none; transition: opacity .6s; }
  .tbg__curtain.is-on { opacity: 1; pointer-events: auto; }
  .tbg__curtain p { margin: 0; max-width: 520px; font-family: var(--font-serif); font-size: clamp(18px, 4.6vw, 24px); line-height: 1.7; text-align: center; animation: tbgCard 2.9s ease forwards; }
  @keyframes tbgCard { 0% { opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
  /* 海上的利利（2026-10-02）：字卡可以自己翻頁、過場字幕、1939 的抉擇、結尾的「後人怎麼看他」 */
  .tbg__curtain.is-lili { align-content: center; gap: 14px; }
  .tbg__curtain.is-lili p { animation: tbgCardIn .7s ease forwards; }
  @keyframes tbgCardIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  .tbg__csrc { max-width: 520px; font-size: 12px; color: #c9b896; text-align: center; } .tbg__csrc a { color: #f0d9a0; }
  .tbg__cnext { justify-self: center; min-height: 44px; padding: 0 20px; border: 1px solid #c9b896; border-radius: 999px; background: transparent; color: #f3e6c8; font: 600 14px var(--font-sans); cursor: pointer; }
  .tbg__cap { position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 24; width: min(640px, calc(100% - 32px)); box-sizing: border-box; padding: 12px 18px; border-radius: 10px; background: rgba(16,12,8,.72); color: #fff6e0; text-align: center; opacity: 0; pointer-events: none; transition: opacity .5s; }
  .tbg__cap.is-on { opacity: 1; pointer-events: auto; }
  .tbg__cap p { margin: 0; font-family: var(--font-serif); font-size: clamp(16px, 4.2vw, 20px); line-height: 1.6; }
  .tbg__cap small { display: block; margin-top: 4px; font-size: 11px; color: #d8c9a6; } .tbg__cap a { color: #f0d9a0; }
  .tbg__decide { position: absolute; inset: 0; z-index: 42; display: none; place-items: center; padding: 16px; background: rgba(12,10,8,.7); }
  .tbg__decide.is-on { display: grid; }
  .tbg__dbox { box-sizing: border-box; width: min(480px, 100%); max-height: 100%; overflow: auto; background: #f4e9cf; color: #3b2a1a; border: 3px double #6b4a2b; border-radius: 12px; padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; }
  .tbg__dbox b { font-family: var(--font-serif); font-size: 20px; } .tbg__dbox p { margin: 0; line-height: 1.7; } .tbg__dbox small { font-size: 12px; color: #6b5a44; } .tbg__dbox a { color: #7a2e1f; }
  .tbg__dbtns { display: flex; gap: 10px; flex-wrap: wrap; } .tbg__dbtns--col { flex-direction: column; }
  .tbg__dbtns button { min-height: 44px; flex: 1; padding: 0 16px; border: 2px solid #6b4a2b; border-radius: 10px; background: #fffaf0; color: #3b2a1a; font: 700 15px var(--font-sans); cursor: pointer; }
  .tbg__dbtns button.is-main { background: #7a2e1f; border-color: #7a2e1f; color: #fff; }
  .tbg__dbtns button:disabled { opacity: .45; cursor: not-allowed; }
  .tbg__views { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; text-align: left; }
  .tbg__view { border-top: 3px solid #3b2a1a; padding-top: 6px; display: grid; gap: 2px; } .tbg__view b { font-family: var(--font-serif); font-size: 19px; } .tbg__view span { font-size: 13px; } .tbg__view small { font-size: 11px; color: #6b5a44; }
  .tbg__endbox h3 { margin: 6px 0 0; font-family: var(--font-serif); font-size: 17px; text-align: left; }
  .tbg__facts { margin: 0; padding-left: 1.2em; text-align: left; display: grid; gap: 6px; font-size: 14px; } .tbg__facts small { display: block; font-size: 11px; color: #6b5a44; }
  .tbg__endbox a { color: #7a2e1f; }
  .tbg__jiao { position: absolute; inset: 0; z-index: 30; display: none; place-items: center; background: rgba(20,12,6,.6); padding: 16px; }
  .tbg__jiao.is-on { display: grid; }
  .tbg__jbox { box-sizing: border-box; max-width: 100%; width: min(340px, 88vw); background: #f4e9cf; color: #3b2a1a; border: 3px double #7a2e1f; border-radius: 12px; padding: 18px 16px 14px; text-align: center; display: flex; flex-direction: column; gap: 10px; }
  .tbg__jbox > b { font-family: var(--font-serif); font-size: 22px; letter-spacing: .1em; color: #7a2e1f; }
  .tbg__jq { margin: 0; font-family: var(--font-serif); font-size: 15px; }
  .tbg__jbs { display: flex; justify-content: center; gap: 22px; height: 76px; align-items: center; }
  .tbg__jb { width: 62px; height: 30px; border-radius: 60px 60px 8px 8px / 44px 44px 8px 8px; background: linear-gradient(#b98a52, #8d6236); box-shadow: inset 0 -4px 0 rgba(0,0,0,.18), 0 3px 6px rgba(0,0,0,.25); transition: transform .3s; }
  .tbg__jb + .tbg__jb { transform: scaleX(-1); }
  .tbg__jb.is-flat { border-radius: 8px; height: 22px; background: linear-gradient(#e6cf9e, #cdae76); box-shadow: inset 0 0 0 2px #a8865a, 0 3px 6px rgba(0,0,0,.2); }
  .tbg__jb.is-round { background: linear-gradient(#a5763f, #6e4a26); }
  .tbg__jb.is-fly { animation: tbgFly .9s ease-in-out; }
  @keyframes tbgFly { 0% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-60px) rotate(400deg); } 100% { transform: translateY(0) rotate(720deg); } }
  .tbg__jr { margin: 0; min-height: 22px; font-weight: 800; }
  .tbg__jcount { display: flex; justify-content: center; gap: 8px; }
  .tbg__jcount i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-serif); font-weight: 900; border: 2px dashed #b9a07a; color: #b9a07a; }
  .tbg__jcount i.is-on { border: 2px solid #b3271f; background: #b3271f; color: #fff; }
  .tbg__jgo { border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 900; font-size: 17px; background: #b3271f; color: #fff; cursor: pointer; }
  .tbg__jgo:disabled { opacity: .5; }
  .tbg__jbox small { font-size: 11px; opacity: .7; }
  .tbg__end { position: absolute; inset: 0; z-index: 45; display: none; place-items: center; padding: 16px; background: rgba(12,10,8,.82); overflow: auto; }
  .tbg__end.is-on { display: grid; }
  .tbg__endbox { box-sizing: border-box; max-width: 100%; width: min(520px, 92vw); max-height: 100%; overflow: auto; background: #f4e9cf; color: #3b2a1a; border: 3px double #6b4a2b; border-radius: 12px; padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; text-align: center; }
  .tbg__endbox h2 { margin: 0; font-family: var(--font-serif); font-size: 30px; letter-spacing: .14em; color: #7a2e1f; }
  .tbg__endbox p { margin: 0; font-family: var(--font-serif); font-size: 16px; line-height: 1.7; }
  .tbg__endst { list-style: none; margin: 4px 0; padding: 0; display: flex; justify-content: center; gap: 14px; font-size: 13px; }
  .tbg__endst b { font-size: 18px; color: #7a2e1f; }
  .tbg__endcta { display: block; padding: 12px; border-radius: 10px; background: #7a2e1f; color: #fff8e6; font-weight: 800; text-decoration: none; }
  .tbg__endbtns { display: flex; gap: 8px; justify-content: center; }
  .tbg__endbtns button { border: 1px solid #6b4a2b; background: transparent; color: #3b2a1a; border-radius: 999px; padding: 8px 14px; font-weight: 700; cursor: pointer; }
  .tbg__ptabs { flex-wrap: wrap; } .tbg__ptabs button { min-width: 3.6em; }
  .tbg__chnow { margin: 0 0 8px; font-family: var(--font-serif); font-weight: 900; color: #7a2e1f; }
  .tbg__stick { position: absolute; left: max(18px, env(safe-area-inset-left)); bottom: max(22px, env(safe-area-inset-bottom)); width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.35); touch-action: none; }
  .tbg__stick i { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px; border-radius: 50%; background: rgba(255,255,255,.55); }
  @media (hover: hover) and (pointer: fine) { .tbg__stick { opacity: .5; } }
  .tbg__act { position: absolute; right: max(18px, env(safe-area-inset-right)); bottom: max(34px, env(safe-area-inset-bottom)); min-height: 60px; padding: 0 20px; border: 0; border-radius: 30px; background: #ffd36b; color: #3b2a1a; font: 900 17px var(--font-sans); display: none; box-shadow: 0 4px 14px rgba(0,0,0,.35); cursor: pointer; }
  .tbg__act.is-on { display: block; }
  /* 互動按鈕浮在人物頭上（2026-10-01） */
  .tbg__act { left: 0; top: 0; right: auto; bottom: auto; min-height: 40px; padding: 0 14px; font-size: 15px; border-radius: 20px; white-space: nowrap; animation: tbgBob 1.4s ease-in-out infinite; }
  @keyframes tbgBob { 50% { margin-top: -5px; } }
  .tbg__home { position: absolute; left: 50%; top: 62%; white-space: nowrap; transform: translate(-50%, -50%); z-index: 8; display: none; flex-direction: column; align-items: center; gap: 6px; border: 0; border-radius: 16px; padding: 14px 20px; background: rgba(150,30,20,.92); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
  .tbg__home b { background: #fff; color: #9a2b1f; border-radius: 999px; padding: 8px 18px; font-size: 16px; }
  .tbg__home.is-on { display: flex; }
  .tbg__toast { position: absolute; top: 40%; left: 50%; transform: translate(-50%,-50%); background: rgba(0,0,0,.7); padding: 8px 16px; border-radius: 12px; font-weight: 700; opacity: 0; transition: opacity .3s; pointer-events: none; }
  .tbg__toast.is-on { opacity: 1; }
  .tbg__dlg { position: absolute; left: 50%; bottom: max(170px, calc(env(safe-area-inset-bottom) + 160px)); transform: translateX(-50%); width: min(620px, calc(100% - 24px)); background: rgba(244,233,207,.97); color: #3b2a1a; border-radius: 14px; padding: 14px 16px 22px; box-shadow: 0 8px 30px rgba(0,0,0,.4); display: none; cursor: pointer; }
  .tbg__dlg.is-on { display: block; } .tbg__dlg b { font-family: var(--font-serif); color: #7a2e1f; } .tbg__dlg p { margin: 6px 0; font-size: 16px; line-height: 1.7; }
  .tbg__dlg small { display: block; font-size: 12px; color: #6b5a46; } .tbg__dlg a { color: #1d6f7a; } .tbg__next { position: absolute; right: 14px; bottom: 6px; animation: tbblink 1s infinite; } @keyframes tbblink { 50% { opacity: .2; } }
  .tbg__panel { position: absolute; inset: max(10px, env(safe-area-inset-top)) 10px 10px; max-width: 720px; margin: 0 auto; background: rgba(244,233,207,.98); color: #3b2a1a; border-radius: 14px; display: none; flex-direction: column; overflow: hidden; }
  .tbg__panel.is-on { display: flex; }
  .tbg__ptabs { display: flex; gap: 4px; padding: 8px; background: #3b2a1a; } .tbg__ptabs button { flex: 1; min-height: 40px; border: 0; border-radius: 8px; background: transparent; color: #f4e9cf; font: 700 14px var(--font-sans); cursor: pointer; } .tbg__ptabs button.is-on { background: #f4e9cf; color: #3b2a1a; } .tbg__ptabs .tbg__pclose { flex: none; width: 44px; }
  .tbg__pbody { overflow: auto; padding: 12px 14px; } .tbg__pbody a { color: #1d6f7a; }
  .tbg__qrow { padding: 8px 0; border-bottom: 1px dashed #b89a6a; } .tbg__qrow p { margin: 4px 0; line-height: 1.7; } .tbg__qrow small { font-size: 12px; } .tbg__qrow.is-done b { color: #2e7d4f; } .tbg__dim { color: #8a7a62; }
  .tbg__igrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .tbg__icard { background: #fffaf0; border: 1px solid #d6c29a; border-radius: 8px; padding: 6px; font-size: 12px; } .tbg__icard img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; filter: sepia(.4); } .tbg__icard b { display: block; font-size: 14px; } .tbg__icard p { margin: 4px 0; }
  /* 等退潮：任務要最低潮時出現，按了快轉到最低潮 */
  .tbg__waitbtn { position: absolute; top: calc(max(10px, env(safe-area-inset-top)) + 100px); left: 10px; display: none; border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 800; font-size: 14px; background: #2f7d93; color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.3); cursor: pointer; z-index: 6; }
  .tbg__waitbtn.is-on { display: block; animation: tbgPulse 1.6s ease-in-out infinite; }
  .tbg__skip { top: auto; left: auto; right: 16px; bottom: calc(max(16px, env(safe-area-inset-bottom)) + 120px); background: #8a5a2b; z-index: 9; }
  @keyframes tbgPulse { 50% { box-shadow: 0 0 0 6px rgba(47,125,147,.35), 0 3px 10px rgba(0,0,0,.3); } }
  .tbg__wait { position: absolute; inset: 0; z-index: 25; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: rgba(10,25,35,.45); color: #fff; pointer-events: none; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
  .tbg__wait.is-on { display: flex; } .tbg__wait b { font-size: 22px; } .tbg__wait span { font-size: 14px; opacity: .9; }
  /* 撿到老物件時的卡片（跟老物件頁同一張 .otc 卡），翻面出現 */
  .tbg__ocard { position: absolute; inset: 0; z-index: 30; display: none; place-items: center; background: rgba(20,14,8,.62); backdrop-filter: blur(2px); padding: 16px; }
  .tbg__ocard.is-on { display: grid; }
  .tbg__ocbox { display: flex; flex-direction: column; align-items: center; gap: 12px; width: min(300px, 78vw); }
  .tbg__occap { margin: 0; color: #ffe9a8; font-weight: 800; font-size: 17px; letter-spacing: .06em; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
  .tbg__ocw { width: 100%; perspective: 900px; max-height: calc(100vh - 200px); aspect-ratio: 63 / 88; }
  .tbg__ocw .otc { width: 100%; height: 100%; animation: tbgFlip .7s cubic-bezier(.2,.8,.25,1); }
  @keyframes tbgFlip { 0% { transform: rotateY(180deg) scale(.6); opacity: 0; } 60% { opacity: 1; } 100% { transform: rotateY(0) scale(1); } }
  .tbg__ocbtns { display: flex; gap: 10px; align-items: center; }
  .tbg__ocbtns a { color: #f3e2b8; font-size: 13px; }
  .tbg__ocbtns button { border: 0; border-radius: 999px; padding: 10px 20px; font-weight: 800; font-size: 15px; background: #f3e2b8; color: #3b2a1a; cursor: pointer; }
  .tbg__icb { all: unset; cursor: pointer; display: block; } .tbg__icb .otc { width: 100%; }
  .tbg__icard.is-no { display: grid; place-items: center; min-height: 120px; font-size: 30px; color: #c9b48c; }
  .tbg__rhythm { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); width: min(620px, calc(100% - 20px)); background: rgba(20,14,10,.85); border-radius: 14px; padding: 12px; display: none; text-align: center; }
  .tbg__rhythm.is-on { display: block; } .tbg__rhythm p { margin: 0 0 8px; font-weight: 700; }
  .tbg__lane { position: relative; height: 54px; background: rgba(255,255,255,.08); border-radius: 27px; overflow: hidden; }
  .tbg__hitz { position: absolute; left: 32px; top: 5px; width: 44px; height: 44px; border-radius: 50%; border: 3px solid #ffd36b; }
  .tbg__beat { position: absolute; left: 0; top: 7px; width: 40px; height: 40px; border-radius: 50%; background: #c8241c; display: grid; place-items: center; font: 900 18px var(--font-serif); }
  .tbg__beat.is-ok { background: #2e9d5b; } .tbg__beat.is-bad { background: #555; }
  .tbg__keys { display: flex; gap: 10px; justify-content: center; margin-top: 10px; } .tbg__keys button { min-width: 110px; min-height: 60px; border: 0; border-radius: 14px; background: #ffd36b; color: #3b2a1a; font: 900 24px var(--font-serif); cursor: pointer; } .tbg__keys small { display: block; font: 700 11px var(--font-sans); }
  /* 節奏遊戲回饋：況＝紅圓（大鑼）、嗆＝藍菱形（大鈸）、抬＝黃圓；良／可／不可、連打 */
  .tbg__beat.tbg__b0 { background: #c8241c; color: #fff; border-radius: 50%; }
  .tbg__beat.tbg__b1 { background: #2b6cc4; color: #fff; border-radius: 8px; transform-origin: center; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
  .tbg__beat.is-ok { background: #2e9d5b !important; animation: tbgBeatOk .35s ease-out forwards; }
  .tbg__beat.is-bad { background: #555 !important; opacity: .45 !important; }
  @keyframes tbgBeatOk { to { filter: brightness(1.8); scale: 1.6; opacity: 0; } }
  .tbg__keys .tbg__k0 { background: #c8241c; color: #fff; border-radius: 50%; min-width: 96px; min-height: 96px; box-shadow: 0 6px 0 #7a140f; }
  .tbg__keys .tbg__k1 { background: #2b6cc4; color: #fff; border-radius: 14px; min-width: 110px; min-height: 96px; box-shadow: 0 6px 0 #173f78; }
  .tbg__keys .tbg__k0 small, .tbg__keys .tbg__k1 small { color: rgba(255,255,255,.85); }
  .tbg__keys button.is-hit { animation: tbgPress .18s ease-out; }
  @keyframes tbgPress { 50% { transform: translateY(5px) scale(.94); box-shadow: 0 1px 0 rgba(0,0,0,.4); } }
  .tbg__score { height: 34px; display: flex; justify-content: center; align-items: center; gap: 12px; }
  .tbg__judge { font: 900 26px var(--font-serif); letter-spacing: .1em; }
  .tbg__judge.is-great { color: #ffcf3a; text-shadow: 0 0 10px rgba(255,190,40,.8); } .tbg__judge.is-good { color: #fff; } .tbg__judge.is-miss { color: #8aa0b8; }
  .tbg__judge.is-pop { animation: tbgPop .3s ease-out; }
  @keyframes tbgPop { 0% { transform: scale(1.7); } 100% { transform: scale(1); } }
  .tbg__combo { color: #ffcf3a; font: 900 18px var(--font-sans); }
  .tbg__rhythm.is-great { animation: tbgGlow .25s ease-out; } .tbg__rhythm.is-miss { animation: tbgShake .25s; }
  @keyframes tbgGlow { 0% { box-shadow: 0 0 0 4px rgba(255,200,60,.9); } 100% { box-shadow: 0 0 0 0 rgba(255,200,60,0); } }
  @keyframes tbgShake { 25% { margin-left: -6px; } 75% { margin-left: 6px; } }
  .tbg__rnote { display: block; margin-top: 8px; font-size: 11px; color: #cbb; }
  .tbg__alarm { position: absolute; inset: 0; pointer-events: none !important; display: none; box-shadow: inset 0 0 120px rgba(200,20,10,.7); text-align: center; padding-top: 30%; }
  .tbg__alarm.is-on { display: block; animation: tbblink 1.2s infinite; } .tbg__alarm b { display: block; font-size: 22px; text-shadow: 0 2px 6px #000; } .tbg__alarm span { text-shadow: 0 2px 6px #000; }
  .tbg__intro { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14,26,32,.72); padding: 16px; overflow: auto; }
  .tbg__card { max-width: 560px; background: #f4e9cf; color: #3b2a1a; border-radius: 10px; padding: 20px 22px; border: 3px double #6b4a2b; }
  .tbg__card h2 { margin: 0; font: 900 34px var(--font-serif); color: #7a2e1f; } .tbg__era { margin: 2px 0 10px; font-weight: 700; } .tbg__card p { line-height: 1.75; }
  .tbg__honest { font-size: 13px; color: #6b5a46; border-top: 1px dashed #b89a6a; padding-top: 8px; } .tbg__help { font-size: 13px; }
  .tbg__go button { min-height: 52px; padding: 0 26px; border: 0; border-radius: 10px; background: #3b2a1a; color: #f4e9cf; font: 900 18px var(--font-serif); cursor: pointer; }
  /* 那時與現在（2026-10-01） */
  .tn { margin: 18px 0 26px; } .tn__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; } .tn__head h3 { margin: 0; font-family: var(--font-serif); font-size: 22px; }
  .tn__mode { display: inline-flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; } .tn__mode button { border: 0; background: none; padding: 0 14px; min-height: 40px; font: 700 14px var(--font-sans); cursor: pointer; color: var(--ink); } .tn__mode button.is-on { background: #3b2a1a; color: #f4e9cf; }
  .tn__side { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; } .tn__side figure { margin: 0; } .tn__side img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; display: block; }
  .tn__side figcaption { font-size: 13px; margin-top: 4px; }
  .tn__slide { position: relative; margin-top: 10px; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; touch-action: pan-y; cursor: ew-resize; user-select: none; }
  .tn__slide > img, .tn__clip img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
  .tn__clip { position: absolute; inset: 0 auto 0 0; overflow: hidden; } .tn__clip img { height: 100%; max-width: none; }
  .tn__bar { position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 6px rgba(0,0,0,.4); }
  .tn__bar span { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 900; }
  .tn__tag { position: absolute; top: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 8px; } .tn__tag--l { left: 8px; } .tn__tag--r { right: 8px; }
  .tn__note { margin: 8px 0 4px; line-height: 1.7; }
  /* 2026-10-16 排版改版：手機也左右並排；授權收進照片角落的「©」 */
  .tn__ph { position: relative; display: block; } .tn__ph img { display: block; }
  .tn__crs { position: absolute; right: 8px; bottom: 8px; z-index: 3; display: flex; gap: 6px; } .tn__crs .pcr { position: relative; right: auto; bottom: auto; }
  /* 拍攝機位推算（2026-10-18） */
  .tncam { margin-top: 10px; } .tncam__lead { margin: 0 0 10px; line-height: 1.7; max-width: 46em; }
  .tncam__figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 12px; }
  .tncam__fig { margin: 0; min-width: 0; } .tncam__fig figcaption { font-size: 13px; margin-top: 4px; display: flex; align-items: center; gap: 6px; }
  .tncam__ph { position: relative; overflow: hidden; border-radius: 2px; touch-action: pan-y; cursor: ew-resize; user-select: none; background: #e6ece9; }
  .tncam__ph:focus-visible { outline: 2px solid var(--dl-sea, #0c7078); outline-offset: 2px; }
  .tncam__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; display: block; }
  .tncam__top { position: absolute; inset: 0; } .tncam__ph svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
  .tncam__dl { fill: none; stroke: #d9a400; stroke-width: 2.5px; vector-effect: non-scaling-stroke; stroke-linejoin: round; } .tncam__pt { fill: #c2410c; }
  .tncam__bar { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.25); pointer-events: none; }
  .tncam__bar span { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 32px; height: 32px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 900; color: #14262b; }
  .tncam__k { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; } .tncam__k.is-old { background: #c2410c; } .tncam__k.is-now { background: #0c7078; }
  .tncam__tg { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 4px; min-height: 44px; font-size: 14px; cursor: pointer; }
  .tncam__two { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; margin-top: 8px; align-items: start; }
  @media (max-width: 760px) { .tncam__two { grid-template-columns: minmax(0, 1fr); } }
  .tncam__map { display: block; width: 100%; height: auto; border: 1px solid var(--dl-hair, #d5dcd8); }
  .tncam__sea { fill: #d7e7eb; } .tncam__land { fill: #e3e6d6; } .tncam__coast { fill: none; stroke: #3d5357; stroke-width: 1.3; }
  .tncam__cone path { fill-opacity: .16; stroke-width: 1.5; stroke-dasharray: 5 4; } .tncam__cone circle { stroke: #fff; stroke-width: 2.5; }
  .tncam__cone.is-old path, .tncam__cone.is-old circle { fill: #c2410c; stroke: #c2410c; } .tncam__cone.is-old circle { stroke: #fff; }
  .tncam__cone.is-now path, .tncam__cone.is-now circle { fill: #0c7078; stroke: #0c7078; } .tncam__cone.is-now circle { stroke: #fff; }
  .tncam__cone text { font: 700 30px var(--font-sans); } .tncam__cone text.is-s { text-anchor: start; } .tncam__cone text.is-e { text-anchor: end; } .tncam__cone.is-old text { fill: #c2410c; stroke: none; } .tncam__cone.is-now text { fill: #0c7078; stroke: none; }
  .tncam__lb { font: 500 26px var(--font-sans); fill: #14262b; text-anchor: middle; } .tncam__lb.is-s { text-anchor: start; } .tncam__ink { fill: #14262b; } .tncam__scale { stroke: #14262b; stroke-width: 3; }
  .tncam__info h4 { margin: 0 0 4px; font-family: var(--dl-serif, var(--font-serif)); font-size: 17px; } .tncam__info p { margin: 0 0 12px; line-height: 1.7; }
  .tncam__info .tncam__st { margin-bottom: 6px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .tncam__sm { font-size: 12.5px; color: var(--dl-ink2, #5d6d70); }
  .tncam__na img { display: block; width: 100%; height: auto; border-radius: 2px; opacity: .85; }
  .tncam__how { margin-top: 12px; font-size: 13.5px; color: var(--dl-ink2, #5d6d70); } .tncam__how summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--dl-ink, #14262b); font-weight: 700; }
  .tncam__how ol { margin: 0 0 8px; padding-left: 1.4em; line-height: 1.7; } .tncam__how p { margin: 0 0 6px; line-height: 1.7; }
  @media (max-width: 560px) { .tn__side { gap: 6px; } .tn__side figcaption { font-size: 12px; } }
  /* 集章冊（2026-10-01） */
  .stb { background: linear-gradient(180deg, #efe3c6, #e6d3aa); border-radius: 14px; padding: 16px; color: #3b2a1a; }
  .stb__isles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .stb__isle { min-height: 52px; border-radius: 8px; border: 1.5px solid #b89a6a; background: #f6ecd4; color: #3b2a1a; font: inherit; cursor: pointer; display: grid; place-content: center; }
  .stb__isle b { font-family: var(--font-serif); font-size: 16px; } .stb__isle small { font-family: "Courier New", monospace; font-size: 12px; }
  .stb__isle.is-on { background: #3b2a1a; color: #f4e9cf; border-color: #3b2a1a; } .stb__isle.is-done { box-shadow: inset 0 0 0 2px #a31f14; }
  .stb__titles { margin: 10px 0 0; font: 900 16px var(--font-serif); color: #a31f14; }
  .stb__bar { height: 6px; background: rgba(59,42,26,.15); border-radius: 3px; margin: 10px 0 6px; overflow: hidden; } .stb__bar i { display: block; height: 100%; background: #a31f14; }
  .stb__hint { margin: 0 0 10px; font-size: 14px; }
  .stb__locate { width: 100%; min-height: 50px; border-radius: 10px; border: 0; background: #3b2a1a; color: #f4e9cf; font: 800 16px var(--font-sans); cursor: pointer; }
  .stb__msg { margin: 8px 0 0; font-weight: 700; color: #7a2e1f; }
  .stb__near { display: grid; gap: 6px; margin-top: 10px; }
  .stb__nrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #f6ecd4; border: 1px solid #d6c29a; }
  .stb__nrow.is-can { border: 2px solid #a31f14; background: #fff6e8; } .stb__nrow b { display: block; } .stb__nrow small { color: #6b5a46; }
  .stb__go { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 0; background: #a31f14; color: #fff; font: 900 16px var(--font-serif); cursor: pointer; } .stb__go:disabled { background: #c9b48c; cursor: default; font-size: 13px; }
  .stb__book { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 14px; padding: 12px; border-radius: 10px; background: #f4e9cf; box-shadow: inset 0 0 20px rgba(120,80,30,.25); }
  .stb__slot { aspect-ratio: 1; min-width: 0; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
  .stb__empty, .stb__stamp { box-sizing: border-box; overflow: hidden; overflow-wrap: anywhere; }
  .stb__empty { width: 92%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed #b89a6a; display: grid; place-content: center; text-align: center; color: #9a8159; padding: 6px; }
  .stb__empty b { font: 700 12px/1.3 var(--font-serif); } .stb__empty small { font: 11px "Courier New", monospace; }
  .stb__stamp { width: 92%; aspect-ratio: 1; border-radius: 50%; border: 3px double rgba(163,31,20,.85); color: rgba(163,31,20,.9); display: grid; place-content: center; text-align: center; padding: 6px; background: radial-gradient(circle, rgba(255,255,255,.25), transparent 70%); mix-blend-mode: multiply; animation: stIn .35s ease-out; }
  .stb__stamp b { font: 900 13px/1.25 var(--font-serif); } .stb__stamp small { font: 700 10px "Courier New", monospace; }
  .stb__empty b, .stb__stamp b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.3; }   /* 名稱最多兩行、各章字級一致 */
  @keyframes stIn { from { transform: scale(1.6); opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .stb__stamp { animation: none; } }
  .stb__sel { margin-top: 12px; background: #fffaf0; border-radius: 10px; padding: 10px 12px; border: 1px dashed #b89a6a; }
  @media (max-width: 480px) { .stb__book { grid-template-columns: repeat(3, 1fr); } }
  /* 每週馬祖小測驗（2026-10-01） */
  .today__c--quiz { display: block; text-decoration: none; color: inherit; background: linear-gradient(120deg, #eef0ff, #fff); }
  .qz__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; } .qz__prog { margin-left: auto; color: var(--ink-muted); font-weight: 700; }
  .qz__title { background: #fff1c9; color: #8a5a00; }
  .qz__card { background: var(--surface-raised, #fff); border-radius: 18px; padding: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.08); max-width: 640px; margin: 0 auto; }
  .qz__top, .qz > div:not(.qz__card):not(.qz__top) { max-width: 640px; margin-left: auto; margin-right: auto; }
  .qz__ch { display: flex; align-items: baseline; gap: 8px; } .qz__ch .qz__kind { margin: 0; } .qz__n { margin-left: auto; font-size: 13.5px; font-weight: 800; color: var(--ink-muted); }
  .qz__dots { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin: 8px 0 12px; } .qz__dots i { height: 5px; border-radius: 99px; background: var(--surface-sunken, #e8ecec); } .qz__dots i.is-done { background: #8cc4cb; } .qz__dots i.is-now { background: #1d6f7a; }
  .qz__kind { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: #1d6f7a; }
  .qz__img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 12px; display: block; margin-bottom: 10px; }
  .qz__q { margin: 0 0 12px; font-size: 19px; font-weight: 800; line-height: 1.5; }
  .qz__opts { display: grid; gap: 8px; }
  .qz__opt { min-height: 52px; text-align: left; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface, #fff); font: 700 16px var(--font-sans); color: var(--ink); cursor: pointer; }
  .qz__opt:hover { border-color: #1d6f7a; } .qz__opt.is-on { background: #1d6f7a; color: #fff; border-color: #1d6f7a; }
  .qz__back { margin-top: 10px; border: 0; background: none; color: var(--ink-muted); font: inherit; cursor: pointer; min-height: 40px; }
  .qz__score { font-size: 20px; font-weight: 800; margin: 4px 0 8px; } .qz__score b { font-size: 56px; color: #1d6f7a; } .qz__score span { margin-left: 12px; font-size: 18px; }
  .qz__acts { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
  .qz__line, .qz__copy { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 12px; font: 800 15px var(--font-sans); text-decoration: none; cursor: pointer; border: 0; }
  .qz__line { background: #06c755; color: #fff; } .qz__copy { background: var(--surface-sunken); color: var(--ink); }
  .qz__rev { border-radius: 14px; padding: 12px 14px; margin-top: 10px; background: var(--surface-raised, #fff); border-left: 5px solid #d9534f; }
  .qz__rev.is-ok { border-left-color: #2e9d5b; } .qz__rev .qz__q { font-size: 16px; margin-bottom: 4px; }
  .qz__revrow { display: flex; gap: 12px; align-items: flex-start; } .qz__revrow img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; flex: none; }
  /* 藍眼淚到場回報（2026-10-01） */
  .bt { background: linear-gradient(180deg, #071a26, #0b2536); color: #d6f6ff; border-radius: 18px; padding: 16px; }
  .bt .dy-section-head, .bt h2, .bt .dy-head__title { color: #e9fbff; } .bt .dy-section-head__meta { color: #9cc7d4; }
  .bt__probs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0; }
  .bt__prob { background: rgba(255,255,255,.06); border-radius: 12px; padding: 8px 10px; display: grid; }
  .bt__prob small { color: #9cc7d4; } .bt__prob b { font-size: 26px; color: #5ff2ff; text-shadow: 0 0 10px rgba(95,242,255,.5); } .bt__prob b.is-off { color: #7a8a94; text-shadow: none; font-size: 20px; }
  .bt__prob span { font-size: 11px; color: #9cc7d4; }
  .bt__note { font-size: 12px; color: #9cc7d4; margin: 4px 0 10px; }
  .bt__zones { display: flex; gap: 6px; margin-bottom: 8px; } .bt__zones button { flex: 1; min-height: 40px; border-radius: 10px; border: 1px solid #2c5566; background: #0f3142; color: #cfefff; font: 700 14px var(--font-sans); cursor: pointer; }
  .bt__zones button.is-on { background: #2ef0ff; color: #04212b; border-color: #2ef0ff; }
  .bt__map { height: 380px; border-radius: 14px; overflow: hidden; background: #0d1a22; }
  .btpin i { position: absolute; inset: 4px; border-radius: 50%; background: #4b5d68; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
  .btpin b { position: absolute; left: 16px; top: -8px; font: 700 11px var(--font-sans); color: #fff; background: rgba(0,0,0,.6); border-radius: 8px; padding: 0 5px; }
  .btpin--0 i { background: #7a8a94; } .btpin--1 i { background: #5fd7e6; box-shadow: 0 0 8px 2px rgba(95,215,230,.6); }
  .btpin--2 i { background: #2ef0ff; box-shadow: 0 0 14px 5px rgba(46,240,255,.7); animation: btglow 2.4s ease-in-out infinite; }
  .btpin--3 i { background: #c8ffff; box-shadow: 0 0 20px 8px rgba(120,250,255,.85); animation: btglow 1.8s ease-in-out infinite; }
  @keyframes btglow { 50% { box-shadow: 0 0 6px 2px rgba(46,240,255,.4); } }
  @media (prefers-reduced-motion: reduce) { .btpin i { animation: none !important; } }
  .bt__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: #9cc7d4; margin: 8px 0; }
  .btdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #4b5d68; margin-right: 4px; vertical-align: -1px; }
  .btdot--0 { background: #7a8a94; } .btdot--1 { background: #5fd7e6; } .btdot--2 { background: #2ef0ff; box-shadow: 0 0 6px #2ef0ff; } .btdot--3 { background: #c8ffff; box-shadow: 0 0 8px #8ff; }
  .bt__pick { background: rgba(255,255,255,.07); border-radius: 12px; padding: 10px 12px; margin: 8px 0; }
  .bt__pick .today__m { color: #b9dbe5; } .bt__pick a { color: #7ff3ff; }
  .bt__go, .bt__big { border: 0; border-radius: 14px; font: 800 16px var(--font-sans); cursor: pointer; min-height: 48px; }
  .bt__go { background: #2ef0ff; color: #04212b; padding: 0 16px; }
  .bt__big { display: block; width: 100%; margin-top: 10px; background: linear-gradient(90deg, #2ef0ff, #8af7ff); color: #04212b; box-shadow: 0 0 18px rgba(46,240,255,.45); }
  .bt__big:disabled { opacity: .5; cursor: default; }
  .bt__msg { margin: 8px 0 0; color: #ffe08a; font-weight: 700; }
  .bt__list { list-style: none; margin: 0; padding: 0; } .bt__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .bt__list em { font-style: normal; font-weight: 700; } .bt__list time { margin-left: auto; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
  .bt__list small { background: #e6f0f1; color: #1d6f7a; border-radius: 8px; padding: 0 6px; } .bt__list p { width: 100%; margin: 0; font-size: 13px; color: var(--ink-muted); }
  .bt__form, .bt__form * { box-sizing: border-box; }
  .bt__form { position: relative; width: min(440px, 94vw); max-height: 92dvh; overflow: auto; background: #0b2536; color: #e9fbff; border-radius: 18px; padding: 20px; }
  .bt__form .sp__x { position: absolute; right: 10px; top: 10px; } .bt__form h3 { margin: 0 0 8px; }
  .bt__form select, .bt__form input { width: 100%; min-height: 44px; border-radius: 10px; border: 1px solid #2c5566; background: #0f3142; color: #fff; padding: 0 10px; font: inherit; }
  .bt__lb { display: block; margin: 12px 0 6px; font-size: 13px; color: #9cc7d4; }
  .bt__lvs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .bt__lv { min-height: 48px; border-radius: 12px; border: 1.5px solid #2c5566; background: #0f3142; color: #e9fbff; font: 700 14px var(--font-sans); cursor: pointer; }
  .bt__lv.is-on { border-color: #2ef0ff; background: #12465a; box-shadow: 0 0 10px rgba(46,240,255,.4); }
  .bt__form .today__m { color: #b9dbe5; }
  @media (max-width: 560px) { .bt__probs { grid-template-columns: repeat(2, 1fr); } .bt__map { height: 320px; } }
  /* 今天的馬祖（首頁）、潮間帶小幫手、馬祖一年（2026-10-01） */
  .today__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
  .today__c { background: var(--surface-raised, #fff); border-radius: 14px; padding: 12px 14px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
  .today__c--tide { background: linear-gradient(120deg, #fff4d6, #fff); } .today__c--tear { background: linear-gradient(120deg, #e3f6ff, #fff); }
  .today__c--season { background: linear-gradient(120deg, #fde8ec, #fff); }
  .today__h { margin: 0 0 4px; font-weight: 800; font-size: 16px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
  .today__m { margin: 0 0 4px; font-size: 14px; color: var(--ink-muted); line-height: 1.6; }
  .today__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
  .today__thumbs a { display: grid; gap: 2px; width: 66px; text-decoration: none; color: var(--ink); font-size: 12px; text-align: center; }
  .today__thumbs img { width: 66px; height: 66px; object-fit: cover; border-radius: 10px; }
  .today__thumbs span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .today__more { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 700; }
  .today__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
  .chipish { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #e6f0f1; color: #1d6f7a; text-decoration: none; }
  .it__isles { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
  .tidechart { width: 100%; max-width: 640px; height: auto; display: block; background: #fbfbf7; border-radius: 12px; }
  .it__legend { font-size: 12px; color: var(--ink-muted); margin: 6px 0 10px; } .it__sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -2px; margin-right: 3px; }
  .it__sw--day { background: #fff7dc; border: 1px solid #eadfb8; } .it__sw--go { background: rgba(245,197,66,.55); }
  .it__week { display: grid; gap: 6px; }
  .it__day { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 8px 12px; border-radius: 10px; background: var(--surface-sunken); min-height: 44px; }
  .it__day.is-good { background: #fff4d6; } .it__day b { width: 46px; }
  .it__rng { font-size: 12px; color: var(--ink-muted); width: 36px; }
  .it__win { font-weight: 800; font-variant-numeric: tabular-nums; } .it__win small { font-weight: 400; color: var(--ink-muted); margin-left: 6px; font-size: 12px; }
  .it__none { color: var(--ink-muted); font-size: 13px; }
  .it__spot { padding: 10px 0; border-bottom: 1px dashed var(--line); }
  .it__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
  .it__sp { display: grid; gap: 3px; text-decoration: none; color: var(--ink); } .it__sp img, .it__ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
  .it__ph { display: grid; place-items: center; background: var(--surface-sunken); font: 900 28px var(--font-serif); color: var(--ink-muted); }
  .it__sp b { font-size: 13px; line-height: 1.3; } .it__sp small { font-size: 11px; color: var(--ink-muted); }
  .it__safe ul { margin: 6px 0 0; padding-left: 20px; line-height: 1.8; }
  .yr { overflow-x: clip; }       /* 十二欄是等分的，不會超出；原本的 auto 會多出一條用不到的拖移條 */
  .yr__grid { display: grid; grid-template-columns: 112px repeat(12, minmax(0, 1fr)); gap: 0 2px; align-items: center; position: relative; }
  @media (max-width: 560px) { .yr__grid { grid-template-columns: 62px repeat(12, minmax(0, 1fr)); gap: 0 1px; } .yr__head span { font-size: 10px; } .yr__bar { font-size: 10px; padding: 0 3px; } .yr__name { font-size: 11px; line-height: 13px; white-space: normal; overflow: visible; padding-right: 2px; } }
  .yr__head span { text-align: center; font-size: 12px; color: var(--ink-muted); padding: 4px 0; } .yr__head span.is-now { color: #d9534f; font-weight: 800; }
  .yr__lb { margin: 12px 0 4px; font-weight: 800; } .yr__cal { margin: 0 0 var(--space-6, 32px); font-weight: 700; }
  .yr__sec--fold > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; }
  .yr__sec--fold > summary::-webkit-details-marker { display: none; }
  .yr__sec--fold > summary::after { content: '展開 ▾'; margin-left: auto; font-size: 13px; font-weight: 700; color: var(--tide); }
  .yr__sec--fold[open] > summary::after { content: '收合 ▴'; }
  .yr__cnt { font-size: 13px; font-weight: 400; color: var(--ink-muted); }
  .yr__row { min-height: 30px; } .yr__name { font-size: 12px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 6px; }
  .yr__bar { grid-row: 1; height: 24px; border-radius: 7px; border: 0; color: #fff; font: 700 11px var(--font-sans); text-align: left; padding: 0 6px; white-space: nowrap; overflow: hidden; cursor: pointer; position: relative; z-index: 1; }
  .yr__name { grid-row: 1; grid-column: 1; }
  /* 手機左欄只有 62 像素：名稱折成兩行，不截斷（要放在上面那條通用規則之後才蓋得過） */
  @media (max-width: 560px) { .yr__name { font-size: 11px; line-height: 13px; white-space: normal; overflow: visible; text-overflow: clip; padding-right: 3px; } .yr .yr__grid { grid-template-columns: 76px repeat(12, minmax(0, 1fr)); } .yr__row { min-height: 34px; padding: 2px 0; } }
  .yr__bar--fest { background: #c94a3a; } .yr__bar--nature { background: #d36a8c; } .yr__bar--tear { background: #1fa8c0; } .yr__bar--fog { background: #8c96a0; } .yr__bar--sea { background: #2d7fb8; }
  .yr__bar.is-approx { background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.22) 0 4px, transparent 4px 8px); outline: 1.5px dashed rgba(0,0,0,.25); outline-offset: -2px; }
  .yr__bar.is-on { box-shadow: 0 0 0 3px #f5c542; }
  .yr__now { grid-row: 1; align-self: stretch; background: rgba(217,83,79,.10); border-left: 2px solid rgba(217,83,79,.6); pointer-events: none; }
  .yr__pick { position: sticky; bottom: 70px; margin-top: 12px; background: var(--surface-raised, #fff); border-radius: 14px; padding: 12px 14px; box-shadow: 0 4px 16px rgba(0,0,0,.18); z-index: 5; }
  /* 馬祖老物件：復古卡（使用者 2026-10-01：要復古風格、有別於生物誌的閃卡）。泛黃紙、雙線框、褐色老照片、活字編號、紅印章 */
  .otc { --ink: #3b2a1a; --paper: #efe3c6; --edge: #6b4a2b; box-sizing: border-box; position: relative; aspect-ratio: 63 / 88; border-radius: 6px; padding: 4.5%;
    container-type: inline-size; color: var(--ink); text-align: left; overflow: hidden;
    background:
      radial-gradient(circle at 18% 12%, rgba(255,255,255,.35), transparent 40%),
      radial-gradient(circle at 85% 92%, rgba(120,80,30,.22), transparent 45%),
      repeating-linear-gradient(0deg, rgba(90,60,20,.035) 0 1px, transparent 1px 3px),
      linear-gradient(160deg, #f4e9cf, #e6d3aa 70%, #d9c190);
    box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 2px 5px rgba(60,40,15,.25), 0 10px 20px -12px rgba(60,40,15,.5); transition: transform .25s, box-shadow .25s; }
  .otc__in { box-sizing: border-box; height: 100%; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 2.2cqw; padding: 3.2cqw; border: 1.2cqw double var(--edge); border-radius: 3px; }
  .otc__top { display: flex; align-items: center; gap: 2cqw; font-family: "Courier New", ui-monospace, monospace; font-size: 5.6cqw; }
  .otc__no { font-weight: 700; letter-spacing: .06em; }
  .otc__cat { flex: 1; min-width: 0; font-family: var(--font-serif); font-size: 5cqw; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .otc__glyph { flex: none; width: 10cqw; height: 10cqw; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-serif); font-weight: 900; font-size: 6cqw;
    color: #f4e9cf; background: #7a2e1f; box-shadow: 0 0 0 .6cqw #f4e9cf, 0 0 0 1cqw #7a2e1f; }
  .otc__photo { position: relative; flex: 0 1 auto; min-height: 24cqw; aspect-ratio: 4 / 3; background: #d6c29a; padding: 2cqw; box-shadow: inset 0 0 0 .4cqw rgba(80,50,20,.35); }
  .otc__photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: sepia(.55) saturate(.8) contrast(1.05) brightness(.97); }
  .otc__corner { position: absolute; width: 7cqw; height: 7cqw; background: #4a3220; }
  .otc__corner--tl { left: 0; top: 0; clip-path: polygon(0 0, 100% 0, 0 100%); } .otc__corner--tr { right: 0; top: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
  .otc__corner--bl { left: 0; bottom: 0; clip-path: polygon(0 0, 0 100%, 100% 100%); } .otc__corner--br { right: 0; bottom: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
  .otc__name { flex: none; margin: 0; font-family: var(--font-serif); font-weight: 900; font-size: 8.2cqw; line-height: 1.25; letter-spacing: .04em; border-bottom: .5cqw solid rgba(80,50,20,.45); padding-bottom: 1.4cqw;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .otc__name--l { font-size: 6.8cqw; letter-spacing: .02em; } .otc__name--xl { font-size: 5.9cqw; letter-spacing: 0; }   /* 名稱長就縮字，最多兩行（2026-10-03 使用者：有些字看不到） */
  .otc__meta { flex: none; margin: 0; font-family: "Courier New", ui-monospace, monospace; font-size: 4.8cqw; opacity: .85; }
  .otc__sum { margin: 0; flex: none; font-family: var(--font-serif); font-size: 4.7cqw; line-height: 1.5; max-height: 4.5em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }   /* 固定三行完整顯示，空間不夠時讓照片變矮，不切半行字 */
  .otc__foot { flex: none; margin-top: auto; display: flex; justify-content: space-between; font-size: 3.8cqw; letter-spacing: .05em; opacity: .7; border-top: .4cqw dashed rgba(80,50,20,.5); padding-top: 1.2cqw; }
  .otc__rare { position: absolute; right: 7%; top: 38%; transform: rotate(-14deg); font-family: var(--font-serif); font-weight: 900; font-size: 6.4cqw; color: rgba(170,30,20,.82);
    border: .9cqw solid rgba(170,30,20,.75); border-radius: 2cqw; padding: .6cqw 2.4cqw; letter-spacing: .1em; mix-blend-mode: multiply; }
  .otc__seen { position: absolute; left: 6%; top: 36%; width: 20cqw; height: 20cqw; border-radius: 50%; display: grid; place-items: center; transform: rotate(12deg);
    font-family: var(--font-serif); font-weight: 900; font-size: 6.2cqw; color: rgba(30,90,120,.85); border: .9cqw double rgba(30,90,120,.8); mix-blend-mode: multiply; }
  .otc--big { width: 100%; }
  .culth { display: grid; gap: 12px; margin-top: 18px; }
  .culth__h { display: flex; align-items: baseline; gap: 12px; padding: 12px 16px; border-radius: 14px; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.18), transparent 50%), var(--c); }
  .culth__h b { font-family: var(--font-serif); font-size: 20px; font-weight: 900; } .culth__h span { font-size: 13px; opacity: .9; }
  .mergebar { padding-top: 14px; }
  .mergeseg { display: flex; gap: 4px; background: var(--surface-sunken, #ece7de); padding: 4px; border-radius: 14px; overflow-x: auto; scrollbar-width: none; }
  .mergeseg button { flex: 1 0 auto; border: 0; background: none; border-radius: 10px; padding: 9px 14px; min-height: 40px; font: inherit; font-size: 14px; color: var(--ink-muted, #5a6a6d); cursor: pointer; white-space: nowrap; }
  .mergeseg button.is-on { background: var(--surface-raised, #fff); color: var(--ink, #1b2426); font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
  .mergeseg button:focus-visible { outline: 2px solid var(--focus, #0b5fd0); }
  .depseg { margin: 0 0 -4px; }
  /* 首頁改版（2026-10-03）：島況詳情（原本的天空與海）收在可展開的區塊；佈告欄只留最新一則 */
  .homego { display: flex; justify-content: center; margin: var(--space-4) 0 var(--space-6); }
  .homesky { margin: 0 0 var(--space-4, 16px); border: 1px solid var(--line, #dcd6cb); border-radius: 14px; background: var(--surface-raised, #fff); }
  .homesky > summary { cursor: pointer; list-style: none; padding: 12px 14px; font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
  .homesky > summary::-webkit-details-marker { display: none; }
  .homesky > summary::after { content: "展開 ▾"; font-weight: 500; font-size: 13px; color: var(--tide, #0c7078); }
  .homesky[open] > summary::after { content: "收起 ▴"; }
  .homesky__in { padding: 0 14px 14px; display: grid; gap: 12px; }
  .homeboard { all: unset; box-sizing: border-box; cursor: pointer; margin-top: 12px; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px; background: var(--surface-raised, #fff); box-shadow: 0 1px 2px rgba(27,36,38,.06), 0 6px 16px rgba(27,36,38,.06); }
  .homeboard:focus-visible { outline: 2px solid var(--focus, #0b5fd0); }
  .homeboard__k { flex: none; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 8px; background: var(--surface-sunken, #ece7de); color: var(--ink-muted, #5a6a6d); }
  .homeboard__t { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-muted, #5a6a6d); }
  .homeboard__t b { color: var(--ink, #1b2426); }
  .homeboard__go { flex: none; font-size: 13px; color: var(--tide, #0c7078); font-weight: 700; }
  /* 走進歷史、我的馬祖（2026-10-03 改版） */
  .hub__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
  /* 遊戲卡：左邊文字、右邊封面圖往左淡進底色（2026-10-03 使用者） */
  .hubgame { all: unset; box-sizing: border-box; cursor: pointer; position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: 180px;
    border-radius: 18px; color: #fff; background: var(--c); box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); transition: transform .2s; isolation: isolate; }
  .hubgame:hover, .hubgame:focus-visible { transform: translateY(-3px); } .hubgame:focus-visible { outline: 3px solid #ffd166; outline-offset: 3px; }
  .hubgame__img { position: absolute; top: 0; right: 0; width: 66%; height: 100%; object-fit: cover; z-index: -1;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 28%, #000 60%); mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 28%, #000 60%);
    transition: transform .5s; }
  .hubgame:hover .hubgame__img { transform: scale(1.04); }
  .hubgame__txt { display: grid; gap: 6px; max-width: 64%; padding: 18px; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
  .hubgame b { font-family: var(--font-serif); font-size: 21px; font-weight: 900; line-height: 1.3; }
  .hubgame__era { font-size: 12.5px; letter-spacing: .06em; opacity: .9; white-space: nowrap; }
  .hubgame__d { font-size: 14px; line-height: 1.55; opacity: .95; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.1em; }
  .hubgame__go { font-size: 13px; font-weight: 700; margin-top: 4px; }
  .hubgame::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to right, color-mix(in srgb, var(--c) 92%, #000) 0%, color-mix(in srgb, var(--c) 60%, transparent) 46%, transparent 72%); }
  .hubgame__tag { position: absolute; top: 12px; right: 12px; } .hubgame__tag .lnch { margin: 0; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
  @media (max-width: 560px) { .hubgame { min-height: 168px; } .hubgame__img { width: 74%; } .hubgame__txt { max-width: 70%; padding: 16px; } .hubgame b { font-size: 20px; } .hubgame__d { font-size: 13px; }
    .hubgame::after { background: linear-gradient(to right, color-mix(in srgb, var(--c) 94%, #000) 0%, color-mix(in srgb, var(--c) 78%, transparent) 58%, transparent 86%), linear-gradient(to top, rgba(0,0,0,.45), transparent 60%); } }
  .mine { display: grid; gap: 12px; padding: 16px; border-radius: 20px; background: linear-gradient(140deg, #23464f, #0f2e36); color: #e8f1f0; }
  /* 五張卡平分整排（原本靠左排、右邊三分之一是空的）；每張上面是剪紙插畫、下面是數字與說明 */
  .mine__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .mine__t { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.08); min-width: 0; transition: transform .18s ease, box-shadow .18s ease; }
  .mine__t:hover, .mine__t:focus-visible { background: rgba(255,255,255,.14); transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.28); } .mine__t:focus-visible { outline: 2px solid #ffd166; outline-offset: 2px; }
  .mine__art { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: #2c4f58; }
  .mine__art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; transition: transform .5s ease; }
  .mine__t:hover .mine__art img { transform: scale(1.06); }
  .mine__tx { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; flex: 1; }
  .mine__tx b { font-family: var(--font-mono, monospace); font-size: 26px; line-height: 32px; font-weight: 600; } .mine__tx > span { font-weight: 700; font-size: 15px; }
  .mine__tx small { font-size: 12px; color: #9fb6b8; } .mine__tx em { font-style: normal; font-size: 11px; color: #9fb6b8; opacity: .8; }
  .mine__go { font-style: normal; font-size: 12px; font-weight: 700; color: #ffd166; margin-top: auto; padding-top: 8px; }      /* 五張卡的「打開」對齊在同一條線上 */
  @media (prefers-reduced-motion: reduce) { .mine__t, .mine__art img { transition: none; } .mine__t:hover { transform: none; } .mine__t:hover .mine__art img { transform: none; } }
  @media (max-width: 1000px) { .mine__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  /* 手機：一張一列，左邊字、右邊圖 */
  @media (max-width: 620px) {
    .mine__grid { grid-template-columns: 1fr; gap: 10px; }
    .mine__t { flex-direction: row-reverse; min-height: 104px; }
    .mine__art { aspect-ratio: auto; width: 44%; flex: none; } .mine__art img { object-position: 78% 50%; }
    .mine__tx { padding: 12px 14px; justify-content: center; } .mine__go { margin-top: 0; } .mine__tx b { font-size: 22px; line-height: 28px; }
  }
  .mine__login { margin: 0; font-size: 13px; color: #cfe0e2; } .mine__login a { color: #ffd166; }
  /* 稀有度（2026-10-03）：N 素面泛黃紙／R 銀框銀角＋銀光／SR 燙金框金角＋金粉／UR 朱漆金框＋流動虹彩膜＋「傳說」印 */
  .otc__rk { position: absolute; z-index: 2; left: 3cqw; top: 3cqw; display: inline-flex; align-items: baseline; gap: 1.2cqw; padding: .6cqw 2.2cqw; border-radius: 1.4cqw; background: rgba(40,28,14,.82); color: #f4e9cf; font-family: "Courier New", ui-monospace, monospace; }
  .otc__rk b { font-size: 5.6cqw; font-weight: 900; letter-spacing: .04em; } .otc__rk i { font-style: normal; font-size: 3.8cqw; letter-spacing: -.05em; color: #e9c46a; }
  .otc__foil { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; background-size: 260% 100%; animation: otcSheen 6s ease-in-out infinite; mix-blend-mode: soft-light; }
  @keyframes otcSheen { 0%, 100% { background-position: 110% 0; } 50% { background-position: -10% 0; } }
  .otc--rk-R, .otc--rk-SR, .otc--rk-UR { }
  .otc--rk-R::after, .otc--rk-SR::after, .otc--rk-UR::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; }   /* 框畫在卡片裡面：卡片自己的 cqw 會參照外層，框會變巨大 */
  .otc--rk-R { --edge: #7d848a; }
  .otc--rk-R::after { box-shadow: inset 0 0 0 1.4cqw #b9bec3, inset 0 0 0 1.8cqw #eef1f3; }
  .otc--rk-R .otc__corner { background: linear-gradient(135deg, #e4e7ea, #8a9096); }
  .otc--rk-R .otc__rk { background: linear-gradient(135deg, #5d646a, #9aa1a7); }
  .otc--rk-R .otc__foil { background-image: linear-gradient(115deg, transparent 35%, rgba(235,240,245,.75) 48%, rgba(190,200,210,.5) 52%, transparent 65%); }
  .otc--rk-SR { --edge: #9a7424; box-shadow: 0 2px 5px rgba(60,40,15,.3), 0 10px 22px -10px rgba(120,80,10,.6); }
  .otc--rk-SR::after { box-shadow: inset 0 0 0 1.6cqw #c9a03e, inset 0 0 0 2.3cqw #f3d98a; }
  .otc--rk-SR::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(#d9ad3c 1px, transparent 1.4px) 0 0 / 9px 11px, radial-gradient(#f5dc8f 1px, transparent 1.4px) 4px 6px / 13px 9px; opacity: .45; }
  .otc--rk-SR .otc__corner { background: linear-gradient(135deg, #fbe7a1, #b8862b 60%, #f3d07a); }
  .otc--rk-SR .otc__rk { background: linear-gradient(135deg, #8a6418, #d9ad3c); color: #2b1d05; } .otc--rk-SR .otc__rk i { color: #fff3c4; }
  .otc--rk-SR .otc__name { background: linear-gradient(180deg, #8a6418, #3b2a1a 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .otc--rk-SR .otc__foil { background-image: linear-gradient(115deg, transparent 32%, rgba(255,226,140,.85) 46%, rgba(255,250,220,.7) 50%, transparent 64%); }
  .otc--rk-UR { --edge: #c9a03e; padding: 6.2%; background:
      radial-gradient(circle at 18% 12%, rgba(255,255,255,.35), transparent 40%),
      repeating-linear-gradient(0deg, rgba(90,60,20,.035) 0 1px, transparent 1px 3px),
      linear-gradient(160deg, #f6ead0, #e8d3a4 70%, #dcbf86);
    box-shadow: 0 0 26px rgba(201,160,62,.5), 0 12px 26px -10px rgba(90,20,10,.6); }
  .otc--rk-UR::after { box-shadow: inset 0 0 0 3cqw #7a1f17, inset 0 0 0 3.7cqw #e2b851; }
  .otc--rk-UR .otc__in { border-color: #c9a03e; }
  .otc--rk-UR .otc__corner { background: linear-gradient(135deg, #fbe7a1, #7a1f17 70%); }
  .otc--rk-UR .otc__rk { background: linear-gradient(135deg, #7a1f17, #b8352a); color: #fbe7a1; }
  .otc--rk-UR .otc__foil { mix-blend-mode: overlay; opacity: .55; background-image: linear-gradient(115deg, rgba(255,120,120,.0) 20%, rgba(255,170,120,.55) 32%, rgba(255,240,140,.55) 40%, rgba(140,255,200,.5) 48%, rgba(120,190,255,.55) 56%, rgba(200,140,255,.5) 64%, rgba(255,120,120,0) 76%); animation-duration: 4.5s; }
  .otc__rare--in { top: auto; right: 2.4cqw; bottom: 2.4cqw; z-index: 2; font-size: 5.6cqw; transform: rotate(-12deg); }
  .otc__rare--SR { color: rgba(140,95,15,.9); border-color: rgba(160,110,20,.85); }
  .otc__rare--UR { color: #fff3c4; background: rgba(150,30,20,.88); border-color: #e2b851; mix-blend-mode: normal; }
  @media (prefers-reduced-motion: reduce) { .otc__foil { animation: none; } }
  .ot__rks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .ot__rkb { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #d8c8a4; background: #fbf5e6; color: #3b2a1a; border-radius: 999px; padding: 5px 12px; min-height: 36px; cursor: pointer; font: inherit; font-size: 13px; }
  .ot__rkb b { font-family: "Courier New", ui-monospace, monospace; font-weight: 900; }
  .ot__rkb small { opacity: .65; font-variant-numeric: tabular-nums; }
  .ot__rkb.is-on { background: #3b2a1a; color: #f4e9cf; border-color: #3b2a1a; }
  .ot__rkb--UR b { color: #b8352a; } .ot__rkb--SR b { color: #9a7424; } .ot__rkb--R b { color: #6d747a; }
  .ot__rkb.is-on b { color: inherit; }
  .ot__rkwhy { display: grid; gap: 4px; border-left: 4px solid #c9b48a; background: #fbf5e6; border-radius: 0 10px 10px 0; padding: 10px 14px; margin: 6px 0 10px; }
  .ot__rkwhy b { font-family: "Courier New", ui-monospace, monospace; } .ot__rkwhy span { font-size: 14px; line-height: 1.6; } .ot__rkwhy small { font-size: 12px; color: #7a6a52; line-height: 1.5; }
  .ot__rkwhy--UR { border-color: #b8352a; } .ot__rkwhy--SR { border-color: #c9a03e; } .ot__rkwhy--R { border-color: #9aa1a7; }
  .ot__cardbtn { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; }
  .ot__cardbtn:hover .otc { transform: translateY(-3px) rotate(-.6deg); box-shadow: 0 2px 5px rgba(60,40,15,.25), 0 16px 26px -12px rgba(60,40,15,.55); }
  .ot__cardbtn:focus-visible .otc { outline: 3px solid #7a2e1f; outline-offset: 3px; }
  .ot__cards, .ot__album { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px 14px; }
  .ot__album { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px 10px; padding: 16px; border-radius: 10px;
    background: repeating-linear-gradient(90deg, rgba(60,35,15,.05) 0 2px, transparent 2px 14px), linear-gradient(#5b3b22, #4a2f1b); box-shadow: inset 0 3px 12px rgba(0,0,0,.35); }
  @media (max-width: 480px) { .ot__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; } .ot__album { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px; } }
  .ot__slot { aspect-ratio: 63 / 88; border: 2px dashed rgba(240,220,180,.35); border-radius: 6px; background: rgba(255,240,210,.06); color: rgba(240,220,180,.55); display: grid; place-content: center; gap: 6px; cursor: pointer; font: inherit; }
  .ot__slot:hover { background: rgba(255,240,210,.12); color: rgba(240,220,180,.85); }
  .ot__slotg { font-family: var(--font-serif); font-size: 26px; font-weight: 900; } .ot__slotn { font-family: "Courier New", ui-monospace, monospace; font-weight: 700; font-size: 14px; }
  .ot__stat { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; font-family: var(--font-serif); } .ot__stat b { font-size: 22px; color: #7a2e1f; }
  .ot__tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
  .ot__tab { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px 6px 8px; border-radius: 4px; border: 1.5px solid #b89a6a; background: #f6ecd4; color: #3b2a1a; font: inherit; cursor: pointer; }
  .ot__tab b { font-family: var(--font-serif); } .ot__tab small { font-family: "Courier New", ui-monospace, monospace; opacity: .75; }
  .ot__tg { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #7a2e1f; color: #f4e9cf; font-family: var(--font-serif); font-weight: 900; font-size: 14px; }
  .ot__tab.is-on { background: #3b2a1a; color: #f4e9cf; border-color: #3b2a1a; } .ot__tab.is-on .ot__tg { background: #f4e9cf; color: #7a2e1f; }
  .ot__desc { margin: 4px 0 10px; color: var(--ink-muted); font-family: var(--font-serif); }
  .ot__tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 6px 0 16px; }
  .ot__mode { display: inline-flex; border: 1.5px solid #b89a6a; border-radius: 4px; overflow: hidden; }
  .ot__mode button { border: 0; background: #f6ecd4; padding: 8px 16px; min-height: 40px; font: inherit; font-family: var(--font-serif); cursor: pointer; color: #3b2a1a; }
  .ot__mode button.is-on { background: #3b2a1a; color: #f4e9cf; }
  .ot__q { flex: 1; min-width: 180px; min-height: 42px; padding: 0 12px; border: 1.5px solid #b89a6a; border-radius: 4px; background: #fffaf0; font: inherit; }
  .ot__guest { margin: 0 0 10px; color: var(--ink-muted); } .ot__guest a { margin: 0 4px; font-weight: 700; }
  .ot__sheet { box-sizing: border-box; position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); align-items: start; gap: 22px; width: min(900px, 94vw); max-height: 92vh; max-height: 92dvh; overflow: auto;
    overscroll-behavior: contain; padding: 22px; border-radius: 8px; background: linear-gradient(160deg, #f7eed8, #eadcb9); color: #3b2a1a; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
  .ot__sheet .sp__x { position: absolute; right: 10px; top: 10px; background: rgba(59,42,26,.12); color: #3b2a1a; }
  .ot__big { min-width: 0; } .ot__big .otc { width: 100%; }
  .ot__back { min-width: 0; padding-right: 30px; }
  .ot__sheet .sp__act { background: #3b2a1a; color: #f4e9cf; border: 0; } .ot__sheet .sp__act.is-on { background: #7a2e1f; }
  @media (max-width: 700px) { .ot__sheet { grid-template-columns: 1fr; padding: 16px; } .ot__big { width: min(280px, 78vw); margin: 0 auto; } }
  .ot__bk { margin: 0; font-family: "Courier New", ui-monospace, monospace; opacity: .75; }
  .ot__back h3 { font-family: var(--font-serif); font-size: 26px; margin: 4px 0 6px; }
  .ot__orig, .ot__bm { margin: 0 0 6px; font-size: 14px; opacity: .8; }
  .ot__txt { font-family: var(--font-serif); line-height: 1.85; margin: 0 0 10px; }
  .ot__src { font-size: 13px; opacity: .85; border-top: 1px dashed rgba(80,50,20,.5); padding-top: 8px; }
  .ot__acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
  .otg { max-width: 520px; margin: 0 auto; }
  .otg__photo { background: #d6c29a; padding: 10px; border: 2px solid #6b4a2b; box-shadow: 0 4px 14px rgba(60,40,15,.3); }
  .otg__photo img { width: 100%; max-height: 340px; object-fit: contain; display: block; background: #2a1d10; filter: sepia(.5); }
  .otg__q { font: 900 22px var(--font-serif); margin: 14px 0 10px; color: #3b2a1a; }
  .otg__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .otg__opt { min-height: 54px; border-radius: 6px; border: 1.5px solid #b89a6a; background: #f6ecd4; font: 700 16px var(--font-serif); color: #3b2a1a; cursor: pointer; }
  .otg__opt:disabled { cursor: default; } .otg__opt.is-right { background: #dfeccf; border-color: #4a7a2a; } .otg__opt.is-wrong { background: #f6d9d4; border-color: #a31f14; }
  .otg__reveal { margin-top: 12px; padding: 12px 14px; background: #f6ecd4; border: 1px dashed #b89a6a; border-radius: 6px; font-family: var(--font-serif); line-height: 1.8; }
  .otg__acts { display: flex; flex-wrap: wrap; gap: 8px; }
  .otg__btn { min-height: 44px; padding: 0 14px; border-radius: 6px; border: 1.5px solid #b89a6a; background: #fffaf0; color: #3b2a1a; font: 700 14px var(--font-sans); cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; }
  .otg__btn--main { background: #3b2a1a; color: #f4e9cf; border-color: #3b2a1a; } .otg__btn--line { background: #06c755; color: #fff; border-color: #06c755; }
  .ot__submit { margin-top: 12px; min-height: 48px; padding: 0 18px; border-radius: 6px; border: 2px dashed #a31f14; background: #fff8ec; color: #7a2e1f; font: 900 16px var(--font-serif); cursor: pointer; }
  .ot__mysubs { margin: 8px 0 0; font-size: 13px; color: var(--ink-muted); }
  .ots { grid-template-columns: 1fr !important; width: min(560px, 94vw) !important; }
  .ots__body h3 { font-family: var(--font-serif); margin: 0 0 6px; }
  .ots__drop { display: grid; place-items: center; min-height: 130px; border: 2px dashed #b89a6a; border-radius: 8px; background: #fbf7ee; cursor: pointer; text-align: center; padding: 10px; margin: 10px 0; }
  .ots__drop input { display: none; } .ots__drop b { display: block; font-size: 17px; } .ots__drop small { color: #6b5a46; }
  .ots__thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; } .ots__thumbs img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; }
  .ots__lb { display: grid; gap: 4px; margin: 8px 0; font-size: 13px; font-weight: 700; color: #5b4630; }
  .ots__lb input, .ots__lb textarea, .ots__lb select { width: 100%; box-sizing: border-box; min-height: 44px; border: 1.5px solid #b89a6a; border-radius: 6px; background: #fffaf0; padding: 8px 10px; font: 400 15px var(--font-sans); color: #3b2a1a; }
  .ots__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .ots__ck { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; margin: 10px 0; line-height: 1.6; } .ots__ck input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
  .ots__send { width: 100%; justify-content: center; min-height: 50px; font-size: 16px; }
  .otv { margin-top: 14px; padding: 12px; border: 1px dashed #b89a6a; border-radius: 6px; background: #fbf4e2; }
  .otv__h { margin: 0 0 6px; font: 900 16px var(--font-serif); }
  .otv__clip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0; } .otv__clip audio { height: 36px; max-width: 100%; } .otv__clip small { color: #6b5a46; }
  .ot__promo { background: linear-gradient(120deg, #f4e9cf, #e6d3aa) !important; color: #3b2a1a !important; border-color: #b89a6a !important; }
  /* 收集冊（SpAlbum，使用者 2026-10-01：像寶可夢卡牌的收集頁，每類一頁） */
  .spmode { display: inline-flex; gap: 4px; padding: 4px; margin: 4px 0 0; border-radius: 999px; background: var(--surface-sunken); }
  .spmode__b { border: 0; background: none; padding: 8px 18px; min-height: 40px; border-radius: 999px; font: inherit; font-weight: 700; color: var(--ink-muted); cursor: pointer; }
  .spmode__b.is-on { background: var(--surface, #fff); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.14); }
  .spa__tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; }
  .spa__tab { flex: none; display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; text-align: left;
    padding: 8px 14px 8px 8px; min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface, #fff); font: inherit; cursor: pointer; color: var(--ink); }
  .spa__tab .spa__tglyph { grid-row: 1 / 3; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-sunken); font-weight: 800; font-size: 15px; }
  .spa__tab b { font-size: 14px; line-height: 1.2; } .spa__tab small { font-size: 12px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
  .spa__tab.is-on { border-color: #1d6f7a; background: #1d6f7a; color: #fff; box-shadow: 0 4px 12px -4px rgba(29,111,122,.6); }
  .spa__tab.is-on small { color: rgba(255,255,255,.85); } .spa__tab.is-on .spa__tglyph { background: rgba(255,255,255,.22); }
  .spa__tab.is-done .spa__tglyph { background: linear-gradient(135deg, #f3d36b, #c99a1c); color: #fff; }
  .spa__band { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; margin-top: 4px; padding: 18px 18px 18px 16px; border-radius: 18px 18px 0 0;
    background: linear-gradient(115deg, #e6f28a 0%, #d8e88a 30%, #edf3f6 30.2%, #f5f8fa 100%); color: #10323a; }
  .spa__band--bird { background: linear-gradient(115deg, #9fd8f0 0 32%, #eef6fa 32.2%); }
  .spa__band--plant { background: linear-gradient(115deg, #b8e39a 0 32%, #f1f7ec 32.2%); }
  .spa__band--butterfly { background: linear-gradient(115deg, #f6c7e0 0 32%, #fbf1f6 32.2%); }
  .spa__band--fish { background: linear-gradient(115deg, #8fc4f5 0 32%, #eef4fb 32.2%); }
  .spa__band--crab { background: linear-gradient(115deg, #f7b7a0 0 32%, #fbf0ec 32.2%); }
  .spa__band--shell { background: linear-gradient(115deg, #f3dcae 0 32%, #fbf6ec 32.2%); }
  .spa__band--mammal { background: linear-gradient(115deg, #d8c3a5 0 32%, #f7f2ea 32.2%); }
  .spa__band--reptile, .spa__band--amphibian { background: linear-gradient(115deg, #c2dc9b 0 32%, #f3f7ec 32.2%); }
  .spa__band--seaweed { background: linear-gradient(115deg, #9fd3b4 0 32%, #eef7f1 32.2%); }
  .spa__band--marine { background: linear-gradient(115deg, #8fb8e8 0 32%, #eef3fb 32.2%); }
  .spa__band--glow { background: linear-gradient(115deg, #0e3a52 0 32%, #10273a 32.2%); color: #d8fbff; }
  .spa__emblem { flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; font-weight: 900; color: #fff;
    background: linear-gradient(145deg, #2a8f9c, #145863); box-shadow: 0 4px 0 #0d3f47, 0 8px 18px -6px rgba(0,0,0,.4); transform: rotate(-6deg); }
  .spa__band--glow .spa__emblem { background: linear-gradient(145deg, #25c9d6, #0b6a86); box-shadow: 0 0 18px rgba(80,240,255,.6), 0 4px 0 #063c4d; }
  .spa__title { display: grid; min-width: 0; } .spa__title small { font-size: 12px; letter-spacing: .08em; opacity: .75; }
  .spa__title b { font-family: var(--font-serif); font-size: 26px; line-height: 1.15; }
  .spa__stats { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
  .spa__stat { display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.85); color: #10323a;
    font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); white-space: nowrap; }
  .spa__stat i { font-style: normal; color: #1d6f7a; } .spa__stat b { font-size: 20px; }
  .spa__prog { height: 5px; background: rgba(0,0,0,.06); border-radius: 0 0 4px 4px; overflow: hidden; margin-bottom: 14px; }
  .spa__prog i { display: block; height: 100%; background: linear-gradient(90deg, #f5c542, #ea6fa6, #7d6cf0, #3fb8d8); transition: width .5s; }
  .spa__guest { margin: 0 0 12px; font-size: 14px; color: var(--ink-muted); } .spa__guest a { margin: 0 4px; font-weight: 700; }
  .spa__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px 10px; padding: 14px; border-radius: 16px;
    background: linear-gradient(180deg, #e8eef3, #dfe7ee); box-shadow: inset 0 2px 8px rgba(0,0,0,.06); }
  @media (max-width: 560px) { .spa__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 6px; padding: 8px; } }
  .spa__slot { position: relative; aspect-ratio: 63 / 88; padding: 0; border: 0; border-radius: 8px; cursor: pointer; font: inherit; background: none; }
  .spa__slot:not(.is-got) { background: linear-gradient(160deg, #eef2f6, #e1e8ef); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.9), inset 0 2px 6px rgba(80,100,120,.12); }
  .spa__no { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: clamp(15px, 4.4vw, 26px); color: #aab8c6; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
  .spa__slot:not(.is-got):hover .spa__no { color: #7f93a6; }
  .spa__slot.is-got .spc { width: 100%; height: 100%; padding: 4%; }
  .spa__slot.is-got { animation: spaIn .35s ease-out; }
  @keyframes spaIn { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
  .spa__slot:focus-visible { outline: 3px solid var(--tide); outline-offset: 2px; }
  .spa__pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 12px 0; font-weight: 700; }
  .spa__pager span { display: grid; text-align: center; } .spa__pager small { font-weight: 500; color: var(--ink-muted); font-size: 12px; }
  .spa__turn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface, #fff); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }
  .spa__turn:disabled { opacity: .35; cursor: default; }
  @media (max-width: 560px) { .spa__band { padding: 14px 12px; gap: 10px; flex-wrap: wrap; } .spa__emblem { width: 46px; height: 46px; font-size: 22px; } .spa__title b { font-size: 22px; }
    .spa__stats { width: 100%; justify-content: flex-start; } }
  @media (prefers-reduced-motion: reduce) { .spa__slot.is-got { animation: none; } }
  /* 放大、翻面 */
  .sp__modal { position: fixed; inset: 0; z-index: 3000; background: radial-gradient(circle at 50% 40%, rgba(40,55,70,.72), rgba(8,12,16,.92)); display: grid; place-items: center; padding: 12px; }
  .sp__stage { position: relative; width: min(340px, 84vw, calc((100vh - 190px) * 63 / 88)); width: min(340px, 84vw, calc((100dvh - 190px) * 63 / 88)); display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .sp__x { position: fixed; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; cursor: pointer; }
  .sp__flip { position: relative; width: 100%; aspect-ratio: 63 / 88; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,.7,.2,1); perspective: 1200px; }
  .sp__flip.is-back { transform: rotateY(180deg); }
  .sp__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
  .sp__face--back { touch-action: pan-y; transform: rotateY(180deg); border-radius: 4.5% / 3.2%; background: var(--surface-raised, #fff); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
  .sp__face .spc { width: 100%; height: 100%; }
  .sp__acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .sp__act { appearance: none; min-height: 42px; padding: 0 16px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
  .sp__act.is-on { background: #0f6e78; border-color: #0f6e78; }
  .sp__hint { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }
  /* 卡背（第二版） */
  .spb { padding: 0 0 16px; font-size: 14px; line-height: 1.7; }
  .spb__head { display: flex; gap: 12px; align-items: center; padding: 16px 16px 12px; background: linear-gradient(180deg, #f6f2e8, transparent); border-bottom: 1px solid var(--line); }
  .spb--SR .spb__head { background: linear-gradient(180deg, #f7e7bd, transparent); } .spb--R .spb__head { background: linear-gradient(180deg, #e7ecf1, transparent); }
  .spb--UR .spb__head { background: linear-gradient(120deg, #ffe1dc, #fff3c9, #dcf7e6, #dbe9ff, #f0defc); }
  .spb__thumb { flex: none; width: 76px; height: 76px; border-radius: 12px; object-fit: cover; box-shadow: 0 1px 4px rgba(0,0,0,.25); border: 2px solid #fff; }
  .spb__thumb--ph { display: grid; place-items: center; background: var(--line); font-size: 30px; font-weight: 900; color: var(--ink-muted); }
  .spb__id { min-width: 0; } .spb__id h3 { margin: 0; font-size: 20px; line-height: 1.25; }
  .spb__sci { margin: 1px 0 4px; font-size: 13px; color: var(--ink-muted); }
  .spb__badges { display: flex; align-items: center; gap: 6px; margin: 0; }
  .spb__rk { padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; background: #7d776c; }
  .spb__rk--R { background: #7f8b98; } .spb__rk--SR { background: linear-gradient(90deg, #b8862b, #d9a300); } .spb__rk--UR { background: linear-gradient(90deg, #e2583e, #d9a300, #2aa36b, #2b7de0, #9b4fd6); }
  .spb__stars { color: #d9a300; letter-spacing: 1px; font-size: 14px; }
  .spb__tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 16px 4px; }
  .spb__tags span { padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12px; color: var(--ink-muted); }
  .spb__tags .is-red { color: #b84a4a; border-color: #b84a4a; font-weight: 700; } .spb__tags .is-teal { color: #0f6e78; border-color: #0f6e78; font-weight: 700; }
  .spb__sec { margin: 10px 16px 0; } .spb__sec h4, .spb__why h4, .spb__chart h4 { margin: 0 0 2px; font-size: 13px; color: var(--tide); letter-spacing: .04em; }
  .spb__sec p { margin: 0; }
  .spb__book { padding: 8px 10px; border-radius: 10px; border: 1px solid color-mix(in srgb, #3f8a4b 35%, transparent); background: color-mix(in srgb, #3f8a4b 6%, transparent); }
  .spb__book h4 { color: #2f6b3a !important; }
  .spb__sec.is-local { padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, var(--tide) 8%, transparent); }
  .spb > .cul__muted { margin: 10px 16px 0; }
  .spb__why { margin: 14px 16px 0; padding: 10px 12px; border-radius: 12px; background: var(--surface-sunken, #f3f1ec); }
  .spb__why h4 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .spb__grade { padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; border: 1px solid currentColor; background: var(--surface-raised, #fff); }
  .spb__grade--confirmed { color: #0f6e78; } .spb__grade--verified { color: #3b6fc8; } .spb__grade--few { color: #9a7b3a; }
  .spb__whyt { margin: 2px 0 6px; font-size: 13px; color: var(--ink-muted); }
  .spb__lit { margin: 0 0 6px; padding-left: 18px; font-size: 13px; } .spb__lit li span { display: block; color: var(--ink-muted); font-size: 12.5px; }
  .spb__dl { display: grid; grid-template-columns: 5.5em 1fr; gap: 2px 8px; margin: 0; font-size: 13px; }
  .spb__dl dt { color: var(--ink-muted); } .spb__dl dd { margin: 0; }
  .spb__samples { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-muted); }
  .spb__charts { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 14px 16px 0; }
  .spb__row { display: grid; grid-template-columns: 3em 1fr 2.8em; align-items: center; gap: 6px; font-size: 12.5px; margin: 2px 0; }
  .spb__row i { display: block; height: 8px; border-radius: 4px; background: var(--line); } .spb__row i b { display: block; height: 100%; border-radius: 4px; background: #0f6e78; }
  .spb__row em { font-style: normal; color: var(--ink-muted); text-align: right; }
  .spb__months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; height: 64px; align-items: end; }
  .spb__months span { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
  .spb__months i { display: block; background: #d8a23a; border-radius: 3px 3px 0 0; } .spb__months em { font-style: normal; font-size: 10.5px; text-align: center; color: var(--ink-muted); }
  .spb__foot { margin: 14px 16px 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-muted); }
  .spb__foot p { margin: 0 0 6px; } .spb__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
  .spb__src { margin: 0 0 8px; } .spb__src summary { cursor: pointer; font-weight: 800; color: var(--tide); min-height: 32px; display: flex; align-items: center; }
  .spb__src ol { margin: 4px 0 0; padding-left: 20px; } .spb__src li { margin: 3px 0; overflow-wrap: anywhere; line-height: 1.5; }
  .linkgrp { margin-bottom: 14px; } .linkgrp__h { margin: 10px 0 6px; font-size: 15px; color: var(--tide); }
  /* LINE 名單：三張精選大卡＋依用途收合的分組（LineBoard） */
  .lnb { display: grid; gap: 10px; }
  .lnb__legend { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--ink-muted); }
  .lnb__legend span { display: inline-flex; align-items: center; gap: 6px; }
  .lndot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
  .lndot--oa { background: #1c9a55; } .lndot--grp { background: #d98a1c; }
  .lnb__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
  .lnhero { display: flex; align-items: center; gap: 12px; min-height: 84px; padding: 12px 14px; border-radius: 16px; text-decoration: none; color: #1d2a30;
            background: linear-gradient(120deg, #fdf0d6, #fff8ea); border: 1px solid #f0dcae; }
  .lnhero--oa { background: linear-gradient(120deg, #e3f5ea, #f3fbf6); border-color: #cfe9da; }
  .lnhero:hover { box-shadow: var(--shadow-lift, 0 6px 18px rgba(0,0,0,.1)); } .lnhero:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .lnhero__t { flex: 1; min-width: 0; display: grid; gap: 1px; }
  .lnhero__t em { font-style: normal; font-size: 12px; font-weight: 700; color: #6b3d00; } .lnhero--oa .lnhero__t em { color: #0b5a31; }
  .lnhero__t b { font-size: 16.5px; line-height: 1.35; } .lnhero__t small { font-size: 13px; line-height: 1.45; color: #55636a; }
  .lnhero__b { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #06a84a; color: #fff; font-weight: 800; font-size: 14px; white-space: nowrap; }
  .lnacc { border: 1px solid var(--line); border-radius: 14px; background: var(--surface-raised, #fff); overflow: hidden; }
  .lnacc__h { appearance: none; width: 100%; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
  .lnacc__h:hover { background: var(--surface-sunken, #f4f0e8); } .lnacc__h:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
  .lnacc__i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; background: var(--surface-tint, #e6f2f2); flex: none; }
  .lnacc__h b { font-size: 15.5px; } .lnacc__h em { font-style: normal; font-size: 13px; color: var(--ink-muted); margin-right: auto; }
  .lnacc__c { font-size: 13px; font-weight: 700; color: var(--tide); white-space: nowrap; }
  .lnacc__in { padding: 2px 14px 14px; display: grid; gap: 8px; }
  .lnacc__d, .lnacc__s { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-muted); } .lnacc__s a { color: var(--tide); }
  /* 電腦上分組排兩到三欄（只有一兩筆的組不必各佔一整列），各自依內容高度 */
  .lnb__accs { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 10px; align-items: start; }
  .lnchips { display: flex; flex-wrap: wrap; gap: 8px; }
  .lnb a.lnchip { display: inline-flex; box-sizing: border-box; height: auto; align-items: center; gap: 7px; min-height: 44px; padding: 6px 14px 6px 11px; border-radius: 999px; border: 1px solid var(--line-strong, #cfc8ba);
            background: var(--surface, #fff); color: var(--ink); font-weight: 700; font-size: 14.5px; line-height: 1.3; text-decoration: none; }
  .lnb a.lnchip:hover { border-color: var(--tide); color: var(--tide); } .lnchip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  /* LINE 分頁：官方帳號（一對一）與社群（多人聊天室）用顏色分開 */
  .linkgrp__d { margin: 0 0 8px; font-size: 14px; line-height: 1.6; color: var(--ink-muted); }
  .linkgrp--oa .linkgrp__h { color: #0b6b3a; } .linkgrp--grp .linkgrp__h { color: #8a4b00; }
  .linkgrp--oa .linklist > li { border-left: 4px solid #1c9a55; padding-left: 12px; } .linkgrp--grp .linklist > li { border-left: 4px solid #d98a1c; padding-left: 12px; }
  .linklist > li.linkli--oa { border-left: 4px solid #1c9a55; padding-left: 12px; } .linklist > li.linkli--grp { border-left: 4px solid #d98a1c; padding-left: 12px; }
  .linkkind { display: inline-block; margin-right: 8px; padding: 1px 9px; border-radius: 999px; font-size: 12.5px; line-height: 20px; font-weight: 700; vertical-align: 2px; white-space: nowrap; }
  .linkkind--oa { background: #dff3e6; color: #0b5a31; } .linkkind--grp { background: #fdebc8; color: #6b3d00; }
  .linklist--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 18px; }
  .sp__collect--guest { padding: 10px 14px; border: 1px dashed var(--line-strong); border-radius: 12px; }
  .sp__authbtns { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; }
  .sp__authb { appearance: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong);
               background: var(--surface-raised, #fff); color: var(--ink); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
  .sp__authb.is-main { background: var(--tide); border-color: var(--tide); color: #fff; }
  .sp__ask { width: 100%; padding: 12px 14px; border-radius: 12px; background: var(--surface-raised, #fff); color: var(--ink); font-size: 14px; }
  .sp__ask p { margin: 0 0 6px; }
  /* 會員專欄、個人空間、文章（2026-09-30） */
  .ma__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
  .ma__card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-md);
              background: var(--surface-raised, #fff); color: var(--ink); text-decoration: none; }
  .ma__card { position: relative; } .ma__card:hover .ma__cardt { color: var(--tide); }
  .ma__cardt { font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; }
  .ma__cardt::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
  .ma__by { position: relative; z-index: 1; align-self: flex-start; text-decoration: none; } .ma__by:hover { color: var(--tide); text-decoration: underline; }
  .ma__cov { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
  .ma__cov--ph { display: grid; place-items: center; background: var(--line); font-size: 26px; font-weight: 800; color: var(--ink-muted); }
  .ma__cb { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .ma__cb b { font-size: 16px; } .ma__meta, .ma__by { font-size: 12.5px; color: var(--ink-muted); }
  .ma__sum { font-size: 13.5px; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .ma__authors { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
  .ma__avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--tide); color: #fff; font-size: 28px; font-weight: 800; }
  .ma__bio { margin: 6px 0 0; white-space: pre-wrap; max-width: 640px; }
  .ma__bioed { width: min(560px, 100%); padding: 8px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; }
  .ma__art { max-width: 760px; } .ma__title { font-size: 28px; line-height: 1.3; margin: 6px 0 14px; }
  .ma__p { font-size: 16.5px; line-height: 1.9; white-space: pre-wrap; margin: 0 0 14px; }
  .ma__fig { margin: 14px 0; } .ma__fig img { max-width: 100%; border-radius: 10px; display: block; } .ma__fig figcaption { font-size: 13px; color: var(--ink-muted); margin-top: 4px; }
  .ma__draft { padding: 6px 10px; border-radius: 8px; background: #fff1e6; color: #8a3b12; }
  .ma__ed { max-width: 820px; } .ma__lab { display: flex; flex-direction: column; gap: 4px; margin: 10px 0; font-weight: 700; }
  .ma__lab input { min-height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; font-weight: 400; background: var(--surface-raised, #fff); color: var(--ink); }
  .ma__bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; }
  .ma__ta { width: 100%; min-height: 360px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; line-height: 1.8; background: var(--surface-raised, #fff); color: var(--ink); box-sizing: border-box; }
  .ma__pv { padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 10px; }
  .sheet .authbtn:not(.authbtn--primary), .ma__head .authbtn:not(.authbtn--primary), .ma__ed .authbtn:not(.authbtn--primary), .ma__art .authbtn:not(.authbtn--primary), .fbk .authbtn:not(.authbtn--primary),
  .block .authbtn:not(.authbtn--primary):not(.mast-tools *) { background: var(--surface-raised, #fff); color: var(--ink); border: 1px solid var(--line-strong); }
  /* 會員頭像 */
  .ma__av { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--surface-sunken); }
  .ma__av--txt { display: inline-grid; place-items: center; background: var(--tide); color: #fff; font-weight: 900; }
  .ma__av--xs { width: 22px; height: 22px; font-size: 12px; } .ma__av--sm { width: 30px; height: 30px; font-size: 14px; }
  .ma__av--lg { width: 96px; height: 96px; font-size: 40px; box-shadow: 0 0 0 3px var(--surface-raised, #fff), 0 0 0 4px var(--line-strong); }
  .ma__avdel { appearance: none; border: 0; background: none; color: var(--ink-muted); text-decoration: underline; padding: 0; font: inherit; font-size: 13px; cursor: pointer; }
  .ma__avmsg { margin: 4px 0 0; font-size: 13px; color: #8a3b12; }
  .ma__achip { display: inline-flex; align-items: center; gap: 6px; } .ma__by { display: inline-flex; align-items: center; gap: 6px; }
  .ma__byline { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .ma__who { display: inline-flex; align-items: center; gap: 8px; }
  /* 文章格式（編輯區與閱讀頁共用） */
  .ma__rich { font-size: 17px; line-height: 1.85; overflow-wrap: anywhere; }
  .ma__rich p { margin: 0 0 .9em; } .ma__rich h2 { font-size: 1.5em; margin: 1.1em 0 .5em; } .ma__rich h3 { font-size: 1.22em; margin: 1em 0 .4em; }
  .ma__rich blockquote { margin: 1em 0; padding: .4em 1em; border-left: 4px solid var(--tide); background: var(--surface-sunken); color: var(--ink); }
  .ma__rich img { display: block; max-width: 100%; height: auto; margin: .6em auto; border-radius: 8px; }
  .ma__rich figure { margin: 1em 0; } .ma__rich figcaption { text-align: center; font-size: 14px; color: var(--ink-muted); }
  .ma__rich ul, .ma__rich ol { padding-left: 1.6em; margin: 0 0 .9em; } .ma__rich a { color: var(--tide); text-decoration: underline; }
  .ma__rich table { border-collapse: collapse; margin: 1em 0; max-width: 100%; display: block; overflow-x: auto; } .ma__rich td, .ma__rich th { border: 1px solid var(--line-strong); padding: 4px 8px; }
  /* 編輯器 */
  .ma__edbox { border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface-raised, #fff); margin: 10px 0; }
  .ma__tools { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px 8px; border-bottom: 1px solid var(--line); background: var(--surface-sunken); border-radius: 12px 12px 0 0; }
  .ma__tb { appearance: none; min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid transparent; border-radius: 8px; background: none; color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
  .ma__tb:hover { background: var(--surface-raised, #fff); border-color: var(--line-strong); }
  .ma__sel { height: 36px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface-raised, #fff); color: var(--ink); font: inherit; font-size: 14px; padding: 0 6px; }
  .ma__sep { width: 1px; height: 22px; background: var(--line-strong); margin: 0 4px; }
  .ma__A { font-weight: 900; border-bottom: 3px solid #b42318; line-height: 1.1; } .ma__hl { background: #fff3a3; color: #1f2328; padding: 0 4px; border-radius: 3px; font-size: 13px; }
  .ma__wrap { position: relative; display: inline-flex; }
  .ma__pop { position: absolute; top: 40px; left: 0; z-index: 20; padding: 10px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface-raised, #fff); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
  .ma__sw { display: grid; grid-template-columns: repeat(6, 28px); gap: 6px; } .ma__swc { width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(0,0,0,.12); cursor: pointer; padding: 0; }
  .ma__swc--none { background: #fff; color: #667; font-size: 12px; }
  .ma__lk { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: min(400px, calc(100vw - 48px)); }
  .ma__lk input { flex: 1 1 200px; min-width: 0; height: 40px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; }
  .ma__lk .authbtn { white-space: nowrap; min-height: 40px; padding: 0 14px; }
  .ma__pop { max-width: calc(100vw - 24px); }
  .ma__tbimg { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; }
  .ma__miss { display: inline-block; margin: 4px 0; padding: 4px 10px; border: 1px dashed #b42318; border-radius: 8px; color: #b42318; background: #fdecea; font-size: 14px; }
  .ma__why { margin: 6px 0 0; padding-left: 1.3em; } .ma__why li { margin: 3px 0; }
  .imgdlg { position: relative; width: min(620px, 100%); max-height: 92vh; overflow: auto; background: var(--surface-raised, #fff); color: var(--ink); border-radius: 16px; padding: 20px; }
  .imgdlg h3 { margin: 0 0 12px; font-size: 19px; }
  .imgdlg__drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px; border: 2px dashed var(--line-strong); border-radius: 14px; text-align: center; cursor: pointer; color: var(--ink-muted); }
  .imgdlg__drop svg { width: 36px; height: 36px; color: var(--tide); } .imgdlg__drop b { color: var(--ink); font-size: 16px; }
  .imgdlg__drop.is-over, .imgdlg__drop:hover { border-color: var(--tide); background: color-mix(in srgb, var(--tide) 7%, transparent); }
  .imgdlg__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin: 14px 0 4px; }
  .imgdlg__grid figure { position: relative; margin: 0; } .imgdlg__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
  .imgdlg__grid figcaption { font-size: 12px; color: var(--ink-muted); text-align: center; }
  .imgdlg__rm { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; }
  .imgdlg__foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
  .ma__icons { width: min(360px, 86vw); max-height: 320px; overflow: auto; } .ma__icons p { margin: 6px 0 4px; font-size: 12.5px; color: var(--ink-muted); font-weight: 700; }
  .ma__igrid { display: grid; grid-template-columns: repeat(auto-fill, 36px); gap: 2px; }
  .ma__ic { appearance: none; width: 36px; height: 36px; border: 0; border-radius: 8px; background: none; font-size: 22px; cursor: pointer; } .ma__ic:hover { background: var(--surface-sunken); }
  .ma__tbimg { cursor: pointer; font-size: 14px; }
  .ma__area { min-height: 360px; padding: 14px 16px; outline: none; color: var(--ink); }
  .ma__area:empty::before { content: attr(data-ph); color: var(--ink-muted); }
  .ma__area img[data-up] { opacity: .8; }
  @media (max-width: 600px) { .ma__tools { top: 0; } .ma__tb { min-width: 34px; height: 34px; } .ma__area { min-height: 280px; padding: 12px; } }
  /* 我的空間：頭像｜名字與介紹｜動作 */
  .ma__head { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: start; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-raised, #fff); }
  .ma__head h2 { margin: 4px 0 2px; font-size: 26px; line-height: 1.25; }
  .ma__who2 { min-width: 0; } .ma__who2 .faith__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; }
  .ma__bio--empty { color: var(--ink-muted); }
  .ma__mine { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
  .ma__avbox { position: relative; }
  .ma__avpick { cursor: pointer; display: block; border-radius: 50%; }
  .ma__avhint { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.5); color: #fff; font-size: 13px; font-weight: 700;
                opacity: 0; transition: opacity .15s; pointer-events: none; }
  .ma__avpick:hover .ma__avhint, .ma__avpick:focus-within .ma__avhint { opacity: 1; }
  @media (hover: none) { .ma__avhint { opacity: 1; inset: auto 0 0 0; height: 28%; border-radius: 0 0 999px 999px; font-size: 11px; background: rgba(0,0,0,.45); } }
  @media (max-width: 700px) {
    .ma__head { grid-template-columns: auto 1fr; padding: 16px; gap: 14px; }
    .ma__mine { grid-column: 1 / -1; justify-content: flex-start; }
    .ma__av--lg { width: 76px; height: 76px; font-size: 32px; }
  }
  /* 會員視窗（精簡版） */
  .ma__av--md { width: 48px; height: 48px; font-size: 20px; }
  .mys__head { display: flex; align-items: center; gap: 12px; padding-right: 44px; }
  .mys__who .mys__no { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 3px 12px 3px 3px; white-space: nowrap; border-radius: 999px; background: var(--surface-sunken); color: var(--ink); font-size: 13.5px; font-weight: 600; width: fit-content; }
  .mys__who .mys__no b { display: inline-block; font-family: var(--font-mono, monospace); font-size: 13px; line-height: 1.5; background: var(--tide); color: var(--on-tide); padding: 1px 9px; border-radius: 999px; letter-spacing: .02em; }
  .mys__who .mys__no.is-founder { background: linear-gradient(120deg, #fff1c9, #ffe2a8); color: #4a3508; } .mys__who .mys__no.is-founder b { background: #a86f0c; color: #fff; }
  .mys__who b { display: block; font-size: 19px; line-height: 1.3; } .mys__who span { font-size: 13px; color: var(--ink-muted); }
  .mys__act { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 12px; }
  /* 頁首右側的按鈕一樣高、一樣的圓角（2026-10-15 使用者：按鈕應該都要一樣高）：待審、搜尋、日夜、語言、會員 */
  .mast-tools .revbtn:not(.revbtn--sum), .mast-tools .srchbtn, .mast-tools > button, .mast-tools > a, .mast-tools .langm__btn {
    height: 44px !important; min-height: 44px !important; padding-top: 0 !important; padding-bottom: 0 !important; box-sizing: border-box; border-radius: 12px !important; line-height: 1; }
  .mast-tools .revbtn__n { height: 24px; min-width: 24px; line-height: 24px; border-radius: 12px; font-size: 13px; }
  .mys__va { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #fff4d6; color: #5a4300; font-size: 13px; }
  .mys__btn { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px;
              color: var(--ink); background: var(--surface-raised, #fff); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
  .mys__btn:hover { border-color: var(--tide); color: var(--tide); }
  button.mys__btn { font-family: inherit; cursor: pointer; }
  .mys__btn.is-main { background: var(--tide); border-color: var(--tide); color: var(--on-tide, #fff); }
  .mys__btn.is-quiet { border-color: transparent; color: var(--ink-muted); margin-left: auto; }
  /* Daysflow 帳號：Google／LINE 連結（會員視窗、帳號設定共用，2026-11-01） */
  .socp { display: flex; flex-wrap: wrap; gap: 6px; } .socp--sheet { display: contents; }
  .socp__i { display: inline-flex; align-items: center; gap: 2px; }
  .socp__ic { width: 16px; height: 16px; margin-right: 6px; flex: none; }
  .mys__btn.is-on { cursor: default; } .mys__btn.is-on:hover { border-color: var(--line-strong); color: var(--ink); }
  .socp__x { border: 0; background: none; color: var(--ink-muted); font: 600 13px inherit; font-family: inherit; padding: 0 8px; height: 34px; cursor: pointer; white-space: nowrap; }
  .socp__x:hover { color: var(--stop, #b84a4a); }
  .socp__err { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--stop, #b84a4a); }
  .socp__note { margin: 8px 0 0; font-size: 12.5px; color: var(--ink-muted); }
  /* 會員視窗的「綁定 Google／LINE」：兩顆並排、方正、品牌底色（2026-11-01 使用者） */
  .socb { margin: -4px 0 12px; }
  .socb__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .socb__cell { display: flex; flex-direction: column; align-items: stretch; gap: 2px; min-width: 0; }
  .socb__btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 10px; border-radius: 8px; border: 1px solid transparent;
               font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; overflow: hidden; }
  .socb__btn--line { background: #06C755; color: #fff; } .socb__btn--line:hover { background: #05b04b; color: #fff; }
  .socb__btn--google { background: #1a73e8; color: #fff; } .socb__btn--google:hover { background: #1765cc; color: #fff; }
  .socb__ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 5px; background: #fff; flex: none; }
  .socb__ic .socp__ic { margin: 0; width: 18px; height: 18px; }
  .socb__btn--line .socb__ic { background: transparent; } .socb__btn--line .socb__ic .socp__ic { width: 24px; height: 24px; }
  .socb__btn--line .socb__ic rect { fill: #fff; } .socb__btn--line .socb__ic path { fill: #06C755; }
  .socb__t { overflow: hidden; text-overflow: ellipsis; }
  .socb__btn.is-linked { opacity: .78; cursor: default; } .socb__btn.is-ro { cursor: not-allowed; opacity: .55; }
  .socb__ro { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-muted); }
  .socb__ok { font-size: 15px; }
  .socb__x { align-self: center; border: 0; background: none; color: var(--ink-muted); font: 600 12.5px inherit; font-family: inherit; padding: 2px 6px; cursor: pointer; }
  .socb__x:hover { color: var(--stop, #b84a4a); }
  .mys__priv { margin: -4px 0 10px; font-size: 12px; color: var(--ink-muted); } .mys__priv a { color: var(--tide); }
  .mys__stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .mys__stat { display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 10px; background: var(--surface-sunken); }
  .mys__stat b { font-size: 18px; line-height: 1.2; } .mys__stat span { font-size: 12px; color: var(--ink-muted); }
  .mys__stat.is-zero b { color: var(--ink-muted); font-weight: 500; }
  .mys__sec { margin-top: 16px; }
  .mys__sec h4 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; font-size: 15px; }
  .mys__sec h4 small { font-weight: 400; color: var(--ink-muted); font-size: 12.5px; } .mys__sec h4 a { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--tide); }
  .mys__list { margin: 0; padding: 0; list-style: none; }
  .mys__list li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); }
  .mys__t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 600; text-decoration: none; }
  .mys__t:hover { color: var(--tide); text-decoration: underline; }
  .mys__m { flex: none; font-size: 12.5px; color: var(--ink-muted); } .mys__edit { flex: none; font-size: 13px; color: var(--tide); }
  .mys__none { margin: 0; color: var(--ink-muted); font-size: 14px; }
  @media (max-width: 480px) { .mys__m { display: none; } .mys__btn.is-quiet { margin-left: 0; } }
  .authbtn__av { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: none; }
  /* 頭像裁切 */
  .avc { width: min(580px, 100%); max-height: 94vh; overflow: auto; background: var(--surface-raised, #fff); color: var(--ink); border-radius: 16px; padding: 18px; }
  .avc h3 { margin: 0 0 4px; font-size: 19px; }
  .avc__stage { position: relative; margin: 12px auto; overflow: hidden; touch-action: none; user-select: none; border-radius: 8px; }
  .avc__stage img { display: block; width: 100%; height: 100%; pointer-events: none; }
  .avc__box { position: absolute; box-shadow: 0 0 0 9999px rgba(0,0,0,.55); outline: 2px solid #fff; cursor: move; touch-action: none; }
  .avc__circle { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255,255,255,.9); pointer-events: none; }
  .avc__h { position: absolute; width: 22px; height: 22px; background: #fff; border: 2px solid var(--tide); border-radius: 4px; touch-action: none; }
  .avc__h--nw { left: -11px; top: -11px; cursor: nwse-resize; } .avc__h--ne { right: -11px; top: -11px; cursor: nesw-resize; }
  .avc__h--sw { left: -11px; bottom: -11px; cursor: nesw-resize; } .avc__h--se { right: -11px; bottom: -11px; cursor: nwse-resize; }
  /* 編輯器：圖片點選框、拖移落點、固定儲存列 */
  .ma__edbox { position: relative; }
  .ma__area img { cursor: pointer; }
  .ma__pick { position: absolute; z-index: 6; outline: 2px solid var(--tide); cursor: move; touch-action: none; }
  .ma__ph { position: absolute; width: 16px; height: 16px; background: #fff; border: 2px solid var(--tide); border-radius: 3px; touch-action: none; }
  .ma__ph--nw { left: -9px; top: -9px; cursor: nwse-resize; } .ma__ph--ne { right: -9px; top: -9px; cursor: nesw-resize; }
  .ma__ph--sw { left: -9px; bottom: -9px; cursor: nesw-resize; } .ma__ph--se { right: -9px; bottom: -9px; cursor: nwse-resize; }
  .ma__pbar { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: flex; gap: 4px; align-items: center; padding: 4px 6px; border-radius: 999px;
              background: rgba(20,24,28,.85); color: #fff; font-size: 12.5px; white-space: nowrap; cursor: default; }
  .ma__pbar span { padding: 0 6px; } .ma__pbar button { appearance: none; border: 0; border-radius: 999px; padding: 3px 10px; background: rgba(255,255,255,.16); color: #fff; font: inherit; cursor: pointer; }
  .ma__pbar button:hover { background: rgba(255,255,255,.3); } .ma__pbar .is-del { background: #b42318; }
  .ma__drop { position: absolute; z-index: 7; width: 3px; background: var(--tide); border-radius: 2px; pointer-events: none; box-shadow: 0 0 0 2px rgba(12,112,120,.25); }
  .ma__savebar { position: sticky; bottom: 0; z-index: 8; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
                 margin: 12px -8px 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--surface, #f6f3ee); border-top: 1px solid var(--line-strong);
                 box-shadow: 0 -6px 16px rgba(0,0,0,.06); }
  .ma__sbtn { display: flex; gap: 8px; flex-wrap: wrap; }
  .ma__state { font-size: 13.5px; color: var(--ink-muted); }
  .ma__savebar .ma__chk { margin: 0; }
  /* 文章頁上方固定列：作者、日期、編輯／回我的空間 */
  .ma__artbar { position: sticky; top: 0; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 -8px; padding: 10px 8px;
                background: var(--surface, #f6f3ee); border-bottom: 1px solid var(--line); }
  .ma__byline { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; }
  .ma__byline:hover span { color: var(--tide); text-decoration: underline; }
  .ma__artmeta { font-size: 13px; color: var(--ink-muted); }
  .ma__artact { margin-left: auto; display: flex; gap: 6px; }
  /* 帳號設定視窗 */
  .acc { position: relative; width: min(520px, 100%); max-height: 92vh; overflow: auto; background: var(--surface-raised, #fff); color: var(--ink); border-radius: 16px; padding: 20px; }
  .acc h3 { margin: 0 0 4px; font-size: 19px; } .acc__id { margin: 0 0 14px; font-size: 13px; color: var(--ink-muted); }
  .acc__grid { display: grid; gap: 12px; } .acc__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .acc__vbt { margin: 0 0 8px; font-weight: 700; font-size: 14px; }
  .acc__f select { height: 42px; padding: 0 8px; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; background: var(--surface-raised, #fff); color: var(--ink); }
  .acc__f { display: grid; gap: 4px; } .acc__f span { font-size: 13px; font-weight: 700; } .acc__f small { font-size: 12px; color: var(--ink-muted); }
  .acc__f input { height: 42px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; background: var(--surface-raised, #fff); color: var(--ink); }
  /* 2026-10-15 使用者：三格（口音、出生年、性別）沒對齊——格線把每格撐成同高、輸入框跟著被拉長。改成上緣對齊、輸入框與選單同一個高度 */
  .acc__grid { align-items: start; } .acc__f { align-content: start; } .acc__f input, .acc__f select { box-sizing: border-box; height: 44px; margin: 0; width: 100%; }
  .acc__f.is-bad input { border-color: #b42318; box-shadow: 0 0 0 2px rgba(180,35,24,.15); }
  .acc__pw { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
  .acc__pwt { appearance: none; border: 0; background: none; padding: 4px 0 10px; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
  .acc__del .acc__pwt { color: var(--stop, #b3261e); }
  .acc__delbox { display: grid; gap: 8px; font-size: 14px; line-height: 1.6; }
  .acc__delbox p, .acc__delbox ul { margin: 0; }
  .acc__delbox ul { padding-left: 1.2em; color: var(--ink-2, #555); }
  .acc__delgo { justify-self: start; background: #b3261e; border-color: #b3261e; color: #fff; }
  .acc__delgo:disabled { opacity: .45; cursor: not-allowed; }
  .acc__msg { margin: 12px 0 0; color: #b42318; font-size: 14px; } .acc__msg.is-ok { color: #15803d; }
  button.mys__btn { font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
  /* 審核台：改放行事曆 */
  .rvcal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
  .rvcal__hint { font-size: 13px; color: #8a5a12; background: #fff4df; border-radius: 999px; padding: 2px 10px; }
  .rvcal__btn { appearance: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 12px; background: var(--surface-raised, #fff); color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
  .rvcal__btn:hover { border-color: var(--tide); color: var(--tide); }
  .rvcal__undo { appearance: none; border: 0; background: none; color: var(--tide); text-decoration: underline; font: inherit; font-size: 13px; margin-left: 8px; cursor: pointer; }
  .rvpanel__date { height: 40px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; }
  /* 船位：停著的船在哪裡、點船名在地圖上找 */
  .shiplist li.is-link { cursor: pointer; border-radius: 10px; }
  .shiplist__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
  .shiplist li.is-link:hover, .shiplist li.is-on { background: color-mix(in srgb, var(--tide) 7%, transparent); }
  .shiplist__where { font-size: 13px; color: var(--ink); margin-top: 2px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
  .shiplist__go { color: var(--tide); font-weight: 700; font-size: 12.5px; }
  .shipmap .leaflet-tooltip.shiptip.is-idle { display: none; }
  .shipmap.shipmap--near .leaflet-tooltip.shiptip.is-idle { display: block; opacity: .9; }
  .shipmk.is-flash img, .shipmk.is-flash .shipdot { animation: shipflash 1.4s ease-out 2; }
  @keyframes shipflash { 0% { filter: drop-shadow(0 0 0 rgba(255,170,0,0)); transform: scale(1); } 40% { filter: drop-shadow(0 0 10px rgba(255,170,0,1)); transform: scale(1.35); } 100% { filter: none; transform: scale(1); } }
  .sp__regions { align-items: center; margin-top: 8px; } .sp__reglb { font-size: 13px; font-weight: 700; color: var(--ink-muted); margin-right: 2px; }
  /* 生物誌的篩選按鈕縮小（使用者 2026-09-30：類別按鈕太多，希望都看得到） */
  .sp__groups, .sp__regions { gap: 6px; margin-bottom: 10px; }
  .sp__groups .dy-chip, .sp__regions .dy-chip { min-height: 30px; height: 30px; padding: 0 10px; font-size: 13px; gap: 4px; }
  .sp__groups .dy-chip .dy-chip__count, .sp__regions .dy-chip .dy-chip__count { font-size: 11.5px; }
  .sp__reglb { font-size: 12.5px; }
  .sp__flt .his__chip.is-on::before { content: '✓ '; font-weight: 900; }
  .sp__none { padding: 14px; border: 1px dashed var(--line-strong); border-radius: 12px; text-align: center; color: var(--ink-muted); }
  .sp__none p { margin: 0 0 8px; }
  .sp__flt { gap: 5px; } .sp__flt .his__chip { min-height: 30px; padding: 0 10px; font-size: 13px; }
  .sp__rk { gap: 5px; } .sp__rkb { min-height: 30px; padding: 2px 10px; font-size: 12.5px; }
  .sp__tools input[type="search"] { min-height: 38px; font-size: 14px; }
  @media (max-width: 600px) {
    .sp__groups .dy-chip, .sp__regions .dy-chip, .sp__flt .his__chip, .sp__rkb { min-height: 28px; height: 28px; padding: 0 8px; font-size: 12.5px; }
    .sp__groups, .sp__regions, .sp__rk, .sp__flt { gap: 4px; }
  }
  /* 發光生物卡：夜空深藍底、藍綠色螢光外框，外光慢慢呼吸（拖曳時停，不干擾操作） */
  .spc--glow { background: linear-gradient(145deg, #1de9d0, #0a7fb8 45%, #28f0c8 70%, #0b5e8a) !important;
               box-shadow: 0 0 0 1px rgba(120,255,235,.9), 0 0 14px rgba(40,240,210,.65), 0 0 34px rgba(30,150,255,.35), 0 10px 22px -12px rgba(0,0,0,.5); animation: spglow 3.6s ease-in-out infinite; }
  @keyframes spglow { 0%, 100% { box-shadow: 0 0 0 1px rgba(120,255,235,.9), 0 0 12px rgba(40,240,210,.55), 0 0 28px rgba(30,150,255,.28), 0 10px 22px -12px rgba(0,0,0,.5); }
                      50% { box-shadow: 0 0 0 1px rgba(160,255,240,1), 0 0 22px rgba(40,240,210,.85), 0 0 50px rgba(30,150,255,.45), 0 10px 22px -12px rgba(0,0,0,.5); } }
  .spc--glow.is-drag, .spc--glow.is-tilt { animation: none; }
  .spc--glow .spc__in { background: radial-gradient(120% 80% at 50% 0%, #0d3b52 0%, #06202f 55%, #041621 100%) !important; color: #d8fbf5; }
  .spc--glow .spc__name { color: #8ff9ea; text-shadow: 0 0 6px rgba(80,255,230,.8), 0 0 16px rgba(40,200,255,.5); background: none !important; -webkit-text-fill-color: #8ff9ea; }
  .spc--glow .spc__glyph { background: #0b3b4a; color: #8ff9ea; box-shadow: 0 0 8px rgba(80,255,230,.8); }
  .spc--glow .spc__stars { color: #6ff5e3 !important; text-shadow: 0 0 6px rgba(80,255,230,.9) !important; }
  .spc--glow .spc__art { border-color: #7ff5e4; box-shadow: 0 0 10px rgba(80,255,230,.6); background: #041a26; }
  .spc--glow .spc__type, .spc--glow .spc__type i { color: #9ee9e0; }
  .spc--glow .spc__box { background: rgba(10,50,66,.7); border-color: rgba(120,255,235,.35); color: #d8fbf5; }
  .spc--glow .spc__where span { background: #13c5b0 !important; color: #032029; }
  .spc--glow .spc__flav { color: #b9ece6; }
  .spc--glow .spc__grade { color: #8ff9ea; border-color: #8ff9ea; background: transparent; }
  .spc--glow .spc__prot { color: #ffe27a; }
  .spc--glow .spc__rk { color: #8ff9ea; text-shadow: 0 0 6px rgba(80,255,230,.9); background: none; -webkit-text-fill-color: #8ff9ea; }
  .spc--glow .spc__holo { background: radial-gradient(circle at var(--mx) var(--my), rgba(120,255,235,.25), transparent 45%) !important; mix-blend-mode: screen; opacity: .8; }
  .spc--glow .spc__spark { display: none; }
  /* 沒照片的發光生物：夜裡地面上幾點會呼吸的綠光 */
  .spc__ph--glow { position: relative; background: radial-gradient(90% 70% at 50% 100%, #0f3a2e, #041a26 70%); color: transparent; }
  .spc__ph--glow i { position: absolute; width: 5cqw; height: 5cqw; border-radius: 50%; background: #b8ffe9; box-shadow: 0 0 3cqw 1.5cqw rgba(90,255,200,.85), 0 0 8cqw 3cqw rgba(40,220,180,.35); animation: spfly 2.8s ease-in-out infinite; }
  .spc__ph--glow i:nth-child(1) { left: 22%; top: 62%; } .spc__ph--glow i:nth-child(2) { left: 48%; top: 72%; animation-delay: .7s; }
  .spc__ph--glow i:nth-child(3) { left: 70%; top: 58%; animation-delay: 1.4s; } .spc__ph--glow i:nth-child(4) { left: 35%; top: 40%; animation-delay: 2.1s; width: 3cqw; height: 3cqw; }
  .spc__ph--glow i:nth-child(5) { left: 80%; top: 30%; animation-delay: 1s; width: 3cqw; height: 3cqw; }
  .spc__ph--glow small { position: absolute; left: 0; right: 0; bottom: 3cqw; text-align: center; font-size: 3.4cqw; font-weight: 700; color: rgba(190,255,240,.75); }
  @keyframes spfly { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1); } }
  @media (prefers-reduced-motion: reduce) { .spc--glow, .spc__ph--glow i { animation: none; } }
  /* 天氣動態圖示 */
  .wxi { flex: none; vertical-align: -5px; margin-right: 5px; overflow: visible; }
  .wxi__sun circle { fill: #ffcc33; } .wxi__sun line { stroke: #ffcc33; stroke-width: 1.8; stroke-linecap: round; }
  .wxi__sun { transform-origin: 12px 12px; animation: wxspin 14s linear infinite; }
  .wxi__moon { fill: #ffe9a8; animation: wxglow 3.5s ease-in-out infinite; }
  .wxi__cloud { fill: #dfe7ec; stroke: #9fb1bc; stroke-width: .8; }
  .wxi__drift { animation: wxdrift 4s ease-in-out infinite; }
  .wxi__drop { stroke: #6cc3ff; stroke-width: 1.6; stroke-linecap: round; animation: wxdrop 1s linear infinite; }
  .wxi__bolt { fill: #ffd23f; animation: wxflash 2.4s steps(1) infinite; }
  .wxi__fog { stroke: #c9d4da; stroke-width: 2; stroke-linecap: round; animation: wxfog 3s ease-in-out infinite; }
  @keyframes wxspin { to { transform: rotate(360deg); } }
  @keyframes wxglow { 0%, 100% { opacity: .85; } 50% { opacity: 1; filter: drop-shadow(0 0 2px #ffe9a8); } }
  @keyframes wxdrift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(1.5px); } }
  @keyframes wxdrop { 0% { transform: translateY(-2px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(3px); opacity: 0; } }
  @keyframes wxflash { 0%, 70%, 100% { opacity: 0; } 72%, 80% { opacity: 1; } }
  @keyframes wxfog { 0%, 100% { transform: translateX(-1.5px); opacity: .6; } 50% { transform: translateX(1.5px); opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .wxi * { animation: none !important; } }
  .condmini__v .wxi { width: 18px; height: 18px; margin-right: 3px; vertical-align: -4px; }
  /* 起降：可以點的格子 */
  .condtap { appearance: none; border: 0; background: none; padding: 0; font: inherit; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 4px; }
  .srcmini { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent;
    color: var(--ink-muted); font: inherit; font-size: 12.5px; cursor: pointer; }
  .srcmini:hover { background: var(--surface-sunken, #ece7de); }
  .dy-cond__time { white-space: nowrap; } .dy-cond__time .srcmini__dot { display: inline-block; margin-right: 6px; vertical-align: 1px; }
  .srcmini__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--go, #2b8a3e); } .srcmini__dot.is-stale { background: var(--hold, #9a6700); }
  .srcmini__open { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
  .srcmini__x { border: 0; background: none; color: var(--tide, #0c6e77); font: inherit; font-size: 12.5px; cursor: pointer; min-height: 32px; }
  .subnav__demo { margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: #f2c14e; color: #4a3500; font-size: 11px; font-weight: 800; vertical-align: 2px; }
  .condmini__v.condtap { overflow: visible; text-overflow: clip; white-space: nowrap; text-align: left; }
  /* 起降判斷做成有顏色的膠囊（2026-10-03 使用者：「達標準」不要白字，要明顯） */
  .condtap.dy-cond__value--go, .condtap.dy-cond__value--hold, .condtap.dy-cond__value--stop {
    justify-self: start; padding: 3px 10px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 1.5px solid currentColor; }
  .condtap.dy-cond__value--go { color: var(--go-on-deep, #5fd3a0) !important; background: rgba(95,211,160,.16); }
  .condtap.dy-cond__value--hold { color: var(--hold-on-deep, #f2c94c) !important; background: rgba(242,201,76,.16); }
  .condtap.dy-cond__value--stop { color: var(--stop-on-deep, #ff8a7a) !important; background: rgba(255,138,122,.18); }
  .condtap__i { font-size: .62em; margin-left: 3px; vertical-align: super; opacity: .85; text-decoration: none; display: inline-block; }
  /* 起降的標籤上下兩列要一樣寬、字置中（使用者 2026-10-05：字數不同時字的位置沒有對齊；後來中間那級定名「過門檻」，三級裡仍有四個字的「低於標準」）。
     標籤裡不再放 ⓘ 與來源小點——字數不同時它們會把字推到不同位置，而且整格本來就能點 */
  .dy-cond--dual .condtap.dy-cond__value--go, .dy-cond--dual .condtap.dy-cond__value--hold, .dy-cond--dual .condtap.dy-cond__value--stop {
    min-width: 5.4em; text-align: center; box-sizing: border-box; }
  .dy-cond--dual .condtap .condtap__i { display: none; }
  .dy-cond--dual .condq--real .condtap.dy-cond__value::after { content: none; }
  /* 起降門檻說明 */
  .frule { position: relative; width: min(560px, 100%); max-height: 90vh; overflow: auto; background: var(--surface-raised, #fff); color: var(--ink); border-radius: 16px; padding: 20px; }
  .frule h3 { margin: 0 0 6px; font-size: 19px; } .frule__std { margin: 0 0 10px; color: var(--ink-muted); font-size: 14px; }
  .frule__t { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 10px; }
  .frule__t th, .frule__t td { padding: 6px 6px; border-bottom: 1px solid var(--line); text-align: left; }
  .frule__t thead th { font-size: 12.5px; color: var(--ink-muted); font-weight: 700; }
  .frule__stop { color: #b42318; font-weight: 800; } .frule__hold { color: #b26a00; font-weight: 800; } .frule__go { color: #15803d; font-weight: 800; }
  .frule__how { margin: 0 0 10px; padding-left: 1.2em; font-size: 14px; line-height: 1.8; }
  .frule__note { margin: 6px 0 0; font-size: 13px; color: var(--ink-muted); line-height: 1.7; }
  .spc__pend { font-weight: 700; color: #ffe27a; } .spc__tag--pend { background: #8a6d12; }
  .sp__seanote a { color: #1d6f7a !important; } .sp__seanote b, .sp__seanote .sp__glowsrc { color: #10323a !important; text-shadow: none !important; }
  .sp__seanote { box-shadow: 0 0 0 1px rgba(29,111,122,.25) !important; background: linear-gradient(135deg, #e7f3f7, #d7ebf1) !important; color: #10323a !important; }
  .sp__glownote { margin: 4px 0 12px; padding: 12px 14px; border-radius: 12px; background: linear-gradient(135deg, #06202f, #0d3b52); color: #d8fbf5; box-shadow: 0 0 0 1px rgba(120,255,235,.5), 0 0 14px rgba(40,240,210,.25); }
  .sp__glownote b { color: #8ff9ea; } .sp__glownote p { margin: 6px 0 0; font-size: 14px; line-height: 1.7; }
  .sp__glownote .sp__glowsrc { font-size: 12.5px; color: #9ee9e0; } .sp__glownote a { color: #8ff9ea; }
  .ma__import { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 0; }
  .ma__impbtn { appearance: none; display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--tide); background: var(--surface-raised, #fff); color: var(--tide); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
  .ma__impbtn:hover { background: color-mix(in srgb, var(--tide) 8%, transparent); } .ma__impbtn.is-busy { opacity: .6; cursor: progress; }
  .bi__list { margin: 12px 0; padding-left: 1.4em; font-size: 14px; } .bi__list li { margin: 4px 0; } .bi__list small { color: var(--ink-muted); margin-left: 4px; }
  .bi__rm { appearance: none; border: 0; background: none; color: #b42318; cursor: pointer; margin-left: 6px; }
  .bi__res { list-style: none; margin: 0 0 12px; padding: 0; font-size: 14px; } .bi__res li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
  .bi__res .is-ok { color: #15803d; } .bi__res .is-bad { color: #b42318; } .bi__res a { color: var(--tide); } .bi__res small { color: var(--ink-muted); }
  /* 停車小幫手 */
  .pk__live { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
  .pk__right { display: flex; flex-direction: column; gap: 12px; min-width: 0; } .pk__right .pk__mapwrap { flex: 1; min-height: 240px; } .pk__right .pk__fee-box { margin-top: 0; }
  .pk__lots { display: grid; gap: 10px; }
  .pk__sum { margin: 0; font-size: 15px; } .pk__sum b { font-size: 22px; color: var(--tide); margin: 0 2px; } .pk__sum small { color: var(--ink-muted); margin-left: 6px; }
  .pk__lot { background: var(--surface-raised, #fff); border: 1px solid var(--line); border-left: 6px solid #15803d; border-radius: 14px; padding: 12px 16px; }
  .pk__lot--low { border-left-color: #d97706; } .pk__lot--full { border-left-color: #b42318; } .pk__lot--unk { border-left-color: var(--line-strong); }
  .pk__lothead { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
  .pk__lothead h3 em { margin-left: 10px; font-style: normal; font-size: 13px; font-weight: 800; color: #15803d; white-space: nowrap; } .pk__lot--low .pk__lothead h3 em { color: #d97706; } .pk__lot--full .pk__lothead h3 em { color: #b42318; }
  .pk__brief { align-self: center; font-size: 13px; color: var(--ink-muted); }
  .pk__more1 { margin-top: 6px; font-size: 13px; color: var(--ink-muted); } .pk__more1 summary { display: inline-block; cursor: pointer; color: var(--tide); font-weight: 700; padding: 4px 0; } .pk__more1 p { margin: 2px 0 0; }
  .pk__lothead h3 { margin: 0; font-size: 18px; } .pk__addr { margin: 2px 0 0; font-size: 13px; color: var(--ink-muted); }
  .pk__free { text-align: right; flex: none; } .pk__free b { font-size: 34px; line-height: 1; color: #15803d; font-family: var(--font-mono); }
  .pk__lot--low .pk__free b { color: #d97706; } .pk__lot--full .pk__free b { color: #b42318; }
  .pk__free span { color: var(--ink-muted); font-size: 14px; } .pk__free em { display: block; font-style: normal; font-weight: 800; font-size: 13px; color: #15803d; }
  .pk__lot--low .pk__free em { color: #d97706; } .pk__lot--full .pk__free em { color: #b42318; }
  .pk__bar { height: 8px; border-radius: 4px; background: #e3f4e6; overflow: hidden; margin: 10px 0 8px; } .pk__bar i { display: block; height: 100%; background: linear-gradient(90deg, #15803d, #d97706 75%, #b42318); }
  .pk__tags { display: flex; flex-wrap: wrap; gap: 6px; } .pk__tags span { font-size: 12.5px; padding: 2px 10px; border-radius: 999px; background: var(--surface-sunken); }
  .pk__fee { margin: 8px 0 0; font-size: 13.5px; }
  .pk__act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .pk__mapwrap { position: relative; } .pk__map { height: 100%; min-height: 240px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); z-index: 0; isolation: isolate; }
  .pk__mapph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-muted); font-size: 14px; border-radius: 14px; background: var(--surface-sunken); z-index: 1; }
  .pk__warn { margin: 0; padding: 8px 12px; border-radius: 10px; background: #fff4df; color: #8a5a12; font-size: 14px; }
  .pkmk { background: none; border: 0; }
  .pkmk__b { position: relative; display: inline-flex; align-items: baseline; gap: 2px; padding: 4px 10px; border-radius: 12px; background: #15803d; color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.3); white-space: nowrap; }
  .pkmk__b::after { content: ''; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: inherit; }
  .pkmk__b b { font-size: 18px; } .pkmk__b span { font-size: 11px; }
  .pkmk__b--low { background: #d97706; } .pkmk__b--full { background: #b42318; } .pkmk__b--unk { background: #6b7280; }
  .pkmk__b--ok::after { border-top-color: #15803d; } .pkmk__b--low::after { border-top-color: #d97706; } .pkmk__b--full::after { border-top-color: #b42318; } .pkmk__b--unk::after { border-top-color: #6b7280; }
  .pk__fee-box { margin-top: 20px; padding: 16px; border-radius: 16px; background: var(--surface-raised, #fff); border: 1px solid var(--line); }
  .pk__fee-box h3, .pk__card h3 { margin: 0 0 10px; font-size: 18px; }
  .pk__tabs { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-sunken); gap: 2px; margin-bottom: 10px; }
  .pk__tabs button { appearance: none; border: 0; background: none; padding: 8px 16px; border-radius: 999px; font: inherit; font-weight: 700; color: var(--ink-muted); cursor: pointer; }
  .pk__tabs button.is-on { background: var(--tide); color: #fff; }
  .pk__form { display: flex; gap: 8px; } .pk__form input { flex: 1 1 0; min-width: 0; width: 0; height: 48px; padding: 0 14px; border: 2px solid var(--line-strong); border-radius: 12px; font: inherit; font-size: 20px; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--surface-raised, #fff); color: var(--ink); }
  .pk__form input:focus { border-color: var(--tide); outline: none; } .pk__form .authbtn { min-height: 48px; padding: 0 22px; font-size: 16px; }
  .pk__recent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 13px; color: var(--ink-muted); }
  .pk__recent .his__chip { font-family: var(--font-mono); } .pk__clr { appearance: none; border: 0; background: none; color: var(--ink-muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 12.5px; }
  .pk__toast { margin: 10px 0 0; color: #8a3b12; font-weight: 600; }
  .pk__none { margin-top: 12px; padding: 14px; border-radius: 12px; background: #e3f4e6; color: #14532d; } .pk__none p { margin: 6px 0 0; font-size: 14px; }
  .pk__res { margin-top: 12px; } .pk__hint { margin: 0 0 8px; color: var(--ink-muted); }
  .pk__cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
  .pk__car { border: 1px solid var(--line); border-radius: 12px; padding: 10px; } .pk__car img, .pk__noimg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #111; display: grid; place-items: center; color: #aaa; }
  .pk__car p { margin: 8px 0; font-size: 14px; } .pk__car b { font-family: var(--font-mono); }
  .pk__calc { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; } .pk__calc > div { background: var(--surface-sunken); border-radius: 8px; padding: 6px 8px; display: flex; flex-direction: column; }
  .pk__calc span { font-size: 12px; color: var(--ink-muted); } .pk__calc b { font-size: 15px; } .pk__due b { color: #b42318; font-size: 20px; }
  .pk__calc .pk__pay, .pk__calc .pk__freeok { grid-column: 1 / -1; }
  .pk__zerobox { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
  .pk__zero { grid-column: 1 / -1; margin: 4px 0 0; padding: 8px 10px; border-radius: 10px; background: #fff4df; color: #8a5a12; font-weight: 700; font-size: 14px; }
  .pk__freeok { margin: 4px 0 0; color: #15803d; font-weight: 800; }
  .pk__bill { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
  .pk__bill div { display: flex; flex-direction: column; } .pk__bill span { font-size: 13px; color: var(--ink-muted); } .pk__bill strong { font-size: 18px; }
  .pk__total { text-align: right; margin: 8px 0; } .pk__total strong { font-size: 24px; color: #b42318; }
  .pk__pay { width: 100%; justify-content: center; min-height: 46px; }
  .pk__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
  .pk__card { padding: 16px; border-radius: 16px; background: var(--surface-raised, #fff); border: 1px solid var(--line); }
  .pk__card > p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.7; }
  .pk__news { list-style: none; margin: 0; padding: 0; } .pk__news li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
  .pk__news span { flex: none; color: var(--ink-muted); font-family: var(--font-mono); font-size: 12.5px; padding-top: 2px; } .pk__news a { color: var(--ink); } .pk__news a:hover { color: var(--tide); }
  .pk__more { display: inline-block; margin-top: 8px; color: var(--tide); font-weight: 700; font-size: 14px; }
  .pk .authbtn:not(.authbtn--primary) { background: var(--surface-raised, #fff); color: var(--ink); border: 1px solid var(--line-strong); }
  @media (min-width: 861px) { .pk__right .pk__map { position: absolute; inset: 0; height: auto; min-height: 0; } }      /* 電腦：地圖填滿右欄剩下的高度 */
  @media (max-width: 860px) { .pk__live { grid-template-columns: minmax(0, 1fr); } .pk__right { display: contents; } .pk__mapwrap { position: relative; top: 0; order: -1; } .pk__map { min-height: 300px; } .pk__right .pk__fee-box { order: 2; } .pk__grid2 { grid-template-columns: 1fr; } }
  @media (max-width: 520px) { .pk__calc { grid-template-columns: 1fr 1fr; } .pk__due { grid-column: 1 / -1; } .pk__free b { font-size: 28px; } }
  /* 班機：依班表推算的半透明＋虛框，地面的小一點 */
  .plane3d.is-est { opacity: .55; filter: grayscale(.4); outline: 2px dashed rgba(12,112,120,.7); outline-offset: -4px; border-radius: 50%; }
  .plane3d.is-ground { transform: scale(.8); }
  .plane-est { position: absolute; left: 50%; top: 44px; transform: translateX(-50%); font-size: 11px; font-weight: 800; color: #0c7078; background: rgba(255,255,255,.9); border-radius: 999px; padding: 0 6px; white-space: nowrap; }
  .plane-est--g { color: #555; }
  .ma__cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
  .ma__cat { appearance: none; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface-raised, #fff); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
  .ma__cat.is-on { background: var(--tide); border-color: var(--tide); color: #fff; font-weight: 700; } .ma__cat.is-on::before { content: '✓ '; }
  .ma__catsel { width: 100%; height: 44px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; background: var(--surface-raised, #fff); color: var(--ink); margin: 4px 0 10px; }
  .ma__restore { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; margin: 0 0 12px; border-radius: 12px; background: #fff4df; border: 1px solid #e9c98f; }
  .ma__restore span { flex: 1 1 240px; }
  .ma__auto { margin: 6px 0 0; font-size: 13px; color: var(--ink-muted); }
  .ma__share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
  .ma__sharelb { font-weight: 700; margin-right: 4px; }
  .ma__sb { appearance: none; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface-raised, #fff); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
  .ma__sb--main { background: var(--tide); border-color: var(--tide); color: #fff; }
  .ma__sb--line { background: #06c755; border-color: #06c755; color: #fff; } .ma__sb--fb { background: #1877f2; border-color: #1877f2; color: #fff; }
  /* 一起錄馬祖話 */
  .vc__promo { display: flex; flex-direction: column; gap: 4px; margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #0c7078, #0e5f78); color: #fff; text-decoration: none; }
  .vc__promo--exam { background: linear-gradient(135deg, #46178f, #7a3ed6); color: #fff; border-color: transparent; margin-bottom: 10px; } .vc__promo--exam b, .vc__promo--exam span { color: #fff; }
  .vc__promo b { font-size: 17px; } .vc__promo span { font-size: 14px; opacity: .9; }
  .vc__intro { margin: 0 0 12px; line-height: 1.8; }
  .vc__stats { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-muted); } .vc__stats b { color: var(--tide); font-size: 15px; }
  .vc__intro summary { cursor: pointer; line-height: 1.7; } .vc__intro p { margin: 6px 0 0; line-height: 1.8; font-size: 14px; }
  .vc__cats.vc__cats--row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; } .vc__cats--row::-webkit-scrollbar { display: none; } .vc__cats--row .ma__cat { flex: none; }
  .vc__tabs { margin-bottom: 14px; }
  .vc__cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
  .vc__mine { font-size: 13.5px; color: var(--ink-muted); margin: 0 0 10px; } .vc__edit { appearance: none; border: 0; background: none; color: var(--tide); text-decoration: underline; cursor: pointer; font: inherit; margin-left: 8px; }
  .vc__card { background: var(--surface-raised, #fff); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
  .vw { text-align: center; margin-bottom: 14px; }
  .vw__zh { font-size: 44px; font-weight: 900; line-height: 1.2; } .vw__zh--s { font-size: 28px; }
  .vw__md { display: flex; justify-content: center; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 4px; } .vw__md b { font-size: 22px; color: var(--tide); } .vw__md span { font-size: 18px; color: var(--ink-muted); font-style: italic; }
  .vw__en { margin-top: 4px; color: var(--ink-muted); font-size: 14px; }
  .vw__note { margin: 8px auto 0; max-width: 520px; font-size: 13px; color: #8a5a12; background: #fff4df; border-radius: 10px; padding: 6px 10px; }
  /* 2026-10-25 錄馬祖話分範圍：考試詞彙／其他生活詞彙 */
  /* 加入 LINE 小幫手（2026-10-26，portal.js 的 LineJoin） */
  .linejoin { display: flex; align-items: center; gap: 12px; margin: 16px 0; padding: 12px 16px; border-radius: 14px; border: 1px solid #cfe7d6; background: #f2faf4; color: #10242a; text-decoration: none; min-height: 44px; }
  .linejoin:hover { background: #e7f6ec; }
  .linejoin__i { flex: none; color: #06c755; }
  .linejoin__t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .linejoin__t b { font-size: 15px; } .linejoin__t small { font-size: 13px; color: #3e4f54; line-height: 1.5; }
  .linejoin__go { flex: none; font-size: 14px; font-weight: 700; color: #fff; background: #06c755; border-radius: 999px; padding: 6px 12px; }
  .linejoin.is-alert { border-color: #f1c3b6; background: #fff4ef; } .linejoin.is-alert .linejoin__t b { color: #b42318; }
  .vc__scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
  .vc__sc { text-align: left; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--dl-hair, #c9d3d4); background: var(--surface, #fbfcfb); font: inherit; color: inherit; display: flex; flex-direction: column; gap: 4px; cursor: pointer; min-height: 44px; }
  .vc__sc.is-on { border: 2px solid #4a3f8f; background: #fff; padding: 11px 15px; }
  .vc__sch { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .vc__sch b { font-size: 17px; }
  .vc__sc small { font-size: 13px; color: #56676c; }
  .vc__scb { font-style: normal; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 1px 9px; }
  .vc__scb.is-exam { color: #fff; background: #4a3f8f; } .vc__scb.is-other { color: #56676c; background: #e6ebeb; }
  .vc__lv { border: 1px solid #dfe5e5; border-radius: 14px; background: #fff; padding: 14px 16px; margin: 0 0 14px; display: flex; flex-direction: column; gap: 10px; }
  .vc__lvh { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; } .vc__lvh small { color: #56676c; font-size: 13px; }
  .vc__lvg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .vc__lvi { display: flex; flex-direction: column; gap: 5px; font-size: 14px; } .vc__lvi small { color: #56676c; font-size: 12px; }
  .vc__bar { display: block; height: 7px; border-radius: 4px; background: #e6e4f2; overflow: hidden; } .vc__bar > i { display: block; height: 7px; background: #4a3f8f; min-width: 0; }
  .vc__catsel { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; color: #56676c; }
  .vc__catsel select { height: 36px; border-radius: 10px; border: 1px solid #c9d3d4; background: #fff; font: inherit; color: #10242a; padding: 0 8px; max-width: 70vw; }
  .vc__rel { margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; background: #fbf6e8; border: 1px solid #ecdcb0; color: #4d3d0f; }
  .vc__rel b { color: #6b5212; } .vc__rel p { margin: 4px 0 0; font-size: 14px; line-height: 1.7; }
  .vw__chips { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; }
  .vw__chip { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; color: #3e4f54; background: #eef2f2; }
  .vw__chip.is-lv { color: #4a3f8f; background: #ece9f7; } .vw__chip.is-exam { color: #fff; background: #4a3f8f; } .vw__chip.is-pending { color: #8a5a12; background: #fff4df; }
  .vw__big { font-family: var(--font-serif); font-size: 52px; font-weight: 900; line-height: 1.15; color: #4a3f8f; } .vw__big span { display: block; font-family: var(--font-sans); font-size: 16px; font-weight: 500; color: #56676c; }
  .vw__mean { font-size: 18px; margin-top: 6px; }
  .vw__teach { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; } .vw__teach span { display: flex; flex-direction: column; align-items: center; gap: 4px; } .vw__teach small { font-size: 12px; color: #56676c; }
  .vw__teach audio { height: 36px; max-width: 260px; }
  .vd__lv { font-size: 12px; font-weight: 700; color: #4a3f8f; background: #ece9f7; border-radius: 999px; padding: 1px 7px; }
  @media (max-width: 560px) { .vc__scope { gap: 8px; } .vc__sc { padding: 10px 12px; } .vc__sc.is-on { padding: 9px 11px; } .vc__sch b { font-size: 15px; } .vc__lvg { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vw__big { font-size: 42px; } }
  .vr { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .vr__btn { appearance: none; border: 0; width: min(320px, 100%); height: 84px; border-radius: 42px; background: var(--tide); color: #fff; font: inherit; font-size: 20px; font-weight: 900; cursor: pointer;
             user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none; box-shadow: 0 6px 16px rgba(12,112,120,.35); }
  .vr__btn.is-rec { background: #b42318; transform: scale(1.04); box-shadow: 0 0 0 8px rgba(180,35,24,.2), 0 6px 16px rgba(180,35,24,.4); }
  .vr--s .vr__btn { height: 52px; width: min(260px, 100%); font-size: 16px; }
  .vr__bar { position: relative; width: min(320px, 100%); height: 18px; border-radius: 9px; background: var(--surface-sunken); overflow: hidden; }
  .vr__bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #0c7078, #d97706); } .vr__bar span { position: relative; display: block; text-align: center; font-size: 12px; line-height: 18px; font-weight: 700; }
  .vr__done { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; } .vr__done audio { width: min(360px, 100%); }
  .vr__act { display: flex; gap: 8px; } .vr__ok { margin: 0; color: #15803d; font-weight: 800; } .vr__err { margin: 0; color: #b42318; font-size: 14px; text-align: center; }
  .vc__exs { margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--line); } .vc__exs h4 { margin: 0 0 8px; }
  .vc__ex { padding: 10px 0; border-bottom: 1px dashed var(--line); } .vc__ex p { margin: 0 0 8px; text-align: center; } .vc__ex b { font-size: 20px; display: block; }
  .vc__ex span { display: block; color: var(--ink-muted); font-size: 13.5px; } .vc__ex small { display: block; color: var(--ink-muted); font-size: 12px; margin-top: 2px; }
  .vc__nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; }
  .vc__hint { text-align: center; margin: 0 0 10px; } .vc__audio { display: block; margin: 8px auto; width: min(420px, 100%); } .vc__meta { text-align: center; font-size: 13px; color: var(--ink-muted); margin: 0; }
  .vc__vote { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
  .vc__yes, .vc__no { appearance: none; border: 0; height: 52px; padding: 0 22px; border-radius: 26px; font: inherit; font-size: 17px; font-weight: 800; color: #fff; cursor: pointer; }
  .vc__yes { background: #15803d; } .vc__no { background: #b42318; }
  .vc__consent { background: var(--surface-raised, #fff); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-bottom: 12px; } .vc__consent h3 { margin: 0 0 8px; } .vc__consent li { margin: 4px 0; line-height: 1.7; }
  /* 馬祖語料庫三選一（CorpusPick、帳號設定 AccCorpus；2026-10-17） */
  .cpk { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 12px; margin: 12px 0; background: var(--surface-raised, #fff); min-width: 0; }
  .cpk.is-first { border-color: var(--tide, #0c7078); box-shadow: 0 0 0 2px rgba(12, 112, 120, .08); }
  .cpk legend { padding: 0 6px; font-weight: 700; font-size: 14px; color: var(--ink); }
  .cpk__one { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
  .cpk__chg { appearance: none; border: 0; background: none; color: var(--tide, #0c7078); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; padding: 6px 2px; min-height: 32px; }
  .cpk__lead { margin: 2px 0 8px; font-size: 13px; color: var(--ink-muted); line-height: 1.6; }
  .cpk__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  @media (max-width: 640px) { .cpk__opts { grid-template-columns: minmax(0, 1fr); } }
  .cpk__o { display: flex; gap: 8px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; cursor: pointer; min-height: 44px; background: var(--surface, #fff); }
  .cpk__o.is-on { border-color: var(--tide, #0c7078); background: rgba(12, 112, 120, .06); }
  .cpk__o input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--tide, #0c7078); }
  .cpk__o b { display: block; font-size: 14px; } .cpk__o small { display: block; font-size: 12px; color: var(--ink-muted); line-height: 1.55; margin-top: 2px; }
  .cpk__fine { margin: 8px 0 0; font-size: 12px; color: var(--ink-muted); line-height: 1.6; } .cpk__fine a { color: var(--tide, #0c7078); }
  .cpk--open .cpk__lead { font-size: 14px; color: var(--ink); } .cpk--open .cpk__lead b { display: block; margin-bottom: 2px; font-size: 15px; color: var(--tide, #0c7078); } .cpk--open .cpk__one { color: var(--ink-muted); font-size: 13px; } .cpk--open .cpk__one a { color: var(--tide, #0c7078); }
  .acc__cp .cpk__opts { margin-bottom: 8px; grid-template-columns: minmax(0, 1fr); } .acc__cpn { margin: 4px 0; font-size: 13px; color: var(--ink-muted); }
  .acc__cprow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 8px 0 0; }
  .vc__rvr { margin: 0 0 8px; font-size: 13px; color: var(--tide, #0c7078); }
  .vc__login { padding: 16px; border-radius: 14px; background: var(--surface-raised, #fff); border: 1px solid var(--line); }
  .vc__top { margin-top: 18px; } .vc__top ol { margin: 0; padding-left: 1.4em; } .vc__top li { padding: 3px 0; } .vc__top span { color: var(--ink-muted); margin-left: 8px; font-size: 13px; }
  .vd__list { list-style: none; margin: 0; padding: 0; } .vd__list li button { appearance: none; width: 100%; text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 6px; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; color: var(--ink); cursor: pointer; }
  .vd__list b { font-size: 18px; } .vd__md { color: var(--tide); font-weight: 700; } .vd__rom { color: var(--ink-muted); font-style: italic; } .vd__en { color: var(--ink-muted); font-size: 13px; flex: 1 1 200px; }
  .vd__n { font-size: 12.5px; color: var(--ink-muted); } .vd__n.is-ok { color: #15803d; font-weight: 700; }
  .vd__clips { list-style: none; margin: 0; padding: 0; } .vd__clips li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 0; } .vd__clips audio { height: 36px; max-width: 100%; }
  @media (max-width: 520px) { .vw__zh { font-size: 36px; } .acc__grid--3 { grid-template-columns: 1fr; } }
  /* 風浪程度條：五格綠→紅，右邊一個字 */
  .lvlbtn { appearance: none; border: 0; background: none; padding: 0; margin-left: 6px; cursor: pointer; display: inline-flex; vertical-align: middle; }
  .lvl { display: inline-flex; align-items: center; gap: 5px; } .lvl__bar { display: inline-flex; gap: 2px; }
  .lvl__bar i { width: 6px; height: 12px; border-radius: 2px; background: rgba(255,255,255,.18); }
  .lvl--0 .is-on { background: #34d399; } .lvl--1 .is-on { background: #a3e635; } .lvl--2 .is-on { background: #facc15; } .lvl--3 .is-on { background: #fb923c; } .lvl--4 .is-on { background: #ef4444; }
  .lvl__w { font-size: 13px; font-weight: 800; text-decoration: underline dotted; text-underline-offset: 3px; }
  .lvl--0 .lvl__w { color: #6ee7b7; } .lvl--1 .lvl__w { color: #bef264; } .lvl--2 .lvl__w { color: #fde047; } .lvl--3 .lvl__w { color: #fdba74; } .lvl--4 .lvl__w { color: #fca5a5; }
  .frule .lvl__bar i { background: #e5e7eb; width: 22px; height: 14px; }
  .frule .lvl--0 .is-on { background: #34d399; } .frule .lvl--1 .is-on { background: #a3e635; } .frule .lvl--2 .is-on { background: #facc15; } .frule .lvl--3 .is-on { background: #fb923c; } .frule .lvl--4 .is-on { background: #ef4444; }
  .frule__t td:last-child { white-space: nowrap; } .frule .lvl__w { color: var(--ink); font-size: 16px; text-decoration: none; }
  .lvlbig { margin: 4px 0 12px; } .frule__t tr.is-on td { background: #fff4df; font-weight: 800; }
  .ma__chk { display: block; margin: 10px 0; } .ma__msg { color: #8a3b12; }
  .fbk__b { appearance: none; margin-top: 8px; padding: 4px 12px; min-height: 34px; border: 1px dashed var(--line-strong); border-radius: 999px; background: none; color: var(--ink-muted); font: inherit; font-size: 13px; cursor: pointer; }
  .fbk__b:hover { color: var(--tide); border-color: var(--tide); }
  .fbk { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--surface-sunken, #f3f1ec); }
  .fbk__h { margin: 0 0 6px; font-size: 13.5px; } .fbk textarea { width: 100%; box-sizing: border-box; padding: 8px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; }
  .fbk__st { font-size: 13px; color: #8a3b12; margin: 6px 0 0; }
  .spc__sub { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; margin-top: -1cqw; min-height: 6.2cqw; }
  .spc__sub .spc__stars { margin-top: 0; flex: none; }
  .spc__local { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; font-size: 4.6cqw; line-height: 1.2; color: #7a4a12; }
  .spc__local small { margin-right: 1.4cqw; padding: .1cqw 1.4cqw; border-radius: 1cqw; background: #7a4a12; color: #fff; font-size: 3.6cqw; font-weight: 800; vertical-align: .3cqw; }
  .spc__tag { padding: 0 1.8cqw; border-radius: 99px; font-weight: 900; line-height: 1.6; color: #fff; white-space: nowrap; }
  .spc__tag--play { background: #3b7fc4; } .spc__tag--eat { background: #3f8a4b; } .spc__tag--toxic { background: #c0392b; }
  .spb__cul { padding: 8px 10px; border-radius: 10px; background: color-mix(in srgb, #d9a300 9%, transparent); }
  .spb__cul--play { background: color-mix(in srgb, #3b7fc4 9%, transparent); } .spb__cul--eat { background: color-mix(in srgb, #3f8a4b 10%, transparent); }
  .spb__cul--toxic { background: color-mix(in srgb, #c0392b 10%, transparent); } .spb__cul--toxic h4 { color: #b0301f !important; }
  .spb__cul p { margin: 3px 0; } .spb__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; } .spb__where { white-space: nowrap; padding: 0 8px; border-radius: 99px; background: var(--surface-raised, #fff); font-size: 11.5px; color: var(--ink-muted); border: 1px solid var(--line); }
  .spb__cite { font-size: 12px; }
  .sp__sets { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 8px; margin: 10px 0; }
  .sp__set { appearance: none; display: flex; flex-direction: column; gap: 3px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface-raised, #fff);
             color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
  .sp__set b { font-size: 13.5px; } .sp__set span { font-size: 12px; color: var(--ink-muted); }
  .sp__set i { display: block; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; } .sp__set em { display: block; height: 100%; background: #d9a300; }
  .sp__set.is-on { background: var(--tide); border-color: var(--tide); color: #fff; box-shadow: 0 3px 10px rgba(12,112,120,.35); }
  .sp__set.is-on b::before { content: '✓ '; } .sp__set.is-on span { color: rgba(255,255,255,.85); } .sp__set.is-on i { background: rgba(255,255,255,.3); } .sp__set.is-on em { background: #ffd35a; } .sp__set.is-done { background: #fff8e1; border-color: #d9a300; }
  .sp__quizb { appearance: none; padding: 8px 16px; min-height: 42px; border-radius: 999px; border: 0; background: var(--tide); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
  .spq { position: relative; width: min(460px, 100%); max-height: 90vh; overflow: auto; background: var(--surface-raised, #fff); color: var(--ink); border-radius: 16px; padding: 18px; }
  .spq h3 { margin: 8px 0 10px; font-size: 19px; } .spq__n { margin: 0; color: var(--ink-muted); font-size: 13px; }
  .spq__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-top: 8px; }
  .spq__opts { display: grid; gap: 8px; } .spq__o { appearance: none; min-height: 46px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface-raised, #fff); color: var(--ink); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
  .spq__o.is-ok { background: #e3f4e6; border-color: #3f8a4b; } .spq__o.is-no { background: #fbe4e1; border-color: #c0392b; }
  .spq__after { margin-top: 10px; } .spq__end h3 { font-size: 24px; }
  .cul__gaps { margin: 6px 0 0; padding-left: 20px; color: var(--ink-muted); font-size: 14px; line-height: 1.8; }
  .skyisles { margin: 4px 0 14px; }
  .skylinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; margin: 18px 0 8px; }
  .skylink { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; text-align: left; border: 1px solid var(--line-strong); border-radius: var(--radius-md);
             background: var(--surface-raised, #fff); color: var(--ink); font: inherit; cursor: pointer; }
  .skylink b { color: var(--tide); font-size: 15px; } .skylink span { font-size: 13px; color: var(--ink-muted); }
  .btf { overflow-x: auto; margin: 8px -4px 0; padding: 0 4px 6px; }
  .btf__grid { display: grid; gap: 3px; min-width: 700px; font-size: 12px; }
  .btf__rh { display: flex; align-items: center; font-weight: 700; color: var(--ink-muted); position: sticky; left: 0; background: var(--surface-raised, #fff); z-index: 1; }
  .btf__rh.is-isl { color: var(--ink); font-size: 13px; }
  .btf__ch { text-align: center; font-weight: 800; font-family: var(--font-mono); line-height: 1.2; } .btf__ch small { display: block; font-weight: 600; color: var(--ink-muted); font-family: inherit; }
  .btf__ch.is-we { color: var(--tide); }
  .btf__meta { text-align: center; color: var(--ink-muted); font-family: var(--font-mono); font-size: 11px; line-height: 1.25; white-space: pre-line; }
  .btf__moon { display: block; width: 14px; height: 14px; margin: 0 auto 1px; border-radius: 50%; border: 1px solid var(--line-strong); }
  .btf__cell { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; border-radius: 6px; line-height: 1.15; }
  .btf__cell b { font-size: 14px; font-family: var(--font-mono); } .btf__cell small { font-size: 10px; opacity: .85; font-family: var(--font-mono); }
  .btf__cell.is-sparse { opacity: .6; outline: 1px dashed var(--line-strong); outline-offset: -2px; }
  .btf__cell.is-off { background: var(--surface-tint); color: var(--ink-muted); font-size: 11px; }
  /* 2026-10-05 排版：列名與數值垂直置中對齊、當晚條件分段＋斑馬紋、推薦的晚上 */
  .btf__rh--m, .btf__meta { min-height: 38px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .btf__rh--m { align-items: flex-start; }
  .btf__rh.is-odd, .btf__meta.is-odd { background: var(--surface-tint); }
  .btf__rh.is-odd { background: var(--surface-tint); }
  .btf__meta.is-odd { border-radius: 0; }
  .btf__sec { margin-top: 10px; padding: 4px 0 2px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; color: var(--ink-muted); letter-spacing: .1em; }
  .btf__ch em { display: block; font-style: normal; font-size: 10.5px; font-weight: 800; color: #b07400; min-height: 14px; font-family: var(--font-sans); }
  .btf__ch.is-best { background: #fff3cf; border-radius: 8px 8px 0 0; }
  .btfac li.is-left .btfac__bar { background: var(--surface-tint); border-radius: 4px; }
  .btfac li.is-left .btfac__bar i { border-radius: 4px; }
  .btfac, .btpath { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; }
  .btfac li, .btpath li { display: grid; grid-template-columns: 5.5em 1fr 3em; gap: 8px; align-items: center; }
  .btfac b, .btpath b { font-family: var(--font-mono); text-align: right; }
  .btfac__bar { position: relative; height: 14px; } .btfac__bar u { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--ink-muted); }
  .btfac__bar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--tide); } .btfac li.is-down i { background: #b84a4a; opacity: .6; }
  .btpath__bar { height: 14px; background: var(--surface-tint); border-radius: 3px; } .btpath__bar i { display: block; height: 100%; border-radius: 3px; background: var(--tide); }
  .bthot { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 8px 24px; } .bthot h4 { margin: 4px 0; }
  .forest { font-size: 13px; }
  .forest__row { display: grid; grid-template-columns: minmax(6.5em, 9.5em) 1fr 3.2em; gap: 8px; align-items: center; min-height: 24px; }
  .forest__head { min-height: 18px; margin-bottom: 2px; }
  .forest__track { position: relative; height: 20px; }
  .forest__head .forest__track i { position: absolute; transform: translateX(-50%); font-style: normal; font-size: 11px; color: var(--ink-muted); font-family: var(--font-mono); white-space: nowrap; }
  .forest__track u { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); text-decoration: none; } .forest__track u.is-zero { background: var(--ink-muted); }
  .forest__track em { position: absolute; top: 7px; height: 6px; border-radius: 3px; background: var(--tide); opacity: .3; }
  .forest__track b { position: absolute; top: 4px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--tide); }
  .forest__lab { text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .forest__val { font-family: var(--font-mono); font-weight: 800; }
  .btfind { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; margin-bottom: 14px; }
  .btfind .dcard { margin: 0; }
  .btbars li { grid-template-columns: minmax(6em, 9em) 1fr 3em 6.5em; }
  .btbars em { font-style: normal; font-size: 12px; color: var(--ink-muted); text-align: right; }
  .btlist { list-style: none; margin: 0; padding: 0; columns: 2; font-size: 13.5px; line-height: 1.8; } .btlist b { color: var(--tide); }
  .dins__tag { margin: 0 0 2px; font-size: 12px; font-weight: 800; color: var(--tide); letter-spacing: .05em; }
  .dins__lead { margin: 4px 0 0; font-size: 16px; font-weight: 700; line-height: 1.6; }
  .dins__r { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; font-size: 13px; color: var(--ink-muted); }
  .dins__r b { font-family: var(--font-mono); color: var(--ink); font-size: 15px; }
  .dins__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 12px 28px; align-items: start; margin-top: 8px; }
  .dins__grid > :only-child { max-width: 640px; }
  .dins .dtable th, .dins .dtable td { white-space: nowrap; }
  @media (max-width: 600px) { .dins .dtable { font-size: 12.5px; } .dins .dtable th, .dins .dtable td { padding-left: 4px; padding-right: 4px; } }
  .dins__p { margin: 6px 0; font-size: 14px; line-height: 1.75; }
  .dins__bars li { grid-template-columns: 4.5em 1fr 6.5em; }
  .dins__bb { display: flex; flex-direction: column; gap: 2px; } .dins__bb i { display: block; height: 8px; border-radius: 3px; background: var(--tide); min-width: 2px; }
  .dins__bb i.is-2 { background: #d9822b; }
  .dins__v2 { display: flex; flex-direction: column; line-height: 1.25; } .dins__v2 span + span { color: #b0651f; }
  .dins__legend { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 6px; font-size: 12px; color: var(--ink-muted); }
  .dins__legend i { display: inline-block; width: 12px; height: 8px; border-radius: 2px; background: var(--tide); } .dins__legend i.k2 { background: #d9822b; margin-left: 8px; }
  .dins__how { margin-top: 8px; font-size: 13px; } .dins__how summary { cursor: pointer; min-height: 32px; color: var(--tide); font-weight: 700; }
  .heat { font-size: 11px; }
  .heat__row { display: grid; grid-template-columns: 2.6em repeat(12, 1fr); gap: 2px; margin-bottom: 2px; }
  .heat__head span { text-align: center; color: var(--ink-muted); font-family: var(--font-mono); }
  .heat__y { color: var(--ink-muted); font-family: var(--font-mono); text-align: right; padding-right: 4px; line-height: 14px; }
  .heat__c { height: 14px; border-radius: 2px; } .heat__c.is-pk { outline: 2px solid #d9822b; outline-offset: -1px; }
  .heat__row.is-covid { opacity: .4; }
  .heat__note { margin: 6px 0 0; font-size: 12px; color: var(--ink-muted); }
  .scat { margin: 0; } .scat__svg { width: 100%; height: auto; display: block; }
  .scat__grid { stroke: var(--line); stroke-width: 1; } .scat__ax { font-size: 11px; fill: var(--ink-muted); font-family: var(--font-mono); }
  .scat__lab { font-size: 12px; fill: var(--ink-muted); } .scat__pt { fill: var(--tide); fill-opacity: .55; stroke: var(--tide); }
  .scat__fit { stroke: #d9822b; stroke-width: 2; stroke-dasharray: 5 4; }
  .dcard--cmp { grid-column: 1 / -1; }
  .dcmp__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 12px 24px; align-items: start; }
  .dcmp__blk { padding-top: 8px; border-top: 1px dashed var(--line); }
  .dcmp__hist { margin: 4px 0 0; font-size: 12px; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 2px 10px; }
  .dcmp__hist b { color: var(--ink); font-family: var(--font-mono); }
  .dbest__h { margin: 18px 0 8px; font-size: 16px; }
  .dbest { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 10px; }
  .dbest__i { box-sizing: border-box; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-md, 12px); background: var(--surface-raised, #fff); }
  .dbest__i.is-top { border-color: var(--tide); }
  .dbest__rk { flex: none; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 3.2em; padding: 4px 8px; border-radius: var(--radius-pill); background: var(--surface-tint); color: var(--tide); font-weight: 800; text-align: center; font-size: 13px; }
  .dbest__rk { background: none !important; padding: 0; color: var(--ink-muted); font-size: 12px; }
  .dbest__i.is-top .dbest__rk { color: var(--tide); }
  .dbest__b { min-width: 0; }
  .dbest__t { margin: 0; font-weight: 800; font-size: 15px; }
  .dbest__v { margin: 4px 0 0; font-size: 13px; color: var(--ink-muted); } .dbest__v b { color: var(--ink); font-family: var(--font-mono); font-size: 16px; }
  .dbest .dsrc, .dbest .dnote { margin: 4px 0 0; }
  .dbest__i.is-open { grid-column: 1 / -1; } .dbest__i.is-open .dbest__b { flex: 1; }
  .dbest__more { margin-top: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--tide); border-radius: var(--radius-pill); background: none; color: var(--tide); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
  .dbest__i.is-open .dbest__more { background: var(--tide); color: var(--on-tide, #fff); }
  .dbest__rank { margin-top: 10px; }
  @media (min-width: 900px) { .dbest__rank .dcmp__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(11, auto); grid-auto-flow: column; column-gap: 40px; } }
  .linkbtn { border: 0; padding: 0; background: none; color: var(--tide); font: inherit; cursor: pointer; text-decoration: underline; }
  .dmissing, .dnotes { margin: 0 0 10px; padding-left: 20px; font-size: 14px; } .dmissing li, .dnotes li { margin: 6px 0; }
  /* 船班異動公告卡片（2026-09-28） */
  .ncards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--space-3); }
  .ncard { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); border-left: 4px solid var(--line-strong); }
  .ncard--stop { border-left-color: var(--stop); } .ncard--go { border-left-color: var(--go); }
  .ncard--hold { border-left-color: var(--hold); } .ncard--tide { border-left-color: var(--tide); }
  .ncard__a { box-sizing: border-box; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 10px 14px 9px; color: inherit;
              text-decoration: none; min-height: 44px; }
  .ncard__a:hover { background: var(--surface-sunken); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
  .ncard__a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .ncard__top { display: flex; align-items: center; gap: 8px; min-width: 0; }
  .ncard__d { font-family: var(--font-mono); font-weight: 600; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .ncard__r { font-size: 16px; line-height: 1.3; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ncard__pill { margin-left: auto; flex: none; font-size: 12px; font-weight: 700; color: var(--hold); background: var(--hold-tint); padding: 1px 9px; border-radius: var(--radius-pill); }
  .ncard__t { font-size: 13px; line-height: 1.45; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ncard__t--main { font-size: 15px; font-weight: 700; color: var(--ink); white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .ncard__f { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-muted); }
  .ncard__go { display: inline-flex; align-items: center; gap: 3px; color: var(--tide); font-weight: 700; white-space: nowrap; }
  /* 手機的類別多選（點開勾選） */
  .catpick { position: relative; }
  .catpick > summary { list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 44px;
                       padding: 0 30px 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface-raised); position: relative; }
  .catpick > summary::-webkit-details-marker { display: none; }
  .catpick > summary::after { content: '▾'; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--ink-muted); }
  .catpick__v { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .catpick__list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; max-height: 60vh; overflow: auto;
                   background: var(--surface-raised); border: 1px solid var(--line-strong); border-radius: var(--radius-md); box-shadow: var(--shadow-lift); padding: 4px; min-width: 200px; }
  .catpick__i { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; font-size: 15px; cursor: pointer; }
  .catpick__i input { width: 20px; height: 20px; flex: none; }
  .pfsel { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; margin-bottom: var(--space-3); }
  .preview { display: flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; color: var(--ink-muted); }

  .pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: var(--space-4); }
  .pcard { display: flex; flex-direction: column; text-align: left; padding: 0; font: inherit; color: var(--ink);
           background: var(--surface-raised); border: 1px solid var(--line); border-top: 4px solid var(--pc);
           border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; box-shadow: var(--shadow-card);
           transition: transform .15s ease, box-shadow .15s ease; }
  .pcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
  .pcard:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .pcard__img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
                background: color-mix(in srgb, var(--pc) 16%, var(--surface-sunken)); }
  .pcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; z-index: 1; }
  .pcard__initial { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-serif);
                    font-size: 56px; color: color-mix(in srgb, var(--pc) 60%, var(--ink-muted)); }
  .pcard__body { display: flex; flex-direction: column; gap: 2px; padding: var(--space-3); min-width: 0; }
  .pcard__kind { font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .08em; color: var(--pc); }
  .pcard__name { font-family: var(--font-serif); font-size: 19px; line-height: 26px; font-weight: 700; }
  .pcard__meta { font-size: 12px; line-height: 17px; color: var(--ink-muted);
                 display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pcard__badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
  .pcard__badge { font-size: 11px; line-height: 18px; padding: 0 7px; border-radius: var(--radius-pill);
                  background: var(--surface-sunken); color: var(--ink-muted); white-space: nowrap; }
  /* 2026-10-16 排版改版：沒有照片＝淡底上的姓氏頭像；手機改成一列一人（小頭像＋姓名＋年份＋一行身分） */
  .pcard__img.is-badge { display: grid; place-items: center; background: repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--pc) 6%, transparent) 10px 11px), color-mix(in srgb, var(--pc) 8%, var(--surface-sunken)); }
  .pcard__img.is-badge .nmb { box-shadow: 0 0 0 6px var(--surface-raised); }
  @media (max-width: 560px) {
    .pgrid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .pcard { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 12px; border-top-width: 1px; border-left: 4px solid var(--pc); }
    .pcard:hover { transform: none; }
    .pcard__img { width: 56px; height: 56px; aspect-ratio: auto; border-radius: 50%; }
    .pcard__img.is-badge { background: none; } .pcard__img.is-badge .nmb { width: 56px !important; height: 56px !important; font-size: 25px !important; box-shadow: none; }
    .pcard__initial { font-size: 24px; }
    .pcard__body { padding: 0; }
    .pcard__name { font-size: 17px; line-height: 23px; }
    .pcard__meta { -webkit-line-clamp: 1; }
  }

  /* 時間長卷：左邊一條線，年代是站牌 */
  .ptl__era { position: relative; padding-left: 22px; }
  .ptl__era::before { content: ''; position: absolute; left: 6px; top: 10px; bottom: 0; width: 2px; background: var(--line-strong); }
  .ptl__h { position: relative; margin: var(--space-4) 0 var(--space-2); font-family: var(--font-serif); font-size: 18px; }
  .ptl__h::before { content: ''; position: absolute; left: -22px; top: 5px; width: 14px; height: 14px; border-radius: 50%;
                    background: var(--surface); border: 3px solid var(--tide); box-sizing: border-box; }
  .ptl__h .muted { font-family: var(--font-sans); font-size: 13px; font-weight: 400; }
  .ptl__list { list-style: none; margin: 0; padding: 0; }
  .ptl__b { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-3); align-items: center;
            width: 100%; min-height: 56px; padding: 6px 8px; text-align: left; font: inherit; color: var(--ink);
            background: none; border: 0; border-radius: var(--radius-md); cursor: pointer; }
  .ptl__b:hover { background: var(--surface-sunken); }
  .ptl__b:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
  .ptl__ph { position: relative; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
             background: var(--surface-sunken); font-family: var(--font-serif); font-size: 18px; color: var(--ink-muted); }
  .ptl__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
  .ptl__t { min-width: 0; }
  .ptl__t b { font-size: 16px; margin-right: 8px; }
  .ptl__y { font-size: 13px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
  .ptl__s { display: block; font-size: 12px; line-height: 17px; color: var(--ink-muted);
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* 島嶼地圖 */
  .pmap { height: 380px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-sunken); }
  .pmap__hint { margin: var(--space-2) 0 var(--space-4); font-size: 13px; }
  .pmap__dot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--tide); }
  .pmap__pin { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px 0 6px;
               transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, 0px)));
               font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; color: var(--ink);
               background: var(--surface-raised); border: 2px solid var(--tide); border-radius: var(--radius-pill); box-shadow: var(--shadow-card); }
  .pmap__pin b { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: var(--radius-pill);
                 background: var(--tide); color: var(--on-tide, #fff); font-size: 14px; }
  .pmap__pin.is-on { background: var(--tide); color: var(--on-tide, #fff); }
  .pmap__pin.is-on b { background: var(--surface); color: var(--tide); }
  .pmap__pin.is-zero { opacity: .55; border-color: var(--line-strong); }
  .pmap__pin.is-zero b { background: var(--line-strong); }
  @media (max-width: 560px) {
    .pmap { height: 320px; }
    /* 手機上島與島只隔兩百多像素，標籤改直的（數字在上、島名在下）才不會疊在一起 */
    .pmap__pin { flex-direction: column; gap: 0; padding: 3px 8px 4px; font-size: 12px; line-height: 14px; border-radius: 14px; }
    .pmap__pin b { min-width: 24px; height: 22px; font-size: 13px; }
  }

  /* 故事頁 */
  .pstory__hero { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: var(--space-5); align-items: end;
                  padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); }
  .pstory__hero:not(:has(.pstory__ph)) { grid-template-columns: 1fr; }
  .pstory__ph { margin: 0; }
  .pstory__ph img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
                    border-radius: var(--radius-lg); border-bottom: 4px solid var(--pc); background: var(--surface-sunken); }
  .pstory__ph figcaption { margin-top: 4px; font-size: 11px; line-height: 15px; color: var(--ink-muted); overflow-wrap: anywhere; }
  .pstory__ph figcaption a { color: inherit; }
  .pstory__kind { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--pc); }
  .pstory__name { margin: 2px 0 4px; font-family: var(--font-serif); font-size: 34px; line-height: 1.2; }
  .pstory__meta { margin: 0 0 var(--space-2); color: var(--ink-muted); font-variant-numeric: tabular-nums; }
  .pstory__cats { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 var(--space-2); }
  .pstory__place { margin: 0; font-size: 13px; color: var(--ink-muted); }
  .pstory__chapters { padding: var(--space-4) 0; }
  .pstory__ch { position: relative; margin: 0 0 var(--space-4); }
  .pstory__ch p { margin: 0; font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
  .pstory__ch.is-lead p::first-letter { float: left; font-family: var(--font-serif); font-size: 3.1em; line-height: .95;
                                        margin: 4px 8px 0 0; color: var(--pc); }
  .pstory__no { display: block; margin-bottom: 2px; font-family: var(--font-serif); font-size: 13px; letter-spacing: .2em; color: var(--pc); }
  .pstory__news, .pstory__src { padding-top: var(--space-3); border-top: 1px solid var(--line); }
  .pstory__news h3, .pstory__src h3 { margin: 0 0 var(--space-2); font-size: 14px; }
  .pstory__news ul, .pstory__src ul { margin: 0 0 var(--space-3); padding-left: 1.2em; font-size: 14px; line-height: 1.7; }
  .pstory__src { font-size: 13px; color: var(--ink-muted); }
  .pstory__why summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
  @media (max-width: 560px) {
    .pstory__hero { grid-template-columns: 112px minmax(0, 1fr); gap: var(--space-3); align-items: start; }
    .pstory__name { font-size: 26px; }
    .pstory__ch p { font-size: 15px; line-height: 1.85; }
  }


  /* ─── 島上商家名錄 ─── 一家兩行：店名＋類別｜電話 · 村 · 營業時間 · 有哪些連結。整列可點開詳情 */
  .shopfind { margin: 0 0 var(--space-3); }
  .shoplist { list-style: none; margin: 0; padding: 0; }
  /* 景點清單（2026-10-16 排版改版）：依島分段、電腦版兩欄卡片、類別標籤緊接名稱；手機不放介紹摘要，村名與開放時間可換兩行 */
  .spotgroup + .spotgroup { margin-top: 18px; } .spotgroup__h { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; font-size: 18px; font-family: var(--font-serif); } .spotgroup__h span { font: 600 13px var(--font-sans); color: var(--ink-muted); }
  .spotlist .shoplist__t { justify-content: flex-start; flex-wrap: wrap; row-gap: 2px; } .spotlist .shoplist__n { flex: 0 1 auto; }
  .spotrow__s { display: flex; flex-wrap: wrap; gap: 0 10px; white-space: normal; } .spotrow__h::before { content: '・'; margin-right: 2px; color: var(--ink-faint, #aab); }
  .spotrow__d { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 3px; font-size: 12.5px; line-height: 1.55; color: var(--ink-muted); }
  .spotart { position: relative; flex: none; width: 96px; height: 72px; border-radius: 10px; overflow: hidden; }
  @media (min-width: 900px) { .spotlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; } .spotlist .shoplist__i + .shoplist__i { border-top: 0; } .spotlist .shoplist__i { border-bottom: 1px solid var(--line); } }
  @media (max-width: 640px) { .spotrow__d { display: none; } .spotart { width: 72px; height: 72px; } }
  .shoplist__i + .shoplist__i { border-top: 1px solid var(--line); }
  /* 封面縮圖：96×72（伺服器給 192×144 的 WebP，約 5 KB，兩倍解析度剛好） */
  .shopthumb { position: relative; flex: none; width: 96px; height: 72px; border-radius: var(--radius-md);
               overflow: hidden; display: grid; place-items: center; }
  .shopthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
  .shopthumb__i { display: none; } .shopthumb > .tart { position: absolute; inset: 0; } .shopthumb::before { display: none; }
  .shopthumb::before { content: ''; position: absolute; inset: 0;
                       background: repeating-linear-gradient(135deg, currentColor 0 1px, transparent 1px 9px); opacity: .08; }
  .shoplist__txt { flex: 1; min-width: 0; display: block; }
  .shopcover { margin: 0 0 var(--space-3); }
  /* 關閉鈕是浮在右上角的，照片緊接在後面會被它蓋住（使用者 2026-09-28）：照片從關閉鈕下面開始 */
  .sheet__x + figure, .sheet__x + img, .sheet__x + .shopcover { clear: both; padding-top: var(--space-2); }
  .shopcover img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
                   border-radius: var(--radius-lg); background: var(--surface-sunken); }
  .shopcover figcaption { margin-top: 4px; font-size: 11px; color: var(--ink-muted); }
  .shopcover figcaption a { color: inherit; }
  @media (max-width: 560px) { .shopthumb { width: 72px; height: 54px; } .shopthumb__i { font-size: 20px; } }
  .shoplist__b { display: flex; gap: var(--space-3); align-items: center; width: 100%; min-height: 56px; padding: 8px 4px; text-align: left; font: inherit;
                 color: var(--ink); background: none; border: 0; cursor: pointer; border-radius: var(--radius-sm); }
  .shoplist__b:hover { background: var(--surface-sunken); }
  .shoplist__b:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
  .shoplist__t { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 2px var(--space-2); }
  .shoplist__n { font-size: 15px; line-height: 22px; font-weight: 700; min-width: 0; }
  .shoplist__t .festlist__k { margin-right: 0; }
  .shoplist__s { display: block; margin-top: 2px; font-size: 12px; line-height: 18px; color: var(--ink-muted);
                 white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* 電腦版兩欄（2026-10-16 排版改版：清單原本要捲 12 個畫面） */
  @media (min-width: 1000px) { .plain .shoplist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
    .plain .shoplist > .shoplist__i + .shoplist__i { border-top: 0; } .plain .shoplist > .shoplist__i { border-bottom: 1px solid var(--line); } }
  @media (max-width: 560px) { .shoplist__s { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } }
  .shoplist__s > span + span::before { content: '·'; margin: 0 6px; }
  .shoplist__tel { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
  .shoplist__lk { color: var(--tide); font-weight: 600; }
  .shoplist__hl { color: var(--hold-ink, var(--hold)); font-weight: 700; }
  .shoplist__warn { color: var(--stop); font-weight: 700; }
  .shoplist__owner { color: var(--ink); font-weight: 700; }
  /* 廣告標示：要一眼看得出來，但不要比店名搶眼。
     class 不能叫 shopad／ad：廣告攔截器會把它藏起來，等於沒有揭露（後台就被藏過一次） */
  .shoppaid { display: inline-block; margin-left: 6px; padding: 0 5px; font-size: 11px; line-height: 16px; font-weight: 700;
            vertical-align: 2px; color: var(--hold-ink, var(--ink)); border: 1px solid var(--hold); border-radius: 4px; }
  .shopwhy__pin { margin: var(--space-2) 0 0; font-size: 13px; color: var(--ink); }
  .shopstatus { margin: var(--space-3) 0; padding: var(--space-3); border-radius: var(--radius-md);
                background: var(--stop-tint); color: var(--ink); font-size: 14px; }
  .shopstatus b { color: var(--stop); }
  .shopstatus ul { margin: 4px 0 0; padding-left: 1.2em; line-height: 1.6; }
  .shopstatus p { margin: 4px 0 0; font-size: 13px; }
  /* 店家用 LINE 回報的今天狀態（2026-10-19）：公休紅、已賣完琥珀、幾點開收海青、之後的公休日中性 */
  .shoplist__day { display: inline-block; padding: 0 6px; border-radius: 4px; font-weight: 700; font-size: 12.5px; line-height: 20px;
                   color: var(--tide); background: var(--tide-tint, rgba(12,112,120,.10)); }
  .shoplist__day.is-closed { color: var(--stop); background: var(--stop-tint); }
  .shoplist__day.is-soldout { color: var(--hold-ink, #8a5a00); background: var(--hold-tint, #fbecc4); }
  .shoplist__day.is-next { color: var(--ink-2, #4b5a60); background: var(--surface-2, #eef0ee); font-weight: 600; }
  .shopday { margin: var(--space-2) 0 var(--space-3); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md);
             border-left: 4px solid var(--tide); background: var(--tide-tint, rgba(12,112,120,.08)); display: flex; flex-direction: column; gap: 2px; }
  .shopday b { font-size: 16px; color: var(--tide); }
  .shopday.is-closed { border-left-color: var(--stop); background: var(--stop-tint); } .shopday.is-closed b { color: var(--stop); }
  .shopday.is-soldout { border-left-color: var(--hold); background: var(--hold-tint, #fbecc4); } .shopday.is-soldout b { color: var(--hold-ink, #8a5a00); }
  .shopday.is-next { border-left-color: var(--line, #cfd6d4); background: var(--surface-2, #eef0ee); }
  .shopday span { font-size: 14px; font-weight: 600; color: var(--ink); }
  .shopday small { font-size: 12px; color: var(--muted, #5b6b70); }
  .shopline { margin-top: var(--space-3); padding-top: var(--space-2); border-top: 1px dashed var(--line, #dcd6cb); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .shopline p { margin: 0; font-size: 14px; flex-basis: 100%; } .shopline code { font-size: 18px; font-weight: 700; letter-spacing: .12em; }
  .shopline__a { font-size: 13px; color: var(--tide); }
  .srch__day { font-size: 12.5px; font-weight: 700; color: var(--tide); } .srch__day.is-closed { color: var(--stop); }
  .srch__day.is-soldout { color: var(--hold-ink, #8a5a00); }
  .shoprep .rvpanel__ta { width: 100%; box-sizing: border-box; }
  .shoppending { margin: 0 0 var(--space-3); padding: var(--space-2) var(--space-3); border-radius: var(--radius-md);
                 background: var(--hold-tint); font-size: 13px; }
  .shopreg--closed summary { color: var(--stop); }
  .shopwhy summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--ink); font-weight: 700; }
  .shopwhy p { margin: var(--space-2) 0 0; font-size: 12px; }
  .shopsort { font-size: 13px; margin: 0 0 var(--space-2); }
  .shoplist--reg .shoplist__n { font-weight: 600; font-size: 14px; }
  .shopmore { display: flex; justify-content: center; padding: var(--space-3) 0; }
  .shopreg { margin-top: var(--space-4); border-top: 1px solid var(--line); padding-top: var(--space-2); }
  .shopreg summary { cursor: pointer; min-height: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
                     font-weight: 700; font-size: 14px; }
  .shopreg summary .muted { font-weight: 400; font-size: 12px; }
  .shopact { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-3) 0; }
  .shopact__b { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
                border: 1px solid var(--line-strong); border-radius: var(--radius-pill); color: var(--ink);
                text-decoration: none; font-weight: 600; font-size: 14px; background: var(--surface); }
  .shopact__b:hover { background: var(--surface-sunken); }
  .shopact__b:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
  .shopact__b--main { background: var(--tide); border-color: var(--tide); color: var(--on-tide, #fff);
                      font-variant-numeric: tabular-nums; }
  .shopact__b--main:hover { background: var(--tide); filter: brightness(1.08); }
  .shopnote { font-size: 13px; }
  .shopsrc { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--line);
             font-size: 13px; color: var(--ink-muted); }
  .shopsrc h3 { margin: 0 0 var(--space-2); font-size: 14px; color: var(--ink); }
  .shopsrc ul { margin: 0; padding-left: 1.2em; line-height: 1.7; }


  /* ─── 景點 /spots ─── 地圖以動畫展開、釘子依序淡入（使用者要求「以動畫方式跑出一個地圖」） */
  .spotisles { margin-bottom: 0; }
  .spotfilters { display: grid; gap: var(--space-2); margin-bottom: var(--space-3); }
  .spotfilters__row { display: flex; align-items: flex-start; gap: var(--space-3); }
  .spotfilters__row .newsfilter { margin-bottom: 0; flex: 1; }
  .spotfilters__lb { flex: none; width: 2.6em; padding-top: 12px; font-size: 13px; font-weight: 700; color: var(--ink-muted); }
  .spotfilters .pfsel { flex: 1; margin-bottom: 0; }
  @media (max-width: 560px) { .spotfilters__row { display: block; } .spotfilters__lb { display: none; } }
  .spotmap { height: 440px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
             background: #0b2a3a; margin-bottom: var(--space-4); animation: spotmap-in .45s cubic-bezier(.2,.7,.2,1) both; }
  .spotmap--wait { display: grid; place-items: center; background: var(--surface-sunken); }
  @keyframes spotmap-in { from { opacity: 0; transform: translateY(-8px) scale(.985); clip-path: inset(0 0 100% 0 round 12px); }
                          to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 12px); } }
  .spin { position: absolute; left: 0; top: 0; transform: translate(-7px, -7px); display: flex; align-items: center; gap: 4px;
          white-space: nowrap; cursor: pointer; animation: spin-in .35s ease-out both; }
  .spin i { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 2px solid #fff;
            box-shadow: 0 1px 3px rgba(0,0,0,.5); flex: none; transition: transform .15s ease; }
  .spin b { font-size: 12px; line-height: 16px; font-weight: 700; color: #fff; padding: 1px 6px; border-radius: 6px;
            background: rgba(0,0,0,.55); text-shadow: none; }
  .spin:hover i, .is-hot .spin i { transform: scale(1.5); }
  .is-hot .spin b, .spin:hover b { background: var(--c); }
  .spin b.is-hid { visibility: hidden; } .spin:hover b.is-hid { visibility: visible; }   /* 平面地圖名字避讓：疊到別的名字只留點（spinDeclutter） */
  @keyframes spin-in { from { opacity: 0; transform: translate(-7px, -22px); } to { opacity: 1; transform: translate(-7px, -7px); } }
  .spotdesc { margin: var(--space-3) 0; font-size: 15px; line-height: 1.85; }
  .spotphone { margin: 0 0 var(--space-3); font-size: 13px; color: var(--ink-muted); line-height: 1.6; }
  .spotphone__i { display: block; }
  .spotphone__i b { color: var(--ink); font-variant-numeric: tabular-nums; }
  /* 全部：只留小點＋各島標籤（點了飛過去）；滑過清單時那一個仍然顯示名字 */
  .is-overview .spin b { display: none; }
  .is-overview .is-hot .spin b { display: inline; }
  .is-overview .spin i { width: 10px; height: 10px; }
  .spisle { position: absolute; left: 0; top: 0; transform: translate(var(--dx, -50%), var(--dy, -150%)); white-space: nowrap; cursor: pointer;
            min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid #fff; background: rgba(13,109,115,.92);
            color: #fff; font: inherit; font-size: 15px; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.4);
            animation: spisle-in .5s ease-out both; }
  /* 不能沿用釘子的 spin-in：那個動畫的最後一格寫死了 transform，會蓋掉標籤的位置（上下錯開全部失效） */
  @keyframes spisle-in { from { opacity: 0; } to { opacity: 1; } }
  .spisle b { margin-left: 4px; font-variant-numeric: tabular-nums; opacity: .85; }
  .spisle:hover { background: #0d6d73; transform: translate(var(--dx, -50%), var(--dy, -150%)) scale(1.06); }
  .spisle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
  @media (max-width: 560px) {
    .spotmap { height: 320px; }
    .spin b { display: none; }                       /* 手機上名字會疊在一起：只留點，滑過或點了再看 */
    .spisle { font-size: 13px; padding: 0 10px; }
    .is-hot .spin b { display: inline; }
  }
  @media (prefers-reduced-motion: reduce) {
    .spotmap, .spin { animation: none; }
  }


  /* ─── 景點 3D 地圖 ─── 島嶼立體浮在海上（Three.js），釘子是疊在上面的 HTML，每一格畫面投影一次位置 */
  .spot3d { position: relative; height: 480px; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--space-4);
            background: linear-gradient(#bfe3ef, #4aaed3); border: 1px solid var(--line);
            animation: spotmap-in .45s cubic-bezier(.2,.7,.2,1) both; touch-action: none; cursor: grab; }
  .spot3d:active { cursor: grabbing; }
  .spot3d__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .spot3d__pins { position: absolute; inset: 0; pointer-events: none; }
  .spot3d__pin, .spot3d__isle { position: absolute; left: 0; top: 0; pointer-events: auto; will-change: transform; }
  .spot3d__pin { display: flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer;
                 margin: -7px 0 0 -7px; white-space: nowrap; font: inherit; animation: spot3d-in .5s ease-out both; }
  .spot3d__pin i { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 2px solid #fff;
                   box-shadow: 0 2px 4px rgba(0,0,0,.55); transition: transform .15s ease; }
  .spot3d__pin b { font-size: 12px; line-height: 16px; font-weight: 700; color: #fff; padding: 1px 6px; border-radius: 6px;
                   background: rgba(0,0,0,.55); }
  .spot3d__pin:hover i, .spot3d__pin.is-hot i { transform: scale(1.6); }
  .spot3d__pin:hover b, .spot3d__pin.is-hot b { background: var(--c); }
  .spot3d__pin.is-hot { z-index: 5; }
  .spot3d__pin:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 8px; }
  /* 名稱疊到別的名稱或超出邊緣就藏起來（placePins 判斷）。用 visibility 不用 display：寬度要量得到 */
  .spot3d__pin.no-lb b { visibility: hidden; }
  /* 行程的點：點裡寫第幾站，比一般的點大 */
  .spot3d__pin.is-trip { margin: -11px 0 0 -11px; z-index: 4; }
  .spot3d__pin.is-trip i { width: 22px; height: 22px; font: 700 12px/18px system-ui, sans-serif; font-style: normal; color: #fff; text-align: center; }
  .spottrip { align-items: center; }
  .spottrip .camsel__s { max-width: 14em; }
  .spottrip__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
  .spottripday h3 { font-size: 15px; margin: 14px 0 4px; }
  /* 行程規劃 */
  .tripbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; }
  .tripform { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 14px; margin: 12px 0;
              padding: 14px; border: 1px solid var(--line, #d9e2e5); border-radius: 12px; }
  .tripform label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-2, #445); }
  .tripform input, .tripform select, .tripform textarea { font: inherit; font-size: 15px; min-height: 40px; padding: 6px 10px;
              border: 1px solid var(--line, #c9d3d6); border-radius: 8px; background: var(--surface, #fff); color: inherit; }
  .tripform__wide, .tripform .tripbar { grid-column: 1 / -1; }
  .tripnote { white-space: pre-wrap; margin: 6px 0; }
  .tripshare { font-size: 13px; overflow-wrap: anywhere; }
  .tripshare button { margin-left: 8px; min-height: 32px; }
  .tripmsg { font-size: 14px; color: var(--hold, #9a6700); }
  .tripdays { margin: 12px 0; }
  .triplist { list-style: none; padding: 0; margin: 0; }
  .tripitem { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line, #e3e8ea); }
  .tripitem__n { width: 26px; height: 26px; border-radius: 50%; background: var(--deep, #0C6E77); color: #fff; font-weight: 700;
                 font-size: 13px; display: flex; align-items: center; justify-content: center; margin-top: 4px; }
  .tripitem__t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
  .tripitem__t b { font-size: 16px; }
  .tripitem__time { font-variant-numeric: tabular-nums; font-weight: 700; }
  .tripitem__timein { font: inherit; font-variant-numeric: tabular-nums; min-height: 36px; padding: 2px 6px; border: 1px solid var(--line, #c9d3d6);
                      border-radius: 6px; background: transparent; color: inherit; }
  .tripitem__s { margin: 3px 0 0; font-size: 13px; color: var(--ink-2, #556); }
  .tripitem__alert { margin: 4px 0 0; font-size: 13px; font-weight: 600; }
  .tripitem__alert.is-stop { color: var(--stop, #c92a2a); }
  .tripitem__alert.is-hold { color: var(--hold, #9a6700); }
  .tripitem__alert.is-go { color: var(--go, #2b8a3e); }
  .tripitem__act { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; align-items: center; }
  .tripitem__act a, .tripitem__act button, .tripitem__act select { font-size: 13px; min-height: 36px; min-width: 36px; padding: 4px 10px;
                      border: 1px solid var(--line, #c9d3d6); border-radius: 8px; background: transparent; color: inherit;
                      display: inline-flex; align-items: center; gap: 4px; text-decoration: none; cursor: pointer; }
  .tripitem__act button:disabled { opacity: .35; cursor: default; }
  .tripitem__del { color: var(--stop, #c92a2a) !important; }
  .triproutes { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
  .tripadd { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 14px 0; }
  .trippick { list-style: none; padding: 0; margin: 8px 0; max-height: 60vh; overflow: auto; }
  .trippick button { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; min-height: 44px;
                     border: 0; border-bottom: 1px solid var(--line, #e3e8ea); background: none; color: inherit; font: inherit; cursor: pointer; }
  .trippick button:hover { background: var(--surface-2, #f1f5f6); }
  .trippick span { font-size: 13px; color: var(--ink-2, #556); }
  .tripjoin { margin: 10px 0; }
  .tripjoin.tripform { padding: 10px; }
  .tripjoin__ok { font-size: 14px; }
  /* 行程第二階段：分頁、共同編輯、分帳、列印 */
  .tripics { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 4px 12px; text-decoration: none; font-size: 13px; font-weight: 700;
             color: var(--tide); }
  span.tripics { color: var(--ink-muted); font-weight: 400; }
  .tripcollab { margin: 8px 0; font-size: 13px; }
  .tripmembers { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0; }
  .tripmember { display: inline-flex; align-items: center; gap: 4px; padding: 2px 4px 2px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); }
  .tripmember button { border: 0; background: none; cursor: pointer; min-width: 28px; min-height: 28px; color: var(--ink-muted); font-size: 16px; }
  .triptabs { display: flex; gap: 4px; margin: 14px 0 6px; border-bottom: 1px solid var(--line); }
  .triptabs__t { appearance: none; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink-muted); cursor: pointer;
                 padding: 10px 14px; min-height: 44px; border-bottom: 3px solid transparent; margin-bottom: -1px; }
  .triptabs__t[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--tide); }
  .tripsplit { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 13px; color: var(--ink-2, #445); }
  .tripsplit__i { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-size: 15px; color: var(--ink); cursor: pointer; }
  .tripsplit__i input { width: 20px; height: 20px; }
  .tripform .tripsplit__i { flex-direction: row; font-size: 15px; }
  .tripform .tripsplit { flex-direction: row; }
  .tripsum { margin: 14px 0; }
  .tripsum__total { font-size: 16px; } .tripsum__total b { font-family: var(--font-mono); font-size: 20px; }
  .tripsum__t { width: 100%; max-width: 560px; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: 8px 0; }
  .tripsum__t th, .tripsum__t td { text-align: right; padding: 6px 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .tripsum__t th:first-child, .tripsum__t td:first-child { text-align: left; }
  .tripsum__t .is-plus { color: var(--go); font-weight: 700; } .tripsum__t .is-minus { color: var(--stop); font-weight: 700; }
  .tripsum h3 { font-size: 15px; margin: 16px 0 6px; }
  .triptx { margin: 0; padding-left: 20px; font-size: 15px; } .triptx li { margin: 4px 0; }
  .tripexps { list-style: none; margin: 0; padding: 0; }
  .tripexps li { display: grid; grid-template-columns: 7.5em 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .tripexps__a { font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums; }
  .tripexps__b { display: flex; flex-direction: column; } .tripexps__b span { font-size: 12px; color: var(--ink-muted); }
  .tripexps__c { display: flex; gap: 4px; }
  .tripexps__c button { min-height: 36px; min-width: 40px; border: 1px solid var(--line-strong); border-radius: 8px; background: none; color: inherit; cursor: pointer; }
  .tripprint { display: none; }
  @media print {
    .lookroot[data-view="trips"] > :not(main) { display: none !important; }
    .lookroot[data-view="trips"] main .block > div > :not(.tripprint) { display: none !important; }
    .lookroot[data-view="trips"] .tripprint { display: block !important; color: #000; font-size: 11pt; }
    .tripprint h1 { font-size: 18pt; margin: 0 0 4pt; } .tripprint h2 { font-size: 13pt; margin: 14pt 0 4pt; border-bottom: 1px solid #999; }
    .tripprint table { width: 100%; border-collapse: collapse; } .tripprint td { padding: 3pt 4pt; vertical-align: top; border-bottom: 1px solid #ddd; }
    .tripprint .tp-t { width: 4em; font-family: monospace; } .tripprint .tp-k { width: 3em; color: #555; }
    .tripprint section { break-inside: avoid-page; } .tripprint .tp-src { margin-top: 16pt; font-size: 8pt; color: #666; }
    body { background: #fff !important; }
  }
  .tripsample { padding: 10px 14px; border-radius: 12px; background: var(--surface-sunken, #eef3f4); margin: 10px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
  .tripsample p { margin: 0; flex: 1 1 260px; } .tripsample .tripbar { margin: 0; } .tripsample__in { text-decoration: none; }
  /* 範例行程排版（2026-10-16）：唯讀時導航是最右側的小圖示鈕；電腦版右側放當天路線地圖 */
  .tripitem.is-ro { grid-template-columns: 28px minmax(0, 1fr) 44px; } .tripitem.is-ro.has-ph { grid-template-columns: 28px 96px minmax(0, 1fr) 44px; }
  .tripitem__nav { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; align-self: center; color: var(--tide, #0c6e77); background: var(--surface-tint, #e6f1f2); }
  .tripitem__nav:hover { background: var(--tide, #0c6e77); color: #fff; }
  .tripday2.has-map { display: grid; gap: 16px; } @media (min-width: 960px) { .tripday2.has-map { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .tripmap { position: sticky; top: 90px; } }
  .tripmap__m { height: 360px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line, #e3e8ea); } @media (min-width: 960px) { .tripmap__m { height: 460px; } }
  .tripmap__n { margin: 6px 0 0; font-size: 12.5px; color: var(--ink-muted, #667); }
  .tripmap__pin span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #0c6e77; color: #fff; font: 700 13px var(--font-sans); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
  .tripsample__d { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
  .tripsample__d input { font: inherit; min-height: 36px; padding: 2px 8px; border: 1px solid var(--line, #c9d3d6); border-radius: 8px; }
  .timesel { display: inline-flex; align-items: center; gap: 2px; font-variant-numeric: tabular-nums; }
  .timesel select { font: inherit; font-size: 15px; min-height: 36px; padding: 2px 4px; border: 1px solid var(--line, #c9d3d6);
                    border-radius: 6px; background: var(--surface, #fff); color: inherit; }
  .tripform__lb { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-2, #445); }
  .tripitem.has-ph { grid-template-columns: 28px 96px 1fr; }
  /* 行程頁手機排版（2026-10-03 使用者）：常用動作與「第幾天」改成一排可橫滑的膠囊；項目第一行是名稱、第二行是時間 */
  .tripitem__when { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 6px; }
  .tripitem__when .tripitem__s { margin: 0; }
  .tripdanger { margin-left: auto; }
  .tripacts > .dy-btn, .tripacts > a { border: 1px solid var(--line, #d3dadc); border-radius: 999px; background: var(--surface-raised, #fff); }
  @media (max-width: 560px) {
    .tripacts, .tripdays { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--shell-pad, 16px)); padding: 2px var(--shell-pad, 16px); }
    .tripacts::-webkit-scrollbar, .tripdays::-webkit-scrollbar { display: none; }
    .tripacts > *, .tripdays > * { flex: none; }
    .tripacts > .dy-btn, .tripacts > a { min-height: 40px; padding: 0 14px; font-size: 14px; }
    .tripitem__t b { font-size: 17px; }
    .tripitem__act { gap: 6px; }
    .tripitem__act a, .tripitem__act button, .tripitem__act select { min-height: 40px; }
  }
  .tripitem .shopthumb { margin-top: 2px; }
  @media (max-width: 560px) { .tripitem.has-ph { grid-template-columns: 26px 64px 1fr; } .tripitem .shopthumb { width: 64px; height: 48px; } }
  .trippick__f { margin: 6px 0; }
  .trippick li > button { flex-direction: row; align-items: center; gap: 10px; }
  .trippick__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .trippick__txt b { font-size: 15px; }
  .trippick__why { font-size: 13px; margin: 6px 0; color: var(--ink-2, #445); }
  .trippick__all { margin-left: 8px; min-height: 32px; border: 1px solid var(--line, #c9d3d6); border-radius: 999px; background: none;
                   color: inherit; font: inherit; font-size: 13px; padding: 2px 10px; cursor: pointer; }
  .is-overview .spot3d__pin b { display: none; }
  .is-overview .spot3d__pin.is-hot b { display: inline; }
  /* 全部的時候島很小，點會把島整個蓋住看不出形狀：只留島嶼標籤，清單滑過的那一個才出現 */
  .is-overview .spot3d__pin { visibility: hidden !important; }
  .is-overview .spot3d__pin.is-hot { visibility: visible !important; }
  .spot3d__isle { transform-origin: 0 0; margin: -60px 0 0 -48px; min-height: 44px; padding: 0 14px; border-radius: 999px;
                  border: 2px solid #fff; background: rgba(13,109,115,.92); color: #fff; font: inherit; font-size: 15px;
                  font-weight: 700; white-space: nowrap; cursor: pointer; box-shadow: 0 3px 10px rgba(0,0,0,.45);
                  animation: spot3d-in .6s ease-out 1.6s both; }
  .spot3d__isle b { margin-left: 4px; opacity: .85; font-variant-numeric: tabular-nums; }
  /* 島太近標籤會疊（同 2D 地圖）：北竿往上、南竿放左、西莒放左、東莒放右。位置每格由 JS 設 transform，所以用 margin 偏移 */
  .spot3d__isle[data-k=beigan] { margin-top: -112px; }
  .spot3d__isle[data-k=nangan] { margin-left: -132px; margin-top: -22px; }
  .spot3d__isle[data-k=xiju] { margin-left: -122px; margin-top: -22px; }
  .spot3d__isle[data-k=dongju] { margin-left: 22px; margin-top: -22px; }
  .spot3d__isle:hover { background: #0d6d73; }
  /* 點動物時冒出來的小對話泡泡（跟著動物移動） */
  .spot3d__say { position: absolute; left: 0; top: 0; margin: -58px 0 0 -18px; padding: 3px 9px; border-radius: 12px;
                 background: #fff; color: #173b45; font-size: 13px; font-weight: 800; white-space: nowrap; pointer-events: none;
                 box-shadow: 0 2px 6px rgba(0,0,0,.25); z-index: 6; }
  .spot3d__say { display: flex; flex-direction: column; gap: 1px; white-space: normal; max-width: 260px; line-height: 1.4; }
  .spot3d__say1 { white-space: nowrap; }
  .spot3d__say2 { font-size: 11.5px; font-weight: 600; color: #3d5c66; }
  .spot3d__say::after { content: ''; position: absolute; left: var(--ax, 14px); bottom: -5px; border: 5px solid transparent;
                        border-bottom: 0; border-top-color: #fff; }
  .spot3d__cr-short { display: none; }
  /* 知識卡：地圖右下角（手機是底部整條），不擋住中間的島 */
  .spot3d__card { position: absolute; right: 12px; bottom: 44px; width: min(320px, calc(100% - 24px)); z-index: 7;
                  background: #fff; color: #173b45; border-radius: 12px; padding: 12px 14px 10px; box-shadow: 0 6px 20px rgba(0,0,0,.25);
                  animation: spot3d-in .2s ease-out both; cursor: auto; }
  .spot3d__cardx { position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; border: 0; background: none; font-size: 22px;
                   color: #5a6b70; cursor: pointer; }
  .spot3d__cardt { margin: 0 36px 2px 0; font-weight: 800; font-size: 16px; }
  .spot3d__cardt i { font-weight: 400; font-size: 12px; color: #5a6b70; }
  .spot3d__cardw { margin: 0 0 6px; font-size: 12px; color: #0d6d73; font-weight: 700; }
  .spot3d__cardb { margin: 0 0 6px; font-size: 14px; line-height: 1.7; }
  .spot3d__cards { margin: 0; font-size: 11px; color: #5a6b70; line-height: 1.6; }
  @media (max-width: 560px) { .spot3d__card { left: 8px; right: 8px; width: auto; bottom: 8px; } }
  /* 知識卡左邊的大模型（動物、植物） */
  .spot3d__card.has-m { width: min(480px, calc(100% - 24px)); padding-left: 172px; min-height: 196px; }
  .spot3d__cardm { position: absolute; left: 10px; top: 10px; bottom: 10px; width: 150px; border-radius: 12px;
    background: radial-gradient(circle at 50% 42%, #f3f8f4, #dbe9e0); overflow: hidden; }
  .spot3d__cardm canvas { display: block; width: 100% !important; height: 100% !important; }
  @media (max-width: 560px) { .spot3d__card.has-m { padding-left: 14px; min-height: 0; width: auto; max-height: calc(100% - 16px); overflow-y: auto; }
    .spot3d__cardm { position: relative; left: auto; top: auto; bottom: auto; width: auto; height: 130px; margin: 0 36px 8px 0; } }
  .spot3d__mebtn { position: absolute; left: 12px; top: 64px; z-index: 6; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0;
                   background: rgba(15, 40, 55, .82); color: #fff; font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; }
  .spot3d__mebtn.is-on { background: #12a3a8; }
  .spot3d__geomsg { position: absolute; left: 12px; top: 112px; z-index: 6; margin: 0; max-width: calc(100% - 90px); padding: 6px 12px; border-radius: 10px;
                    background: rgba(15, 40, 55, .88); color: #fff; font-size: 13px; }
  .spot3d__nightbtn { position: absolute; left: 12px; top: 12px; z-index: 6; min-height: 44px; padding: 0 16px; border-radius: 999px;
                      border: 1px solid rgba(255,255,255,.6); background: rgba(10,35,60,.72); color: #fff; font: inherit; font-weight: 800;
                      font-size: 14px; cursor: pointer; backdrop-filter: blur(4px); }
  .spot3d__nightbtn.is-on { background: rgba(255,244,214,.92); color: #3a2a00; border-color: rgba(0,0,0,.1); }
  .spot3d__nightbtn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  /* 全螢幕：按鈕在右上角；手機不顯示（手機本身就是滿版） */
  .spot3d__fullbtn { position: absolute; right: 12px; top: 12px; z-index: 6; min-height: 44px; padding: 0 16px; border-radius: 999px;
                     border: 1px solid rgba(255,255,255,.6); background: rgba(10,35,60,.72); color: #fff; font: inherit; font-weight: 800;
                     font-size: 14px; cursor: pointer; backdrop-filter: blur(4px); }
  .spot3d__fullbtn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .spot3d.is-full { position: fixed; inset: 0; z-index: 1000; height: 100vh; height: 100dvh; margin: 0; border-radius: 0; }
  .spot3d:fullscreen { height: 100vh; border-radius: 0; }
  .spot3d:-webkit-full-screen { height: 100vh; border-radius: 0; }
  /* 手機也有全螢幕（使用者 2026-09-28）；iPhone 不支援元素全螢幕，走 is-full 蓋滿視窗 */
  @media (max-width: 560px) {
    .spot3d__fullbtn { right: 8px; top: 8px; padding: 0 12px; font-size: 13px; }
    .spot3d .spot3d__credit { top: 58px; }
    .spot3d__live { top: 104px; }
  }
  .spot3d__zoom { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 6; display: flex; flex-direction: column;
                  border-radius: 12px; overflow: hidden; background: rgba(10,35,60,.72); backdrop-filter: blur(4px); }
  .spot3d__zoom button { width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 22px; font-weight: 700; cursor: pointer; }
  .spot3d__zoom button + button { border-top: 1px solid rgba(255,255,255,.25); }
  .spot3d__zoom button:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
  .spot3d.is-full { touch-action: none; }
  .spot3d__islebtn { white-space: nowrap; }
  @media (max-width: 560px) {
    /* 要比後面的 .spot3d__isles 基本樣式具體，否則被蓋掉（第一版就被蓋掉，選島列超出螢幕） */
    .spot3d .spot3d__isles { left: 8px; right: 8px; transform: none; justify-content: space-between; gap: 2px; padding: 4px; }
    .spot3d .spot3d__islebtn { min-width: 0; flex: 1; padding: 0 4px; font-size: 14px; }
  }
  .spot3d__sheet { position: relative; z-index: 30; cursor: auto; }
  .spot3d__isles { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 6; display: flex; gap: 6px;
                   padding: 6px; border-radius: 999px; background: rgba(10,35,60,.72); backdrop-filter: blur(4px); }
  .spot3d__islebtn { min-height: 44px; min-width: 56px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent;
                     color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
  .spot3d__islebtn.is-on { background: #fff; color: #0d3b45; }
  .spot3d__islebtn:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
  .spot3d.is-full .spot3d__hint, .spot3d.is-full .spot3d__credit { bottom: 76px; }
  .spot3d__live { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 5; margin: 0; padding: 4px 12px;
                  border-radius: 999px; background: rgba(10,35,60,.72); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap;
                  pointer-events: none; }
  .spot3d__cams { position: absolute; inset: 0; pointer-events: none; }
  .spot3d__cam { position: absolute; left: 0; top: 0; pointer-events: auto; margin: -12px 0 0 -12px; width: 24px; height: 24px;   /* 2026-10-31 縮小，不搶景點 */
                 border-radius: 50%; border: 2px solid #fff; background: rgba(192,57,43,.88); font-size: 12px; line-height: 1; padding: 0; cursor: pointer;
                 box-shadow: 0 2px 6px rgba(0,0,0,.45); will-change: transform; }
  .spot3d__cam::after { content: ''; position: absolute; inset: -10px; }   /* 觸控範圍撐到 44px，圖示 24px */
  .spot3d__cam:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  .is-overview .spot3d__cam { display: none; }
  .spot3d__foot { position: absolute; left: 12px; bottom: 82px; z-index: 4; padding: 5px 12px; border-radius: 99px; background: rgba(255,255,255,.88); color: #10242a; font-size: 12px; pointer-events: none; max-width: calc(100% - 24px); }
  .spot3d__now { position: absolute; left: 12px; bottom: 44px; z-index: 4; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.88); color: #10242a; font-size: 12.5px; pointer-events: none; box-shadow: 0 2px 8px rgba(0,0,0,.12); max-width: calc(100% - 24px); }
  .spot3d__camv { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 8px; border-radius: 8px; overflow: hidden; background: #000; }
  .spot3d__camv iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .spot3d__live-s { display: none; }
  @media (max-width: 560px) {
    .spot3d .spot3d__live { top: 114px; left: 12px; transform: none; font-size: 11.5px; white-space: normal; text-align: left; max-width: calc(100% - 70px); line-height: 1.35; border-radius: 10px; padding: 4px 10px; }
    .spot3d__live-l { display: none; } .spot3d__live-s { display: inline; }
  }
  /* 手機：地圖上的按鈕只留圖示、圓形 44px；操作提示 6 秒後淡掉（2026-10-03 使用者：手機塞太多東西） */
  @media (max-width: 560px) {
    .spot3d__nightbtn, .spot3d__mebtn, .spot3d__fullbtn { width: 44px; min-height: 44px; padding: 0; justify-content: center; font-size: 18px; }
    .spot3d__mebtn { top: 64px; }
    .spot3d__nightbtn .s3t, .spot3d__mebtn .s3t, .spot3d__fullbtn .s3t { display: none; }
    .spot3d__hint { animation: s3hint .8s 6s forwards; }
  }
  @keyframes s3hint { to { opacity: 0; visibility: hidden; } }
  .spot3d__hint { position: absolute; left: 12px; bottom: 8px; margin: 0; padding: 3px 8px; border-radius: 6px; font-size: 12px;
                  color: #e8f2f5; background: rgba(0,0,0,.4); pointer-events: none; }
  .spot3d__credit { position: absolute; right: 8px; bottom: 8px; margin: 0; font-size: 11px; color: rgba(255,255,255,.7); pointer-events: none; }
  @keyframes spot3d-in { from { opacity: 0; } to { opacity: 1; } }
  @media (max-width: 560px) {
    .spot3d { height: 360px; }
    /* 手機也顯示名稱，字小一點（使用者 2026-09-27）；疊到的由 placePins 藏起來 */
    .spot3d__pin i { width: 11px; height: 11px; }
    .spot3d__pin { margin: -5.5px 0 0 -5.5px; gap: 2px; }
    .spot3d__pin b { font-size: 10px; line-height: 13px; padding: 0 4px; border-radius: 4px; }
    .spot3d__isle { font-size: 13px; padding: 0 10px; margin: -58px 0 0 -40px; }
    .spot3d__isle[data-k=nangan] { margin-left: -96px; margin-top: -22px; }
    .spot3d__isle[data-k=xiju] { margin-left: -88px; margin-top: -22px; }
    .spot3d__isle[data-k=dongju] { margin-left: 16px; margin-top: -22px; }
    .spot3d__isle[data-k=beigan] { margin-top: -96px; }
    .spot3d__isle[data-k=dongyin] { margin-left: -96px; margin-top: -22px; }   /* 東引在右上角，放上面會超出 */
    .spot3d__credit { top: 8px; bottom: auto; font-size: 10px; }
    .spot3d__cr-long { display: none; }
    .spot3d__cr-short { display: inline !important; }       /* 手機上移到右上角，不跟左下的操作提示疊在一起 */
  }
  @media (prefers-reduced-motion: reduce) { .spot3d, .spot3d__pin, .spot3d__isle { animation: none; } }


  /* ─── 通訊錄 /contacts ─── 電話是一顆顆可以直接撥的按鈕（一筆常有好幾支、分單位） */
  .ctrow { padding: 8px 4px; }
  .ctline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 4px; }
  .ctmeta { font-size: 12px; color: var(--ink-muted); margin-right: 2px; }
  .ctshop { font-size: 13px; }
  .ctphone { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 12px; border-radius: 999px;
             border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-size: 14px;
             font-variant-numeric: tabular-nums; background: var(--surface); }
  .ctphone b { font-weight: 700; color: var(--ink-muted); font-size: 12px; }
  .ctphone:hover { background: var(--surface-sunken); }
  .ctphone:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
  .ctrow .shoplist__t { justify-content: flex-start; flex-wrap: wrap; }
  /* ── 節慶介紹 /festivals ── */
  .festlist__more { margin-left: 8px; font-size: 13px; font-weight: 700; white-space: nowrap; }
  .festcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-4); margin: var(--space-3) 0 var(--space-4); }
  .festcard { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface);
              border: 1px solid var(--line); color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
  .festcard:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
  .festcard:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .festcard__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
  .festcard__ph { display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; color: rgba(255,255,255,.9); }
  .festcard.is-past .festcard__img { filter: grayscale(.6); }
  .festcard__b { padding: var(--space-3) var(--space-4) var(--space-4); }
  .festcard__t { margin: 0 0 4px; font-size: 19px; }
  .festcard__m { margin: 0 0 6px; font-size: 13px; color: var(--ink-muted); }
  .festcard__l { margin: 0; font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  /* 2026-10-16 排版改版：秋慶五張一列（電腦）、3＋2（平板）；沒照片用主題插圖；全年活動改年曆表與時間軸 */
  @media (min-width: 1100px) { .festcards { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } .festcard__b { padding: 12px 14px 14px; } .festcard__t { font-size: 17px; } }
  @media (min-width: 700px) and (max-width: 1099px) { .festcards { grid-template-columns: repeat(6, minmax(0, 1fr)); } .festcards > .festcard { grid-column: span 2; } .festcards > .festcard:nth-child(4):nth-last-child(2), .festcards > .festcard:nth-child(5):last-child { grid-column: span 3; } }
  .festcard__art { position: relative; overflow: hidden; } .festcard__art > .tart { position: absolute; inset: 0; }
  .festcard__m { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
  .fe__tbl .cmpt__c b { font-size: 15px; }
  .fe__d { display: grid; gap: 8px; } .fe__d > p { margin: 0; }
  .tml__more { margin-top: 2px; font-size: 14px; } .tml__more > summary { cursor: pointer; color: var(--tide); font-size: 13px; font-weight: 700; } .tml__more > div { margin-top: 4px; line-height: 1.7; color: var(--ink); }
  .fe__gaps { margin: 0; }
  .fe__tml li { grid-template-columns: 7.4em minmax(0, 1fr); } .fe__tml li::before { left: calc(7.4em + 9px); } .fe__tml li:not(:last-child)::after { left: calc(7.4em + 13px); } .fe__tml .tml__w { white-space: normal; line-height: 1.4; }
  .fe__tml .tml__b p { display: block; }
  .festpage { max-width: 860px; }
  .festpage__back { margin: 0 0 var(--space-2); font-size: 14px; }
  .festpage__back a { display: inline-flex; min-height: 44px; align-items: center; }
  .festpage__t { margin: 0; font-size: 30px; }
  .festpage__aka { margin: 4px 0 var(--space-3); color: var(--ink-muted); font-size: 14px; }
  .festpage__lead { font-size: 17px; line-height: 1.8; margin: var(--space-3) 0 var(--space-4); }
  .festpage__sec h2 { font-size: 19px; margin: var(--space-5) 0 var(--space-2); }
  .festpage__sec p { line-height: 1.85; margin: 0 0 var(--space-3); }
  .festpage__src ul { padding-left: 1.2em; line-height: 1.9; font-size: 14px; }
  .festgal { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: var(--space-3) 0; }
  .festgal__i { margin: 0; }
  .festgal__i.is-first { grid-column: 1 / -1; }
  .festgal__b { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; }
  .festgal__b img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .2s ease; }
  .festgal__i.is-first .festgal__b img { aspect-ratio: 16 / 9; }
  .festgal__b:hover img { transform: scale(1.03); }
  .festgal__b:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .festgal figcaption { font-size: 12px; line-height: 1.5; margin-top: 4px; color: var(--ink-muted); }
  .festgal figcaption span { display: block; color: var(--ink); }
  .zoomer__cap { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); max-width: min(92vw, 820px); margin: 0;
                 padding: 6px 12px; border-radius: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; line-height: 1.5; text-align: center; }
  @media (max-width: 560px) {
    .festpage__t { font-size: 25px; }
    .festgal { grid-template-columns: repeat(2, 1fr); }
  }
  .ctaka { font-size: 12px; color: var(--ink-muted); }
  /* 計程車的車牌：做成一塊小車牌的樣子，跟名字分開 */
  .ctplate { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; padding: 1px 8px; border: 1.5px solid var(--ink); border-radius: 5px; background: #fff; color: var(--ink); white-space: nowrap; }
  /* 天氣視窗：所有天氣類別排一列，現在的凸顯 */
  .wxall { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .wxall li { display: grid; justify-items: center; gap: 2px; padding: 8px 2px 6px; border-radius: 12px; font-size: 12.5px; color: var(--ink-muted); opacity: .45; filter: grayscale(.6); }
  .wxall li .wxi { width: 30px; height: 30px; margin: 0; } .wxall li:not(.is-on) .wxi * { animation: none !important; }
  .wxall li.is-on { opacity: 1; filter: none; background: color-mix(in srgb, var(--tide, #0c7078) 12%, var(--surface-raised, #fff)); box-shadow: inset 0 0 0 2px var(--tide, #0c7078); color: var(--ink); font-weight: 800; }
  .wxall .wxi__cloud { fill: #c5d1d9; stroke: #6d8490; } .wxall .wxi__fog { stroke: #8a9ba5; }
  .ctmerged { margin: 6px 0 0; padding: 6px 10px; border-radius: 8px; background: var(--surface-sunken); font-size: 12px; line-height: 1.6; color: var(--ink-muted); }
  .ctmerged b { color: var(--ink); }
  .ctissues { margin: 6px 0 0; padding: 6px 10px; list-style: none; border-radius: 8px; background: var(--hold-tint); font-size: 12px; line-height: 1.6; }
  .ctissues b { color: var(--hold-ink, var(--ink)); }

  /* 首頁「今晚的海」摘要（完整的在天空與海頁） */
  .seabrief { display: grid; gap: var(--space-3); }
  .seabrief__row { display: grid; grid-template-columns: 3.5em minmax(0, 1fr); column-gap: var(--space-3);
                   align-items: baseline; }
  .seabrief__k { font-size: 13px; font-weight: 700; color: var(--ink-muted); }
  .seabrief__v { margin: 0; font-size: 15px; line-height: 24px; }
  .seabrief__v--sm { font-size: 14px; font-variant-numeric: tabular-nums; }
  .seabrief__i { white-space: nowrap; margin-right: 12px; display: inline-block; }
  .seabrief__n { font-size: 22px; font-variant-numeric: tabular-nums; color: var(--tide); }
  .seabrief__s { margin: 2px 0 0; font-size: 12px; line-height: 18px; color: var(--ink-muted); }
  .seabrief__spots { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
  .seabrief__more { appearance: none; border: 0; background: transparent; cursor: pointer; font: inherit;
                    font-size: 13px; color: var(--tide); justify-self: end; min-height: 44px; padding: 0 2px; }
  .seabrief__more:hover { text-decoration: underline; text-underline-offset: 3px; }

  /* 接下來三個月：一個節慶兩行的清單（取代原本一張六行的卡片） */
  .festlist { list-style: none; margin: var(--space-2) 0 0; padding: 0; }
  .festlist__i { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); column-gap: var(--space-3);
                 align-items: baseline; padding: 10px 0; }
  .festlist__i + .festlist__i { border-top: 1px solid var(--line); }
  .festlist__d { font-size: 14px; line-height: 22px; font-weight: 700; font-variant-numeric: tabular-nums;
                 white-space: nowrap; }
  .festlist__t { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
  .festlist__n { font-size: 15px; line-height: 22px; font-weight: 700; min-width: 0; }
  .festlist__k { flex: none; font-size: 11px; line-height: 16px; font-weight: 700; padding: 0 6px; margin-right: 6px;
                 border-radius: var(--radius-pill); white-space: nowrap; }
  .festlist__k--go { background: color-mix(in srgb, var(--go) 14%, transparent); color: var(--go); }
  .festlist__k--tide { background: color-mix(in srgb, var(--tide) 14%, transparent); color: var(--tide); }
  .festlist__k--stop { background: color-mix(in srgb, var(--stop) 14%, transparent); color: var(--stop); }
  .festlist__k--hold { background: color-mix(in srgb, var(--hold) 16%, transparent); color: var(--hold-ink, var(--ink)); }
  .festlist__k--neutral { background: var(--surface-sunken); color: var(--ink-muted); }
  @media (max-width: 560px) {
    /* 手機：日期欄縮窄，長名稱才不會被擠到換行 */
    .festlist__i { grid-template-columns: 5.3em minmax(0, 1fr); column-gap: var(--space-2); }
    .festlist__d { font-size: 13px; }
  }
  .festlist__s { margin: 2px 0 0; font-size: 12px; line-height: 18px; color: var(--ink-muted);
                 white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .festlist__ann { color: var(--tide); font-weight: 600; text-decoration: none; display: inline-flex;
                   align-items: center; gap: 2px; }
  .festlist__ann:hover { text-decoration: underline; text-underline-offset: 3px; }
  .festlist__sep { margin: 0 6px; }
  .festlist__y { display: block; font-size: 11px; line-height: 14px; font-weight: 400; color: var(--ink-muted); }
  /* 整列可點的（連到原文）：連結的 ::after 透明蓋住整列，觸控目標夠大、行距不變 */
  .festlist__i--link { position: relative; }
  .festlist__i--link:hover { background: var(--surface-sunken); }
  .festlist__a { color: var(--ink); text-decoration: none; display: inline; }
  .festlist__a::after { content: ''; position: absolute; inset: 0; }
  .festlist__a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .festlist__a svg { margin-left: 4px; vertical-align: -1px; color: var(--ink-muted); }
  .festgrid { display: grid; gap: var(--space-3); margin-top: var(--space-3);
              grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
              grid-auto-rows: 1fr; }
  .festcard { display: flex; flex-direction: column; gap: var(--space-1);
              padding: var(--space-4); }
  .festcard__top { display: flex; align-items: center; gap: var(--space-2);
                   flex-wrap: wrap; margin-bottom: var(--space-1); }
  .festcard__conv { font-size: 11px; line-height: 16px; color: var(--ink-faint); }
  .festcard__date { margin: 0; font-family: var(--font-mono); font-variant-numeric: tabular-nums;
                    font-size: 20px; line-height: 27px; font-weight: 600; color: var(--ink); }
  .festcard__when { margin: 0; font-size: 12px; line-height: 19px; color: var(--ink-muted); }
  .festcard__ann { display: inline-flex; align-items: baseline; gap: 4px; font-size: 12px;
                   line-height: 19px; color: var(--tide); text-decoration: none; font-weight: 600; }
  .festcard__ann:hover { text-decoration: underline; text-underline-offset: 3px; }
  .festcard__note { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
                    overflow: hidden; margin-top: auto; padding-top: var(--space-1); }
  .festbrief__d { display: inline-block; min-width: 92px; color: var(--ink); font-weight: 600; }
  .festcard__name { margin: 0; font-size: 17px; line-height: 25px; font-weight: 700; color: var(--ink); }
  .festcard__note { margin: 0; font-size: 13px; line-height: 21px; color: var(--ink-muted); }
  .festbrief { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-2); }
  .festbrief li { font-size: 15px; line-height: 24px; }
  .festtable { width: 100%; border-collapse: collapse; margin-top: var(--space-3); }
  .festtable th { text-align: left; font-size: 12px; letter-spacing: .06em; color: var(--ink-muted);
                  font-weight: 600; padding: 0 var(--space-3) var(--space-2) 0;
                  border-bottom: 1px solid var(--line-strong); }
  .festtable td { padding: var(--space-3) var(--space-3) var(--space-3) 0;
                  border-bottom: 1px solid var(--line); vertical-align: top;
                  font-size: 14px; line-height: 23px; }
  .festtable td:first-child { white-space: nowrap; color: var(--ink-muted); }
  @media (max-width: 720px) {
    .festtable, .festtable tbody, .festtable tr, .festtable td { display: block; width: 100%; }
    .festtable thead { display: none; }
    .festtable tr { border-bottom: 1px solid var(--line); padding: var(--space-3) 0; }
    .festtable td { border: 0; padding: 0 0 var(--space-1); }
  }

  /* ---- 訂位連結 ---- */
  .booklinks { display: inline-flex; gap: var(--space-3); flex-wrap: wrap; }
  .booklink { display: inline-flex; align-items: center; gap: 4px; font-size: 13px;
              font-weight: 700; color: var(--tide); text-decoration: none; }
  .booklink:hover { text-decoration: underline; text-underline-offset: 3px; }
  .booklink:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

  /* ---- 船班公告卡片 ----
     主從關係：解析出來的事實（狀態、日期、航線、船與業者）在上面且醒目，
     原始標題在最下面、字小且淡——它是查證用的原文，不是要讀的重點。 */
  .noticecard { display: flex; flex-direction: column; gap: var(--space-2); }
  .noticecard--pending { border-style: dashed; border-color: var(--hold); }
  .noticecard__top { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
  .noticecard__when { font-family: var(--font-mono); font-variant-numeric: tabular-nums;
                      font-size: 15px; font-weight: 600; color: var(--ink); }
  .noticecard__route { margin: 0; font-size: 22px; line-height: 30px; font-weight: 700;
                       color: var(--ink); letter-spacing: .01em; }
  .noticecard__who { margin: 0; font-size: 15px; line-height: 24px; color: var(--ink-muted); }
  .noticecard__who b { color: var(--ink); font-weight: 700; }
  .noticecard__src { display: inline-flex; align-items: baseline; gap: 4px; margin-top: var(--space-1);
                     font-size: 12px; line-height: 19px; color: var(--ink-faint);
                     text-decoration: none; border-top: 1px solid var(--line); padding-top: var(--space-2); }
  .noticecard__src:hover { color: var(--ink-muted); text-decoration: underline; }
  .noticecard__src:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

  /* ---- 相關報導（同一事件的其餘報導）---- */
  .related { margin-top: var(--space-2); }
  /* 新聞列是「縮圖｜文字」兩欄格線，這個收合沒指定欄就會掉進縮圖那一欄
     （手機上 84px 寬），「另有 1 則相關報導」被擠成兩行。對齊到文字欄。 */
  .newsitem > .related { grid-column: 2; margin-top: 0; }
  .related > summary { cursor: pointer; font-size: 13px; line-height: 21px; color: var(--ink-muted);
                       list-style: none; display: inline-flex; align-items: center; gap: 4px; }
  .related > summary::before { content: '▸'; font-size: 11px; }
  .related[open] > summary::before { content: '▾'; }
  .related > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
  .related ul { margin: var(--space-2) 0 0; padding-left: var(--space-4); }
  .related li { font-size: 13px; line-height: 22px; }

  /* ---- 內文連結 ----
     設計系統沒有定義全域 a，之前掉回瀏覽器預設藍（#0000ee），
     那個藍不在色盤裡，夾在琥珀色快報中間特別突兀。
     一般內文用 --tide；快報裡的連結沿用該則快報自己的色調，
     用底線當「這是連結」的訊號，不靠顏色（顏色不是唯一訊號）。 */
  main a { color: var(--tide); text-underline-offset: 3px; text-decoration-thickness: 1px; }
  main a:hover { text-decoration-thickness: 2px; }
  main a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
  .dy-banner a { color: inherit; text-decoration: underline; font-weight: 600; }

  /* ---- 審核台：理由與規則 ---- */
  .rvpanel { margin-top: var(--space-3); padding: var(--space-4);
             background: var(--surface-sunken); border: 1px solid var(--line-strong);
             border-radius: var(--radius-md); }
  .rvpanel__lb { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
  .rvpanel__ta { width: 100%; box-sizing: border-box; font-family: var(--font-sans);
                 font-size: 15px; line-height: 24px; color: var(--ink);
                 background: var(--surface-raised); border: 1px solid var(--line-strong);
                 border-radius: var(--radius-sm); padding: 8px var(--space-3); resize: vertical; }
  .rvpanel__ta:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
  .rvpanel__terms { margin-top: var(--space-3); }
  .rvpanel__hint { font-size: 12px; line-height: 18px; color: var(--ink-muted); }
  .rvpanel__act { display: flex; gap: var(--space-2); align-items: center;
                  flex-wrap: wrap; margin-top: var(--space-3); }
  .rvnote { margin: var(--space-2) 0 0; font-size: 13px; line-height: 21px; color: var(--ink-muted); }
  .rvnote b { color: var(--ink); }

  /* ---- 審核台 ---- */
  .weights { display: flex; flex-wrap: wrap; gap: var(--space-2); }
  .weight {
    font-family: var(--font-mono); font-size: 12px; line-height: 16px;
    border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 4px var(--space-2); color: var(--ink-muted);
  }
  .weight b { color: var(--ink); }
  .weight.down { border-color: var(--stop); color: var(--stop); }
  .weight.up { border-color: var(--go); color: var(--go); }

  /* 你設定過的來源。只列已經設定的——把全部來源列出來讓人逐一設定，
     等於要人先讀完一份四十幾項的名單才能開始做事。
     來源設定改在審核單則時順手做（portal.js 的 reasonPanel）。 */
  /* ---- 月曆 ----
     使用者要的是「像 daykeep 那樣一眼看得完的月曆」，分觀光與活動兩層。 */
  .calbar { display: flex; align-items: center; justify-content: space-between;
            gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-3); }
  .calnav { display: flex; align-items: center; gap: var(--space-2); }
  .calnav__b {
    appearance: none; border: 1px solid var(--line-strong); background: transparent;
    color: var(--ink); width: 34px; height: 34px; border-radius: var(--radius-sm);
    font-size: 20px; line-height: 1; cursor: pointer;
  }
  .calnav__b:hover { border-color: var(--ink-muted); }
  .calnav__t { font-weight: 700; font-size: 17px; line-height: 26px; min-width: 7.5em; text-align: center; }

  /* 期間型的節慶（藍眼淚季 4/1–9/30、大健行 9/1–10/31）列在月曆上方。
     逐日標記會讓每一格長得一樣，真正的活動全被擠進「+7」裡看不到。 */
  .calseason { margin: 0 0 var(--space-2); font-size: 13px; line-height: 22px; color: var(--ink); }
  .calseason__lb { font-size: 12px; font-weight: 700; color: var(--ink-muted); margin-right: 8px; }
  .calseason__i { white-space: nowrap; }
  .calseason__sep { margin: 0 8px; color: var(--ink-muted); }
  /* 新聞清單上的導言摘要。兩行截斷——摘要是拿來判斷「要不要點進去」的，
     佔掉半個畫面反而讓一頁看不到幾則。 */
  .newsex { margin: 4px 0 0; font-size: 13px; line-height: 21px; color: var(--ink-muted);
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
            overflow: hidden; }
  .excerpt__more { color: var(--ink-muted); }
  .excerpt__note { margin-top: var(--space-2); font-size: 12px; color: var(--ink-muted); }

  /* 首頁三日活動。刻意壓矮：一條切換列＋最多三行。
     每個可點的東西觸控範圍都是 44px（SPEC 11），但**看得到的**膠囊只有 30px——
     整條 44px 高的色塊太重，壓過了下面的內容。 */
  /* 首頁：活動（左、窄）與頭條（右、寬）同一排；窄螢幕上下排 */
  .homemix { display: grid; gap: 0 var(--space-6); align-items: start; }
  .homemix .days3 { margin-top: 0; background: var(--surface-raised, #fff); }
  .homemix .days3__lb, .homemix .days3__more { display: none; }          /* 標題與「行事曆」已經在上面那一行 */
  .days3__i.is-xtra, .days3__i--rest.is-wide { display: none; }       /* 第 4 項以後只在首頁電腦版並排時顯示 */
  @media (min-width: 1000px) {
    .homemix:not(.homemix--one) { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: stretch; }
    /* 左右等高：活動那張卡拉到跟頭條一樣高，並多列幾項把高度用掉 */
    .homemix:not(.homemix--one) .homemix__a { display: flex; flex-direction: column; } .homemix:not(.homemix--one) .homemix__a .days3 { flex: 1; }
    .homemix:not(.homemix--one) .days3__i.is-xtra, .homemix:not(.homemix--one) .days3__i--rest.is-wide { display: grid; }
    .homemix:not(.homemix--one) .days3__i--rest.is-narrow { display: none; }
    .homemix:not(.homemix--one) .days3__md, .homemix:not(.homemix--one) .days3__pl { display: none; }      /* 欄位窄：不寫日期數字與地點，時刻留著 */
    .homemix:not(.homemix--one) .days3__i { grid-template-columns: 68px minmax(0, 1fr) auto; column-gap: var(--space-2); }
    .homemix:not(.homemix--one) .days3__tabs { display: flex; flex: 1; } .homemix:not(.homemix--one) .days3__tab { flex: 1; justify-content: center; }
  }
  .days3 { margin-top: var(--space-4); border: 1px solid var(--line);
           border-radius: var(--radius-md); background: var(--surface); }
  .days3__bar { display: flex; align-items: center; gap: 0 var(--space-3);
                flex-wrap: wrap; padding: 0 var(--space-3);
                border-bottom: 1px solid var(--line); }
  .days3__lb { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
  .days3__tabs { display: inline-flex; }
  .days3__tab { appearance: none; border: 0; background: transparent; cursor: pointer;
                position: relative; z-index: 0; font: inherit; font-size: 13px; color: var(--ink-muted);
                padding: 0 12px; min-height: 44px; border-radius: var(--radius-pill);
                display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
  .days3__tab::before { content: ''; position: absolute; inset: 7px 0; z-index: -1;
                        border-radius: var(--radius-pill); }
  .days3__tab:hover::before { background: var(--surface-sunken); }
  .days3__tab[aria-selected="true"] { color: var(--on-tide); }
  .days3__tab[aria-selected="true"]::before { background: var(--tide); }
  .days3__tab:focus-visible { outline: 2px solid var(--tide); outline-offset: -5px; }
  .days3__d { font-weight: 700; }
  .days3__md { font-variant-numeric: tabular-nums; }
  .days3__n { display: inline-block; min-width: 18px; height: 18px; padding: 0 5px;
              box-sizing: border-box; border-radius: 9px; text-align: center;
              font-size: 11px; line-height: 18px; font-weight: 700; font-variant-numeric: tabular-nums;
              background: var(--surface-sunken); color: var(--ink-muted); }
  .days3__tab[aria-selected="true"] .days3__n { background: rgba(255,255,255,.22); color: inherit; }
  .days3__more { appearance: none; border: 0; background: transparent; cursor: pointer;
                 font: inherit; font-size: 13px; color: var(--ink-muted); margin-left: auto;
                 padding: 0 2px; min-height: 44px; white-space: nowrap; }
  .days3__more:hover { color: var(--ink); }
  /* 三欄：標籤｜標題｜時間地點。標籤欄固定寬，標題才會對齊同一條線。
     每一行本身就是按鈕或連結（不是段落裡的行內連結），觸控目標照 SPEC 11 要 44px */
  .days3__list { list-style: none; margin: 0; padding: 0; }
  .days3__i { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto;
              align-items: center; column-gap: var(--space-3);
              padding: 0 var(--space-3); min-height: 44px; }
  .days3__i + .days3__i { border-top: 1px solid var(--line); }
  .days3__tag { justify-self: start; font-size: 11px; line-height: 18px; font-weight: 700;
                color: var(--ink-muted); border: 1px solid var(--line); border-radius: var(--radius-pill);
                padding: 0 7px; white-space: nowrap; }
  /* 沒有標籤也要佔住第一欄，否則標題會滑進去；只拿掉外框 */
  .days3__tag:empty { border: 0; padding: 0; }
  .days3__t { appearance: none; border: 0; background: transparent; padding: 11px 0;
              cursor: pointer; font: inherit; font-size: 14px; line-height: 22px;
              color: var(--ink); text-align: left; text-decoration: none; min-width: 0;
              overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  span.days3__t { cursor: default; }
  a.days3__t:hover, button.days3__t:hover { text-decoration: underline; text-underline-offset: 3px; }
  .days3__m { display: flex; gap: var(--space-3); justify-content: flex-end; min-width: 0;
              max-width: 22em; font-size: 12px; color: var(--ink-muted); white-space: nowrap; }
  .days3__clk { font-variant-numeric: tabular-nums; flex: none; }
  .days3__pl { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  /* 「還有 N 項」從標題欄開始，跟上面的標題對齊 */
  .days3__i--rest .days3__rest { grid-column: 2 / -1; justify-self: start; }
  .days3__rest { appearance: none; border: 0; background: transparent; padding: 0; cursor: pointer;
                 font: inherit; font-size: 12px; color: var(--ink-muted); min-height: 44px; }
  .days3__rest:hover { color: var(--ink); text-decoration: underline; }
  .days3__none { margin: 0; padding: 12px var(--space-3); font-size: 13px; color: var(--ink-muted); }
  @media (max-width: 560px) {
    .days3__lb { display: none; }
    .days3__md { display: none; }
    .days3__i { column-gap: var(--space-2); }
    .days3__pl { display: none; }
  }

  /* 每日活動的條列模式。日期用等寬字對齊，一眼掃得下去；
     卡片看得到海報，條列一個畫面放得下三倍的量。 */
  /* 每日活動的條列：一場兩行（同「接下來三個月」的 festlist） */
  .actlist { list-style: none; margin: var(--space-2) 0 0; padding: 0; }
  .actlist__i { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); column-gap: var(--space-3);
                align-items: baseline; padding: 10px 0; }
  .actlist__i + .actlist__i { border-top: 1px solid var(--line); }
  .actlist__d { font-size: 14px; line-height: 22px; font-weight: 700; font-variant-numeric: tabular-nums;
                white-space: nowrap; }
  .actlist__d.is-today { color: var(--tide); }
  .actlist__b { min-width: 0; }
  .actlist__t { appearance: none; border: 0; background: transparent; padding: 0; cursor: pointer;
                font: inherit; font-size: 15px; line-height: 22px; font-weight: 700; color: var(--ink);
                text-align: left; }
  .actlist__t:hover { text-decoration: underline; text-underline-offset: 3px; }
  /* 整列都能點：標題只有一行高（22px），撐到 44px 又違背「行距壓低」。
     讓按鈕的可點範圍透明地蓋住整列（約 60px），觸控目標夠大、畫面不變 */
  .actlist__i { position: relative; }
  .actlist__t::after { content: ''; position: absolute; inset: 0; }
  .actlist__i:hover { background: var(--surface-sunken); }
  .actlist__n { font-size: 12px; font-weight: 400; color: var(--ink-muted); }
  .actlist__m { margin: 2px 0 0; font-size: 12px; line-height: 18px; color: var(--ink-muted);
                white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  @media (max-width: 560px) {
    .actlist__i { grid-template-columns: 5.3em minmax(0, 1fr); column-gap: var(--space-2); }
    .actlist__d { font-size: 13px; }
  }

  /* 地區按鈕各自的顏色。用左側色點而不是整顆染色——
     六顆全染色會蓋過「選中」這個狀態，反而看不出自己現在在看哪一區。
     色點在未選中時就看得到，選中時再由 dy-chip 的既有樣式反白。 */
  .isl::before { content: ''; width: 8px; height: 8px; border-radius: 50%;
                 background: var(--isl); flex: none; }
  .isl--nangan  { --isl: #0f766e; }   /* 南竿 深青 */
  .isl--beigan  { --isl: #2563eb; }   /* 北竿 藍 */
  .isl--dongyin { --isl: #7c3aed; }   /* 東引 紫 */
  .isl--juguang { --isl: #ea580c; }   /* 莒光 橘 */
  .isl--taiwan  { --isl: #64748b; }   /* 台灣 灰藍：不是馬祖，刻意不搶眼 */
  .isl--unknown { --isl: #cbd5e1; }   /* 未標示 淺灰 */
  .isl[aria-pressed="true"]::before { background: currentColor; }

  /* 即時搜尋框 */
  .dysearch { display: flex; align-items: center; gap: var(--space-2);
              border: 1px solid var(--line); border-radius: var(--radius-pill);
              background: var(--surface-raised, #fff); padding: 6px 14px;
              margin-bottom: var(--space-3); }
  .dysearch:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px
              color-mix(in srgb, var(--focus) 18%, transparent); }
  .dysearch__i { color: var(--ink-muted); flex: none; }
  .dysearch__in { flex: 1; min-width: 0; border: 0; background: transparent;
                  font: inherit; font-size: 15px; line-height: 26px; color: var(--ink);
                  outline: none; }
  /* 拿掉 Safari／Chrome 內建的搜尋清除鈕：我們自己有一顆，兩顆並排很怪 */
  .dysearch__in::-webkit-search-cancel-button { display: none; }
  .dysearch__x { appearance: none; border: 0; background: transparent; cursor: pointer;
                 font-size: 20px; line-height: 1; color: var(--ink-muted); padding: 0 2px; }
  .dysearch__x:hover { color: var(--ink); }
  .dysearch__n { font-size: 12px; color: var(--ink-muted); white-space: nowrap; flex: none; }

  .calseason__d { margin-left: 4px; font-size: 12px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }

  /* minmax(0, 1fr) 不能寫成 1fr：1fr 的最小值隱含是 auto，而格子裡的活動標籤是
     white-space: nowrap，min-content 等於整串文字的寬度。結果有活動的那幾欄被文字
     撐開、沒活動的被壓扁，整個表格超出容器把星期六擠出畫面，.caltag 的省略號也
     永遠不會生效（要有寬度上限才會截）。minmax(0,…) 允許欄位縮到比內容還窄。 */
  .calgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px;
             background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md);
             overflow: hidden; }
  .calgrid__h { background: var(--surface-sunken); text-align: center;
                font-size: 12px; line-height: 28px; color: var(--ink-muted); font-weight: 600; }
  .calgrid__h.is-end { color: var(--stop); }
  .calcell {
    appearance: none; border: 0; text-align: left; cursor: pointer;
    background: var(--surface-raised, #fff); min-height: 76px; padding: 4px 5px;
    display: flex; flex-direction: column; gap: 2px; font: inherit; color: var(--ink);
    min-width: 0;      /* 同上：flex 子項的 auto 最小寬度會再撐一次，這裡也要放行 */
    overflow: hidden;
  }
  .calcell--pad { background: var(--surface-sunken); cursor: default; }
  .calcell.is-empty { cursor: default; }
  .calcell:not(.is-empty):hover { background: var(--surface-sunken); }
  .calcell.is-today .calcell__d {
    background: var(--tide); color: var(--on-tide); border-radius: var(--radius-pill);
    width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
  }
  /* 已經結束的日子壓暗。行事曆是拿來看「接下來有什麼」的，
     過去的留著是為了查證與回顧，但不該跟未來的搶注意力。
     壓的是整格的不透明度而不是換顏色——換顏色會變成另一種狀態，
     壓暗才讀得出「這是同一種東西，只是過去了」。 */
  .calcell.is-past { opacity: .42; }
  .calcell.is-past:hover { opacity: .72; }
  .calcell.is-past .calcell__d { color: var(--ink-muted); }

  .calcell.is-sel { outline: 2px solid var(--focus); outline-offset: -2px; }
  .calcell__d { font-family: var(--font-mono); font-size: 13px; line-height: 22px; font-weight: 600; }
  .calcell__more { font-size: 11px; line-height: 15px; color: var(--ink-muted); }
  .calcell__n { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin-top: 4px; font-size: 12px; color: var(--ink-muted); } .calcell__c { white-space: nowrap; } .calcell__n b { font-size: 14px; color: var(--ink); margin-right: 1px; }
  .calcell__dots { display: flex; gap: 3px; flex-wrap: wrap; } .caldot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tide); flex: none; }
  .caldot--tour { background: var(--wine); } .calday__key { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-muted); display: flex; align-items: center; gap: 5px; } .calday__key .caldot { margin-left: 2px; }
  .caltag {
    font-size: 11px; line-height: 16px; padding: 1px 4px; border-radius: var(--radius-sm);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
    /* 用省略號而不是在 JS 裡硬切字。切到第 6 個字會變成「馬祖才有的「」，
       後引號還在、前面被截掉，看起來像資料壞了。 */
    min-width: 0;
  }
  .caltag--tour { background: color-mix(in srgb, var(--go) 18%, transparent); color: var(--go-ink, var(--ink)); }
  .caltag--act { background: color-mix(in srgb, var(--tide) 16%, transparent); color: var(--ink); }

  /* 月曆與選中那一天：電腦版左右並排、等高；清單太長就在自己裡面捲 */
  .calsplit { display: grid; gap: var(--space-4); align-items: stretch; }
  .calday__t { display: flex; align-items: baseline; gap: 10px; } .calday__t span { font-size: 13px; font-weight: 500; color: var(--ink-muted); }
  @media (min-width: 1000px) {
    .calsplit { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); }
    .calsplit > .calday { margin-top: 0; position: relative; min-height: 0; background: var(--surface-raised, #fff); }
    .calsplit > .calday .calday__list { position: absolute; left: var(--space-3); right: var(--space-3); top: 52px; bottom: calc(var(--space-3) + 40px); overflow-y: auto; align-content: start; }
    .calsplit > .calday .calday__key { position: absolute; left: var(--space-3); right: var(--space-3); bottom: var(--space-3); margin: 0; }
  }
  /* 收起來的區塊（沒有日期的活動訊息） */
  .calfold { margin: var(--space-4) 0; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-raised, #fff); }
  .calfold > summary { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 var(--space-4); font-weight: 800; cursor: pointer; list-style: none; }
  .calfold > summary::-webkit-details-marker { display: none; } .calfold > summary em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--tide); } .calfold[open] > summary em { visibility: hidden; }
  .calfold > .plain { padding: 0 var(--space-4) var(--space-3); margin: 0 !important; border: 0; box-shadow: none; background: transparent; border-radius: 0; }
  .calfold > summary span { font-size: 13px; font-weight: 500; color: var(--ink-muted); }
  /* 馬祖一年頁下面的節慶兩塊：左右並排 */
  .yearfest { display: grid; gap: var(--space-5); align-items: start; } .yearfest > .footnote { grid-column: 1 / -1; margin: 0; }
  .yr__pick .today__h { display: flex; align-items: center; gap: 8px; } .yr__x { margin-left: auto; appearance: none; border: 0; background: transparent; cursor: pointer; font-size: 24px; line-height: 1; color: var(--ink-muted); min-width: 40px; min-height: 40px; border-radius: 50%; } .yr__x:hover { background: var(--surface-sunken, #f1ede5); color: var(--ink); }
  /* 馬祖一年色帶圖下面那一行「接下來三個月」 */
  .yr__up { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: var(--space-4) 0 0; font-size: 14px; } .yr__up > b { margin-right: 4px; }
  .yr__upb { appearance: none; cursor: pointer; font: inherit; font-weight: 700; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-raised, #fff); color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
  .yr__upb span { font-weight: 700; font-size: 13px; color: var(--tide); } .yr__upb.is-on { border-color: var(--tide); box-shadow: 0 0 0 1px var(--tide); }
  .calday { margin-top: var(--space-3); padding: var(--space-3);
            border: 1px solid var(--line); border-radius: var(--radius-md); }
  .calday__t { margin: 0 0 var(--space-2); font-size: 15px; line-height: 24px; }
  .calday__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
  .calday__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--space-2); }
  /* 標籤不縮：標題一長就被擠成「觀…」「活…」 */
  .calday__list > li > .caltag { flex: none; overflow: visible; }
  .calday__list > li > span, .calday__list > li > button { flex: 1 1 0; min-width: 0; }
  /* 收起來的其他報導 */
  .calmore { flex-basis: 100%; margin: 2px 0 0; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
  .calmore > summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; }
  .calmore > summary { list-style: none; }
  .calmore > summary::-webkit-details-marker { display: none; }
  .calmore > summary::before { content: '▸'; margin-right: 6px; font-size: 11px; }
  .calmore[open] > summary::before { content: '▾'; }
  .calmore > summary:hover { color: var(--ink); }
  .calmore ul { list-style: none; margin: 0; padding: 0 0 0 var(--space-3); display: grid; gap: 4px; }
  .calmore .calday__link { font-size: 13px; color: var(--ink-muted); }
  .calday__link {
    appearance: none; border: 0; background: transparent; padding: 0; cursor: pointer;
    font: inherit; color: var(--ink); text-align: left; text-decoration: underline;
    text-underline-offset: 3px; text-decoration-color: var(--line-strong);
  }
  .calday__link:hover { text-decoration-color: currentColor; }
  .calnote { margin: var(--space-3) 0 0; font-size: 13px; line-height: 21px; color: var(--ink-muted); }

  @media (max-width: 560px) {
    .calcell { min-height: 60px; }
    .caltag { font-size: 10px; }
  }

  /* 手機的週列表：七顆日期按鈕，左右箭頭切週，點哪一天只列那一天。
     月曆格子在手機上一格只有 50px，標題只剩兩個字加「…」（使用者：月曆太小）。
     桌面維持月曆；手機只顯示這個（同一份資料，見 buildMonth）。 */
  .calweek { display: none; }
  .wkbar { display: flex; align-items: stretch; gap: 2px; margin-top: var(--space-2); }
  .wkbar__arrow { appearance: none; border: 0; background: transparent; cursor: pointer; flex: none;
                  width: 32px; min-height: 56px; font: inherit; font-size: 22px; color: var(--ink-muted);
                  border-radius: var(--radius-sm); }
  .wkbar__arrow:hover { background: var(--surface-sunken); color: var(--ink); }
  .wkbar__days { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
  .wkbar__d { appearance: none; border: 1px solid transparent; background: transparent; cursor: pointer;
              font: inherit; color: var(--ink); min-height: 56px; padding: 4px 0; border-radius: var(--radius-md);
              display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
  .wkbar__d:hover { background: var(--surface-sunken); }
  .wkbar__d.is-past { color: var(--ink-muted); }
  .wkbar__w { font-size: 11px; line-height: 14px; color: var(--ink-muted); }
  .wkbar__d.is-end .wkbar__w { color: var(--stop); }
  .wkbar__d.is-today .wkbar__w { color: var(--tide); font-weight: 700; }
  .wkbar__n { font-size: 17px; line-height: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
  .wkbar__c { font-size: 10px; line-height: 14px; min-width: 16px; padding: 0 4px; border-radius: 7px;
              background: color-mix(in srgb, var(--tide) 16%, transparent); color: var(--ink);
              font-variant-numeric: tabular-nums; text-align: center; }
  .wkbar__c.is-zero { background: transparent; color: var(--line-strong); }
  .wkbar__d[aria-selected="true"] { background: var(--tide); border-color: var(--tide); color: var(--on-tide); }
  .wkbar__d[aria-selected="true"] .wkbar__w { color: var(--on-tide); }
  .wkbar__d[aria-selected="true"] .wkbar__c { background: rgba(255,255,255,.25); color: var(--on-tide); }
  .wkbar__d:focus-visible, .wkbar__arrow:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
  .wkday { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--line); }
  .wkday__h { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
              margin-bottom: var(--space-2); }
  .wkday__t { font-size: 16px; line-height: 24px; font-weight: 700; }
  .wkday__back { appearance: none; border: 0; background: transparent; cursor: pointer; font: inherit;
                 font-size: 13px; color: var(--tide); min-height: 44px; padding: 0 4px; }
  .calweek__none { margin: 0; font-size: 14px; color: var(--ink-muted); }
  .calweek .calday__list li { font-size: 15px; line-height: 23px; }
  @media (max-width: 560px) {
    .calweek { display: block; }
    .calnav--month, .calgrid, .calday, .calseason--month, .calnote--month { display: none; }
  }

  /* ---- 活動文章頁（我們自己的版面，不是外連） ---- */
  .actfacts { margin: 0 0 var(--space-4); display: grid; gap: 6px; }
  .actfacts__row { display: grid; grid-template-columns: 5.5em 1fr; gap: var(--space-3);
                   font-size: 15px; line-height: 24px; }
  .actfacts dt { display: flex; align-items: center; gap: 5px; color: var(--ink-muted); }
  .actfacts dd { margin: 0; }
  .actimgs { display: grid; gap: var(--space-2); margin-bottom: var(--space-4); }
  .actimgs__b {
    appearance: none; border: 0; background: transparent; padding: 0; cursor: zoom-in;
    display: block; position: relative; width: 100%;
  }
  .actimgs img { width: 100%; height: auto; border-radius: var(--radius-md); display: block; }
  .actimgs__zoom {
    position: absolute; right: 8px; bottom: 8px;
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(0,0,0,.62); color: #fff; font-size: 12px; line-height: 18px;
    padding: 3px 8px; border-radius: var(--radius-pill);
  }

  /* ---- 圖片檢視器 ----
     活動海報把時程、地點、報名方式全擠在一張圖裡，字很小，
     不能放大就等於沒有提供資訊。 */
  .zoomer {
    position: fixed; inset: 0; z-index: var(--z-dialog, 90);
    background: rgba(0,0,0,.86); display: flex; align-items: center; justify-content: center;
    overflow: hidden; touch-action: none;
  }
  .zoomer__img {
    max-width: 94vw; max-height: 86vh; cursor: grab; user-select: none;
    transform-origin: center center; transition: transform .06s linear;
  }
  .zoomer__img.is-zoomed { cursor: grab; }
  .zoomer__img:active { cursor: grabbing; }
  .zoomer__bar {
    position: absolute; top: calc(env(safe-area-inset-top, 0px) + 12px); right: 12px;
    display: flex; align-items: center; gap: 6px; z-index: 1;
  }
  .zoomer__b {
    appearance: none; cursor: pointer; border: 1px solid rgba(255,255,255,.3);
    background: rgba(0,0,0,.5); color: #fff; font: inherit; font-size: 17px; line-height: 1;
    width: 40px; height: 40px; border-radius: var(--radius-sm);
  }
  .zoomer__b--w { width: auto; padding: 0 12px; font-size: 14px; }
  .zoomer__b:hover { background: rgba(255,255,255,.18); }
  .zoomer__k { color: #fff; font-size: 13px; min-width: 4em; text-align: center; }
  .zoomer__hint {
    position: absolute; bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); left: 0; right: 0;
    text-align: center; color: rgba(255,255,255,.7); font-size: 12px; margin: 0;
  }
  @media (max-width: 560px) { .zoomer__hint { display: none; } }

  /* 滑鼠移過去的縮圖。不點進去也看得出是什麼。 */
  .peek {
    position: fixed; z-index: calc(var(--z-dialog, 90) + 1);   /* 對話框（加入景點）裡的縮圖也要蓋得過 */ pointer-events: none;
    background: var(--surface-raised, #fff); border: 1px solid var(--line-strong);
    border-radius: var(--radius-md); padding: 4px; box-shadow: var(--shadow-lift);
  }
  .peek img { display: block; width: 320px; height: auto; max-height: 260px;
              object-fit: contain; background: var(--surface-sunken);
              border-radius: var(--radius-sm); }
  @media (hover: none) { .peek { display: none; } }

  .calday__plain { color: var(--ink-muted); }
  .actbody p { margin: 0 0 8px; font-size: 15px; line-height: 26px; }
  /* 內文裡的網址（linkify）。很長的網址要能在任何地方斷行——
     報名表網址原本把對話框撐寬，底下多出一條橫向捲軸 */
  .bodylink { color: var(--tide); text-decoration: underline; text-underline-offset: 3px;
              overflow-wrap: anywhere; word-break: break-all; }
  .bodylink:hover { text-decoration-thickness: 2px; }
  .actbody, .infobody, .bsheet__body { overflow-wrap: anywhere; }
  .actbody p:empty { display: none; }
  .actnote { margin: var(--space-3) 0 0; padding: 8px 12px; border-radius: 8px; background: var(--surface-sunken); font-size: 13.5px; color: var(--ink-muted); }
  .actlinks { margin: var(--space-3) 0 0; padding-left: 18px; font-size: 14px; } .actlinks li { margin: 4px 0; word-break: break-all; }
  .actsrc { margin: var(--space-4) 0 0; padding-top: var(--space-3);
            border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-muted); }

  .act__open {
    appearance: none; border: 0; background: transparent; padding: 0; cursor: pointer;
    font: inherit; color: var(--ink); text-align: left;
    display: flex; align-items: center; gap: 6px; width: 100%;
  }
  .act__open:hover .act__t { text-decoration: underline; text-underline-offset: 3px; }
  .act__thumb {
    appearance: none; border: 0; background: transparent; padding: 0; cursor: pointer;
    margin-top: 6px; display: block; max-width: 180px;
  }
  .act__thumb img { width: 100%; height: auto; border-radius: var(--radius-sm); display: block; }

  .srcset {
    display: flex; flex-wrap: wrap; gap: var(--space-2);
    align-items: center; margin-top: var(--space-3);
  }
  .srcset__lb { font-size: 13px; line-height: 21px; color: var(--ink-muted); }

  /* 來源搜尋。233 個來源平鋪，要找特定一家等於用眼睛掃。
     輸入框不要做成小方塊——手機上點得到才算數（最小高度 40px）。 */
  .srcfind {
    display: flex; flex-wrap: wrap; gap: var(--space-2);
    align-items: center; margin-top: var(--space-3);
  }
  .srcfind input {
    flex: 1 1 14em; min-width: 0; min-height: 40px;
    padding: 6px var(--space-3);
    font: inherit; color: var(--ink);
    background: var(--surface); border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
  }
  .srcfind input:focus-visible { outline: 2px solid var(--tide); outline-offset: 1px; }
  .srcfind__x {
    cursor: pointer; min-height: 40px; padding: 0 var(--space-3);
    font: inherit; color: var(--ink-muted);
    background: transparent; border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
  }
  .srcfind__x:hover { color: var(--ink); border-color: var(--ink-muted); }
  .srcfind .muted { font-size: 13px; }
  .moretopics { display: inline-block; }
  .moretopics > summary {
    cursor: pointer; font-size: 13px; line-height: 21px; color: var(--ink-muted);
    list-style: none; padding: 4px var(--space-2);
    border: 1px dashed var(--line-strong); border-radius: var(--radius-pill);
  }
  .moretopics > summary::-webkit-details-marker { display: none; }
  .moretopics > summary:hover { color: var(--ink); border-color: var(--ink-muted); }
  .moretopics[open] > summary { margin-bottom: var(--space-2); }

  .srcmore { margin-top: var(--space-4); }
  .srcmore > summary {
    cursor: pointer; font-size: 13px; line-height: 21px; color: var(--ink-muted);
    padding: var(--space-2) 0;
  }
  .srcmore > summary:hover { color: var(--ink); }

  /* 載入中的骨架。比一句「還沒抓到」好——它讀起來是「正在來」，
     而不是「壞了」，而且版面不會在資料到達時跳動。 */
  .skel { display: grid; gap: var(--space-4); padding: var(--space-2) 0; }
  .skel__row { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-4); align-items: start; }
  .skel__img { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); }
  .skel__lines { display: grid; gap: 10px; padding-top: 4px; }
  .skel__l { height: 14px; border-radius: 4px; }
  .skel__l--t { width: 72%; }
  .skel__l--m { width: 38%; height: 11px; }
  .skel__img, .skel__l {
    background: linear-gradient(90deg,
      var(--surface-sunken) 25%, var(--line) 37%, var(--surface-sunken) 63%);
    background-size: 400% 100%;
    animation: skel 1.4s ease-in-out infinite;
  }
  @keyframes skel { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
  /* 載入中的循環動畫（loadingBox）：2026-10-18 換成標誌〈潮汐之 W〉縮小版——潮線在圓裡由左畫到右、橘點跟著走（原本是小船與藍眼淚） */
  .ldr { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 36px 16px; color: var(--ink-muted, #5b6770); text-align: center; }
  .ldr--s { flex-direction: row; gap: 12px; padding: 14px 16px; justify-content: flex-start; }
  .ldr__art { width: 64px; height: 64px; overflow: visible; }
  .ldr--s .ldr__art { width: 36px; height: 36px; flex: none; }
  .ldr__water { fill: #0c7078; opacity: .16; }
  .ldr__line { fill: none; stroke: #0a4e55; stroke-width: 5.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: 1.02; animation: ldrDraw 2s cubic-bezier(.45,.05,.3,1) infinite; }
  .ldr__ring { fill: none; stroke: var(--ink, #10242a); stroke-width: 5.2; opacity: .85; }
  .ldr__dot { fill: #c2560c; stroke: #f4f6f4; stroke-width: 2.4; offset-rotate: 0deg; offset-distance: 0%; animation: ldrRun 2s cubic-bezier(.45,.05,.3,1) infinite; }
  @keyframes ldrDraw { 0% { stroke-dashoffset: 1.02; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
  @keyframes ldrRun { 0% { offset-distance: 0%; opacity: 1; } 70% { offset-distance: 100%; opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
  .ldr__t { font-size: 15px; letter-spacing: .04em; }
  .ldr--s .ldr__t { font-size: 14px; text-align: left; }
  .ldr__dots { display: inline-flex; gap: 3px; margin-left: 4px; vertical-align: middle; }
  .ldr__dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; animation: ldrDot 1.2s ease-in-out infinite; opacity: .25; }
  .ldr__dots i:nth-child(2) { animation-delay: .2s; } .ldr__dots i:nth-child(3) { animation-delay: .4s; }
  @keyframes ldrDot { 0%,100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
  /* 連不上：灰色、不動——「會自動重試」而不是「壞掉了」 */
  .ldr--off .ldr__line { stroke: #8c9a9e; animation: none; stroke-dashoffset: 0; } .ldr--off .ldr__water { fill: #8c9a9e; }
  .ldr--off .ldr__ring { stroke: #b9c3c6; } .ldr--off .ldr__dot { display: none; }
  .sheet .ldr, .sp__modal .ldr { padding: 28px 8px; }
  /* 班次卡還沒資料：三條流光灰條 */
  .skws { display: grid; gap: 14px; padding: 18px 20px 4px; }
  .skw { display: grid; grid-template-columns: 52px 1fr 64px; gap: 14px; align-items: center; }
  .skw i { display: block; height: 14px; border-radius: 6px;
    background: linear-gradient(90deg, var(--surface-sunken) 25%, var(--line) 37%, var(--surface-sunken) 63%);
    background-size: 400% 100%; animation: skel 1.4s ease-in-out infinite; }
  .skw__b { width: 70%; } .skw__c { height: 22px !important; border-radius: 11px !important; }
  .skw:nth-child(2) .skw__b { width: 55%; } .skw:nth-child(3) .skw__b { width: 82%; }
  .depwait .ldr { padding: 10px 20px 18px; }
  /* 島況列還沒資料：數值位置換成流光小條，不排一整列「—」 */
  .dy-cond--wait .dy-cond__value, .dy-cond--wait .condmini__v { color: transparent !important; position: relative; min-width: 2.6em; display: inline-block; }
  .dy-cond--wait .dy-cond__value::after, .dy-cond--wait .condmini__v::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 12px; margin-top: -6px; border-radius: 6px;
    background: linear-gradient(90deg, rgba(255,255,255,.10) 25%, rgba(255,255,255,.28) 37%, rgba(255,255,255,.10) 63%); background-size: 400% 100%; animation: skel 1.4s ease-in-out infinite; }
  .dy-cond--wait .dy-cond__unit, .dy-cond--wait .lvlbtn { visibility: hidden; }
  .switchrow .ldr--s { padding: 8px 0; }
  @media (prefers-reduced-motion: reduce) {
    .ldr__line, .ldr__dot, .ldr__dots i, .skw i, .dy-cond--wait .dy-cond__value::after, .dy-cond--wait .condmini__v::after { animation: none !important; }
    .ldr__line { stroke-dashoffset: 0; } .ldr__dot { offset-distance: 62%; }
  }
  @media (prefers-reduced-motion: reduce) {
    .skel__img, .skel__l { animation: none; background: var(--surface-sunken); }
  }

  .footnote { margin-top: var(--space-7); padding-top: var(--space-4); border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 13px; line-height: 21px; }

  /* ---- 島況列的來源查證 tip ---- */
  .condq { position: relative; border-radius: var(--radius-sm); }
  .condq:focus-visible { outline: 2px solid var(--focus-invert); outline-offset: 3px; }
  .condtip {
    position: fixed; z-index: var(--z-dialog);
    display: grid; gap: 2px; width: max-content; max-width: 320px;
    background: var(--surface-raised); color: var(--ink);
    border: 1px solid var(--line-strong); border-radius: var(--radius-md);
    box-shadow: var(--shadow-lift); padding: var(--space-3);
    font-family: var(--font-sans); font-size: 13px; line-height: 20px; text-align: left; white-space: normal;
  }
  .condtip b { font-size: 14px; }
  /* 起降門檻：提示框與分級說明裡的一塊，門檻與現在的值用大字並排（使用者 2026-10-05：門檻要顯目） */
  .condgate { display: grid; gap: 4px; margin: 6px 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-sunken, #ece7de); border-left: 4px solid var(--tide, #0c7078); }
  .condgate__r { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .condgate__k { font-size: 12.5px; color: var(--ink-muted); min-width: 5.5em; }
  .condtip .condgate__v, .condgate__v { font-family: var(--font-mono); font-size: 18px; line-height: 24px; color: var(--ink); }
  .condgate__s { font-size: 12.5px; font-weight: 800; padding: 1px 8px; border-radius: 999px; }
  .condgate__s--go { color: #0f6b3a; background: #d9f2e3; } .condgate__s--hold { color: #8a5a00; background: #fbecc4; } .condgate__s--stop { color: #a3211a; background: #fbdcd8; }
  .condgate__n { font-size: 12.5px; line-height: 18px; color: var(--ink-muted); }
  /* 起降門檻畫成一條線：紅＝低於門檻、黃＝接近門檻、綠＝達標準；上面的點是現在、下面的線是門檻 */
  .condgate__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .gline { position: relative; display: block; padding: 24px 0 22px; }
  .gline__track { display: flex; height: 10px; border-radius: 5px; overflow: hidden; }
  .gline__z { display: block; height: 100%; } .gline__z--stop { background: #ef4444; } .gline__z--hold { background: #facc15; } .gline__z--go { background: #34d399; }
  .gline__lb { position: absolute; transform: translateX(-50%); font-size: 12.5px; line-height: 16px; color: var(--ink-muted); white-space: nowrap; }
  .gline__lb b, .condtip .gline__lb b { font-family: var(--font-mono); font-size: 14px; color: var(--ink); }
  .gline__lb--now { top: 0; } .gline__lb--lim { bottom: 0; }
  .gline__pt { position: absolute; transform: translateX(-50%); }
  .gline__pt--now { top: 16px; border: 6px solid transparent; border-top: 8px solid var(--ink); border-bottom: 0; }
  .gline__pt--lim { top: 20px; width: 0; height: 18px; border-left: 2px dashed var(--ink); }
  .frule .condgate { display: grid; margin: 0 0 12px; }
  /* 點一格跳出的說明：圖示＋名稱、大字數值＋程度條、分級一覽、來源一行（使用者 2026-10-05：文字精簡、圖示優先） */
  .frule.lvinfo { width: min(420px, 100%); display: grid; gap: 10px; }
  .lvinfo__h { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; color: var(--ink-muted); }
  .lvinfo__h svg { width: 20px; height: 20px; }
  .lvinfo__now { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
  .lvinfo__v { font-size: 28px; line-height: 34px; display: inline-flex; align-items: center; }
  .lvinfo__v .wxi { width: 30px; height: 30px; }
  .lvinfo__sub { margin: -4px 0 0; font-size: 13.5px; color: var(--ink-muted); }
  .lvinfo .condgate, .lvinfo .frule__note { margin: 0; }
  /* 分級畫成一條線：每級一段顏色，「現在」的箭頭落在數值所在的位置；下面是分界的數字與各級名稱 */
  .lvline { position: relative; display: grid; gap: 3px; padding-top: 24px; margin: 4px 0 2px; }
  .lvline__now { position: absolute; top: 0; transform: translateX(-50%); font-size: 12px; line-height: 14px; font-weight: 800; color: var(--ink); white-space: nowrap; display: grid; justify-items: center; }
  .lvline__now::after { content: ''; border: 6px solid transparent; border-top: 8px solid var(--ink); border-bottom: 0; margin-top: 1px; }
  .lvline__now.is-right { transform: none; justify-items: start; } .lvline__now.is-left { transform: translateX(-100%); justify-items: end; }
  .lvline__now.is-right span { margin-left: 9px; } .lvline__now.is-left span { margin-right: 9px; }
  .lvline__now.is-right::after { margin-left: -6px; } .lvline__now.is-left::after { margin-right: -6px; }
  /* 起降門檻標在同一條線上：最上面一排是門檻，虛線往下穿過線 */
  .lvline--gate { padding-top: 46px; }
  .lvline--gate .lvline__now { top: 22px; }
  .lvline__glb { position: absolute; top: 0; transform: translateX(-50%); font-size: 12.5px; line-height: 16px; color: var(--ink-muted); white-space: nowrap; }
  .lvline__glb b { font-family: var(--font-mono); font-size: 14px; color: var(--ink); }
  .lvline__gl { position: absolute; top: 18px; height: 46px; width: 0; border-left: 2px dashed var(--ink); transform: translateX(-1px); z-index: 1; }
  .lvinfo__gate { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; }
  .lvline__track { display: flex; gap: 2px; height: 14px; }
  .lvline__seg { flex: 1; border-radius: 3px; background: #cbd5db; opacity: .55; }
  .lvline__seg.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--surface-raised, #fff), 0 0 0 3.5px var(--ink); }
  .lvline__seg.lvl--0 { background: #34d399; } .lvline__seg.lvl--1 { background: #a3e635; } .lvline__seg.lvl--2 { background: #facc15; }
  .lvline__seg.lvl--3 { background: #fb923c; } .lvline__seg.lvl--4 { background: #ef4444; } .lvline__seg.lvl--c { background: #3b9bd6; } .lvline__seg.lvl--t { background: #0c9aa0; }
  .lvline__ticks { position: relative; height: 15px; font-size: 11px; line-height: 15px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
  .lvline__ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
  .lvline__ticks span:last-child { transform: translateX(-35%); }
  .lvline__ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-muted); }
  .lvline__names { display: flex; gap: 2px; font-size: 12px; line-height: 15px; color: var(--ink-muted); text-align: center; }
  .lvline__names span { flex: 1; min-width: 0; overflow-wrap: anywhere; text-wrap: balance; }   /* 手機上放不下時平均折成兩行，不要只掉一個字 */
  .lvline__names .is-on { color: var(--ink); font-weight: 800; }
  /* 潮汐小圖 */
  .tidefig { margin: 0; padding: 8px 10px 10px; border-radius: 12px; background: color-mix(in srgb, var(--tide, #0c7078) 10%, var(--surface-raised, #fff)); }
  .tidefig svg { display: block; width: 100%; height: auto; overflow: visible; }
  .tidefig__line { stroke: var(--tide, #0c7078); stroke-width: 2.5; stroke-linejoin: round; }
  .tidefig__pt { fill: var(--tide, #0c7078); }
  .tidefig__nowpt { fill: var(--surface-raised, #fff); stroke: var(--ink); stroke-width: 2.5; }
  .tidefig__now { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 4 4; }
  .tidefig__nowt { font-size: 12px; font-weight: 800; fill: var(--ink); }
  .tidefig__t { font-size: 12px; font-weight: 700; fill: var(--ink); font-family: var(--font-sans); }
  .tidefig__h { font-size: 11.5px; fill: var(--ink-muted); font-family: var(--font-mono); }
  .tidefig figcaption { font-size: 12px; color: var(--ink-muted); margin-top: 2px; }
  /* 起降視窗：能見度、雲冪各一條門檻線，下面是三種顏色的圖例 */
  .frow { display: grid; gap: 0; padding: 10px 12px 4px; border-radius: 12px; background: var(--surface-sunken, #ece7de); }
  .frow__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14.5px; }
  .frow__na { font-size: 12.5px; color: var(--ink-muted); }
  .frow .gline { padding: 24px 0 24px; }
  .fleg { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--ink-muted); }
  .fleg span { display: inline-flex; align-items: center; gap: 5px; }
  .fleg i { width: 14px; height: 8px; border-radius: 3px; display: inline-block; }
  .lvinfo__v.frule__go { color: #15803d; } .lvinfo__v.frule__hold { color: #b26a00; } .lvinfo__v.frule__stop { color: #b42318; }
  .lvinfo__src { margin: 0; font-size: 12.5px; color: var(--ink-muted); }
  .lvinfo__src a { color: var(--tide); }
  .condcomp { display: none; }
  /* 雙機場表格裡能點的格子（沒有滑鼠提示框了，點了看說明與來源） */
  .condclick { cursor: pointer; border-radius: 6px; }
  .condclick:hover { background: rgba(255,255,255,.08); box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
  .condclick:focus-visible { outline: 2px solid var(--focus-invert); outline-offset: 3px; }
  /* ---- 日（淺色）模式的島況列：淺底卡片、深色字（使用者 2026-10-05：白天整頁淺底，中間一大塊深藍不適合）。
     夜（深色）模式照舊。程度條保留顏色但加深一點；程度的字改深色（亮綠、亮黃的字在白底上看不清楚） ---- */
  [data-theme="light"] .dy-cond { --surface-deep: var(--surface-raised, #fff); --ink-deep: var(--ink); --ink-deep-muted: var(--ink-muted);
    --go-on-deep: #0f7a4d; --hold-on-deep: #8f5d00; --stop-on-deep: #c2332a; --focus-invert: var(--tide, #0c7078); --cond-rule: var(--line, #dcd6cb);
    border: 1px solid var(--line, #dcd6cb); box-shadow: 0 1px 2px rgba(20,38,45,.06); }
  /* 地區選單是青綠底白字（日夜兩種主題都一樣），跟各頁標題裡的島名同一個顏色與形狀：兩顆是同一個選單 */
  .dy-cond .condpick__btn, [data-theme="light"] .dy-cond .condpick__btn { background: #0c7078; border-color: #0c7078; color: #fff; }
  .dy-cond .condpick__btn:hover, [data-theme="light"] .dy-cond .condpick__btn:hover { background: #0a5d64; }
  .islpick { position: relative; display: inline-block; vertical-align: middle; margin-right: .35em; }
  .islpick__btn { appearance: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border-radius: var(--radius-md); border: 1px solid #0c7078; background: #0c7078; color: #fff;
                  font-family: var(--font-sans); font-size: 18px; line-height: 26px; font-weight: 800; white-space: nowrap; cursor: pointer; }
  .islpick__btn:hover { background: #0a5d64; } .islpick__btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .islpick__menu { font-weight: 400; letter-spacing: 0; }
  [data-theme="light"] .dy-cond .lvl__bar i { background: #e6e1d6; }
  [data-theme="light"] .dy-cond .lvl--0 .is-on { background: #17a673; } [data-theme="light"] .dy-cond .lvl--1 .is-on { background: #7cb518; }
  [data-theme="light"] .dy-cond .lvl--2 .is-on { background: #d9a400; } [data-theme="light"] .dy-cond .lvl--3 .is-on { background: #e9781a; }
  [data-theme="light"] .dy-cond .lvl--4 .is-on { background: #dc3b32; } [data-theme="light"] .dy-cond .lvl--c .is-on { background: #3b9bd6; }
  [data-theme="light"] .dy-cond .lvl--t .is-on { background: #0c9aa0; }
  [data-theme="light"] .dy-cond .lvl .lvl__w { color: var(--ink); }
  [data-theme="light"] .dy-cond .cchip.lvl--0 .cchip__dot { background: #17a673; } [data-theme="light"] .dy-cond .cchip.lvl--1 .cchip__dot { background: #7cb518; }
  [data-theme="light"] .dy-cond .cchip.lvl--2 .cchip__dot { background: #d9a400; } [data-theme="light"] .dy-cond .cchip.lvl--3 .cchip__dot { background: #e9781a; }
  [data-theme="light"] .dy-cond .cchip.lvl--4 .cchip__dot { background: #dc3b32; } [data-theme="light"] .dy-cond .cchip.lvl--c .cchip__dot { background: #3b9bd6; }
  [data-theme="light"] .dy-cond .cchip.lvl--t .cchip__dot { background: #0c9aa0; }
  [data-theme="light"] .dy-cond button.ctile:hover, [data-theme="light"] .dy-cond button.cchip:hover { background: var(--surface-sunken, #f1ede5); }
  [data-theme="light"] .dy-cond .condclick:hover { background: var(--surface-sunken, #f1ede5); box-shadow: 0 0 0 4px var(--surface-sunken, #f1ede5); }
  [data-theme="light"] .dy-cond .condgrp + .condgrp { border-top-color: var(--line, #dcd6cb); }
  [data-theme="light"] .dy-cond .condwide__r:not(.condwide__r--h) + .condwide__r > span { border-top-color: var(--line, #dcd6cb); }
  [data-theme="light"] .dy-cond .condtap.dy-cond__value--go { background: rgba(15,122,77,.12); }
  [data-theme="light"] .dy-cond .condtap.dy-cond__value--hold { background: rgba(143,93,0,.14); }
  [data-theme="light"] .dy-cond .condtap.dy-cond__value--stop { background: rgba(194,51,42,.12); }
  button.cchip:hover { background: rgba(255,255,255,.08); }
  /* 可以點的格子：名稱旁有小箭頭 */
  .ctile__go { margin-left: auto; font-size: 15px; line-height: 16px; font-weight: 700; opacity: .45; }
  button.ctile:hover .ctile__go, button.ctile:focus-visible .ctile__go { opacity: 1; }
  .condtip__demo { color: var(--stop); font-weight: 600; }
  .condtip__real { color: var(--go); font-weight: 600; }
  /* 真實欄位在島況列上加一個小點，不用顏色當唯一線索——hover 才有完整說明 */
  .condq--real .dy-cond__value::after { content: '·'; color: var(--go); margin-left: 3px; font-weight: 700; }
  .condtip__row { color: var(--ink-muted); }
  .condtip__link { color: var(--tide); font-family: var(--font-mono); font-size: 12px; word-break: break-all; }
  @media (max-width: 720px) { .condtip { left: auto; right: 0; max-width: 78vw; } }


  /* ---- 直播嵌入：擋掉 YouTube 的播放器介面 ---- */
  .camshot { position: relative; width: 100%; height: 100%; background: var(--surface-deep); }
  .camshot > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
  .camshot__open {
    position: absolute; right: var(--space-2); bottom: var(--space-2); z-index: 1;
    font-family: var(--font-sans); font-size: 12px; line-height: 18px; font-weight: 600;
    color: var(--ink-deep); background: rgba(0,0,0,.55); text-decoration: none;
    padding: 4px var(--space-2); border-radius: var(--radius-md);
  }
  .camshot__open:hover { background: rgba(0,0,0,.78); text-decoration: underline; }
  .camshot__open:focus-visible { outline: 2px solid var(--focus-invert); outline-offset: 2px; }
  /* CamPanel 的 stage 有內距，嵌入影像時取消，讓畫面貼齊 */
  .dy-panel__stage:has(.camshot) { padding: 0; }

  /* ---- 馬祖現場（2026-10-07 重排）：島分頁、播放器（全螢幕、拍一張）、帶狀態的縮圖 ---- */
  .lvtabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; margin: 0 0 var(--space-4);
    background: var(--surface-sunken, #efeae0); border-radius: 14px; max-width: 520px; }
  .lvtabs__b { appearance: none; border: 0; background: none; font: inherit; font-size: 15.5px; font-weight: 700; color: var(--ink-muted); cursor: pointer;
    min-height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
  .lvtabs__b.is-on { background: var(--surface-raised, #fff); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
  .lvtabs__b:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
  .lvtabs__n { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--ink-muted); background: var(--surface-sunken, #efeae0); border-radius: 999px; min-width: 20px; padding: 1px 6px; }
  .lvtabs__b.is-on .lvtabs__n { background: var(--tide, #0c7078); color: #fff; }
  .lv { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(300px, 1fr); gap: var(--space-4); align-items: stretch; }
  .lv > .lvstage:not(.is-full) { align-self: start; }
  .lv__side { min-width: 0; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-3); border: 1px solid var(--line, #dcd6cb); border-radius: 14px; background: var(--surface-raised, #fff); }
  .lv__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); min-width: 0; }
  @media (max-width: 1080px) { .lv { grid-template-columns: minmax(0, 1fr); } }
  .lv__info { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 0 2px; }
  .lv__name { margin: 0 0 4px; font-size: 19px; line-height: 27px; font-weight: 700; }
  .lv__desc { margin: 0 0 var(--space-3); font-size: 14.5px; line-height: 1.7; color: var(--ink); }
  /* 這個島現在的狀況：跟首頁最上面的島況列同一種格子（深底、圖示＋數值＋程度條） */
  .lvcond { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 2px; padding: 6px; margin: 0 0 var(--space-3); border-radius: 12px; background: #10222b; color: #fff; }
  .lvcond .ctile { padding: 6px; } .lvcond .ctile__lb { color: rgba(255,255,255,.66); } .lvcond .ctile__v { font-family: var(--font-mono); font-size: 17px; }
  .lvcond .ctile__v small { font-size: 11.5px; opacity: .8; } .lvcond .lvl { flex-wrap: wrap; }
  .lv__src { margin: auto 0 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-muted); }

  .lvstage { position: relative; background: #0b161c; border-radius: 14px; overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
  .lvstage__view { position: relative; flex: 1; min-height: 0; aspect-ratio: 16 / 9; width: 100%; background: #060d11; display: grid; gap: 3px; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(0, 1fr); }
  .lvtile { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #0b161c; display: flex; align-items: center; justify-content: center; }
  .lvtile[role="button"] { cursor: pointer; }
  .lvtile.is-cur::after { content: ''; position: absolute; inset: 0; border: 2px solid #39c0c8; pointer-events: none; z-index: 2; }
  .lvtile:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
  .lvtile .camshot { background: #000; }
  .lvtile__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
  .lvtile__off { margin: 0; padding: var(--space-4); max-width: 30em; text-align: center; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.6); }
  .lvtile__tag { position: absolute; left: 8px; top: 8px; z-index: 2; display: flex; align-items: center; gap: 6px; max-width: calc(100% - 16px); padding: 3px 9px; border-radius: 7px;
    background: rgba(0,0,0,.58); color: #fff; font-size: 12.5px; line-height: 18px; pointer-events: none; }
  .lvstage:not(.is-full) .lvtile__tag { max-width: calc(100% - 150px); top: 10px; left: 10px; }
  .lvtile__st { font-weight: 700; white-space: nowrap; } .lvtile__nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .lvtile__zoom { position: absolute; right: 8px; bottom: 8px; z-index: 2; padding: 3px 9px; border-radius: 7px; background: #39c0c8; color: #06282b; font-size: 12px; line-height: 18px; font-weight: 700; pointer-events: none; }
  .lvstage__hud { position: absolute; top: 10px; z-index: 2; padding: 3px 9px; border-radius: 7px; background: rgba(0,0,0,.58); color: #fff; font-size: 12.5px; line-height: 18px; pointer-events: none; }
  .lvstage__hud--r { right: 10px; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
  .lvstage__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; }
  .lvstage__dot.is-on, .lvstage__dot.is-night { animation: lvblink 1.6s steps(2, start) infinite; }
  .lvstage__dot.is-fog { background: #e9b949; } .lvstage__dot.is-off { background: #8a949a; }
  @keyframes lvblink { to { opacity: .25; } }
  .lvstage__flash { position: absolute; inset: 0; z-index: 3; background: #fff; animation: lvflash .45s ease-out forwards; pointer-events: none; }
  @keyframes lvflash { from { opacity: .85; } to { opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .lvstage__dot, .lvstage__flash { animation: none; } .lvstage__flash { opacity: 0; } }

  .lvbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px; background: #10222b; }
  .lvbar__sp { flex: 1; }
  .lvbar__b { appearance: none; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 44px; padding: 0 14px; border-radius: 10px; white-space: nowrap;
    border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
  .lvbar__b:hover { background: rgba(255,255,255,.16); } .lvbar__b:focus-visible, .lvseg__b:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
  .lvbar__b[disabled] { opacity: .4; cursor: default; }
  .lvbar__b.is-on { background: #39c0c8; border-color: #39c0c8; color: #06282b; }
  .lvbar__b--sq { width: 44px; padding: 0; font-size: 22px; line-height: 1; flex: none; }
  .lvbar__b--shot { background: #fff; color: #10222b; border-color: #fff; } .lvbar__b--shot:hover { background: #e3eaec; }
  .lvbar__shut { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #10222b; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 8px #e5484d; }
  .lvseg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
  .lvseg__b { appearance: none; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.72); cursor: pointer; min-height: 38px; min-width: 44px; padding: 0 12px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; }
  .lvseg__b:hover { color: #fff; } .lvseg__b.is-on { background: #fff; color: #10222b; }
  .lvseg__lb { font-size: 13px; }

  /* 全螢幕：上面是分割畫面，下面一條（名稱與時間、選地區、排法、自動換畫面、拍一張、離開） */
  .lvstage.is-full { position: fixed; inset: 0; z-index: 4000; border-radius: 0; background: #060d11;
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
  .lvstage.is-full .lvstage__view { aspect-ratio: auto; }
  .lvstage.is-full .camshot__open { display: none; }
  .lvbar__id { display: inline-flex; align-items: center; gap: 8px; color: #fff; white-space: nowrap; padding: 0 6px; }
  .lvbar__id b { font-family: var(--font-serif); font-size: 17px; color: #fff; } .lvbar__id .mono { font-size: 13px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.75); }
  .lvbar__sp { font-size: 12.5px; color: rgba(255,255,255,.55); text-align: center; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lvstage__view.is-g4 { grid-template-columns: repeat(var(--c), minmax(0, 1fr)); }
  .lvstage__view.is-gm { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); grid-template-rows: repeat(var(--k), minmax(0, 1fr)); }
  .lvstage__view.is-gm .lvtile.is-main { grid-column: 1; grid-row: 1 / -1; }
  .lvstage__view.is-gm.is-many { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); }
  .lvstage__view.is-gm.is-many .lvtile.is-main { grid-column: 1 / span 3; grid-row: 1 / span 3; }
  @media (orientation: portrait) {
    .lvstage__view.is-g4 { grid-template-columns: repeat(var(--cp), minmax(0, 1fr)); }
    .lvstage__view.is-gm { grid-template-columns: repeat(var(--k), minmax(0, 1fr)); grid-template-rows: minmax(0, 3fr) minmax(0, 1fr); }
    .lvstage__view.is-gm .lvtile.is-main { grid-column: 1 / -1; grid-row: 1; }
    .lvstage__view.is-gm.is-many { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 3fr); }
    .lvstage__view.is-gm.is-many .lvtile.is-main { grid-column: 1 / -1; grid-row: 1; }
  }
  /* 拖拉換位置：被拖的那格變淡，要放下的那格亮框，游標旁跟著鏡頭名稱 */
  .lvtile[role="button"] { touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
  .lvstage__view.is-dragging .lvtile { cursor: grabbing; }
  .lvtile.is-drag { opacity: .35; }
  .lvtile.is-over::after { content: ''; position: absolute; inset: 0; z-index: 3; border: 3px dashed #ffd166; background: rgba(255,209,102,.16); pointer-events: none; }
  .lvghost { position: fixed; z-index: 6; transform: translate(12px, 14px); padding: 5px 11px; border-radius: 8px; background: #ffd166; color: #2b2000; font-size: 13px; font-weight: 700; white-space: nowrap; pointer-events: none; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
  @media (max-width: 700px) {
    .lvstage.is-full .lvbar { gap: 6px; padding: 6px; } .lvstage.is-full .lvbar__sp { display: none; } .lvbar__id { order: -2; flex: 1; } .lvstage.is-full .lvbar__b.lvbar__x { order: -1; flex: none; padding: 0 14px; }
    .lvstage.is-full .lvseg { flex: 1; } .lvstage.is-full .lvseg--isl { flex: 1 1 100%; } .lvstage.is-full .lvseg__b { flex: 1; padding: 0 4px; min-width: 0; font-size: 13px; } .lvseg__lb { display: none; }
    .lvstage.is-full .lvbar__b { flex: 1; padding: 0 8px; } .lvstage.is-full .lvbar__b--sq { flex: none; }
    .lvstage.is-full .lvtile__tag { font-size: 11.5px; left: 5px; top: 5px; padding: 2px 7px; }
  }
  html:has(.lvstage.is-full), html:has(.lvstage.is-full) body { overflow: hidden !important; }
  .lvsnap { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 12px; background: rgba(6,14,18,.82); }
  .lvsnap__card { background: #fff; color: #17323a; border-radius: 14px; padding: 12px; max-width: 560px; width: 100%; max-height: 100%; overflow: auto; display: flex; flex-direction: column; gap: 10px; }
  .lvsnap__img { display: block; width: 100%; height: auto; border-radius: 8px; }
  .lvsnap__msg { margin: 0; font-size: 13px; line-height: 1.6; color: #4b5b62; }
  .lvsnap__act { display: flex; flex-wrap: wrap; gap: 8px; }
  .lvsnap__b { appearance: none; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid #c9d2d5; background: #fff; color: #17323a;
    display: inline-flex; align-items: center; justify-content: center; text-decoration: none; flex: 1; white-space: nowrap; }
  .lvsnap__b.is-main { background: #0c7078; border-color: #0c7078; color: #fff; }
  .lvsnap__b:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }

  .lvcard { appearance: none; font: inherit; text-align: left; cursor: pointer; padding: 6px; min-width: 0; border-radius: 12px; border: 1px solid var(--line, #dcd6cb); background: var(--surface-raised, #fff); color: var(--ink);
    display: flex; flex-direction: column; gap: 6px; }
  .lvcard:hover { border-color: var(--line-strong, #b9b1a2); } .lvcard:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
  .lvcard.is-on { border-color: var(--tide, #0c7078); box-shadow: 0 0 0 2px var(--tide, #0c7078); }
  .lvcard__pic { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #22343c; }
  .lvcard__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .lvcard.st-off .lvcard__pic { background: repeating-linear-gradient(135deg, #2a3940 0 8px, #24323a 8px 16px); }
  .lvcard__st { position: absolute; left: 6px; top: 6px; padding: 2px 8px; border-radius: 999px; font-size: 12px; line-height: 18px; font-weight: 700; color: #fff; background: #1f8a4c; }
  .lvcard__st.is-fog { background: #b7791f; } .lvcard__st.is-night { background: #33415c; } .lvcard__st.is-off { background: #6b757b; }
  .lvcard__name { font-size: 14.5px; line-height: 20px; font-weight: 700; padding: 0 2px 2px; overflow-wrap: anywhere; }


  /* 載入畫面與 App 開場動畫（2026-10-17 改成數據作品的語言，使用者：開啟與等待時的畫面也要帶入）：
     淺色紙底、主要島嶼剪影、依此刻海面的風畫的流線（.bootart 由頁面最下面一小段程式畫，網站程式還沒載完就會動）、
     資料組成的一句（風、潮汐，app/utils/boot_scene.py 在伺服器組好）。舊版夜海動畫已拿掉 */
  .boot { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px;
          background: #f4f6f4; color: #10242a; font-family: var(--font-sans); overflow: hidden; z-index: 1; }
  /* 2026-10-18 換成標誌〈潮汐之 W〉的動態版（app/utils/brand_mark.py 的 full，伺服器組好 SVG，樣式在頁面裡的 brand_full_css）：
     今天福澳港的潮位曲線由左畫到右、收進圓裡成為標誌、橘點落在現在；約 3 秒播完停住。島嶼剪影與流線拿掉了 */
  .bootmark { width: min(440px, 90vw); }
  .boot__name { font-family: var(--font-serif); font-size: 30px; font-weight: 900; letter-spacing: .14em; margin: 4px 0 0; }
  .boot__line { margin: 0; font-family: var(--font-serif); font-size: 18px; color: #08484f; text-align: center; max-width: 30em; text-wrap: balance; }
  .boot__when { margin: -6px 0 0; font-size: 12.5px; color: #56676c; letter-spacing: .06em; }
  .boot__tips { position: relative; height: 22px; width: min(360px, 90vw); text-align: center; font-size: 14px; color: #56676c; }
  .boot__tips span { position: absolute; inset: 0; opacity: 0; animation: boottip 9s infinite; }
  .boot__tips span:nth-child(2) { animation-delay: 3s; } .boot__tips span:nth-child(3) { animation-delay: 6s; }
  @keyframes boottip { 0% { opacity: 0; transform: translateY(6px); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-6px); } }
  .boot__bar { width: min(220px, 60vw); height: 2px; background: #d3dcda; overflow: hidden; border-radius: 2px; }
  .boot__bar i { display: block; width: 30%; height: 100%; background: #c8532a; animation: bootbar 1.6s ease-in-out infinite; }
  @keyframes bootbar { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
  @media (prefers-reduced-motion: reduce) { .boot__tips span:first-child { opacity: 1; } }
  .splash { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px;
            background: #f4f6f4; color: #10242a; overflow: hidden; animation: splashout .5s ease-in 2.1s forwards; }
  @keyframes splashout { to { opacity: 0; visibility: hidden; } }
  .splash .boot__name, .splash .boot__line, .splash .boot__when { animation: splashup .6s ease-out 1.25s both; }
  @keyframes splashup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .splash { animation: splashout .3s ease-in .6s forwards; } }

  @media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }


  /* 旅遊不便險（2026-10-14） */
  .ins__hero, .fv__hero { padding-top: 18px; }
  .ins__hero h1, .fv__hero h1 { font-family: var(--font-serif); font-size: clamp(28px, 5vw, 42px); margin: 8px 0 6px; text-wrap: balance; }
  .ins__hero > p, .fv__hero > p { color: var(--ink-2, #444); max-width: 46em; margin: 0 0 12px; font-size: 16.5px; }
  .ins__kpi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 10px 0; } @media (max-width: 560px) { .ins__kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .ins__k { text-align: left; border: 2px solid transparent; border-radius: 12px; padding: 10px 12px; cursor: pointer; font: inherit; background: #f3f1ec; } .ins__k b { display: block; font-size: 26px; font-variant-numeric: tabular-nums; } .ins__k span { font-size: 13px; }
  .ins__k.is-yes { background: #e3f4e6; color: #14532d; } .ins__k.is-part { background: #fff3d6; color: #7a4b00; } .ins__k.is-no { background: #fde8e8; color: #8a1c13; } .ins__k.is-unk { background: #eceae4; color: #555; } .ins__k.is-on { border-color: currentColor; }
  .ins__keys { background: #fff8e6; border: 1px solid #f0d28f; border-radius: 14px; padding: 12px 16px 12px 2em; margin: 10px 0; display: grid; gap: 6px; font-size: 15px; } .ins__keys li::marker { font-weight: 800; color: #a15c00; }
  .ins__fine, .fv__fine { font-size: 13px; color: var(--ink-3, #6b6b66); }
  .ins__tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line, #e3e0d8); margin: 16px 0 12px; overflow-x: auto; } .ins__tabs button { border: 0; background: none; font: inherit; font-weight: 700; padding: 10px 14px; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; color: var(--ink-2, #444); min-height: 44px; } .ins__tabs .is-on { color: var(--accent, #0c6e77); border-color: currentColor; }
  .ins__find { display: flex; gap: 8px; flex-wrap: wrap; } .ins__find input { flex: 1; min-width: 0; min-height: 44px; font: inherit; padding: 6px 12px; border: 1px solid #ccc; border-radius: 10px; } .ins__clr { min-height: 44px; border: 1px solid #ccc; background: #fff; border-radius: 10px; padding: 0 14px; font: inherit; cursor: pointer; }
  .ins__cats { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; } .ins__cat { border: 1px solid #ddd; background: #fff; border-radius: 999px; padding: 6px 14px; font: inherit; font-weight: 600; cursor: pointer; min-height: 40px; display: inline-flex; gap: 6px; align-items: center; } .ins__cat b { font-variant-numeric: tabular-nums; opacity: .7; } .ins__cat.is-on { background: #0f2d3a; color: #fff; border-color: #0f2d3a; }
  .ins__bank { min-height: 44px; font: inherit; padding: 0 12px 0 14px; border: 1px solid #ccc; border-radius: 10px; background: #fff; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; max-width: 100%; } .ins__bank b { font-size: 12px; color: #777; } .ins__bank.is-on { border-color: var(--accent, #0c6e77); color: var(--accent, #0c6e77); font-weight: 700; }
  .ibp { display: grid; gap: 12px; } .ibp section + section { margin-top: 2px; } .ibp input { min-height: 44px; font: inherit; padding: 6px 12px; border: 1px solid #ccc; border-radius: 10px; width: 100%; box-sizing: border-box; }
  .ibp h4 { margin: 0 0 8px; font-size: 13px; color: #6b6b6b; letter-spacing: .05em; } .ibp__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px; }
  .ibp__c, .ibp__all { min-height: 44px; font: inherit; border: 1px solid #ddd8cc; border-radius: 10px; background: #fff; cursor: pointer; padding: 4px 8px; display: flex; align-items: center; justify-content: center; gap: 4px; text-align: center; } .ibp__all { justify-content: flex-start; padding: 4px 14px; }
  .ibp__c span { font-weight: 700; font-size: 14px; line-height: 1.25; } .ibp__c small { font-size: 11px; color: #8a8a8a; font-variant-numeric: tabular-nums; } .ibp__all { font-weight: 700; }
  @media (max-width: 480px) { .ibp__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ibp__c { padding: 4px 4px; } .ibp__c span { font-size: 13.5px; } }
  .ibp__c.is-on, .ibp__all.is-on { border-color: var(--accent, #0c6e77); background: #eef6f4; color: var(--accent, #0c6e77); } .ibp__c:hover, .ibp__all:hover { border-color: #9cc5c0; }
  .ins__find { align-items: center; } @media (max-width: 640px) { .ins__find .ins__bank { flex: 1 1 0; } .ins__find input { flex: 1 1 100% !important; } .ins__vsw { margin-left: 0 !important; } }
  .ins__find select { min-height: 44px; font: inherit; padding: 0 10px; border: 1px solid #ccc; border-radius: 10px; background: #fff; max-width: 100%; }
  .ins__vsw { display: inline-flex; border: 1px solid #ccc; border-radius: 10px; overflow: hidden; margin-left: auto; } .ins__vsw button { border: 0; background: #fff; font: inherit; padding: 0 14px; min-height: 42px; cursor: pointer; } .ins__vsw .is-on { background: #0f2d3a; color: #fff; }
  .ins__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
  .icard { text-align: left; border: 0; background: none; padding: 0; font: inherit; cursor: pointer; display: grid; gap: 8px; color: inherit; }
  .icard__face { position: relative; aspect-ratio: 1.586; border-radius: 14px; color: #fff; padding: 14px 16px; display: grid; grid-template-rows: auto 1fr auto; box-shadow: 0 6px 16px rgba(10, 30, 35, .18); overflow: hidden; }
  .icard__face::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 0%, rgba(255,255,255,.22), transparent 55%); }
  .icard__bank { font-weight: 800; font-size: 17px; position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
  /* 發卡機構與保險公司的標誌（2026-10-15）：一律放在白色小方塊裡，深色卡面上也看得清楚 */
  .inslogo { flex: none; display: inline-block; vertical-align: middle; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px; box-sizing: border-box; }
  .inslogo.is-chip { width: 26px; height: 26px; margin-right: 6px; box-shadow: 0 0 0 1px var(--line); }
  .inslogo.is-card { width: 34px; height: 34px; border-radius: 8px; padding: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
  .inslogo.is-head { width: 40px; height: 40px; margin-right: 10px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
  .ibp__c { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding-top: 8px !important; padding-bottom: 6px !important; } .ibp__c .inslogo { margin: 0; width: 30px; height: 30px; } .ibp__c span { white-space: nowrap; } .icard__chip { width: 36px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #e9d48a, #b8963f); align-self: center; position: relative; z-index: 1; }
  .icard__tier { font-size: 12.5px; line-height: 1.4; opacity: .95; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; position: relative; z-index: 1; }
  .icard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; position: relative; z-index: 1; min-width: 0; } .icard__dom { flex: none; max-width: 62%; font-size: 11.5px; font-weight: 800; line-height: 1.35; border-radius: 999px; padding: 3px 9px; text-align: center; } .icard__dom.is-yes { background: #d9f2df; color: #14532d; } .icard__dom.is-part { background: #ffecc2; color: #7a4b00; } .icard__dom.is-no { background: #fde2df; color: #8a1c13; } .icard__dom.is-unk { background: #eceae4; color: #444; }
  .icard__info { font-size: 13.5px; color: var(--ink-2, #444); display: grid; gap: 2px; } .icard__info > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .icard__info em { font-style: normal; font-weight: 700; color: var(--accent, #0c6e77); }
  .icard:hover .icard__face, .icard:focus-visible .icard__face { transform: translateY(-2px); transition: transform .15s; }
  .ins__items { display: grid; gap: 8px; margin: 10px 0; } .ins__it { background: #f7f5f0; border-radius: 10px; padding: 10px 12px; }
  .ins__ith { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; } .ins__ith b { font-size: 15px; }
  .ins__itd { font-size: 12px; font-weight: 800; border-radius: 999px; padding: 1px 9px; white-space: nowrap; } .ins__itd.is-yes { background: #d9f2df; color: #14532d; } .ins__itd.is-no { background: #eceae4; color: #555; }
  .ins__it p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-2, #333); }
  .ins__sheet .ins__cards { display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important; }
  .ins__sheet .ins__body { padding: 0; } .ins__sheet h3 { font-size: 20px; } .ins__sheet .ins__cards { margin: 2px 0 8px; font-size: 14px; }
  .ins__off { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; background: var(--accent, #0c6e77); color: #fff !important; font-weight: 700; text-decoration: none; }
  .ins__offs { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .ins__sheet h3 { margin: 0; }
  @media (max-width: 720px) {
    .ins__t--self thead { display: none; } .ins__t--self, .ins__t--self tbody, .ins__t--self tr, .ins__t--self td { display: block; width: auto; box-sizing: border-box; white-space: normal !important; overflow-wrap: anywhere; }
    .ins__t--self tr { border: 1px solid var(--line, #e3e0d8); border-radius: 12px; padding: 8px 12px; margin-bottom: 10px; background: var(--surface, #fff); }
    .ins__t--self td { border: 0; padding: 3px 0; min-width: 0 !important; } .ins__t--self td::before { content: attr(data-l); display: block; font-size: 12px; color: #888; font-weight: 700; }
    .ins__t--self td:first-child { font-weight: 800; font-size: 16px; } .ins__t--self td:first-child::before { display: none; }
  }
  .ins__sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; } .scard { background: var(--surface, #fff); border: 1px solid var(--line, #e3e0d8); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
  .scard__h { display: flex; justify-content: space-between; gap: 8px; align-items: center; } .scard__h b { font-size: 17px; } .scard__p { margin: 0; color: #555; font-size: 14px; } .scard small { display: block; font-size: 12px; font-weight: 700; color: #6b6b6b; letter-spacing: .04em; margin-bottom: 2px; } .scard p { overflow-wrap: anywhere; }
  .scard__key { background: #eef6f4; border-radius: 10px; padding: 10px 12px; } .scard__key small { color: #0c6e77; } .scard__key p { margin: 0; font-size: 14.5px; line-height: 1.6; font-weight: 600; color: #1d2b2a; }
  .scard__two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .scard__two p { margin: 0; font-size: 13px; line-height: 1.55; color: #3a3a3a; }
  .scard__more summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: #0c6e77; min-height: 32px; display: flex; align-items: center; } .scard__more summary::-webkit-details-marker { display: none; } .scard__more summary::after { content: '▾'; margin-left: 6px; font-size: 11px; } .scard__more[open] summary::after { content: '▴'; } .scard__more p { margin: 4px 0 0; font-size: 13px; line-height: 1.6; color: #3a3a3a; }
  .scard__go { margin-top: auto; } @media (max-width: 420px) { .scard__two { grid-template-columns: 1fr; } }
  /* 自己加保卡片第三版（2026-10-15 使用者：排版要優化）：標誌＋名稱一行、適用程度在名稱下面；四張卡的每一段用 subgrid 對齊同一高度 */
  .ins__sgrid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px 14px; }
  .scard { display: grid; grid-row: span 7; grid-template-rows: subgrid; gap: 12px; padding: 16px; align-content: start; }
  .scard__h { justify-content: flex-start; align-items: center; gap: 10px; } .scard__h > div { display: grid; gap: 4px; justify-items: start; min-width: 0; }
  .scard__h b { font-size: 17px; line-height: 1.3; } .scard__h .ins__dom { font-size: 12px; }
  .scard__h .inslogo.is-card { width: 40px; height: 40px; box-shadow: 0 0 0 1px var(--line, #e3e0d8); }
  .scard__p { font-size: 13.5px; line-height: 1.6; }
  .scard__key { align-self: stretch; } .scard__key p { font-size: 14px; font-weight: 500; line-height: 1.65; }
  .scard__two { align-self: start; border-top: 1px dashed var(--line, #e3e0d8); padding-top: 10px; } .scard__two p { font-size: 12.5px; line-height: 1.6; }
  .scard__more { align-self: start; min-height: 0; } .scard__go { align-self: end; margin-top: 0; }
  @supports not (grid-template-rows: subgrid) { .scard { display: flex; } }
  /* ── 島上佈告各自成頁（2026-10-15）：二手、租屋、徵才、團購、房地租售 */
  .bd__deal { margin-top: -4px; } .bdc__deal { font-style: normal; display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; margin-right: 6px; vertical-align: 2px; color: #fff; background: #5b4a8b; } .bdc__deal.is-rent { background: #0c7078; }
  .bd { --bd-c: #2f7d5b; --bd-soft: #eaf4ee; padding-block: 8px 40px; }
  .bd--rental { --bd-c: #2b6f8f; --bd-soft: #e7f1f6; } .bd--jobs { --bd-c: #7a5a1e; --bd-soft: #f6efe1; } .bd--groupbuy { --bd-c: #b2532b; --bd-soft: #fbece4; } .bd--realestate { --bd-c: #5b4a8b; --bd-soft: #efebf8; }
  .bd__hero { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; padding: 20px 22px; border-radius: 18px; background: var(--bd-soft); margin: 10px 0 14px; }
  .bd__hi { display: flex; gap: 14px; align-items: flex-start; flex: 1 1 320px; min-width: 0; }
  .bd__ico { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--bd-c); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
  .bd__hi h1 { margin: 0; font-size: clamp(24px, 4vw, 32px); font-family: var(--font-serif); line-height: 1.2; }
  .bd__hi p { margin: 4px 0 0; color: var(--ink-muted); font-size: 15px; line-height: 1.6; max-width: 46em; } .bd__hi small { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--bd-c); font-size: 13.5px; }
  .bd__post { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--bd-c, #0c6e77); color: #fff; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; text-decoration: none; white-space: nowrap; box-shadow: 0 3px 0 rgba(0,0,0,.18); }
  .bd__post:disabled { opacity: .6; cursor: default; } .bd__post:focus-visible, .bdc:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }
  .bd__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; position: sticky; top: calc(var(--sticky-top, 0px) + env(safe-area-inset-top, 0px)); z-index: 5; background: var(--bg); padding: 8px 0; }
  .bd__q, .bd__sel { min-height: 46px; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; background: var(--surface); color: var(--ink); min-width: 0; }
  .bd__all { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-muted); white-space: nowrap; } .bd__all input { width: 18px; height: 18px; }
  .bd__seg { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; overflow-x: auto; scrollbar-width: none; margin-top: 4px; }
  .bd__seg button { flex: 1 0 auto; min-height: 40px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-weight: 700; font-size: 14.5px; color: var(--ink-muted); cursor: pointer; white-space: nowrap; }
  .bd__seg button small { font-weight: 400; font-size: 12px; margin-left: 4px; opacity: .8; } .bd__seg button.is-on { background: var(--bd-c); color: #fff; }
  .bd__cats { display: flex; gap: 6px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .bd__cat { flex: none; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); font: inherit; font-size: 14px; cursor: pointer; color: var(--ink); white-space: nowrap; }
  .bd__cat small { margin-left: 4px; color: var(--ink-muted); font-size: 12px; } .bd__cat.is-on { background: var(--bd-soft); border-color: var(--bd-c); color: var(--bd-c); font-weight: 700; }
  .bd__n { margin: 14px 0 8px; font-size: 13.5px; color: var(--ink-muted); }
  .bd__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 12px; } .bd__n + .bd__grid { margin-top: 0; }
  .bdc { position: relative; display: flex; flex-direction: column; text-align: left; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); padding: 0; font: inherit; color: inherit; cursor: pointer; transition: transform .12s, box-shadow .12s; min-width: 0; }
  .bdc:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
  .bdc.is-done { opacity: .62; } .bdc.is-skel { height: 260px; cursor: default; background: linear-gradient(90deg, var(--line) 25%, var(--surface) 50%, var(--line) 75%); background-size: 200% 100%; animation: bd-sk 1.2s infinite linear; } @keyframes bd-sk { to { background-position: -200% 0; } }
  .bdc__img { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bd-soft); overflow: hidden; } .bdc--sq .bdc__img { aspect-ratio: 1 / 1; }
  .bdc__img img { width: 100%; height: 100%; object-fit: cover; display: block; } .bdc__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--bd-c); opacity: .45; }
  .bdc__st { position: absolute; left: 8px; top: 8px; font-style: normal; font-size: 12.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--bd-c); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
  .bdc__st.is-done { background: #555; color: #fff; } .bdc__b .bdc__st { position: static; align-self: flex-start; margin-bottom: 4px; }
  .bdc__n { position: absolute; right: 8px; bottom: 8px; font-size: 11.5px; color: #fff; background: rgba(0,0,0,.5); padding: 2px 7px; border-radius: 999px; }
  .bdc__b { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; min-width: 0; }
  .bdc__p { font-size: 19px; color: var(--bd-c); font-variant-numeric: tabular-nums; } .bdc__t { font-size: 15px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .bdc__f { display: flex; flex-wrap: wrap; gap: 4px; } .bdc__f i { font-style: normal; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--bd-soft); color: var(--bd-c); }
  .bdc__dl { font-size: 12.5px; font-weight: 700; color: var(--ink-muted); } .bdc__dl.is-hot { color: #b2532b; } .bdc__dl.is-past { color: #999; }
  .bdc__m { font-size: 12.5px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bdc__fav { position: absolute; right: 10px; top: 8px; color: #e0405e; font-size: 18px; text-shadow: 0 1px 2px #fff; }
  .bd__grid.is-list { grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
  .bd__grid.is-list .bdc { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); } .bd__grid.is-list .bdc:last-child { border-bottom: 0; } .bd__grid.is-list .bdc:hover { transform: none; box-shadow: none; background: var(--bd-soft); }
  .bd__grid.is-list .bdc__b { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t p" "f p" "d p" "m p"; gap: 4px 16px; padding: 14px 16px; }
  .bd__grid.is-list .bdc__t { grid-area: t; font-size: 16.5px; -webkit-line-clamp: 1; } .bd__grid.is-list .bdc__p { grid-area: p; align-self: center; text-align: right; font-size: 17px; } .bd__grid.is-list .bdc__f { grid-area: f; } .bd__grid.is-list .bdc__dl { grid-area: d; } .bd__grid.is-list .bdc__m { grid-area: m; }
  .bd__empty { text-align: center; padding: 40px 16px; color: var(--ink-muted); border: 1.5px dashed var(--line-strong); border-radius: 16px; margin-top: 12px; display: grid; gap: 8px; justify-items: center; } .bd__empty p { margin: 0; font-size: 15.5px; }
  .bd__clr, .bd__more button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }
  .bd__more { text-align: center; margin: 18px 0 0; } .bd__rule { margin: 22px 0 0; font-size: 13px; color: var(--ink-muted); line-height: 1.7; }
  .bd__toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: #1d2b2a; color: #fff; padding: 10px 18px; border-radius: 999px; z-index: 5000; margin: 0; font-weight: 600; }
  /* 詳情 */
  .bdd { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
  .bdd__main { display: block; width: 100%; padding: 0; border: 0; background: #111; border-radius: 12px; overflow: hidden; cursor: zoom-in; } .bdd__main { aspect-ratio: 16 / 10; } .bdd__main img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .bdd__thumbs { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; } .bdd__thumbs button { flex: none; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; } .bdd__thumbs button.is-on { border-color: var(--ink); } .bdd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
  .bdd__info { display: grid; gap: 12px; min-width: 0; } .bdd__info h2 { margin: 0; font-size: 22px; line-height: 1.35; font-family: var(--font-serif); }
  .bdd__st { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; } .bdd__st small { color: var(--ink-muted); font-size: 12.5px; }
  .bdd__tag { font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #e3f1ea; color: #2f7d5b; } .bdd__tag.is-done { background: #eee; color: #555; }
  .bdd__price { margin: 0; font-size: 26px; font-weight: 800; color: #b2532b; font-variant-numeric: tabular-nums; }
  .bdd__facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; } .bdd__facts div { background: var(--surface-2, #f5f3ee); border-radius: 10px; padding: 8px 10px; } .bdd__facts dt { font-size: 12px; color: var(--ink-muted); } .bdd__facts dd { margin: 2px 0 0; font-weight: 700; font-size: 14.5px; }
  .bdd__feats { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; } .bdd__feats span { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: #eef6f4; color: #0c4f55; }
  .bdd__contact { padding: 12px 14px; border-radius: 12px; background: #f7fbfa; border: 1px solid #d6e8e4; display: grid; gap: 8px; } .bdd__calls { display: grid; gap: 8px; }
  .inscall.is-line .inscall__i { background: #06c755; font-weight: 900; } .bdd__note { margin: 0; font-size: 14px; } .bdd__lock { display: grid; gap: 8px; justify-items: start; } .bdd__lock p { margin: 0; font-size: 14px; } .bdd__reg { font-size: 13.5px; }
  .bdd__body b { font-size: 14px; } .bdd__body p { margin: 4px 0 0; white-space: pre-wrap; line-height: 1.75; font-size: 15px; overflow-wrap: anywhere; }
  .bdd__acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
  .bdd__act { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; color: var(--ink); } .bdd__act.is-on { color: #e0405e; border-color: #f0b6c2; background: #fff3f5; }
  .bdd__own { padding: 12px 14px; border-radius: 12px; border: 1.5px dashed var(--line-strong); display: grid; gap: 10px; } .bdd__own > b { font-size: 14px; }
  .bdd__sts { display: flex; flex-wrap: wrap; gap: 6px; } .bdd__sts button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); font: inherit; font-weight: 700; cursor: pointer; } .bdd__sts button.is-on { background: #1d2b2a; color: #fff; border-color: #1d2b2a; }
  .bdd__ownb { display: flex; gap: 8px; flex-wrap: wrap; } .bdd__del { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #e2a8a0; background: #fff; color: #b23b2c; font: inherit; font-weight: 700; cursor: pointer; }
  /* 刊登表單 */
  .bdf { display: grid; gap: 18px; } .bdf h2 { margin: 0; font-size: 22px; font-family: var(--font-serif); }
  .bdf section { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); } .bdf h3 { margin: 0; font-size: 16px; }
  .bdf__f { display: grid; gap: 6px; } .bdf__f > span { font-size: 14px; font-weight: 700; } .bdf__f > span em { font-style: normal; color: #b23b2c; font-size: 12px; font-weight: 600; }
  .bdf__f input, .bdf__f textarea { min-height: 46px; border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 16px; background: var(--surface); color: var(--ink); width: 100%; box-sizing: border-box; } .bdf__f textarea { line-height: 1.7; resize: vertical; }
  .bdf__f input:focus, .bdf__f textarea:focus { outline: none; border-color: var(--ink); }
  .bdf__chips { display: flex; flex-wrap: wrap; gap: 6px; } .bdf__chips button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); font: inherit; font-size: 14.5px; cursor: pointer; color: var(--ink); } .bdf__chips button.is-on { background: #1d2b2a; color: #fff; border-color: #1d2b2a; font-weight: 700; }
  .bdf__price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: end; } .bdf__unit { margin: 0 0 12px; color: var(--ink-muted); font-weight: 700; }
  .bdf__three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .bdf__drop { border: 2px dashed var(--line-strong); border-radius: 14px; padding: 18px; text-align: center; display: grid; gap: 6px; justify-items: center; background: var(--surface); } .bdf__drop.is-over { border-color: #2f7d5b; background: #eaf4ee; } .bdf__drop p { margin: 0; }
  .bdf__pick { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: #1d2b2a; color: #fff; font-weight: 700; cursor: pointer; } .bdf__pick input { display: none; } .bdf__drop small { color: var(--ink-muted); font-size: 12.5px; }
  .bdf__imgs { display: flex; flex-wrap: wrap; gap: 8px; } .bdf__im { position: relative; width: 108px; } .bdf__im img { width: 108px; height: 108px; object-fit: cover; border-radius: 10px; display: block; }
  .bdf__im em { position: absolute; left: 6px; top: 6px; font-style: normal; font-size: 11px; font-weight: 800; background: #1d2b2a; color: #fff; padding: 1px 7px; border-radius: 999px; }
  .bdf__im div { display: flex; justify-content: space-between; margin-top: 4px; } .bdf__im button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font: inherit; } .bdf__im button:disabled { opacity: .3; }
  .bdf__tip { margin: 0; font-size: 13px; color: var(--ink-muted); line-height: 1.6; } .bdf__err { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fdecea; color: #b23b2c; font-weight: 700; }
  .bdf__go { display: flex; gap: 10px; flex-wrap: wrap; position: sticky; bottom: -1px; z-index: 2; background: var(--surface, #fff); padding: 12px 0; border-top: 1px solid var(--line); box-shadow: 0 -6px 12px -8px rgba(0,0,0,.15); }
  /* 總覽 */
  .bdh { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
  .bdh__c { display: grid; gap: 10px; text-align: left; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); font: inherit; color: inherit; cursor: pointer; } .bdh__c:hover { border-color: var(--line-strong); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
  .bdh__h { display: flex; align-items: center; gap: 10px; } .bdh__h .bd__ico { width: 40px; height: 40px; border-radius: 12px; background: #2f7d5b; } .bdh__h b { font-size: 18px; flex: 1; } .bdh__h em { font-style: normal; font-weight: 700; color: var(--ink-muted); font-size: 14px; }
  .bdh__l { display: grid; gap: 4px; min-height: 60px; } .bdh__l > span { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; } .bdh__l i { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bdh__l small { flex: none; color: #b2532b; font-weight: 700; }
  .bdh__go { font-weight: 800; color: #2f7d5b; font-size: 14px; }
  .bdh + .bdh__z { margin-top: 12px; }
  .bdh__z { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 8px; }
  .bdh__z button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font: inherit; color: inherit; cursor: pointer; text-align: left; }
  .bdh__z button:hover { border-color: var(--line-strong); }
  .bdh__z .bd__ico { width: 32px; height: 32px; border-radius: 9px; background: #2f7d5b; }
  .bdh__z b { font-size: 15.5px; } .bdh__z em { font-style: normal; font-size: 13px; color: var(--ink-muted); } .bdh__z .bdh__go { margin-left: auto; font-size: 13.5px; }
  /* 佈告篩選、排序、沒照片的卡片（2026-10-16 排版改版） */
  .bd__fbar { margin-top: 6px; }
  .bd__sel { appearance: none; -webkit-appearance: none; padding-right: 34px; background: var(--surface) 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' stroke='%23667' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; }
  .bdc__img > .tart { position: absolute; inset: 0; }
  .bd--realestate .bdc__img img, .bd--rental .bdc__img img { object-position: top; }
  .bdd__hint { margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--hold-tint); font-size: 13.5px; }
  @media (max-width: 560px) { .bd__grid.is-wide { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 760px) {
    .bd__hero { padding: 16px; } .bd__post { width: 100%; } .bd__bar { grid-template-columns: minmax(0, 1fr) auto; } .bd__q { grid-column: 1 / -1; }
    .bd__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .bdc__p { font-size: 17px; } .bdc__t { font-size: 14px; }
    .bdd { grid-template-columns: minmax(0, 1fr); } .bdf__three, .bdf__price { grid-template-columns: minmax(0, 1fr); }
  }
  @media (prefers-reduced-motion: reduce) { .bdc, .bdc.is-skel { transition: none; animation: none; } }
  /* 二手一次上架多件（2026-10-15） */
  .sheet:has(.bb) { max-width: 940px; }
  .bd__posts { display: flex; flex-wrap: wrap; gap: 8px; } .bd__post.is-alt { background: var(--surface); color: var(--bd-c, #2f7d5b); border: 2px solid var(--bd-c, #2f7d5b); box-shadow: none; }
  .bbx__pick { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }   /* 原本叫 bb__pick，跟訂船票撞名，把訂船票的選擇區撐寬（2026-10-16 修） */
  .bb__bar { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--ink-muted); }
  .bb__gap select { min-height: 38px; border-radius: 8px; border: 1.5px solid var(--line-strong); font: inherit; font-size: 14px; padding: 0 8px; background: var(--surface); color: var(--ink); max-width: 100%; }
  .bb__selbar { position: sticky; top: 0; z-index: 3; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #1d2b2a; color: #fff; }
  .bb__selbar button, .bb__selbar select { min-height: 38px; padding: 0 12px; border-radius: 999px; border: 0; background: #fff; color: #1d2b2a; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
  .bb__selbar .is-del { background: #f6d5d0; color: #8f2a1e; } .bb__selbar label { font-size: 14px; }
  .bb__g { border: 1.5px solid var(--line); border-top: 1.5px solid var(--line); border-radius: 14px; padding: 12px; gap: 10px; background: var(--surface); }
  .bb__g.is-bad { border-color: #d9796c; }
  .bb__gh { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; } .bb__gh b { font-size: 16px; } .bb__gh small { color: var(--ink-muted); flex: 1; }
  .bb__lnk { border: 0; background: none; padding: 4px 2px; font: inherit; font-size: 13.5px; font-weight: 700; color: #0c6e77; cursor: pointer; text-decoration: underline; } .bb__lnk.is-del { color: #b23b2c; }
  .bb__phs { display: flex; flex-wrap: wrap; gap: 8px; min-height: 40px; }
  .bb__ph { position: relative; width: 92px; } .bb__phb { display: block; width: 92px; height: 92px; padding: 0; border: 3px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--line); position: relative; }
  .bb__ph.is-sel .bb__phb { border-color: #ffb703; } .bb__ph.is-err .bb__phb { border-color: #d9796c; }
  .bb__phb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .bb__up, .bb__bad { position: absolute; left: 0; right: 0; bottom: 0; font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,.55); padding: 2px 0; text-align: center; } .bb__bad { background: #b23b2c; }
  .bb__ck { position: absolute; right: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: #ffb703; color: #1d2b2a; font-weight: 900; display: flex; align-items: center; justify-content: center; }
  .bb__cov, .bb__star { position: absolute; left: 6px; top: 6px; font-style: normal; font-size: 11px; font-weight: 800; background: #1d2b2a; color: #fff; padding: 1px 7px; border-radius: 999px; }
  .bb__star { border: 0; background: rgba(255,255,255,.9); color: #b7791f; width: 28px; height: 28px; padding: 0; font-size: 15px; cursor: pointer; }
  .bb__fs { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .bb__fs select { min-height: 46px; border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 0 10px; font: inherit; font-size: 16px; background: var(--surface); color: var(--ink); width: 100%; }
  .bb__d { grid-column: 1 / -1; }
  @media (max-width: 760px) { .bb__fs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .bb__t { grid-column: 1 / -1; } .bb__ph, .bb__phb { width: 76px; } .bb__phb { height: 76px; } }
  /* 理賠／客服專線：按了直接撥（2026-10-15 使用者） */
  .icard__w { display: grid; gap: 8px; align-content: start; }
  .inscall { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 12px; border-radius: 12px; border: 1.5px solid #bcd9d3; background: #f1f8f6; color: #0c4f55; text-decoration: none; }
  .inscall:hover { background: #e3f1ee; border-color: #0c6e77; } .inscall:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }
  .inscall__i { width: 32px; height: 32px; flex: none; border-radius: 50%; background: #0c6e77; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; }
  .inscall__t { display: grid; min-width: 0; } .inscall__t small { font-size: 12px; color: #4b6b68; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .inscall__t b { font-size: 17px; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: #0c4f55; }
  .inscall.is-none { margin: 0; justify-content: flex-start; font-size: 13px; color: #6b6b6b; background: #f4f2ee; border-color: transparent; }
  .insphones { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin-top: 6px; } .insphones__m { display: block; font-size: 12px; color: #6b6b6b; margin: 3px 2px 0; }
  .ins__calls { margin: 8px 0; padding: 12px; border-radius: 12px; background: #f7fbfa; border: 1px solid #d6e8e4; } .ins__calls > b { font-size: 14px; }
  .ins__tel { display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; border-radius: 999px; background: #f1f8f6; color: #0c4f55; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; margin-right: 6px; }
  .scard__tel { display: grid; gap: 6px; align-self: end; }
  .ins__count { font-size: 13px; color: var(--ink-3, #6b6b66); } .ins__list { display: grid; gap: 8px; }
  .ins__c { background: var(--surface, #fff); border: 1px solid var(--line, #e3e0d8); border-left: 5px solid #bbb; border-radius: 12px; } .ins__c.is-yes { border-left-color: #1a7f37; } .ins__c.is-part { border-left-color: #d97706; } .ins__c.is-no { border-left-color: #b42318; }
  .ins__c summary { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 12px 14px; cursor: pointer; list-style: none; } .ins__c summary::-webkit-details-marker { display: none; }
  @media (max-width: 640px) { .ins__c summary { grid-template-columns: minmax(0, 1fr) auto; } .ins__cards { grid-column: 1 / -1; grid-row: 2; font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .ins__delay { grid-row: 3; } }
  .ins__b { font-weight: 800; font-size: 16px; } .ins__cards { color: var(--ink-2, #444); font-size: 14px; overflow-wrap: anywhere; }
  .ins__dom { font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 2px 10px; white-space: nowrap; } .ins__dom.is-yes { background: #e3f4e6; color: #14532d; } .ins__dom.is-part { background: #fff3d6; color: #7a4b00; } .ins__dom.is-no { background: #fde8e8; color: #8a1c13; } .ins__dom.is-unk { background: #eceae4; color: #555; }
  .ins__delay { grid-column: 1 / -1; font-size: 13.5px; color: var(--ink-2, #444); }
  .ins__body { padding: 0 14px 12px; font-size: 14.5px; } .ins__body blockquote { margin: 6px 0; padding: 6px 12px; border-left: 3px solid #ccc; color: #555; background: #faf9f6; font-size: 13.5px; }
  .ins__t { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 14px; } .ins__t th, .ins__t td { border-bottom: 1px solid #eee; padding: 6px 8px; text-align: left; vertical-align: top; } .ins__t th { white-space: nowrap; color: #444; }
  .ins__scroll { overflow-x: auto; } .ins__t--self td, .ins__t--self th { white-space: normal; min-width: 7em; }
  .ins__docs { display: block; color: #555; } .ins__unc, .fv__pts em { font-style: normal; font-size: 12px; font-weight: 700; color: #a15c00; background: #fff3d6; border-radius: 6px; padding: 0 6px; margin-left: 4px; } .ins__unc2 { color: #8a5a00; font-size: 13px; }
  .ins__sec { background: var(--surface, #fff); border: 1px solid var(--line, #e3e0d8); border-radius: 14px; padding: 12px 18px; margin-bottom: 12px; } .ins__sec h3 { margin: 4px 0 6px; } .ins__sec li { margin: 6px 0; }
  .ins__gaps, .fv__gaps { background: #f6f4ee; border-radius: 12px; padding: 10px 16px; margin-top: 12px; font-size: 14px; }
  /* 第一次來馬祖（2026-10-14） */
  .fv__cover { position: relative; min-height: clamp(320px, 52vh, 520px); border-radius: 0 0 22px 22px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; margin: 0 calc(-1 * var(--gutter, 0px)); }
  .fv__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .fv__cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.04) 25%, rgba(6, 22, 28, .82)); }
  .fv__cv { position: relative; z-index: 1; padding: 28px clamp(18px, 4vw, 40px); max-width: 44em; } .fv__kick { font-size: 12px; font-weight: 800; letter-spacing: .3em; opacity: .9; }
  .fv__cv h1 { font-family: var(--font-serif); font-size: clamp(40px, 7vw, 72px); line-height: 1.08; margin: 6px 0 8px; } .fv__cv p { margin: 0; font-size: clamp(16px, 2vw, 19px); }
  .fv__credit { position: absolute; right: 12px; bottom: 8px; z-index: 1; font-size: 11px; opacity: .8; }
  .fv__chap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line, #e3e0d8); border-radius: 18px; overflow: hidden; background: var(--surface, #fff); margin: 18px 0; }
  .fv__chap a { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: 0 12px; padding: 16px 18px; text-decoration: none; color: inherit; border-right: 1px solid var(--line, #e3e0d8); border-bottom: 1px solid var(--line, #e3e0d8); }
  .fv__chap a:hover { background: #f6f3ec; } .fv__chap em { grid-row: 1 / 3; font: 900 34px var(--font-serif); color: #c9d6d8; font-style: normal; line-height: 1; } .fv__chap b { font-size: 17px; } .fv__chap span { font-size: 13.5px; color: var(--ink-3, #6b6b66); }
  .fv__chap a.is-alt em { color: #e9a23b; } @media (max-width: 860px) { .fv__chap { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 560px) { .fv__chap { grid-template-columns: 1fr; } }
  .fv__mythsec { margin: 26px 0; padding: 22px clamp(14px, 3vw, 26px); border-radius: 20px; background: linear-gradient(180deg, #fff 0, #f6efe2 100%); text-align: center; scroll-margin-top: 90px; }
  .fv__mythsec h2 { font-family: var(--font-serif); font-size: clamp(24px, 4vw, 34px); margin: 0; } .fv__sub { margin: 2px 0 14px; color: var(--ink-3, #6b6b66); }
  /* 常見誤解：每張卡一個主題插圖（不再三張照片輪流）；電腦三欄三列、手機一欄（左小圖右題目），出處在翻開後的卡片角落（2026-10-16 排版改版） */
  .fv__flips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; text-align: left; } @media (max-width: 720px) { .fv__flips { grid-template-columns: 1fr; gap: 8px; } }
  .fv__flip { position: relative; border-radius: 16px; color: #fff; } .fv__flip.is-on { background: #0e5d6b; }
  .fv__face { display: grid; width: 100%; min-height: 200px; border: 0; padding: 0; border-radius: 16px; overflow: hidden; cursor: pointer; font: inherit; color: inherit; background: transparent; text-align: left; }
  .fv__front { display: grid; grid-template-rows: 110px auto auto; align-content: start; background: var(--surface-raised, #fff); color: var(--ink, #1f2b2f); border: 1px solid var(--line, #e3e0d8); border-radius: 16px; overflow: hidden; }
  .fv__art { position: relative; display: block; overflow: hidden; } .fv__art .tart--cover { aspect-ratio: auto; height: 100%; } .fv__front b { padding: 12px 16px 0; font-size: 17px; line-height: 1.45; } .fv__front small { padding: 4px 16px 14px; color: var(--tide, #0c6e77); font-size: 13px; font-weight: 700; }
  .fv__back { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 40px; background: #0e5d6b; min-height: 200px; } .fv__back small { opacity: .85; font-size: 12.5px; }
  .fv__back b { color: #f3c26b; font-size: 14px; } .fv__back b::before { content: '常見說法：'; display: block; font-size: 12px; font-weight: 700; opacity: .8; color: #fff; } .fv__back > span { font-size: 15.5px; line-height: 1.65; } .fv__back > span::before { content: '實際'; display: inline-block; background: #f3c26b; color: #0b2a35; font-size: 12px; font-weight: 800; border-radius: 6px; padding: 0 6px; margin-right: 6px; vertical-align: 2px; }
  .fv__fsrc { position: absolute; right: 10px; bottom: 8px; } .fv__fsrc .srci__b { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
  @media (max-width: 720px) {
    .fv__face, .fv__back { min-height: 0; }
    .fv__front { grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; min-height: 92px; }
    .fv__art { grid-row: 1 / 3; } .fv__front b { padding: 12px 12px 0; font-size: 16px; } .fv__front small { padding: 2px 12px 10px; }
  }
  @media (prefers-reduced-motion: no-preference) { .fv__flip.is-on .fv__back { animation: fvflip .35s ease; } @keyframes fvflip { from { transform: rotateY(90deg); } to { transform: none; } } }
  .fv__head { display: flex; gap: 14px; align-items: flex-start; } .fv__head em { font: 900 40px var(--font-serif); color: #c9d6d8; font-style: normal; line-height: 1; padding-top: 4px; } .fv__todosec .fv__head em { color: #e9a23b; }
  .fv__toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; } .fv__toc a { background: var(--surface, #fff); border: 1px solid var(--line, #e3e0d8); border-radius: 999px; padding: 6px 12px; text-decoration: none; font-size: 14px; font-weight: 600; color: inherit; min-height: 36px; display: inline-flex; align-items: center; }
  .fv__sec { background: var(--surface, #fff); border: 1px solid var(--line, #e3e0d8); border-radius: 16px; padding: 14px 20px; margin: 14px 0; scroll-margin-top: 90px; }
  .fv__sec h2 { font-family: var(--font-serif); margin: 4px 0; font-size: 24px; } .fv__lead { font-weight: 700; color: var(--accent, #0c6e77); margin: 0 0 6px; }
  .fv__more { margin: 8px 0 0; font-weight: 700; } .fv__myths { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
  .fv__myth { border: 1px solid #eee; border-radius: 12px; padding: 10px 12px; } .fv__m { margin: 0; color: #a12a1f; text-decoration: line-through; text-decoration-thickness: 1px; } .fv__f { margin: 4px 0 0; color: #14532d; font-weight: 600; }
  /* 各節（2026-10-16 排版改版）：標題列右側一顆出處；數字卡、表格、圖示清單；建議集中在節末一個框 */
  .fv__head > div { flex: 1 1 auto; min-width: 0; } .fv__head > .srci { flex: none; margin-top: 8px; }
  .fv__sec .stt { margin: 6px 0 12px; } .fv__sec .cmpt { margin: 4px 0 12px; } .fv__sec .stp { margin: 6px 0 12px; }
  @media (min-width: 900px) { .fv__icl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; align-items: start; } }
  .fv__mk { display: inline-block; vertical-align: 2px; margin-left: 6px; font-size: 11.5px; line-height: 1.5; font-weight: 700; color: #8a5a00; background: #fff3d6; border-radius: 6px; padding: 0 6px; }
  .fv__mk.is-dated { color: var(--ink-muted, #6b6b66); background: var(--surface-sunken, #eef0ef); }
  .fv__tips { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: start; background: #fff8e6; border-radius: 12px; padding: 10px 14px; margin: 4px 0 8px; color: #5b3f00; font-size: 14.5px; }
  .fv__tips > b { background: #f3c26b; color: #3b2800; border-radius: 6px; padding: 0 8px; font-size: 13px; line-height: 1.8; } .fv__tips ul { margin: 0; padding-left: 1.1em; } .fv__tips li { margin: 1px 0; }
  .fv__tels { width: 100%; max-width: 520px; margin: 0 0 12px; } .fv__tels th, .fv__tels td { padding: 5px 12px 5px 0; border-bottom: 1px solid var(--line, #e3e0d8); }
  .fv__prog { height: 8px; border-radius: 99px; background: var(--surface-sunken, #eef0ef); overflow: hidden; margin: 2px 0 10px; } .fv__prog i { display: block; height: 100%; background: var(--go, #2f7d4f); transition: width .2s; }
  .fv__todo li.is-done span { color: var(--ink-muted, #6b6b66); text-decoration: line-through; } @media (min-width: 900px) { .fv__todo { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }
  .fv__todo { list-style: none; padding: 0; display: grid; gap: 6px; } .fv__todo label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; min-height: 36px; } .fv__todo input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
  .mys__org { flex-basis: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; text-decoration: none; color: #24323d;
    background: linear-gradient(90deg, #fff7ec, #fffdf8); border: 1px solid #f1d6b0; box-shadow: 0 1px 2px rgba(120,70,10,.06); transition: transform .12s, box-shadow .12s; }
  .mys__org:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(120,70,10,.12); }
  .mys__org--official { background: linear-gradient(90deg, #eef3ff, #fbfcff); border-color: #c9d6f7; } .mys__org--transport { background: linear-gradient(90deg, #eaf8f6, #fbfffe); border-color: #bfe5df; }
  .mys__orgt { flex: 1; min-width: 0; display: grid; gap: 1px; } .mys__orgt b { font-size: 15.5px; line-height: 1.35; overflow-wrap: anywhere; } .mys__orgt small { font-size: 12.5px; color: #6b6255; }
  .mys__orgg { font-size: 22px; line-height: 1; color: #a8590b; } .mys__org--official .mys__orgg { color: #1d4ed8; } .mys__org--transport .mys__orgg { color: #0f766e; }
  .mys__org .mys__ok { width: 36px; height: 36px; border-radius: 10px; font-size: 16px; flex: none; }
  .mys__ok { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; color: #fff; font-size: 11.5px; font-weight: 800; } .mys__ok--store { background: #a8590b; } .mys__ok--official { background: #1d4ed8; } .mys__ok--transport { background: #0f766e; }
  /* 停飛滯留推薦（2026-10-14） */
  .strand1 { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; font: inherit; cursor: pointer; background: #fff7f2; border: 1px solid #f1c7b2; border-radius: 12px; padding: 8px 14px; margin: 10px 0 0; color: inherit; min-height: 52px; }
  .strand1__ic { font-size: 20px; } .strand1__t { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 0 10px; align-items: baseline; } .strand1__t b { color: #9a2f0b; } .strand1__t span { color: #6b4a3c; font-size: 14px; }
  .strand1__go { font-weight: 700; color: #c2410c; white-space: nowrap; }
  .strand__lead { margin: 0 0 6px; color: #6b4a3c; }
  .strand__head b { display: block; font-size: 20px; color: #9a2f0b; } .strand__head span { color: #6b4a3c; font-size: 14.5px; }
  .strand__l { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
  .strand__l li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; background: #fff; border: 1px solid #f1d2c6; border-radius: 12px; padding: 10px 14px; }
  .strand__n b { font-size: 16.5px; } .strand__n small { display: block; color: #6b6b66; font-size: 13px; }
  .strand__ad { white-space: nowrap; display: inline-block; font-size: 11px; font-weight: 700; color: #a8590b; border: 1px solid #a8590b; border-radius: 4px; padding: 0 5px; margin-left: 6px; vertical-align: 2px; }
  .strand__p { text-align: right; font-weight: 800; font-size: 18px; color: #0c6e77; font-variant-numeric: tabular-nums; } .strand__p small { display: block; font-weight: 400; font-size: 12.5px; color: #6b6b66; }
  .strand__a { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; } .strand__btn { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 10px; border: 1px solid #c9c3b6; text-decoration: none; color: #1d1d1b; font-weight: 600; background: #fff; }
  .strand__btn.is-main { background: #c2410c; border-color: #c2410c; color: #fff; }
  .strand__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0; font-weight: 600; } .strand__none { margin: 10px 0 0; } .strand__fine { font-size: 12.5px; color: #6b6b66; margin: 8px 0 0; }
  /* 認證帳號的公告與店家網站連結（2026-10-14） */
  .orgposts__l { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .orgposts__l a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "b o t" "x x x"; gap: 2px 10px; align-items: center; text-decoration: none; color: inherit; background: var(--surface, #fff); border: 1px solid var(--line, #e3e0d8); border-radius: 12px; padding: 10px 14px; }
  .orgposts__l a:hover { border-color: var(--accent, #0c6e77); }
  .orgposts__b { grid-area: b; font-size: 12px; font-weight: 700; color: #fff; border-radius: 6px; padding: 2px 8px; white-space: nowrap; }
  .orgposts__l li.is-pin a { border-color: #b42318; background: #fff7f5; } .orgposts__pin { display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 6px; background: #b42318; color: #fff; font-size: 12px; vertical-align: 2px; }
  .org--official { background: #1d4ed8; } .org--transport { background: #0f766e; } .org--store { background: #a8590b; }
  .orgposts__o { grid-area: o; font-size: 13px; color: var(--ink-3, #6b6b66); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .orgposts__l small { grid-area: t; font-size: 12.5px; color: var(--ink-3, #6b6b66); font-variant-numeric: tabular-nums; } .orgposts__l b { grid-area: x; font-size: 16px; line-height: 1.45; }
  .shopsite { display: grid; gap: 6px; margin: 10px 0; } .shopsite__a { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: #fff7ed; border: 1px solid #f2c79b; border-radius: 12px; padding: 10px 14px; text-decoration: none; color: #7c3a06; }
  .shopsite__a b { background: #a8590b; color: #fff; font-size: 12px; border-radius: 6px; padding: 2px 8px; } .shopsite__a span { font-weight: 700; } .shopsite__p { display: block; font-size: 14px; padding: 2px 4px; }
  /* ═══ 共用元件（2026-10-16 全站排版改版）═══ 程式在 portal.js「共用元件」一段，用法見 CLAUDE.md。全站同類的地方都用這組，不要各頁另寫。 */
  /* CmpTable 比較表：電腦版格線表＋可展開列；容器 640px 以下每列一塊、欄名在左 */
  .cmpt { container-type: inline-size; margin: 8px 0 14px; }
  .cmpt__note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0 0 8px; font-size: 13px; color: var(--ink-muted); }
  .cmpt__note .srci { margin-left: auto; }
  .cmpt__t { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-raised); overflow: hidden; }
  .cmpt__hd, .cmpt__s { display: grid; grid-template-columns: var(--cmpt-cols); gap: 12px; align-items: center; padding: 10px 14px; }
  .cmpt__hd { font-size: 13px; font-weight: 700; color: var(--ink-muted); background: var(--surface-sunken); padding-block: 8px; }
  .cmpt__r { border-top: 1px solid var(--line); } .cmpt__hd + .cmpt__r { border-top: 0; }
  .cmpt__r > summary { list-style: none; cursor: pointer; } .cmpt__r > summary::-webkit-details-marker { display: none; }
  .cmpt__r > summary:hover { background: color-mix(in srgb, var(--tide) 5%, transparent); }
  .cmpt__r > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
  .cmpt__r[open] > summary { background: var(--surface-tint); }
  .cmpt__c { min-width: 0; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
  .cmpt__c.is-main b { font-size: 15.5px; } .cmpt__c small, .cmpt__sub { display: block; font-size: 13px; color: var(--ink-muted); line-height: 1.5; }
  .cmpt__l { display: none; font-style: normal; }
  .cmpt__na { color: var(--ink-faint); font-size: 13.5px; }
  .cmpt__more { justify-self: end; font-size: 13px; font-weight: 700; color: var(--tide); white-space: nowrap; }
  .cmpt__more::after { content: ' ›'; } .cmpt__r[open] > summary .cmpt__more::after { content: ' ‹'; } .cmpt__more.is-none::after { content: none; }
  .cmpt__d { padding: 10px 14px 12px; border-top: 1px dashed var(--line); font-size: 14px; line-height: 1.7; }
  .cmpt__d > p { margin: 4px 0; } .cmpt__d .srci { vertical-align: middle; }
  .cmpt__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 6px; font-size: 13px; color: var(--ink-muted); }
  .cmpt__foot .srci { margin-left: auto; }
  .cmpt__tels { display: grid; gap: 2px; justify-items: start; }
  @container (max-width: 640px) {
    .cmpt__hd { display: none; }
    .cmpt__s { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 12px 14px; position: relative; }
    .cmpt__c { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 0 10px; align-items: baseline; }
    .cmpt__c.is-main { display: block; padding-right: 52px; }
    .cmpt__c.is-hide { display: none; }
    .cmpt__l { display: block; font-size: 12.5px; color: var(--ink-muted); line-height: 1.6; }
    .cmpt__more { position: absolute; top: 12px; right: 14px; }
    .cmpt__d { padding: 8px 14px 12px; }
  }
  /* KvList 詳細區的欄名｜值：寬的時候兩組並排 */
  .kvl { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 6px 20px; margin: 0; }
  .kvl.is-one { grid-template-columns: minmax(0, 1fr); }
  .kvl > div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 0 10px; align-items: baseline; }
  .kvl dt { font-size: 13px; color: var(--ink-muted); } .kvl dd { margin: 0; font-size: 14px; line-height: 1.65; min-width: 0; overflow-wrap: anywhere; }
  .kvl__tag, .tml__tag, .thl__tag { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: var(--surface-sunken); color: var(--ink-muted); font-size: 11.5px; font-weight: 600; line-height: 1.6; vertical-align: 1px; white-space: nowrap; }
  /* MiniBar 數量小長條 */
  .mbar { display: grid; grid-template-columns: auto minmax(40px, 1fr); gap: 2px 8px; align-items: center; min-width: 0; }
  .mbar__n { display: inline-flex; align-items: baseline; gap: 2px; font-size: 12.5px; color: var(--ink-muted); white-space: nowrap; }
  .mbar__n b { font-size: 19px; color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 700; }
  .mbar__bar { display: flex; height: 8px; border-radius: 4px; background: var(--surface-sunken); overflow: hidden; }
  .mbar__bar i { display: block; height: 100%; } .mbar__bar i + i { box-shadow: inset 1px 0 0 var(--surface-raised); }
  .mbar__s { grid-column: 1 / -1; font-size: 12px; color: var(--ink-muted); line-height: 1.5; }
  .mbar.is-zero { display: inline; font-size: 13px; color: var(--ink-faint); }
  .mbar-key { display: inline-flex; flex-wrap: wrap; gap: 2px 10px; } .mbar-key span { display: inline-flex; align-items: center; gap: 4px; }
  .mbar-key i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
  /* TelLink 小型可點電話；TelTable「單位｜電話」小表 */
  .tell { display: inline-flex; align-items: baseline; gap: 5px; color: var(--tide); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; min-height: 28px; align-items: center; }
  .tell svg { flex: none; align-self: center; } .tell b { font-size: 14.5px; font-weight: 700; } .tell:hover b { text-decoration: underline; text-underline-offset: 3px; }
  .tell small, .tell__ext { font-size: 12px; color: var(--ink-muted); font-weight: 400; }
  .tell.is-none { color: var(--ink-faint); font-size: 13.5px; }
  .telt th { white-space: normal; min-width: 5em; } .telt td small { display: inline-block; } .telt td .tell { flex-wrap: wrap; white-space: normal; row-gap: 0; } .telt td .tell b { white-space: nowrap; }   /* 窄螢幕有分機時可換行，不把頁面撐寬（2026-10-16 B 組） */
  .telt { border-collapse: collapse; font-size: 14px; margin: 4px 0; } .telt caption { text-align: left; font-size: 13px; color: var(--ink-muted); padding-bottom: 2px; }
  .telt th { text-align: left; font-weight: 600; color: var(--ink-muted); font-size: 13px; padding: 2px 12px 2px 0; white-space: nowrap; }
  .telt td { padding: 0; } .telt td small { margin-left: 6px; font-size: 12px; color: var(--ink-muted); }
  /* TopicArt 主題插圖：網站配色線條＋淡色塊；顏色跟著深淺色模式 */
  .tart { --ta-ink: var(--tide); --ta-bg: var(--surface-tint); display: block; position: relative; overflow: hidden; background: var(--ta-bg); }
  .tart--cover { width: 100%; aspect-ratio: 16 / 10; } .tart--fill { position: absolute; inset: 0; } .tart--sq { aspect-ratio: 1; border-radius: 10px; flex: none; }
  .tart svg { display: block; width: 100%; height: 100%; }
  .tart--sand { --ta-ink: var(--hold); --ta-bg: var(--hold-tint); } .tart--wine { --ta-ink: var(--wine); --ta-bg: var(--stop-tint); }
  .tart--go { --ta-ink: var(--go); --ta-bg: var(--go-tint); } .tart--slate { --ta-ink: var(--ink-muted); --ta-bg: var(--surface-sunken); }
  .tart .k0 { fill: var(--ta-bg); } .tart .k1 { fill: color-mix(in srgb, var(--ta-ink) 14%, var(--ta-bg)); } .tart .k2 { fill: color-mix(in srgb, var(--sand) 32%, var(--ta-bg)); }
  .tart .ln, .tart .lt, .tart .fw, .tart .fs { stroke: var(--ta-ink); stroke-linecap: round; stroke-linejoin: round; }
  .tart .ln { fill: none; stroke-width: 2.2; } .tart .lt { fill: none; stroke-width: 1.5; opacity: .55; }
  .tart .fw { fill: var(--surface-raised); stroke-width: 2.2; } .tart .fs { fill: color-mix(in srgb, var(--ta-ink) 24%, var(--surface-raised)); stroke-width: 2.2; }
  .tart .fa { fill: var(--ta-ink); } .tart .fr { fill: var(--wine); opacity: .85; }
  /* seed 變體的底色與底紋（portal.js TART_VAR） */
  .tart--v1 .k0 { fill: color-mix(in srgb, var(--sand) 14%, var(--ta-bg)); }
  .tart--v2 .k0 { fill: color-mix(in srgb, var(--ta-ink) 6%, var(--ta-bg)); }
  .tart--v3 .k0 { fill: color-mix(in srgb, var(--surface-raised) 45%, var(--ta-bg)); }
  /* 變體換一組網站配色（2026-10-16：只換底色深淺太細微，同頁連續幾張岩石圖看起來一模一樣）；本身就是那個色系時換另一組 */
  .tart--v1 { --ta-ink: var(--hold); --ta-bg: var(--hold-tint); } .tart--sand.tart--v1 { --ta-ink: var(--tide); --ta-bg: var(--surface-tint); }
  .tart--v2 { --ta-ink: var(--go); --ta-bg: var(--go-tint); } .tart--go.tart--v2 { --ta-ink: var(--tide); --ta-bg: var(--surface-tint); }
  .tart--v3 { --ta-ink: var(--wine); --ta-bg: var(--stop-tint); } .tart--wine.tart--v3 { --ta-ink: var(--hold); --ta-bg: var(--hold-tint); }
  .tart .kv { fill: color-mix(in srgb, var(--ta-ink) 7%, transparent); }
  /* NameBadge 姓氏頭像 */
  .nmb { display: inline-grid; place-items: center; flex: none; border-radius: 50%; font-family: var(--font-serif); font-weight: 700; line-height: 1; background: var(--surface-tint); color: var(--tide); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 30%, transparent); }
  .nmb--sand { background: var(--hold-tint); color: var(--hold); } .nmb--wine { background: var(--stop-tint); color: var(--wine); } .nmb--go { background: var(--go-tint); color: var(--go); }
  /* StatTiles 數字卡 */
  .stt { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 8px; margin: 8px 0 14px; }
  .stt__i { display: grid; align-content: start; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--surface-tint); color: var(--tide); min-width: 0; }
  .stt__i.is-sand { background: var(--hold-tint); color: var(--hold); } .stt__i.is-wine { background: var(--stop-tint); color: var(--wine); } .stt__i.is-go { background: var(--go-tint); color: var(--go); }
  .stt__l { font-size: 13px; font-weight: 700; color: var(--ink-muted); }
  .stt__v { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 3px; } .stt__v b { font-size: 26px; line-height: 1.2; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
  .stt__v small { font-size: 13px; font-weight: 700; } .stt__n { font-size: 12px; color: var(--ink-muted); line-height: 1.5; }
  @media (max-width: 560px) { .stt { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stt__v b { font-size: 20px; } }
  /* IconList 圖示清單 */
  .icl { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; gap: 2px; }
  .icl__r { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 6px 0; }
  .icl__i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-tint); color: var(--tide); }
  .icl__i.is-sand { background: var(--hold-tint); color: var(--hold); } .icl__i.is-wine { background: var(--stop-tint); color: var(--wine); } .icl__i.is-go { background: var(--go-tint); color: var(--go); }
  .icl__t { font-size: 15px; line-height: 1.6; padding-top: 4px; display: block; }
  .icl__d > summary { list-style: none; cursor: pointer; } .icl__d > summary::-webkit-details-marker { display: none; }
  .icl__d > summary .icl__t::after { content: '›'; display: inline-block; margin-left: 6px; color: var(--tide); font-weight: 700; transition: transform .15s; } .icl__d[open] > summary .icl__t::after { transform: rotate(90deg); }
  .icl__m { font-size: 14px; line-height: 1.7; color: var(--ink-muted); padding: 2px 0 4px; }
  .icl__r > .srci { margin-top: 2px; }
  /* Timeline 時間軸 */
  .tml { list-style: none; margin: 8px 0 14px; padding: 0; position: relative; font-size: 14.5px; }
  .tml li { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); gap: 0 26px; position: relative; padding: 0 0 14px; }
  .tml li::before { content: ''; position: absolute; left: calc(5.6em + 9px); top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--surface-raised); box-shadow: 0 0 0 2px var(--tide); }
  .tml li:not(:last-child)::after { content: ''; position: absolute; left: calc(5.6em + 13px); top: 18px; bottom: 0; width: 1px; background: var(--line-strong); opacity: .5; }
  .tml__w { font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 700; color: var(--ink-muted); text-align: right; padding-top: 1px; white-space: nowrap; }
  .tml__b { padding-left: 4px; min-width: 0; font-size: 14.5px; line-height: 1.65; } .tml__b b { display: block; font-size: 15px; } .tml__b p { margin: 0; display: inline; } .tml__b .srci { margin-left: 6px; vertical-align: middle; }
  /* Steps 流程步驟：寬的時候橫排 */
  .stp { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; counter-reset: stp; }
  .stp li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 12px; border-radius: 12px; background: var(--surface-raised); border: 1px solid var(--line); }
  .stp__n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tide); color: var(--on-tide); font-weight: 700; }
  .stp b { display: block; font-size: 15px; line-height: 1.5; padding-top: 3px; } .stp p { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-muted); line-height: 1.6; }
  /* FilterBar 篩選列 */
  .fbar { margin: 8px 0 12px; } .fbar__row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
  .fbar__more, .fbar__btn { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px dashed var(--line-strong); background: transparent; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
  .fbar__btn { border-style: solid; margin-left: auto; font-weight: 700; } .fbar__btn.is-on { border-color: var(--tide); color: var(--tide); background: var(--surface-tint); }
  .fbar__n { min-width: 20px; height: 20px; border-radius: 10px; background: var(--tide); color: var(--on-tide); font-size: 12px; display: inline-grid; place-items: center; padding: 0 5px; box-sizing: border-box; }
  .fbar__pop { margin-top: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-raised); box-shadow: var(--shadow-card); display: grid; gap: 10px; }
  .fbar__grp { display: grid; gap: 6px; } .fbar__grp > b { font-size: 13px; color: var(--ink-muted); }
  .fbar__end { display: flex; justify-content: flex-end; gap: 8px; margin: 0; }
  .fbar__ok, .fbar__clr { min-height: 36px; padding: 0 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); }
  .fbar__ok { background: var(--tide); color: var(--on-tide); border-color: var(--tide); }
  /* ThumbList 手機精簡清單：小方圖＋標題＋地點＋兩行摘要，一筆約 90px */
  .thl ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-raised); overflow: hidden; }
  .thl li + li { border-top: 1px solid var(--line); }
  .thl__r { appearance: none; width: 100%; border: 0; background: none; font: inherit; color: inherit; text-align: left; text-decoration: none; display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 12px; cursor: pointer; }
  button.thl__r:hover, a.thl__r:hover { background: color-mix(in srgb, var(--tide) 5%, transparent); }
  .thl__img { position: relative; width: 68px; height: 68px; border-radius: 10px; overflow: hidden; background: var(--surface-sunken); }
  .thl__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .thl__tx { display: grid; gap: 0; min-width: 0; }
  .thl__tx b { font-size: 14.5px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .thl__tx small { font-size: 12px; line-height: 1.45; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .thl__s { font-size: 13px; line-height: 1.45; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .thl__more { display: block; width: 100%; margin-top: 8px; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-raised); color: var(--tide); font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; }
  /* PhotoCredit 照片角落「©」 */
  .pcr { position: absolute; right: 6px; bottom: 6px; z-index: 2; }
  .pcr__b { width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0; background: rgba(0,0,0,.5); color: #fff; font: 700 14px/26px var(--font-sans); cursor: pointer; }
  .pcr__b:hover, .pcr.is-open .pcr__b { background: rgba(0,0,0,.72); } .pcr__b:focus-visible { outline: 2px solid var(--focus-invert); outline-offset: 1px; }
  .pcr__pop { position: absolute; right: 0; bottom: 32px; width: max-content; max-width: min(280px, 80vw); display: grid; gap: 2px; padding: 8px 10px; border-radius: 8px; background: rgba(12,20,24,.92); color: #fff; font-size: 12.5px; line-height: 1.5; text-align: left; cursor: auto; }
  .pcr__pop small { font-size: 11.5px; opacity: .85; } .pcr__pop a { color: inherit; }
  /* 示意頁 /?demo=components */
  .cdemo__arts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
  .cdemo__arts figure { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface-raised); }
  .cdemo__arts figcaption { font-size: 13px; padding: 4px 10px; color: var(--ink-muted); }
  .cdemo__sq { display: flex; flex-wrap: wrap; gap: 8px; }
  /* 老物件卡面（2026-10-16 第二階段，站長選 B：保留復古卡風格）：照片固定 4:3、名稱固定在照片下方同一高度；
     字放大到 13px 以上（手機 12px）、深色字不透明，摘要墊一層淺紙底，金色紋理只留在框上；卡面頁腳「國家文化記憶庫 OGDL」拿掉（寫在卡背與頁尾） */
  .ot__cards { grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); }
  .otc { --ink: #24180c; }
  .otc__top { font-size: max(13px, 5.6cqw); }
  .otc__cat { font-size: max(13px, 5cqw); opacity: 1; }
  .otc__photo { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .otc__name, .otc__name--l, .otc__name--xl { font-size: max(15px, 8cqw); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .otc__name--xl { font-size: max(14px, 6.6cqw); }
  .otc__meta { font-size: max(13px, 4.8cqw); opacity: 1; font-weight: 700; }
  .otc__sum { font-size: max(13px, 4.7cqw); line-height: 1.5; -webkit-line-clamp: 2; max-height: 3em; background: rgba(255,250,235,.82); border-radius: 3px; padding: 2px 6px; margin-inline: -2px; }
  .otc__rk b { font-size: max(13px, 5.6cqw); } .otc__rk i { font-size: max(11px, 3.8cqw); }
  .otc__rare--in { font-size: max(13px, 5.6cqw); }
  .otc--rk-SR::before { opacity: .22; }
  .ot__tabs { flex-wrap: wrap; overflow: visible; }
  @media (max-width: 640px) {
    .ot__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
    .otc__top, .otc__cat, .otc__meta, .otc__sum { font-size: max(12px, 5cqw); }
    .otc__cat { display: none; }
    .otc__name, .otc__name--l, .otc__name--xl { font-size: max(14px, 7.4cqw); }
    .otc__sum { -webkit-line-clamp: 1; max-height: 1.5em; }
    .ot__tabs { flex-wrap: nowrap; overflow-x: auto; }
  }
  /* 生物誌卡面字級（2026-10-16 第二階段，站長選 B）：卡面字 13px 以上、手機 12px 以上；卡片最小寬放大才放得下 */
  .sp__cards { grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); }
  .spc__type { font-size: max(13px, 5.2cqw); }
  .spc__box { font-size: max(13px, 5cqw); }
  .spc__where span { font-size: max(13px, 4.2cqw); }
  .spc__foot { font-size: max(13px, 4.4cqw); min-height: max(18px, 8cqw); }
  .spc__rk { font-size: max(14px, 6.4cqw); }
  .spc__ribbon { font-size: max(13px, 4.4cqw); }
  .spc__tag { font-size: inherit; }
  .spc__flav { -webkit-line-clamp: 1; }
  .spc__art .tart { border-radius: 0; }
  .sp__fbar { display: grid; gap: 8px; margin-bottom: 8px; }
  .sp__fbar .sp__tools { margin: 0; }
  @media (max-width: 640px) {
    .sp__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .spc__type, .spc__box, .spc__foot { font-size: max(12px, 5cqw); }
    .spc__where span, .spc__ribbon { font-size: 12px; }
    .spc__flav { -webkit-line-clamp: 1; } .spc__box { gap: 2px; }
  }
  /* ═══ 文化頁第二階段（2026-10-16）═══ 用語見 CLAUDE.md「文化大類」：比較表、時間軸、對照表、菜單格都是頁面層的轉換，共用元件不改 */
  .cc__cert { font-size: 12px; color: var(--ink-faint); white-space: nowrap; margin-left: auto; }
  .cc__foot .cc__cert + .srci { margin-left: 0; }
  .ccd__src { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .ccd__src .cc__cert { margin-left: 0; }
  .cul__gapd { border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: var(--surface-raised); }
  .cul__gapd > summary { cursor: pointer; padding: 12px 0; font-weight: 700; color: var(--ink-muted); font-size: 14.5px; }
  .cul__gapd[open] { padding-bottom: 12px; }
  .festcard__ph { position: relative; overflow: hidden; }
  .cul__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
  @media (min-width: 900px) { .cul__grid, .cul__grid.cul__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  /* 導引連結：介紹文字下方一列小連結（原本是頁首上方的大色塊） */
  .cul__jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 12px; font-size: 13.5px; color: var(--ink-muted); }
  .cul__jump a { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-raised); color: var(--ink); text-decoration: none; min-height: 32px; box-sizing: border-box; }
  .cul__jump a:hover { border-color: var(--tide); }
  .cul__jump b { font-size: 14px; color: var(--tide); } .cul__jump small { font-size: 12.5px; color: var(--ink-muted); }
  .cul__jump a::after { content: '›'; color: var(--tide); }
  .cul__sub { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 6px; }
  @media (max-width: 640px) {
    .cul__secs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--shell-pad, 16px)); padding: 2px var(--shell-pad, 16px) 4px; -webkit-overflow-scrolling: touch; }
    .cul__secs::-webkit-scrollbar { display: none; }
    .cul__secs > button { flex: none; white-space: nowrap; }
    .cul__sub { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .cul__sub > * { flex: none; }
  }
  /* 比較表（砌石法、發音表） */
  .cul__cmp .cmpt__c b { font-size: 15px; }
  .cul__mph { display: block; width: 88px; height: 66px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: zoom-in; background: var(--surface-sunken); }
  .cul__mph img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .cul__muted { color: var(--ink-muted); font-size: 13.5px; }
  /* 年度祭典：橫向月份時間軸（容器 760px 以上），窄時直排 */
  .cul__yr { container-type: inline-size; }
  .tml__go { all: unset; cursor: pointer; color: var(--tide); font-weight: 700; } .tml__go:hover { text-decoration: underline; } .tml__go:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .tml__sub { display: block; font-size: 13px; color: var(--ink-muted); margin-top: 2px; }
  @container (min-width: 760px) {
    .tml.tml--h { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 1fr); gap: 0 14px; overflow-x: auto; padding-top: 4px; }
    .tml--h li { display: block; padding: 22px 0 6px; }
    .tml--h li::before { left: 0; top: 4px; }
    .tml--h li:not(:last-child)::after { left: 12px; right: -14px; top: 8px; bottom: auto; width: auto; height: 1px; }
    .tml--h .tml__w { text-align: left; display: block; color: var(--wine); font-size: 13.5px; margin-bottom: 2px; }
    .tml--h .tml__b { padding-left: 0; } .tml--h .tml__b p { display: block; font-size: 14px; color: var(--ink-muted); line-height: 1.6; margin-top: 2px; }
  }
  /* 發音入門 */
  .cul__pr { display: grid; gap: 14px; }
  .cul__pri { border: 1px solid var(--line); border-radius: 14px; background: var(--surface-raised); padding: 14px 16px 6px; min-width: 0; }
  .cul__prh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .cul__prh h4 { margin: 0; font-size: 17px; } .cul__prh .srci { margin-left: auto; } .cul__prh .cc__cert { margin-left: 0; }
  .cul__prs, .cul__prd { margin: 6px 0 4px; font-size: 14.5px; line-height: 1.7; }
  .cul__prd > summary { cursor: pointer; } .cul__prd > summary::marker { color: var(--tide); } .cul__prd p { margin: 4px 0 0; color: var(--ink-muted); }
  .cul__praud { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 4px 0 10px; }
  .cul__praud figure { margin: 0; display: grid; gap: 4px; font-size: 13.5px; } .cul__praud audio { height: 36px; max-width: 100%; } .cul__praud small { font-size: 12px; color: var(--ink-muted); }
  /* 菜單格 */
  .cul__menu { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
  .cul__mi { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: start; width: 100%; height: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-raised); }
  .cul__mi:hover { border-color: var(--tide); } .cul__mi:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  .cul__mimg { position: relative; display: block; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--surface-sunken); }
  .cul__mimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .cul__mtx { display: grid; gap: 1px; min-width: 0; }
  .cul__mtx b { font-size: 15px; line-height: 1.4; } .cul__mtx small { font-size: 12.5px; color: var(--wine); }
  .ime__about { margin: 0 16px; } .ime__about > summary { cursor: pointer; font-size: 14px; color: var(--ink-muted); padding: 4px 0; }
  .cul__mline { font-size: 13px; color: var(--ink-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  /* ═══ 交通與島況各頁（2026-10-16 排版改版第二階段 A 組：首頁、海空交通、海空動態、公車、訂船票、停車、停飛理賠、馬祖現場、天空與海）═══ */
  /* 班次表：每列一樣的欄位寫在表頭一次（DepBoard 判斷後加類名） */
  .dy-card.is-nocode .dy-dep__table th:nth-child(2), .dy-card.is-nocode .dy-dep__table td:nth-child(2) { display: none; }
  .dy-card.is-nost .dy-dep__table th:nth-child(4), .dy-card.is-nost .dy-dep__table td:nth-child(4) { display: none; }
  .dy-card.is-nolast .dy-dep__table th:nth-child(5), .dy-card.is-nolast .dy-dep__table td:nth-child(5) { display: none; }
  .depst, .depop { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
  .depst { background: var(--surface-sunken, #eef0ec); color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); }
  .depop { color: var(--ink-muted); font-weight: 600; padding: 0 2px; }
  .dy-dep__row--done { opacity: .5; } .dy-dep__row--done .dy-dep__time { text-decoration: none; }
  .dy-dep__table th:last-child { white-space: nowrap; }
  @media (min-width: 721px) {
    .dy-card .dy-dep__table th:nth-child(4), .dy-card .dy-dep__table td:nth-child(4) { width: 1%; white-space: nowrap; padding-right: 24px; }
    .dy-card .dy-dep__table th:nth-child(5), .dy-card .dy-dep__table td:nth-child(5) { width: 1%; white-space: nowrap; }
  }
  @media (max-width: 720px) {
    /* 手機：航線單行純文字（不加膠囊框），每列兩行內 */
    .dy-dep__table .rt { flex-wrap: nowrap; white-space: nowrap; gap: 0 4px; }
    .dy-dep__table .rt__p { padding: 0; background: none; box-shadow: none; color: var(--ink); }
    .dy-card.is-nocode .dy-dep__table tr.dy-dep__row td:nth-child(3) { grid-row: 1 / span 2; }
    .dy-card.is-nost .dy-dep__table tr.dy-dep__row { grid-template-columns: auto minmax(0, 1fr); }
  }
  /* 海空交通：今天沒有下一班時，天空橫幅縮成一行提示條 */
  .goscene.is-done { padding: 8px 10px; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 14px; }
  .goscene.is-done .goscene__art { display: none; }
  .goscene.is-done .goscene__nx { font-size: 14px; font-weight: 700; }
  @media (max-width: 720px) { .goscene.is-done { grid-template-columns: 1fr; } }
  details.farenote > summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
  details.farenote > p { margin: 6px 0 0; }
  /* 海空動態：兩卡不強制等高；左卡沒有班機時放明天首班；船隻清單「在地圖上看」固定在右側 */
  .livepair { align-items: start !important; }
  .livepair__c > .plain { flex: none !important; }
  .tmrfirst { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface-sunken, #f1efe9); display: grid; gap: 6px; }
  .tmrfirst > b { font-size: 14px; }
  .tmrfirst ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
  .tmrfirst li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 14px; }
  .tmrfirst li em { font-style: normal; font-weight: 700; min-width: 5.5em; color: var(--ink-muted); }
  .tmrfirst li > span { display: inline-flex; align-items: center; gap: 4px; } .tmrfirst li > span b { font-family: var(--font-mono); font-size: 15px; }
  .tmrfirst .airlogo { width: 20px; height: 20px; object-fit: contain; margin: 0; }
  .tmrfirst li small { color: var(--ink-muted); }
  .shiplist li > div { flex: 1 1 auto; min-width: 0; }
  .shiplist li > .shiplist__go { flex: none; align-self: center; margin-left: auto; white-space: nowrap; padding-left: 8px; }
  .shiplist__go.is-off { color: var(--ink-muted); font-weight: 500; }
  /* 公車：票價與電話小表 */
  .bus__facts { display: flex; align-items: flex-start; gap: 10px 16px; flex-wrap: wrap; margin: 14px 0 6px; }
  .bus__ft { flex: 0 1 auto; margin: 0; }
  .bus__ft td small { display: block; color: var(--ink-muted); font-size: 12.5px; }
  .bus__tels { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .bus__how { margin: 4px 0 10px; }
  /* 訂船票：已開航收成一行、更多官方連結、客服電話 */
  .bb__gone { margin: 4px 0 8px; font-size: 13.5px; color: var(--ink-muted); }
  .bb__gone summary { cursor: pointer; font-weight: 700; }
  .bb__gone p { margin: 4px 0 0; font-family: var(--font-mono); text-decoration: line-through; }
  .bb__adv { margin: 2px 0 8px; padding: 6px 10px; border-radius: 8px; background: var(--surface-sunken, #f1efe9); font-size: 13.5px; }
  .bb__morelinks { margin-top: 8px; font-size: 13.5px; } .bb__morelinks summary { cursor: pointer; color: var(--tide); font-weight: 700; }
  .bb__tel { margin: 10px 0 0; }
  /* 馬祖現場：鏡頭標籤移到畫面左下，不蓋住直播畫面左上的日期浮水印；暫停的鏡頭淡化 */
  .lvstage:not(.is-full) .lvtile__tag { top: auto; bottom: 12px; }
  .lvcard.st-off { opacity: .55; }
  /* 停車：三座停車場比較表；地圖與查停車費並排 */
  .pk__cmp .pk__nm { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; } .pk__cmp .pk__nm b { font-size: 16px; }
  .pk__st { font-style: normal; font-size: 12.5px; font-weight: 800; color: #15803d; white-space: nowrap; } .pk__st--low { color: #d97706; } .pk__st--full { color: #b42318; } .pk__st--unk { color: var(--ink-muted); }
  .pk__cmp .pk__fc { display: grid; gap: 4px; width: 100%; } .pk__cmp .pk__free { text-align: left; } .pk__cmp .pk__free b { font-size: 24px; }
  .pk__cmp .pk__bar { margin: 0; height: 6px; }
  .pk__cmp .pk__act { display: flex; gap: 6px; margin: 0; } .pk__cmp .pk__act .authbtn { min-height: 36px; padding: 0 12px; font-size: 13.5px; }
  .pk__live--two { margin-top: 12px; align-items: start; }
  .pk__live--two .pk__mapwrap { min-height: 0; } .pk__live--two .pk__map { height: 380px; }
  .pk__live--two .pk__fee-box { margin-top: 0; }
  .pk__grid2 { align-items: start; }
  @media (max-width: 860px) { .pk__live--two .pk__map { height: 300px; } }
  /* 停飛理賠：依銀行一列的比較表 */
  .insb__n { display: inline-flex; align-items: center; gap: 10px; min-width: 0; } .insb__n > span { display: grid; min-width: 0; }
  .insb__n b { font-size: 15.5px; } .insb__n small { font-size: 12px; color: var(--ink-muted); font-weight: 500; }
  .insb__n .inslogo { flex: none; width: 30px; height: 30px; }
  .insb__tels { display: flex; flex-wrap: wrap; gap: 4px 12px; }
  .insb__gs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .insb__gs li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--surface-sunken, #f3f1ec); }
  .insb__gh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; } .insb__gh b { font-size: 14.5px; }
  .insb__gs small { font-size: 13px; color: var(--ink-muted); line-height: 1.6; }
  .insb__open { justify-self: start; appearance: none; border: 0; background: none; padding: 2px 0; color: var(--tide); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
  .insb__empty { font-size: 14px; color: var(--ink-muted); margin: 6px 0 14px; }
  .insb__empty button { appearance: none; border: 0; background: none; padding: 0; color: var(--tide); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
  .insb__dtel { display: none; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 8px; } .insb__dtel b { font-size: 13px; color: var(--ink-muted); width: 100%; }
  @container (max-width: 640px) { .insb .insb__t, .insb .insb__pay { display: none; } .insb .insb__dtel { display: flex; } }
  .insb__d .telt { margin-top: 8px; }
  .icard__face.is-slim { min-height: 0; padding-bottom: 12px; } .icard__face.is-slim .icard__tier { margin-top: 8px; }
  .icard__tel { margin: 6px 0 0; }
  .ins__keys2 { margin: 10px 0; }
  /* 天空與海：七格依數量排（電腦一排七格）、來源收成一顆圖示；潮汐圖；藍眼淚同一張卡 */
  @media (min-width: 1000px) { .skygrid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important; } }
  .skysrc { margin: 6px 0 0; display: flex; justify-content: flex-end; }
  .skytide { border: 1px solid var(--line); border-radius: var(--radius-md, 12px); background: var(--surface-raised, #fff); padding: 12px 14px; margin-bottom: 18px; }
  .skytide__list { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .skytide__list li { display: inline-flex; align-items: baseline; gap: 6px; font-size: 14px; }
  .skytide__list em { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: #dff1f2; color: #0b5d63; }
  .skytide__list li.is-low em { background: #f3ead6; color: #6b4b12; }
  .skytide__list b { font-family: var(--font-mono); font-size: 17px; } .skytide__list span { color: var(--ink-muted); }
  .skytide__list li.is-past { opacity: .55; }
  .skytide__svg { display: block; width: 100%; height: auto; max-height: 200px; }
  .skytide__grid { stroke: var(--line); stroke-width: 1; } .skytide__ax { font-size: 11px; fill: var(--ink-muted); }
  .skytide__ln { fill: none; stroke: var(--tide); stroke-width: 2.5; } .skytide__pt { fill: var(--surface-raised, #fff); stroke: var(--tide); stroke-width: 2.5; }
  .skytide__lb { font-size: 12px; font-weight: 700; fill: var(--ink); font-family: var(--font-mono); }
  .skytide__now { stroke: #c2410c; stroke-width: 1.5; stroke-dasharray: 4 3; } .skytide__nowt { font-size: 11px; font-weight: 700; fill: #c2410c; }
  .skytide__ft { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
  .skytear { grid-template-columns: minmax(0, 1fr) !important; max-width: 760px; position: relative; }
  .skytear .dy-tear .dy-src { display: none; }
  .skytear__src { position: absolute; right: 12px; top: 12px; }
  /* ═══ 數據語言（2026-10-17，portal.js 的 DL 元件與 live.js；類名前綴 dl-）═══
     色票只在這裡定義成 --dl-* 變數（設計語言：紙白、墨、細線、海青、深海、暖色只給會動的東西、藍眼淚）。
     活圖（.dl-hero）是「作品內容」，夜間模式也維持淺底；下方區塊（.dlh__body）跟著網站的日夜色。 */
  :root {
    --dl-paper: #f4f6f4; --dl-paper2: #fbfcfb; --dl-ink: #10242a; --dl-ink2: #56676c; --dl-ink3: #7d8b8f; --dl-hair: #d3dcda;
    --dl-sea: #0c7078; --dl-deep: #08484f; --dl-warm: #c8532a; --dl-tear: #14a99c;
    --dl-go: #186b43; --dl-hold: #b7791f; --dl-stop: #b42318;
    --dl-serif: "Noto Serif TC", "Songti TC", "PMingLiU", "MatsuRare", serif;
    --dl-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, "MatsuRare", sans-serif;
    --dl-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  }
  [data-theme="dark"] .dlh__body {
    --dl-paper: var(--surface); --dl-paper2: var(--surface-raised); --dl-ink: var(--ink); --dl-ink2: #a9b8bb; --dl-ink3: #82949a; --dl-hair: var(--line);
    --dl-sea: #5cc2c4; --dl-deep: #8ad8d6; --dl-warm: #f08a5d; --dl-go: #5fcf94; --dl-hold: #e3b25c; --dl-stop: #f08a7c;
  }
  html:has(.dlh):not([data-theme="dark"]) body { background: var(--dl-paper); }
  .dl-wrap { max-width: var(--shell); margin: 0 auto; padding-inline: 16px; }
  .dl-est { display: inline-block; font-size: 12px; line-height: 1.3; color: #8a5a1c; border: 1px solid rgba(138, 90, 28, .35); border-radius: 3px; padding: 0 4px; font-style: normal; font-weight: 500; white-space: nowrap; vertical-align: 1px; }
  .is-go { color: var(--dl-go) !important; } .is-hold { color: var(--dl-hold) !important; } .is-stop { color: var(--dl-stop) !important; } .is-sea { color: var(--dl-sea) !important; } .is-mut { color: var(--dl-ink3) !important; }
  .dl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--dl-hair); background: rgba(251, 252, 251, .92); color: var(--dl-ink); font: 500 13px/1 var(--dl-sans); letter-spacing: .04em; cursor: pointer; white-space: nowrap; text-decoration: none; }
  .dl-btn:hover { border-color: var(--dl-ink3); }
  .dl-btn.is-deep { background: var(--dl-deep); border-color: var(--dl-deep); color: #f4f6f4; }
  .dl-btn:focus-visible, .dl-cell:focus-visible, .dl-tl__track:focus-visible, .dl-tl__clock:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }

  /* 活圖外框 */
  .dl-hero { position: relative; height: 600px; display: flex; flex-direction: column; overflow: hidden; background: var(--dl-paper); color: var(--dl-ink); border-bottom: 1px solid var(--dl-hair); font-family: var(--dl-sans); }
  .dl-hero__stage { position: absolute; inset: 0; }
  .dl-hero__stage canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
  .dl-hero::before { content: ""; position: absolute; left: 0; top: 0; height: 62%; width: min(46%, 640px); background: linear-gradient(90deg, rgba(244,246,244,.92) 0, rgba(244,246,244,.8) 55%, rgba(244,246,244,0)); -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); z-index: 1; pointer-events: none; }
  .dl-hero.is-flat { background: linear-gradient(180deg, #f6f8f5, #e4eeec); }
  .dl-hero__cap { position: relative; z-index: 2; pointer-events: none; padding-top: 34px; }
  .dl-hero__capin { max-width: 500px; }
  .dl-hero__capin a, .dl-hero__capin button { pointer-events: auto; }
  .dl-hero__spacer { flex: 1; min-height: 0; }
  .dl-hero__dock { position: relative; z-index: 2; padding-bottom: 6px; }
  .dl-eyebrow { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--dl-ink2); letter-spacing: .12em; font-weight: 500; line-height: 1.6; }
  .dl-eyebrow b { color: var(--dl-sea); font-weight: 700; }
  .dl-eyebrow i { width: 1px; height: 12px; background: var(--dl-hair); }
  .dl-title { font-family: var(--dl-serif); font-weight: 900; font-size: 46px; line-height: 1.28; letter-spacing: .04em; margin: 10px 0; color: var(--dl-ink); text-wrap: balance; }
  .dl-title__cl { white-space: nowrap; }
  .dl-sub { margin: 0; font-size: 13px; color: var(--dl-ink2); letter-spacing: .04em; line-height: 1.7; }
  .dl-sub b { font-family: var(--dl-mono); font-weight: 500; color: var(--dl-ink); }
  .dl-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 18px; font-size: 12px; color: var(--dl-ink2); line-height: 1.6; }
  .dl-legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
  .dl-tip { position: fixed; z-index: 30; pointer-events: none; background: rgba(251,252,251,.97); border: 1px solid #d3dcda; border-radius: 6px; padding: 8px 11px; font: 12px/1.6 "Noto Sans TC", system-ui, sans-serif; color: #56676c; box-shadow: 0 6px 20px rgba(16,36,42,.1); max-width: 250px; }
  .dl-tip b { display: block; font: 700 15px/1.5 "Noto Serif TC", serif; color: #10242a; }

  /* 時間軸 */
  .dl-tl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; }
  .dl-tl__clock { display: flex; align-items: center; gap: 10px; min-width: 220px; background: none; border: 0; padding: 0; text-align: left; cursor: default; color: var(--dl-ink); font-family: var(--dl-sans); }
  .dl-tl.is-past .dl-tl__clock { cursor: pointer; }
  .dl-tl__cl { display: flex; flex-direction: column; }
  .dl-tl__time { font-family: var(--dl-mono); font-size: 26px; font-weight: 600; line-height: 1.1; letter-spacing: .02em; }
  .dl-tl__time small { font-family: var(--dl-sans); font-size: 12px; font-weight: 500; color: var(--dl-warm); margin-left: 8px; letter-spacing: .06em; }
  .dl-tl.is-past .dl-tl__time small { color: var(--dl-sea); text-decoration: underline; text-underline-offset: 3px; }
  .dl-tl__sub { font-size: 12px; color: var(--dl-ink2); white-space: nowrap; line-height: 1.6; }
  .dl-gauge line { stroke: rgba(16,36,42,.45); stroke-width: 1; } .dl-gauge .is-fill { fill: var(--dl-sea); } .dl-gauge .is-soft { opacity: .7; }
  .dl-tl__track { position: relative; height: 54px; cursor: ew-resize; touch-action: none; border-radius: 4px; outline: none; }
  .dl-tl__svg { position: absolute; left: 0; top: 0; width: 100%; height: 40px; display: block; }
  .dl-tl__svg * { vector-effect: non-scaling-stroke; }
  .dl-tl__band rect { fill: rgba(8,72,79,.07); }
  .dl-tl__curve { fill: none; stroke: rgba(12,112,120,.6); stroke-width: 1.2; }
  .dl-tl__area { fill: rgba(12,112,120,.07); stroke: none; }
  .dl-tl__ticks line { stroke-width: 1; } .dl-tl__ticks.is-warm line { stroke: rgba(200,83,42,.75); } .dl-tl__ticks.is-deep line { stroke: rgba(8,72,79,.5); } .dl-tl__ticks.is-sea line { stroke: rgba(12,112,120,.6); }
  .dl-tl__base { stroke: rgba(16,36,42,.3); stroke-width: 1; } .dl-tl__hr { stroke: rgba(16,36,42,.4); stroke-width: 1; }
  .dl-tl__lab { position: absolute; left: 0; right: 0; top: 40px; height: 14px; font-size: 12px; line-height: 14px; color: rgba(16,36,42,.58); pointer-events: none; }
  .dl-tl__lab span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
  .dl-tl__lab span.is-first { transform: none; } .dl-tl__lab span.is-last { transform: translateX(-100%); }
  .dl-tl__now { position: absolute; top: 34px; width: 0; height: 0; margin-left: -4px; border: 4px solid transparent; border-bottom: 6px solid var(--dl-warm); border-top: 0; pointer-events: none; }
  .dl-tl__cur { position: absolute; top: 0; height: 39px; width: 1.6px; margin-left: -.8px; background: var(--dl-warm); pointer-events: none; }
  .dl-tl__cur::before { content: ""; position: absolute; top: -1px; left: -3.2px; width: 8px; height: 8px; border-radius: 50%; background: inherit; }
  .dl-tl.is-past .dl-tl__cur { background: var(--dl-deep); }
  .dl-tl__act { display: flex; gap: 8px; }

  /* 資料帶 */
  .dl-strip { position: relative; z-index: 2; background: rgba(251,252,251,.94); border-top: 1px solid var(--dl-hair); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: var(--dl-ink); }
  .dl-strip__in { max-width: 1368px; display: grid; grid-template-columns: 132px repeat(var(--n), minmax(0, 1fr)); align-items: stretch; }
  .dl-strip__head { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 12px 14px 12px 0; border-right: 1px solid var(--dl-hair); }
  .dl-pick__btn { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; white-space: nowrap; font: 900 22px/1.2 var(--dl-serif); color: var(--dl-deep); letter-spacing: .04em; cursor: pointer; }
  .is-duo .dl-pick__btn { font-size: 17px; }
  .dl-pick__btn select { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; font-size: 16px; }
  .dl-pick__btn:focus-within { outline: 2px solid var(--dl-sea); outline-offset: 2px; border-radius: 4px; }
  .dl-pick__ago { font-size: 12px; color: var(--dl-ink2); display: flex; align-items: center; gap: 6px; line-height: 1.4; }
  .dl-pick__ago i { width: 6px; height: 6px; border-radius: 50%; background: var(--dl-go); flex: none; }
  .dl-pick__ago.is-stale i { background: var(--dl-hold); } .dl-pick__ago.is-wait i { background: var(--dl-ink3); }
  .dl-cell { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 12px 6px 12px 12px; border: 0; border-right: 1px solid var(--dl-hair); background: none; text-align: left; min-width: 0; min-height: 44px; color: var(--dl-ink); font-family: var(--dl-sans); overflow: hidden; }
  button.dl-cell { cursor: pointer; } button.dl-cell:hover { background: rgba(12,112,120,.05); }
  .dl-cell:last-child { border-right: 0; }
  .dl-cell__k { font-size: 12px; color: var(--dl-ink2); display: flex; align-items: center; gap: 5px; white-space: nowrap; line-height: 1.5; }
  .dl-cell__k svg { flex: none; color: var(--dl-ink3); width: 14px; height: 14px; }
  .dl-cell__k em { font-style: normal; color: var(--dl-ink3); }
  .dl-cell__v { display: flex; align-items: baseline; gap: 3px; white-space: nowrap; line-height: 1.25; min-width: 0; }
  .dl-cell__v b { flex: 0 1 auto; font-family: var(--dl-mono); font-size: 22px; font-weight: 600; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; }
  .dl-cell__v b:not(.is-zh) { flex: none; }
  .dl-cell__v small { overflow: hidden; text-overflow: clip; }
  .dl-cell__v b.is-zh { font-family: var(--dl-serif); font-weight: 900; font-size: 21px; letter-spacing: .02em; }
  .dl-cell__v small { font-size: 12px; color: var(--dl-ink2); }
  .dl-cell__l { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--dl-ink2); white-space: nowrap; line-height: 1.5; min-height: 18px; overflow: hidden; }
  .dl-cell__grp { position: absolute; left: 12px; top: 0; font-size: 12px; color: var(--dl-deep); font-weight: 700; line-height: 1.4; padding: 2px 8px 0 0; border-top: 2px solid var(--dl-deep); }
  .is-duo .dl-cell { padding-top: 26px; }
  .dl-meter { display: inline-flex; gap: 2px; flex: none; }
  .dl-meter i { width: 5px; height: 8px; border-radius: 1px; background: var(--dl-hair); }
  .dl-meter i.is-on { background: var(--dl-ink2); }
  .dl-meter.is-go i.is-on { background: var(--dl-go); } .dl-meter.is-hold i.is-on { background: var(--dl-hold); } .dl-meter.is-stop i.is-on { background: var(--dl-stop); } .dl-meter.is-sea i.is-on { background: var(--dl-sea); }
  .dl-strip.is-wait .dl-cell__v b { color: transparent; background: linear-gradient(90deg, #e3e9e8 25%, #f1f4f3 50%, #e3e9e8 75%); background-size: 200% 100%; border-radius: 4px; min-width: 3em; animation: dlShimmer 1.4s linear infinite; }
  @keyframes dlShimmer { to { background-position: -200% 0; } }

  /* 出處側欄 */
  .scrim.dl-sheet { justify-content: flex-end; align-items: stretch; padding: 0; background: rgba(16,36,42,.22); }
  .dl-sheet__in { width: min(480px, 100%); height: 100%; overflow-y: auto; background: var(--dl-paper2); color: var(--dl-ink); border-left: 1px solid var(--dl-hair); padding: 24px 30px 48px; overscroll-behavior: contain; font-family: var(--dl-sans); text-align: left; }
  [data-theme="dark"] .dl-sheet__in { --dl-paper2: #fbfcfb; }
  .dl-sheet__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
  .dl-sheet__h h2 { font: 900 22px/1.4 var(--dl-serif); letter-spacing: .06em; margin: 0; }
  .dl-sheet__x { min-height: 44px; min-width: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid var(--dl-hair); background: transparent; cursor: pointer; font-size: 13px; color: var(--dl-ink); }
  .dl-sheet__lead { font-size: 13px; color: var(--dl-ink2); margin: 6px 0 16px; line-height: 1.8; }
  .dl-sheet__grp { font-size: 12px; font-weight: 700; color: var(--dl-deep); letter-spacing: .12em; margin: 22px 0 4px; }
  .dl-sheet__item { border-top: 1px solid var(--dl-hair); padding: 14px 0 12px; }
  .dl-sheet__item h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; letter-spacing: .04em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
  .dl-sheet__item dl { display: grid; grid-template-columns: 4.8em 1fr; gap: 3px 10px; margin: 0; font-size: 13px; line-height: 1.7; }
  .dl-sheet__item dt { color: var(--dl-ink3); }
  .dl-sheet__item dd { margin: 0; color: var(--dl-ink2); word-break: break-word; }
  .dl-sheet__item dd a { color: var(--dl-sea); }

  /* 首頁下方區塊 */
  .dlh__body { color: var(--dl-ink); }
  .dl-sec { padding-top: 56px; }
  .dl-sh { display: flex; align-items: flex-end; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 18px; }
  .dl-sh h2 { font: 900 34px/1.2 var(--dl-serif); margin: 0; letter-spacing: .04em; color: var(--dl-ink); }
  .dl-sh__v { font: 700 22px/1.4 var(--dl-serif); color: var(--dl-ink2); }
  .dl-sh__m { font-size: 13px; color: var(--dl-ink2); line-height: 1.6; padding-bottom: 3px; }
  .dl-sh__m b { font-family: var(--dl-mono); font-weight: 500; }
  .dl-sh__go { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--dl-sea); text-decoration: none; white-space: nowrap; }
  .dl-sh__go:hover { text-decoration: underline; text-underline-offset: 4px; }
  .dl-note { font-size: 13px; color: var(--dl-ink2); margin: 10px 0 0; line-height: 1.7; }
  .dl-note a { color: var(--dl-sea); font-weight: 700; text-decoration: none; }
  .dl-note.is-tmr { color: #8a5a1c; }
  .dl-none { font-size: 14px; color: var(--dl-ink2); padding: 14px 0; border-bottom: 1px solid var(--dl-hair); margin: 0; }
  .dl-go .dy-banner, .dl-go [role="alert"] { margin-bottom: 12px; }
  .dl-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 2px solid var(--dl-ink); }
  .dl-col { padding: 18px 0 4px; min-width: 0; }
  .dl-col:first-child { padding-right: 32px; } .dl-col + .dl-col { border-left: 1px solid var(--dl-hair); padding-left: 32px; }
  .dl-colh { display: flex; align-items: center; gap: 4px 12px; flex-wrap: wrap; margin-bottom: 10px; }
  .dl-colh h3 { font: 700 20px/1.4 var(--dl-serif); margin: 0; letter-spacing: .04em; display: flex; align-items: center; gap: 8px; color: var(--dl-ink); }
  .dl-colh h3 svg { color: var(--dl-sea); }
  .dl-colh h3 span { margin-left: 8px; }
  .dl-colh .dl-links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 0 14px; }
  .dl-colh .dl-links .booklink { min-height: 44px; display: inline-flex; align-items: center; }
  .dl-airpair h4 { margin: 14px 0 0; font-size: 13px; color: var(--dl-deep); font-weight: 700; letter-spacing: .06em; }
  .dl-noair { padding: 14px 0; border-bottom: 1px solid var(--dl-hair); font-size: 14px; color: var(--dl-ink2); }
  .dl-noair b { color: var(--dl-ink); font-family: var(--dl-serif); font-size: 17px; } .dl-noair p { margin: 4px 0 0; }
  .dl-wait { padding-top: 8px; }
  /* 分頁（航空公司、航線）：底線分頁，不用膠囊 */
  .dlh .depseg { display: flex; gap: 2px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 0 6px; padding: 0; border: 0; border-bottom: 1px solid var(--dl-hair); border-radius: 0; background: none; box-shadow: none; }
  .dlh .depseg::-webkit-scrollbar { display: none; }
  .dlh .depseg > button { position: relative; flex: none; min-height: 44px; padding: 0 12px; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: 14px; color: var(--dl-ink2); font-weight: 500; }
  .dlh .depseg > button.is-on { color: var(--dl-ink); font-weight: 700; background: none; box-shadow: none; }
  .dlh .depseg > button.is-on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--dl-ink); }
  /* 一天的刻度條 */
  .dl-ticks { position: relative; margin: 4px 0 2px; }
  .dl-ticks svg { display: block; width: 100%; height: 30px; }
  .dl-ticks svg * { vector-effect: non-scaling-stroke; }
  .dl-ticks__base { stroke: var(--dl-hair); stroke-width: 1; }
  .dl-ticks line { stroke-width: 1.6; } .dl-ticks.is-warm line { stroke: var(--dl-warm); } .dl-ticks.is-deep line { stroke: var(--dl-deep); } .dl-ticks.is-sea line { stroke: var(--dl-sea); stroke-opacity: .55; }
  .dl-ticks line.is-past { stroke: var(--dl-ink3); stroke-opacity: .5; } .dl-ticks line.is-next { stroke-width: 3; }
  .dl-ticks .dl-ticks__span { stroke-width: 2.4; }
  .dl-ticks .dl-ticks__base { stroke: var(--dl-hair); stroke-width: 1; }
  .dl-ticks .dl-ticks__now { stroke: var(--dl-warm); stroke-width: 1.6; stroke-opacity: 1; }
  .dl-ticks__lab { position: relative; height: 16px; font-size: 12px; line-height: 16px; color: var(--dl-ink3); margin-top: -8px; white-space: nowrap; }
  .dl-ticks__lab span { position: absolute; transform: translateX(-50%); } .dl-ticks__lab span.is-first { transform: none; } .dl-ticks__lab span.is-last { transform: translateX(-100%); }
  /* 班次細線列 */
  .dl-rows { list-style: none; margin: 0; padding: 0; }
  .dl-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--dl-hair); min-height: 60px; }
  .dl-row__t { font: 600 22px/1.1 var(--dl-mono); color: var(--dl-ink); }
  .dl-row.is-next .dl-row__t { font-size: 30px; }
  .dl-row__nx { display: block; font: 700 12px/1.5 var(--dl-sans); color: var(--dl-warm); letter-spacing: .08em; }
  .dl-row__r { min-width: 0; line-height: 1.5; }
  .dl-row__route b { font-weight: 700; font-size: 15px; }
  .dl-row__ar { color: var(--dl-ink3); margin: 0 4px; }
  .dl-row__r small { display: flex; align-items: center; flex-wrap: wrap; gap: 0 2px; font-size: 12px; color: var(--dl-ink2); }
  .dl-row__r small .airlogo { width: 16px; height: 16px; margin-right: 4px; }
  .dl-row__code { font-family: var(--dl-mono); }
  .dl-row__s { font-size: 13px; font-weight: 700; white-space: nowrap; }
  .dl-row.is-done { opacity: .55; }
  /* 活動、頭條兩欄 */
  .dl-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 48px; padding-top: 8px; }
  .dl-two.is-one { grid-template-columns: minmax(0, 1fr); }
  .dl-two .dl-sh h2 { font-size: 30px; }
  .dl-act__tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--dl-hair); }
  .dl-act__tabs button { min-height: 52px; border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 6px 0; position: relative; text-align: left; color: var(--dl-ink); font-family: var(--dl-sans); }
  .dl-act__tabs b { font-size: 15px; line-height: 1.3; }
  .dl-act__tabs span { font-size: 12px; color: var(--dl-ink2); line-height: 1.4; }
  .dl-act__tabs em { font-family: var(--dl-mono); font-style: normal; font-weight: 600; color: var(--dl-ink); font-size: 13px; }
  .dl-act__tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 12px; bottom: -1px; height: 2px; background: var(--dl-ink); }
  .dl-act__tabs button[aria-selected="false"] b { color: var(--dl-ink2); font-weight: 500; }
  .dl-act .dl-ticks { margin-top: 10px; }
  .dl-alist { list-style: none; margin: 0; padding: 0; }
  .dl-alist li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; border-bottom: 1px solid var(--dl-hair); }
  .dl-alist__tag { font-size: 12px; color: var(--dl-ink2); white-space: nowrap; } .dl-alist__tag.is-fest { color: var(--dl-warm); }
  .dl-alist__t { display: block; padding: 11px 0; font: 14px/1.55 var(--dl-sans); color: var(--dl-ink); text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: none; border: 0; text-align: left; cursor: pointer; min-height: 44px; }
  a.dl-alist__t:hover, button.dl-alist__t:hover { color: var(--dl-sea); }
  .dl-alist__c { font-family: var(--dl-mono); font-size: 12px; color: var(--dl-ink2); white-space: nowrap; }
  .dl-alist .dl-alist__rest { grid-template-columns: 1fr; }
  .dl-alist__rest button { min-height: 44px; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; color: var(--dl-sea); font-weight: 700; font-size: 13px; }
  .dl-alist__rest.is-narrow { display: none; }
  .dl-news { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--dl-ink); }
  .dl-news li { display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--dl-hair); }
  .dl-news__t { font: 900 19px/1.45 var(--dl-serif); margin: 0; letter-spacing: .02em; }
  .dl-news li:first-child .dl-news__t { font-size: 24px; }
  .dl-news__t a { color: var(--dl-ink); text-decoration: none; } .dl-news__t a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
  .dl-news__x { font-size: 14px; color: var(--dl-ink2); margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.75; }
  .dl-news__m { display: flex; gap: 4px 12px; align-items: center; font-size: 12px; color: var(--dl-ink2); margin-top: 8px; flex-wrap: wrap; }
  .dl-news__m .is-src { font-weight: 700; color: var(--dl-ink); } .dl-news__m .is-d { font-family: var(--dl-mono); }
  .dl-news__img { position: relative; display: block; width: 168px; height: 112px; overflow: hidden; border-radius: 2px; background: #e6ebea; }
  .dl-news__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .dl-board { display: flex; align-items: center; gap: 14px; min-height: 56px; border-bottom: 1px solid var(--dl-hair); text-decoration: none; font-size: 14px; color: var(--dl-ink); }
  .dl-board__k { flex: none; font-size: 12px; font-weight: 700; color: var(--dl-deep); letter-spacing: .08em; border-right: 1px solid var(--dl-hair); padding-right: 14px; }
  .dl-board__t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dl-board__t em { font-style: normal; color: var(--dl-ink2); }
  .dl-board__go { flex: none; font-size: 13px; font-weight: 700; color: var(--dl-sea); }
  .dl-board:hover .dl-board__t { color: var(--dl-sea); }
  .dlh__body > .orgposts, .dlh__body > .strand1 { margin-top: 32px; }
  .dlh + .sitefoot, .lookroot[data-view="home"] > .sitefoot { margin-top: 72px; }

  @media (max-width: 1180px) {
    .dl-strip__in { grid-template-columns: 120px repeat(var(--n), minmax(0, 1fr)); }
    .dl-cell { padding-left: 9px; } .dl-cell__v b { font-size: 19px; } .dl-cell__v b.is-zh { font-size: 17px; }
    .dl-cell__k svg { display: none; }
  }
  @media (max-width: 859px) {
    .dl-wrap { padding-inline: 12px; }
    .dl-hero { height: auto; }
    .dl-hero::before { display: none; }
    .dl-hero__cap { padding-top: 18px; }
    .dl-hero__capin { max-width: none; }
    .dl-eyebrow { font-size: 12px; }
    .dl-title { font-size: 28px; margin: 6px 0 4px; line-height: 1.35; }
    .dl-sub { font-size: 12px; }
    .dl-legend { display: none; }
    .dl-hero__spacer { flex: none; height: 300px; }
    .dl-hero.is-flat .dl-hero__spacer { height: 24px; }
    .dl-tl { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "clock act" "track track"; gap: 4px 8px; }
    .dl-tl__clock { grid-area: clock; min-width: 0; }
    .dl-tl__act { grid-area: act; gap: 6px; }
    .dl-tl__track { grid-area: track; height: 50px; }
    .dl-tl__time { font-size: 22px; }
    .dl-tl__wide { display: none; }
    .dl-tl__lab span.is-minor { display: none; }
    .dl-btn { padding: 0 12px; font-size: 12.5px; }
    .dl-strip__in { grid-template-columns: repeat(var(--m), minmax(0, 1fr)); padding: 0; }
    .dl-strip__head { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; border-right: 0; border-bottom: 1px solid var(--dl-hair); padding: 2px 12px; }
    .dl-pick__btn { font-size: 20px; }
    .dl-cell { padding: 10px 3px 10px 7px; border-bottom: 1px solid var(--dl-hair); }
    .dl-cell:nth-child(5n + 1) { border-right: 0; }
    .dl-strip.is-m4 .dl-cell:nth-child(5n + 1) { border-right: 1px solid var(--dl-hair); } .dl-strip.is-m4 .dl-cell:nth-child(4n + 1) { border-right: 0; }
    .dl-cell__k { gap: 3px; }
    .dl-cell__v b { font-size: 16px; } .dl-cell__v b.is-zh { font-size: 15px; }
    .dl-cell__l .dl-meter { display: none; }
    .dl-cell__grp { left: 7px; }
    .dl-sec { padding-top: 40px; }
    .dl-sh { gap: 6px 12px; margin-bottom: 12px; }
    .dl-sh h2 { font-size: 28px; } .dl-sh__v { font-size: 18px; } .dl-sh__go { margin-left: 0; }
    .dl-cols { grid-template-columns: minmax(0, 1fr); }
    .dl-col:first-child { padding-right: 0; }
    .dl-col + .dl-col { border-left: 0; padding-left: 0; border-top: 2px solid var(--dl-ink); margin-top: 28px; }
    .dl-colh .dl-links { margin-left: 0; width: 100%; }
    .dl-row { grid-template-columns: 78px minmax(0, 1fr) auto; gap: 4px 10px; }
    .dl-row__t { font-size: 19px; } .dl-row.is-next .dl-row__t { font-size: 25px; }
    .dl-two { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .dl-two .dl-sh h2 { font-size: 28px; }
    .dl-alist li.is-xtra { display: none; }
    .dl-alist__rest.is-narrow { display: grid; } .dl-alist__rest.is-wide { display: none; }
    .dl-news li { grid-template-columns: minmax(0, 1fr) 96px; gap: 14px; padding: 16px 0; }
    .dl-news li:first-child .dl-news__t { font-size: 20px; } .dl-news__t { font-size: 17px; }
    .dl-news__img { width: 96px; height: 72px; }
    .dl-news__x { font-size: 13px; }
    .scrim.dl-sheet { align-items: flex-end; }
    .dl-sheet__in { width: 100%; height: auto; max-height: 86%; margin-top: auto; border-left: 0; border-top: 1px solid var(--dl-hair); border-radius: 14px 14px 0 0; padding: 18px 18px 36px; }
  }
  @media (max-width: 380px) { .dl-btn { padding: 0 9px; font-size: 12px; } }
  @media (prefers-reduced-motion: reduce) { .dl-strip.is-wait .dl-cell__v b { animation: none; } }
  html:not([lang^="zh"]) .dl-title { font-size: 36px; } html:not([lang^="zh"]) .dl-title__cl { white-space: normal; }
  @media (max-width: 859px) { html:not([lang^="zh"]) .dl-title { font-size: 24px; } html:not([lang^="zh"]) .dl-cell__k span, html:not([lang^="zh"]) .dl-cell__l { overflow: hidden; text-overflow: ellipsis; } }

  /* 數據語言・馬祖數據（2026-10-17，設計稿 lab/after/data；類名前綴 dld-，portal.js 的 dataView／DataOverview 與 live-data.js 的 LiveArt.decade）
     頁首＝頁名小標＋「這是怎麼來的」＋細線分頁（每一類都有）；總覽＝資料組成的標題＋〈馬祖這十年〉七列＋九項指標細線三欄。
     日夜模式都跟網站走：顏色一律用 --dl-* 變數（畫布也讀這幾個變數）。 */
  [data-theme="dark"] .dld {
    --dl-paper: var(--surface); --dl-paper2: var(--surface-raised); --dl-ink: var(--ink); --dl-ink2: #a9b8bb; --dl-ink3: #82949a; --dl-hair: var(--line);
    --dl-sea: #5cc2c4; --dl-deep: #8ad8d6; --dl-warm: #f08a5d; --dl-go: #5fcf94; --dl-hold: #e3b25c; --dl-stop: #f08a7c;
  }
  html:has(.dld):not([data-theme="dark"]) body { background: var(--dl-paper); }
  .dld { --dld-seaT: color-mix(in srgb, var(--dl-sea) 30%, transparent); font-family: var(--dl-sans); color: var(--dl-ink); }
  .dld > .block.dld-head { padding-bottom: 0; margin-bottom: 0; }
  .dld-n { font-family: var(--dl-mono); font-weight: 500; letter-spacing: -.01em; }
  .dld-kick { display: flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; padding: 22px 0 6px; }
  .dld-pn { font-family: var(--dl-serif); font-weight: 900; font-size: 18px; letter-spacing: .12em; margin: 0; color: var(--dl-ink); }
  .dld-pm { font-size: 13px; color: var(--dl-ink2); }
  .dld-kick .dl-btn { margin-left: auto; border-radius: 0; border-color: var(--dl-ink); background: transparent; letter-spacing: .06em; }
  .dld-kick .dl-btn:hover { background: var(--dl-ink); color: var(--dl-paper); }
  .dld-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--dl-hair); margin: 6px 0 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .dld-tabs::-webkit-scrollbar { display: none; }
  .dld-tab { flex: none; min-height: 46px; padding: 0 14px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; font: 400 14.5px/1 var(--dl-sans); color: var(--dl-ink2); letter-spacing: .04em; white-space: nowrap; }
  .dld-tab:hover { color: var(--dl-ink); }
  .dld-tab[aria-selected="true"] { color: var(--dl-ink); font-weight: 700; border-bottom-color: var(--dl-ink); }
  .dld-tab:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -2px; }
  .dld .dfail { margin: 10px 0 0; }
  .dld-lead { padding: 26px 0 18px; }
  .dld-lead .dl-title { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.3; margin: 0; max-width: 22em; }
  .dld-lead .dl-title .dld-n { font-size: .92em; }
  .dld-lead .dl-sub { margin-top: 8px; }

  /* 〈馬祖這十年〉：live-data.js 填進 .dld-hero（.dld-dec） */
  .dld-hero { border-top: 2px solid var(--dl-ink); padding: 12px 0 6px; outline: none; }
  .dld-hero:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 4px; }
  .dld-dec__h { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 6px; }
  .dld-dec__h h2 { font-family: var(--dl-serif); font-weight: 900; font-size: 22px; letter-spacing: .1em; margin: 0; color: var(--dl-ink); }
  .dld-dec__sub { font-size: 13px; color: var(--dl-ink2); }
  .dld-dec__sub b { font-family: var(--dl-mono); font-weight: 500; }
  .dld-dec__now { margin-left: auto; min-height: 44px; padding: 0 14px; border: 1px solid var(--dl-hair); background: transparent; color: var(--dl-ink); cursor: pointer; font: 400 13px/1 var(--dl-sans); display: inline-flex; align-items: center; gap: 8px; }
  .dld-dec__now:hover { border-color: var(--dl-ink); }
  .dld-dec__now i { width: 8px; height: 8px; border-radius: 50%; background: var(--dl-warm); display: inline-block; }
  .dld-dec__rows { position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
  .dld-dec__r { display: grid; grid-template-columns: 150px minmax(0, 1fr) 196px; align-items: stretch; border-bottom: 1px solid var(--dl-hair); }
  .dld-dec__lb { display: flex; flex-direction: column; justify-content: center; padding-right: 12px; line-height: 1.35; }
  .dld-dec__lb b { font-size: 14px; font-weight: 700; letter-spacing: .04em; }
  .dld-dec__lb span { font-size: 12px; color: var(--dl-ink2); }
  .dld-dec__r canvas { display: block; width: 100%; height: 52px; }
  .dld-dec__vl { display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding-left: 12px; line-height: 1.3; text-align: right; min-width: 0; }
  .dld-dec__v { font-family: var(--dl-mono); font-weight: 500; font-size: 19px; white-space: nowrap; }
  .dld-dec__v small { font-family: var(--dl-sans); font-size: 12px; color: var(--dl-ink2); margin-left: 3px; font-weight: 400; }
  .dld-dec__p { font-size: 12px; color: var(--dl-ink2); white-space: nowrap; }
  .dld-dec__p b { font-family: var(--dl-mono); font-weight: 500; }
  .dld-dec__r.is-ax { border-bottom-color: var(--dl-ink); }
  .dld-dec__r.is-ax canvas { height: 30px; }
  .dld-dec__r.is-ax .dld-dec__lb, .dld-dec__r.is-ax .dld-dec__vl { justify-content: flex-end; padding-bottom: 4px; }
  .dld-dec__cur { font-family: var(--dl-mono); font-size: 13px; color: var(--dl-warm); font-weight: 600; }
  .dld-dec__f { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12.5px; color: var(--dl-ink2); padding: 8px 0 0; align-items: center; }
  .dld-dec__none { color: var(--dl-ink2); padding: 20px 0; margin: 0; }
  .dld-sw { display: inline-block; width: 12px; height: 12px; vertical-align: -2px; margin-right: 6px; }
  .dld-sw.is-hatch { background: repeating-linear-gradient(135deg, var(--dl-ink3) 0 1px, transparent 1px 5px); border: 1px solid var(--dl-hair); opacity: .8; }
  .dld-sw.is-covid { background: color-mix(in srgb, var(--dl-sea) 12%, transparent); }
  .dld-sw.is-fog { background: linear-gradient(90deg, color-mix(in srgb, var(--dl-deep) 6%, transparent), var(--dl-deep)); }
  .dld-sw.is-cur { width: 2px; background: var(--dl-warm); }

  /* 九項指標：細線三欄、大數字 */
  .dld-secH { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; margin: 48px 0 0; padding-bottom: 10px; border-bottom: 2px solid var(--dl-ink); }
  .dld-secH h2 { font-family: var(--dl-serif); font-weight: 900; font-size: 22px; letter-spacing: .1em; margin: 0; color: var(--dl-ink); }
  .dld-secH p { margin: 0; font-size: 13px; color: var(--dl-ink2); }
  .dld-key { margin-left: auto; display: flex; gap: 4px 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--dl-ink2); }
  .dld-key i { display: inline-block; width: 9px; height: 12px; margin-right: 5px; vertical-align: -1px; }
  .dld-key i.is-cur { background: var(--dl-deep); } .dld-key i.is-yr { border: 1.5px solid var(--dl-deep); box-sizing: border-box; } .dld-key i.is-all { background: var(--dld-seaT); }
  .dld-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 44px; }
  .dld-ind { display: block; width: 100%; text-align: left; font: inherit; color: var(--dl-ink); background: none; border: 0; border-bottom: 1px solid var(--dl-hair); padding: 18px 0 20px; cursor: pointer; min-width: 0; position: relative; }
  .dld-ind > span { display: flex; }
  .dld-ind:hover .dld-ind__lab b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
  .dld-ind:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dld-ind__lab { justify-content: space-between; align-items: baseline; gap: 10px; }
  .dld-ind__lab b { font-size: 14px; font-weight: 700; letter-spacing: .04em; }
  .dld-ind__lab span { font-size: 12.5px; color: var(--dl-ink2); white-space: nowrap; }
  .dld-ind__big { align-items: baseline; flex-wrap: wrap; font-family: var(--dl-mono); font-weight: 500; font-size: 42px; line-height: 1.15; letter-spacing: -.02em; margin: 8px 0 2px; white-space: nowrap; }
  .dld-ind__big small { font-family: var(--dl-sans); font-size: 14px; font-weight: 400; color: var(--dl-ink2); margin-left: 6px; letter-spacing: 0; }
  .dld-ind__big .dl-est { margin-left: 8px; align-self: center; letter-spacing: 0; font-family: var(--dl-sans); }
  .dld-ind__dl { font-size: 13px; gap: 4px 12px; flex-wrap: wrap; align-items: baseline; }
  .dld-ind__dl b { font-family: var(--dl-mono); font-weight: 600; }
  .dld-ind__pv { color: var(--dl-ink2); font-size: 12.5px; }
  .dld-ind__go { position: absolute; right: 0; bottom: 4px; font-size: 12px; color: var(--dl-ink2); opacity: 0; transition: opacity .15s; }
  .dld-ind:hover .dld-ind__go, .dld-ind:focus-visible .dld-ind__go { opacity: 1; }
  .dld-mini { display: block; width: 100%; height: auto; margin-top: 12px; overflow: visible; }
  .dld-mini rect { fill: var(--dld-seaT); } .dld-mini rect.is-cur { fill: var(--dl-deep); } .dld-mini rect.is-yr { fill: none; stroke: var(--dl-deep); stroke-width: 1.5; }
  .dld-mini rect.dld-mini__hit { fill: transparent; }
  .dld-mini__base { stroke: var(--dl-hair); }
  .dld-mini__ln { fill: none; stroke: var(--dl-sea); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
  .dld-mini__prev { fill: none; stroke: var(--dl-ink2); stroke-width: 1.5; stroke-dasharray: 4 3; }
  .dld-mini circle.is-cur { fill: var(--dl-deep); stroke: var(--dl-paper); stroke-width: 1.5; } .dld-mini circle.is-yr { fill: var(--dl-paper); stroke: var(--dl-deep); stroke-width: 1.5; }
  .dld-mini text { font-size: 12px; fill: var(--dl-ink2); font-family: var(--dl-mono); }
  .dld-notes { margin: 28px 0 0; padding: 14px 0 0; border-top: 1px solid var(--dl-hair); font-size: 13px; color: var(--dl-ink2); display: grid; grid-template-columns: 150px 1fr; gap: 6px 24px; }
  .dld-notes b { color: var(--dl-ink); font-weight: 700; letter-spacing: .08em; }
  .dld-notes ul { margin: 0; padding-left: 1.2em; } .dld-notes li { margin-bottom: 2px; }
  .dld-tip { position: fixed; z-index: 60; pointer-events: none; background: var(--dl-ink); color: var(--dl-paper); padding: 6px 10px; font-size: 12.5px; line-height: 1.5; max-width: 230px; white-space: pre-line; font-family: var(--dl-mono); }
  @media (max-width: 1000px) {
    .dld-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dld-dec__r { grid-template-columns: 120px minmax(0, 1fr) 140px; }
  }
  @media (max-width: 700px) {
    .dld-kick { padding-top: 16px; gap: 2px 12px; }
    .dld-pm { order: 3; width: 100%; }
    .dld-kick .dl-btn { padding: 0 12px; font-size: 13px; }
    .dld-tab { padding: 0 11px; font-size: 14px; }
    .dld-lead { padding: 18px 0 14px; }
    .dld-lead .dl-title { font-size: 27px; line-height: 1.4; }
    .dld-dec__h h2 { font-size: 20px; }
    .dld-dec__sub { width: 100%; order: 3; }
    .dld-dec__r { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "lb vl" "cv cv"; padding-top: 6px; }
    .dld-dec__lb { grid-area: lb; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 6px; padding: 0; }
    .dld-dec__vl { grid-area: vl; flex-direction: row; align-items: baseline; gap: 8px; padding: 0; }
    .dld-dec__v { font-size: 16px; }
    .dld-dec__yo, .dld-dec__lb span.dld-dec__u { display: none; }
    .dld-dec__r canvas { grid-area: cv; height: 34px; margin-top: 2px; }
    .dld-dec__r.is-ax { padding-top: 0; }
    .dld-dec__r.is-ax canvas { height: 26px; }
    .dld-dec__r.is-ax .dld-dec__lb span { display: none; }
    .dld-grid { grid-template-columns: minmax(0, 1fr); }
    .dld-ind { display: grid; grid-template-columns: minmax(0, 1fr) 140px; column-gap: 14px; padding: 16px 0; }
    .dld-ind__lab { grid-column: 1 / -1; }
    .dld-ind__big { font-size: 30px; grid-column: 1; margin: 6px 0 2px; }
    .dld-ind__dl { grid-column: 1; }
    .dld-ind .dld-mini { grid-column: 2; grid-row: 2 / 4; margin-top: 8px; align-self: center; }
    .dld-ind__go { display: none; }
    .dld-key { margin-left: 0; }
    .dld-notes { grid-template-columns: minmax(0, 1fr); }
  }
  @media (prefers-reduced-motion: reduce) { .dld-ind__go { transition: none; } }
  /* 數據語言・海空交通（2026-10-17，設計稿 lab/after/go；portal.js 的 GoHero、GoBoard、goNotices、goContacts，活圖 live-go.js）*/
  .dl-hero--go { height: 560px; scroll-margin-top: 124px; }
  .dl-hero--go::before { display: none; }
  .dl-hero--go .dl-hero__capin { max-width: 470px; }
  .dl-hero--go .dl-title { font-size: 38px; line-height: 1.38; letter-spacing: .02em; margin: 14px 0 10px; }
  .dl-hero--go .dl-title__cl { white-space: normal; }
  .dlgo-say .dlgo-n { font-family: var(--dl-mono); font-weight: 600; font-size: .94em; letter-spacing: -.01em; }
  .dlgo-say .dlgo-nw { white-space: nowrap; }
  .dlgo-say .dlgo-w { color: var(--dl-warm); white-space: nowrap; font-family: var(--dl-mono); font-weight: 600; font-size: .94em; }
  .dlgo-nums { display: flex; margin-top: 22px; border-top: 1px solid var(--dl-hair); }
  .dlgo-num { padding: 12px 16px 0 0; margin-right: 16px; border-right: 1px solid var(--dl-hair); min-width: 0; }
  .dlgo-num:last-child { border-right: 0; margin-right: 0; }
  .dlgo-num b { white-space: nowrap; display: block; font: 500 30px/1.1 var(--dl-mono); letter-spacing: -.02em; color: var(--dl-ink); }
  .dlgo-num b small { font: 400 14px/1 var(--dl-sans); color: var(--dl-ink2); margin-left: 3px; }
  .dlgo-num span { font-size: 12px; color: var(--dl-ink2); letter-spacing: .04em; white-space: nowrap; }
  .dlgo-num.is-hold b { color: var(--dl-hold); } .dlgo-num.is-stop b { color: var(--dl-stop); }
  .dl-hero--go .dl-legend { margin-top: 16px; }
  /* 班機｜船班 */
  .dlgo-mode { display: flex; border-bottom: 1px solid var(--dl-hair); margin: 18px 0 6px; }
  .dlgo-mode button { appearance: none; border: 0; background: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px 0 0; margin: 0 22px -1px 0; font: 700 20px/1 var(--dl-serif); color: var(--dl-ink3); border-bottom: 2px solid transparent; }
  .dlgo-mode button em { font: 500 15px/1 var(--dl-mono); font-style: normal; }
  .dlgo-mode button.is-on { color: var(--dl-ink); border-bottom-color: var(--dl-ink); }
  .dlgo-mode button svg { color: var(--dl-sea); }
  .dlgo__board > .block { padding-top: 40px; }
  .dlgo .dlgo__board .dy-sechead__title, .dlgo .dlgo__board h2 { font-family: var(--dl-serif); }
  /* 班次表細線版 */
  .dlb { margin: 6px 0 14px; color: var(--dl-ink); }
  .dlb__h { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; padding: 14px 0 8px; }
  .dlb__title { margin: 0; font: 700 22px/1.4 var(--dl-serif); letter-spacing: .04em; color: var(--dl-ink); }
  .dlb__title small { font: 400 13px/1 var(--dl-sans); color: var(--dl-ink2); margin-left: 10px; letter-spacing: 0; }
  .dlb__cap { margin: -4px 0 6px; font-size: 13px; color: var(--dl-ink2); }
  .dlb__t { width: 100%; border-collapse: collapse; border-top: 1px solid var(--dl-ink); }
  .dlb__r td { border-bottom: 1px solid var(--dl-hair); padding: 12px 18px 12px 0; vertical-align: middle; }
  .dlb__r td:last-child { padding-right: 0; }
  .dlb__tm { width: 160px; position: relative; }
  .dlb__tm button, .dlb__tm > span { appearance: none; border: 0; background: none; padding: 0; text-align: left; display: flex; flex-direction: column; min-height: 44px; justify-content: center; color: inherit; cursor: pointer; font: inherit; }
  .dlb__tm > span { cursor: default; }
  .dlb__tt { font: 500 32px/1.1 var(--dl-mono); letter-spacing: -.02em; color: var(--dl-ink); }
  .dlb__ts { font-size: 12px; color: var(--dl-ink2); line-height: 1.4; margin-top: 2px; min-height: 1.4em; }
  .dlb__tm button:hover .dlb__tt { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
  .dlb__no { width: 170px; font: 15px/1.4 var(--dl-mono); white-space: nowrap; }
  .dlb__ic { display: inline-flex; vertical-align: -3px; margin-right: 6px; } .dlb__ic img, .dlb__ic .airlogo { width: 18px; height: 18px; }
  .dlb__rt b { display: block; font-size: 16px; font-weight: 700; letter-spacing: .02em; }
  .dlb__rt small { display: block; font-size: 12px; color: var(--dl-ink2); line-height: 1.5; margin-top: 2px; }
  .dlb__st { width: 120px; font-size: 14px; white-space: nowrap; }
  .dlb__st span { display: inline-flex; align-items: center; gap: 7px; }
  .dlb__st span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dl-ink3); flex: none; }
  .dlb__st.is-go span::before { background: var(--dl-go); }
  .dlb__st.is-hold span { color: var(--dl-hold); font-weight: 700; } .dlb__st.is-hold span::before { background: var(--dl-hold); }
  .dlb__st.is-stop span { color: var(--dl-stop); font-weight: 700; } .dlb__st.is-stop span::before { background: var(--dl-stop); }
  .dlb__fare { width: 150px; text-align: right; }
  .dlb__fare button, .dlb__fare > span { appearance: none; border: 0; background: none; padding: 0 2px; display: inline-flex; flex-direction: column; align-items: flex-end; justify-content: center; min-height: 44px; color: var(--dl-ink); cursor: pointer; font: inherit; }
  .dlb__fare b { font: 600 17px/1.3 var(--dl-mono); }
  .dlb__fare button b::after { content: " ▾"; font-size: 11px; color: var(--dl-ink2); }
  .dlb__fare button[aria-expanded="true"] b::after { content: " ▴"; }
  .dlb__fare small { font-size: 12px; color: var(--dl-ink2); line-height: 1.3; }
  .dlb__na { color: var(--dl-ink3); }
  .dlb.is-nofare .dlb__fare { display: none; }
  .dlb__r.is-past td, .dlb__r.is-past .dlb__tt { color: var(--dl-ink3); }
  .dlb__r.is-past .dlb__st span, .dlb__r.is-past .dlb__fare b { color: var(--dl-ink3); }
  .dlb__r.is-past .dlb__ic { opacity: .5; }
  .dlb__r.is-next td { background: rgba(200,83,42,.05); }
  .dlb__ar { color: var(--dl-ink3); margin: 0 6px; font-weight: 400; }
  .dlb__r.is-next .dlb__tm::before { content: ""; position: absolute; left: -12px; top: 10px; bottom: 10px; width: 3px; background: var(--dl-warm); }
  .dlb__r.is-next .dlb__ts { color: var(--dl-warm); font-weight: 700; }
  .dlb__fx td { padding: 4px 0 14px; border-bottom: 1px solid var(--dl-hair); }
  .farecell.is-panelwrap .farecell__b { display: none; }
  .farepop.is-panel { position: static; max-height: none; box-shadow: none; border: 0; border-top: 1px dashed var(--dl-hair); border-radius: 0; padding: 12px 0 0; background: none; max-width: 640px; margin-left: auto; }
  .dlb__none { padding: 22px 0; color: var(--dl-ink2); border-bottom: 1px solid var(--dl-hair); margin: 0; }
  /* 異動公告、航商與聯絡 */
  .dlgo-sec { padding-top: 40px; margin-top: 28px; border-top: 1px solid var(--dl-hair); }
  /* 直播鏡頭觀察與船班紀錄（2026-10-18） */
  .cobs { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 6px 0 10px; font-size: 13.5px; }
  .cobs__lv { display: inline-block; padding: 1px 8px; border-radius: 2px; font: 700 12.5px/1.6 var(--font-sans); background: #e8ecea; color: #14262b; }
  .cobs__lv.is-lo { background: #dcefe6; color: #186b43; } .cobs__lv.is-mid { background: #e1eef0; color: #0c5a62; }
  .cobs__lv.is-hi { background: #fbecd2; color: #8a5a10; } .cobs__lv.is-max { background: #f9dcd8; color: #9b1c12; } .cobs__lv.is-na { background: #eef0ee; color: #5d6d70; font-weight: 500; }
  .cobs__i.is-max { color: #9b1c12; font-weight: 700; } .cobs__m { margin-left: 4px; color: var(--dl-ink2, #5d6d70); } .cobs__n { width: 100%; color: var(--dl-ink2, #5d6d70); font-size: 12px; }
  .obs__apts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 10px; }
  .obs__apt { border: 1px solid var(--dl-hair, #d5dcd8); padding: 12px 14px; min-width: 0; }
  .obs__ah { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: 15px; }
  .obs-sp { display: block; width: 100%; height: auto; } .obs-sp__b.is-0 { fill: #eef6f1; } .obs-sp__b.is-1 { fill: #eaf2f3; } .obs-sp__b.is-2 { fill: #fbf3e4; } .obs-sp__b.is-3 { fill: #fbeceb; }
  .obs-sp__l { fill: none; stroke: #0c7078; stroke-width: 1.6; vector-effect: non-scaling-stroke; } .obs-sp__d { fill: #0c7078; }
  .obs-sp__t { font: 500 7px var(--font-sans); fill: #5d6d70; text-anchor: middle; }
  /* 霧的分布（2026-10-18） */
  .fog { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--dl-hair, #d5dcd8); }
  .fog__two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 18px; margin-top: 10px; align-items: start; }
  @media (max-width: 860px) { .fog__two { grid-template-columns: minmax(0, 1fr); } }
  .fog__map { display: block; width: 100%; height: auto; border: 1px solid var(--dl-hair, #d5dcd8); }
  .fog__sea { fill: #e3eef1; } .fog__land { fill: #e7e9dc; stroke: #8a9a8f; stroke-width: .8; } .fog__inset { fill: none; stroke: #9aaab0; stroke-dasharray: 4 3; }
  .fog__lb { font: 500 12px var(--font-sans); fill: #5d6d70; }
  .fog__pt { stroke: #fff; stroke-width: 2; } .fog__pt.is-na { fill: #fff; stroke: #8a9a9e; stroke-dasharray: 2 2; }
  .fog__list { list-style: none; margin: 0; padding: 0; } .fog__list li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto 120px; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--dl-hair, #e1e6e3); font-size: 13.5px; }
  .fog__k { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 1.5px dashed #8a9a9e; box-sizing: border-box; } .fog__k.is-sq { border-radius: 2px; }
  .fog__k[style] { border: 0; }
  .fog__nm { min-width: 0; display: flex; flex-direction: column; } .fog__nm small { color: var(--dl-ink2, #5d6d70); font-size: 12px; }
  .fog__st { font-weight: 700; font-size: 13px; white-space: nowrap; }
  .fog__strip { display: flex; height: 10px; gap: 1px; } .fog__strip i { flex: 1; min-width: 1px; } .fog__nodata { color: #9aa6a8; text-align: center; }
  .fog__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12.5px; color: var(--dl-ink2, #5d6d70); }
  .fog__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
  .fog__legend i.is-c { background: #fff; border: 1.5px solid #5d6d70; box-sizing: border-box; } .fog__legend i.is-s { background: #fff; border: 1.5px solid #5d6d70; border-radius: 1px; box-sizing: border-box; }
  .fog__gh { margin: 4px 0 2px; font: 700 14px var(--font-sans); color: var(--dl-ink, #14262b); } .fog__gh + .fog__list { margin-bottom: 14px; } .fog__src { font-size: 11px !important; color: #8a979a !important; }
  .fog__first { margin: 12px 0 0; font-size: 14px; line-height: 1.7; }
  @media (max-width: 560px) { .fog__list li { grid-template-columns: 14px minmax(0, 1fr) auto; } .fog__list li .fog__strip { grid-column: 2 / -1; } .fog__list li .fog__nodata { display: none; } }
  .obs__note { margin: 10px 0 0; font-size: 12.5px; color: var(--dl-ink2, #5d6d70); line-height: 1.7; max-width: 52em; }
  .dlgo-ntc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--dl-ink); }
  .dlgo-ntc li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--dl-hair); align-items: start; }
  .dlgo-ntc.is-mini li { padding: 10px 0; align-items: center; }
  .dlgo-ntc__d { font: 15px/1.6 var(--dl-mono); color: var(--dl-ink2); }
  .dlgo-ntc__t { display: block; font-size: 16px; line-height: 1.6; color: var(--dl-ink); }
  .dlgo-ntc__t.is-n { font-size: 15px; font-weight: 500; }
  .dlgo-ntc__g { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--dl-ink2); margin-top: 4px; }
  .dlgo-ntc__g .is-rev { color: var(--dl-hold); font-weight: 700; } .dlgo-ntc__g .is-hit { color: var(--dl-warm); font-weight: 700; }
  .dlgo-ntc__x { font-size: 13px; color: var(--dl-ink2); margin-top: 4px; }
  .dlgo-ntc__x summary { cursor: pointer; color: var(--dl-sea); min-height: 36px; display: flex; align-items: center; }
  .dlgo-ntc__x pre { white-space: pre-wrap; font-family: var(--dl-sans); margin: 4px 0 0; line-height: 1.8; max-height: 320px; overflow: auto; border-left: 2px solid var(--dl-hair); padding-left: 12px; }
  .dlgo-ntc__o { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 13px; font-weight: 700; color: var(--dl-sea); text-decoration: none; white-space: nowrap; }
  .dlgo-sub { margin-top: 26px; }
  .dlgo-sub h3 { font-size: 14px; font-weight: 700; margin: 0 0 6px; color: var(--dl-ink); } .dlgo-sub h3 small { font-weight: 400; color: var(--dl-ink2); margin-left: 8px; }
  .dlgo-more { appearance: none; border: 0; background: none; padding: 0; min-height: 44px; font-size: 13px; color: var(--dl-sea); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .dlgo-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; }
  .dlgo-kv { border-top: 1px solid var(--dl-ink); }
  .dlgo-kv__r { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; border-bottom: 1px solid var(--dl-hair); padding: 10px 0; font-size: 14px; line-height: 1.75; color: var(--dl-ink); }
  .dlgo-kv__r small { display: block; font-size: 12px; color: var(--dl-ink2); }
  .dlgo-kv__k { color: var(--dl-ink2); font-size: 13px; }
  .dlgo-tel { color: var(--dl-sea); font-family: var(--dl-mono); font-weight: 500; white-space: nowrap; text-decoration: none; }
  .dlgo-link { margin-left: 12px; color: var(--dl-sea); font-weight: 700; text-decoration: none; }
  .dlgo-foot { margin-top: 28px; }
  @media (max-width: 859px) {
    .dl-hero--go { height: auto; scroll-margin-top: 0; }
    .dl-hero--go .dl-hero__spacer { height: 380px; }
    .dl-hero--go .dl-title { font-size: 26px; line-height: 1.45; margin: 8px 0 8px; }
    .dlgo-nums { display: grid; grid-template-columns: 1.3fr 1fr .8fr .9fr; margin-top: 14px; }
    .dlgo-num { padding: 8px 8px 0 0; margin-right: 8px; }
    .dlgo-num b { font-size: 24px; } .dlgo-num b small { font-size: 12px; }
    .dlgo-num span { white-space: normal; line-height: 1.4; display: block; }
    .dl-hero--go .dl-legend { display: flex; gap: 4px 12px; margin-top: 10px; }
    .dlgo-mode button { font-size: 18px; padding-right: 12px; margin-right: 12px; }
    .dlb__t, .dlb__t tbody { display: block; }
    .dlb__r { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; grid-template-areas: "tm rt rt" "tm no no" "tm st fare"; column-gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--dl-hair); position: relative; }
    .dlb__r td { border: 0; padding: 0; width: auto !important; }
    .dlb__tm { grid-area: tm; align-self: start; } .dlb__rt { grid-area: rt; } .dlb__no { grid-area: no; font-size: 13px; white-space: normal; } .dlb__st { grid-area: st; font-size: 13px; align-self: center; } .dlb__fare { grid-area: fare; }
    .dlb__tt { font-size: 27px; }
    .dlb__fare button, .dlb__fare > span { flex-direction: row; gap: 6px; align-items: center; }
    .dlb__fare small { display: none; }
    .dlb__r.is-next .dlb__tm::before { left: -8px; } .dlb__r.is-next td { background: none; } .dlb__r.is-next { background: rgba(200,83,42,.05); }
    .dlb__fx { display: block; } .dlb__fx td { display: block; }
    .dlgo-ntc li { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; }
    .dlgo-ntc__d { grid-column: 1 / -1; font-size: 13px; }
    .dlgo-cols { grid-template-columns: minmax(0, 1fr); }
    .dlgo-cols .dlgo-kv + .dlgo-kv { margin-top: 20px; }
  }
  /* 數據語言・藍眼淚（2026-10-17，/bluetear；portal.js 的 BlueTearView、live-bluetear.js 的 LiveArt.glow／btBand／btForecast／btMap；類名前綴 btp-、btg-、btb-、btf2-）
     整頁淺色底（夜間模式也是：海岸微光是作品內容可以深，頁面底色仍淺）；色票沿用 --dl-*。 */
  html:has(.btp) body { background: var(--dl-paper); }
  .btp { color: var(--dl-ink); font-family: var(--dl-sans); padding-bottom: 24px; }
  .btp .dl-num { font-family: var(--dl-mono); font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }
  .btp .dl-est { margin-left: 6px; }
  .btp__hero { padding-top: 26px; }
  .btp__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .btp__top .dl-eyebrow b { color: var(--dl-ink); }
  .dl-title.has-lines { font-size: 50px; margin-bottom: 4px; }
  .dl-title__ln { display: block; }
  .dl-title__ln + .dl-title__ln { font-weight: 700; font-size: 38px; color: #22383e; }
  .btp__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0 36px; margin-top: 20px; }
  .btp__left { min-width: 0; }
  /* 活圖外框（覆寫首頁那種滿版的 .dl-hero） */
  .dl-hero.btp__frame { height: 540px; border-radius: 4px; border: 0; background: #071524; }
  .dl-hero.btp__frame::before, .btp__frame .dl-hero__cap, .btp__frame .dl-hero__spacer { display: none; }
  .dl-hero.btp__frame.is-flat { background: #0b1d2e; }
  .btp__frame .btg__top { cursor: pointer; touch-action: manipulation; }
  .btg__labs { position: absolute; inset: 0; pointer-events: none; }
  .btg__lab { position: absolute; color: #e8f6f6; line-height: 1; white-space: nowrap; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
  .btg__lab small { display: block; font-family: var(--dl-serif); font-size: 15px; font-weight: 700; letter-spacing: .1em; color: rgba(222,240,242,.86); margin-bottom: 5px; }
  .btg__lab b { font-family: var(--dl-mono); font-weight: 500; font-size: 42px; letter-spacing: -.02em; color: #bff3ee; }
  .btg__lab b u { text-decoration: none; font-size: 18px; margin-left: 2px; color: rgba(191,243,238,.75); }
  .btg__lab.is-r { text-align: right; } .btg__lab.is-off b { color: rgba(222,240,242,.6); }
  .btg__inset { position: absolute; border: 1px solid rgba(214,234,244,.28); pointer-events: none; }
  .btg__inset span { position: absolute; left: 8px; top: 5px; font-size: 12px; color: rgba(214,234,244,.6); letter-spacing: .06em; }
  .btg__time { position: absolute; left: 14px; top: 12px; font-size: 13px; color: rgba(232,246,248,.9); pointer-events: none; letter-spacing: .04em; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
  .btg__time b { font-family: var(--dl-mono); font-size: 22px; font-weight: 500; color: #fff; margin-right: 8px; vertical-align: -2px; }
  .btg__cap { position: absolute; left: 14px; bottom: 10px; right: 110px; font-size: 12px; color: rgba(214,234,244,.72); pointer-events: none; line-height: 1.5; }
  .btg__scale { position: absolute; right: 14px; bottom: 10px; font-size: 12px; color: rgba(214,234,244,.72); pointer-events: none; text-align: right; }
  .btg__scale i { display: block; height: 6px; border: 1px solid rgba(214,234,244,.6); border-top: 0; margin: 0 0 3px auto; }
  /* 時間軸（DLTimeline 的 className，軌道加高放文字標記） */
  .btp__tl { margin-top: 10px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "track track" "clock act"; gap: 2px 12px; }
  .btp__tl .dl-tl__track { grid-area: track; } .btp__tl .dl-tl__clock { grid-area: clock; } .btp__tl .dl-tl__act { grid-area: act; }
  .btp__tl .dl-tl__cl { flex-direction: row; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .btp__tl .dl-tl__time { font-size: 18px; } .btp__tl .dl-tl__sub { font-size: 13px; }
  .btp__tl .dl-tl__clock { min-width: 0; }
  .btp__tl .dl-tl__track { height: 100px; }
  .btp__tl .dl-tl__svg { top: 18px; height: 46px; }
  .btp__tl .dl-tl__lab { top: 82px; }
  .btp__tl .dl-tl__now { top: 60px; }
  .btp__tl .dl-tl__cur { top: 16px; height: 50px; background: var(--dl-ink); }
  .btp__tl.is-live .dl-tl__cur { background: var(--dl-warm); }
  .btp__tl .dl-tl__band.is-night rect { fill: #e4eae8; }
  .btp__tl .dl-tl__band.is-win rect { fill: rgba(20,169,156,.22); }
  .btp__tl .dl-tl__curve { stroke: #0c7078; stroke-width: 1.4; }
  .btp__tl .dl-tl__area { fill: none; }
  .dl-tl__line line { stroke: var(--dl-ink3); stroke-width: 1.5; }
  .dl-tl__line.is-moon line { stroke: #b7791f; stroke-width: 2.4; }
  .dl-tl__mk { position: absolute; inset: 0; pointer-events: none; }
  .dl-tl__mk span { position: absolute; transform: translateX(-50%); font-size: 12px; line-height: 14px; white-space: nowrap; color: var(--dl-ink2); }
  .dl-tl__mk span.is-first { transform: none; } .dl-tl__mk span.is-last { transform: translateX(-100%); }
  .dl-tl__mk .is-top { top: 0; } .dl-tl__mk .is-hi { top: 20px; } .dl-tl__mk .is-lo { top: 47px; } .dl-tl__mk .is-bot { top: 66px; }
  .dl-tl__mk .is-win { color: var(--dl-deep); } .dl-tl__mk .is-moon { color: #b7791f; }
  /* 側欄 */
  .btp__side { display: flex; flex-direction: column; border-top: 2px solid var(--dl-ink); }
  .btp__side section { padding: 16px 0 18px; border-bottom: 1px solid var(--dl-hair); }
  .btp__side h2 { font-size: 14px; font-weight: 700; letter-spacing: .1em; margin: 0 0 6px; color: var(--dl-ink); font-family: var(--dl-sans); }
  .btp__big { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
  .btp__big > b { font-family: var(--dl-mono); font-weight: 500; font-size: 64px; line-height: 1; color: var(--dl-deep); letter-spacing: -.03em; }
  .btp__big > b u { text-decoration: none; font-size: 26px; margin-left: 2px; }
  .btp__big > span { font-size: 14px; color: var(--dl-ink2); line-height: 1.6; }
  .btp__kv { display: grid; grid-template-columns: 4.2em 1fr; gap: 4px 12px; margin: 12px 0 0; font-size: 14px; line-height: 1.7; }
  .btp__kv dt { color: var(--dl-ink3); } .btp__kv dd { margin: 0; color: var(--dl-ink); }
  .btp__kv .dl-num { font-size: 14px; font-weight: 500; }
  .btp__why { font-size: 13px; color: var(--dl-ink2); margin: 10px 0 0; line-height: 1.7; }
  .btp__why button { border: 0; background: none; color: var(--dl-sea); cursor: pointer; padding: 0 2px; min-height: 32px; font-size: 13px; font-weight: 700; }
  .btp__lv4 { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 6px; }
  .btp__lv4 div { padding: 4px 0 6px 10px; border-left: 1px solid var(--dl-hair); }
  .btp__lv4 div:first-child { border-left: 0; padding-left: 0; }
  .btp__lv4 small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--dl-ink2); }
  .btp__lv4 b { display: block; font-family: var(--dl-mono); font-weight: 500; font-size: 30px; line-height: 1.2; color: var(--dl-ink3); }
  .btp__lv4 .is-on b { color: var(--dl-ink); }
  .btp__dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; background: #c2ccca; }
  .btp__dot.l0 { background: #7a8a94; } .btp__dot.l1 { background: #7fd3cb; } .btp__dot.l2 { background: var(--dl-tear); } .btp__dot.l3 { background: var(--dl-deep); box-shadow: 0 0 0 3px rgba(20,169,156,.25); }
  .btp__dot.is-none { background: transparent; border: 1.5px solid #9aa9ad; }
  .btp__m { font-size: 13px; color: var(--dl-ink2); margin: 8px 0 0; }
  .btp__cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 14px; border-radius: 26px; border: 0; background: var(--dl-deep); color: #fff; font: 700 16px/1.2 var(--dl-sans); letter-spacing: .06em; cursor: pointer; }
  .btp__cta:hover { background: #0a5a62; }
  /* 分頁 */
  .btp__tabs { display: flex; margin-top: 40px; border-bottom: 1px solid var(--dl-hair); position: sticky; top: 0; background: rgba(244,246,244,.96); z-index: 5; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .btp__tabs button { min-height: 52px; padding: 0 26px; border: 0; background: none; font: 700 16px/1 var(--dl-sans); letter-spacing: .1em; color: var(--dl-ink2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
  .btp__tabs button[aria-selected="true"] { color: var(--dl-ink); border-bottom-color: var(--dl-ink); }
  .btp__sec { padding: 30px 0 6px; }
  .btp__sec + .btp__sec { border-top: 1px solid var(--dl-hair); }
  .btp__mapsec { border-top: 1px solid var(--dl-hair); margin-top: 12px; }
  .btp__sec h2 { font: 700 24px/1.4 var(--dl-serif); letter-spacing: .06em; margin: 0; color: var(--dl-ink); }
  .btp__sub { font-size: 13.5px; color: var(--dl-ink2); margin: 4px 0 0; max-width: 46em; line-height: 1.75; }
  .btp__none { font-size: 14.5px; color: var(--dl-ink2); margin: 12px 0 0; }
  .btp__hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
  /* 觀賞建議 */
  .btp__adv { display: grid; grid-template-columns: 1fr 1.3fr 1fr; margin-top: 18px; }
  .btp__adv > div { padding: 2px 24px 10px; border-left: 1px solid var(--dl-hair); }
  .btp__adv > div:first-child { border-left: 0; padding-left: 0; }
  .btp__adv small { display: block; font-size: 13px; color: var(--dl-ink3); letter-spacing: .1em; }
  .btp__adv b { display: block; font: 700 26px/1.35 var(--dl-serif); margin: 4px 0 2px; }
  .btp__adv b.dl-num { font-family: var(--dl-mono); font-weight: 500; font-size: 28px; }
  .btp__adv p { margin: 0; font-size: 13.5px; color: var(--dl-ink2); line-height: 1.7; }
  /* 觀賞點地圖 */
  .btp__zone { display: inline-flex; border: 1px solid var(--dl-hair); border-radius: 22px; padding: 3px; background: #fbfcfb; }
  .btp__zone button { min-height: 38px; padding: 0 18px; border: 0; border-radius: 19px; background: none; font-size: 14px; cursor: pointer; color: var(--dl-ink2); }
  .btp__zone button[aria-pressed="true"] { background: var(--dl-ink); color: #f4f6f4; }
  .btp__mapgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0 36px; margin-top: 16px; }
  .btp__mapc { min-width: 0; }
  .btp__map { display: block; width: 100%; background: #e6eeec; border-radius: 4px; }
  .btp__map .btm2__spot { cursor: pointer; } .btp__map text { font-family: var(--dl-sans); }
  .btp__legend { display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: 13px; color: var(--dl-ink2); margin-top: 10px; }
  .btp__legend span { display: inline-flex; align-items: center; gap: 6px; }
  .btp__legend b { color: var(--dl-sea); font-weight: 500; }
  .btp__pick { border-top: 2px solid var(--dl-ink); padding-top: 14px; }
  .btp__pick h3 { font: 700 22px/1.4 var(--dl-serif); margin: 0; letter-spacing: .04em; }
  .btp__pick h3 small { font: 400 13px/1 var(--dl-sans); color: var(--dl-ink3); margin-left: 8px; letter-spacing: .04em; }
  .btp__pick p { font-size: 14px; color: var(--dl-ink2); margin: 6px 0 0; line-height: 1.75; }
  .btp__pick a { color: var(--dl-sea); }
  .btp__rate { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--dl-hair); }
  .btp__rate b { font-family: var(--dl-mono); font-size: 34px; font-weight: 500; color: var(--dl-deep); line-height: 1; }
  .btp__rate span { font-size: 13px; color: var(--dl-ink2); line-height: 1.5; }
  .btp__spots { list-style: none; margin: 10px 0 0; padding: 0; }
  .btp__spots li { border-top: 1px solid var(--dl-hair); }
  .btp__spots button { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 2px; background: none; border: 0; cursor: pointer; font-size: 14px; text-align: left; color: var(--dl-ink); }
  .btp__spots button:hover { color: var(--dl-sea); }
  .btp__spots em { font-style: normal; font-family: var(--dl-mono); font-size: 13px; color: var(--dl-ink2); }
  .btp__na { color: var(--dl-ink3); font-size: 13px; }
  .btp__lnk { border: 0; background: none; color: var(--dl-sea); cursor: pointer; font-size: 14px; font-weight: 700; min-height: 44px; padding: 0; }
  /* 今晚的回報 */
  .btp__rep { list-style: none; margin: 14px 0 0; padding: 0; }
  .btp__rep li { display: grid; grid-template-columns: 16px 1fr auto; gap: 4px 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--dl-hair); font-size: 14px; }
  .btp__rep time { font-family: var(--dl-mono); color: var(--dl-ink2); font-size: 13px; }
  .btp__ph { display: block; margin-top: 6px; width: 120px; max-width: 100%; }
  .btp__ph img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
  .btp__note { display: block; color: var(--dl-ink2); }
  .btp__fine { font-size: 12.5px; color: var(--dl-ink3); margin: 18px 0 0; line-height: 1.75; max-width: 60em; }
  /* 最佳時節 */
  .btp__band { margin-top: 12px; }
  .btb__c { display: block; width: 100%; touch-action: pan-y; }
  .btb__ms { display: grid; margin-top: 4px; }
  .btb__ms > div { border-left: 1px solid var(--dl-hair); padding: 6px 0 0 8px; min-width: 0; }
  .btb__ms b { display: block; font-family: var(--dl-mono); font-weight: 500; font-size: 26px; line-height: 1.1; color: var(--dl-ink); }
  .btb__ms b.is-hi { color: var(--dl-deep); }
  .btb__ms small { display: block; font-size: 12px; color: var(--dl-ink3); line-height: 1.5; }
  .btb__ms .is-now { border-left: 2px solid var(--dl-warm); }
  .btb__msh { font-size: 12px; color: var(--dl-ink3); line-height: 1.4; padding-top: 8px; }
  .btb__leg { display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: 13px; color: var(--dl-ink2); margin-top: 10px; }
  .btb__leg span { display: inline-flex; align-items: center; gap: 6px; } .btb__leg i { display: inline-block; }
  .btf2__low { font-size: 15px; color: var(--dl-ink); margin: 14px 0 0; padding: 10px 0 10px 14px; border-left: 2px solid var(--dl-hold); }
  .btf2__low.is-ok { border-color: var(--dl-go); }
  .btf2__svg { display: block; width: 100%; margin-top: 12px; }
  .btf2__g { display: grid; margin-top: 2px; }
  .btf2__g span { padding: 7px 2px; text-align: center; border-top: 1px solid var(--dl-hair); white-space: pre-line; line-height: 1.35; font-family: var(--dl-mono); font-size: 12.5px; color: var(--dl-ink2); }
  .btf2__g span.is-rh { text-align: left; font-family: var(--dl-sans); color: var(--dl-ink3); }
  .btf2__moon { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 1px solid #9aa9ad; vertical-align: -1px; margin-right: 4px; }
  .btf2__l { display: none; list-style: none; margin: 10px 0 0; padding: 0; }
  .btp__leg2 { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--dl-ink2); margin-top: 6px; }
  .btp__leg2 span { display: inline-flex; align-items: center; gap: 6px; }
  .btp__leg2 i { display: inline-block; width: 18px; height: 0; border-top: 1.5px solid; }
  .btp__tip { font-size: 13.5px; color: var(--dl-ink2); margin: 14px 0 0; max-width: 52em; line-height: 1.75; }
  /* 影響因素 */
  .btp__why2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 8px; }
  .btp__why2 > div { padding: 18px 0 14px; border-top: 1px solid var(--dl-hair); min-width: 0; }
  .btp__why2 h3 { font-size: 16px; font-weight: 700; margin: 0; letter-spacing: .06em; }
  .btp__svgc { display: block; width: 100%; margin-top: 10px; } .btp__svgc text { font-family: var(--dl-sans); }
  .btp__dp { list-style: none; margin: 12px 0 0; padding: 0; }
  .btp__dp li { display: grid; grid-template-columns: 9em minmax(0, 1fr) 3.4em; gap: 10px; align-items: center; min-height: 30px; font-size: 13.5px; }
  .btp__dp li > span:first-child { color: var(--dl-ink); line-height: 1.4; }
  .btp__trk { position: relative; height: 18px; }
  .btp__trk::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--dl-hair); }
  .btp__trk i { position: absolute; top: 50%; height: 1.5px; background: var(--dl-sea); transform: translateY(-50%); }
  .btp__trk b { position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--dl-sea); transform: translate(-50%, -50%); }
  .btp__trk.is-neg i, .btp__trk.is-neg b { background: var(--dl-ink3); }
  .btp__trk u { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--dl-ink2); }
  .btp__dp em { font-style: normal; font-family: var(--dl-mono); font-size: 13px; text-align: right; color: var(--dl-ink); }
  .btp__dp small { grid-column: 2 / 4; font-size: 12px; color: var(--dl-ink3); margin-top: -6px; }
  .btp__find { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
  .btp__find li { padding: 14px 0; border-top: 1px solid var(--dl-hair); }
  .btp__find b { display: block; font: 700 18px/1.5 var(--dl-serif); letter-spacing: .04em; }
  .btp__find p { margin: 4px 0 0; font-size: 14px; color: var(--dl-ink2); line-height: 1.8; }
  .btp__isles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; }
  .btp__isles h4 { font-size: 14px; margin: 14px 0 0; font-weight: 700; letter-spacing: .08em; }
  @media (max-width: 899px) {
    .btp__hero { padding-top: 16px; }
    .dl-title.has-lines { font-size: 33px; line-height: 1.32; }
    .dl-title__ln + .dl-title__ln { font-size: 24px; margin-top: 4px; }
    .btp__grid { grid-template-columns: minmax(0, 1fr); margin-top: 14px; }
    .dl-hero.btp__frame { height: min(120vw, 470px); margin: 0 calc(-1 * var(--shell-pad, 16px)); border-radius: 0; }
    .btg__lab small { font-size: 13px; margin-bottom: 3px; } .btg__lab b { font-size: 30px; } .btg__lab b u { font-size: 14px; }
    .btg__cap { right: 118px; } .btg__tap { display: none; }
    .btp__side { margin-top: 18px; }
    .btp__big > b { font-size: 54px; }
    .btp__tabs { margin: 28px calc(-1 * var(--shell-pad, 16px)) 0; padding: 0 4px; }
    .btp__tabs button { flex: 1; padding: 0 6px; font-size: 15px; letter-spacing: .06em; }
    .btp__sec h2 { font-size: 21px; }
    .btp__adv { grid-template-columns: 1fr; }
    .btp__adv > div { border-left: 0; padding: 12px 0; border-top: 1px solid var(--dl-hair); }
    .btp__adv > div:first-child { border-top: 0; padding-top: 0; }
    .btp__adv b { font-size: 22px; }
    .btp__mapgrid { grid-template-columns: minmax(0, 1fr); }
    .btp__zone { display: flex; width: 100%; } .btp__zone button { flex: 1; padding: 0 8px; }
    .btp__pick { margin-top: 18px; }
    .btb__ms b { font-size: 19px; } .btb__ms > div { padding-left: 4px; }
    .btf2__g { display: none; }
    .btf2__l { display: block; }
    .btf2__l li { display: grid; grid-template-columns: 4.6em 1fr; gap: 2px 10px; padding: 10px 0; border-top: 1px solid var(--dl-hair); font-size: 13.5px; }
    .btf2__l li b { font-family: var(--dl-mono); font-weight: 500; } .btf2__l li span { color: var(--dl-ink2); }
    .btp__why2, .btp__find, .btp__isles { grid-template-columns: 1fr; }
    .btp__dp li { grid-template-columns: 6.6em minmax(0, 1fr) 3.2em; }
  }
  /* 數據語言・海空動態（2026-10-17，/tracking；portal.js 的 TrackView、活圖 live-tracking.js 的 LiveArt.tracking；類名前綴 dltrk-、trk-）
     海圖是作品內容（夜間模式也是淺底）；下方兩欄清單跟著網站日夜色 */
  .dl-hero--trk { height: 600px; scroll-margin-top: 124px; }
  .dl-hero--trk::before { display: none; }
  .dl-hero--trk .dl-hero__capin { max-width: 450px; }
  .dl-hero--trk .dl-title { font-size: 36px; line-height: 1.4; letter-spacing: .02em; margin: 14px 0 10px; }
  .dl-hero--trk .dl-title__cl { white-space: normal; }
  .dltrk-nums .dlgo-num b { font-size: 28px; }
  .dltrk-view { display: inline-flex; margin-top: 16px; border: 1px solid var(--dl-hair); border-radius: 23px; background: rgba(251,252,251,.92); overflow: hidden; }
  .dltrk-view button { appearance: none; border: 0; background: none; min-height: 44px; padding: 0 16px; font: 500 13px/1 var(--dl-sans); color: var(--dl-ink2); cursor: pointer; letter-spacing: .04em; white-space: nowrap; }
  .dltrk-view button + button { border-left: 1px solid var(--dl-hair); }
  .dltrk-view button.is-on { background: var(--dl-deep); color: #f4f6f4; font-weight: 700; }
  .dltrk-view button:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -2px; }
  .dl-hero--trk .dl-legend { margin-top: 14px; }
  /* 清單 */
  .dltrk .dl-col { padding-top: 14px; }
  .dltrk .dl-colh h3 { flex-wrap: wrap; }
  .dltrk .dl-colh h3 .dl-sh__m { font: 400 13px/1.5 var(--dl-sans); margin-left: 4px; padding: 0; }
  .trk-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--dl-ink); }
  .trk-row { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 8px 12px 0; border-bottom: 1px solid var(--dl-hair); color: var(--dl-ink); }
  .trk-row.is-link { cursor: pointer; }
  .trk-row.is-link:hover { background: rgba(12,112,120,.05); }
  .trk-row.is-link:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -2px; }
  .trk-row.is-on { background: rgba(200,83,42,.07); }
  .trk-row.is-on::before { content: ""; position: absolute; left: -10px; top: 10px; bottom: 10px; width: 3px; background: var(--dl-warm); }
  .trk-row .livemodel { margin: -6px 0; }
  .trk-row__b { min-width: 0; line-height: 1.55; }
  .trk-row__t { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
  .trk-row__t > b { font-size: 16px; font-weight: 700; letter-spacing: .02em; }
  .trk-row__t .airlogo { width: 18px; height: 18px; margin-right: -2px; }
  .trk-row__code { font-family: var(--dl-mono); font-weight: 600 !important; }
  .trk-row__rt { font-size: 14px; color: var(--dl-ink2); }
  .trk-row__en { font-size: 12px; color: var(--dl-ink3); }
  .trk-row__st { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--dl-ink2); white-space: nowrap; }
  .trk-row__st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dl-ink3); flex: none; }
  .trk-row__st.is-go::before { background: var(--dl-go); }
  .trk-row__st.is-hold { color: var(--dl-hold); } .trk-row__st.is-hold::before { background: var(--dl-hold); }
  .trk-row__st.is-stop { color: var(--dl-stop); } .trk-row__st.is-stop::before { background: var(--dl-stop); }
  .trk-row__l { font-size: 14px; font-weight: 600; }
  .trk-row__l.is-est { color: var(--dl-sea); }
  .trk-row__m { font-size: 12.5px; color: var(--dl-ink2); }
  .trk-row__trip { font-size: 13.5px; }
  .trk-row__trip b { color: var(--dl-warm); }
  .trk-row__go { font-size: 13px; font-weight: 700; color: var(--dl-sea); white-space: nowrap; }
  .trk-row__go.is-off { color: var(--dl-ink3); font-weight: 400; }
  .dltrk .tmrfirst { margin-top: 0; border-radius: 0; background: none; border-bottom: 1px solid var(--dl-hair); padding: 12px 0; }
  .dltrk .dl-note + .dl-note { margin-top: 4px; }
  html:not([lang^="zh"]) .dl-hero--trk .dl-title { font-size: 28px; }
  @media (max-width: 859px) {
    html:not([lang^="zh"]) .dl-hero--trk .dl-title { font-size: 22px; }
    .dl-hero--trk { height: auto; scroll-margin-top: 0; }
    .dl-hero--trk .dl-hero__spacer { height: 400px; }
    .dl-hero--trk .dl-title { font-size: 25px; line-height: 1.45; margin: 8px 0 8px; }
    .dl-hero--trk .dl-legend { display: flex; gap: 4px 12px; margin-top: 10px; }
    .dltrk-nums .dlgo-num b { font-size: 23px; }
    .dltrk-view { margin-top: 12px; }
    .dltrk-tl .dl-tl__lab span.is-minor { display: inline; }
    .trk-row { grid-template-columns: 48px minmax(0, 1fr); padding-right: 0; }
    .trk-row .livemodel { width: 48px; height: 48px; }
    .trk-row__go { grid-column: 2; }
    .trk-row.is-on::before { left: -6px; }
  }
  html:not([lang^="zh"]) .dl-title.has-lines { font-size: 38px; } html:not([lang^="zh"]) .dl-title__ln + .dl-title__ln { font-size: 28px; }
  @media (max-width: 899px) { html:not([lang^="zh"]) .dl-title.has-lines { font-size: 26px; } html:not([lang^="zh"]) .dl-title__ln + .dl-title__ln { font-size: 20px; } }
  /* 數據語言・馬祖現場（2026-10-17，/live；portal.js 的 liveView、LiveStage；類名前綴 dll-）
     直播就是這一頁的活圖（不另外畫動畫）：頁名小標＋「這是怎麼來的」、資料組成的標題、細線分頁、播放器｜細線右側面板、各島能見度與天氣的資料帶。
     日夜模式都跟網站走（顏色用 --dl-* 變數）；播放器本身維持深色（作品內容）。 */
  [data-theme="dark"] .dll {
    --dl-paper: var(--surface); --dl-paper2: var(--surface-raised); --dl-ink: var(--ink); --dl-ink2: #a9b8bb; --dl-ink3: #82949a; --dl-hair: var(--line);
    --dl-sea: #5cc2c4; --dl-deep: #8ad8d6; --dl-warm: #f08a5d; --dl-go: #5fcf94; --dl-hold: #e3b25c; --dl-stop: #f08a7c;
  }
  html:has(.dll):not([data-theme="dark"]) body { background: var(--dl-paper); }
  .dll { font-family: var(--dl-sans); color: var(--dl-ink); }
  .dll > .block.dll-head { margin-top: 0; padding-bottom: 0; margin-bottom: 0; }
  .dll-kick { display: flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; padding: 22px 0 6px; }
  .dll-pn { font-family: var(--dl-serif); font-weight: 900; font-size: 18px; letter-spacing: .12em; margin: 0; color: var(--dl-ink); }
  .dll-pm { font-size: 13px; color: var(--dl-ink2); }
  .dll-kick .dl-btn { margin-left: auto; border-radius: 0; border-color: var(--dl-ink); background: transparent; color: var(--dl-ink); letter-spacing: .06em; }
  .dll-kick .dl-btn:hover { background: var(--dl-ink); color: var(--dl-paper); }
  .dll-lead { padding: 20px 0 14px; }
  .dll-lead .dl-title { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.3; margin: 0; max-width: 24em; }
  .dll-lead .dl-sub { margin-top: 8px; }
  .dll-lead .dl-sub > span { margin-right: 2px; }
  .dll-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--dl-hair); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .dll-tabs::-webkit-scrollbar { display: none; }
  .dll-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px 0 0; margin-right: 12px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer;
    font: 400 15px/1 var(--dl-sans); color: var(--dl-ink2); letter-spacing: .06em; white-space: nowrap; }
  .dll-tab:hover { color: var(--dl-ink); }
  .dll-tab[aria-selected="true"] { color: var(--dl-ink); font-weight: 700; border-bottom-color: var(--dl-ink); }
  .dll-tab:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -2px; }
  .dll-tab__n { font-family: var(--dl-mono); font-size: 13px; font-weight: 500; color: var(--dl-ink3); letter-spacing: 0; }
  .dll-tab[aria-selected="true"] .dll-tab__n { color: var(--dl-warm); }

  .dll-main { padding-top: 22px; }
  .dll .lv { gap: 22px 32px; }
  .dll .lvstage { border-radius: 2px; }
  /* 右側面板：不用卡片外框，細線分段 */
  .dll .lv__side { padding: 0; border: 0; border-radius: 0; background: none; gap: 16px; }
  .dll .lv__list { gap: 14px 12px; }
  .dll .lvcard { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; gap: 6px; color: var(--dl-ink); }
  .dll .lvcard:hover { border: 0; } .dll .lvcard:hover .lvcard__pic { outline-color: var(--dl-ink3); }
  .dll .lvcard__pic { border-radius: 2px; outline: 1px solid var(--dl-hair); outline-offset: 0; }
  .dll .lvcard.is-on { box-shadow: none; }
  .dll .lvcard.is-on .lvcard__pic { outline: 2px solid var(--dl-ink); outline-offset: 2px; }
  .dll .lvcard__name { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; padding: 0; font-size: 13.5px; line-height: 1.45; font-weight: 500; color: var(--dl-ink2); }
  .dll .lvcard.is-on .lvcard__name { color: var(--dl-ink); font-weight: 700; }
  .dll .lvcard__name .lvstage__dot { width: 6px; height: 6px; background: var(--dl-warm); }
  .dll .lvcard__name .lvstage__dot.is-fog { background: var(--dl-hold); } .dll .lvcard__name .lvstage__dot.is-night { background: var(--dl-deep); } .dll .lvcard__name .lvstage__dot.is-off { background: var(--dl-ink3); }
  .dll .lvcard__st { position: static; padding: 0; border-radius: 0; background: none; font-size: 12px; line-height: 1.45; font-weight: 700; letter-spacing: .04em; color: var(--dl-warm); }
  .dll .lvcard__st.is-fog { background: none; color: var(--dl-hold); } .dll .lvcard__st.is-night { background: none; color: var(--dl-deep); } .dll .lvcard__st.is-off { background: none; color: var(--dl-ink3); }
  .dll .lv__info { padding: 14px 0 0; border-top: 1px solid var(--dl-hair); }
  .dll .lv__name { font-family: var(--dl-serif); font-weight: 900; font-size: 20px; line-height: 1.4; letter-spacing: .04em; margin: 0 0 4px; color: var(--dl-ink); }
  .dll .lv__desc { font-size: 14px; line-height: 1.8; color: var(--dl-ink); margin: 0 0 12px; }
  .dll-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--dl-hair); margin: 0 0 12px; }
  .dll-facts .dl-cell { padding: 10px 6px 10px 0; border-right: 0; border-bottom: 1px solid var(--dl-hair); }
  .dll-facts .dl-cell:nth-child(odd) { border-right: 1px solid var(--dl-hair); }
  .dll-facts .dl-cell:nth-child(even) { padding-left: 14px; }
  .dll-facts .dl-cell__v b { font-size: 21px; }
  .dll .lv__src { margin: auto 0 0; font-size: 12px; line-height: 1.6; color: var(--dl-ink2); }

  /* 各島能見度與天氣：資料帶放在播放器下面，目前鏡頭所在的島淡底標出 */
  .dll-strip { margin-top: 30px; border-top: 2px solid var(--dl-ink); }
  .dll-strip .dl-strip { background: none; border-top: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .dll-strip .dl-wrap { max-width: none; padding-inline: 0; }
  .dll-strip .dl-strip__in { grid-template-columns: 132px repeat(var(--n), minmax(0, 1fr)); }
  .dll-sh { display: flex; flex-direction: column; gap: 4px; }
  .dll-sh b { font: 900 18px/1.3 var(--dl-serif); letter-spacing: .08em; color: var(--dl-ink); }
  .dll-strip[data-k="0"] .dl-cell:nth-child(2), .dll-strip[data-k="0"] .dl-cell:nth-child(3),
  .dll-strip[data-k="1"] .dl-cell:nth-child(4), .dll-strip[data-k="1"] .dl-cell:nth-child(5),
  .dll-strip[data-k="2"] .dl-cell:nth-child(6), .dll-strip[data-k="2"] .dl-cell:nth-child(7),
  .dll-strip[data-k="3"] .dl-cell:nth-child(8), .dll-strip[data-k="3"] .dl-cell:nth-child(9) { background: color-mix(in srgb, var(--dl-sea) 7%, transparent); }
  .dll-strip[data-k="0"] .dl-cell:nth-child(2) .dl-cell__grp, .dll-strip[data-k="1"] .dl-cell:nth-child(4) .dl-cell__grp,
  .dll-strip[data-k="2"] .dl-cell:nth-child(6) .dl-cell__grp, .dll-strip[data-k="3"] .dl-cell:nth-child(8) .dl-cell__grp { color: var(--dl-warm); border-top-color: var(--dl-warm); }
  .dll + .sitefoot, .lookroot[data-view="live"] > .sitefoot { margin-top: 64px; }

  @media (max-width: 1180px) { .dll-strip .dl-strip__in { grid-template-columns: 120px repeat(var(--n), minmax(0, 1fr)); } }
  @media (max-width: 1080px) { .dll .lv__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  @media (max-width: 859px) {
    .dll-kick { padding-top: 16px; }
    .dll-kick .dl-btn { min-height: 44px; }
    .dll-lead { padding: 12px 0 10px; }
    .dll-lead .dl-title { font-size: 26px; line-height: 1.38; }
    .dll-tab { padding-right: 10px; margin-right: 6px; font-size: 15px; }
    .dll-main { padding-top: 14px; }
    .dll .lv__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dll-strip { margin-top: 26px; }
    .dll-strip .dl-strip__in { grid-template-columns: repeat(var(--m), minmax(0, 1fr)); }
    .dll-strip .dl-strip__head { padding: 8px 0; }
    .dll-sh { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  }
  html:not([lang^="zh"]) .dll-lead .dl-title { font-size: clamp(24px, 2.6vw, 34px); }
  @media (max-width: 859px) { html:not([lang^="zh"]) .dll-lead .dl-title { font-size: 22px; } }

  /* 數據語言・第一次來、無障礙、行程（2026-10-17 第三階段第二批，沒有活圖；portal.js 的 DLPageHead、FirstView、AccessView、tripsView／tripDetail；類名前綴 dlpg-）
     頁名縮成小標＋「這是怎麼來的」、資料組成的大標題（DLSentence）、細線取代卡片框、標題宋體／內文黑體／數字等寬。
     無障礙頁的「路牌」風格（牌子、按鈕、電話、等級標籤、總覽表）是使用者 2026-10-10 選的，保留；只換頁首與出處、其他卡片改細線。 */
  [data-theme="dark"] .dlpg {
    --dl-paper: var(--surface); --dl-paper2: var(--surface-raised); --dl-ink: var(--ink); --dl-ink2: #a9b8bb; --dl-ink3: #82949a; --dl-hair: var(--line);
    --dl-sea: #5cc2c4; --dl-deep: #8ad8d6; --dl-warm: #f08a5d; --dl-go: #5fcf94; --dl-hold: #e3b25c; --dl-stop: #f08a7c;
  }
  html:has(.dlpg):not([data-theme="dark"]) body { background: var(--dl-paper); }
  .dlpg { font-family: var(--dl-sans); color: var(--dl-ink); }
  .dlpg h2, .dlpg h3 { font-family: var(--dl-serif); }
  .dlpg-head { border-bottom: 2px solid var(--dl-ink); padding-bottom: 16px; margin-bottom: 4px; }
  .dlpg-kick { display: flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; padding: 22px 0 6px; }
  .dlpg-pn { font-family: var(--dl-serif); font-weight: 900; font-size: 18px; letter-spacing: .12em; margin: 0; color: var(--dl-ink); }
  .dlpg-pm { font-size: 13px; color: var(--dl-ink2); }
  .dlpg-kick .dl-btn { margin-left: auto; border-radius: 0; border-color: var(--dl-ink); background: transparent; color: var(--dl-ink); letter-spacing: .06em; }
  .dlpg-kick .dl-btn:hover { background: var(--dl-ink); color: var(--dl-paper); }
  .dlpg-back { font: 500 13px/1 var(--dl-sans); min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--dl-sea); cursor: pointer; letter-spacing: .04em; }
  .dlpg-lead { padding: 16px 0 0; }
  .dlpg-lead .dl-title { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.3; margin: 0; max-width: 26em; }
  .dlpg-lead .dl-sub { margin-top: 8px; }
  .dlpg-lead .dl-sub > span { margin-right: 2px; }
  .dlpg-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } .dlpg-links a { color: var(--dl-sea); } .dlpg-links small { color: var(--dl-ink3); margin-left: 4px; }
  .dlpg-nums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--dl-hair); }
  .dlpg-nums li { display: grid; gap: 2px; padding: 12px 14px 12px 0; border-right: 1px solid var(--dl-hair); }
  .dlpg-nums li + li { padding-left: 16px; } .dlpg-nums li:last-child { border-right: 0; }
  .dlpg-nums b { font-family: var(--dl-mono); font-weight: 600; font-size: 34px; line-height: 1.1; color: var(--dl-ink); }
  .dlpg-nums span { font-size: 13px; color: var(--dl-ink2); display: inline-flex; gap: 6px; align-items: center; }
  .dlpg-nums .is-ok i { color: var(--dl-go); } .dlpg-nums .is-part i { color: var(--dl-hold); } .dlpg-nums .is-no i { color: var(--dl-stop); } .dlpg-nums .is-unk i { color: var(--dl-ink3); } .dlpg-nums i { font-style: normal; }

  /* 第一次來：大照片封面改成標題下一條照片；章節、誤解、各節改細線 */
  .fv.dlpg { padding-bottom: 24px; }
  .fv__band { position: relative; margin: 18px 0 0; height: clamp(150px, 22vw, 260px); overflow: hidden; border-radius: 2px; }
  .fv__band img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
  .dlpg .fv__chap { border: 0; border-top: 1px solid var(--dl-hair); border-radius: 0; background: none; margin: 22px 0; }
  .dlpg .fv__chap a { border-color: var(--dl-hair); padding: 14px 16px 14px 0; }
  .dlpg .fv__chap a:hover { background: color-mix(in srgb, var(--dl-sea) 6%, transparent); }
  .dlpg .fv__chap em { font-family: var(--dl-mono); font-weight: 500; font-size: 26px; color: var(--dl-ink3); }
  .dlpg .fv__chap a.is-alt em { color: var(--dl-ink3); }
  .dlpg .fv__chap b { font-family: var(--dl-serif); font-weight: 700; }
  .dlpg .fv__mythsec { background: none; border-radius: 0; border-top: 2px solid var(--dl-ink); padding: 20px 0; text-align: left; }
  .dlpg .fv__mythsec h2 { font-weight: 900; }
  .dlpg .fv__front { border-radius: 2px; border-color: var(--dl-hair); box-shadow: none; }
  .dlpg .fv__face, .dlpg .fv__flip { border-radius: 2px; }
  .dlpg .fv__flip.is-on, .dlpg .fv__back { background: var(--dl-deep); }
  .dlpg .fv__sec { background: none; border: 0; border-top: 1px solid var(--dl-hair); border-radius: 0; padding: 24px 0 18px; margin: 0; }
  .dlpg .fv__sec h2 { font-weight: 900; font-size: 26px; letter-spacing: .03em; }
  .dlpg .fv__head em { font-family: var(--dl-mono); font-weight: 500; font-size: 30px; color: var(--dl-ink3); }
  .dlpg .fv__todosec .fv__head em { color: var(--dl-ink3); }
  .dlpg .fv__lead { color: var(--dl-ink2); font-weight: 500; }
  .dlpg .fv__tips { background: none; border-radius: 0; border-left: 2px solid var(--dl-sea); padding: 4px 0 4px 14px; color: var(--dl-ink); }
  .dlpg .fv__tips > b { background: none; color: var(--dl-sea); padding: 0; font-size: 14px; }
  .dlpg .fv__prog { border-radius: 0; height: 4px; } .dlpg .fv__prog i { background: var(--dl-sea); }
  .dlpg .fv__gaps { background: none; border-radius: 0; border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); padding: 10px 0; }
  .dlpg .fv__chap a:nth-child(3n) { border-right: 0; }
  @media (max-width: 860px) { .dlpg .fv__chap a:nth-child(3n) { border-right: 1px solid var(--dl-hair); } .dlpg .fv__chap a:nth-child(2n) { border-right: 0; } }
  @media (max-width: 560px) { .dlpg .fv__chap a, .dlpg .fv__chap a:nth-child(3n) { border-right: 0; } }
  .dlpg .stt { gap: 0; border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); }
  .dlpg .stt__i, .dlpg .stt__i.is-sand, .dlpg .stt__i.is-wine, .dlpg .stt__i.is-go { background: none; border-radius: 0; border-right: 1px solid var(--dl-hair); padding: 10px 14px 10px 0; color: var(--dl-ink); }
  .dlpg .stt__i + .stt__i { padding-left: 14px; } .dlpg .stt__i:last-child { border-right: 0; }
  .dlpg .stt__v b { font-family: var(--dl-mono); font-weight: 600; } .dlpg .stt__l { font-weight: 500; color: var(--dl-ink2); }

  /* 無障礙：牌子保留；卡片（景點、行程路段、行前清單、條件篩選結果、會員回報、待確認）改細線 */
  .ax.dlpg { gap: 18px; padding-top: 0; }
  .ax.dlpg .ax__nums { display: none; }
  .ax .ax__sit.is-go, .ax .ax__sit.is-go b { color: #fff !important; } .ax .ax__sit.is-go.is-on, .ax .ax__sit.is-go.is-on b { color: var(--ax-k) !important; }   /* 數據語言的 .is-go 字色規則會蓋到「景點」這顆牌子 */
  .ax.dlpg .ax__now h2 { font-family: var(--dl-serif); font-weight: 900; }
  .ax.dlpg .ax__sitb { border: 0; border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); border-radius: 0; padding: 16px 0; background: none; }
  .ax.dlpg .ax__spot, .ax.dlpg .ax__mv, .ax.dlpg .ax__ans { border: 0; border-top: 1px solid var(--dl-hair); border-radius: 0; background: none; padding: 14px 0 6px; }
  .ax.dlpg .ax__spot { border-top: 3px solid var(--ax-unk); } .ax.dlpg .ax__spot.is-ok { border-top-color: #0c7a4d; } .ax.dlpg .ax__spot.is-part { border-top-color: #8a5a00; } .ax.dlpg .ax__spot.is-no { border-top-color: #b3261e; }
  .ax.dlpg .ax__grid { gap: 8px 28px; }
  .ax.dlpg .ax__spoth h3, .ax.dlpg .ax__mv h3, .ax.dlpg .ax__ans h3 { font-family: var(--dl-serif); font-weight: 700; }
  .ax.dlpg .ax__ans { border-top: 2px solid var(--dl-ink); }
  .ax.dlpg .ax__line { gap: 0; } .ax.dlpg .ax__line::before { width: 2px; left: 12px; background: var(--dl-ink); border-radius: 0; }
  .ax.dlpg .ax__stop { border: 0; border-bottom: 1px solid var(--dl-hair); border-radius: 0; background: none; }
  .ax.dlpg .ax__stop:first-child { border-top: 1px solid var(--dl-hair); }
  .ax.dlpg .ax__stop.is-gap { background: color-mix(in srgb, var(--ax-no) 7%, transparent); border-color: var(--dl-hair); }
  .ax.dlpg .ax__stop.is-gap .ax__stopb { background: none; border-radius: 0; }
  .ax.dlpg .ax__dot { left: -27px; width: 16px; height: 16px; border-width: 4px; }
  .ax.dlpg .ax__stop > summary b { font-family: var(--dl-serif); }
  .ax.dlpg .ax__todo { border: 0; border-bottom: 1px solid var(--dl-hair); border-radius: 0; background: none; padding: 12px 0; }
  .ax.dlpg .ax__gaps, .ax.dlpg .pgr__blk { border: 0; border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); border-radius: 0; background: none; padding-inline: 0; }
  .ax.dlpg .ax__tripc { border-width: 3px; }
  .ax.dlpg .ax__tags span { border-width: 1px; font-weight: 500; }
  .ax.dlpg .ax__ft { border-top-color: var(--dl-hair); }
  .ax.dlpg .ax__tbl, .ax.dlpg .ax__tel b, .ax.dlpg .ax__tl time, .ax.dlpg .ax__nums b { font-family: var(--dl-mono); }

  /* 行程：範例提示、操作鈕、地圖外框改細線；項目清單本來就是細線 */
  .dlpg-trips > .block { padding-top: 0; margin-top: 0; }
  .dlpg-trips .tripsample { background: none; border-radius: 0; border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); padding: 12px 0; }
  .dlpg-trips .tripacts > .dy-btn, .dlpg-trips .tripacts > a { border-radius: 0; border-color: var(--dl-hair); background: none; }
  .dlpg-trips .tripmap__m { border-radius: 2px; border-color: var(--dl-hair); }
  .dlpg-trips .tripitem { border-bottom-color: var(--dl-hair); }
  .dlpg-trips .tripitem__n { border-radius: 0; background: none; color: var(--dl-ink); font-family: var(--dl-mono); font-weight: 600; border: 1px solid var(--dl-ink); }
  .dlpg-trips .tripitem__time, .dlpg-trips .tripsum__total b, .dlpg-trips .tripexps__a { font-family: var(--dl-mono); }
  .dlpg-trips .tripitem__t b { font-family: var(--dl-serif); font-weight: 700; }
  .dlpg-trips .triptabs { border-bottom-color: var(--dl-hair); }
  .dlpg-trips .festlist__d { font-family: var(--dl-mono); }

  @media (max-width: 859px) {
    .dlpg-kick { padding-top: 16px; }
    .dlpg-lead { padding-top: 10px; }
    .dlpg-lead .dl-title { font-size: 26px; line-height: 1.38; }
    .dlpg-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dlpg-nums li:nth-child(2) { border-right: 0; } .dlpg-nums li:nth-child(3) { padding-left: 0; } .dlpg-nums li:nth-child(-n+2) { border-bottom: 1px solid var(--dl-hair); }
    .dlpg-nums b { font-size: 28px; }
    .ax.dlpg .ax__line { padding-left: 26px; }
  }
  html:not([lang^="zh"]) .dlpg-lead .dl-title { font-size: clamp(24px, 2.6vw, 34px); }
  @media (max-width: 859px) { html:not([lang^="zh"]) .dlpg-lead .dl-title { font-size: 22px; } }

  /* 數據語言・公共工程（2026-10-17，/works；portal.js 的 WorksView、WkBreak、WkSites，活圖 live-works.js 的 LiveArt.works；類名前綴 dlwk-、wkb-）
     主視覺＝自繪淺色海圖上的工程點（面積依金額、顏色依進度）；下面是各鄉各類別的細線長條、比較表（沿用 wk__ 樣式）、挖馬路與停水停電清單、會員回報 */
  .dl-hero--wk { height: 620px; scroll-margin-top: 124px; }
  .dl-hero--wk::before { display: none; }
  .dl-hero--wk .dl-hero__capin { max-width: 440px; }
  .dl-hero--wk .dl-title { font-size: 36px; line-height: 1.4; letter-spacing: .02em; margin: 14px 0 10px; }
  .dlwk-n { font-family: var(--dl-mono); font-weight: 600; font-size: .94em; letter-spacing: -.01em; }
  .dlwk-nums { flex-wrap: wrap; }
  .dlwk-nums .dlgo-num b { font-size: 28px; }
  .dlwk-nums .dlgo-num span { display: inline-flex; align-items: center; gap: 5px; }
  .dl-hero--wk .dl-legend { margin-top: 14px; }
  .dlwk-dock { border-top: 1px solid var(--dl-hair); }
  .dlwk .dl-sh h2 { font-size: 30px; }
  .dlwk-cols .dl-col { padding-top: 14px; }
  .wkb { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--dl-ink); }
  .wkb li { border-bottom: 1px solid var(--dl-hair); }
  .wkb__row { appearance: none; width: 100%; display: grid; grid-template-columns: 8.2em minmax(0, 1fr) 3.4em 6.4em; align-items: center; gap: 12px; min-height: 44px; padding: 6px 4px 6px 0; border: 0; background: none; font: inherit; color: var(--dl-ink); text-align: left; cursor: pointer; position: relative; }
  .wkb__row:hover { background: rgba(12,112,120,.05); }
  .wkb__row:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -2px; }
  .wkb__row.is-on { background: rgba(200,83,42,.07); }
  .wkb__row.is-on::before { content: ""; position: absolute; left: -10px; top: 8px; bottom: 8px; width: 3px; background: var(--dl-warm); }
  .wkb__lab { font-size: 14px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
  .wkb__bar { display: block; height: 6px; background: rgba(16,36,42,.06); }
  .wkb__fill { display: flex; height: 100%; min-width: 2px; }
  .wkb__fill i { display: block; height: 100%; min-width: 1px; }
  .wkb__n { text-align: right; white-space: nowrap; } .wkb__n b { font: 500 17px/1 var(--dl-mono); } .wkb__n small { font-size: 12px; color: var(--dl-ink2); }
  .wkb__a { text-align: right; white-space: nowrap; font: 500 13px/1 var(--dl-mono); color: var(--dl-ink2); }
  [data-theme="dark"] .wkb__bar { background: rgba(255,255,255,.08); }
  .dlwk-mode { margin: 0 0 14px; }
  .dlwk-mode small { font-weight: 400; color: var(--dl-ink3); }
  .dlwk-ctl { display: grid; gap: 10px; margin-bottom: 14px; }
  .dlwk .wk__more { border-radius: 22px; }
  /* 道路挖掘與停水停電清單 */
  .dlwk-sites { display: grid; gap: 12px; }
  .dlwk-sl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--dl-ink); }
  .dlwk-sl__it { position: relative; display: grid; grid-template-columns: 7.2em minmax(0, 1fr) auto; gap: 4px 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--dl-hair); scroll-margin-top: 140px; }
  .dlwk-sl__it.is-on { background: rgba(200,83,42,.07); }
  .dlwk-sl__it.is-on::before { content: ""; position: absolute; left: -10px; top: 10px; bottom: 10px; width: 3px; background: var(--dl-warm); }
  .dlwk-sl__k { display: inline-flex; flex-direction: column; gap: 2px; font-size: 13.5px; font-weight: 700; color: var(--c); padding-left: 14px; position: relative; line-height: 1.4; }
  .dlwk-sl__k::before { content: ""; position: absolute; left: 0; top: .32em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px dashed var(--c); }
  .dlwk-sl__k em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--dl-warm); }
  .dlwk-sl__b { display: grid; gap: 2px; min-width: 0; line-height: 1.55; }
  .dlwk-sl__b > b { font-size: 15.5px; }
  .dlwk-sl__when { font: 500 13px/1.5 var(--dl-mono); color: var(--dl-ink); }
  .dlwk-sl__w { font-size: 13.5px; overflow-wrap: anywhere; color: var(--dl-ink2); }
  .dlwk-sl__s { font-size: 13px; color: var(--dl-hold); font-weight: 600; }
  .dlwk-sl__f { font-size: 12.5px; color: var(--dl-ink3); } .dlwk-sl__f a { color: var(--dl-sea); font-weight: 700; text-decoration: none; }
  .dlwk-sl__go { appearance: none; border: 0; background: none; font: 700 13px/1 var(--dl-sans); color: var(--dl-sea); cursor: pointer; min-height: 44px; padding: 0 4px; white-space: nowrap; }
  .dlwk-sl__go.is-off { color: var(--dl-ink3); font-weight: 400; cursor: default; display: inline-flex; align-items: center; }
  @media (max-width: 859px) {
    .dl-hero--wk { height: auto; scroll-margin-top: 0; }
    .dl-hero--wk .dl-hero__spacer { height: 380px; }
    .dl-hero--wk .dl-title { font-size: 25px; line-height: 1.45; margin: 8px 0 8px; }
    .dl-hero--wk .dl-title__cl { white-space: normal; }
    .dlwk-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .dlwk-nums .dlgo-num { padding-right: 6px; margin-right: 6px; }
    .dlwk-nums .dlgo-num b { font-size: 22px; }
    .dlwk-nums .dlgo-num span { white-space: normal; line-height: 1.35; align-items: flex-start; }
    .dlwk-nums .dlgo-num span svg { margin-top: 3px; flex: none; }
    .dlwk-view { margin-top: 12px; display: flex; width: 100%; }
    .dlwk-view button { flex: 1 1 0; padding: 0 6px; }
    .dlwk .dl-sh h2 { font-size: 26px; }
    .wkb__row { grid-template-columns: 6.4em minmax(0, 1fr) 2.8em 5.4em; gap: 8px; }
    .wkb__lab { font-size: 13px; }
    .wkb__row.is-on::before { left: -6px; }
    .dlwk-sl__it { grid-template-columns: minmax(0, 1fr) auto; }
    .dlwk-sl__k { grid-column: 1 / -1; flex-direction: row; gap: 8px; }
    .dlwk-sl__it.is-on::before { left: -6px; }
  }
  /* 數據語言・島上找得到、佈告（2026-10-17 第三階段，沒有活圖；portal.js 的 placesView／placesHead、BoardPage、BoardHub、bdSentence、bdHow；沿用上一段的 DLPageHead 與 dlpg- 類名）
     五個看板原本各有一個顏色，改成同一套海青；卡片框改細線、去掉圓角陰影；價格與則數用等寬數字。刊登、編輯、一次上架多件、詳情、表單照舊。 */
  .dlpg-places > .block:first-child { padding-top: 0; }
  .dlpg-places .dlpg-nums { margin-bottom: 14px; }
  .dlpg-places .dy-section-head__title, .dlpg-places h4 { font-family: var(--dl-serif); }
  .dlpg-places .shoplist__n { font-family: var(--dl-serif); font-weight: 700; }
  .dlpg-places .shoplist__tel { font-family: var(--dl-mono); }
  .dlpg-places .shoplist__i + .shoplist__i { border-top-color: var(--dl-hair); }
  .dlpg-places .shopreg { border-radius: 0; border-color: var(--dl-hair); background: none; }
  .dlpg-places .srcfind input { border-radius: 2px; border-color: var(--dl-hair); }
  .dlpg-places .cardgrid > .bcard { border-radius: 0; box-shadow: none; border: 0; border-top: 1px solid var(--dl-hair); background: none; }
  .dlpg-places .bcard__img { border-radius: 2px; }
  .dlpg-places .plain { background: none; border: 0; border-top: 1px solid var(--dl-hair); border-radius: 0; box-shadow: none; padding: 4px 0 0; }
  .dlpg-places__ft { border-top: 1px solid var(--dl-hair); padding-top: 10px; }
  .dlpg-bd { --bd-c: var(--dl-deep); --bd-soft: color-mix(in srgb, var(--dl-sea) 8%, var(--dl-paper)); }
  .dlpg-bd .dlpg-pm { max-width: 40em; }
  .dlpg-bd .bd__hero { background: none; border-radius: 0; padding: 14px 0 4px; margin: 0; justify-content: flex-start; }
  .dlpg-bd .bd__hero:empty { display: none; }
  .dlpg-bd .bd__post { border-radius: 2px; box-shadow: none; font-weight: 700; letter-spacing: .04em; }
  .dlpg-bd .bd__post.is-alt { border-width: 1px; }
  .dlpg-bd .bd__bar { background: var(--dl-paper); border-bottom: 1px solid var(--dl-hair); }
  .dlpg-bd .bd__q, .dlpg-bd .bd__sel { border-radius: 2px; border: 1px solid var(--dl-hair); background-color: var(--dl-paper2); }
  .dlpg-bd .bd__n { font-family: var(--dl-mono); color: var(--dl-ink2); }
  .dlpg-bd .bdc { border-radius: 2px; border-color: var(--dl-hair); background: var(--dl-paper2); }
  .dlpg-bd .bdc:hover { transform: none; box-shadow: none; border-color: var(--dl-ink); }
  .dlpg-bd .bdc__p { font-family: var(--dl-mono); font-weight: 600; color: var(--dl-ink); }
  .dlpg-bd .bdc__t { font-family: var(--dl-serif); font-weight: 700; }
  .dlpg-bd .bdc__f i { border-radius: 0; background: none; border: 1px solid var(--dl-hair); color: var(--dl-ink2); }
  .dlpg-bd .bdc__st { border-radius: 2px; box-shadow: none; }
  .dlpg-bd .bdc__dl.is-hot { color: var(--dl-warm); }
  .dlpg-bd .bd__grid.is-list { border-radius: 0; border: 0; border-top: 1px solid var(--dl-hair); background: none; }
  .dlpg-bd .bd__grid.is-list .bdc { border-bottom-color: var(--dl-hair); background: none; }
  .dlpg-bd .bd__grid.is-list .bdc:hover { background: var(--bd-soft); }
  .dlpg-bd .bd__empty { border: 0; border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); border-radius: 0; }
  .dlpg-bd .bd__clr, .dlpg-bd .bd__more button { border-radius: 2px; border-width: 1px; }
  .dlpg-bd .bd__rule { border-top: 1px solid var(--dl-hair); padding-top: 10px; }
  .dlpg-bdnums { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 14px; }
  .dlpg-bdnums li { padding: 0; }
  .dlpg-bdnums li + li { padding-left: 0; }
  .dlpg-bdnums button { display: grid; gap: 2px; width: 100%; min-height: 44px; padding: 12px 14px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
  .dlpg-bdnums button:hover { background: var(--bd-soft); }
  .dlpg-bd .bdh { margin-top: 18px; gap: 0 28px; }
  .dlpg-bd .bdh__c { border: 0; border-top: 2px solid var(--dl-ink); border-radius: 0; background: none; padding: 14px 0 18px; }
  .dlpg-bd .bdh__c:hover { box-shadow: none; background: var(--bd-soft); }
  .dlpg-bd .bdh__h b { font-family: var(--dl-serif); font-weight: 900; }
  .dlpg-bd .bdh__h em { font-family: var(--dl-mono); }
  .dlpg-bd .bd__ico, .dlpg-bd .bdh__h .bd__ico, .dlpg-bd .bdh__z .bd__ico { background: none; color: var(--dl-deep); border: 1px solid var(--dl-hair); border-radius: 2px; }
  .dlpg-bd .bdh__l small { color: var(--dl-ink); font-family: var(--dl-mono); font-weight: 600; }
  .dlpg-bd .bdh__go { color: var(--dl-sea); }
  .dlpg-bd .bdh__z button { border: 0; border-bottom: 1px solid var(--dl-hair); border-radius: 0; background: none; padding-inline: 0; }
  .dlpg-bd .bdh__z { gap: 0 28px; }
  @media (max-width: 859px) {
    .dlpg-bdnums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dlpg-bdnums li, .dlpg-bdnums li:nth-child(2), .dlpg-bdnums li:nth-child(3), .dlpg-bdnums li:nth-child(-n+2) { border-right: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); padding: 0; }
    .dlpg-bdnums li:nth-child(3n) { border-right: 0; }
    .dlpg-bdnums button { padding: 10px; }
  }

  /* 數據語言・文化與島民寫島（2026-10-17 第三階段；portal.js 的 CultureOverview、CultureView、MemberColumns 用 DLPageHead；類名 dlpg-cul、dlpg-cl）
     不加活圖：照片、剪紙封面、TopicArt、卡片牆照舊；外層區塊改細線與留白、不換底色，主題標題與分類標籤改細線，字體與其他數據語言頁一致 */
  .look-alt main .shell.dlpg > section.block:nth-of-type(even) { background: none; box-shadow: none; clip-path: none; padding-block: 0; }
  .dlpg-cul > .block, .dlpg-cl > .block { margin-top: 0; padding-top: 22px; }
  .dlpg-cul > .block + .block { border-top: 1px solid var(--dl-hair); margin-top: 26px; }
  .dlpg-cul .faith__card, .dlpg-cl .ma__card { border-color: var(--dl-hair); border-radius: 4px; box-shadow: none; }
  .dlpg-cul .faith__card .faith__cover, .dlpg-cul .faith__card > .faith__cover { border-radius: 3px 3px 0 0; }
  .dlpg-cul .faith__card h3, .dlpg-cul .cul__h, .dlpg-cl .ma__cardt { font-family: var(--dl-serif); }
  .dlpg-cul .cul__tile:hover h3 { color: var(--dl-sea); }
  .dlpg-cul .cul__en { font-family: var(--dl-sans); }
  /* 文化總覽：四個主題的色塊標題改成細線＋主題色短線 */
  .dlpg-cul .culth { margin-top: 26px; } .dlpg-cul .culth:first-child { margin-top: 0; }
  .dlpg-cul .culth__h { position: relative; padding: 14px 0 0; border-radius: 0; background: none; color: var(--dl-ink); border-top: 1px solid var(--dl-hair); }
  .dlpg-cul .culth__h::before { content: ''; position: absolute; left: 0; top: -1px; width: 44px; height: 3px; background: var(--c); }
  .dlpg-cul .culth__h b { font-family: var(--dl-serif); font-size: 24px; font-weight: 900; letter-spacing: .04em; }
  .dlpg-cul .culth__h span { color: var(--dl-ink2); opacity: 1; font-size: 14px; }
  .dlpg-cul .culth:first-child .culth__h { border-top-color: transparent; padding-top: 4px; } .dlpg-cul .culth:first-child .culth__h::before { display: none; }
  /* 六個面向：定義、導引、分類標籤、分類標題、待確認 */
  .dlpg-cul .cul__def { margin-top: 0; color: var(--dl-ink2); } .dlpg-cul .cul__def b { color: var(--dl-sea); }
  .dlpg-cul .cul__intro { color: var(--dl-ink); }
  .dlpg-cul .cul__jump a { border-radius: 2px; background: none; border-color: var(--dl-hair); }
  .dlpg-cul .cul__jump a:hover { border-color: var(--dl-sea); } .dlpg-cul .cul__jump b, .dlpg-cul .cul__jump a::after { color: var(--dl-sea); }
  .dlpg-cul .cul__secs { gap: 0 4px; border-bottom: 1px solid var(--dl-hair); margin-bottom: 0; }
  .dlpg-cul .cul__secs button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--dl-ink2); padding: 4px 12px; margin-bottom: -1px; }
  .dlpg-cul .cul__secs button:hover { background: none; color: var(--dl-ink); }
  .dlpg-cul .cul__secs button[aria-selected="true"] { background: none; color: var(--dl-ink); border-bottom-color: var(--dl-ink); font-weight: 700; }
  .dlpg-cul .cul__h { font-size: 24px; font-weight: 900; letter-spacing: .03em; margin-bottom: 6px; }
  .dlpg-cul .cul__lead { color: var(--dl-ink2); }
  .dlpg-cul .cul__gapd { border: 0; border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); border-radius: 0; background: none; padding: 0; }
  .dlpg-cul .cul__gapd > summary { color: var(--dl-ink2); }
  /* 島民寫島：寫文章鈕在頁名那一列 */
  .dlpg-act { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--dl-sea); background: var(--dl-sea); color: #fff; font: 600 14px/1 var(--dl-sans); letter-spacing: .06em; text-decoration: none; }
  .dlpg-act:hover { background: var(--dl-deep); border-color: var(--dl-deep); }
  .dlpg-cl .ma__authors { margin-bottom: 18px; }
  @media (max-width: 859px) {
    .dlpg-cul .culth__h b, .dlpg-cul .cul__h { font-size: 21px; }
    .dlpg-act { min-height: 44px; }
  }
  /* 數據語言・人物、歷史、那時與現在、走進歷史（2026-10-17 第三階段，文化類不加活圖；共用 DLPageHead，頁面根加 .dlpg）
     照片與插畫保留；改的是頁首（頁名小標＋資料組成的大標題＋「這是怎麼來的」）、細線排版與字體。
     歷史頁的時間軸本來就是資料圖：改成細線刻度圖（.his__track，一格一個事件、關鍵事件長刻度、年代色帶在下、暖色指針）。 */
  .dlpg .dl-legend { margin-top: 10px; gap: 2px 14px; }
  .dlpg .dl-sub a { color: var(--dl-sea); }
  /* 人物 */
  .peoplepage > .block { margin-top: 18px; }
  .peoplepage .plain { border: 0; border-radius: 0; background: none; box-shadow: none; padding: 0; }
  .peoplepage .pcard__kind { font-size: 12px; letter-spacing: .06em; }
  .peoplepage .pcard { border-radius: 2px; box-shadow: none; border-color: var(--dl-hair); border-top-width: 3px; border-top-color: var(--pc); background: var(--dl-paper2); }
  .peoplepage .pcard:hover { box-shadow: none; transform: none; border-color: var(--dl-ink3); border-top-color: var(--pc); }
  .peoplepage .pcard__name { font-family: var(--dl-serif); font-weight: 700; }
  .peoplepage .pcard__meta { font-variant-numeric: tabular-nums; }
  .peoplepage .ptl__y { font-family: var(--dl-mono); }
  .peoplepage .ptl__h { font-family: var(--dl-serif); font-weight: 900; }
  .peoplepage .ptl__era::before { width: 1px; background: var(--dl-ink3); left: 6.5px; }
  .peoplepage .ptl__b { border-radius: 0; border-bottom: 1px solid var(--dl-hair); }
  .peoplepage .pmap { border-radius: 2px; border-color: var(--dl-hair); }
  .peoplepage .srcfind input { border-radius: 2px; }
  @media (max-width: 560px) { .peoplepage .pcard { border-radius: 0; border-left-width: 3px; border-left-color: var(--pc); border-top-width: 1px; border-top-color: var(--dl-hair); } }

  /* 歷史：讀數列＋細線刻度時間軸＋年代色帶，黏在頂端 */
  .hispage .his__bar { margin: 14px 0 0; padding: 10px 0 8px; border-radius: 0; box-shadow: none; background: color-mix(in srgb, var(--dl-paper) 96%, transparent);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); }
  [data-theme="dark"] .hispage .his__bar { background: color-mix(in srgb, var(--surface) 96%, transparent); }
  .hispage .his__now { align-items: baseline; gap: 2px 12px; min-height: 32px; flex-wrap: nowrap; }
  .hispage .his__now > b { font-family: var(--dl-mono); font-weight: 600; font-size: 20px; color: var(--dl-ink); white-space: nowrap; letter-spacing: 0; }
  .hispage .his__era { padding: 0; border-radius: 0; background: none !important; color: var(--dl-ink2); font-size: 12px; font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
  .hispage .his__era::before { content: ''; width: 10px; height: 3px; background: var(--c); }
  .hispage .his__t { font-family: var(--dl-serif); font-size: 15px; font-weight: 700; color: var(--dl-ink); }
  .hispage .his__count { margin-left: auto; font-family: var(--dl-mono); font-size: 12px; color: var(--dl-ink3); white-space: nowrap; }
  .hispage .his__count b { font-family: var(--dl-mono); font-size: 13px; color: var(--dl-ink); font-weight: 600; }
  .his__track { position: relative; height: 40px; margin: 6px 0 0; cursor: ew-resize; touch-action: pan-y; outline: none; }
  .his__track:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .his__svg { position: absolute; inset: 0; width: 100%; height: 36px; overflow: visible; display: block; }
  .his__base { stroke: var(--dl-ink3); stroke-width: 1; vector-effect: non-scaling-stroke; }
  .his__tk { stroke-width: 1.5; vector-effect: non-scaling-stroke; opacity: .55; }
  .his__tk.is-key { stroke-width: 2; opacity: 1; }
  .his__tk.is-soft { stroke-dasharray: 2 2; }
  .his__cur { position: absolute; top: -2px; bottom: 4px; width: 2px; margin-left: -1px; background: var(--dl-warm); pointer-events: none; }
  .his__cur::before { content: ''; position: absolute; left: -5px; top: -3px; border: 6px solid transparent; border-top: 7px solid var(--dl-warm); border-bottom: 0; }
  .hispage .his__segs { gap: 0; height: auto; margin-top: 0; }
  .hispage .his__seg { min-width: 0; flex-basis: 0; border-radius: 0; padding: 4px 4px 0 0; background: none !important; color: var(--dl-ink2); opacity: 1;
    box-shadow: inset 0 3px 0 color-mix(in srgb, var(--c) 45%, transparent), inset 1px 0 0 var(--dl-paper); font: 500 12px/1.4 var(--dl-sans); min-height: 28px; container-type: inline-size; text-align: left; }
  .hispage .his__seg span { display: block; padding-left: 4px; }
  .hispage .his__seg.is-on { box-shadow: inset 0 4px 0 var(--c), inset 1px 0 0 var(--dl-paper); color: var(--dl-ink); font-weight: 700; }
  @container (max-width: 34px) { .his__seg span { visibility: hidden; } }
  .hispage .his__tools { margin-top: 4px; font-size: 12px; color: var(--dl-ink2); gap: 4px 14px; }
  .hispage .his__hint { margin-left: auto; color: var(--dl-ink3); }
  .hispage .his__chip { border-radius: 2px; border-color: var(--dl-hair); }
  .hispage .his__chip.is-on { background: var(--dl-ink); border-color: var(--dl-ink); color: var(--dl-paper); }
  .hispage .his__list { border-left: 1px solid var(--dl-ink3); margin-top: 18px; }
  .hispage .his__erahead { border-left-width: 3px; }
  .hispage .his__erahead h3 { font-family: var(--dl-serif); font-weight: 900; font-size: 24px; letter-spacing: .03em; }
  .hispage .his__erahead p { color: var(--dl-ink2); line-height: 1.8; }
  .hispage .his__ev { border: 0; border-top: 1px solid var(--dl-hair); border-radius: 0; background: none; margin: 0; padding: 12px 0 14px; }
  .hispage .his__ev::before { left: -27px; width: 9px; height: 9px; border-width: 2px; border-color: var(--dl-paper); }
  .hispage .his__ev.is-key::before { left: -29px; width: 13px; height: 13px; }
  .hispage .his__ev.is-cur { box-shadow: none; background: color-mix(in srgb, var(--dl-warm) 5%, transparent); }
  .hispage .his__ev.is-cur::after { content: ''; position: absolute; left: -23px; top: 0; bottom: 0; width: 2px; background: var(--dl-warm); }
  .hispage .his__y { font-family: var(--dl-mono); font-weight: 600; font-size: 13px; }
  .hispage .his__y span { font-family: var(--dl-sans); font-weight: 500; }
  .hispage .his__cert { border-radius: 2px; font-size: 12px; }
  .hispage .his__ev h4 { font-family: var(--dl-serif); font-weight: 700; font-size: 17px; }
  .hispage .his__txt { line-height: 1.8; }
  .hispage .his__game { border-radius: 2px; box-shadow: none; } .hispage .his__game small { font-size: 12px; }
  .hispage .his__h { font-family: var(--dl-serif); font-weight: 900; font-size: 22px; border-top: 2px solid var(--dl-ink); padding-top: 16px; }
  .hispage .his__people { gap: 0 28px; }
  .hispage .his__person { border: 0; border-top: 1px solid var(--dl-hair); border-radius: 0; background: none; padding: 12px 0; }
  .hispage .his__pn b { font-family: var(--dl-serif); font-size: 17px; } .hispage .his__pn span { font-family: var(--dl-mono); }
  .hispage .his__role { color: var(--dl-sea); font-weight: 500; }
  @media (max-width: 600px) {
    .hispage .his__bar { margin-left: 0; margin-right: 0; }
    .hispage .his__now { flex-wrap: wrap; }
    .hispage .his__t { flex-basis: 100%; order: 3; font-size: 14px; }
    .hispage .his__now > b { font-size: 17px; }
    .hispage .his__seg span { display: block; }
    .hispage .his__hint { display: none; }
    .hispage .his__ev::before { left: -21px; } .hispage .his__ev.is-key::before { left: -23px; } .hispage .his__ev.is-cur::after { left: -17px; }
  }
  /* 那時與現在 */
  .tnpage .tn__wrap { margin-top: 8px; }
  .tnpage .tn { margin: 0; padding: 22px 0 18px; border-top: 1px solid var(--dl-hair); }
  .tnpage .tn:first-child { border-top: 0; }
  .tnpage .tn__head h3 { font-family: var(--dl-serif); font-weight: 900; font-size: 24px; letter-spacing: .03em; }
  .tnpage .tn__mode { border: 1px solid var(--dl-ink); border-radius: 0; }
  .tnpage .tn__mode button { font: 500 13px/1 var(--dl-sans); min-height: 40px; letter-spacing: .04em; }
  .tnpage .tn__mode button.is-on { background: var(--dl-ink); color: var(--dl-paper); }
  .tnpage .tn__side img, .tnpage .tn__slide { border-radius: 2px; }
  .tnpage .tn__side figcaption b { font-family: var(--dl-mono); font-weight: 600; }
  .tnpage .tn__tag { border-radius: 2px; font-family: var(--dl-mono); font-weight: 500; }
  .tnpage .tn__note { color: var(--dl-ink2); line-height: 1.8; max-width: 46em; }
  /* 走進歷史：封面卡照舊，只把圓角收小 */
  .gamespage > .block { margin-top: 20px; }
  .gamespage .hubgame { border-radius: 4px; }
  /* 數據語言・文化各頁（2026-10-17 第三階段：信仰與廟宇、節慶與各節慶頁、各宗教、生物誌、老物件、錄馬祖話、馬祖語認證、閩東語翻譯；沒有活圖）
     共用 DLPageHead 與上一段的 dlpg- 樣式；照片、卡牌、插畫不動。
     卡牌頁（生物誌、老物件）、exam.js、翻譯頁 iframe 的內容不套 .dlpg 的字體：只用 .dlpg 包住頁首，外層容器標 .dlpg-outer（只換底色與區塊細線）。
     各宗教頁的「雜誌」風格（使用者 2026-10-10 選的）保留，只換頁首（.dlpg-bf）與出處。 */
  html:has(.dlpg-outer):not([data-theme="dark"]) body { background: var(--dl-paper); }
  [data-theme="dark"] .dlpg-outer { --dl-hair: var(--line); --dl-ink: var(--ink); }
  .dlpg-back { display: inline-flex; align-items: center; text-decoration: none; }
  .dlpg-back:hover { text-decoration: underline; }
  .dlpg-links2 { display: inline-flex; gap: 2px 10px; flex-wrap: wrap; }
  /* 外層區塊：圓角卡片的段落換成細線分隔；分段換底（.look-alt）在這幾頁不用 */
  .dlpg-cul > section.block, .dlpg-outer > section.block { margin-top: 0; padding-top: 20px; border-top: 1px solid var(--dl-hair); }
  .dlpg-cul > .dlpg-head + section.block, .dlpg-outer > .dlpg + section.block { border-top: 0; padding-top: 14px; }
  .look-alt main .shell.dlpg-cul > section.block:nth-of-type(even), .look-alt main .shell.dlpg-outer > section.block:nth-of-type(even) { background: none; box-shadow: none; clip-path: none; padding-block: 20px 0; }
  .dlpg-outer .dlpg-head { margin-bottom: 0; }
  /* 信仰與廟宇、節慶：分頁鈕、數字鈕、廟宇列、卡片外框改細線方角；照片、插畫照舊 */
  .dlpg-cul .dnav { gap: 0; border-bottom: 1px solid var(--dl-hair); }
  .dlpg-cul .dnav button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 4px 14px; margin-bottom: -1px; color: var(--dl-ink2); font-weight: 500; }
  .dlpg-cul .dnav button[aria-selected="true"] { background: none; color: var(--dl-ink); border-bottom-color: var(--dl-ink); font-weight: 700; }
  .dlpg-cul .faith__stats { gap: 0; border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); }
  .dlpg-cul .faith__stat { border: 0; border-right: 1px solid var(--dl-hair); border-radius: 0; background: none; padding: 12px 14px; }
  .dlpg-cul .faith__stat:last-child { border-right: 0; }
  .dlpg-cul .faith__stat b { font-family: var(--dl-mono); font-weight: 600; color: var(--dl-ink); }
  .dlpg-cul .faith__stat:hover { background: color-mix(in srgb, var(--dl-sea) 6%, transparent); }
  .dlpg-cul .faith__lead p { color: var(--dl-ink); }
  .dlpg-cul .faith__card, .dlpg-cul .faith__temple, .dlpg-cul .his__ev { border-radius: 2px; border-color: var(--dl-hair); box-shadow: none; }
  .dlpg-cul .faith__temple { border-left-width: 3px; border-left-color: var(--c); }
  .dlpg-cul .faith__card .faith__cover { border-radius: 1px 1px 0 0; }
  .dlpg-cul .faith__hero .faith__cover { border-radius: 2px; }
  .dlpg-cul .faithmap, .dlpg-cul .festcard, .dlpg-cul .festgal__b img { border-radius: 2px; }
  .dlpg-cul .festcard { border-color: var(--dl-hair); }
  .dlpg-cul .festcard:hover { box-shadow: none; transform: none; border-color: var(--dl-ink3); }
  .dlpg-cul .festcard__t, .dlpg-cul .festpage__sec h2 { font-family: var(--dl-serif); }
  .dlpg-cul .festpage__facts dd, .dlpg-cul .festlist__d { font-family: var(--dl-mono); }
  .dlpg-cul .festpage__sec { border-top: 1px solid var(--dl-hair); padding-top: 14px; }
  .dlpg-fest .dl-sub .festlist__k { margin: 0 6px 0 2px; font-size: 12px; }
  .dlpg-cul .dlpg-lead .dl-title__cl { white-space: normal; }
  .dlpg-cul .faith__meta, .dlpg-cul .cul__lead { color: var(--dl-ink2); }
  /* 各宗教：一格一座留著當資料圖；其餘雜誌風格不動 */
  .dlpg-bf .dlpg-head { border-bottom-width: 8px; }
  .dlpg-bf .dlpg-lead .dl-title { font-weight: 900; }
  .bf__fig { margin: 0; display: grid; gap: 8px; }
  .bf__fig .bf__numn { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--ink-muted); margin: 0; }
  .bf__fig .bf__numn span { display: inline-flex; align-items: center; gap: 6px; }
  .bf__k { display: inline-block; width: 11px; height: 11px; background: var(--line-strong); }
  /* 錄馬祖話 */
  .dlpg.vc .vc__top h4 { font-family: var(--dl-serif); }
  /* 馬祖語認證：exam.js 自己的大標題與頁尾來源已收進頁首與「這是怎麼來的」 */
  .dlpg-exam .mx > .mx-hero, .dlpg-exam .mx > .mx-src { display: none; }
  /* 閩東語翻譯：頁首與翻譯框同寬 */
  .dlpg-ime > .dlpg { max-width: 880px; margin-inline: auto; }
  .dlpg-ime > section.block.ime { border-top: 0; }
  .dlpg-ime .ime__frame { border-radius: 2px; }
  @media (max-width: 720px) {
    .dlpg-cul .faith__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dlpg-cul .faith__stat:nth-child(2n) { border-right: 0; }
    .dlpg-cul .faith__stat:nth-child(-n+2) { border-bottom: 1px solid var(--dl-hair); }
    .dlpg-cul .dnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .dlpg-cul .dnav button { flex: none; }
  }

  /* 數據語言・停車（2026-10-17，/parking；portal.js 的 ParkingHelper、PkHero，活圖 live-parking.js 的 LiveArt.lots；類名前綴 dlpk-）
     下方的比較表、地圖、查停車費、月租沿用原本的 pk__ 樣式 */
  .dl-hero--pk { height: 540px; }
  .dl-hero--pk::before { display: none; }
  .dl-hero--pk .dl-hero__capin { max-width: 470px; }
  .dl-hero--pk .dl-title { font-size: 42px; line-height: 1.32; }
  .dlpk-n { font-family: var(--dl-mono); font-weight: 600; font-size: .94em; letter-spacing: -.01em; }
  .dlpk-unoff { margin-left: 4px; padding: 0 6px; border: 1px solid var(--dl-hair); border-radius: 3px; font-size: 12px; letter-spacing: .04em; color: var(--dl-ink2); line-height: 1.5; }
  .dl-hero--pk .dl-legend { margin-top: 16px; }
  .dlpk-dock { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; padding: 10px 0 10px; border-top: 1px solid var(--dl-hair); }
  .dlpk-upd { display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; font-size: 13px; color: var(--dl-ink2); }
  .dlpk-upd__t b { font: 600 22px/1 var(--dl-mono); color: var(--dl-ink); margin-left: 4px; }
  .dlpk-upd__bar { position: relative; width: 120px; height: 2px; background: var(--dl-hair); overflow: hidden; }
  .dlpk-upd__bar i { position: absolute; inset: 0; background: var(--dl-warm); transform-origin: left center; will-change: transform; animation: dlpk-cd 60s linear forwards; }
  @keyframes dlpk-cd { from { transform: scaleX(1); } to { transform: scaleX(0); } }
  .dlpk-upd small { font-size: 12px; }
  .dlpk-act { display: flex; gap: 8px; }
  .dlpk .dlh__body > .dlpk-warn { margin-top: 24px; }
  .dlpk-none { color: var(--dl-ink2); margin: 0; }
  .dlpk .dl-sh h2 { font-size: 30px; }
  .dlpk .pk__cmp .pk__st { color: var(--dl-go); } .dlpk .pk__cmp .pk__st--low { color: var(--dl-hold); } .dlpk .pk__cmp .pk__st--full { color: var(--dl-stop); }
  .dlpk .pk__bar { background: rgba(12,112,120,.12); border-radius: 0; } .dlpk .pk__bar i { background: var(--dl-deep); }
  .dlpk .pk__lot--low .pk__bar i { background: var(--dl-hold); } .dlpk .pk__lot--full .pk__bar i { background: var(--dl-stop); }
  .dlpk .pk__free b { font-family: var(--dl-mono); font-weight: 500; color: var(--dl-ink); }
  .dlpk .pk__lot--low .pk__free b { color: var(--dl-hold); } .dlpk .pk__lot--full .pk__free b { color: var(--dl-stop); }
  .dlpk .pk__fee-box, .dlpk .pk__card { border-radius: 0; border: 0; border-top: 2px solid var(--dl-ink); background: none; padding: 14px 0 0; }
  .dlpk .pk__fee-box h3, .dlpk .pk__card h3 { font-family: var(--dl-serif); font-size: 20px; }
  .dlpk .pk__map { border-radius: 0; border-color: var(--dl-hair); }
  .dlpk .pkmk__b { background: var(--dl-go, #186b43); } .dlpk .pkmk__b--ok::after { border-top-color: #186b43; }
  .dlpk .pkmk__b--low { background: #b7791f; } .dlpk .pkmk__b--low::after { border-top-color: #b7791f; }
  .dlpk .pkmk__b b { font-family: var(--dl-mono); font-weight: 500; } .dlpk .pkmk__b span { font-size: 12px; }
  [data-theme="dark"] .dlpk .pk__fee-box, [data-theme="dark"] .dlpk .pk__card { border-top-color: var(--dl-ink); }
  @media (prefers-reduced-motion: reduce) { .dlpk-upd__bar { display: none; } }
  @media (max-width: 859px) {
    .dl-hero--pk { height: auto; }
    .dl-hero--pk .dl-hero__spacer { height: 282px; }
    .dl-hero--pk .dl-title { font-size: 27px; line-height: 1.42; margin: 8px 0 6px; }
    .dl-hero--pk .dl-title__cl { white-space: normal; }
    .dlpk-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dl-hero--pk .dl-legend { display: flex; gap: 4px 12px; margin-top: 10px; }
    .dlpk-dock { padding: 8px 0; }
    .dlpk-upd__bar { width: 56px; }
    .dlpk-upd small { display: none; }
    .dlpk .dl-sh h2 { font-size: 26px; }
  }
  /* 數據語言・公車（2026-10-17，/bus；portal.js 的 BusBox 最上面的主視覺、live-bus.js 的 LiveArt.busnet；類名前綴 dlbus-）
     主視覺＝今天的公車路網（路線照線型、車依班表推算移動、選定路線加粗）；下面的查詢、下一班、立體地圖、班次清單改成細線。 */
  .dl-hero--bus { height: 600px; }
  .dl-hero--bus::before { display: none; }
  .dl-hero--bus .dl-hero__capin { max-width: 470px; }
  .dl-hero--bus .dl-title { font-size: 36px; line-height: 1.4; letter-spacing: .02em; margin: 14px 0 10px; }
  .dl-hero--bus .dl-title__cl { white-space: normal; }
  .dlbus-say .dlbus-n { font-family: var(--dl-mono); font-weight: 600; font-size: .94em; letter-spacing: -.01em; white-space: nowrap; }
  .dlbus-say .dlbus-w { color: var(--dl-warm); white-space: nowrap; font-family: var(--dl-mono); font-weight: 600; font-size: .94em; }
  .dlbus-town { display: flex; gap: 0; margin-top: 16px; border-bottom: 1px solid var(--dl-hair); }
  .dlbus-town button { appearance: none; border: 0; background: none; cursor: pointer; min-height: 44px; padding: 0 14px; margin-bottom: -1px; font: 500 15px/1 var(--dl-sans); color: var(--dl-ink2); border-bottom: 2px solid transparent; }
  .dlbus-town button:first-child { padding-left: 0; }
  .dlbus-town button.is-on { color: var(--dl-ink); font-weight: 700; border-bottom-color: var(--dl-ink); }
  .dlbus-town button:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dlbus-nums { display: flex; margin-top: 14px; }
  .dlbus-num { padding: 4px 14px 0 0; margin-right: 14px; border-right: 1px solid var(--dl-hair); min-width: 0; }
  .dlbus-num:last-child { border-right: 0; margin-right: 0; }
  .dlbus-num b { white-space: nowrap; display: block; font: 500 28px/1.1 var(--dl-mono); letter-spacing: -.02em; color: var(--dl-ink); }
  .dlbus-num.is-warm b { color: var(--dl-warm); }
  .dlbus-num b small { font: 400 13px/1 var(--dl-sans); color: var(--dl-ink2); margin-left: 3px; }
  .dlbus-num span { font-size: 12px; color: var(--dl-ink2); letter-spacing: .02em; line-height: 1.4; display: block; }
  .dl-hero--bus .dl-legend { margin-top: 14px; }
  /* 下方：細線取代卡片 */
  .dlbus .dlh__body > .block.gb { margin: 28px 0 0; padding: 0; border: 0; border-radius: 0; background: none; gap: 16px; }
  .dlbus .bus__ask { padding-bottom: 16px; border-bottom: 1px solid var(--dl-hair); }
  .dlbus .bus__hero { border: 0; border-top: 1px solid var(--dl-ink); border-bottom: 1px solid var(--dl-hair); border-radius: 0; background: none; padding: 14px 0; box-shadow: none; }
  .dlbus .bus__hero.is-open { box-shadow: inset 3px 0 0 var(--dl-warm); padding-left: 12px; }
  .dlbus .bus__hero .gbcount { font-family: var(--dl-mono); font-size: 34px; color: var(--dl-warm); }
  .dlbus .bus__herot p b { font-family: var(--dl-mono); font-size: 22px; }
  .dlbus .busl { gap: 0; border-top: 1px solid var(--dl-ink); }
  .dlbus .busd button { border: 0; border-bottom: 1px solid var(--dl-hair); border-radius: 0; background: none; min-height: 50px; padding: 8px 4px; }
  .dlbus .busd.is-open button { background: rgba(200, 83, 42, .05); }
  .dlbus .busd button > b { font-family: var(--dl-mono); font-size: 20px; font-weight: 500; }
  .dlbus .gb__sub { font-family: var(--dl-serif); font-size: 20px; }
  .dlbus .bus__facts { border-top: 1px solid var(--dl-hair); padding-top: 14px; }
  @media (max-width: 859px) {
    .dl-hero--bus { height: auto; }
    .dl-hero--bus .dl-hero__spacer { height: 360px; flex: none; }
    .dl-hero--bus .dl-hero__cap { padding-top: 22px; }
    .dl-hero--bus .dl-title { font-size: 25px; line-height: 1.5; margin: 8px 0; }
    .dlbus-town button { padding: 0 12px; font-size: 14.5px; }
    .dlbus-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; }
    .dlbus-num { padding: 4px 6px 0 0; margin-right: 6px; }
    .dlbus-num b { font-size: 22px; } .dlbus-num b small { font-size: 12px; }
    .dl-hero--bus .dl-legend { gap: 4px 12px; margin-top: 10px; }
    .dlbus .bus__hero .gbcount { font-size: 26px; }
  }

  /* 數據語言・行事曆（2026-10-17，/calendar 與 /year；portal.js 的 calHero、calRingData、calJump，活圖 live-calendar.js 的 LiveArt.yearring；類名前綴 dlcal-）
     下方的月曆、手機七顆日期按鈕、活動公告、馬祖一年沿用原本的 cal、yr 樣式，只把外框改成細線 */
  .dl-hero--cal { height: 640px; }
  .dl-hero--cal::before { display: none; }
  .dl-hero--cal .dl-hero__capin { max-width: 460px; }
  .dl-hero--cal .dl-title { font-size: 40px; line-height: 1.34; }
  .dl-hero--cal .dl-legend { flex-direction: column; gap: 4px; }
  .dl-hero--cal .dl-legend svg { flex: none; }
  .dlcal-dock { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--dl-hair); }
  .dlcal-doy { display: flex; align-items: baseline; gap: 4px; font-size: 13px; color: var(--dl-ink2); }
  .dlcal-doy b { font: 600 24px/1 var(--dl-mono); color: var(--dl-ink); }
  .dlcal-doy small { font-size: 12px; margin-left: 8px; }
  .dlcal-act { display: flex; gap: 8px; }
  .dlcal-head { display: flex; flex-direction: column; justify-content: center; }
  .dlcal-head b { font: 600 22px/1.2 var(--dl-mono); color: var(--dl-deep); }
  .dlcal-head span { font-size: 12px; color: var(--dl-ink2); }
  .dlcal .dl-sh h2 { font-size: 30px; }
  .dlcal .dlcal-sec > .plain, .dlcal #cal-month > .plain { border-radius: 0; border: 0; border-top: 2px solid var(--dl-ink); box-shadow: none; background: none; padding-left: 0; padding-right: 0; }
  .dlcal .calday { border-radius: 0; border: 0; border-left: 1px solid var(--dl-hair); background: none; box-shadow: none; }
  .dlcal .calgrid { border-radius: 0; }
  .dlcal .calfold { border-radius: 0; border: 0; border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); background: none; }
  .dlcal #matsu-year { background: none; box-shadow: none; }
  /* 馬祖一年的色帶跟年環同一套顏色：節慶深海、花與自然綠、藍眼淚、魚汛海青、霧季灰 */
  .dlcal .yr__bar { border-radius: 2px; }
  .dlcal .yr__bar--fest { background: var(--dl-deep); } .dlcal .yr__bar--nature { background: rgba(24,107,67,.72); }
  .dlcal .yr__bar--tear { background: var(--dl-tear); } .dlcal .yr__bar--fog { background: rgba(125,139,143,.75); } .dlcal .yr__bar--sea { background: rgba(12,112,120,.62); }
  .dlcal .yr__bar.is-approx { opacity: .5; }
  .dlcal .yr__bar.is-on { outline: 2px solid var(--dl-warm); outline-offset: 1px; }
  @media (max-width: 1180px) { .dl-hero--cal .dl-title { font-size: 34px; } }
  @media (max-width: 859px) {
    .dl-hero--cal { height: auto; }
    .dl-hero--cal .dl-hero__spacer { height: 380px; }
    .dl-hero--cal .dl-title { font-size: 26px; line-height: 1.42; margin: 8px 0 6px; }
    .dl-hero--cal .dl-title__cl { white-space: normal; }
    .dlcal-dock { padding: 8px 0; }
    .dlcal-doy small { display: none; }
    .dlcal .dl-sh h2 { font-size: 26px; }
    .dlcal .calday { border-left: 0; }
  }
  @media (max-width: 380px) { .dl-hero--cal .dl-hero__spacer { height: 340px; } }
  /* 數據語言・我的馬祖（2026-10-17，/mine；portal.js 的 MineHub，活圖 live-mine.js 的 LiveArt.myisle；類名前綴 dlm-）
     下方「各項進度與入口」沿用原本的 mine__ 卡片，改成淺底細線 */
  .dl-hero--mine { height: 720px; }
  .dl-hero--mine::before { display: none; }
  .dl-hero--mine .dl-hero__capin { max-width: 470px; }
  .dl-hero--mine .dl-title { font-size: 40px; line-height: 1.36; }
  .dlm-n { font-family: var(--dl-mono); font-weight: 600; font-size: .94em; letter-spacing: -.01em; color: var(--dl-deep); }
  .dlm-legend { margin-top: 16px; max-width: 440px; }
  .dlm-tip { position: absolute; z-index: 3; pointer-events: none; background: rgba(251,252,251,.97); border: 1px solid #d3dcda; border-radius: 6px; padding: 8px 11px; font: 12px/1.6 "Noto Sans TC", system-ui, sans-serif; color: #56676c; box-shadow: 0 6px 20px rgba(16,36,42,.1); max-width: 250px; }
  .dlm-tip b { display: block; font: 700 15px/1.5 "Noto Serif TC", serif; color: #10242a; }
  .dlm-dock { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--dl-hair); }
  .dlm-chips { display: flex; gap: 6px; flex-wrap: wrap; }
  .dlm-chip { min-height: 44px; padding: 0 14px; border-radius: 22px; border: 1px solid var(--dl-hair); background: rgba(251,252,251,.92); color: var(--dl-ink2); font: 500 13px/1 var(--dl-sans); letter-spacing: .04em; cursor: pointer; white-space: nowrap; }
  .dlm-chip:hover { border-color: var(--dl-ink3); color: var(--dl-ink); }
  .dlm-chip.is-on { background: var(--dl-deep); border-color: var(--dl-deep); color: #f4f6f4; }
  .dlm-chip:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dlm-act { display: flex; gap: 8px; }
  .dlm-head { font-size: 19px; cursor: default; }
  .dlmine .dl-sh h2 { font-size: 30px; }
  .dlmine .mine { padding: 0; border-radius: 0; background: none; color: var(--dl-ink); }
  .dlmine .mine__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 20px; }
  .dlmine .mine__t { border-radius: 0; background: none; border-top: 2px solid var(--dl-ink); padding-top: 12px; }
  .dlmine .mine__t:hover, .dlmine .mine__t:focus-visible { background: none; transform: none; box-shadow: none; }
  .dlmine .mine__t:hover .mine__tx > span { color: var(--dl-sea); }
  .dlmine .mine__t:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 3px; }
  .dlmine .mine__art { background: var(--dl-paper2); border-radius: 2px; }
  .dlmine .mine__tx { padding: 10px 0 4px; }
  .dlmine .mine__tx b { font-family: var(--dl-mono); font-weight: 500; color: var(--dl-ink); }
  .dlmine .mine__tx > span { font-family: var(--dl-serif); font-weight: 900; font-size: 17px; color: var(--dl-ink); }
  .dlmine .mine__tx small, .dlmine .mine__tx em { color: var(--dl-ink2); font-size: 12px; opacity: 1; }
  .dlmine .mine__go { color: var(--dl-sea); }
  .dlmine .mine__login { color: var(--dl-ink2); margin-top: 18px; } .dlmine .mine__login a { color: var(--dl-sea); font-weight: 700; }
  @media (max-width: 1100px) { .dlmine .mine__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; } }
  @media (max-width: 859px) {
    .dl-hero--mine { height: auto; }
    .dl-hero--mine .dl-hero__spacer { height: 330px; }
    .dl-hero--mine .dl-title { font-size: 27px; line-height: 1.42; margin: 8px 0 6px; }
    .dl-hero--mine .dl-title__cl { white-space: normal; }
    .dlm-legend { display: flex; gap: 2px 12px; margin-top: 10px; }
    .dlm-dock { padding: 8px 0; gap: 8px; }
    .dlm-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; width: calc(100% + 32px); }
    .dlm-chips::-webkit-scrollbar { display: none; }
    .dlm-act { width: 100%; } .dlm-act > * { flex: 1; }
    .dl-hero--mine .dl-strip__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dl-hero--mine .dl-strip .dl-cell:nth-child(n) { border-right: 1px solid var(--dl-hair); padding-left: 10px; }
    .dl-hero--mine .dl-strip .dl-cell:nth-child(3n + 1):nth-child(n) { border-right: 0; }
    .dl-hero--mine .dl-cell__v b { font-size: 19px; }
    .dlmine .dl-sh h2 { font-size: 26px; }
  }
  @media (max-width: 620px) {
    .dlmine .mine__grid { grid-template-columns: 1fr; gap: 0; }
    .dlmine .mine__t { flex-direction: row-reverse; min-height: 104px; border-top-width: 1px; border-top-color: var(--dl-hair); padding: 12px 0; }
    .dlmine .mine__t:first-child { border-top: 2px solid var(--dl-ink); }
    .dlmine .mine__art { width: 40%; }
    .dlmine .mine__tx { padding: 0 14px 0 0; }
  }
  /* 數據語言・停飛理賠（2026-10-17，/insurance；portal.js 的 InsuranceView；類名前綴 dlins-；沒有活圖）
     頁名小標＋「這是怎麼來的」、資料組成的標題（停飛當天改成「今天有 N 班取消，先看這三件事」＋三件事）、四項前提一列細線、
     各級組數（大數字＋比例細條，兼篩選）、細線分頁；比較表、卡片、條列、撥號、標誌、自行加保照舊，外框改細線。
     日夜模式都跟網站走（顏色用 --dl-* 變數）；信用卡卡面維持深色（作品內容）。 */
  [data-theme="dark"] .dlins {
    --dl-paper: var(--surface); --dl-paper2: var(--surface-raised); --dl-ink: var(--ink); --dl-ink2: #a9b8bb; --dl-ink3: #82949a; --dl-hair: var(--line);
    --dl-sea: #5cc2c4; --dl-deep: #8ad8d6; --dl-warm: #f08a5d; --dl-go: #5fcf94; --dl-hold: #e3b25c; --dl-stop: #f08a7c;
  }
  html:has(.dlins):not([data-theme="dark"]) body { background: var(--dl-paper); }
  .dlins { font-family: var(--dl-sans); color: var(--dl-ink); }
  .dlins-kick { display: flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; padding: 22px 0 6px; }
  .dlins-pn { font-family: var(--dl-serif); font-weight: 900; font-size: 18px; letter-spacing: .12em; margin: 0; color: var(--dl-ink); }
  .dlins-pm { font-size: 13px; color: var(--dl-ink2); }
  .dlins-kick .dl-btn { margin-left: auto; border-radius: 0; border-color: var(--dl-ink); background: transparent; color: var(--dl-ink); letter-spacing: .06em; }
  .dlins-kick .dl-btn:hover { background: var(--dl-ink); color: var(--dl-paper); }
  .dlins-lead { padding: 22px 0 18px; }
  .dlins-lead .dl-title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.3; margin: 0; max-width: 22em; }
  .dlins-lead .dl-sub { margin-top: 8px; }
  .dlins-lead .dl-sub > span { margin-right: 2px; }
  .dlins.is-cut .dlins-lead .dl-title__cl:first-child { color: var(--dl-stop); }

  /* 停飛當天的三件事 */
  .dlins-three { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--dl-stop); }
  .dlins-three li { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 2px 12px; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--dl-hair); }
  .dlins-three li + li { padding-left: 18px; border-left: 1px solid var(--dl-hair); }
  .dlins-three__i { grid-row: 1 / 3; font: 500 34px/1 var(--dl-mono); color: var(--dl-stop); }
  .dlins-three b { font: 900 19px/1.4 var(--dl-serif); letter-spacing: .06em; }
  .dlins-three p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--dl-ink2); }
  .dlins-go { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
    font: 700 14px/1 var(--dl-sans); color: var(--dl-sea); text-decoration: none; letter-spacing: .04em; }
  .dlins-go:hover { text-decoration: underline; }

  /* 四項前提：一列細線，編號用等寬字 */
  .dlins-keys { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--dl-ink); }
  .dlins-keys li { padding: 12px 18px 14px 0; display: grid; align-content: start; gap: 4px; }
  .dlins-keys li + li { padding-left: 18px; border-left: 1px solid var(--dl-hair); }
  .dlins-keys__i { font: 500 13px/1 var(--dl-mono); color: var(--dl-ink3); letter-spacing: .04em; }
  .dlins-keys b { font-size: 15.5px; line-height: 1.5; font-weight: 700; }
  .dlins-keys p { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--dl-ink2); }

  /* 各級組數：大數字＋小單位＋比例細條；點一格就是篩選 */
  .dlins-nums { display: grid; grid-template-columns: 1.15fr repeat(calc(var(--n) - 1), minmax(0, 1fr)); margin-top: 28px; border-top: 2px solid var(--dl-ink); border-bottom: 1px solid var(--dl-hair); }
  .dlins-num { appearance: none; display: grid; gap: 6px; align-content: start; text-align: left; min-height: 44px; padding: 12px 16px 14px; margin: 0; background: none; border: 0; border-radius: 0; cursor: pointer; font: inherit; color: var(--dl-ink); position: relative; }
  .dlins-num + .dlins-num { border-left: 1px solid var(--dl-hair); }
  .dlins-num:first-child { padding-left: 0; }
  .dlins-num:hover { background: color-mix(in srgb, var(--dl-sea) 5%, transparent); }
  .dlins-num:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -2px; }
  .dlins-num.is-on::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 4px; background: var(--dl-warm); }
  .dlins-num.is-on { background: color-mix(in srgb, var(--dl-sea) 7%, transparent); }
  .dlins-num:first-child.is-on { background: none; }
  .dlins-num__k { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 13.5px; font-weight: 700; letter-spacing: .04em; }
  .dlins-num__k em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--dl-ink2); }
  .dlins-num__v { display: flex; align-items: baseline; gap: 4px; }
  .dlins-num__v b { font: 500 34px/1.1 var(--dl-mono); letter-spacing: -.02em; }
  .dlins-num__v small { font-size: 12.5px; color: var(--dl-ink2); }
  .dlins-num__v .dlins-num__p { margin-left: auto; font-family: var(--dl-mono); font-size: 13px; }
  .dlins-num__bar { display: block; height: 3px; background: var(--dl-hair); }
  .dlins-num__bar i { display: block; height: 100%; background: var(--dl-ink3); }
  .dlins-num.is-all .dlins-num__bar i { background: var(--dl-ink); }
  .dlins-num.is-yes .dlins-num__v b { color: var(--dl-go); } .dlins-num.is-yes .dlins-num__bar i { background: var(--dl-go); }
  .dlins-num.is-part .dlins-num__v b { color: var(--dl-hold); } .dlins-num.is-part .dlins-num__bar i { background: var(--dl-hold); }
  .dlins-num.is-no .dlins-num__v b { color: var(--dl-stop); } .dlins-num.is-no .dlins-num__bar i { background: var(--dl-stop); }
  .dlins-num.is-unk .dlins-num__v b { color: var(--dl-ink2); }

  /* 細線分頁 */
  .dlins-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--dl-hair); margin: 26px 0 16px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-margin-top: 12px; }
  .dlins-tabs::-webkit-scrollbar { display: none; }
  .dlins-tab { flex: none; min-height: 46px; padding: 0 16px 0 0; margin-right: 12px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer;
    font: 400 15px/1 var(--dl-sans); color: var(--dl-ink2); letter-spacing: .06em; white-space: nowrap; }
  .dlins-tab:hover { color: var(--dl-ink); }
  .dlins-tab[aria-selected="true"] { color: var(--dl-ink); font-weight: 700; border-bottom-color: var(--dl-ink); }
  .dlins-tab:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -2px; }

  /* 原有內容改細線：搜尋列、切換鈕、節、條列、自行加保卡 */
  .dlins .ins__find { gap: 8px 10px; }
  .dlins .ins__find input, .dlins .ins__bank, .dlins .ins__clr { border-radius: 0; border-color: var(--dl-hair); background: var(--dl-paper2); color: var(--dl-ink); }
  .dlins .ins__bank:hover, .dlins .ins__find input:focus { border-color: var(--dl-ink3); }
  .dlins .ins__vsw { border-radius: 0; border-color: var(--dl-ink); }
  .dlins .ins__vsw button { background: transparent; color: var(--dl-ink); }
  .dlins .ins__vsw .is-on { background: var(--dl-ink); color: var(--dl-paper); }
  .dlins .ins__count { font-size: 13px; color: var(--dl-ink2); margin: 12px 0 8px; }
  .dlins .ins__how { display: block; }
  .dlins .ins__sec { background: none; border: 0; border-top: 1px solid var(--dl-ink); border-radius: 0; padding: 14px 0 6px; margin: 0 0 22px; }
  .dlins .ins__sec h3 { font: 900 20px/1.4 var(--dl-serif); letter-spacing: .06em; margin: 0 0 8px; }
  .dlins .ins__sec ul { padding-left: 1.2em; }
  .dlins .ins__sec li { line-height: 1.8; margin: 8px 0; }
  .dlins .ins__gaps { background: none; border-top: 1px solid var(--dl-hair); border-radius: 0; padding: 14px 0 0; margin-top: 24px; color: var(--dl-ink2); }
  .dlins .ins__gaps b { color: var(--dl-ink); }
  .dlins .ins__c { border-radius: 2px; border-color: var(--dl-hair); background: var(--dl-paper2); }
  .dlins .scard { border-radius: 2px; border-color: var(--dl-hair); background: var(--dl-paper2); box-shadow: none; }
  .dlins .scard__key { border-radius: 0; background: color-mix(in srgb, var(--dl-sea) 7%, transparent); border-left: 2px solid var(--dl-sea); }
  .dlins .icard__face { border-radius: 10px; }
  .dlins .cmpt__t { border: 0; border-top: 2px solid var(--dl-ink); border-bottom: 1px solid var(--dl-hair); border-radius: 0; background: transparent; }
  .dlins .cmpt__hd { background: transparent; color: var(--dl-ink2); border-bottom: 1px solid var(--dl-hair); letter-spacing: .04em; }
  .dlins .cmpt__r { border-top-color: var(--dl-hair); }
  .dlins .cmpt__r[open] > summary { background: color-mix(in srgb, var(--dl-sea) 6%, transparent); }
  .dlins .cmpt__note { color: var(--dl-ink2); }
  .dlins .insb__n b { font-family: var(--dl-serif); font-weight: 900; letter-spacing: .04em; }
  .dlins .insb__gs li { border-radius: 0; background: transparent; border-left: 2px solid var(--dl-hair); padding: 6px 0 6px 12px; }
  .dlins .ins__calls { border-radius: 0; background: transparent; border: 0; border-top: 1px solid var(--dl-hair); padding: 12px 0 0; }
  .dlins .ins__it { border-radius: 0; background: transparent; border-bottom: 1px solid var(--dl-hair); padding: 10px 0; }
  .dlins-srcs { display: grid; gap: 4px; }
  .dlins-srcs small { color: var(--dl-ink3); margin-left: 2px; }
  .dlins + .sitefoot, .lookroot[data-view="insurance"] > .sitefoot { margin-top: 64px; }

  @media (max-width: 1080px) {
    .dlins-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dlins-keys li:nth-child(3) { padding-left: 0; border-left: 0; }
    .dlins-keys li:nth-child(n+3) { border-top: 1px solid var(--dl-hair); }
  }
  @media (max-width: 859px) {
    .dlins-kick { padding-top: 16px; }
    .dlins-kick .dl-btn { min-height: 44px; }
    .dlins-lead { padding: 12px 0 14px; }
    .dlins-lead .dl-title { font-size: 26px; line-height: 1.4; }
    .dlins-three { grid-template-columns: minmax(0, 1fr); }
    .dlins-three li, .dlins-three li + li { padding: 12px 0; border-left: 0; }
    .dlins-three__i { font-size: 28px; }
    .dlins-three b { font-size: 17px; }
    .dlins-keys { grid-template-columns: minmax(0, 1fr); }
    .dlins-keys li, .dlins-keys li + li, .dlins-keys li:nth-child(3) { padding: 10px 0 12px; border-left: 0; }
    .dlins-keys li + li { border-top: 1px solid var(--dl-hair); }
    .dlins-keys li { grid-template-columns: 26px minmax(0, 1fr); column-gap: 8px; }
    .dlins-keys__i { grid-row: 1 / 3; padding-top: 4px; }
    .dlins-keys b { font-size: 15px; }
    .dlins-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
    .dlins-num { padding: 10px 12px 12px; border-top: 1px solid var(--dl-hair); }
    .dlins-num:first-child { grid-column: 1 / -1; padding-left: 0; border-top: 0; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
    .dlins-num:first-child .dlins-num__bar { display: none; }
    .dlins-num:nth-child(2) { border-left: 0; padding-left: 0; }
    .dlins-num:nth-child(2n+2) { border-left: 0; padding-left: 0; }
    .dlins-num:nth-child(2n+3) { border-left: 1px solid var(--dl-hair); }
    .dlins-num__v b { font-size: 28px; }
    .dlins-tabs { margin: 20px 0 12px; }
    .dlins-tab { padding-right: 10px; margin-right: 6px; }
  }
  html:not([lang^="zh"]) .dlins-lead .dl-title { font-size: clamp(24px, 2.8vw, 36px); }
  @media (max-width: 859px) { html:not([lang^="zh"]) .dlins-lead .dl-title { font-size: 22px; } }
  /* 數據語言・新聞（2026-10-17，/news；portal.js 的 NewsHero 與 newsView，活圖 live-news.js 的 LiveArt.river〈話題河流〉；類名前綴 dlnw-）
     主視覺＝近 30 天每天各主題的新聞則數疊成的河；下方清單改細線列（襯線標題、摘要兩行、右側縮圖）。 */
  .dl-hero--nw { height: 580px; }
  .dl-hero--nw::before { display: none; }
  .dl-hero--nw .dl-hero__capin { max-width: 440px; }
  .dl-hero--nw .dl-title { font-size: 42px; line-height: 1.32; }
  .dl-hero--nw .dl-hero__stage:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -4px; }
  .dlnw-nums { display: flex; margin-top: 16px; }
  .dlnw-num { padding: 4px 14px 0 0; margin-right: 14px; border-right: 1px solid var(--dl-hair); min-width: 0; }
  .dlnw-num:last-child { border-right: 0; margin-right: 0; }
  .dlnw-num b { white-space: nowrap; display: block; font: 500 28px/1.1 var(--dl-mono); letter-spacing: -.02em; color: var(--dl-ink); }
  .dlnw-num.is-warm b { color: var(--dl-warm); }
  .dlnw-num b small { font: 400 13px/1 var(--dl-sans); color: var(--dl-ink2); margin-left: 3px; }
  .dlnw-num span { font-size: 12px; color: var(--dl-ink2); letter-spacing: .02em; line-height: 1.4; display: block; }
  .dl-hero--nw .dl-legend { margin-top: 16px; }
  .dlnw-dock { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--dl-hair); min-height: 64px; }
  .dlnw-st { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; min-width: 0; font-size: 13px; color: var(--dl-ink2); }
  .dlnw-st__k { font-size: 12px; font-weight: 700; color: var(--dl-deep); letter-spacing: .1em; }
  .dlnw-st__h { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; font: 700 15px/1.5 var(--dl-serif); color: var(--dl-ink); letter-spacing: .04em; }
  .dlnw-st__h small { font: 400 12px/1.5 var(--dl-sans); color: var(--dl-ink2); letter-spacing: .02em; }
  .dlnw-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--dl-ink); border-radius: 22px; background: var(--dl-paper2); color: var(--dl-ink); font: 600 14px/1 var(--dl-sans); cursor: pointer; white-space: nowrap; }
  .dlnw-chip i { font-style: normal; font-weight: 400; color: var(--dl-ink2); font-size: 16px; }
  .dlnw-chip:hover i { color: var(--dl-ink); }
  .dlnw-sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; flex: none; }
  .dlnw-st__go { min-height: 44px; border: 0; background: none; padding: 0 4px; cursor: pointer; color: var(--dl-sea); font: 700 14px/1 var(--dl-sans); white-space: nowrap; }
  .dlnw-act { display: flex; gap: 8px; margin-left: auto; }
  .dlnw-tip { max-width: 240px; }
  .dlnw-tip__r { display: flex; align-items: center; gap: 6px; line-height: 1.7; color: #56676c; }
  .dlnw-tip__r i { width: 9px; height: 9px; border-radius: 2px; flex: none; }
  .dlnw-tip__r em { margin-left: auto; padding-left: 10px; font: 500 12px/1 "IBM Plex Mono", ui-monospace, monospace; font-style: normal; color: #10242a; }
  .dlnw-tip__r.is-on { color: #10242a; font-weight: 700; }
  .dlnw-tip small { display: block; margin-top: 4px; padding-top: 4px; border-top: 1px solid #d3dcda; font-size: 12px; color: #0c7078; }
  /* 下方清單 */
  .dlnw-cols { margin-top: 32px; }
  .dlnw-cols .colstrip { margin: 0; }
  .dlnw-list .dl-sh h2 { font-size: 30px; }
  .dlnw-clr, .dlnw-clr2 { border: 0; background: none; cursor: pointer; padding: 0; font: 700 14px/1 var(--dl-sans); color: var(--dl-sea); }
  .dlnw-clr2 { min-height: 44px; padding: 0 4px; }
  .dlnw-list .searchbox, .dlnw-list .srch { margin-bottom: 8px; }
  .dlnw-wrap .news__fbar { margin: 4px 0 14px; }
  .dlnw-news { border-top: 2px solid var(--dl-ink); }
  .dlnw-news li.dlnw-item { grid-template-columns: minmax(0, 1fr) 168px; }
  .dlnw-news .dl-news__t { font-size: 19px; }
  .dlnw-news li.dlnw-item:first-child .dl-news__t { font-size: 24px; }
  .dlnw-news .dl-news__m .is-src { max-width: 14em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dlnw-tag { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 8px; margin: -4px 0; border: 1px solid transparent; border-radius: 14px; background: none; cursor: pointer; font: 500 12px/1 var(--dl-sans); color: var(--dl-ink2); }
  .dlnw-tag:hover, .dlnw-tag.is-on { border-color: var(--dl-hair); color: var(--dl-ink); }
  .dlnw-tag.is-on { background: var(--dl-paper2); font-weight: 700; }
  .dlnw-rel { margin-top: 8px; }
  .dlnw-rel > summary { min-height: 32px; display: flex; align-items: center; gap: 6px; color: var(--dl-sea); font-weight: 700; }
  .dlnw-rel ul { margin: 4px 0 0; padding-left: 16px; border-left: 1px solid var(--dl-hair); }
  .dlnw-rel li { display: block; padding: 0; border: 0; font-size: 13px; line-height: 1.7; }
  .dlnw-rel li a { color: var(--dl-ink); }
  .dlnw-news .dl-news__img { width: 168px; height: 112px; }
  [data-theme="dark"] .dlnw-chip { background: transparent; }
  @media (max-width: 859px) {
    .dl-hero--nw { height: auto; }
    .dl-hero--nw .dl-hero__spacer { height: 300px; flex: none; }
    .dl-hero--nw .dl-hero__cap { padding-top: 22px; }
    .dl-hero--nw .dl-title { font-size: 27px; line-height: 1.42; margin: 8px 0 6px; }
    .dl-hero--nw .dl-title__cl { white-space: normal; }
    .dlnw-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; }
    .dlnw-num { padding: 4px 6px 0 0; margin-right: 6px; }
    .dlnw-num b { font-size: 21px; } .dlnw-num b small { font-size: 12px; }
    .dl-hero--nw .dl-legend { display: flex; gap: 4px 12px; margin-top: 10px; }
    .dl-hero--nw .dl-legend span + span { display: none; }
    .dlnw-dock { padding: 6px 0 8px; min-height: 56px; }
    .dlnw-st__h small { display: none; }
    .dlnw-chip { padding: 0 10px; font-size: 13px; }
    .dlnw-list .dl-sh h2 { font-size: 25px; }
    .dlnw-news li.dlnw-item { grid-template-columns: minmax(0, 1fr) 96px; }
    .dlnw-news li.dlnw-item:first-child .dl-news__t { font-size: 20px; } .dlnw-news .dl-news__t { font-size: 17px; }
    .dlnw-news .dl-news__img { width: 96px; height: 72px; }
  }

  /* 數據語言・景點（2026-10-17，/spots；portal.js 的 spotsView、spotAdvice、spotRow、spotGroups；類名前綴 dlsp-，頁名小標與分頁沿用馬祖現場的 dll-kick、dll-lead、dll-tabs）
     3D 地圖（Spots3D）是使用者喜歡的主視覺，本身不改，只換外框位置；標題句依選的島此刻的天氣與時段推一類景點（規則在「這是怎麼來的」）；
     類別、搜尋、清單改細線排法（照片保留）；景點詳情（spotSheet）不動。日夜模式跟網站走。 */
  [data-theme="dark"] .dlsp {
    --dl-paper: var(--surface); --dl-paper2: var(--surface-raised); --dl-ink: var(--ink); --dl-ink2: #a9b8bb; --dl-ink3: #82949a; --dl-hair: var(--line);
    --dl-sea: #5cc2c4; --dl-deep: #8ad8d6; --dl-warm: #f08a5d; --dl-go: #5fcf94; --dl-hold: #e3b25c; --dl-stop: #f08a7c;
  }
  html:has(.dlsp):not([data-theme="dark"]) body { background: var(--dl-paper); }
  .dlsp { font-family: var(--dl-sans); color: var(--dl-ink); }
  .dlsp > .block.dlsp-head { margin-top: 0; padding-bottom: 0; margin-bottom: 0; }
  .dlsp .dll-lead { padding-bottom: 10px; }
  .dlsp-rec { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; padding: 10px 0 14px; border-top: 1px solid var(--dl-hair); }
  .dlsp-rec__k { flex: none; font-size: 12px; font-weight: 700; color: var(--dl-deep); letter-spacing: .12em; }
  .dlsp-rec__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; flex: 1; min-width: 0; }
  .dlsp-rec__i { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px 0 0; margin-right: 14px; border: 0; background: none; cursor: pointer;
    font: 700 16px/1.3 var(--dl-serif); color: var(--dl-ink); letter-spacing: .04em; text-decoration: underline; text-decoration-color: var(--dl-hair); text-underline-offset: 6px; }
  button.dlsp-rec__i:hover { color: var(--dl-sea); text-decoration-color: var(--dl-sea); }
  .dlsp-rec__i.is-tear { text-decoration: none; color: var(--dl-tear); cursor: default; }
  .dlsp-rec__more { font-size: 12px; color: var(--dl-ink2); }
  .dlsp-rec__btn { flex: none; border-radius: 0; }
  .dlsp-rec__btn:not(.is-deep) { border-color: var(--dl-ink); background: transparent; color: var(--dl-ink); }
  .dlsp-isles { margin-bottom: 0; }

  .dlsp-map { padding-top: 18px; }
  .dlsp-map .spot3d { margin-bottom: 0; border-radius: 2px; }
  .dlsp-map .spotmap { border-radius: 2px; }

  .dlsp-body { padding-top: 22px; }
  .dlsp-frow { display: grid; grid-template-columns: 4em minmax(0, 1fr); align-items: start; gap: 0 12px; border-top: 1px solid var(--dl-hair); padding: 4px 0; }
  .dlsp-frow__lb { padding-top: 13px; font-size: 12px; font-weight: 700; color: var(--dl-ink2); letter-spacing: .12em; }
  .dlsp-frow__in { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; min-width: 0; }
  .dlsp-trip .camsel__s { min-height: 44px; margin-right: 10px; }
  .dlsp-tag { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 12px 0 0; margin-right: 6px; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer;
    font: 400 14px/1 var(--dl-sans); color: var(--dl-ink2); letter-spacing: .04em; white-space: nowrap; }
  .dlsp-tag:hover { color: var(--dl-ink); }
  .dlsp-tag[aria-pressed="true"] { color: var(--dl-ink); font-weight: 700; border-bottom-color: var(--dl-ink); }
  .dlsp-tag:focus-visible, .dlsp-rec__i:focus-visible, .dlsp-row__b:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dlsp-tag__n { font-family: var(--dl-mono); font-size: 12px; font-weight: 500; color: var(--dl-ink3); }
  .dlsp-tag[aria-pressed="true"] .dlsp-tag__n { color: var(--dl-warm); }
  .dlsp-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 700; color: var(--dl-sea); text-decoration: none; }
  .dlsp-find { position: relative; display: flex; align-items: center; border-top: 1px solid var(--dl-hair); border-bottom: 2px solid var(--dl-ink); }
  .dlsp-find input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: transparent; padding: 0; font: 400 16px/1.4 var(--dl-sans); color: var(--dl-ink); outline: none; }
  .dlsp-find input::placeholder { color: var(--dl-ink3); }
  .dlsp-find:focus-within { border-bottom-color: var(--dl-sea); }
  .dlsp-find__x { min-height: 44px; padding: 0 4px 0 12px; border: 0; background: none; cursor: pointer; font-size: 13px; color: var(--dl-sea); font-weight: 700; }
  .dlsp-note { font-size: 13px; color: var(--dl-ink2); line-height: 1.7; margin: 12px 0 0; }
  .dlsp-note > span + span { margin-left: 4px; }
  .dlsp-note button { border: 0; background: none; padding: 0 0 0 6px; min-height: 32px; cursor: pointer; color: var(--dl-sea); font-weight: 700; font-size: 13px; }
  .dlsp-plain { padding-top: 8px; }

  .dlsp-group { padding-top: 26px; }
  .dlsp-group__h { display: flex; align-items: baseline; gap: 6px; margin: 0; padding-bottom: 8px; border-bottom: 2px solid var(--dl-ink); }
  .dlsp-group__h span { font: 900 26px/1.2 var(--dl-serif); letter-spacing: .06em; margin-right: 6px; }
  .dlsp-group__h b { font: 600 18px/1 var(--dl-mono); } .dlsp-group__h small { font-size: 12px; color: var(--dl-ink2); }
  .dlsp-list { list-style: none; margin: 0; padding: 0; }
  .dlsp-row { border-bottom: 1px solid var(--dl-hair); }
  .dlsp-row__b { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 0 16px; width: 100%; min-height: 96px; padding: 12px 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--dl-ink); font-family: var(--dl-sans); }
  .dlsp-row__b:hover .dlsp-row__n { color: var(--dl-sea); }
  .dlsp-row__ph { position: relative; display: block; width: 112px; height: 76px; overflow: hidden; border-radius: 2px; background: #e6ebea; }
  .dlsp-row__ph .shopthumb, .dlsp-row__ph .spotart { width: 100%; height: 100%; border-radius: 0; }
  .dlsp-row__tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .dlsp-row__k { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--dl-ink2); letter-spacing: .1em; line-height: 1.5; }
  .dlsp-row__k em { font-style: normal; font-weight: 700; color: var(--dl-warm); letter-spacing: .06em; }
  .dlsp-row__n { font: 900 18px/1.4 var(--dl-serif); letter-spacing: .03em; }
  .dlsp-row__m { display: flex; flex-wrap: wrap; gap: 0 10px; font-size: 12px; color: var(--dl-ink2); line-height: 1.6; }
  .dlsp-row__h { font-family: var(--dl-mono); font-size: 12px; }
  .dlsp-row__d { font-size: 13px; color: var(--dl-ink2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .dlsp-row__go { color: var(--dl-ink3); font-size: 20px; padding-left: 4px; }
  .dlsp-row.is-rec .dlsp-row__ph { outline: 2px solid var(--dl-warm); outline-offset: -2px; }
  @media (min-width: 900px) { .dlsp-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }

  .dlsp-sh { display: flex; align-items: baseline; gap: 6px; padding-bottom: 8px; border-bottom: 2px solid var(--dl-ink); margin-top: 18px; }
  .dlsp-sh h2 { font: 900 26px/1.2 var(--dl-serif); margin: 0 8px 0 0; letter-spacing: .06em; }
  .dlsp-sh b { font: 600 18px/1 var(--dl-mono); } .dlsp-sh small { font-size: 12px; color: var(--dl-ink2); }
  .dlsp-tear { list-style: none; margin: 0; padding: 0; }
  .dlsp-tear li { display: grid; grid-template-columns: 4em minmax(0, 1fr); gap: 0 14px; padding: 14px 0; border-bottom: 1px solid var(--dl-hair); }
  .dlsp-tear__i { font-size: 12px; font-weight: 700; color: var(--dl-tear); letter-spacing: .1em; padding-top: 4px; }
  .dlsp-tear__n { font: 900 17px/1.4 var(--dl-serif); letter-spacing: .03em; }
  .dlsp-tear__n span { font: 400 12px var(--dl-sans); color: var(--dl-ink2); margin-left: 10px; }
  .dlsp-tear p { margin: 4px 0 0; font-size: 13px; line-height: 1.7; color: var(--dl-ink2); }
  .dlsp-tear a { color: var(--dl-sea); }
  .dlsp + .sitefoot, .lookroot[data-view="spots"] > .sitefoot { margin-top: 64px; }

  @media (max-width: 859px) {
    .dlsp-rec { gap: 2px 10px; padding: 6px 0 10px; }
    .dlsp-rec__k { width: 100%; padding-top: 6px; }
    .dlsp-rec__i { font-size: 15px; }
    .dlsp-isles .dll-tab { padding-right: 6px; margin-right: 4px; font-size: 14px; gap: 4px; }
    .dlsp-rec__i { margin-right: 10px; padding-right: 0; min-height: 40px; }
    .dlsp-map { padding-top: 12px; }
    .dlsp-body { padding-top: 14px; }
    .dlsp-frow { grid-template-columns: minmax(0, 1fr); }
    .dlsp-frow__lb { padding-top: 10px; }
    .dlsp-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-right: calc(-1 * var(--shell-pad, 12px)); }
    .dlsp-cats::-webkit-scrollbar { display: none; }
    .dlsp-row__b { grid-template-columns: 84px minmax(0, 1fr); gap: 0 12px; min-height: 84px; padding: 10px 0; }
    .dlsp-row__ph { width: 84px; height: 64px; }
    .dlsp-row__go, .dlsp-row__d { display: none; }
    .dlsp-row__n { font-size: 16px; }
    .dlsp-group__h span, .dlsp-sh h2 { font-size: 22px; }
  }

  /* 數據語言・馬祖缺什麼（2026-10-17，/needs；portal.js 的 NeedsView、NdHero，活圖 live-needs.js 的 LiveArt.needs；類名前綴 dlnd-）
     主視覺＝各層面急迫程度的點陣＋陳情主題細線長條；下面的比較表、陳情、全國對照照舊，改成細線（共用樣式寫在「公共事務追蹤」那一段的 .dlnd, .dlcv） */
  .dl-hero--nd { height: 640px; }
  .dl-hero--nd::before { display: none; }
  .dl-hero--nd .dl-hero__capin { max-width: 470px; }
  .dl-hero--nd .dl-title { font-size: 40px; line-height: 1.36; }
  .dlnd-n, .dlcv-n { font-family: var(--dl-mono); font-weight: 600; font-size: .94em; letter-spacing: -.01em; white-space: nowrap; }
  .dlnd-dock { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--dl-hair); }
  .dlnd-hint { margin: 0; font-size: 12.5px; color: var(--dl-ink2); letter-spacing: .02em; }
  .dlnd-act, .dlcv-act { display: flex; gap: 8px; flex: none; }
  .dl-hero--nd .dl-legend svg, .dl-hero--cv .dl-legend svg { flex: none; }
  @media (max-width: 859px) {
    .dl-hero--nd { height: auto; }
    .dl-hero--nd .dl-hero__spacer { height: 452px; flex: none; }
    .dl-hero--nd .dl-title { font-size: 26px; line-height: 1.45; margin: 8px 0 6px; }
    .dlnd-nums, .dlcv-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; }
    .dlcv-nums { grid-template-columns: 1.2fr 1fr 1fr; }
    .dlnd-nums .dlgo-num, .dlcv-nums .dlgo-num { padding: 8px 6px 0 0; margin-right: 6px; }
    .dlnd-nums .dlgo-num b, .dlcv-nums .dlgo-num b { font-size: 22px; } .dlnd-nums .dlgo-num b small, .dlcv-nums .dlgo-num b small { font-size: 12px; }
    .dlnd-nums .dlgo-num span, .dlcv-nums .dlgo-num span { white-space: normal; line-height: 1.4; display: block; }
    .dlnd-hint { font-size: 12px; flex: 1 1 200px; }
    .dlnd-dock { padding: 8px 0; }
  }

  /* 數據語言・公共事務追蹤（2026-10-17，/civic；portal.js 的 CivicView、CvHero、cvHow，活圖 live-civic.js 的 LiveArt.civicband；類名前綴 dlcv-）
     主視覺＝事件的時間帶（每件事一條線，依狀態上色、可篩選）；總覽的長條、人物列、選舉史照舊，改成細線樣式。判斷、分數與文字不變。 */
  .dl-hero--cv { height: 700px; --cv-done: #1f7a4d; --cv-late: #4f7a1f; --cv-partial: #9a6a00; --cv-ongoing: #1d5f8a; --cv-delayed: #b3402a; --cv-not_done: #7a1f1f; --cv-cancelled: #6b6b6b; --cv-unknown: #7d7468; }
  .dl-hero--cv::before { display: none; }
  .dl-hero--cv .dl-hero__capin { max-width: 470px; }
  .dl-hero--cv .dl-title { font-size: 38px; line-height: 1.38; }
  .dl-hero--cv .is-done { --c: var(--cv-done); } .dl-hero--cv .is-late { --c: var(--cv-late); } .dl-hero--cv .is-partial { --c: var(--cv-partial); } .dl-hero--cv .is-ongoing { --c: var(--cv-ongoing); }
  .dl-hero--cv .is-delayed { --c: var(--cv-delayed); } .dl-hero--cv .is-not_done { --c: var(--cv-not_done); } .dl-hero--cv .is-cancelled { --c: var(--cv-cancelled); } .dl-hero--cv .is-unknown { --c: var(--cv-unknown); }
  .dlcv-dock { padding: 8px 0 10px; border-top: 1px solid var(--dl-hair); display: grid; gap: 6px; }
  .dlcv-crow { display: flex; align-items: center; gap: 4px 12px; flex-wrap: wrap; min-width: 0; }
  .dlcv-chips { display: flex; flex-wrap: wrap; gap: 0 2px; min-width: 0; }
  .dlcv-chip { appearance: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 10px 0 0; margin-right: 6px; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; font: 500 13px/1 var(--dl-sans); color: var(--dl-ink2); }
  .dlcv-chip i { width: 16px; height: 4px; background: var(--c, var(--dl-ink)); flex: none; }
  .dlcv-chip b { font: 500 13px/1 var(--dl-mono); color: var(--dl-ink); }
  .dlcv-chip.is-on { color: var(--dl-ink); font-weight: 700; border-bottom-color: var(--dl-ink); }
  .dlcv-chip:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dlcv-row { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
  .dlcv-read { flex: 1 1 360px; min-width: 0; display: flex; align-items: center; gap: 4px 10px; flex-wrap: wrap; font-size: 13px; color: var(--dl-ink2); min-height: 44px; }
  @media (min-width: 860px) {
    .dlcv-read { flex-wrap: nowrap; overflow: hidden; }
    .dlcv-read > * { flex: none; }
    .dlcv-read .dlcv-read__t { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .dlcv-read .dlcv-read__d { flex: 1 1 0; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  }
  .dlcv-read .cv__pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 1px 8px 1px 4px; border-radius: 999px; color: var(--c); border: 1.5px solid var(--c); background: var(--dl-paper2); white-space: nowrap; }
  .dlcv-read .cv__pill i { font-style: normal; font-weight: 900; }
  .dlcv-read__t { font: 700 15px/1.4 var(--dl-sans); color: var(--dl-ink); }
  .dlcv-read__d { font-size: 12.5px; color: var(--dl-ink2); }
  .dlcv-go { min-height: 36px; }
  .dlcv-link { appearance: none; border: 0; background: none; padding: 0 0 0 6px; min-height: 36px; cursor: pointer; font: 700 13px/1 var(--dl-sans); color: var(--dl-sea); }
  @media (max-width: 859px) {
    .dl-hero--cv { height: auto; }
    .dl-hero--cv .dl-hero__spacer { height: 470px; flex: none; }
    .dl-hero--cv .dl-title { font-size: 26px; line-height: 1.45; margin: 8px 0 6px; }
    .dlcv-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
    .dlcv-chips::-webkit-scrollbar { display: none; }
    .dlcv-chip { flex: none; min-height: 44px; }
    .dlcv-read { flex-basis: 100%; }
    .dlcv-crow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
    .dlcv-link { justify-self: start; padding-left: 0; min-height: 40px; }
    .dlcv-read__t { font-size: 14px; }
  }

  /* 兩頁下方：細線取代框線與圓角，大數字用等寬字（公共事務追蹤、馬祖缺什麼共用） */
  .dlnd .dlh__body.cv, .dlcv .dlh__body.cv { padding-block: 0 56px; gap: 18px; }
  .dlnd .cv__tabs, .dlcv .cv__tabs { margin-top: 28px; border-bottom: 1px solid var(--dl-hair); gap: 0; overflow-x: auto; scrollbar-width: none; scroll-margin-top: 72px; }
  .dlnd .cv__tabs::-webkit-scrollbar, .dlcv .cv__tabs::-webkit-scrollbar { display: none; }
  .dlnd .cv__tabs button, .dlcv .cv__tabs button { font-family: var(--dl-sans); font-size: 16px; font-weight: 500; color: var(--dl-ink2); padding: 8px 16px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; flex: none; }
  .dlnd .cv__tabs button:first-child, .dlcv .cv__tabs button:first-child { padding-left: 0; }
  .dlnd .cv__tabs button.is-on, .dlcv .cv__tabs button.is-on { color: var(--dl-ink); font-weight: 700; border-bottom-color: var(--dl-ink); }
  .dlnd .cv__card, .dlcv .cv__card { border: 0; border-top: 2px solid var(--dl-ink); border-radius: 0; padding: 14px 0 0; background: none; }
  .dlnd .cv__card h2, .dlcv .cv__card h2 { font-family: var(--dl-serif); font-size: 22px; letter-spacing: .03em; }
  .dlnd .cv__gh, .dlcv .cv__gh { font-family: var(--dl-serif); font-size: 18px; }
  .dlnd .cv__w, .dlcv .cv__w { border: 0; border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); border-radius: 0; padding: 8px 0; }
  .dlnd .cv__warn, .dlcv .cv__warn { border-radius: 0; background: none; border-left-width: 2px; }
  .dlnd .cv__more, .dlcv .cv__more { border-radius: 22px; border: 1px solid var(--dl-hair); background: transparent; font-weight: 500; }
  .dlnd .cv__more:hover, .dlcv .cv__more:hover { border-color: var(--dl-ink3); }
  .dlnd .cv__q, .dlnd .cv__sel select, .dlcv .cv__q, .dlcv .cv__sel select { border-radius: 0; border-width: 0 0 1px; background: transparent; padding-inline: 0; }
  .dlcv .cv__dnav .dy-chip { border-radius: 0; border: 0; border-bottom: 2px solid transparent; background: none; padding-inline: 0 4px; margin-right: 12px; color: var(--dl-ink2); }
  .dlcv .cv__dnav .dy-chip[aria-pressed="true"] { color: var(--dl-ink); font-weight: 700; border-bottom-color: var(--dl-ink); background: none; }
  .dlcv .newsfilter .dy-chip { border-radius: 0; border-width: 0 0 2px; border-color: transparent; background: none; }
  .dlcv .newsfilter .dy-chip[aria-pressed="true"] { color: var(--dl-ink); border-bottom-color: var(--dl-ink); background: none; }
  /* 狀態長條：色塊改成一條細色線，數字寫在線下（可點的那一條字大一點） */
  .dlcv .cv__bar { gap: 2px; min-height: 0; align-items: stretch; }
  .dlcv .cv__seg { border-radius: 0; background: none; color: var(--dl-ink); border-top: 5px solid var(--c); justify-items: start; align-content: start; padding: 4px 2px 0 0; }
  .dlcv button.cv__seg { min-height: 52px; padding: 7px 6px 4px 0; border-top-width: 6px; }
  .dlcv button.cv__seg b { font: 500 20px/1 var(--dl-mono); color: var(--dl-ink); }
  .dlcv button.cv__seg span { font-size: 12px; color: var(--dl-ink2); }
  .dlcv button.cv__seg:hover { background: rgba(16, 36, 42, .04); }
  .dlcv .cv__seg.is-on { outline: 0; background: rgba(16, 36, 42, .06); border-top-width: 9px; }
  .dlcv .cv__seg:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dlcv span.cv__seg { min-height: 0; flex-basis: 18px; min-width: 14px; }
  .dlcv span.cv__seg b { font: 500 12px/1.25 var(--dl-mono); color: var(--dl-ink2); }
  .dlcv .cv__rb .cv__bar, .dlcv .cv__scale .cv__bar { min-height: 0; }
  .dlcv .cv__rb span.cv__seg, .dlcv .cv__scale span.cv__seg { min-height: 0; border-radius: 0; min-width: 14px; padding: 3px 0 0; }
  .dlcv .cv__rb span.cv__seg b, .dlcv .cv__scale span.cv__seg b { font-size: 12px; }
  .dlcv .cv__legend i { width: 16px; height: 4px; border-radius: 0; }
  .dlcv .cv__pill { background: transparent; }
  /* 人物列、歷任縣長、類別：大數字等寬字 */
  .dlcv .cv__rows { border-top: 2px solid var(--dl-ink); }
  .dlcv .cv__row { border-bottom-color: var(--dl-hair); }
  .dlcv .cv__rn b, .dlcv .cv__mname b { font-family: var(--dl-serif); }
  .dlcv .cv__big b { font: 500 42px/1 var(--dl-mono); letter-spacing: -.02em; }
  .dlcv .cv__big.is-na b { font-size: 30px; } .dlcv .cv__big.is-n b { font-size: 36px; }
  .dlcv .cv__stat b, .dlcv .cv__cbig { font-family: var(--dl-mono); font-weight: 500; }
  .dlcv .cv__mrow, .dlcv .cv__hb li, .dlcv .cv__rank li { border-top-color: var(--dl-hair); }
  .dlcv .cv__colb i { border-radius: 0; }
  .dlcv .cv__rbar { border-radius: 0; height: 4px; }
  .dlcv .cv__rbar i { border-radius: 0; }
  .dlcv .cv__spark { border: 0; border-top: 1px solid var(--dl-hair); border-radius: 0; padding: 10px 0 0; }
  /* 選舉史：得票長條改成細色線、名字與得票率寫在線下 */
  .dlcv .cv__vb { border-radius: 0; min-height: 0; overflow: visible; gap: 3px; }
  .dlcv .cv__vb > span { background: none; color: var(--dl-ink); border-top: 5px solid #c4bcae; padding: 4px 6px 0 0; justify-content: flex-start; }
  .dlcv .cv__vb > span.is-win { border-top-color: var(--dl-deep); } .dlcv .cv__vb > span.is-o1 { border-top-color: #8a7f6e; } .dlcv .cv__vb > span.is-o2 { border-top-color: #a99f8f; }
  .dlcv .cv__vb > span b { font-size: 13.5px; } .dlcv .cv__vb > span small { font-family: var(--dl-mono); color: var(--dl-ink2); opacity: 1; }
  .dlcv .cv__vy b { font-family: var(--dl-mono); font-weight: 500; }
  .dlcv .cv__term { border: 0; border-top: 3px solid #b9d0bf; border-radius: 0; background: none; padding: 8px 10px 0 0; }
  .dlcv .cv__term.is-2 { border-top-color: var(--dl-deep); background: none; }
  .dlcv .cv__term.is-now { border-top: 3px dashed var(--dl-warm); background: none; }
  .dlcv .cv__term em { color: var(--dl-deep); }
  .dlcv .cv__pat li { border-radius: 0; background: none; border: 0; border-top: 1px solid var(--dl-hair); padding: 10px 0 0; }
  .dlcv .cv__pl > li { border-radius: 0; border: 0; border-top: 1px solid var(--dl-hair); border-left: 3px solid #1f6f5c; padding: 10px 0 10px 12px; }
  .dlcv .cv__pl > li.is-no { border-left-color: #b23b2c; }
  .dlcv .cv__plb > span { height: 3px; border-radius: 0; } .dlcv .cv__plb i { border-radius: 0; }
  .dlcv .cv__plw, .dlcv .cv__vdh, .dlcv .cv__bz { border-radius: 0; background: none; border: 0; border-top: 1px solid var(--dl-hair); padding: 12px 0 0; }
  .dlcv .cv__vdc { border-radius: 0; border: 0; border-top: 3px solid #8a7f6e; background: none; padding: 10px 0 0; }
  .dlcv .cv__vdc.is-ok { border-top-color: #1f6f5c; } .dlcv .cv__vdc.is-mid { border-top-color: #c58a12; } .dlcv .cv__vdc.is-no { border-top-color: #b23b2c; }
  .dlcv .cv__cm { border: 0; border-top: 2px solid var(--dl-ink); border-radius: 0; padding: 10px 0 0; }
  .dlcv .cv__rec { border-radius: 0; }
  .dlcv .stt { gap: 0; }
  .dlcv .stt__i { border-radius: 0; background: none; border-top: 1px solid var(--dl-hair); padding: 10px 14px 2px 0; }
  .dlcv .stt__i + .stt__i { border-left: 1px solid var(--dl-hair); padding-left: 14px; }
  .dlcv .stt__v b { font-family: var(--dl-mono); font-weight: 500; }
  /* 馬祖缺什麼：陳情長條改成細線、急迫標籤透明底 */
  .dlnd .nd__bb { height: 3px; border-radius: 0; background: var(--dl-hair); } .dlnd .nd__bb i { border-radius: 0; background: var(--dl-deep); }
  .dlnd .nd__bars > li { border-top-color: var(--dl-hair); }
  .dlnd .nd__bars summary b { font-family: var(--dl-mono); font-weight: 500; }
  .dlnd .nd__yb i { border-radius: 0; width: 6px; background: var(--dl-ink3); }
  .dlnd .nd__kn b { font-family: var(--dl-mono); font-weight: 500; }
  .dlnd .nd__nums li, .dlnd .nd__cmp li { border-bottom-color: var(--dl-hair); }
  .dlnd .nd__urg { background: transparent; }
  .dlnd .nd__grp + .nd__grp { margin-top: 8px; }
  @media (max-width: 859px) {
    .dlnd .cv__tabs button, .dlcv .cv__tabs button { font-size: 15px; padding: 8px 12px; }
    .dlcv .cv__big b { font-size: 34px; }
  }

  /* 數據語言・生活資訊（2026-10-17，/info 的生活資訊；portal.js 的 LifeHub、DLPageHead、各主題的 *Head 標題句、GarbageBox 的主視覺，活圖 live-garbage.js 的 LiveArt.garbage；類名前綴 dlinfo-、dlgb-）
     頁首＝頁名小標「生活資訊」＋目前主題＋依主題資料組成的大標題；只有垃圾車有活圖〈今天的收運路線〉。
     主題列改細線分頁；各主題的卡片改細線；既有圖表（瓦斯走勢、售價組成、成本指標、損益範圍、到港星期分布、表內小長條）改細線與數據語言色票。 */
  [data-theme="dark"] .dlinfo--garbage .dlh__body { --dl-ink: var(--ink); }
  .dl-hero--gb { height: 600px; }
  .dl-hero--gb::before { display: none; }
  .dl-hero--gb .dl-hero__capin { max-width: 480px; }
  .dl-hero--gb .dl-title { font-size: 36px; line-height: 1.4; letter-spacing: .02em; margin: 14px 0 10px; }
  .dl-hero--gb .dl-legend { margin-top: 14px; }
  .dlgb-town button small.dlgb-tag { display: inline-block; margin-left: 6px; font: 500 12px/1.3 var(--dl-sans); letter-spacing: 0; color: var(--dl-ink3); vertical-align: 1px; }
  .dlgb-town button small.dlgb-tag.is-on { color: var(--dl-warm); }
  .dlgb-town button small.dlgb-tag.is-on::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--dl-warm); margin-right: 4px; vertical-align: 1px; }
  .dl-tl__line.is-gbt line { stroke: var(--dl-deep); stroke-width: 3; } .dl-tl__line.is-gbr line { stroke: var(--dl-sea); stroke-width: 2; stroke-dasharray: 4 3; }
  /* 主題列：細線分頁；其他資訊分頁（地方資訊、LINE、FB）較淡，接在分隔線後 */
  .lifehub__nav.dlinfo-nav { gap: 0; margin: 18px 0 0; border-bottom: 1px solid var(--dl-hair); align-items: stretch; }
  .dlinfo-nav .lifehub__b { min-height: 46px; padding: 0 13px; margin-bottom: -1px; border: 0; border-radius: 0; border-bottom: 2px solid transparent; background: none; color: var(--dl-ink2); font: 500 15px/1 var(--dl-sans); letter-spacing: .02em; }
  .dlinfo-nav .lifehub__b:first-child { padding-left: 0; }
  .dlinfo-nav .lifehub__b.is-on { color: var(--dl-ink); font-weight: 700; border-bottom-color: var(--dl-ink); background: none; }
  .dlinfo-nav .lifehub__b.is-other { color: var(--dl-ink3); font-size: 13.5px; }
  .dlinfo-nav .lifehub__b:hover { color: var(--dl-ink); }
  .dlinfo-nav .lifehub__b:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -2px; }
  .dlinfo-nav__sep { flex: none; width: 1px; height: 16px; align-self: center; background: var(--dl-hair); margin: 0 6px 0 4px; }
  .dlinfo--garbage .dlh__body > .dlinfo-nav { margin-top: 22px; }
  .dlinfo-after { margin-top: 28px; }
  .dlinfo-after .plain:empty { display: none; }
  /* 主題內容：卡片改細線 */
  .dlinfo .gb { margin: 22px 0 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; gap: 16px; font-family: var(--dl-sans); color: var(--dl-ink); }
  .dlinfo .gb .gb { margin-top: 8px; }
  .dlinfo .gb__h, .dlinfo .gb__sub, .dlinfo .gsv__hd h4, .dlinfo .gsv__sec, .dlinfo h4.gb__sub { font-family: var(--dl-serif); font-weight: 700; letter-spacing: .03em; }
  .dlinfo .gb__sub { font-size: 20px; padding-top: 14px; border-top: 1px solid var(--dl-hair); }
  .dlinfo .gb__sub span { font-family: var(--dl-sans); font-weight: 400; font-size: 13px; color: var(--dl-ink2); letter-spacing: 0; }
  .dlinfo .gb__note { color: var(--dl-ink2); }
  .dlinfo .newsfilter .dy-chip { border-radius: 2px; }
  .dlinfo .gsv__card, .dlinfo .gsv__more.is-card { background: none; border: 0; border-top: 1px solid var(--dl-hair); border-radius: 0; padding: 16px 0 4px; box-shadow: none; }
  .dlinfo .gsv__card.is-rep { background: none; border-style: solid; }
  .dlinfo .gsv__rights > div, .dlinfo .gsv__kpi > div, .dlinfo .gsv__tiles > div, .dlinfo .gsv__flow > div, .dlinfo .gsv__fork .is-end, .dlinfo .gsv__kv.is-co, .dlinfo .supu { border-radius: 2px; box-shadow: none; }
  .dlinfo .gsv__rights > div { background: none; border: 0; border-top: 1px solid var(--dl-hair); padding: 12px 0 4px; }
  .dlinfo .gsv__alert { border-radius: 0; background: none; border-left: 2px solid var(--dl-hold); padding: 4px 0 4px 14px; }
  .dlinfo .gsv__go { border-radius: 2px; background: var(--dl-deep); }
  .dlinfo .gsv__call { border-radius: 2px; background: var(--dl-deep); }
  .dlinfo .gsv__call b, .dlinfo .gsv__big b, .dlinfo .gsv__kpi b, .dlinfo .gsv__tiles b, .dlinfo .gsv__bars b, .dlinfo .gsv__tl b, .dlinfo .gsv__tl time, .dlinfo .gsv__ev time { font-family: var(--dl-mono); font-weight: 600; }
  .dlinfo .gsv__hot { border-radius: 2px; background: none; border: 0; border-left: 2px solid var(--dl-hold); padding: 6px 0 6px 14px; }
  /* 瓦斯走勢：細線 */
  .dlinfo .gs__grid { stroke: var(--dl-hair); stroke-width: 1; }
  .dlinfo .gs__tick { font-family: var(--dl-mono); font-size: 12px; fill: var(--dl-ink3); }
  .dlinfo .gsv__kpi > div, .dlinfo .gsv__kpi .is-dark, .dlinfo .gsv__kpi .is-warn { background: none; border: 0; border-top: 1px solid var(--dl-hair); color: var(--dl-ink); padding: 10px 0; } .dlinfo .gsv__kpi .is-dark { border-top: 2px solid var(--dl-ink); } .dlinfo .gsv__kpi .is-dark span, .dlinfo .gsv__kpi .is-dark small { color: var(--dl-ink2); } .dlinfo .gsv__kpi .is-warn b { color: var(--dl-hold); }
  .dlinfo .gs__band { fill: var(--dl-sea); opacity: .08; }
  .dlinfo .gs__med { stroke: var(--dl-ink3); stroke-width: 1; stroke-dasharray: 4 3; }
  .dlinfo .gs__lj { stroke: var(--dl-ink); stroke-width: 1.8; }
  .dlinfo .gs__dot { fill: var(--dl-ink); stroke: var(--dl-paper); stroke-width: 2; }
  .dlinfo .gs__km { stroke: var(--dl-sea); stroke-width: 1.1; } .dlinfo .gs__ph { stroke: var(--dl-hold); stroke-width: 1.1; }
  .dlinfo .gs__cpc { stroke: var(--dl-deep); stroke-width: 1.1; stroke-dasharray: 1.5 3; }
  .dlinfo .gs__chart path, .dlinfo .gs__chart line { vector-effect: non-scaling-stroke; }
  .dlinfo .gs__key i { border-top-width: 1.8px; border-top-color: var(--dl-ink); } .dlinfo .gs__key i.k-med { border-top: 1px dashed var(--dl-ink3); } .dlinfo .gs__key i.k-km { border-top: 1.5px solid var(--dl-sea); } .dlinfo .gs__key i.k-ph { border-top: 1.5px solid var(--dl-hold); } .dlinfo .gs__key i.k-cpc { border-top: 1.5px dotted var(--dl-deep); } .dlinfo .gs__key i.k-band { background: var(--dl-sea); opacity: .15; }
  /* 售價組成、成本指標、損益範圍、各縣市排名：細條 */
  .dlinfo .gsv__mixbar { height: 18px; border-radius: 0; }
  .dlinfo .gsv__mixbar i { font-size: 12px; font-weight: 500; font-family: var(--dl-mono); }
  .dlinfo .gsv__mixbar .is-cp { background: var(--dl-ink3); } .dlinfo .gsv__mixbar .is-ot { background: var(--dl-deep); }
  .dlinfo .gsv__tiles > div { background: none; border-top: 1px solid var(--dl-hair); } .dlinfo .gsv__tiles .is-me { background: none; border-top: 2px solid var(--dl-ink); } .dlinfo .gsv__tiles .is-me b { color: var(--dl-ink); }
  .dlinfo .gsv__bars i { height: 6px; } .dlinfo .gsv__bars u { border-radius: 0; background: var(--dl-hair); } .dlinfo .gsv__bars .is-me u { background: var(--dl-ink); } .dlinfo .gsv__bars .is-me span, .dlinfo .gsv__bars .is-me b { color: var(--dl-ink); }
  .dlinfo .gsv__rbar { height: 2px; top: 12px; border-radius: 0; background: var(--dl-hair); } .dlinfo .gsv__rfill { height: 2px; top: 12px; border-radius: 0; background: var(--dl-deep); opacity: 1; } .dlinfo .gsv__rdot { width: 12px; height: 12px; margin-left: -6px; top: 7px; background: var(--dl-ink); border: 2px solid var(--dl-paper); }
  .dlinfo .gsv__big b { color: var(--dl-ink); } .dlinfo .gsv__big b.is-neg { color: var(--dl-stop); }
  .dlinfo .gs__rank li i { height: 4px; border-radius: 0; background: var(--dl-hair); } .dlinfo .gs__rank li.is-me i { background: var(--dl-ink); } .dlinfo .gs__rank li b { font-family: var(--dl-mono); font-weight: 500; }
  .dlinfo .gsv__week i { border-radius: 1px; }
  /* 到港星期分布、表內小長條：細線 */
  .dlinfo .supu { background: none; border: 0; border-top: 1px solid var(--dl-hair); padding: 12px 0 0; }
  .dlinfo .supu__bars { align-items: end; border-bottom: 1px solid var(--dl-ink3); padding-bottom: 0; }
  .dlinfo .supu__b i { width: 6px; border-radius: 0; background: var(--dl-ink3); } .dlinfo .supu__b.is-top i { background: var(--dl-deep); }
  .dlinfo .supu__b b { font-weight: 500; font-size: 12px; }
  .dlinfo .mbar__bar { height: 5px; border-radius: 0; background: var(--dl-hair); }
  .dlinfo .mbar__n b { font-family: var(--dl-mono); font-weight: 600; font-size: 17px; }
  /* 垃圾車下方：卡片改細線 */
  .dlgb .gbme, .dlgb .gbl, .dlgb .gbwk { border-radius: 0; box-shadow: none; }
  .dlgb .gbwk__t { font-variant-numeric: tabular-nums; }
  @media (max-width: 560px) { .dlinfo .stt__i:nth-child(odd) { padding-left: 0; } .dlinfo .stt__i:nth-child(even) { border-right: 0; } }
  .dlgb .gbday__p b, .dlgb .gbday ol li b, .dlgb .gbrun__l b { font-family: var(--dl-mono); font-weight: 600; }
  @media (max-width: 859px) {
    .dl-hero--gb { height: auto; }
    .dl-hero--gb .dl-hero__spacer { height: 360px; flex: none; }
    .dl-hero--gb .dl-hero__cap { padding-top: 22px; }
    .dl-hero--gb .dl-title { font-size: 25px; line-height: 1.5; margin: 8px 0; }
    .dl-hero--gb .dl-legend { gap: 4px 12px; margin-top: 10px; }
    .dlgb-town button small.dlgb-tag { display: none; }
    .dlinfo-nav .lifehub__b { padding: 0 11px; font-size: 14.5px; }
    .dlinfo .dlpg-lead .dl-title__cl { white-space: normal; }

  }
  /* 數據語言・島上找得到活圖（2026-10-17 第四階段，/places；portal.js 的 PlacesHero、placesView，活圖 live-places.js 的 LiveArt.shopdots；類名前綴 dlpl-）
     主視覺＝自繪海圖上的店家點陣（顏色依類別）＋小圓鐘〈現在營業中〉（只算能可靠解析的營業時間） */
  .dl-hero--pl { height: 640px; scroll-margin-top: 124px; }
  .dl-hero--pl::before { display: none; }
  .dl-hero--pl .dl-hero__capin { max-width: 460px; }
  .dl-hero--pl .dl-title { font-size: 36px; line-height: 1.4; letter-spacing: .02em; margin: 14px 0 10px; }
  .dl-hero--pl .dl-title__cl { white-space: normal; }
  .dl-hero--pl .dlpg-nums { margin-top: 14px; border-top: 1px solid var(--dl-hair); background: rgba(244,246,244,.82); }
  .dl-hero--pl .dlpg-nums b { font: 500 26px/1.1 var(--dl-mono); color: var(--dl-ink); }
  .dl-hero--pl .dlpg-nums span { font-size: 12px; color: var(--dl-ink2); }
  .dlpl-clock { appearance: none; pointer-events: auto; display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 8px 12px 8px 8px; min-height: 64px;
    border: 1px solid var(--dl-hair); border-radius: 14px; background: rgba(251,252,251,.92); color: var(--dl-ink); font: inherit; text-align: left; cursor: pointer; }
  .dlpl-clock:hover { border-color: rgba(16,36,42,.3); }
  .dlpl-clock:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dlpl-clock.is-on { border-color: #186b43; box-shadow: inset 3px 0 0 #186b43; }
  .dlpl-clock__svg { flex: none; }
  .dlpl-clock__t { display: grid; gap: 1px; min-width: 0; line-height: 1.45; }
  .dlpl-clock__t b { font: 700 15px/1.4 var(--dl-serif); }
  .dlpl-clock__t span { font-size: 13.5px; color: var(--dl-ink); }
  .dlpl-clock__t small { font-size: 12px; color: var(--dl-ink2); }
  .dlpl-legend { margin-top: 12px; flex-wrap: wrap; gap: 4px 14px; }
  .dlpl-legend span { display: inline-flex; align-items: center; gap: 5px; }
  .dlpl-legend small { font: 500 12px/1 var(--dl-mono); color: var(--dl-ink3, #56676c); }
  .dlpl-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 1.5px #f4f6f4; }
  .dlpl-dot.is-open { background: #56676c; box-shadow: 0 0 0 1.3px #10242a; }
  .dlpl-dot.is-closed { background: #f4f6f4; box-shadow: inset 0 0 0 1.4px #56676c; }
  .dlpl-dot.is-na { width: 6px; height: 6px; background: rgba(86,103,108,.4); box-shadow: none; }
  .dlpl-dock { border-top: 1px solid var(--dl-hair); }
  @media (max-width: 859px) {
    .dl-hero--pl { height: auto; scroll-margin-top: 0; }
    .dl-hero--pl .dl-hero__spacer { height: 380px; }
    .dl-hero--pl .dl-title { font-size: 25px; line-height: 1.45; margin: 8px 0 8px; }
    .dl-hero--pl .dlpg-nums b { font-size: 20px; }
    .dl-hero--pl .dlpg-nums li { padding: 8px 6px 8px 0; } .dl-hero--pl .dlpg-nums li + li { padding-left: 8px; }
    .dl-hero--pl .dl-legend { display: flex; }
    .dlpl-clock { margin-top: 10px; }
  }
  /* 數據語言・行程活圖（2026-10-17 第四階段，/trips、/trips/sample、/t/<代碼>；portal.js 的 TripHero、tripHeroOf，活圖 live-trips.js 的 LiveArt.tripline；類名前綴 dltp-）
     主視覺＝每天的路線畫在自繪海圖上、一站一站亮起；下緣是可以拖到某一站的進度條 */
  .dl-hero--tp { height: 600px; scroll-margin-top: 124px; }
  .dl-hero--tp::before { display: none; }
  .dl-hero--tp .dl-hero__capin { max-width: 440px; }
  .dl-hero--tp .dl-title { font-size: 34px; line-height: 1.4; letter-spacing: .02em; margin: 14px 0 10px; }
  .dl-hero--tp .dl-title__cl { white-space: normal; }
  .dltp-legend { margin-top: 14px; flex-wrap: wrap; gap: 6px 14px; }
  .dltp-legend span { display: inline-flex; align-items: center; gap: 6px; }
  .dltp-sw { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
  .dltp-note { flex-basis: 100%; font-size: 12px; color: var(--dl-ink2); }
  .dltp-empty { margin-top: 14px; font-size: 14px; color: var(--dl-ink2); }
  .dltp-dock { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 20px; padding: 10px 0 12px; border-top: 1px solid var(--dl-hair); }
  .dltp-scrub { display: grid; grid-template-columns: auto minmax(9em, 15em) minmax(0, 1fr); align-items: center; gap: 6px 16px; min-width: 0; }
  .dltp-play { appearance: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--dl-hair); border-radius: 22px; background: rgba(251,252,251,.95); color: var(--dl-ink); font: 500 13px/1 var(--dl-sans); cursor: pointer; }
  .dltp-play:hover { border-color: rgba(16,36,42,.35); }
  .dltp-play:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dltp-now { display: grid; gap: 1px; min-width: 0; line-height: 1.4; font-size: 13px; }
  .dltp-now b { font: 700 13px/1.4 var(--dl-sans); }
  .dltp-time { font: 600 15px/1.2 var(--dl-mono); color: var(--dl-ink); }
  .dltp-name { font-weight: 700; color: var(--dl-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dltp-track { position: relative; height: 48px; touch-action: none; cursor: pointer; margin: 0 8px; }
  .dltp-track:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 4px; border-radius: 4px; }
  .dltp-base, .dltp-fill { position: absolute; left: 0; top: 18px; height: 2px; background: var(--dl-hair); }
  .dltp-base { right: 0; }
  .dltp-fill { background: var(--dl-ink); }
  .dltp-tk { position: absolute; top: 13px; width: 2px; height: 12px; margin-left: -1px; background: var(--c); opacity: .35; }
  .dltp-tk.is-lit { opacity: 1; }
  .dltp-day { position: absolute; top: 30px; font: 600 12px/1 var(--dl-sans); white-space: nowrap; }
  .dltp-knob { position: absolute; top: 11px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--dl-warm); box-shadow: 0 0 0 3px #f4f6f4; }
  @media (max-width: 859px) {
    .dl-hero--tp { height: auto; scroll-margin-top: 0; }
    .dl-hero--tp .dl-hero__spacer { height: 360px; }
    .dl-hero--tp .dl-title { font-size: 25px; line-height: 1.45; margin: 8px 0 8px; }
    .dl-hero--tp .dl-legend { display: flex; }
    .dltp-dock { grid-template-columns: minmax(0, 1fr); }
    .dltp-scrub { grid-template-columns: auto minmax(0, 1fr); }
    .dltp-track { grid-column: 1 / -1; margin: 0 10px; }
  }
  /* 數據語言・親子小地圖（2026-10-17 第四階段，/kids；portal.js 的 KidsOpenMap，活圖 live-kids.js 的 LiveArt.kidsopen；類名前綴 kd__om）
     泡泡雲風格不變：白色圓角雲朵卡片，裡面一張小地圖＋編號清單 */
  .kd__om { display: grid; gap: 8px; padding: 14px 16px 12px; border-radius: 26px; background: var(--kd-cloud); color: var(--ink); }
  .kd__omh { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
  .kd__omh h3 { margin: 0; font-size: 17px; font-weight: 900; }
  .kd__omt { display: inline-flex; flex-wrap: wrap; gap: 0 8px; font-size: 13px; color: var(--ink-muted); }
  .kd__omt b { font-family: var(--dl-mono, monospace); font-weight: 600; color: var(--ink); }
  .kd__oms { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; font-size: 13px; }
  .kd__omc { padding: 3px 10px; border-radius: 99px; font-weight: 700; }
  .kd__omc.is-open { background: #186b43; color: #fff; }
  .kd__omc.is-closed { background: #fff; color: #10242a; box-shadow: inset 0 0 0 1.5px #56676c; }
  .kd__omc.is-na { background: #eef1f0; color: #56676c; box-shadow: inset 0 0 0 1.3px #8a989b; }
  .kd__omb { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
  .kd__omm { position: relative; min-height: 240px; border-radius: 18px; overflow: hidden; background: #f4f6f4; }
  .kd__omm canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .kd__oml { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; max-height: 300px; overflow-y: auto; }
  .kd__oml button { appearance: none; width: 100%; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 44px; padding: 4px 10px 4px 6px;
    border: 0; border-radius: 14px; background: var(--kd-s2, #eef9fd); color: var(--ink); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
  .kd__oml button:focus-visible { outline: 2px solid var(--kd-blue); outline-offset: 1px; }
  .kd__oml i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 700 12px/1 var(--dl-mono, monospace); font-style: normal; background: #fff; color: #10242a; box-shadow: inset 0 0 0 1.5px #56676c; }
  .kd__oml .is-open i { background: #186b43; color: #fff; box-shadow: none; }
  .kd__oml .is-na i { background: #f1f3f2; color: #56676c; box-shadow: inset 0 0 0 1.3px #8a989b; }
  .kd__oml b { min-width: 0; overflow-wrap: anywhere; font-weight: 700; }
  .kd__oml em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink-muted); white-space: nowrap; }
  .kd__oml .is-open em { color: #186b43; }
  .kd__oml .is-sel button { box-shadow: inset 0 0 0 2px #c8532a; }
  .kd__omx button { display: flex; justify-content: center; font-weight: 700; color: var(--kd-blue); background: transparent; box-shadow: inset 0 0 0 1.5px var(--kd-s1, #bfe6f5); }
  .kd__omn { margin: 0; font-size: 12px; color: var(--ink-muted); }
  [data-theme="dark"] .kd__omm { background: #e9eeec; }
  [data-theme="dark"] .kd__oml .is-open em { color: #8fd8a8; }
  @media (max-width: 640px) {
    .kd__omb { grid-template-columns: minmax(0, 1fr); }
    .kd__omm { min-height: 220px; }
    .kd__oml { max-height: none; }
  }
  /* 數據語言・生物誌活圖（2026-10-17，/culture/guide；portal.js 的 SpeciesGuide 頁首，活圖 live-guide.js 的 LiveArt.biocal〈馬祖的一年生物曆〉；類名前綴 dlsg-）
     沿用新聞頁的數字列（dlnw-nums）、篩選列（dlnw-dock、dlnw-chip）；卡牌、收集冊、小測驗、今日一卡照舊在 .dlh__body 裡。 */
  .dl-hero--sg { height: 620px; }
  .dl-hero--sg::before { display: none; }
  .dl-hero--sg .dl-hero__capin { max-width: 430px; }
  .dl-hero--sg .dl-title { font-size: 40px; line-height: 1.34; }
  .dl-hero--sg .dl-title__cl { white-space: normal; }
  .dl-hero--sg .dl-hero__stage:focus-visible, .dl-hero--ot .dl-hero__stage:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -4px; }
  .dl-hero--sg .dl-legend, .dl-hero--ot .dl-legend { margin-top: 16px; }
  .dlsg .dlh__body > section.block:first-child { border-top: 0; }
  .dlsg-tip, .dlot-tip { max-width: 250px; }
  .dlsg-tip__r { display: flex; align-items: center; gap: 6px; line-height: 1.7; color: #56676c; }
  .dlsg-tip__r i { width: 9px; height: 9px; border-radius: 2px; flex: none; }
  .dlsg-tip__r em { margin-left: auto; padding-left: 10px; font: 500 12px/1 "IBM Plex Mono", ui-monospace, monospace; font-style: normal; color: #10242a; }
  .dlsg-tip small, .dlot-tip small { display: block; margin-top: 4px; padding-top: 4px; border-top: 1px solid #d3dcda; font-size: 12px; color: #0c7078; }
  /* 數據語言・老物件活圖（/culture/objects；portal.js 的 OldThings 頁首，活圖 live-objects.js 的 LiveArt.otgrid；類名前綴 dlot-）
     卡牌、猜猜看、收集冊、徵集照舊（復古卡面不動）。 */
  .dl-hero--ot { height: 600px; }
  .dl-hero--ot::before { display: none; }
  .dl-hero--ot .dl-hero__capin { max-width: 430px; }
  .dl-hero--ot .dl-title { font-size: 40px; line-height: 1.34; }
  .dl-hero--ot .dl-title__cl { white-space: normal; }
  .dlot .dlh__body > section.block:first-child { border-top: 0; }
  /* 卡面的光澤動畫（otcSheen）在畫面外也一直重畫，閒置主執行緒忙約 9–10%：不在畫面上的卡片暫停光澤（OldThings 用 IntersectionObserver 加 is-vis），捲到才動 */
  .dlot .ot__cardbtn:not(.is-vis) .otc__foil { animation-play-state: paused; }
  .dlot-num { border: 0; border-right: 1px solid var(--dl-hair); background: none; text-align: left; cursor: pointer; font: inherit; min-height: 44px; border-radius: 0; }
  .dlot-num:last-child { border-right: 0; }
  .dlot-num span { display: flex; align-items: center; gap: 5px; }
  .dlot-num span i { width: 10px; height: 10px; border-radius: 2px; flex: none; }
  .dlot-num--UR span i { background: linear-gradient(135deg, #e2674a, #b1321f); box-shadow: 0 0 0 1px #d9ad46, 0 0 6px rgba(240,162,74,.7); }
  .dlot-num--SR span i { background: linear-gradient(135deg, #f6e3a1, #d9ac45); box-shadow: 0 0 0 1px #a8792a, 0 0 6px rgba(242,207,106,.8); }
  .dlot-num--R span i { background: linear-gradient(135deg, #eef1f2, #b7c0c4); box-shadow: 0 0 0 1px #8b979c; }
  .dlot-num--N span i { background: linear-gradient(135deg, #ddd3bf, #c9bea6); box-shadow: 0 0 0 1px rgba(138,122,92,.4); }
  .dlot-num.is-on b { color: var(--dl-sea); }
  .dlot-num.is-on span { color: var(--dl-ink); font-weight: 700; }
  .dlot-num:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dlot-peek { display: flex; align-items: center; gap: 10px; min-width: 0; }
  .dlot-peek img { width: 44px; height: 44px; object-fit: cover; border-radius: 3px; border: 1px solid var(--dl-hair); flex: none; filter: sepia(.25); }
  .dlot-peek > span { display: flex; flex-direction: column; min-width: 0; }
  .dlot-peek b { font: 700 15px/1.4 var(--dl-serif); color: var(--dl-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dlot-peek small { font-size: 12px; color: var(--dl-ink2); }
  .dlot-tip__h { display: flex; gap: 8px; align-items: center; }
  .dlot-tip__h img { width: 48px; height: 48px; object-fit: cover; border-radius: 3px; flex: none; filter: sepia(.25); }
  .dlot-tip__h b { font-size: 14px; }
  @media (max-width: 859px) {
    .dl-hero--sg, .dl-hero--ot { height: auto; }
    .dl-hero--sg .dl-hero__spacer { height: 350px; flex: none; }
    .dl-hero--ot .dl-hero__spacer { height: 350px; flex: none; }
    .dl-hero--sg .dl-hero__cap, .dl-hero--ot .dl-hero__cap { padding-top: 22px; }
    .dl-hero--sg .dl-title, .dl-hero--ot .dl-title { font-size: 26px; line-height: 1.42; margin: 8px 0 6px; }
    .dl-hero--sg .dl-legend, .dl-hero--ot .dl-legend { display: flex; gap: 4px 12px; margin-top: 10px; }
    .dlot-num { padding-right: 4px; margin-right: 4px; }
    .dlot-num span { font-size: 12px; gap: 4px; }
    .dlot-peek b { font-size: 14px; }
  }

  /* 數據語言・人物活圖（2026-10-17 第四階段，/people；portal.js 的 PeopleHero、peopleView 的 peopleDec 篩選，活圖 live-people.js 的 LiveArt.peopleriver〈出生年代的河〉；類名前綴 dlppl-）
     版面沿用新聞的話題河流（.dl-hero--nw、dlnw-nums、dlnw-dock、dlnw-chip），這裡只放人物頁自己的差異。 */
  .dl-hero--ppl { height: 600px; }
  .dl-hero--ppl .dl-hero__capin { max-width: 430px; }
  .dl-hero--ppl .dl-title { font-size: 40px; }
  .dlppl-nums .dlnw-num span { white-space: nowrap; }
  .dlnw-sw.is-g { background: repeating-linear-gradient(45deg, #4f5c40 0 1.4px, #e6e9de 1.4px 3.6px); border: 1px solid #4f5c40; }
  .dlnw-chip small { font: 400 12px/1 var(--dl-sans); color: var(--dl-ink2); }
  .dlppl-tip { max-width: 250px; }
  .dlppl-tip__r { display: flex; align-items: center; gap: 6px; line-height: 1.7; color: #56676c; }
  .dlppl-tip__r i { width: 9px; height: 9px; border-radius: 2px; flex: none; }
  .dlppl-tip__r.is-g i { background: repeating-linear-gradient(45deg, #4f5c40 0 1.2px, #e6e9de 1.2px 3px) !important; border: 1px solid #4f5c40; }
  .dlppl-tip__r em { margin-left: auto; padding-left: 10px; font: 500 12px/1 "IBM Plex Mono", ui-monospace, monospace; font-style: normal; color: #10242a; }
  .dlppl-tip__r.is-on { color: #10242a; font-weight: 700; }
  .dlppl-tip small { display: block; margin-top: 4px; padding-top: 4px; border-top: 1px solid #d3dcda; font-size: 12px; color: #0c7078; }
  .dl-hero--ppl .dl-hero__stage:focus-visible, .dl-hero--fa .dl-hero__stage:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -4px; }
  .dlppl > .peoplepage { padding-top: 4px; }
  .dlppl-on { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 12px; padding: 8px 0; border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); font-size: 14px; color: var(--dl-ink2); }
  .dlppl-on b { color: var(--dl-ink); font-weight: 700; }
  .dlppl-on .dlnw-clr2 { margin-left: auto; }
  /* 數據語言・信仰與廟宇活圖（2026-10-17 第四階段，/faith；portal.js 的 FaithHero、FaithView，活圖 live-faith.js 的 LiveArt.faithring〈廟與一年的祭典〉；類名前綴 dlfa-） */
  .dl-hero--fa { height: 700px; }
  .dl-hero--fa::before { display: none; }
  .dl-hero--fa .dl-hero__capin { max-width: 420px; }
  .dl-hero--fa .dl-title { font-size: 40px; line-height: 1.32; }
  .dl-hero--fa .dl-legend { margin-top: 14px; flex-direction: column; gap: 4px; }
  .dlfa-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; margin-top: 16px; }
  .dlfa-nums .dlnw-num:nth-child(2n) { border-right: 0; margin-right: 0; }
  .dlfa-nums .dlnw-num span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
  .dlfa-dock { gap: 8px 14px; }
  .dlfa-view { margin-top: 0; }
  .dlfa-st { min-width: 0; }
  .dlfa-tip__ap { color: #8a5a1c; }
  .dlfa-tip small { display: block; margin-top: 4px; padding-top: 4px; border-top: 1px solid #d3dcda; font-size: 12px; color: #0c7078; }
  .dlfa > .faithpage { padding-top: 4px; }
  @media (max-width: 859px) {
    .dl-hero--ppl { height: auto; }
    .dl-hero--ppl .dl-hero__spacer { height: 330px; }
    .dl-hero--ppl .dl-title { font-size: 26px; }
    .dlppl-nums .dlnw-num span { white-space: normal; line-height: 1.35; }
    .dl-hero--ppl .dl-legend span + span { display: inline-flex; }
    .dl-hero--ppl .dl-legend span:nth-child(3) { display: none; }
    .dl-hero--fa { height: auto; }
    .dl-hero--fa .dl-hero__spacer { height: min(calc(100vw + 8px), 520px); flex: none; }
    .dl-hero--fa .dl-hero__cap { padding-top: 22px; }
    .dl-hero--fa .dl-title { font-size: 26px; line-height: 1.42; margin: 8px 0 6px; }
    .dl-hero--fa .dl-title__cl { white-space: normal; }
    .dl-hero--fa .dl-legend { display: none; }
    .dlfa-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; }
    .dlfa-nums .dlnw-num { padding-right: 4px; margin-right: 6px; border-right: 1px solid var(--dl-hair); }
    .dlfa-nums .dlnw-num:last-child { border-right: 0; }
    .dlfa-nums .dlnw-num b { font-size: 21px; }
    .dlfa-nums .dlnw-num span { white-space: normal; line-height: 1.35; align-items: flex-start; }
    .dlfa-nums .dlnw-num span svg { margin-top: 3px; flex: none; }
    .dlfa-view { display: flex; width: 100%; }
    .dlfa-view button { flex: 1 1 0; padding: 0 4px; }
    .dlfa-st:empty { display: none; }
  }
  /* 數據語言・馬祖數據・數據解讀、馬祖之最、未公開數據（2026-10-17 第四階段；portal.js 的 DataInsightHero、DataBestHero、DataNoneHero（共用 dldxShell、useDldxArt），
     活圖 live-data-insight.js 的 LiveArt.relnet〈指標關係網〉、live-data-best.js 的 LiveArt.rankladder〈22 縣市名次梯〉、live-data-none.js 的 LiveArt.blanks〈空白的格子〉；
     類名前綴 dldx-、dlrn-、dlrk-、dlbk-。下面原本的解讀卡、馬祖之最清單、未公開清單改細線樣式，只限這三個分頁的段落） */
  .dldx { border-top: 2px solid var(--dl-ink); margin: 22px 0 0; color: var(--dl-ink); font-family: var(--dl-sans); }
  .dldx-h { display: flex; align-items: flex-start; gap: 8px 24px; padding: 16px 0 10px; }
  .dldx-lead { flex: 1; min-width: 0; }
  .dldx-lead .dl-title { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; margin: 4px 0 0; max-width: 24em; }
  .dldx-lead .dl-sub { margin-top: 6px; }
  .dldx .dldx-how { flex: none; margin-top: 4px; border-radius: 0; border-color: var(--dl-ink); background: transparent; letter-spacing: .06em; }
  .dldx .dldx-how:hover { background: var(--dl-ink); color: var(--dl-paper); }
  .dldx-stage { padding: 4px 0 16px; outline: none; }
  .dldx .dl-strip { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); z-index: auto; }
  .dldx .dl-strip .dl-wrap { max-width: none; padding-inline: 0; }
  .dldx .dl-strip .dl-strip__in { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
  .dldx .dl-strip .dl-cell { border-right: 1px solid var(--dl-hair); border-bottom: 0; }
  .dldx .dl-strip .dl-cell:last-child { border-right: 0; }
  .dldx-flash { animation: dldxFlash 1.8s ease; }
  @keyframes dldxFlash { 0%, 35% { box-shadow: 0 0 0 3px var(--dl-warm); } 100% { box-shadow: 0 0 0 3px transparent; } }
  /* 〈指標關係網〉 */
  .dlrn { --dlrn-neg: var(--dl-hold); }
  .dlrn-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-bottom: 4px; }
  .dlrn-mode { display: inline-flex; border: 1px solid var(--dl-ink); }
  .dlrn-mode button { min-height: 44px; padding: 0 16px; background: none; border: 0; font: 400 13.5px/1 var(--dl-sans); color: var(--dl-ink2); cursor: pointer; letter-spacing: .04em; }
  .dlrn-mode button + button { border-left: 1px solid var(--dl-ink); }
  .dlrn-mode button[aria-pressed="true"] { background: var(--dl-ink); color: var(--dl-paper); font-weight: 700; }
  .dlrn-mode button:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dlrn-key { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--dl-ink2); }
  .dlrn-key i { display: inline-block; width: 22px; height: 0; border-top: 3px solid var(--dl-ink3); vertical-align: middle; margin-right: 6px; }
  .dlrn-key i.is-pos { border-color: var(--dl-sea); } .dlrn-key i.is-neg { border-color: var(--dlrn-neg); } .dlrn-key i.is-w { border-top-width: 8px; }
  .dlrn-key i.is-dot { border-top-style: dotted; } .dlrn-key i.is-dash { border-top-style: dashed; }
  .dlrn-box { position: relative; }
  .dlrn-svg { display: block; width: 100%; height: auto; max-height: 540px; overflow: visible; }
  .dlrn-hit { fill: none; stroke: transparent; stroke-width: 30; stroke-linecap: round; cursor: pointer; }
  .dlrn-e { cursor: pointer; outline: none; transition: opacity .15s; }
  .dlrn-ln { fill: none; stroke-linecap: round; }
  .dlrn-e.is-pos .dlrn-ln { stroke: var(--dl-sea); } .dlrn-e.is-neg .dlrn-ln { stroke: var(--dlrn-neg); }
  .dlrn-e.is-weak .dlrn-ln { stroke-dasharray: 1 7 !important; stroke-dashoffset: 0 !important; animation: none !important; stroke-width: 3px; }
  .dlrn-e.is-dash .dlrn-ln { stroke-dasharray: 10 7 !important; stroke-dashoffset: 0 !important; animation: none !important; opacity: .5; }
  .dlrn-ln.is-in { animation: dlrnDraw 1s ease forwards; }
  @keyframes dlrnDraw { to { stroke-dashoffset: 0; } }
  .dlrn-e.is-dim { opacity: .22; }
  .dlrn-lab rect { fill: var(--dl-paper); stroke: var(--dl-hair); }
  .dlrn-lab text { font: 500 13px var(--dl-mono); fill: var(--dl-ink); }
  .dlrn-e.is-hot .dlrn-lab rect, .dlrn-e:focus-visible .dlrn-lab rect { fill: var(--dl-ink); stroke: var(--dl-ink); }
  .dlrn-e.is-hot .dlrn-lab text, .dlrn-e:focus-visible .dlrn-lab text { fill: var(--dl-paper); }
  .dlrn-e:focus-visible .dlrn-lab rect { stroke: var(--dl-sea); stroke-width: 3; }
  .dlrn-n circle { fill: var(--dl-paper); stroke: var(--dl-ink); stroke-width: 2; }
  .dlrn-n.is-hot circle { fill: var(--dl-ink); }
  .dlrn-n text { font: 700 14px var(--dl-sans); fill: var(--dl-ink); paint-order: stroke; stroke: var(--dl-paper); stroke-width: 5px; stroke-linejoin: round; letter-spacing: .02em; }
  .dlrn-svg.is-n .dlrn-n text { font-size: 13px; }
  .dlrn-info { border-top: 1px solid var(--dl-hair); padding: 12px 0 4px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 18px; align-items: center; min-height: 112px; }
  .dlrn-info > p { grid-column: 1; margin: 0; }
  .dlrn-info__k { font-size: 12.5px; color: var(--dl-ink2); letter-spacing: .04em; }
  .dlrn-info__k em { font-style: normal; margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--dl-hair); }
  .dlrn-info__t { font: 900 19px/1.4 var(--dl-serif); letter-spacing: .04em; }
  .dlrn-info__l { font-size: 14px; line-height: 1.7; }
  .dlrn-info__n { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 12.5px; color: var(--dl-ink2); }
  .dlrn-info__n b { font-family: var(--dl-mono); font-weight: 600; color: var(--dl-ink); }
  .dlrn-go { grid-column: 2; grid-row: 1 / span 4; min-height: 44px; padding: 0 16px; border: 1px solid var(--dl-ink); background: none; cursor: pointer; font: 400 13.5px/1 var(--dl-sans); color: var(--dl-ink); white-space: nowrap; }
  .dlrn-go:hover { background: var(--dl-ink); color: var(--dl-paper); }
  .dlrn-go:focus-visible, .dlrn-chip:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dlrn-rest { margin-top: 12px; }
  .dlrn-rest__h { margin: 0 0 6px; font-size: 12.5px; color: var(--dl-ink2); }
  .dlrn-rest__l { display: flex; flex-wrap: wrap; gap: 6px; }
  .dlrn-chip { min-height: 44px; padding: 4px 12px; border: 1px solid var(--dl-hair); background: none; font: 400 13.5px/1.4 var(--dl-sans); color: var(--dl-ink); cursor: pointer; text-align: left; }
  .dlrn-chip:hover { border-color: var(--dl-ink); }
  .dlrn-chip em { font-style: normal; color: var(--dl-ink3); margin-right: 6px; font-size: 12px; }
  /* 〈22 縣市名次梯〉 */
  .dlrk { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 40px; align-items: start; }
  .dlrk-main { min-width: 0; }
  .dlrk-ax, .dlrk-b { display: grid; grid-template-columns: 220px minmax(0, 1fr) 160px; gap: 0 16px; align-items: center; }
  .dlrk-ax { font-size: 12px; color: var(--dl-ink2); padding: 2px 0 6px; border-bottom: 1px solid var(--dl-ink); }
  .dlrk-ax__s { display: flex; justify-content: space-between; margin: 0 6px; font-family: var(--dl-mono); }
  .dlrk-l { list-style: none; margin: 0; padding: 0; }
  .dlrk-b { width: 100%; min-height: 50px; padding: 6px 0; background: none; border: 0; border-bottom: 1px solid var(--dl-hair); text-align: left; font: inherit; color: var(--dl-ink); cursor: pointer; }
  .dlrk-b:hover { background: color-mix(in srgb, var(--dl-sea) 5%, transparent); }
  .dlrk-b:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -2px; }
  .dlrk-t { min-width: 0; }
  .dlrk-t b { display: block; font-size: 14px; font-weight: 700; line-height: 1.45; }
  .dlrk-t em { font-style: normal; font-size: 12px; color: var(--dl-ink3); }
  .dlrk-lad { position: relative; height: 34px; margin: 0 6px; }
  .dlrk-rail { position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--dl-hair); }
  .dlrk-lad > i { position: absolute; top: calc(50% - 5px); height: 10px; border-left: 1px solid var(--dl-hair); }
  .dlrk-d { position: absolute; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--dl-ink3); opacity: .55; transform: translateY(calc(var(--dy, 0px) * -1)); animation: dlrkIn .5s ease both; animation-delay: var(--dl, 0ms); }
  .dlrk-d.is-me { width: 24px; height: 24px; margin: -12px 0 0 -12px; background: var(--dl-warm); opacity: 1; z-index: 2; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--dl-paper); }
  .dlrk-d.is-me b { font: 600 12px/1 var(--dl-mono); color: #fff; }
  @keyframes dlrkIn { from { opacity: 0; transform: translateY(calc(var(--dy, 0px) * -1)) scale(.3); } }
  .dlrk-v { text-align: right; white-space: nowrap; min-width: 0; }
  .dlrk-v b { font: 500 18px/1.2 var(--dl-mono); }
  .dlrk-v small { font-size: 12px; color: var(--dl-ink2); margin-left: 3px; }
  .dlrk-v em { display: block; font-style: normal; font-size: 12px; color: var(--dl-ink2); overflow: hidden; text-overflow: ellipsis; }
  .dlrk-sub { margin: 18px 0 0; font-size: 12.5px; color: var(--dl-ink2); padding-bottom: 4px; border-bottom: 1px solid var(--dl-ink); }
  .dlrk-l.is-not .dlrk-t b { color: var(--dl-ink2); }
  .dlrk-key { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--dl-ink2); margin: 10px 0 0; }
  .dlrk-key i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dl-ink3); opacity: .6; margin-right: 6px; }
  .dlrk-key i.is-me { width: 12px; height: 12px; background: var(--dl-warm); opacity: 1; vertical-align: -1px; }
  .dlrk-side { border-top: 2px solid var(--dl-ink); }
  .dlrk-s { padding: 10px 0 12px; border-bottom: 1px solid var(--dl-hair); }
  .dlrk-s__h { margin: 0 0 4px; font: 900 15px/1.5 var(--dl-serif); letter-spacing: .08em; }
  .dlrk-s ul { list-style: none; margin: 0; padding: 0; }
  .dlrk-s li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; padding: 6px 0; font-size: 13px; line-height: 1.55; border-top: 1px dotted var(--dl-hair); }
  .dlrk-s li:first-child { border-top: 0; }
  .dlrk-s li span { grid-column: 1; color: var(--dl-ink2); }
  .dlrk-s li b { grid-column: 1; font-weight: 700; }
  .dlrk-s li em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-family: var(--dl-mono); white-space: nowrap; }
  .dlrk-s li em.is-w { grid-column: 1 / -1; grid-row: auto; font-family: var(--dl-sans); white-space: normal; color: var(--dl-ink); }
  .dlrk-s.is-not li span { color: var(--dl-ink); font-weight: 700; }
  .dlrk-s.is-not li em.is-w { color: var(--dl-ink2); }
  /* 〈空白的格子〉 */
  .dlbk-h { margin: 0 0 8px; font: 900 16px/1.4 var(--dl-serif); letter-spacing: .08em; display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; }
  .dlbk-h em { font: 400 12.5px/1.4 var(--dl-sans); color: var(--dl-ink2); letter-spacing: 0; font-style: normal; }
  .dlbk-cs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); border-top: 1px solid var(--dl-ink); }
  .dlbk-c { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px 0; margin-right: 14px; border-bottom: 1px dashed var(--dl-ink3); animation: dlbkIn .5s ease both; animation-delay: var(--dl, 0ms); outline: none; }
  .dlbk-c.is-act { cursor: pointer; }
  .dlbk-c.is-act:hover .dlbk-c__clue b { text-decoration: underline; text-underline-offset: 3px; }
  .dlbk-c:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  @keyframes dlbkIn { from { opacity: 0; transform: translateY(6px); } }
  .dlbk-c__n { margin: 0; font-weight: 700; font-size: 14.5px; line-height: 1.45; }
  .dlbk-c__n em { display: block; font-style: normal; font-weight: 400; font-size: 12px; color: var(--dl-ink2); }
  .dlbk-c__slot { height: 56px; display: flex; align-items: center; justify-content: center; border: 1.5px dashed var(--dl-ink3);
    background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--dl-ink3) 18%, transparent) 0 1px, transparent 1px 7px); }
  .dlbk-c__slot span { font: 500 28px/1 var(--dl-mono); color: var(--dl-ink3); }
  .dlbk-c__why { margin: 0; font-size: 13px; line-height: 1.65; }
  .dlbk-c__ask, .dlbk-c__clue { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--dl-ink2); }
  .dlbk-c__ask { color: var(--dl-ink); }
  .dlbk-c__ask span, .dlbk-c__clue span { display: inline-block; margin-right: 6px; padding: 0 5px; border: 1px solid var(--dl-hair); font-size: 12px; color: var(--dl-ink2); line-height: 1.5; }
  .dlbk-c__clue b { display: block; margin-top: 4px; color: var(--dl-sea); font-weight: 700; }
  .dlbk-t { margin-top: 28px; }
  .dlbk-g { border-top: 1px solid var(--dl-ink); padding-top: 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(var(--r, 4), auto); grid-auto-flow: column; gap: 5px 28px; }
  .dlbk-y { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 8px; }
  .dlbk-y__l { font: 500 12px var(--dl-mono); color: var(--dl-ink2); text-align: right; }
  .dlbk-y__m { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
  .dlbk-m { display: block; height: 18px; background: color-mix(in srgb, var(--dl-sea) 24%, transparent); }
  .dlbk-m.is-gap { background: var(--dl-paper); box-shadow: inset 0 0 0 1.5px var(--dl-stop); }
  .dlbk-m.is-sus { background: repeating-linear-gradient(135deg, var(--dl-hold) 0 1.5px, transparent 1.5px 5px); box-shadow: inset 0 0 0 1px var(--dl-hold); }
  .dlbk-key { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--dl-ink2); margin: 10px 0 0; }
  .dlbk-key i { display: inline-block; width: 14px; height: 12px; margin-right: 6px; vertical-align: -1px; background: color-mix(in srgb, var(--dl-sea) 24%, transparent); }
  .dlbk-key i.is-gap { background: var(--dl-paper); box-shadow: inset 0 0 0 1.5px var(--dl-stop); }
  .dlbk-key i.is-sus { background: repeating-linear-gradient(135deg, var(--dl-hold) 0 1.5px, transparent 1.5px 5px); box-shadow: inset 0 0 0 1px var(--dl-hold); }
  .dlbk-gl { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 28px; }
  .dlbk-gl button { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 10px; align-items: baseline; width: 100%; min-height: 44px; padding: 8px 0; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--dl-hair); font: inherit; color: var(--dl-ink); cursor: pointer; }
  .dlbk-gl button:hover span { text-decoration: underline; text-underline-offset: 3px; }
  .dlbk-gl button:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dlbk-gl b { font: 600 13px var(--dl-mono); color: var(--dl-stop); white-space: nowrap; }
  .dlbk-gl li.is-sus b { color: var(--dl-hold); }
  .dlbk-gl span { font-size: 13px; }
  .dlbk-gl em { grid-column: 1 / -1; font-style: normal; font-size: 12px; color: var(--dl-ink2); line-height: 1.55; }
  /* 下面原本的卡片改細線（只限這三個分頁） */
  .dld #d-insight .dgrid { gap: 0 40px; }
  .dld #d-insight .dcard { background: transparent; border: 0; border-top: 1px solid var(--dl-hair); border-radius: 0; padding: 16px 0 14px; }
  .dld #d-insight .dins { border-left: 0; }
  .dld #d-insight .dcard h3 { font-family: var(--dl-serif); font-weight: 900; letter-spacing: .04em; font-size: 18px; }
  .dld #d-insight .dins__tag { color: var(--dl-ink3); }
  .dld #d-best .dbest { gap: 0 32px; }
  .dld #d-best .dbest__i { background: transparent; border: 0; border-top: 1px solid var(--dl-hair); border-radius: 0; padding: 12px 0; }
  .dld #d-best .dbest__h { font-family: var(--dl-serif); font-weight: 900; letter-spacing: .06em; border-bottom: 1px solid var(--dl-ink); padding-bottom: 6px; }
  .dld #d-best .dbest__more { border-radius: 0; border-color: var(--dl-ink); color: var(--dl-ink); min-height: 44px; }
  .dld #d-best .dbest__i.is-open .dbest__more { background: var(--dl-ink); color: var(--dl-paper); }
  .dld #d-insight .dsrc, .dld #d-best .dsrc, .dld #d-insight .heat span { font-size: 12px; }
  .dld #d-none .dmissing { list-style: none; padding: 0; border-top: 1px solid var(--dl-hair); }
  .dld #d-none .dmissing li { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--dl-hair); }
  @media (max-width: 1000px) {
    .dlrk { grid-template-columns: minmax(0, 1fr); }
    .dlrk-side { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 28px; }
  }
  @media (max-width: 700px) {
    .dldx-h { flex-direction: column; gap: 4px; padding-top: 14px; }
    .dldx-lead .dl-title { font-size: 25px; line-height: 1.4; }
    .dldx .dl-title__cl, .dldx .dl-sub span { white-space: normal; }
    .dldx .dl-sub { flex-wrap: wrap; }
    .dldx .dldx-how { margin-top: 2px; }
    .dldx .dl-strip .dl-strip__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dldx .dl-strip .dl-cell { padding: 10px 6px 10px 10px; border-bottom: 1px solid var(--dl-hair); }
    .dldx .dl-strip .dl-cell:nth-child(2n) { border-right: 0; }
    .dldx .dl-strip .dl-cell:nth-last-child(-n + 2) { border-bottom: 0; }
    .dlrn-info { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .dlrn-go { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 6px; }
    .dlrk-ax, .dlrk-b { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t v" "lad lad"; gap: 2px 10px; }
    .dlrk-ax__t { grid-area: t; } .dlrk-ax__s { grid-area: lad; } .dlrk-ax__v { display: none; }
    .dlrk-t { grid-area: t; } .dlrk-v { grid-area: v; } .dlrk-lad { grid-area: lad; height: 28px; }
    .dlrk-t b { font-size: 13.5px; }
    .dlrk-v b { font-size: 15px; }
    .dlrk-v em { display: none; }
    .dlbk-cs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dlbk-c { margin-right: 0; padding-right: 10px; }
    .dlbk-c__slot { height: 40px; }
    .dlbk-c__slot span { font-size: 22px; }
    .dlbk-g { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  }
  @media (prefers-reduced-motion: reduce) {
    .dlrn-ln.is-in, .dlrk-d, .dlbk-c, .dldx-flash { animation: none !important; }
    .dlrn-ln { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
  }

  /* 數據語言・馬祖數據・人口／治安／生活經濟（2026-10-17 第四階段；portal.js 的 DataPopHero、DataSafeHero、DataEconHero，
     活圖 live-data-pop.js〈人口的進與出〉、live-data-safe.js〈刑案的年節拍〉、live-data-econ.js〈用電的年輪・各村所得・民宿〉；類名前綴 dldx-）
     每一類最上面＝資料組成的標題＋「這是怎麼來的」＋活圖＋資料帶；下方原本的圖表、比較卡、解讀改細線（只套在 #d-pop、#d-safe、#d-econ）。 */
  .dldx { color: var(--dl-ink); font-family: var(--dl-sans); margin-bottom: 4px; }
  .dldx-lead { display: flex; align-items: flex-start; gap: 12px 24px; padding: 26px 0 16px; }
  .dldx-cap { flex: 1; min-width: 0; }
  .dldx-lead .dl-title { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.32; margin: 8px 0 4px; max-width: 24em; }
  .dldx-lead .dl-title .dld-n { font-size: .92em; }
  .dldx .dldx-how { flex: none; margin-top: 2px; border-radius: 0; border-color: var(--dl-ink); background: transparent; letter-spacing: .06em; }
  .dldx .dldx-how:hover { background: var(--dl-ink); color: var(--dl-paper); }
  .dldx-bar { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; border-top: 2px solid var(--dl-ink); padding: 10px 0 12px; }
  .dldx-h { font-family: var(--dl-serif); font-weight: 900; font-size: 20px; letter-spacing: .08em; margin: 0; color: var(--dl-ink); }
  .dldx-step { display: inline-flex; align-items: stretch; margin-left: auto; border: 1px solid var(--dl-hair); }
  .dldx-step__b { min-width: 44px; min-height: 44px; border: 0; background: none; font: 400 22px/1 var(--dl-sans); color: var(--dl-ink); cursor: pointer; padding: 0; }
  .dldx-step__b:hover:not(:disabled) { background: color-mix(in srgb, var(--dl-ink) 6%, transparent); }
  .dldx-step__b:disabled { color: var(--dl-hair); cursor: default; }
  .dldx-step__b:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -2px; }
  .dldx-step__t { display: inline-flex; align-items: center; padding: 0 12px; font-family: var(--dl-mono); font-size: 13px; font-weight: 600; color: var(--dl-warm); white-space: nowrap; border-inline: 1px solid var(--dl-hair); }
  .dldx .dldx-now { border-radius: 0; }
  .dldx-art { position: relative; width: 100%; min-height: 160px; outline: none; }
  .dldx-art canvas { display: block; }
  .dldx-art:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 4px; }
  .dldx-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 12px 0 2px; font-size: 12.5px; color: var(--dl-ink2); line-height: 1.6; }
  .dldx-legend span { display: inline-flex; align-items: center; gap: 6px; }
  .dldx-sw { display: inline-block; width: 12px; height: 12px; flex: none; }
  .dldx-sw.is-deep { background: var(--dl-deep); } .dldx-sw.is-sea { background: color-mix(in srgb, var(--dl-sea) 55%, transparent); }
  .dldx-sw.is-ink { background: var(--dl-ink); } .dldx-sw.is-ink3 { background: color-mix(in srgb, var(--dl-ink3) 50%, transparent); }
  .dldx-sw.is-hatch { background: repeating-linear-gradient(135deg, var(--dl-ink3) 0 1px, transparent 1px 4px); border: 1px solid var(--dl-hair); }
  .dldx-sw.is-ramp { width: 40px; background: linear-gradient(90deg, color-mix(in srgb, var(--dl-deep) 8%, transparent), var(--dl-deep)); }
  .dldx-sw.is-tick { width: 2px; height: 14px; background: var(--dl-ink); }
  .dldx-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
  .dldx-note { margin: 6px 0 0; font-size: 13px; color: var(--dl-ink2); line-height: 1.7; }
  .dldx-note b { font-family: var(--dl-mono); font-weight: 600; color: var(--dl-ink); }
  .dldx .dl-strip { margin-top: 16px; background: none; border-top: 1px solid var(--dl-ink); border-bottom: 1px solid var(--dl-hair); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .dldx .dl-wrap { max-width: none; padding-inline: 0; }
  .dldx .dl-cell { padding-top: 24px; }
  .dldx .dl-cell__grp { white-space: nowrap; }
  .dldx-two { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 32px; align-items: start; }
  .dldx-side { border-left: 1px solid var(--dl-hair); padding-left: 24px; min-width: 0; }
  .dldx-blk { padding: 2px 0 16px; }
  .dldx-blk + .dldx-blk { border-top: 1px solid var(--dl-hair); padding-top: 14px; }
  .dldx-blk h4 { margin: 0 0 8px; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--dl-ink); }
  .dldx-big { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 10px; }
  .dldx-big b { font-family: var(--dl-mono); font-weight: 500; font-size: 30px; letter-spacing: -.01em; }
  .dldx-big small { font-size: 12px; color: var(--dl-ink2); margin-left: 4px; }
  .dldx-kinds { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
  .dldx-kinds li { display: grid; grid-template-columns: 4.8em minmax(0, 1fr) 2.8em; gap: 8px; align-items: center; font-size: 13px; }
  .dldx-kinds i { display: block; height: 8px; min-width: 1px; }
  .dldx-kinds b { font-family: var(--dl-mono); font-weight: 500; text-align: right; }
  .dldx-rank svg { width: 100%; max-width: 300px; height: auto; display: block; overflow: visible; }
  .dldx-rank__t { margin: 6px 0 2px; font-size: 13px; } .dldx-rank__t span { color: var(--dl-ink2); font-size: 12px; }
  .dldx-rank text { font: 500 12px var(--dl-mono); fill: var(--dl-ink2); }
  .dldx-rank text.dldx-rank__v { fill: var(--dl-ink); }
  .dldx-rank__ax { stroke: var(--dl-hair); stroke-dasharray: 2 3; }
  .dldx-rank__ln { fill: none; stroke: var(--dl-sea); stroke-width: 1.6; }
  .dldx-rank circle { fill: var(--dl-sea); } .dldx-rank circle.is-cur { fill: var(--dl-deep); }
  .dldx-acc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--dl-hair); border-left: 1px solid var(--dl-hair); }
  .dldx-acc li { border-right: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); padding: 4px 6px; display: flex; flex-direction: column; min-height: 52px; min-width: 0; }
  .dldx-acc span { font-size: 12px; color: var(--dl-ink2); }
  .dldx-acc b { font: 500 17px/1.3 var(--dl-mono); }
  .dldx-acc em { font-style: normal; font-size: 12px; color: var(--dl-stop); white-space: nowrap; }
  .dldx-acc li.is-fut b { color: var(--dl-ink3); font-weight: 400; }
  .dldx-mut { margin: 8px 0 0; font-size: 12px; color: var(--dl-ink2); line-height: 1.6; }
  /* 下方原本的圖表、比較卡、解讀：細線 */
  #d-pop .dgrid, #d-safe .dgrid, #d-econ .dgrid { gap: 0 40px; }
  #d-pop .dcard, #d-safe .dcard, #d-econ .dcard { background: none; border: 0; border-top: 1px solid var(--dl-ink); border-radius: 0; padding: 16px 0 14px; }
  #d-pop .dcard h3, #d-safe .dcard h3, #d-econ .dcard h3 { font-family: var(--dl-serif); font-weight: 900; letter-spacing: .06em; font-size: 18px; }
  #d-pop .dins, #d-safe .dins, #d-econ .dins { border-left: 0; border-top-width: 2px; }
  #d-pop .dins__tag, #d-safe .dins__tag, #d-econ .dins__tag { color: var(--dl-sea); letter-spacing: .12em; }
  #d-pop .dcmp__rank, #d-safe .dcmp__rank, #d-econ .dcmp__rank { background: none; border: 1px solid var(--dl-hair); border-radius: 0; color: var(--dl-deep); }
  #d-pop .dbars i, #d-safe .dbars i, #d-econ .dbars i, #d-pop .dcmp__list i, #d-safe .dcmp__list i, #d-econ .dcmp__list i { border-radius: 0; height: 8px; }
  #d-pop .dcmp__list li, #d-safe .dcmp__list li, #d-econ .dcmp__list li { border-radius: 0; }
  #d-pop .dcmp__list li.is-me, #d-safe .dcmp__list li.is-me, #d-econ .dcmp__list li.is-me { background: none; box-shadow: inset 2px 0 var(--dl-sea); }
  #d-econ .dvill summary { min-height: 44px; display: flex; align-items: center; }
  .look-alt main .shell > section.block#d-pop:nth-of-type(n), .look-alt main .shell > section.block#d-safe:nth-of-type(n), .look-alt main .shell > section.block#d-econ:nth-of-type(n) { background: none; box-shadow: none; clip-path: none; }
  #d-pop .dsrc, #d-safe .dsrc, #d-econ .dsrc { font-size: 12px; }
  #d-pop .sc__range button, #d-safe .sc__range button, #d-econ .sc__range button { min-height: 44px; border-radius: 0; }
  @media (min-width: 860px) { .dldx .dl-strip__in { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); } }
  @media (max-width: 859px) {
    .dldx-two { grid-template-columns: minmax(0, 1fr); }
    .dldx-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--dl-ink); margin-top: 18px; padding-top: 14px; }
  }
  @media (max-width: 700px) {
    .dldx-lead { flex-direction: column; gap: 8px; padding: 18px 0 12px; }
    .dldx-lead .dl-title { font-size: 25px; line-height: 1.42; }
    .dldx-lead .dl-title__cl { white-space: normal; }
    .dldx-h { font-size: 18px; }
    .dldx-step { margin-left: 0; }
    .dldx-step__t { padding: 0 8px; font-size: 12.5px; }
    #d-pop .dgrid, #d-safe .dgrid, #d-econ .dgrid { gap: 0; }
  }
  /* 數據語言・馬祖數據・旅遊、天氣、起霧（2026-10-17 第四階段；portal.js 的 DataTwfFrame、DataTourHero、DataWxHero、DataFogHero，
     活圖 live-data-tour.js〈遊客年輪〉、live-data-wx.js〈一年十二個月的霧、雨、風與停飛〉、live-data-fog.js〈未來兩週的霧〉；類名前綴 dldx-、dtr-、dwx-、dfg-）
     每一類最上面的主視覺；下面原本的圖表（#d-tour、#d-wx、#d-fog）改細線：拿掉卡片框、圓角與底色，區塊之間 1px 細線與留白。 */
  .dld > .block.dldx { margin: 18px 0 0; padding: 0 0 6px; border-top: 2px solid var(--dl-ink); }
  .dldx__kick { display: flex; align-items: baseline; gap: 4px 14px; flex-wrap: wrap; padding: 14px 0 0; }
  .dldx__pn { margin: 0; font-family: var(--dl-serif); font-weight: 900; font-size: 22px; letter-spacing: .1em; color: var(--dl-ink); }
  .dldx__pm { font-size: 13px; color: var(--dl-ink2); }
  .dldx__kick .dl-btn { margin-left: auto; border-radius: 0; border-color: var(--dl-ink); background: transparent; letter-spacing: .06em; }
  .dldx__kick .dl-btn:hover { background: var(--dl-ink); color: var(--dl-paper); }
  .dldx__lead { padding: 12px 0 10px; }
  .dldx__lead .dl-title { font-size: clamp(26px, 3.1vw, 40px); line-height: 1.32; margin: 0; max-width: 26em; }
  .dldx__lead .dl-sub { margin-top: 6px; }
  .dldx__art { margin: 6px 0 16px; min-width: 0; }
  .dldx .dl-strip { background: transparent; border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .dldx .dl-strip .dl-wrap { padding-inline: 0; max-width: none; }
  .dldx .dl-strip__head { gap: 2px; }
  .dldx__sh { font-family: var(--dl-serif); font-weight: 900; font-size: 15px; letter-spacing: .06em; color: var(--dl-ink); }
  .dldx__sm { font-size: 12px; color: var(--dl-ink2); }
  .dldx .dl-cell__l { white-space: nowrap; }
  @media (max-width: 720px) { .dldx .dl-cell__l, .dldx .dl-cell__k { white-space: normal; overflow: visible; align-items: flex-start; } }   /* 手機上數字格的小字（期別、全國值）可換行，不被切掉 */

  /* 旅遊〈遊客年輪〉 */
  .dtr__top { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-bottom: 10px; }
  .dtr__modes { display: flex; flex-wrap: wrap; gap: 6px; }
  .dtr__mode { min-height: 44px; padding: 0 14px; border: 1px solid var(--dl-hair); background: transparent; color: var(--dl-ink); font: 400 14px/1 var(--dl-sans); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; letter-spacing: .04em; }
  .dtr__mode i { width: 10px; height: 10px; background: var(--c); display: inline-block; }
  .dtr__mode:hover { border-color: var(--dl-ink2); }
  .dtr__mode[aria-checked="true"] { border-color: var(--dl-ink); font-weight: 700; background: color-mix(in srgb, var(--c) 9%, transparent); }
  .dtr__mode:focus-visible, .dtr__cv:focus-visible, .dtr__step:focus-visible, .dtr__b:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dtr__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 18px 40px; align-items: start; }
  .dtr__ringw { position: relative; min-width: 0; }
  .dtr__cv { display: block; margin: 0 auto; touch-action: manipulation; cursor: crosshair; }
  .dtr__tip { position: absolute; z-index: 3; pointer-events: none; background: var(--dl-ink); color: var(--dl-paper); padding: 6px 10px; font: 12.5px/1.5 var(--dl-mono); white-space: pre-line; max-width: 240px; }
  .dtr__key { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; font-size: 12.5px; color: var(--dl-ink2); align-items: center; }
  .dtr__key i { display: inline-block; vertical-align: -1px; margin-right: 6px; }
  .dtr__ramp { width: 40px; height: 10px; background: linear-gradient(90deg, color-mix(in srgb, var(--dl-ink) 6%, var(--dl-paper)), var(--dl-ink)); }
  .dtr__pk { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--dl-ink); background: var(--dl-paper); }
  .dtr__ka { width: 9px; height: 12px; border: 1.2px solid var(--dl-ink2); box-sizing: border-box; }
  .dtr__kb { width: 9px; height: 12px; background: color-mix(in srgb, var(--dl-ink) 85%, var(--dl-paper)); }
  .dtr__kc { width: 12px; height: 10px; background: color-mix(in srgb, var(--dl-ink) 30%, var(--dl-paper)); }
  .dtr__side { min-width: 0; }
  .dtr__nav { display: flex; gap: 6px; align-items: stretch; }
  .dtr__step { width: 44px; min-height: 44px; border: 1px solid var(--dl-hair); background: transparent; color: var(--dl-ink); font-size: 20px; cursor: pointer; }
  .dtr__step:disabled { opacity: .35; cursor: default; }
  .dtr__sel { flex: 1 1 auto; display: flex; }
  .dtr__sel select { flex: 1 1 auto; min-height: 44px; padding: 0 10px; border: 1px solid var(--dl-hair); background: var(--dl-paper); color: var(--dl-ink); font: 500 15px var(--dl-sans); }
  .dtr__vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .dtr__yr { margin: 14px 0 2px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
  .dtr__yr b { font-family: var(--dl-mono); font-weight: 500; font-size: 34px; letter-spacing: -.02em; }
  .dtr__yr small { font-size: 13px; color: var(--dl-ink2); }
  .dtr__mix { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 0 0 10px; font-size: 13px; color: var(--dl-ink2); }
  .dtr__mix i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; }
  .dtr__mix b { font-family: var(--dl-mono); font-weight: 600; color: var(--dl-ink); }
  .dtr__bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; border-bottom: 1px solid var(--dl-ink); }
  .dtr__b { display: flex; flex-direction: column; justify-content: flex-end; min-height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; color: var(--dl-ink2); }
  .dtr__stk { height: 128px; display: flex; flex-direction: column-reverse; }
  .dtr__stk i { display: block; width: 100%; min-height: 1px; }
  .dtr__ml { font: 500 12px/1 var(--dl-mono); text-align: center; padding: 6px 0 4px; }
  .dtr__b:hover .dtr__stk { opacity: .82; }
  .dtr__b.is-sel .dtr__ml { color: var(--dl-warm); font-weight: 700; }
  .dtr__b.is-sel .dtr__stk { box-shadow: 0 0 0 1.5px var(--dl-warm); }
  .dtr__b.is-none .dtr__stk { background: repeating-linear-gradient(135deg, var(--dl-hair) 0 1px, transparent 1px 5px); }
  .dtr__note { margin: 6px 0 0; font-size: 12.5px; color: var(--dl-ink2); }
  .dtr__rd { margin: 10px 0 0; font-size: 13.5px; line-height: 1.7; }
  .dtr__rd b { font-family: var(--dl-mono); }
  .dtr__rd.is-hint { color: var(--dl-ink2); }
  .dtr__none, .dwx__none { color: var(--dl-ink2); padding: 20px 0; margin: 0; }

  /* 天氣〈一年十二個月〉 */
  .dwx__top { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; margin-bottom: 6px; }
  .dwx__chips { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; max-width: 100%; min-width: 0; }
  .dwx__chips::-webkit-scrollbar { display: none; }
  .dwx__chip { flex: none; min-height: 44px; padding: 0 12px; border: 1px solid var(--dl-hair); background: transparent; color: var(--dl-ink); font: 400 13.5px/1 var(--dl-sans); cursor: pointer; white-space: nowrap; }
  .dwx__chip[aria-checked="true"] { border-color: var(--dl-ink); font-weight: 700; }
  .dwx__chip:focus-visible, .dwx__chart:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dwx__key { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--dl-ink2); }
  .dwx__key i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; vertical-align: -1px; }
  .dwx__key .is-rate i { width: 18px; height: 0; border-top: 2.5px solid var(--dl-stop); vertical-align: 3px; }
  .dwx__chart { position: relative; min-width: 0; outline: none; touch-action: manipulation; cursor: pointer; }
  .dwx__chart svg { display: block; }
  .dwx__band { fill: color-mix(in srgb, var(--dl-stop) 5%, transparent); }
  .dwx__bandt { font: 700 12.5px var(--dl-sans); fill: var(--dl-stop); }
  .dwx__hl { fill: color-mix(in srgb, var(--dl-ink) 6%, transparent); } .dwx__hl.is-sel { fill: color-mix(in srgb, var(--dl-ink) 10%, transparent); }
  .dwx__grid { stroke: var(--dl-hair); stroke-width: 1; }
  .dwx__base { stroke: var(--dl-ink); stroke-width: 1; }
  .dwx__ax { font: 12px var(--dl-mono); fill: var(--dl-ink2); } .dwx__ax.is-rate { fill: var(--dl-stop); }
  .dwx__mx { font: 12px var(--dl-mono); fill: var(--dl-ink2); } .dwx__mx.is-on { fill: var(--dl-ink); font-weight: 700; }
  .dwx__rate { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
  .dwx__rv { font: 600 12px var(--dl-mono); stroke: var(--dl-paper); stroke-width: 3px; paint-order: stroke; stroke-linejoin: round; }
  .dwx__miss { font: 12px var(--dl-sans); fill: var(--dl-ink3); }
  .dwx__rd { margin: 8px 0 0; font-size: 14px; line-height: 1.75; min-height: 3.5em; }
  .dwx__rd b { font-family: var(--dl-serif); font-weight: 900; margin-right: 4px; }
  .dwx__avg { display: inline-block; font-size: 12px; padding: 0 5px; border: 1px solid var(--dl-hair); color: var(--dl-ink2); margin-right: 6px; vertical-align: 1px; }
  .dwx__note { margin: 4px 0 0; font-size: 12.5px; color: var(--dl-ink2); }
  .dwx__note:empty { display: none; }

  /* 起霧〈未來兩週的霧〉 */
  .dfg__stage { position: relative; min-width: 0; }
  .dfg__cv { display: block; outline: none; touch-action: manipulation; cursor: pointer; }
  .dfg__cv:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dfg__rd { margin: 10px 0 0; font-size: 14px; line-height: 1.75; min-height: 3.5em; }
  .dfg__rd b { font-family: var(--dl-serif); font-weight: 900; margin-right: 4px; }
  .dfg__in { font-size: 13px; color: var(--dl-ink2); }
  .dfg__hint { color: var(--dl-ink2); }
  .dfg__rd .dl-est { margin-left: 4px; }

  /* 下面原本的圖表：細線 */
  .dld :is(#d-tour, #d-wx, #d-fog) > .dy-sec { margin-top: 26px; }
  .dld :is(#d-tour, #d-wx, #d-fog) .dy-sec__title { font-family: var(--dl-serif); font-weight: 900; letter-spacing: .08em; }
  .dld :is(#d-tour, #d-wx, #d-fog) .dgrid { column-gap: 44px; row-gap: 6px; }
  .dld :is(#d-tour, #d-wx, #d-fog) .dcard { background: transparent; border: 0; border-top: 1px solid var(--dl-hair); border-radius: 0; box-shadow: none; padding: 16px 0 14px; }
  .dld :is(#d-tour, #d-wx, #d-fog) .dcard h3 { font-family: var(--dl-serif); font-weight: 900; letter-spacing: .04em; }
  .dld :is(#d-tour, #d-wx, #d-fog) .dins { border-left: 0; }
  .dld :is(#d-tour, #d-wx, #d-fog) .dins__tag { color: var(--dl-ink2); font-weight: 700; }
  .dld :is(#d-tour, #d-wx, #d-fog) .dsrc { font-size: 12px; }
  .dld :is(#d-tour, #d-wx, #d-fog) .scat__ax, .dld :is(#d-tour, #d-wx, #d-fog) .fogbt__ax, .dld :is(#d-tour, #d-wx, #d-fog) .forest__head .forest__track i { font-size: 12px; }
  .dld :is(#d-tour, #d-wx, #d-fog) .dkpi__d span { font-size: 12px; }
  .dld :is(#d-tour, #d-wx, #d-fog) .sc-yt, .dld :is(#d-tour, #d-wx, #d-fog) .sc-xt { font-size: 12px; }
  .dld #d-tour .heat { font-size: 12px; } .dld #d-tour .heat__c { border-radius: 0; }
  .dld :is(#d-tour, #d-wx, #d-fog) .dbars i, .dld :is(#d-tour, #d-wx, #d-fog) .dins__bb i, .dld :is(#d-tour, #d-wx, #d-fog) .btfac__bar i, .dld :is(#d-tour, #d-wx, #d-fog) .btpath__bar, .dld :is(#d-tour, #d-wx, #d-fog) .btpath__bar i { border-radius: 0; }
  .dld :is(#d-tour, #d-wx, #d-fog) .dcmp__rank { border-radius: 0; background: transparent; border: 1px solid var(--dl-hair); }
  .dld #d-fog .fognow { border-left: 0; }
  .dld #d-fog .fognow.is-warn h3 { color: var(--dl-hold); } .dld #d-fog .fognow.is-bad h3 { color: var(--dl-stop); }
  .dld #d-fog .fognow__it { background: transparent; border-radius: 0; border-left: 2px solid var(--dl-hair); }
  .dld #d-fog .fognow__it.is-bad { border-left-color: var(--dl-stop); background: transparent; }
  .dld #d-fog .btf__cell { border-radius: 0; }
  .dld #d-fog .btf__cell small, .dld #d-fog .btf__meta, .dld #d-fog .btf__ch small { font-size: 12px; }
  .dld #d-fog .btf__rh { background: var(--dl-paper); }
  .dld #d-fog .btm__tip { background: transparent; border-left: 2px solid var(--dl-hair); border-radius: 0; }
  .dld #d-fog .bb__seg { border-radius: 0; }
  @media (max-width: 860px) {
    .dtr__body { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 700px) {
    .dld > .block.dldx { margin-top: 14px; }
    .dldx__kick { padding-top: 12px; gap: 2px 12px; }
    .dldx__pn { font-size: 20px; }
    .dldx__pm { order: 3; width: 100%; }
    .dldx__kick .dl-btn { padding: 0 12px; font-size: 13px; }
    .dldx__lead .dl-title { font-size: 24px; line-height: 1.42; }
    .dldx__lead .dl-title__cl { white-space: normal; }
    .dldx .dl-strip__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .dldx .dl-cell, .dldx .dl-strip.is-m4 .dl-cell { border-right: 1px solid var(--dl-hair); }
    .dldx .dl-cell:nth-child(3n + 1), .dldx .dl-strip.is-m4 .dl-cell:nth-child(3n + 1) { border-right: 0; }
    .dtr__modes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; gap: 4px; }
    .dtr__mode { padding: 0 4px; justify-content: center; font-size: 13px; gap: 4px; }
    .dtr__mode i { width: 8px; height: 8px; }
    .dtr__yr b { font-size: 28px; }
    .dtr__stk { height: 104px; }
    .dwx__top { flex-direction: column; align-items: stretch; }
    .dwx__rd, .dfg__rd { font-size: 13.5px; }
    .dld :is(#d-tour, #d-wx, #d-fog) .dgrid { grid-template-columns: minmax(0, 1fr); }
  }
  /* 數據語言・歲時、常民、話語活圖（2026-10-17 第四階段，/culture/seasons、/culture/daily、/culture/language；portal.js 的 CUL_HERO2、CulSeasonsHero、CulDailyHero、CulLangHero、Cul2Art、cul2Head，
     活圖 live-cul-seasons.js〈一年的年環〉、live-cul-daily.js〈一年的餐桌〉、live-cul-lang.js〈七個聲調的音高〉〈錄馬祖話的詞彙〉；類名前綴 cul2-）
     頁名小標與標題句沿用 DLPageHead，下面接一塊活圖＋右側清單；活圖是作品內容，夜間模式也維持淺底。 */
  .cul2 { --dl-paper: #f4f6f4; --dl-paper2: #fbfcfb; --dl-ink: #10242a; --dl-ink2: #56676c; --dl-ink3: #7d8b8f; --dl-hair: #d3dcda; --dl-sea: #0c7078; --dl-deep: #08484f;
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 34px; align-items: start; margin: 18px 0 0; padding: 18px 18px 22px;
    background: var(--dl-paper); color: var(--dl-ink); border-top: 2px solid var(--dl-ink); font-family: var(--dl-sans); }
  .cul2 + .cul2 { margin-top: 0; border-top: 1px solid var(--dl-hair); }
  .dlpg-head + .cul2 { margin-top: 0; border-top: 0; }
  .cul2-main { min-width: 0; }
  .cul2-main--full { grid-column: 1 / -1; }
  .cul2-nums { margin: 0 0 12px; flex-wrap: wrap; row-gap: 8px; }
  .cul2-art { position: relative; width: 100%; outline: none; }
  .cul2-art canvas { position: absolute; left: 0; top: 0; display: block; }
  .cul2-art:focus-visible { box-shadow: 0 0 0 2px var(--dl-sea); }
  .cul2-art.is-wait { display: flex; align-items: center; justify-content: center; min-height: 160px; color: var(--dl-ink2); font-size: 13px; }
  .cul2-art--ring, .cul2-art--table { aspect-ratio: 1; max-width: 640px; margin: 0 auto; }
  .cul2-art--cloud { height: 380px; }
  .cul2-side { min-width: 0; }
  .cul2-leg { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--dl-ink2); line-height: 1.6; margin-bottom: 10px; }
  .cul2-leg span { display: inline-flex; align-items: center; gap: 6px; }
  .cul2-sw { display: inline-block; width: 12px; height: 12px; flex: none; border: 1.5px solid transparent; border-radius: 2px; }
  .cul2-sw.is-dash { background: transparent !important; border: 1.5px dashed var(--dl-ink2); }
  .cul2-sw.is-now { width: 3px; height: 14px; border: 0; border-radius: 0; background: var(--dl-warm); }
  .cul2-sw.is-ring { width: 14px; height: 14px; border-radius: 50%; border-width: 3px; background: #fff; }
  .cul2-ln { display: inline-block; width: 22px; height: 0; border-top: 3px solid var(--dl-sea); }
  .cul2-ln.is-alt { border-top: 2px dashed #a8352a; }
  .cul2-ln.is-stop { width: 12px; position: relative; border-top-width: 3px; }
  .cul2-ln.is-stop::after { content: ''; position: absolute; right: -4px; top: -8px; width: 2px; height: 13px; background: var(--dl-sea); }
  .cul2-selh { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 6px 0 8px; border-bottom: 1px solid var(--dl-ink); }
  .cul2-selh b { font-family: var(--dl-serif); font-weight: 900; font-size: 20px; letter-spacing: .04em; }
  .cul2-selh > span { font-size: 13px; color: var(--dl-ink2); }
  .cul2-clr { margin-left: auto; font-size: 13px; }
  .cul2-terms { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; font-size: 13px; color: var(--dl-ink2); }
  .cul2-terms span { color: var(--dl-ink); font-weight: 600; } .cul2-terms small { font: 400 12px var(--dl-mono); color: var(--dl-ink2); margin-left: 4px; }
  .cul2-list { list-style: none; margin: 4px 0 0; padding: 0; max-height: 520px; overflow-y: auto; overscroll-behavior: contain; }
  .cul2-row { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--dl-hair); }
  .cul2-row__t { min-width: 0; display: grid; gap: 1px; }
  .cul2-row__t b { font-size: 15px; font-weight: 700; line-height: 1.4; }
  .cul2-row__t small { font-size: 12px; color: var(--dl-ink2); line-height: 1.5; }
  .cul2-go { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--dl-hair); border-radius: 22px;
    background: var(--dl-paper2); color: var(--dl-sea); font: 600 13px/1 var(--dl-sans); white-space: nowrap; cursor: pointer; text-decoration: none; }
  .cul2-go:hover { border-color: var(--dl-sea); }
  .cul2-none, .cul2-hint { margin: 10px 0 0; font-size: 13.5px; color: var(--dl-ink2); line-height: 1.7; }
  .cul2-none a, .cul2-more { color: var(--dl-sea); font-weight: 600; }
  .cul2-tip small { display: block; margin-top: 4px; padding-top: 4px; border-top: 1px solid #d3dcda; font-size: 12px; color: #0c7078; }
  .cul2-tip__on { color: #0c7078; font-weight: 700; }
  /* 常民：月份按鈕、其他常民生活 */
  .cul2-mons { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; margin: 2px 0 12px; }
  .cul2-mon { display: grid; justify-items: center; gap: 1px; min-height: 48px; padding: 4px 2px; border: 1px solid var(--dl-hair); border-radius: 4px; background: var(--dl-paper2); color: var(--dl-ink); cursor: pointer; font-family: var(--dl-sans); }
  .cul2-mon b { font-size: 13.5px; font-weight: 700; } .cul2-mon small { font: 400 12px var(--dl-mono); color: var(--dl-ink2); }
  .cul2-mon.is-now { box-shadow: inset 0 -3px 0 var(--dl-warm); }
  .cul2-mon.is-on { background: var(--dl-ink); border-color: var(--dl-ink); color: #fff; } .cul2-mon.is-on small { color: #d3dcda; }
  .cul2-oth { margin-top: 16px; }
  .cul2-oth > p { margin: 0 0 6px; font-size: 12px; color: var(--dl-ink2); letter-spacing: .08em; }
  .cul2-oth > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .cul2-othb { display: grid; gap: 2px; justify-items: start; min-height: 52px; padding: 6px 10px; border: 1px solid var(--dl-hair); border-radius: 4px; background: var(--dl-paper2); color: var(--dl-ink); text-align: left; cursor: pointer; font-family: var(--dl-sans); }
  .cul2-othb b { font: 500 18px/1.1 var(--dl-mono); } .cul2-othb span { font-size: 12.5px; color: var(--dl-ink2); line-height: 1.35; }
  .cul2-othb:hover { border-color: var(--dl-sea); }
  /* 話語：聲調的例字與錄音、詞彙 */
  .cul2--lang { grid-template-columns: minmax(0, 1fr); }
  .cul2-tone { margin-top: 14px; }
  .cul2-kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 10px 0 0; font-size: 14px; }
  .cul2-kv dt { color: var(--dl-ink2); font-size: 13px; } .cul2-kv dd { margin: 0; }
  .cul2-ex { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 12px 0 0; padding: 0; }
  .cul2-ex li { display: inline-flex; align-items: baseline; gap: 6px; } .cul2-ex b { font: 700 26px/1.2 var(--dl-serif); } .cul2-ex span { font: 500 14px var(--dl-mono); color: var(--dl-ink2); }
  .cul2-play { margin-top: 12px; } .cul2-play p { margin: 0 0 6px; font-size: 13px; color: var(--dl-ink2); } .cul2-play audio { width: 100%; max-width: 420px; }
  .cul2-h { margin: 0 0 8px; font-family: var(--dl-serif); font-weight: 900; font-size: 18px; letter-spacing: .04em; }
  .cul2-words ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; list-style: none; margin: 4px 0 10px; padding: 0; }
  .cul2-words li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--dl-hair); }
  .cul2-words li b { font: 700 20px/1.3 var(--dl-serif); grid-row: span 2; }
  .cul2-words li span { font: 500 13px var(--dl-mono); color: var(--dl-ink2); overflow-wrap: anywhere; }
  .cul2-words li small { font-size: 12px; color: var(--dl-ink2); }
  .cul2-more { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
  [data-theme="dark"] .cul2 .dlnw-chip { background: var(--dl-paper2); color: var(--dl-ink); }
  @media (max-width: 859px) {
    .cul2 { grid-template-columns: minmax(0, 1fr); padding: 14px 12px 18px; margin-inline: calc(-1 * var(--shell-pad, 12px)); }
    .cul2-nums .dlnw-num { padding-right: 8px; margin-right: 8px; }
    .cul2-nums .dlnw-num b { font-size: 22px; }
    .cul2-list { max-height: none; }
    .cul2-art--cloud { height: 330px; }
    .cul2-mons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .cul2-oth > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cul2-words ul { grid-template-columns: minmax(0, 1fr); }
  }

  /* 數據語言・文化三個面向活圖（2026-10-17 第四階段；/culture/land、/culture/settlement、/culture/livelihood；
     portal.js 的 CUL_HERO（CulLandHero、CulSettleHero、CulTradeHero）、culHeroDock、culHeroFilter，
     活圖 live-cul-land.js〈島的剖面〉、live-cul-settle.js〈村落點陣〉、live-cul-trade.js〈行業的年代帶〉；類名前綴 dlcul-、dlcl-、dlcs-、dlct-）
     數字列、篩選列沿用新聞頁的 dlnw-；範圍按鈕沿用海空動態的 dltrk-view。點活圖篩選下方卡片，篩選中時卡片上方一行 .cul__hf。 */
  .dl-hero--cl { height: 740px; }
  .dl-hero--ct { height: 680px; }
  .dl-hero--cs { height: 640px; }
  .dl-hero--cl::before, .dl-hero--cs::before, .dl-hero--ct::before { display: none; }
  .dl-hero--cl .dl-hero__capin, .dl-hero--cs .dl-hero__capin, .dl-hero--ct .dl-hero__capin { max-width: 420px; }
  .dl-hero--cl .dl-title, .dl-hero--cs .dl-title, .dl-hero--ct .dl-title { font-size: 34px; line-height: 1.34; }
  .dl-hero--ct .dl-title__cl { white-space: normal; }   /* 風土、聚落的子句不斷開（只在子句之間換行）；百業最後一句較長，可以斷 */
  .dl-hero--cl .dl-hero__stage:focus-visible, .dl-hero--cs .dl-hero__stage:focus-visible, .dl-hero--ct .dl-hero__stage:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -4px; }
  .dl-hero--cl .dl-legend, .dl-hero--cs .dl-legend, .dl-hero--ct .dl-legend { margin-top: 12px; }
  .dlcul-dock { gap: 8px 12px; }
  .dlcul-view { margin-top: 0; }
  .dlcul-view button { padding: 0 13px; }
  .dlcul-st { min-width: 0; }
  /* 卡片按鈕（風土的岩石、百業的行業） */
  .dlcl-rocks, .dlct-groups { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
  .dlcl-rock { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 11px; border: 1px solid var(--dl-hair); border-radius: 22px; background: rgba(251,252,251,.92);
    color: var(--dl-ink); font: 500 13px/1.2 var(--dl-sans); cursor: pointer; white-space: nowrap; }
  @media (pointer: fine) and (min-width: 860px) { .dlcl-rock { min-height: 30px; padding: 0 10px; font-size: 12.5px; } .dlcl-rocks { gap: 5px; } }
  .dlcl-rock i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid; flex: none; box-sizing: border-box; }
  .dlcl-rock i.is-off { background: transparent !important; }
  .dlcl-rock small { font: 500 12px/1 var(--dl-mono); color: var(--dl-ink2); }
  .dlcl-rock:hover { border-color: var(--dl-ink3); }
  .dlcl-rock.is-on { border-color: var(--dl-ink); background: var(--dl-paper2); font-weight: 700; box-shadow: inset 0 0 0 1px var(--dl-ink); }
  .dlcl-rock:focus-visible, .dlcl-all:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dlcl-all { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--dl-sea); font: 700 14px/1 var(--dl-sans); }
  .dlcl-all.is-on { color: var(--dl-ink); text-decoration: underline; text-underline-offset: 4px; }
  .dlcs-sw { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
  .dlcs-sw.is-empty { background: transparent; border: 1.3px solid var(--dl-ink2); box-sizing: border-box; }
  .dlcs-legend { flex-direction: column; gap: 3px; }
  .dlcl-tip span, .dlct-tip__r { display: block; line-height: 1.6; }
  .dlct-tip__g { display: block; font-size: 12px; font-weight: 700; margin-bottom: 2px; }
  .dlct-tip__r { color: #10242a; }
  .dlct-tip small, .dlcl-tip small { display: block; margin-top: 4px; padding-top: 4px; border-top: 1px solid #d3dcda; font-size: 12px; color: #0c7078; }
  .dlct-tip { max-width: 280px; }
  /* 篩選中：卡片上方一行 */
  .dlcul .cul__hf { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin: 14px 0 0; padding: 8px 0; border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair);
    font-size: 14px; color: var(--dl-ink2); scroll-margin-top: 80px; }
  .dlcul .cul__hf > span { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--dl-deep); }
  .dlcul .cul__hf b { color: var(--dl-ink); font-family: var(--dl-serif); font-size: 16px; }
  .dlcul .cul__hf small { font: 500 13px/1 var(--dl-mono); }
  .dlcul .cul__hf button { margin-left: auto; min-height: 44px; padding: 0 6px; border: 0; background: none; cursor: pointer; color: var(--dl-sea); font: 700 14px/1 var(--dl-sans); }
  .dlcul #culcards { scroll-margin-top: 80px; }
  .dlcul > .culpage { padding-top: 4px; }
  @media (max-width: 859px) {
    .dl-hero--cl, .dl-hero--cs, .dl-hero--ct { height: auto; }
    .dl-hero--cl .dl-hero__cap, .dl-hero--cs .dl-hero__cap, .dl-hero--ct .dl-hero__cap { padding-top: 22px; }
    .dl-hero--cl .dl-title, .dl-hero--cs .dl-title, .dl-hero--ct .dl-title { font-size: 26px; line-height: 1.42; margin: 8px 0 6px; }
    .dl-hero--cl .dl-hero__spacer { height: 520px; flex: none; }
    .dl-hero--cs .dl-hero__spacer { height: 400px; flex: none; }
    .dl-hero--ct .dl-hero__spacer { height: 520px; flex: none; }
    .dl-hero--cl .dl-legend, .dl-hero--cs .dl-legend, .dl-hero--ct .dl-legend { display: flex; flex-direction: row; gap: 4px 12px; margin-top: 10px; }
    .dlcl-rocks, .dlct-groups { flex-wrap: nowrap; overflow-x: auto; margin: 12px calc(-1 * var(--shell-pad, 12px)) 0; padding: 0 var(--shell-pad, 12px) 4px; scrollbar-width: none; }
    .dlcl-rocks::-webkit-scrollbar, .dlct-groups::-webkit-scrollbar { display: none; }
    .dlcul-dock { padding-top: 8px; }
    .dlcul-view { display: flex; width: 100%; }
    .dlcul-view button { flex: 1 1 0; padding: 0 4px; font-size: 13px; }
    .dlcul-st:empty { display: none; }
    .dlcul-st .dlnw-st__h { display: none; }
  }
  /* 數據語言・節慶活圖（2026-10-17 第四階段，/festivals；portal.js 的 FestHero、festivalsView，活圖 live-fest.js 的 LiveArt.festring〈今年的節慶年環〉；類名前綴 dlfs-）
     數字列與下緣沿用新聞頁的 dlnw-；各節慶頁 /festivals/<key> 不動。 */
  .dl-hero--fs { height: 680px; }
  .dl-hero--fs::before { display: none; }
  .dl-hero--fs .dl-hero__capin { max-width: 430px; }
  .dl-hero--fs .dl-title { font-size: 40px; line-height: 1.32; }
  .dl-hero--fs .dl-hero__stage:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -4px; }
  .dlfs-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; margin-top: 16px; }
  .dlfs-nums .dlnw-num:nth-child(2n) { border-right: 0; margin-right: 0; }
  .dlfs-legend { margin-top: 14px; flex-direction: column; gap: 4px; }
  .dlfs-legend > span svg { flex: none; }
  .dlfs-cats { display: flex !important; flex-wrap: wrap; gap: 2px 12px !important; white-space: normal !important; }
  .dlfs-cats > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
  .dlfs-cats i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
  .dlfs-dock { gap: 8px 14px; }
  .dlfs-st { margin: 0; min-width: 0; font-size: 13px; color: var(--dl-ink2); line-height: 1.6; }
  .dlfs-st:empty { display: none; }
  .dlfs-tip__b { color: #0c7078; } .dlfs-tip__b.is-calc { color: #8a5a1c; }
  .dlfs-tip small { display: block; margin-top: 4px; padding-top: 4px; border-top: 1px solid #d3dcda; font-size: 12px; color: #0c7078; }
  .dlfs > .dlpg-fest { padding-top: 8px; }
  .dlpg-fest .cmpt__r.is-ringpick > .cmpt__s { background: rgba(200, 83, 42, .07); box-shadow: inset 3px 0 0 var(--dl-warm); transition: background .4s; }
  @media (max-width: 859px) {
    .dl-hero--fs { height: auto; }
    .dl-hero--fs .dl-hero__spacer { height: min(calc(100vw + 24px), 540px); flex: none; }
    .dl-hero--fs .dl-hero__cap { padding-top: 22px; }
    .dl-hero--fs .dl-title { font-size: 26px; line-height: 1.42; margin: 8px 0 6px; }
    .dl-hero--fs .dl-title__cl { white-space: normal; }
    .dl-hero--fs .dl-legend.dlfs-legend { display: flex; flex-direction: row; flex-wrap: wrap; gap: 2px 12px; margin-top: 10px; }
    .dlfs-cats { width: 100%; }
    .dlfs-nums { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; }
    .dlfs-nums .dlnw-num { padding-right: 4px; margin-right: 6px; border-right: 1px solid var(--dl-hair); }
    .dlfs-nums .dlnw-num:nth-child(2n) { border-right: 1px solid var(--dl-hair); margin-right: 6px; }
    .dlfs-nums .dlnw-num:last-child { border-right: 0; margin-right: 0; }
    .dlfs-nums .dlnw-num b { font-size: 21px; }
    .dlfs-nums .dlnw-num span { white-space: normal; line-height: 1.35; }
  }
  /* 數據語言・各宗教活圖（2026-10-17 第四階段，/beliefs；portal.js 的 BfHero、BeliefsView，活圖 live-beliefs.js 的 LiveArt.bfweek〈一週的聚會〉；類名前綴 dlbf-）
     主視覺下面的「雜誌」風格（.bf）照舊；頁首的粗底線延續雜誌的版式。 */
  .dl-hero--bf { height: auto; border-bottom: 8px solid var(--dl-ink); }
  .dl-hero--bf::before { display: none; }
  .dl-hero--bf .dl-hero__capin { max-width: 860px; }
  .dl-hero--bf .dl-title { font-size: 42px; line-height: 1.3; }
  .dl-hero--bf .dl-hero__spacer { flex: none; height: 380px; }
  .dl-hero--bf .dl-hero__stage:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -4px; }
  .dlbf-svg { position: absolute; left: 0; top: 0; display: block; overflow: visible; }
  .dlbf-day { font: 700 14px/1 var(--dl-serif); fill: var(--dl-ink2); } .dlbf-day.is-we { fill: var(--dl-ink); } .dlbf-day.is-today { fill: var(--dl-warm); }
  .dlbf-hr { font: 500 12px/1 var(--dl-mono); fill: var(--dl-ink3); }
  .dlbf-lab { font: 500 12px/1 var(--dl-sans); fill: var(--dl-ink); paint-order: stroke; stroke: rgba(244,246,244,.95); stroke-width: 3px; stroke-linejoin: round; }
  .dlbf-lab.is-tbc { fill: var(--dl-ink2); }
  .dlbf-nowt { font: 600 12px/1 var(--dl-mono); fill: var(--dl-warm); paint-order: stroke; stroke: rgba(244,246,244,.95); stroke-width: 3px; }
  .dlbf-nums { margin-top: 14px; }
  .dlbf-legend { margin-top: 12px; }
  .dlbf-sw { width: 10px; height: 10px; border-radius: 50%; flex: none; }
  .dlbf-dock { gap: 8px 16px; }
  .dlbf-next { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin: 0; min-width: 0; font-size: 14px; color: var(--dl-ink2); }
  .dlbf-next b { font: 600 18px/1.2 var(--dl-mono); color: var(--dl-ink); }
  .dlbf-next small { font-size: 12px; color: var(--dl-warm); }
  .dlbf-tbc { font-style: normal; font-size: 12px; color: #8a5a1c; border: 1px solid rgba(138,90,28,.35); border-radius: 3px; padding: 0 4px; }
  .dlbf-faith { border-radius: 0; border-color: var(--dl-ink); background: transparent; }
  .dlbf-tip__c { color: #0c7078; } .dlbf-tip__c.is-tbc { color: #8a5a1c; }
  .dlbf-tip small { display: block; margin-top: 4px; padding-top: 4px; border-top: 1px solid #d3dcda; font-size: 12px; color: #0c7078; }
  .dlbf > .bf { padding-top: 22px; }
  .bf__wt .cmpt__r:has(.bf__wtt.is-hi) > .cmpt__s { background: rgba(200, 83, 42, .08); box-shadow: inset 3px 0 0 var(--dl-warm); }
  @media (max-width: 859px) {
    .dl-hero--bf .dl-hero__cap { padding-top: 22px; }
    .dl-hero--bf .dl-title { font-size: 26px; line-height: 1.42; margin: 8px 0 6px; }
    .dl-hero--bf .dl-hero__spacer { height: 330px; }
    .dl-hero--bf .dl-legend.dlbf-legend { display: flex; gap: 2px 12px; margin-top: 10px; }
    .dlbf-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; }
    .dlbf-nums .dlnw-num { padding-right: 4px; margin-right: 6px; }
    .dlbf-nums .dlnw-num b { font-size: 21px; }
    .dlbf-nums .dlnw-num span { line-height: 1.35; }
    .dlbf-day { font-size: 13px; }
    .dlbf-dock .dlnw-act { width: 100%; justify-content: space-between; }
  }
  /* 數據語言・歷史活圖（2026-10-17 第四階段，/history；portal.js 的 HisRiver（HistoryView 裡、刻度時間軸上方），活圖 live-history.js 的 LiveArt.hisriver〈時間長河〉；類名前綴 dlhr-） */
  .dlhr { margin: 18px 0 6px; padding-top: 12px; border-top: 1px solid var(--dl-hair); }
  .dlhr__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
  .dlhr__t { margin: 0; font: 900 20px/1.3 var(--dl-serif); letter-spacing: .08em; color: var(--dl-ink); }
  .dlhr__lead { margin: 0; flex: 1 1 280px; font-size: 13px; color: var(--dl-ink2); line-height: 1.6; }
  .dlhr__zm { display: flex; gap: 6px; margin-left: auto; }
  .dlhr__zm button { min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--dl-hair); border-radius: 22px; background: var(--dl-paper2); color: var(--dl-ink); font: 600 16px/1 var(--dl-sans); cursor: pointer; }
  .dlhr__zm button:hover:not(:disabled) { border-color: var(--dl-ink3); }
  .dlhr__zm button:disabled { color: var(--dl-ink3); cursor: default; }
  .dlhr__zm .dlhr__all { font-size: 13px; }
  .dlhr__zm button:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dlhr__stage { position: relative; height: 220px; margin-top: 8px; background: #f4f6f4; border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); outline: none; }
  .dlhr__stage:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dlhr__stage canvas { position: absolute; left: 0; top: 0; display: block; cursor: grab; }
  .dlhr-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 6px 12px; border-radius: 4px; background: rgba(16,36,42,.82); color: #f4f6f4; font-size: 13px; pointer-events: none; white-space: nowrap; }
  .dlhr__foot { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; font-size: 12px; color: var(--dl-ink2); line-height: 1.6; }
  .dlhr__foot > span { display: inline-flex; align-items: center; gap: 5px; }
  .dlhr__how { color: var(--dl-ink3); }
  .dlhr__k { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--dl-ink2); flex: none; }
  .dlhr__k.is-key { width: 14px; height: 14px; }
  .dlhr__k.is-soft { background: transparent; border: 2px solid var(--dl-ink2); }
  .dlhr__k.is-n { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; font: 700 12px/1 var(--dl-mono); font-style: normal; color: #fbfcfb; }
  .dlhr-tip small { display: block; margin-top: 4px; padding-top: 4px; border-top: 1px solid #d3dcda; font-size: 12px; color: #0c7078; }
  [data-theme="dark"] .dlhr__stage { border-color: #d3dcda; }
  @media (max-width: 700px) {
    .dlhr__stage { height: 200px; margin-inline: calc(-1 * var(--shell-pad, 16px)); }
    .dlhr__zm { margin-left: 0; width: 100%; }
    .dlhr__zm .dlhr__all { margin-left: auto; }
    .dlhr__how { display: none !important; }
  }
  /* 數據語言・那時與現在活圖（2026-10-17 第四階段，/thennow；portal.js 的 TnHero、ThenNowView，活圖 live-thennow.js 的 LiveArt.tnruler〈年代尺〉；類名前綴 dltn-）
     下方四組照片（並排、拖曳比較、角落的「©」）照舊。 */
  .dl-hero--tn { height: auto; }
  .dl-hero--tn::before { display: none; }
  .dl-hero--tn .dl-hero__capin { max-width: 820px; }
  .dl-hero--tn .dl-title { font-size: 40px; line-height: 1.3; }
  .dl-hero--tn .dl-hero__spacer { flex: none; height: 330px; }
  .dl-hero--tn .dl-hero__stage:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -4px; }
  .dltn-svg { position: absolute; left: 0; top: 0; display: block; overflow: visible; }
  .dltn-place { font: 700 15px/1 var(--dl-serif); fill: var(--dl-ink); }
  .dltn-row.is-on .dltn-place { fill: var(--dl-sea); }
  .dltn-yr { font: 500 12px/1 var(--dl-mono); fill: var(--dl-ink3); }
  .dltn-today { font: 500 12px/1 var(--dl-sans); fill: var(--dl-ink2); }
  .dltn-oy { font: 600 12px/1 var(--dl-mono); fill: #8a6a3f; } .dltn-oy.is-unk { font-family: var(--dl-sans); fill: var(--dl-ink3); }
  .dltn-ny { font: 600 12px/1 var(--dl-mono); fill: var(--dl-sea); }
  .dltn-gap { font: 700 13px/1 var(--dl-sans); fill: var(--dl-deep); paint-order: stroke; stroke: rgba(244,246,244,.95); stroke-width: 4px; stroke-linejoin: round; }
  .dltn-gap.is-unk { font-weight: 500; fill: var(--dl-ink3); }
  .dltn-legend { margin-top: 12px; }
  .dltn-k { display: inline-block; flex: none; }
  .dltn-k.is-old { width: 18px; height: 7px; border-radius: 4px; background: #8a6a3f; }
  .dltn-k.is-now { width: 10px; height: 10px; border-radius: 50%; background: #0c7078; }
  .dltn-k.is-gap { width: 18px; height: 2px; background: #08484f; }
  .dltn-k.is-tail { width: 18px; height: 0; border-top: 2px dotted rgba(16,36,42,.4); }
  .dltn-dock { gap: 8px 16px; }
  .dltn-st { margin: 0; font-size: 13px; color: var(--dl-ink2); }
  .dltn > .tnpage { padding-top: 6px; }
  .tnpage .tn.is-on .tn__head h3 { color: var(--dl-sea); }
  .tnpage .tn { scroll-margin-top: 16px; }
  .tnpage .tn__side figcaption .tn__taken { margin-left: 6px; font: 500 12px/1 var(--dl-mono); color: var(--dl-ink2); }
  @media (max-width: 859px) {
    .dl-hero--tn .dl-hero__cap { padding-top: 22px; }
    .dl-hero--tn .dl-title { font-size: 26px; line-height: 1.42; margin: 8px 0 6px; }
    .dl-hero--tn .dl-hero__spacer { height: 360px; }
    .dl-hero--tn .dl-title__cl { white-space: normal; }
    .dl-hero--tn .dl-legend.dltn-legend { display: flex; gap: 2px 12px; margin-top: 10px; }
    .dltn-place { font-size: 14px; }
  }
  /* ── 淺色頁首（2026-10-17，使用者決定：頁首從深藍改成淺色，跟數據語言各頁一致；後台「外觀」的 light，舊的幾種保留可以切回）──
     頁首、主選單、手機底部選單、資料狀態列、頁尾一起換。做法：在這幾塊裡把原本給深底用的變數（--surface-deep、--ink-deep…）
     換成淺色的值，其餘寫死半透明白色的地方逐一蓋掉。夜間模式（data-theme="dark"）另給一組深色值，版面一樣是細線分隔。 */
  .lookroot.hdr-light { --hd-bg: #fbfcfb; --hd-ink: #10242a; --hd-mut: #56676c; --hd-sea: #0c7078; --hd-hair: #d3dcda;
    --hd-btn: #ffffff; --hd-btnh: #eef3f2; --hd-btnb: #cbd6d4; --hd-foot: #eef2f1; --hd-go: #186b43; --hd-hold: #b7791f; --hd-stop: #b42318;
    --hd-paper: #fdf6e6; --hd-line: #2b3a42; --hd-moon: #b7791f; }
  [data-theme="dark"] .lookroot.hdr-light { --hd-bg: #111b1f; --hd-ink: #e8f1f0; --hd-mut: #9fb6b8; --hd-sea: #5cc2c4; --hd-hair: #26353b;
    --hd-btn: #16232a; --hd-btnh: #1d2e35; --hd-btnb: #2c3e45; --hd-foot: #0b1316; --hd-go: #5fcf94; --hd-hold: #e3b25c; --hd-stop: #f08a7c;
    --hd-line: #fdf6e6; --hd-moon: #f0d68a; }
  .lookroot.hdr-light .mastwrap, .lookroot.hdr-light .botnav, .lookroot.hdr-light .console {
    --surface-deep: var(--hd-bg); --ink-deep: var(--hd-ink); --ink-deep-muted: var(--hd-mut); --tide-glow: var(--hd-sea); --focus-invert: var(--hd-sea);
    --go-on-deep: var(--hd-go); --hold-on-deep: var(--hd-hold); --stop-on-deep: var(--hd-stop); }
  /* 頁首：一塊平的紙白，底下一條細線；天氣不再整片變色 */
  .lookroot.hdr-light .mastwrap, .lookroot.hdr-light .mastwrap[data-sky] { background: var(--hd-bg); color: var(--hd-ink); border-bottom: 1px solid var(--hd-hair); transition: none; }
  .lookroot.hdr-light .masthead, .lookroot.hdr-light .viewnav { background: transparent; color: var(--hd-ink); }
  .lookroot.hdr-light .mastwrap__m, .lookroot.hdr-light .mastwrap__moon, .lookroot.hdr-light .mastwrap__ph, .lookroot.hdr-light .mastwrap__cr, .lookroot.hdr-light .mast-sky { display: none; }
  .lookroot.hdr-light .wordmark { color: var(--hd-ink); font-family: var(--font-serif); font-weight: 700; }
  .lookroot.hdr-light .wordmark__sub { color: var(--hd-mut); }
  /* 右上角的按鈕：白底、細框、墨色字 */
  .lookroot.hdr-light .mast-tools .srchbtn, .lookroot.hdr-light .mast-tools .langm__btn, .lookroot.hdr-light .mast-tools .dy-btn,
  .lookroot.hdr-light .mast-tools .authbtn:not(.authbtn--primary), .lookroot.hdr-light .mastwrap.has-sky .mast-tools .dy-btn {
    background: var(--hd-btn); background-color: var(--hd-btn); color: var(--hd-ink); border: 1px solid var(--hd-btnb); }
  .lookroot.hdr-light .mast-tools .srchbtn:hover, .lookroot.hdr-light .mast-tools .langm__btn:hover, .lookroot.hdr-light .mast-tools .dy-btn:hover,
  .lookroot.hdr-light .mast-tools .authbtn:not(.authbtn--primary):hover { background: var(--hd-btnh); background-color: var(--hd-btnh); border-color: var(--hd-mut); }
  .lookroot.hdr-light .mast-tools .srchbtn:focus-visible, .lookroot.hdr-light .mast-tools .langm__btn:focus-visible, .lookroot.hdr-light .mast-tools .dy-btn:focus-visible,
  .lookroot.hdr-light .mast-tools .authbtn:focus-visible { outline: 2px solid var(--hd-sea); outline-offset: 2px; }
  .lookroot.hdr-light .revbtn--sum .revbtn__n { box-shadow: 0 0 0 2px var(--hd-bg); }
  /* 天氣：右上角一個小圖示＋字（霧線、彎月與星），不是按鈕所以不加框 */
  .mast-wx { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 6px; color: var(--hd-mut); font-size: 12.5px; font-weight: 600;
    letter-spacing: .04em; white-space: nowrap; }
  .mast-wx__i { flex: none; }
  .mast-wx.is-night .mast-wx__i { color: var(--hd-moon); }
  .mast-wx.is-fog .mast-wx__i { color: var(--hd-mut); }
  @media (max-width: 900px) { .mast-wx__t { display: none; } .mast-wx { padding: 0 2px; } }
  /* 桌面主選單：細線分隔，選中的大類墨色＋海青底線 */
  .lookroot.hdr-light .viewnav { border-top: 1px solid var(--hd-hair); }
  .lookroot.hdr-light .viewtab { color: var(--hd-mut); border-bottom-width: 2px; }
  .lookroot.hdr-light .viewtab:hover, .lookroot.hdr-light .navg[aria-expanded="true"] { color: var(--hd-ink); }
  .lookroot.hdr-light .viewtab[aria-current="true"] { color: var(--hd-ink); border-bottom-color: var(--hd-sea); }
  .lookroot.hdr-light .viewtab:focus-visible { outline: 2px solid var(--hd-sea); outline-offset: -2px; }
  /* 展開的子頁面板：細線、不要厚陰影 */
  .lookroot.hdr-light .navpanel { border-color: var(--hd-hair); box-shadow: 0 10px 28px rgba(16, 36, 42, .12); }
  .lookroot.hdr-light .navpanel__i.is-on { box-shadow: inset 2px 0 0 var(--hd-sea); }
  /* 剪紙圖示在淺底上：前面那層米白紙加一圈墨色細框、外面的線改墨色（夜間換回米白），淺底上才看得清楚 */
  .lookroot.hdr-light .navbadge .nb-p { stroke: var(--hd-line); stroke-width: .9px; }
  .lookroot.hdr-light .navbadge .nb-o { stroke: var(--hd-line); }
  [data-theme="dark"] .lookroot.hdr-light .navbadge .nb-p { stroke: var(--hd-paper); stroke-width: 1.2px; }
  /* 手機底部選單：紙白、上方一條細線 */
  .lookroot.hdr-light .botnav { background: var(--hd-bg); border-top: 1px solid var(--hd-hair); }
  .lookroot.hdr-light .botnav__b { color: var(--hd-mut); border-top-width: 2px; }
  .lookroot.hdr-light .botnav__b[aria-current="page"] { color: var(--hd-ink); border-top-color: var(--hd-sea); }
  .lookroot.hdr-light .botnav__b:focus-visible { outline: 2px solid var(--hd-sea); outline-offset: -2px; }
  /* 資料狀態列：紙白、上方細線（手機上疊在底部選單上面，兩條細線分開） */
  .lookroot.hdr-light .console { background: var(--hd-bg); color: var(--hd-ink); border-top: 1px solid var(--hd-hair); }
  .lookroot.hdr-light .console-toggle { color: var(--hd-ink); }
  .lookroot.hdr-light .console-toggle:focus-visible { outline: 2px solid var(--hd-sea); }
  .lookroot.hdr-light .feedchip { border-color: var(--hd-hair); color: var(--hd-mut); }
  .lookroot.hdr-light .feedchip b { color: var(--hd-ink); }
  /* 頁尾也換成淺色（跟網站資訊頁的頁尾一致）：淡一階的紙色、上方細線 */
  .lookroot.hdr-light > .sitefoot { background: var(--hd-foot); color: var(--hd-mut); border-top: 1px solid var(--hd-hair); }
  .lookroot.hdr-light > .sitefoot .sitefoot__brand b, .lookroot.hdr-light > .sitefoot .sitefoot__links a { color: var(--hd-ink); }
  .lookroot.hdr-light > .sitefoot .sitefoot__copy { color: var(--hd-mut); }
  .lookroot.hdr-light > .sitefoot .sitefoot__links a:focus-visible { outline-color: var(--hd-sea); }
  /* 手機的子分頁：選中的那顆用墨色（原本是深藍頁首的顏色） */
  .lookroot.hdr-light .subnav__t[aria-current="page"] { background: var(--hd-ink); border-color: var(--hd-ink); color: var(--hd-bg); }
  /* 數據語言・足跡地圖（2026-10-17 第四階段，/hundred、/stamps；portal.js 的 FootprintHero、HundredView、StampsView，活圖 live-footprint.js 的 LiveArt.footprint；類名前綴 dlfp-）
     主視覺＝自繪海圖上的章（方印）與馬祖時刻（圓點），蓋到、做到的亮起來；數字列與下方一列沿用新聞頁的 dlnw-nums、dlnw-dock。 */
  .dl-hero--fp { height: 640px; }
  .dl-hero--fp::before { display: none; }
  .dl-hero--fp .dl-hero__capin { max-width: 430px; }
  .dl-hero--fp .dl-title { font-size: 38px; line-height: 1.36; }
  .dlnw-num.is-sea b { color: var(--dl-sea); }
  .dlnw-num.is-seal b { color: #b4382a; }
  .dlfp-legend { margin-top: 14px; gap: 4px 14px; }
  .dlfp-k { display: inline-block; width: 10px; height: 10px; flex: none; }
  .dlfp-k.is-seal { background: #b4382a; border-radius: 2px; }
  .dlfp-k.is-sq { background: #fbfcfb; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(86,103,108,.62); }
  .dlfp-k.is-lit { background: #0c7078; border-radius: 50%; box-shadow: 0 0 0 3px rgba(12,112,120,.16); }
  .dlfp-k.is-own { border-radius: 50%; background: #fbfcfb; box-shadow: inset 0 0 0 1.6px #0c7078; }
  .dlfp-k.is-none { width: 7px; height: 7px; border-radius: 50%; background: rgba(86,103,108,.38); }
  .dlfp-k.is-apx { border-radius: 50%; background: #fbfcfb; border: 1.2px dashed #8a989b; box-sizing: border-box; }
  .dlfp-view { display: flex; flex-wrap: wrap; gap: 6px; }
  .dlfp-vb { min-height: 44px; padding: 0 14px; border: 1px solid var(--dl-hair); border-radius: 22px; background: var(--dl-paper2); color: var(--dl-ink); font: 500 14px/1 var(--dl-sans); cursor: pointer; }
  .dlfp-vb:hover { border-color: rgba(16,36,42,.4); }
  .dlfp-vb.is-on { border-color: var(--dl-ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--dl-sea); }
  .dlfp-vb:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dlfp .dlh__body > .block:first-child, .dlfp .dlh__body > .block.stb { margin-top: 28px; }
  .dlfp .hc__ttl h2 { display: none; }
  .dlfp .stb__sel { scroll-margin-top: 120px; }
  @media (max-width: 859px) {
    .dl-hero--fp { height: auto; }
    .dl-hero--fp .dl-hero__spacer { height: 380px; }
    .dl-hero--fp .dl-title { font-size: 26px; line-height: 1.42; margin: 8px 0 6px; }
    .dl-hero--fp .dl-legend { display: flex; gap: 2px 10px; margin-top: 10px; }
    .dlfp-view { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--shell-pad, 12px)); padding-inline: var(--shell-pad, 12px); }
    .dlfp-view::-webkit-scrollbar { display: none; }
    .dlfp-vb { flex: none; padding: 0 12px; font-size: 13.5px; }
    .dlfp-dock .dlnw-act { margin-left: 0; }
  }
  /* 數據語言・詞彙格（2026-10-17 第四階段，/culture/voice、/culture/exam；portal.js 的 WordGridHero、VoiceView、ExamView，活圖 live-wordgrid.js 的 LiveArt.wordgrid；類名前綴 dlwg-）
     一個詞一格、一類一列，有真人錄音的亮起來；數字列與下方一列沿用新聞頁的 dlnw-nums、dlnw-dock。 */
  .dl-hero--wg { height: 640px; }
  .dl-hero--wg::before { display: none; }
  .dl-hero--wg .dl-hero__capin { max-width: 410px; }
  .dl-hero--wg .dl-title { font-size: 38px; line-height: 1.36; }
  .dl-hero--wg .dl-hero__stage:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -4px; }
  .dlwg-legend { margin-top: 14px; gap: 4px 14px; }
  .dlwg-k { display: inline-block; width: 10px; height: 10px; border-radius: 2px; flex: none; }
  .dlwg-legend small { font: 500 12px/1 var(--dl-mono); color: var(--dl-ink2); }
  .dlwg-pk { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
  .dlwg-pk b { font: 700 16px/1.4 var(--dl-serif); color: var(--dl-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 22em; }
  .dlwg-pk small { font-size: 12px; color: var(--dl-ink2); }
  .dlwg-x { padding: 0 12px; }
  .dlwg .dlh__body > .block:first-child { margin-top: 28px; }
  .dlwg-tip { max-width: 260px; }
  @media (max-width: 859px) {
    .dl-hero--wg { height: auto; }
    .dl-hero--wg .dl-hero__spacer { height: 410px; }
    .dl-hero--wg .dl-title { font-size: 26px; line-height: 1.42; margin: 8px 0 6px; }
    .dl-hero--wg .dl-legend { display: flex; gap: 2px 10px; margin-top: 10px; }
    .dlwg-pk b { max-width: 11em; }
  }
  /* 數據語言・停飛理賠點陣（2026-10-17 第四階段，/insurance；portal.js 的 InsDots、InsuranceView 的 dotPick，live-insurance.js 的 LiveArt.insdots；類名前綴 dlinsd-）
     33 家發卡機構一家一列、66 組卡別一組一點；整列是按鈕，點了捲到下方那一家。標誌照舊用本站存的圖。 */
  .dlinsd-wrap { margin: 30px 0 6px; padding-top: 20px; border-top: 1px solid var(--dl-hair); }
  .dlinsd-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: 6px 28px; align-items: end; }
  .dlinsd-head .dl-title { font-size: 30px; line-height: 1.36; margin: 8px 0 6px; }
  .dlinsd-legend { margin: 0 0 6px; justify-content: flex-end; }
  .dlinsd-legend small { font: 500 12px/1 var(--dl-mono); color: var(--dl-ink2); }
  .dlinsd { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 22px; margin-top: 14px; border-top: 2px solid var(--dl-ink); }
  .dlinsd-row { appearance: none; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 48px; padding: 5px 6px; border: 0; border-bottom: 1px solid var(--dl-hair);
    border-radius: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: var(--dl-ink); }
  .dlinsd-row:hover { background: rgba(8,72,79,.045); }
  .dlinsd-row:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -2px; }
  .dlinsd-row.is-sel { box-shadow: inset 3px 0 0 var(--dl-warm); background: rgba(200,83,42,.05); }
  .dlinsd-logo img { width: 22px; height: 22px; border-radius: 5px; display: block; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--dl-hair); }
  .dlinsd-logo b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px; background: var(--dl-hair); font-size: 12px; }
  .dlinsd-name { font-weight: 600; font-size: 14px; line-height: 1.3; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .dlinsd-name small { display: block; font: 400 12px/1.35 var(--dl-mono); color: var(--dl-ink2); }
  .dlinsd-dots { display: flex; gap: 6px; justify-content: flex-end; }
  .dlinsd-dot { display: inline-block; width: 13px; height: 13px; border-radius: 50%; flex: none; box-sizing: border-box; vertical-align: -2px; }
  .dlinsd-dot.is-yes { background: #186b43; }
  .dlinsd-dot.is-partial { background: linear-gradient(90deg, #b7791f 50%, #fbfcfb 50%); box-shadow: inset 0 0 0 1.5px #b7791f; }
  .dlinsd-dot.is-unknown { border: 1.5px dashed #8a989b; background: #fbfcfb; }
  .dlinsd-dot.is-no { background: linear-gradient(45deg, transparent 44%, #b42318 44% 56%, transparent 56%), linear-gradient(-45deg, #fbfcfb 44%, #b42318 44% 56%, #fbfcfb 56%); box-shadow: inset 0 0 0 1.5px #b42318; }
  .dlinsd.is-intro .dlinsd-dot { animation: dlinsdIn .45s var(--d, 0s) both cubic-bezier(.2,.8,.3,1.2); }
  @keyframes dlinsdIn { from { transform: scale(0); opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .dlinsd.is-intro .dlinsd-dot { animation: none; } }
  .dlinsd-tip { max-width: 260px; }
  .dlins .is-flash { outline: 2px solid var(--dl-warm); outline-offset: 3px; border-radius: 6px; }
  .dlins .cmpt__r, .dlins .icard__w, .dlins .ins__c { scroll-margin-top: 120px; }
  [data-theme="dark"] .dlinsd-row { color: var(--ink); }
  [data-theme="dark"] .dlinsd { border-top-color: var(--ink); }
  @media (max-width: 859px) {
    .dlinsd-wrap { margin-top: 22px; padding-top: 14px; }
    .dlinsd-head { grid-template-columns: minmax(0, 1fr); }
    .dlinsd-head .dl-title { font-size: 22px; }
    .dlinsd-head .dl-legend { display: flex; justify-content: flex-start; gap: 2px 12px; }
    .dlinsd { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
    .dlinsd-row { grid-template-columns: 22px minmax(0, 1fr); grid-template-areas: "l n" "l d"; gap: 2px 8px; padding: 6px 2px; min-height: 52px; }
    .dlinsd-logo { grid-area: l; align-self: start; padding-top: 2px; }
    .dlinsd-name { grid-area: n; font-size: 13.5px; }
    .dlinsd-name small { display: none; }
    .dlinsd-dots { grid-area: d; justify-content: flex-start; gap: 5px; }
  }
  /* 數據語言・生活資訊・瓦斯活圖（2026-10-17 第四階段，/info?s=gas；portal.js 的 GasArt、infoArt，活圖 live-info-gas.js 的 LiveArt.gasfork〈價格與成本的分岔〉；類名前綴 dlgas-）
     放在瓦斯主題的最上面（生活資訊頁才有）；數字列＋折線圖＋逐月讀數＋圖例。 */
  .dlinfo .dlgas { margin: 4px 0 6px; padding: 0 0 14px; border-bottom: 1px solid var(--dl-hair); color: var(--dl-ink); font-family: var(--dl-sans); }
  .dlgas-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
  .dlgas-h h3 { margin: 0; font: 700 22px/1.4 var(--dl-serif); letter-spacing: .03em; }
  .dlgas-h span { font-size: 13px; color: var(--dl-ink2); }
  .dlgas-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 18px; margin: 12px 0 4px; border-top: 2px solid var(--dl-ink); }
  .dlgas-facts > div { display: grid; gap: 2px; padding: 9px 0 8px; border-bottom: 1px solid var(--dl-hair); min-width: 0; }
  .dlgas-facts span { font-size: 13px; color: var(--dl-ink2); }
  .dlgas-facts b { font: 600 22px/1.25 var(--dl-mono); color: var(--dl-ink); white-space: nowrap; }
  .dlgas-facts b i { font-style: normal; font-weight: 400; color: var(--dl-ink3); font-size: 16px; }
  .dlgas-facts b small { font: 500 12px var(--dl-sans); color: var(--dl-ink2); margin-left: 3px; }
  .dlgas-facts .is-warm b { color: var(--dl-warm); }
  .dlgas-facts em { font: 400 12px/1.4 var(--dl-mono); font-style: normal; color: var(--dl-ink3); }
  .dlgas-stage { position: relative; height: 360px; margin-top: 10px; outline: none; }
  .dlgas-stage:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dlgas-stage canvas { position: absolute; inset: 0; display: block; }
  .dlgas-read { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; min-height: 44px; margin: 4px 0 0; font: 500 13.5px/1.5 var(--dl-mono); color: var(--dl-ink2); }
  .dlgas-read b { color: var(--dl-ink); font-weight: 700; }
  .dlgas-read .is-warm { color: var(--dl-warm); font-weight: 600; }
  .dlgas-x, .dlgas-more { appearance: none; min-height: 44px; padding: 0 12px; border: 1px solid var(--dl-hair); border-radius: 2px; background: none; color: var(--dl-deep); font: 600 13px var(--dl-sans); cursor: pointer; }
  .dlgas-x:hover, .dlgas-more:hover { border-color: var(--dl-deep); }
  .dlgas-legend { margin-top: 6px; gap: 4px 16px; }
  .dlgas-k { display: inline-block; width: 22px; height: 0; vertical-align: 4px; margin-right: 6px; border-top: 2.2px solid var(--dl-ink); }
  .dlgas-k.is-med { border-top: 1.4px dashed var(--dl-ink3); } .dlgas-k.is-cp { border-top: 1.8px solid var(--dl-deep); }
  .dlgas-k.is-gap { height: 10px; border: 0; background: rgba(200,83,42,.2); vertical-align: -1px; }
  .dlgas-tri { display: inline-block; width: 0; height: 0; margin-right: 6px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 9px solid var(--dl-warm); position: relative; vertical-align: 0; }
  .dlgas-tri:not(.is-ann)::after { content: ""; position: absolute; left: -3px; top: 3px; border-left: 3px solid transparent; border-right: 3px solid transparent; border-bottom: 5px solid #f4f6f4; }
  .dlgas-n { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; margin: 8px 0 0; font-size: 12.5px; color: var(--dl-ink2); }
  .dlgas-n .dlgas-more { margin-left: auto; }
  [data-theme="dark"] .dlgas-stage { background: #f4f6f4; border-radius: 2px; }
  @media (max-width: 859px) {
    .dlgas-h h3 { font-size: 19px; }
    .dlgas-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
    .dlgas-facts b { font-size: 18px; }
    .dlgas-stage { height: 300px; }
    .dlgas-n .dlgas-more { margin-left: 0; }
    /* 數據語言共用的 .dl-legend 在手機上是收起來的；生活資訊這四張圖的圖例要留著（字可換行） */
    .dlinfo .dlgas-legend, .dlinfo .dlcln-legend, .dlinfo .dlcg-legend, .dlinfo .dlsvc-legend { display: flex; gap: 4px 12px; }
    .dlinfo .dlgas-legend span, .dlinfo .dlcln-legend span, .dlinfo .dlcg-legend span, .dlinfo .dlsvc-legend span { white-space: normal; }
  }
  /* 數據語言・生活資訊・看診時間活圖（2026-10-17 第四階段，/info?s=clinic；portal.js 的 ClinicArt，活圖 live-info-clinic.js 的 LiveArt.clinicweek〈這一週的診間〉；類名前綴 dlcln-）
     一處一列、一天一格（上午／下午／晚上三條＋值班一點）；現在的時段暖色框；不是這一週的整列斜紋。標題列沿用 dlgas-h、說明沿用 dlgas-n。 */
  .dlinfo .dlclnw { margin: 4px 0 6px; padding: 0 0 14px; border-bottom: 1px solid var(--dl-hair); color: var(--dl-ink); font-family: var(--dl-sans); }
  .dlcln-warn { margin: 8px 0 0; padding: 4px 0 4px 12px; border-left: 2px solid var(--dl-hold); font-size: 13px; color: var(--dl-ink2); }
  .dlcln-warn b { color: #8a5a12; margin-right: 8px; }
  .dlcln-stage { margin-top: 12px; }
  .dlcln { display: grid; gap: 0; border-top: 2px solid var(--dl-ink); }
  .dlcln-r { display: grid; grid-template-columns: 150px repeat(7, minmax(0, 1fr)) 70px; gap: 0 4px; align-items: stretch; padding: 5px 0; border-bottom: 1px solid var(--dl-hair); }
  .dlcln-hd { padding: 6px 0 4px; }
  .dlcln-dh { display: grid; justify-items: center; font-size: 13px; color: var(--dl-ink2); line-height: 1.3; }
  .dlcln-dh b { font: 700 14px/1.3 var(--dl-serif); color: var(--dl-ink); } .dlcln-dh small { font: 500 12px var(--dl-mono); }
  .dlcln-dh.is-today b, .dlcln-dh.is-today small { color: var(--dl-warm); }
  .dlcln-dh.is-today { box-shadow: inset 0 -2px 0 var(--dl-warm); }
  .dlcln-lab { appearance: none; display: grid; align-content: center; gap: 1px; min-height: 44px; padding: 0 6px 0 0; border: 0; background: none; text-align: left; font: inherit; color: var(--dl-ink); cursor: pointer; }
  .dlcln-lab b { font: 700 15px/1.3 var(--dl-serif); }
  .dlcln-lab small { font-size: 12px; line-height: 1.35; color: var(--dl-ink2); }
  .dlcln-r.is-old .dlcln-lab small { color: #8a5a12; font-weight: 600; }
  .dlcln-r.is-sel .dlcln-lab b { color: var(--dl-deep); text-decoration: underline; text-underline-offset: 3px; }
  .dlcln-sum { align-self: center; justify-self: end; font: 600 13px var(--dl-mono); color: var(--dl-ink2); white-space: nowrap; }
  .dlcln-c { appearance: none; position: relative; display: grid; grid-template-rows: repeat(3, minmax(17px, auto)) 11px; gap: 2px; min-width: 0; padding: 3px; border: 0; border-radius: 2px; background: rgba(16,36,42,.025); font: inherit; color: var(--dl-ink); text-align: left; cursor: pointer; }
  .dlcln-c:hover { background: rgba(8,72,79,.07); }
  .dlcln-c:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 1px; }
  .dlcln-c.is-today { background: rgba(200,83,42,.06); }
  .dlcln-c.is-sel { box-shadow: inset 0 0 0 2px var(--dl-deep); }
  .dlcln-c.is-na { cursor: default; background: none; }
  .dlcln-c.is-hosp { grid-template-rows: repeat(3, minmax(17px, auto)) 11px; }
  .dlcln-s { display: flex; align-items: center; gap: 5px; min-width: 0; padding: 0 4px; border-radius: 1px; font-style: normal; background: rgba(16,36,42,.04); overflow: hidden; }
  .dlcln-s.is-on { background: rgba(12,112,120,.16); }
  .dlcln-s.is-on.is-pm { background: rgba(12,112,120,.24); } .dlcln-s.is-on.is-night { background: rgba(8,72,79,.30); }
  .dlcln-s em { font: 700 12px/1 var(--dl-mono); font-style: normal; color: var(--dl-deep); flex: none; }
  .dlcln-s span { font-size: 12px; line-height: 1.25; color: var(--dl-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .dlcln-s.is-now { box-shadow: 0 0 0 2px var(--dl-warm); }
  .dlcln-duty { align-self: center; justify-self: stretch; height: 5px; margin: 0 2px; border-radius: 3px; background: var(--dl-ink2); }
  .dlcln-duty.is-off { background: none; }
  .dlcln-duty.is-now { background: var(--dl-warm); box-shadow: 0 0 0 2px rgba(200,83,42,.35); }
  .dlcln-r.is-old .dlcln-c:not(.is-na) { background-image: repeating-linear-gradient(135deg, rgba(183,121,31,.13) 0 4px, transparent 4px 9px); }
  .dlcln-r.is-hosp .dlcln-s.is-on { background: rgba(86,103,108,.20); } .dlcln-r.is-hosp .dlcln-s em { color: var(--dl-ink); font-family: var(--dl-sans); font-size: 12px; }
  .dlcln.is-intro .dlcln-c { animation: dlclnIn .5s both cubic-bezier(.2,.8,.3,1); }
  .dlcln.is-intro .dlcln-r:nth-child(3) .dlcln-c { animation-delay: .06s; } .dlcln.is-intro .dlcln-r:nth-child(4) .dlcln-c { animation-delay: .12s; }
  .dlcln.is-intro .dlcln-r:nth-child(5) .dlcln-c { animation-delay: .18s; } .dlcln.is-intro .dlcln-r:nth-child(6) .dlcln-c { animation-delay: .24s; }
  @keyframes dlclnIn { from { opacity: 0; transform: translateY(4px); } }
  @media (prefers-reduced-motion: reduce) { .dlcln.is-intro .dlcln-c { animation: none; } }
  .dlcln-legend { margin-top: 8px; gap: 4px 16px; }
  .dlcln-kk { display: inline-grid; gap: 1px; width: 14px; margin-right: 6px; vertical-align: -3px; } .dlcln-kk u { display: block; height: 4px; background: rgba(12,112,120,.3); text-decoration: none; }
  .dlcln-kn { display: inline-grid; place-items: center; min-width: 18px; height: 16px; margin-right: 6px; padding: 0 3px; font: 700 12px/1 var(--dl-mono); font-style: normal; color: var(--dl-deep); background: rgba(12,112,120,.16); }
  .dlcln-kn.is-h { color: var(--dl-ink); background: rgba(86,103,108,.2); font-family: var(--dl-sans); }
  .dlcln-kd { display: inline-block; width: 16px; height: 5px; margin-right: 6px; border-radius: 3px; vertical-align: 2px; background: var(--dl-ink2); }
  .dlcln-kz { display: inline-block; width: 16px; height: 12px; margin-right: 6px; vertical-align: -1px; box-shadow: inset 0 0 0 2px var(--dl-warm); }
  .dlcln-ko { display: inline-block; width: 16px; height: 12px; margin-right: 6px; vertical-align: -1px; background: repeating-linear-gradient(135deg, rgba(183,121,31,.35) 0 3px, transparent 3px 6px); }
  [data-theme="dark"] .dlcln-s span { color: var(--dl-ink2); }
  @media (max-width: 859px) {
    .dlcln-r { grid-template-columns: 52px repeat(7, minmax(0, 1fr)); gap: 0 2px; }
    .dlcln-sum, .dlcln-s span { display: none; }
    .dlcln-hd .dlcln-sum { display: none; }
    .dlcln-lab b { font-size: 14px; }
    .dlcln-lab small, .dlcln-lw { display: none; }
    .dlcln-c { padding: 2px; grid-template-rows: repeat(3, 15px) 11px; min-height: 58px; }
    .dlcln-s { justify-content: center; padding: 0; }
  }
  /* 數據語言・生活資訊・貨輪活圖（2026-10-17 第四階段，/info?s=cargo；portal.js 的 CargoArt，ShipMap 的 onShips／focus 選項，活圖 live-info-cargo.js 的 LiveArt.cargobeat〈船到哪裡了〉；類名前綴 dlcg-）
     一艘一列、每次到港一根刻度；點一列＝在下方的貨輪動態地圖上找那艘船。 */
  .dlinfo .dlcgw { margin: 4px 0 6px; padding: 0 0 14px; border-bottom: 1px solid var(--dl-hair); color: var(--dl-ink); font-family: var(--dl-sans); }
  .dlcg-stage { position: relative; margin-top: 12px; border-top: 2px solid var(--dl-ink); }
  .dlcg-stage canvas { position: absolute; inset: 0; display: block; }
  .dlcg-all { margin-top: 6px; }
  .dlcg-msg { margin: 8px 0 0; padding: 4px 0 4px 12px; border-left: 2px solid var(--dl-warm); font-size: 13.5px; color: var(--dl-ink2); }
  .dlcg-msg a { color: var(--dl-deep); font-weight: 600; }
  .dlcg-legend { margin-top: 8px; gap: 4px 16px; }
  .dlcg-k { display: inline-block; width: 4px; height: 14px; margin-right: 6px; vertical-align: -2px; }
  .dlcg-dot { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: var(--dl-warm); }
  .dlcg-now { display: inline-block; width: 2px; height: 14px; margin-right: 6px; vertical-align: -2px; background: var(--dl-warm); }
  [data-theme="dark"] .dlcg-stage { background: #f4f6f4; }
  /* 數據語言・生活資訊・郵局提款機加油活圖（2026-10-17 第四階段，/info?s=services；portal.js 的 ServicesArt，活圖 live-info-services.js 的 LiveArt.svcnow〈現在開著的〉，小圓鐘沿用 dlClock；類名前綴 dlsvc-）
     左邊小圓鐘＋沒有座標的只列數，右邊島上點陣（郵局、郵局提款機）。 */
  .dlinfo .dlsvcw { margin: 4px 0 6px; padding: 0 0 14px; border-bottom: 1px solid var(--dl-hair); color: var(--dl-ink); font-family: var(--dl-sans); }
  .dlsvc-body { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 18px 26px; margin-top: 12px; border-top: 2px solid var(--dl-ink); padding-top: 12px; }
  .dlsvc-side { display: grid; align-content: start; gap: 12px; min-width: 0; }
  .dlsvc-clock { display: flex; align-items: center; gap: 12px; }
  .dlsvc-clock > span { display: grid; gap: 1px; }
  .dlsvc-clock b { font: 600 30px/1.1 var(--dl-mono); color: #186b43; }
  .dlsvc-clock b.is-word { font: 700 24px/1.2 var(--dl-serif); color: var(--dl-ink2); }
  .dlsvc-clock b small { font: 500 14px var(--dl-mono); color: var(--dl-ink2); margin-left: 2px; }
  .dlsvc-clock em { font: 700 15px/1.3 var(--dl-serif); font-style: normal; color: var(--dl-ink); }
  .dlsvc-clock span > small { font-size: 12.5px; color: var(--dl-ink2); }
  .dlsvc-cnt { list-style: none; margin: 0; padding: 0; display: grid; }
  .dlsvc-cnt li { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "n k" "n e"; gap: 0 10px; padding: 8px 0; border-top: 1px solid var(--dl-hair); }
  .dlsvc-cnt b { grid-area: n; font: 600 22px/1.2 var(--dl-mono); color: var(--dl-ink); }
  .dlsvc-cnt b small { font: 500 12px var(--dl-sans); color: var(--dl-ink2); margin-left: 2px; }
  .dlsvc-cnt span { grid-area: k; font-weight: 700; font-size: 14px; }
  .dlsvc-cnt em { grid-area: e; font-style: normal; font-size: 12.5px; line-height: 1.5; color: var(--dl-ink2); }
  .dlsvc-why { margin: 0; padding: 6px 0 0 12px; border-left: 2px solid var(--dl-hold); font-size: 12.5px; line-height: 1.6; color: var(--dl-ink2); }
  .dlsvc-map { position: relative; min-height: 340px; border-radius: 2px; overflow: hidden; background: #f4f6f4; }
  .dlsvc-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .dlsvc-legend { margin-top: 8px; gap: 4px 16px; }
  .dlsvc-k { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 50%; vertical-align: -1px; box-sizing: border-box; }
  .dlsvc-k.is-open { background: #186b43; } .dlsvc-k.is-closed { background: #fff; border: 1.8px solid #56676c; } .dlsvc-k.is-off { background: #f1f3f2; border: 1.4px dashed #8a989b; }
  .dlsvc-sq { display: inline-block; width: 8px; height: 8px; margin-right: 6px; background: #08484f; vertical-align: 0; }
  [data-theme="dark"] .dlsvc-clock b { color: #8fd8a8; }
  [data-theme="dark"] .dlsvc-clock svg { background: #f4f6f4; border-radius: 50%; }
  [data-theme="dark"] .dlsvc-map { background: #e9eeec; }
  @media (max-width: 859px) {
    .dlsvc-body { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .dlsvc-map { min-height: 260px; }
    .dlsvc-clock b { font-size: 26px; }
  }
  /* 數據語言・生活資訊・停水停電活圖（2026-10-17 第四階段，/info?s=outage；portal.js 的 OutageArt（OutageBox 的第一個子元素），活圖 live-info-outage.js 的 LiveArt.outweek〈這一週的停〉；類名前綴 dlow-）
     下面兩段（便民公告、新住戶指南）共用這裡的外框、標題列 .dlow-head、數字列 .dlow-sum、說明 .dlow-note。四鄉村落點陣是「作品內容」，夜間模式也維持淺底。 */
  .dlow-wrap, .dlnb-wrap, .dlgr-wrap { display: grid; gap: 12px; margin: 6px 0 4px; padding-bottom: 18px; border-bottom: 1px solid var(--dl-hair); color: var(--dl-ink); font-family: var(--dl-sans); }
  .dlow-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
  .dlow-head h3 { margin: 0; font: 900 22px/1.3 var(--dl-serif); letter-spacing: .04em; color: var(--dl-ink); }
  .dlow-head p { margin: 0; font-size: 13px; color: var(--dl-ink2); }
  .dlow-sum { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); border-top: 2px solid var(--dl-ink); }
  .dlow-sum__i { display: grid; align-content: start; gap: 2px; min-width: 0; padding: 8px 14px 8px 0; border-bottom: 1px solid var(--dl-hair); }
  .dlow-sum__i + .dlow-sum__i { padding-left: 14px; border-left: 1px solid var(--dl-hair); }
  .dlow-sum__i span { font-size: 12px; color: var(--dl-ink2); letter-spacing: .04em; }
  .dlow-sum__i b { font: 600 16px/1.45 var(--dl-sans); color: var(--dl-ink); overflow-wrap: anywhere; }
  .dlow-note { margin: 0; font-size: 12.5px; line-height: 1.7; color: var(--dl-ink2); }
  .dlow-legend { margin: 0; gap: 4px 14px; }
  .dlow-legend__sep { color: var(--dl-ink3); }
  .dlow-art { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
  .dlow__tl { order: 1; min-width: 0; }
  .dlow__map { order: 2; position: relative; height: 300px; background: #f4f6f4; border: 1px solid var(--dl-hair); }
  .dlow__pn { overflow: hidden; outline: none; cursor: pointer; }
  .dlow__pn:focus-visible { box-shadow: inset 0 0 0 2px #0c7078; }
  .dlow__pn canvas { position: absolute; inset: 0; display: block; }
  .dlow__svg { display: block; overflow: visible; font-family: var(--dl-sans); }
  .dlow__today { fill: rgba(200, 83, 42, .06); }
  .dlow__dl { stroke: var(--dl-hair); stroke-width: 1; } .dlow__dl.is-today { stroke: rgba(200, 83, 42, .35); }
  .dlow__dn { font: 600 12px var(--dl-mono); fill: var(--dl-ink); } .dlow__dn.is-today { fill: var(--dl-warm); font: 700 12px var(--dl-sans); }
  .dlow__dw { font-size: 12px; fill: var(--dl-ink3); } .dlow__dw.is-today { fill: var(--dl-warm); font-family: var(--dl-mono); }
  .dlow__side { font-size: 12px; fill: var(--dl-ink2); letter-spacing: .06em; }
  .dlow__br { fill: none; stroke: var(--dl-ink3); stroke-width: 1; }
  .dlow__g.is-dim { opacity: .62; }
  .dlow__gl { stroke: var(--dl-ink3); stroke-width: 1; }
  .dlow__g.is-sel .dlow__gl { stroke: var(--dl-ink); stroke-width: 2; }
  .dlow__gn { font: 900 14px var(--dl-serif); fill: var(--dl-ink); cursor: pointer; outline: none; }
  .dlow__gn:hover, .dlow__gn:focus-visible { fill: var(--dl-sea); text-decoration: underline; }
  .dlow__gc { font-size: 12px; fill: var(--dl-ink3); }
  .dlow__vn { font-size: 13px; fill: var(--dl-ink); }
  .dlow__sp { cursor: pointer; outline: none; }
  .dlow__sp.is-water { --c: #2a78d6; --t: #1f5fae; } .dlow__sp.is-power { --c: #d99a06; --t: #8a5a00; }
  .dlow__b { fill: var(--c); }
  .dlow__sp.is-past .dlow__b { opacity: .45; }
  .dlow__raw { fill: rgba(255, 255, 255, .55); stroke: var(--c); stroke-width: 1.5; stroke-dasharray: 4 3; }
  .dlow__sp.is-past .dlow__raw { opacity: .6; }
  .dlow__rawt { font: 600 12px var(--dl-sans); fill: var(--t); }
  .dlow__st { font: 500 12px var(--dl-mono); fill: var(--t); }
  .dlow__sp.is-cancel .dlow__b { fill: none; stroke: var(--dl-ink3); stroke-width: 1.2; }
  .dlow__x { stroke: var(--dl-ink2); stroke-width: 1.4; }
  .dlow__sp.is-sel .dlow__b, .dlow__sp.is-sel .dlow__raw { stroke: #c8532a; stroke-width: 2.4; opacity: 1; }
  .dlow__sp:focus-visible .dlow__b, .dlow__sp:focus-visible .dlow__raw { stroke: #0c7078; stroke-width: 2.4; }
  .dlow__now { stroke: #c8532a; stroke-width: 1.6; } .dlow__nowd { fill: #c8532a; }
  .dlow-k { display: inline-block; width: 16px; height: 10px; margin-right: 5px; vertical-align: -1px; border-radius: 1.5px; box-sizing: border-box; }
  .dlow-k--water { background: #2a78d6; } .dlow-k--power { background: #d99a06; }
  .dlow-k--raw { border: 1.5px dashed #56676c; background: rgba(255, 255, 255, .6); }
  .dlow-k--cancel { border: 1.2px solid #7d8b8f; background: linear-gradient(transparent 3.6px, #56676c 3.6px 5px, transparent 5px); }
  .dlow-k--now { width: 2px; height: 14px; border-radius: 0; background: #c8532a; vertical-align: -3px; }
  .dlow-k--vt, .dlow-k--vn, .dlow-k--vp, .dlow-k--v0 { width: 11px; height: 11px; border-radius: 50%; }
  .dlow-k--vt { background: #56676c; } .dlow-k--vn { border: 2px solid #56676c; background: #fbfcfb; } .dlow-k--vp { background: rgba(86, 103, 108, .35); }
  .dlow-k--v0 { width: 7px; height: 7px; margin: 0 7px 0 2px; vertical-align: 0; background: rgba(138, 152, 155, .75); }
  .dlow-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; padding: 4px 4px 4px 12px; border-left: 3px solid #c8532a; background: rgba(200, 83, 42, .05); font-size: 14px; color: var(--dl-ink); }
  .dlow-pick__k { padding: 2px 8px; font-size: 12px; color: #fff; } .dlow-pick__k.is-water { background: #1f5fae; } .dlow-pick__k.is-power { background: #8a5a00; }
  .dlow-pick small { font-size: 12px; color: var(--dl-ink2); }
  .dlow-pick a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--dl-sea); }
  .dlow-pick__x { margin-left: auto; min-height: 44px; padding: 0 10px; border: 0; background: none; color: var(--dl-ink2); font: inherit; font-size: 13px; cursor: pointer; }
  @media (max-width: 859px) {
    .dlow-head h3 { font-size: 20px; }
    .dlow-sum { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .dlow-sum__i.is-now { grid-column: 1 / -1; }
    .dlow-sum__i.is-now + .dlow-sum__i { padding-left: 0; border-left: 0; }
    .dlow-art { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .dlow__map { order: 0; height: 250px; }
    .dl-legend.dlow-legend, .dl-legend.dlgr-legend { display: flex; gap: 2px 12px; }
  }
  /* 數據語言・生活資訊・便民公告活圖（2026-10-17 第四階段，/info?s=notices；portal.js 的 NoticeArt（NoticeBox 的第一個子元素），活圖 live-info-notice.js 的 LiveArt.noticebars〈到截止日的倒數〉；類名前綴 dlnb-）
     一則一列（整列是連結）：剩幾天｜標題與單位｜倒數條（左段淡色＝公告到今天、右段實心＝今天到截止日，暖色直線是今天）。顏色依發布單位。 */
  .dlnb { display: grid; }
  .dlnb__axis, .dlnb__a { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1.25fr); gap: 0 16px; }
  .dlnb__axis { align-items: end; padding-bottom: 6px; border-bottom: 1px solid var(--dl-ink3); font-size: 12px; color: var(--dl-ink3); }
  .dlnb__axt { position: relative; height: 18px; }
  .dlnb__axt i, .dlnb__axt b { position: absolute; bottom: 0; transform: translateX(-50%); white-space: nowrap; font-style: normal; }
  .dlnb__axt i { font-family: var(--dl-mono); }
  .dlnb__axt b { font-weight: 700; color: var(--dl-warm); }
  .dlnb__list { list-style: none; margin: 0; padding: 0; }
  .dlnb__r { border-bottom: 1px solid var(--dl-hair); }
  .dlnb__a { align-items: center; min-height: 56px; padding: 6px 0; color: var(--dl-ink); text-decoration: none; }
  .dlnb__a:hover { background: rgba(8, 72, 79, .04); }
  .dlnb__a:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -2px; }
  .dlnb__n b { font: 600 28px/1 var(--dl-mono); color: var(--dl-ink); }
  .dlnb__n small { margin-left: 3px; font-size: 12px; color: var(--dl-ink2); white-space: nowrap; }
  .dlnb__n b.is-zh { font: 700 19px/1 var(--dl-sans); }
  .dlnb__r.is-soon .dlnb__n b, .dlnb__r.is-soon .dlnb__n small { color: var(--dl-warm); }
  .dlnb__m { min-width: 0; }
  .dlnb__t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
  .dlnb__s { display: block; margin-top: 2px; font-size: 12px; color: var(--dl-ink2); }
  .dlnb__s i { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px; background: var(--c); }
  .dlnb__bar { position: relative; height: 22px; }
  .dlnb__bar::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dotted var(--dl-hair); }
  .dlnb__e { position: absolute; top: 7px; height: 8px; background: var(--c); opacity: .28; }
  .dlnb__e.is-cut { -webkit-mask: linear-gradient(90deg, transparent, #000 28px); mask: linear-gradient(90deg, transparent, #000 28px); }
  .dlnb__l { position: absolute; top: 4px; height: 14px; background: var(--c); }
  .dlnb__d { position: absolute; top: 1px; width: 2px; height: 20px; margin-left: -1px; background: var(--dl-ink); }
  .dlnb__now { position: absolute; top: -6px; bottom: -6px; border-left: 1.6px solid #c8532a; }
  .dlnb__r.is-past { opacity: .55; }
  .dlnb__key { display: flex; flex-wrap: wrap; gap: 4px 14px; padding-top: 10px; font-size: 12.5px; color: var(--dl-ink2); }
  .dlnb__key i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; border-radius: 2px; vertical-align: -1px; }
  .dlnb__kx i.is-e { height: 6px; background: rgba(86, 103, 108, .35); vertical-align: 1px; } .dlnb__kx i.is-l { background: #56676c; }
  .dlnb__kn { color: var(--dl-ink3); }
  .dlnb__empty { margin: 0; padding: 14px 0; font-size: 14px; color: var(--dl-ink2); border-top: 1px dashed var(--dl-hair); border-bottom: 1px dashed var(--dl-hair); }
  @media (max-width: 859px) {
    .dlnb__axis { grid-template-columns: minmax(0, 1fr); }
    .dlnb__ax0, .dlnb__ax1 { display: none; }
    .dlnb__a { grid-template-columns: 58px minmax(0, 1fr); grid-template-areas: "n m" "b b"; gap: 4px 10px; }
    .dlnb__n { grid-area: n; } .dlnb__m { grid-area: m; } .dlnb__bar { grid-area: b; }
    .dlnb__n b { font-size: 24px; }
  }
  /* 數據語言・生活資訊・新住戶指南活圖（2026-10-17 第四階段，/info?s=guide；portal.js 的 GuideArt（NewcomerGuide 的第一個子元素），活圖 live-info-guide.js 的 LiveArt.guideroute〈搬來馬祖的路線圖〉；類名前綴 dlgr-）
     一站一件事、一節一個顏色，居民補助是轉乘站並分成支線；站的樣子＝確定程度（實心、雙圈、虛線圈）。點一站，下方切到那一節並展開、閃一下那一條。 */
  .dlgr { position: relative; min-width: 0; }
  .dlgr__svg { display: block; overflow: visible; font-family: var(--dl-sans); outline: none; }
  .dlgr__svg:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 4px; }
  .dlgr__ln { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
  .dlgr__ln.is-bus { stroke-width: 2.4; opacity: .55; }
  .dlgr__ln.is-br { stroke-width: 3; }
  .dlgr__cap { stroke-width: 3; stroke-linecap: round; }
  .dlgr__st { cursor: pointer; }
  .dlgr__hit { fill: transparent; }
  .dlgr__f { stroke: var(--dl-paper2); stroke-width: 1.6; }
  .dlgr__d { fill: var(--dl-paper2); stroke-width: 1.8; stroke-dasharray: 2.4 2; }
  .dlgr__o { fill: var(--dl-paper2); stroke-width: 1.6; } .dlgr__i { fill: none; stroke-width: 1.6; }
  .dlgr__st:hover .dlgr__f, .dlgr__st:hover .dlgr__o, .dlgr__st:hover .dlgr__d { stroke-width: 2.6; }
  .dlgr__jx { fill: var(--dl-paper2); stroke-width: 3; }
  .dlgr__secn { font: 900 14px var(--dl-serif); fill: var(--dl-ink); }
  .dlgr__secc { font: 500 12px var(--dl-mono); fill: var(--dl-ink2); }
  .dlgr__br { font: 600 12px var(--dl-sans); fill: var(--dl-ink); }
  .dlgr__end { font: 500 12px var(--dl-sans); fill: var(--dl-ink3); }
  .dlgr__ring { fill: none; stroke: #c8532a; stroke-width: 2.4; pointer-events: none; }
  .dlgr__ring.is-cur { stroke: var(--dl-ink); stroke-width: 1.6; stroke-dasharray: 3 2; }
  .dlgr__pick { font: 700 12px var(--dl-sans); fill: var(--dl-ink); paint-order: stroke; stroke: var(--dl-paper); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
  .dlgr__sr { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .dlgr-legend { margin: 0; gap: 4px 14px; }
  .dlgr-legend .dlgr-k { margin-right: 4px; vertical-align: -2px; }
  .ncg [id^="ncg-"] { scroll-margin-top: 120px; }
  .ncg .is-flash { outline: 2px solid #c8532a; outline-offset: 3px; }
  /* 數據語言・文化總覽活圖（2026-10-17 第四階段，/culture；portal.js 的 CulStrataHero、CultureOverview，活圖 live-cul-strata.js 的 LiveArt.culstrata〈文化地層〉；類名前綴 dlst-）
     每一頁一層、四個主題由下往上堆；畫圖區（spacer）的高度由活圖依資料設定。下方剪紙封面卡片照舊。 */
  .dl-hero--st { height: auto; }
  .dl-hero--st::before { display: none; }
  .dl-hero--st .dl-hero__capin { max-width: 860px; }
  .dl-hero--st .dl-title { font-size: 40px; line-height: 1.3; }
  .dl-hero--st .dl-hero__spacer { flex: none; height: 500px; }
  .dl-hero--st .dl-hero__stage:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: -4px; }
  .dlst-svg { position: absolute; left: 0; top: 0; display: block; overflow: visible; }
  .dlst-l { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; transition-delay: var(--d, 0ms); }
  .dlst-svg.is-in .dlst-l { opacity: 1; transform: none; }
  .dlst-svg.is-in.has-on .dlst-l:not(.is-on) { opacity: .5; transition-delay: 0ms; }
  .dlst-l.is-on .dlst-fill { stroke: var(--dl-ink); stroke-width: 1.2; }
  .dlst-l.is-on .dlst-name { fill: var(--dl-sea); }
  .dlst-l.is-on .dlst-lead { stroke: var(--dl-ink); opacity: 1; }
  .dlst-th { font: 900 15px/1 var(--dl-serif); letter-spacing: .04em; }
  .dlst-thn { font: 500 12px/1 var(--dl-mono); fill: var(--dl-ink2); }
  .dlst-name { font: 700 15px/1 var(--dl-serif); fill: var(--dl-ink); }
  .dlst-name.is-seam { font-size: 14px; font-weight: 600; fill: var(--dl-ink2); }
  .dlst-stat { font: 500 12px/1 var(--dl-mono); fill: var(--dl-ink2); }
  .dlst-stat.is-seam { fill: var(--dl-ink3); }
  .dlst-in { font: 12px/1 var(--dl-sans); paint-order: stroke; stroke: rgba(244,246,244,.92); stroke-width: 3.5px; stroke-linejoin: round; pointer-events: none; }
  .dlst-in__n { font: 700 13px var(--dl-serif); fill: var(--dl-ink); }
  .dlst-in.is-seam .dlst-in__n { font-size: 12px; font-weight: 600; }
  .dlst-in__s { font: 500 12px var(--dl-mono); fill: var(--dl-ink2); }
  .dlst-in__r { font: 500 12px var(--dl-mono); fill: var(--dl-ink2); paint-order: stroke; stroke: rgba(244,246,244,.92); stroke-width: 3.5px; stroke-linejoin: round; pointer-events: none; }
  .dlst-legend { margin-top: 12px; }
  .dlst-k { display: inline-block; flex: none; }
  .dlst-k.is-th { width: 18px; height: 10px; background: rgba(138,90,58,.3); border-top: 1px solid rgba(138,90,58,.6); }
  .dlst-k.is-ph { width: 6px; height: 4px; border-radius: 50%; background: rgba(16,36,42,.6); box-shadow: 5px 3px 0 rgba(16,36,42,.6), 10px 0 0 rgba(16,36,42,.6); margin-right: 10px; }
  .dlst-k.is-src { width: 16px; height: 7px; background: repeating-linear-gradient(90deg, rgba(16,36,42,.75) 0 1px, transparent 1px 4px); }
  .dlst-k.is-gap { width: 8px; height: 8px; border-radius: 50%; border: 1.3px solid var(--dl-ink2); box-sizing: border-box; }
  .dlst-k.is-seam { width: 18px; height: 7px; background: repeating-linear-gradient(125deg, rgba(58,90,138,.62) 0 2px, rgba(58,90,138,.2) 2px 5px); }
  .dlst-dock { gap: 8px 16px; }
  .dlst-hint { margin: 0; font-size: 13px; color: var(--dl-ink2); }
  .dlst-st { flex-wrap: nowrap; justify-content: space-between; gap: 6px 14px; }
  .dlst-st .dlnw-st__h { display: block; min-width: 0; }
  .dlst-st .dlnw-st__h small { display: block; max-width: 30em; }
  .dlst-st .dlnw-st__go { flex: none; }
  .dlst > .culpage { padding-top: 6px; }
  @media (max-width: 859px) {
    .dl-hero--st .dl-hero__cap { padding-top: 22px; }
    .dl-hero--st .dl-title { font-size: 26px; line-height: 1.42; margin: 8px 0 6px; }
    .dl-hero--st .dl-title__cl { white-space: normal; }
    .dl-hero--st .dl-hero__spacer { height: 560px; }
    .dl-hero--st .dl-legend { display: flex; gap: 4px 12px; margin-top: 10px; }
    .dlst-dock .dlnw-st { width: 100%; }
    .dlst-dock .dlnw-act { margin-left: 0; }
  }
  @media (prefers-reduced-motion: reduce) { .dlst-l { transition: none; opacity: 1; transform: none; } }
  /* 數據語言・走進歷史活圖（2026-10-17 第四階段，/games；portal.js 的 GamesHero、GamesHub，活圖 live-games.js 的 LiveArt.gamescale〈8,300 年的時間尺〉；類名前綴 dlgm-）
     遊戲名稱是 HTML 按鈕（觸控 44px），疊在畫布上；電腦橫排、手機（.is-vert）直排。下方封面卡照舊。 */
  .dl-hero--gm { height: auto; }
  .dl-hero--gm::before { display: none; }
  .dl-hero--gm .dl-hero__capin { max-width: 860px; }
  .dl-hero--gm .dl-title { font-size: 40px; line-height: 1.3; }
  .dl-hero--gm .dl-hero__spacer { flex: none; height: 300px; }
  .dlgm-svg { position: absolute; left: 0; top: 0; display: block; overflow: visible; pointer-events: none; }
  .dlgm-btns { position: absolute; inset: 0; pointer-events: none; }
  .dlgm-g { position: absolute; pointer-events: auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 44px; padding: 5px 11px 5px 10px; box-sizing: border-box;
    border: 1px solid var(--dl-hair); border-left: 3px solid var(--c); border-radius: 4px; background: rgba(251,252,251,.96); color: var(--dl-ink); cursor: pointer; text-align: left; white-space: nowrap; }
  .dlgm-g:hover, .dlgm-g.is-on { border-color: var(--dl-ink); border-left-color: var(--c); box-shadow: 0 0 0 1px var(--dl-ink); }
  .dlgm-g:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 2px; }
  .dlgm-g__y { font: 500 12px/1.2 var(--dl-mono); color: var(--dl-ink2); }
  .dlgm-g__n { font: 700 15px/1.25 var(--dl-serif); color: var(--dl-ink); }
  .dlgm-g__t { font: 600 12px/1.2 var(--dl-sans); font-style: normal; color: #c8532a; }
  .dlgm-svg.has-on .dlgm-pt:not(.is-on) { opacity: .35; }
  .dlgm-pt.is-on .dlgm-lead { opacity: 1; stroke-width: 2; }
  .dlgm-pt.is-on .dlgm-dot { r: 8; }
  .dlgm-yr { font: 500 12px/1 var(--dl-mono); fill: var(--dl-ink2); }
  .dlgm-eran { font: 500 12px/1 var(--dl-sans); fill: var(--dl-ink2); }
  .dlgm-end { font: 600 12px/1 var(--dl-sans); fill: var(--dl-ink); }
  .dlgm-legend { margin-top: 12px; }
  .dlgm-k { display: inline-block; flex: none; }
  .dlgm-k.is-g { width: 11px; height: 11px; border-radius: 50%; background: var(--dl-sea); box-shadow: 0 0 0 1.5px #fbfcfb inset; }
  .dlgm-k.is-era { width: 18px; height: 8px; background: linear-gradient(90deg, rgba(138,111,179,.5) 0 33%, rgba(176,101,31,.5) 33% 66%, rgba(59,111,200,.5) 66%); }
  .dlgm-k.is-ev { width: 16px; height: 9px; background: repeating-linear-gradient(90deg, rgba(16,36,42,.35) 0 1px, transparent 1px 4px); }
  .dlgm-dock { gap: 8px 16px; }
  .dlgm > .gamespage { padding-top: 6px; }
  @media (max-width: 859px) {
    .dl-hero--gm .dl-hero__cap { padding-top: 22px; }
    .dl-hero--gm .dl-title { font-size: 26px; line-height: 1.42; margin: 8px 0 6px; }
    .dl-hero--gm .dl-title__cl { white-space: normal; }
    .dl-hero--gm .dl-legend { display: flex; gap: 4px 12px; margin-top: 10px; }
    .dlgm-dock .dlnw-act { margin-left: 0; width: 100%; justify-content: space-between; }
  }
  @media (max-width: 759px) {
    .dl-hero--gm .dl-hero__spacer { height: 620px; }
    .dl-hero--gm.is-vert .dlgm-g { white-space: normal; }
  }
  /* 數據語言・訂船票活圖（2026-10-17 第四階段，/boat；portal.js 的 BoatHero（BoatBook 最上面），活圖 live-boat.js 的 LiveArt.boatweek〈未來七天的船〉；類名前綴 dlboat-）
     一天一列、一班一條長條（開船到抵達），選的那一天淡暖色底、選的那一班暖色；作品內容維持淺底（夜間模式也是）。 */
  .dlboat, .dlqz { background: var(--dl-paper2); color: var(--dl-ink); font-family: var(--dl-sans); border-top: 2px solid var(--dl-ink); padding: 16px 20px 0; margin: 14px 0 0; }
  .dlqz-lead { display: flex; align-items: flex-start; gap: 6px 24px; flex-wrap: wrap; }
  .dlqz-cap { flex: 1; min-width: 0; }
  .dlboat .dl-title, .dlqz .dl-title { font-size: clamp(25px, 3vw, 38px); line-height: 1.32; margin: 6px 0 4px; max-width: 26em; color: var(--dl-ink); }
  .dlboat .dl-eyebrow, .dlqz .dl-eyebrow { color: var(--dl-ink2); }
  .dlboat .dl-eyebrow .bb__demo { margin-left: 6px; }
  .dlboat .dl-sub, .dlqz .dl-sub { color: var(--dl-ink3); flex-wrap: wrap; }
  .dlboat-note { margin: 2px 0 0; font-size: 13px; color: var(--dl-ink2); }
  .dlboat-dock { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; padding: 12px 0 8px; }
  .dlboat-leg { display: inline-flex; border: 1px solid var(--dl-hair); }
  .dlboat-leg button { min-height: 44px; padding: 4px 14px; border: 0; background: transparent; color: var(--dl-ink2); font: 500 13px/1.25 var(--dl-sans); cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; text-align: left; }
  .dlboat-leg button + button { border-left: 1px solid var(--dl-hair); }
  .dlboat-leg button b { font-weight: 700; color: var(--dl-ink); }
  .dlboat-leg button.is-on { background: rgba(200, 83, 42, .08); box-shadow: inset 0 -2px 0 var(--dl-warm); }
  .dlboat-leg button.is-on b { color: var(--dl-warm); }
  .dlboat-act { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
  .dlboat .dlboat-how, .dlqz .dlqz-how { border-radius: 0; border-color: var(--dl-ink); background: transparent; letter-spacing: .06em; color: var(--dl-ink); }
  .dlboat .dlboat-how:hover, .dlqz .dlqz-how:hover { background: var(--dl-ink); color: var(--dl-paper); }
  .dlboat .dlboat-open { border-radius: 0; background: var(--dl-deep); border-color: var(--dl-deep); color: #fff; }
  .dlboat-stage { position: relative; margin: 4px 0 6px; outline: none; }
  .dlboat-stage:focus-visible { outline: 2px solid var(--dl-sea); outline-offset: 3px; }
  .dlboat-stage canvas { display: block; }
  .dlboat-none { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; border-top: 1px solid var(--dl-hair); border-bottom: 1px solid var(--dl-hair); padding: 16px 0; margin: 6px 0 14px; font-size: 14px; color: var(--dl-ink2); }
  .dlboat-none b { font: 700 16px var(--dl-sans); color: var(--dl-ink); }
  .dlboat-none .dl-btn { border-radius: 0; margin-left: auto; }
  .dlboat-legend { margin: 0 0 12px; gap: 4px 16px; color: var(--dl-ink2); font-size: 12px; }
  .dlboat-k { display: inline-block; width: 22px; height: 9px; margin-right: 5px; vertical-align: 0; border-radius: 2px; }
  .dlboat-k.is-bar { background: rgba(8, 72, 79, .78); width: 14px; }
  .dlboat-k.is-rng { background: linear-gradient(90deg, rgba(8, 72, 79, .78) 0 45%, rgba(8, 72, 79, .2) 45%); }
  .dlboat-k.is-fore { background: rgba(8, 72, 79, .78); outline: 1.2px dashed var(--dl-sea); outline-offset: 2px; width: 14px; }
  .dlboat-k.is-pick { background: var(--dl-warm); width: 14px; }
  .dlboat-k.is-gone { background: rgba(125, 139, 143, .42); width: 14px; }
  .dlboat-k.is-now { width: 2px; height: 14px; background: var(--dl-warm); vertical-align: -3px; border-radius: 0; }
  .dlboat-k.is-dens { width: 10px; height: 10px; background: rgba(12, 112, 120, .32); border-radius: 0; vertical-align: -1px; }
  .dlboat .dl-strip, .dlqz .dl-strip { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-top: 1px solid var(--dl-hair); z-index: auto; margin: 0 -20px; }
  .dlboat .dl-strip .dl-wrap, .dlqz .dl-strip .dl-wrap { max-width: none; padding-inline: 20px; }
  .dlboat .dl-strip .dl-strip__in, .dlqz .dl-strip .dl-strip__in { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
  .dlboat .dl-strip .dl-cell, .dlqz .dl-strip .dl-cell { border-right: 1px solid var(--dl-hair); border-bottom: 0; }
  .dlboat .dl-strip .dl-cell:last-child, .dlqz .dl-strip .dl-cell:last-child { border-right: 0; }
  .dlboat-tip b { display: block; }
  /* 數據語言・每週小測驗活圖（2026-10-17 第四階段，/quiz；portal.js 的 QuizHero（QuizView 最上面），活圖 live-quiz.js 的 LiveArt.quizdist〈本週的答對分布〉；類名前綴 dlqz-）
     本週每一份的答對題數長條（自己那一根暖色）＋近 8 週份數＋連續週數的稱號階梯；只有彙總。 */
  .dlqz-lead { padding-bottom: 6px; }
  .dlqz .dlqz-how { flex: none; margin-top: 4px; }
  .dlqz-stage { margin: 8px 0 10px; min-height: 236px; }
  .dlqz-grid.is-wide { display: grid; grid-template-columns: 56fr 44fr; column-gap: 40px; }
  .dlqz-grid:not(.is-wide) .dlqz-p + .dlqz-p { margin-top: 10px; border-top: 1px solid var(--dl-hair); padding-top: 12px; }
  .dlqz-svg { display: block; overflow: visible; font-family: var(--dl-sans); }
  .dlqz-svg text { text-anchor: middle; fill: var(--dl-ink2); font-size: 12px; }
  .dlqz-svg .dlqz-h { text-anchor: start; font: 900 15px var(--dl-serif); fill: var(--dl-ink); letter-spacing: .04em; }
  .dlqz-svg .dlqz-sh { text-anchor: start; fill: var(--dl-ink3); }
  .dlqz-base { stroke: var(--dl-ink); stroke-width: 1; }
  .dlqz-bar, .dlqz-stp { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
  .dlqz-grid.is-intro .dlqz-bar, .dlqz-grid.is-intro .dlqz-stp { transform: scaleY(0); }
  .dlqz-bar { fill: rgba(8, 72, 79, .74); }
  .dlqz-col.is-full .dlqz-bar { fill: var(--dl-deep); }
  .dlqz-col.is-me .dlqz-bar { fill: var(--dl-warm); }
  .dlqz-ghost { fill: none; stroke: var(--dl-hair); stroke-dasharray: 3 3; }
  .dlqz-svg .dlqz-cnt { font: 600 12px var(--dl-mono); fill: var(--dl-ink); }
  .dlqz-svg .dlqz-xl { fill: var(--dl-ink2); }
  .dlqz-col.is-me .dlqz-xl, .dlqz-svg .dlqz-me { fill: var(--dl-warm); font-weight: 700; }
  .dlqz-mk, .dlqz-dot { fill: var(--dl-warm); }
  .dlqz-mean { stroke: var(--dl-ink); stroke-width: 2; }
  .dlqz-svg .dlqz-ml { fill: var(--dl-ink); font-weight: 600; }
  .dlqz-svg .dlqz-empty { fill: var(--dl-ink3); font-size: 13px; }
  .dlqz-wk { fill: rgba(12, 112, 120, .38); } .dlqz-wk.is-now { fill: var(--dl-sea); }
  .dlqz-wkb { stroke: var(--dl-hair); }
  .dlqz-stp { fill: rgba(8, 72, 79, .08); stroke: rgba(8, 72, 79, .5); stroke-width: 1; }
  .dlqz-step.is-done .dlqz-stp { fill: rgba(8, 72, 79, .2); }
  .dlqz-step.is-me .dlqz-stp { fill: rgba(200, 83, 42, .16); stroke: var(--dl-warm); stroke-width: 1.5; }
  .dlqz-svg .dlqz-tt { font-weight: 700; fill: var(--dl-ink); }
  .dlqz-svg .dlqz-tn { font-family: var(--dl-mono); fill: var(--dl-ink3); }
  .dlqz-svg .dlqz-tc { fill: var(--dl-ink2); }
  .dlqz-col, .dlqz-step { outline: none; }
  .dlqz-col:focus-visible .dlqz-bar, .dlqz-step:focus-visible .dlqz-stp { stroke: var(--dl-sea); stroke-width: 2.5; }
  .qzpage .qz { margin-top: 14px; }
  @media (max-width: 640px) {
    .dlboat, .dlqz { padding: 14px 14px 0; }
    .dlboat .dl-title, .dlqz .dl-title { font-size: 24px; line-height: 1.4; }
    .dlboat .dl-legend { display: flex; gap: 4px 12px; }
    .dlboat-act { margin-left: 0; width: 100%; }
    .dlboat-act > * { flex: 1 1 auto; }
    .dlboat-leg { width: 100%; }
    .dlboat-leg button { flex: 1 1 50%; }
    .dlboat .dl-strip, .dlqz .dl-strip { margin: 0 -14px; }
    .dlboat .dl-strip .dl-wrap, .dlqz .dl-strip .dl-wrap { padding-inline: 14px; }
    .dlboat .dl-strip .dl-strip__in, .dlqz .dl-strip .dl-strip__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dlboat .dl-strip .dl-cell, .dlqz .dl-strip .dl-cell { padding: 10px 6px 10px 10px; border-bottom: 1px solid var(--dl-hair); }
    .dlboat .dl-strip .dl-cell:nth-child(2n), .dlqz .dl-strip .dl-cell:nth-child(2n) { border-right: 0; }
    .dlboat .dl-strip .dl-cell:nth-last-child(-n + 2), .dlqz .dl-strip .dl-cell:nth-last-child(-n + 2) { border-bottom: 0; }
    .dlboat-none .dl-btn { margin-left: 0; }
  }
  @media (prefers-reduced-motion: reduce) { .dlqz-bar, .dlqz-stp { transition: none; } }
  /* 數據語言・首頁標題與圖說（2026-10-17，使用者確認的模擬稿：大標題講今天的馬祖〔portal.js 的 homeSay〕，海的描述縮成主視覺左下角的圖說〔homeCaption〕；
     DLHero 的 caption 選項畫在活圖區底部、時間軸之上；類名 dl-say、dl-fig） */
  .dl-say.is-stop { color: var(--dl-stop); } .dl-say.is-hold { color: var(--dl-hold); }
  .dl-hero__spacer.has-fig { position: relative; pointer-events: none; }
  .dl-hero__fig { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; pointer-events: none; }
  .dl-fig { display: inline-flex; align-items: center; flex-wrap: wrap; max-width: 100%; margin: 0; padding: 4px 12px; font-size: 13px; line-height: 1.5; color: var(--dl-ink); background: rgba(251,252,251,.88); border: 1px solid var(--dl-hair); border-radius: 999px; box-sizing: border-box; }
  .dl-fig::before { content: ""; width: 14px; height: 2px; background: var(--dl-sea); margin-right: 8px; flex: none; }
  .dl-fig span { white-space: nowrap; }
  .dl-fig .dl-fig__sep { white-space: pre; }
  /* 資料帶最前面的班機、船班、今天的事：字小一號、可以兩行（「低於標準」「媽祖昇天祭」不被切掉） */
  .dl-cell.is-hs .dl-cell__v b.is-zh { font-size: 17px; white-space: normal; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  html:not([lang^="zh"]) .dl-cell.is-hs .dl-cell__v b.is-zh { font-size: 15px; overflow-wrap: anywhere; }
  /* 首頁資料帶（電腦 8 格、手機 6 格）：任何一格的字都不切掉——名稱、文字數值、程度那一行都可以換行（最多兩行） */
  .dl-strip.is-home .dl-cell__k { white-space: normal; align-items: flex-start; }
  .dl-strip.is-home .dl-cell__k span { overflow: visible; text-overflow: clip; }
  .dl-strip.is-home .dl-cell__v { white-space: normal; flex-wrap: wrap; }
  .dl-strip.is-home .dl-cell__v b.is-zh { font-size: 18px; white-space: normal; line-height: 1.2; overflow: visible; display: block; }
  .dl-strip.is-home .dl-cell__l { white-space: normal; flex-wrap: wrap; overflow: visible; }
  .dl-strip.is-home .dl-cell { overflow: visible; }
  html:not([lang^="zh"]) .dl-strip.is-home .dl-cell__v b.is-zh { font-size: 16px; overflow-wrap: anywhere; }
  html:not([lang^="zh"]) .dl-strip.is-home .dl-cell__k, html:not([lang^="zh"]) .dl-strip.is-home .dl-cell__l { overflow-wrap: anywhere; }
  @media (max-width: 859px) {
    .dl-hero__fig { bottom: 8px; }
    .dl-fig { font-size: 12.5px; padding: 3px 10px; border-radius: 14px; }
    .dl-fig span { white-space: normal; }
    .dl-hero.is-flat .dl-hero__spacer.has-fig { height: 52px; }
    .dl-hero--home .dl-title__cl { white-space: normal; display: inline-block; max-width: 100%; word-break: keep-all; overflow-wrap: anywhere; }   /* 子句整段換行；比一行長時才在子句裡斷（2026-10-17） */          /* 「南竿、北竿機場低於起降標準」比手機寬，句子裡也要能換行 */
    .dl-cell.is-hs .dl-cell__v b.is-zh { font-size: 15px; }
    .dl-strip.is-home .dl-cell.is-x { display: none; }
    .dl-strip.is-home .dl-cell__v b.is-zh { font-size: 15px; }
    .dl-strip.is-m3 .dl-cell, .dl-strip.is-m3 .dl-cell:nth-child(5n + 1) { border-right: 1px solid var(--dl-hair); }
    .dl-strip.is-m3 .dl-cell:nth-child(3n + 1) { border-right: 0; }
    .dl-strip.is-home .dl-cell__l .dl-meter { display: none; }
    /* 首頁時間軸：時刻與「這是怎麼來的」「看完整作品」放不下同一列時，按鈕自動換到下一列（英日韓的按鈕比較長） */
    .dl-hero--home .dl-tl { display: flex; flex-wrap: wrap; align-items: center; }
    .dl-hero--home .dl-tl__clock { flex: 1 0 auto; order: 0; }
    .dl-hero--home .dl-tl__act { flex: 0 1 auto; order: 1; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
    .dl-hero--home .dl-tl__track { flex: 1 0 100%; order: 2; }
  }

  /* 首頁資料帶班機、船班點開的視窗（2026-10-17） */
  .hsw { display: grid; gap: 14px; }
  .hsw__sum { margin: 0; font-weight: 700; font-size: 17px; color: var(--ink, #10242a); }
  .hsw__sum.is-bad { color: #b42318; }
  .hsw__g h4 { margin: 0 0 6px; font-size: 15px; display: flex; gap: 8px; align-items: baseline; }
  .hsw__g h4 span { font-weight: 400; font-size: 13px; color: var(--ink-3, #5b6b70); }
  .hsw__g ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line, #d7dedd); }
  .hsw__r { display: grid; grid-template-columns: 32px 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 14px 9px 6px; border-bottom: 1px solid var(--line, #d7dedd); }
  .hsw__r.is-bad { background: rgba(180, 35, 24, .07); }
  .hsw__t { font-family: 'IBM Plex Mono', monospace; font-size: 17px; }
  .hsw__m { display: grid; min-width: 0; }
  .hsw__route { font-weight: 600; }
  .hsw__m small { color: var(--ink-3, #5b6b70); font-size: 12.5px; }
  .hsw__s { font-size: 13px; font-weight: 700; white-space: nowrap; }
  /* 取消班機當時的能見度（2026-10-31） */
  .hsw__obs { grid-column: 2 / -1; display: grid; gap: 4px; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.7); font-size: 13px; }
  .hsw__obs.is-none { color: #56676c; }
  .hsw__oconc { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 700; font-size: 13.5px; }
  .hsw__oconc small { font-weight: 400; font-size: 11.5px; color: #56676c; white-space: nowrap; }
  .hsw__oconc.is-go { color: #186b43; } .hsw__oconc.is-stop { color: #b42318; }
  .hsw__ol { display: grid; grid-template-columns: 4.2em auto minmax(0, 1fr) auto; gap: 8px; align-items: center; white-space: nowrap; }
  .hsw__op { color: #56676c; font-size: 12.5px; }
  .hsw__ov { display: inline-flex; align-items: center; gap: 6px; } .hsw__ov b { font-size: 13.5px; }
  .hsw__oc { color: #10242a; overflow: hidden; text-overflow: ellipsis; }
  .hsw__og { font-weight: 700; border-radius: 999px; padding: 1px 8px; font-size: 11.5px; } .hsw__og.is-stop { color: #fff; background: #b42318; } .hsw__og.is-go { color: #186b43; background: #e3f3ea; }
  .dlb__obs td { padding: 0 8px 10px; border-top: 0; } .dlb__obs .hsw__obs { background: #fbf1ef; }
  @media (max-width: 560px) { .hsw__obs { grid-column: 1 / -1; padding: 7px 9px; } .hsw__ov .lvl, .hsw__og { display: none; } .hsw__oconc { flex-wrap: wrap; row-gap: 0; } .hsw__ol { grid-template-columns: 3.7em auto minmax(0, 1fr) auto; gap: 6px; } }
  .hsw__s.is-stop { color: #b42318; } .hsw__s.is-hold { color: #b7791f; } .hsw__s.is-go { color: #186b43; } .hsw__s.is-info { color: #5b6b70; }
  .hsw__r.is-bad .hsw__t, .hsw__r.is-bad .hsw__route { text-decoration: line-through; text-decoration-color: rgba(180,35,24,.6); }
  .hsw__foot { margin: 0; font-size: 12.5px; color: var(--ink-3, #5b6b70); display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; }
  .hsw__none { margin: 0; color: var(--ink-3, #5b6b70); }

  /* 視窗插圖橫幅與動作卡（2026-10-17） */
  .shero { display: grid; grid-template-columns: minmax(0, 1fr) 132px; align-items: stretch; border-radius: 14px; overflow: hidden; background: #eef5f4; border: 1px solid #d7e5e3; min-height: 96px; }
  .shero.is-stop { background: #fbefec; border-color: #f0d3cc; } .shero.is-go { background: #edf6f0; border-color: #d3e8da; }
  .shero__txt { display: grid; align-content: center; gap: 3px; padding: 14px 16px; min-width: 0; }
  .shero__k { font-size: 12.5px; letter-spacing: .06em; color: #5b6b70; }
  .shero__t { font-family: 'Noto Serif TC', serif; font-size: 22px; line-height: 1.3; color: #10242a; text-wrap: balance; }
  .shero.is-stop .shero__t { color: #b42318; } .shero.is-go .shero__t { color: #186b43; }
  .shero__s { font-size: 14px; color: #3f5157; }
  .shero__art { position: relative; } .shero__art .tart { position: absolute; inset: 0; }
  .sacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; }
  .sacts__a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid #d7dedd; border-radius: 12px; background: #fff; color: #10242a; text-decoration: none; min-height: 44px; }
  .sacts__a:hover { border-color: #0c7078; background: #f6fbfa; }
  .sacts__a .tart { border-radius: 8px; overflow: hidden; }
  .sacts__a b { display: block; font-size: 15px; } .sacts__a small { display: block; font-size: 12.5px; color: #5b6b70; }
  .sacts__a i { font-style: normal; color: #0c7078; font-size: 18px; }
  .strand__ins { display: flex; flex-direction: column; gap: 3px; margin: 12px 0 4px; padding: 11px 13px; border-radius: 12px; background: #fff6e0; border: 1px solid #f0d58c; color: #5c4300; text-decoration: none; font-size: 13.5px; line-height: 1.6; } .strand__ins b { font-size: 14.5px; color: #3d2c00; } .strand__ins-go { font-weight: 700; color: #8a5a00; }
  .strand__h4 { margin: 16px 0 8px; font-size: 15px; color: #10242a; }
  .strand .shero { margin-bottom: 4px; }
  .strand__n { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 10px; align-items: center; }
  .strand__n .strand__img { grid-row: span 3; border-radius: 8px; overflow: hidden; }
  .strand__empty { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 12px; padding: 12px; border: 1px dashed #d7dedd; border-radius: 12px; }
  .strand__empty .tart { border-radius: 10px; overflow: hidden; }
  .strand__empty b { display: block; } .strand__empty small { display: block; color: #5b6b70; font-size: 13px; }
  .hsw__ic { display: flex; align-items: center; justify-content: center; }
  .hsw__ic .airlogo { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; }
  .hsw__ic .tart { border-radius: 6px; overflow: hidden; }
  @media (max-width: 480px) { .shero { grid-template-columns: minmax(0, 1fr) 96px; } .shero__t { font-size: 19px; } }
  .shero__art.is-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .shero:has(.is-ph) { grid-template-columns: minmax(0, 1fr) 46%; min-height: 128px; }

  /* 公共工程：廠商可點（2026-10-17） */
  .wk__firm { all: unset; cursor: pointer; color: var(--tide, #0c7078); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(12,112,120,.35); }
  .wk__firm i { font-style: normal; margin-left: 4px; text-decoration: none; display: inline-block; }
  .wk__firm:focus-visible { outline: 2px solid var(--tide, #0c7078); outline-offset: 2px; border-radius: 4px; }
  .wkf__roles { margin: 0; font-size: 13.5px; color: #3f5157; }
  .wkf__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #d7dedd; }
  .wkf__list button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 4px; border-bottom: 1px solid #d7dedd; }
  .wkf__list button:hover { background: #f3f8f7; }
  .wkf__n { display: grid; min-width: 0; } .wkf__n b { font-weight: 600; font-size: 14.5px; } .wkf__n small { font-size: 12.5px; color: #5b6b70; }
  .wkf__a { font-family: 'IBM Plex Mono', monospace; font-size: 13px; white-space: nowrap; }
  @media (max-width: 480px) { .wkf__list button { grid-template-columns: minmax(0, 1fr) auto; } .wkf__a { grid-column: 1; } }

  /* 船班公告標題：船名或航商｜日期｜事由，三欄對齊（2026-10-17） */
  .ntct { display: grid; grid-template-columns: 8rem 7.2rem minmax(0, 1fr); gap: 4px 12px; align-items: baseline; }
  .ntct__who { font-weight: 700; color: #0a4e55; overflow-wrap: anywhere; }
  .ntct__when { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: .95em; white-space: nowrap; }
  .ntct__who.is-none, .ntct__when.is-none { color: #9aa8ab; font-weight: 400; }
  .ntct__what { min-width: 0; }
  .ntct.is-plain { display: block; }
  /* 手機：船名欄固定寬，各則的日期才會對齊（2026-10-19 使用者：日期排版沒有對齊） */
  @media (max-width: 640px) { .ntct { grid-template-columns: 6.6rem minmax(0, 1fr); gap: 2px 10px; } .ntct__what { grid-column: 1 / -1; } }

  /* 公車：今天的班次都已結束（2026-10-18） */
  .bus__done { display: grid; gap: 6px; justify-items: start; padding: 16px 18px; border-radius: 14px; background: #fbf3e6; border: 1px solid #ecd3a8; }
  .bus__done b { font-family: 'Noto Serif TC', serif; font-size: 22px; color: #8a4b08; }
  .bus__done span { color: #3f5157; }
  .bus__done .authbtn { margin-top: 4px; }
  .bus__gonenote { margin: 0 0 8px; padding: 8px 12px; border-radius: 10px; background: #f1f4f3; color: #5b6b70; font-size: 13.5px; }

  /* 霧的分布：右側依島一列（2026-10-18） */
  .fog__isl { list-style: none; margin: 0; padding: 0; border-top: 1px solid #d7dedd; }
  .fog__isl li { display: grid; grid-template-columns: 3.2em minmax(0, 1.3fr) minmax(0, 1fr) 120px; gap: 10px; align-items: center; padding: 10px 2px; border-bottom: 1px solid #d7dedd; }
  .fog__in { font-family: 'Noto Serif TC', serif; font-size: 16px; }
  .fog__io { display: flex; gap: 8px; align-items: flex-start; min-width: 0; }
  .fog__io > span:last-child { display: grid; min-width: 0; } .fog__io strong { font-size: 14px; } .fog__io small, .fog__ic small { font-size: 12.5px; color: #5b6b70; }
  .fog__ic { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; min-width: 0; }
  .fog__ic small { flex-basis: 100%; } .fog__ic .is-mut { color: #9aa8ab; }
  .fog__srcs { margin: 8px 0 0; font-size: 12px; color: #6b7b80; }
  @media (max-width: 720px) { .fog__isl li { grid-template-columns: 3.2em minmax(0, 1fr); } .fog__ic, .fog__isl li > .fog__strip, .fog__isl li > .fog__nodata { grid-column: 2; } }

  /* 讀取失敗（2026-10-18）：資料線往馬祖匯集、中間斷開 */
  .lfail { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 20px; margin: 16px 0; border: 1px dashed #c9d3d1; border-radius: 14px; background: #f7faf9; max-width: 640px; }
  .lfail.is-sm { grid-template-columns: 88px minmax(0, 1fr); padding: 12px 14px; }
  .lfail__art { width: 100%; height: auto; }
  .lfail__ln { stroke: #0c7078; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 3 3; animation: lfFlow 1.6s linear infinite; }
  .lfail__ln.is-dim { stroke: #9aa8ab; stroke-dasharray: 2 3; animation: none; opacity: .6; }
  .lfail__gap { fill: #c2560c; r: 2.6; animation: lfBlink 1.4s ease-in-out infinite; }
  .lfail__isl { fill: #dfe7e4; stroke: #10242a; stroke-width: .8; }
  .lfail__sea { fill: none; stroke: #7fb7bb; stroke-width: 1; }
  .lfail__t { display: grid; gap: 4px; justify-items: start; min-width: 0; }
  .lfail__t b { font-family: 'Noto Serif TC', serif; font-size: 18px; color: #10242a; }
  .lfail__t span { font-size: 13px; color: #5b6b70; }
  .lfail__btn { margin-top: 4px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #0c7078; background: #fff; color: #0c7078; font-weight: 700; cursor: pointer; }
  @keyframes lfFlow { to { stroke-dashoffset: -12; } }
  @keyframes lfBlink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) { .lfail__ln, .lfail__gap { animation: none; } }
  @media (max-width: 420px) { .lfail { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; } }

  /* 停飛理賠：各組卡別小表（2026-10-18） */
  .insg { display: grid; border: 1px solid #d7dedd; border-radius: 12px; overflow: hidden; background: #fff; margin-top: 8px; }
  .insg__h, .insg__r { display: grid; grid-template-columns: minmax(0, 2.6fr) 92px 88px minmax(0, 1.2fr) 70px; gap: 10px; align-items: center; padding: 9px 14px; }
  .insg__h { background: #eef2f1; font-size: 12.5px; color: #5b6b70; font-weight: 700; }
  .insg__r + .insg__r { border-top: 1px solid #e3e9e8; }
  .insg__c { min-width: 0; } .insg__c b { font-weight: 600; font-size: 14px; line-height: 1.55; }
  .insg__more { all: unset; cursor: pointer; margin-left: 6px; font-size: 12.5px; color: #0c7078; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
  .insg__n { font-variant-numeric: tabular-nums; font-size: 14px; }
  .insg .insb__open { white-space: nowrap; }
  @media (max-width: 720px) {
    .insg__h { display: none; }
    .insg__r { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
    .insg__c { grid-column: 1 / -1; }
    .insg__r > span:nth-child(3)::before { content: '延誤 '; color: #5b6b70; font-size: 12px; }
    .insg__r > span:nth-child(4)::before { content: '最高 '; color: #5b6b70; font-size: 12px; }
  }
  /* ═══ 颱風（2026-10-18，portal.js 的 TyMark／TyphoonCard／TyMap；資料 /api/typhoon.json）═══
     等級越高越醒目：watch 琥珀（.is-amber）、near／warn 紅（.is-red）。颱風符號會轉，系統減少動態時不轉。 */
  .tymk, .tycard, .tymap { --ty-c: #b7791f; --ty-bg: rgba(183, 121, 31, .1); }
  .is-red.tymk, .is-red.tycard, .tymap .is-red, li.is-ty.is-red { --ty-c: #b42318; --ty-bg: rgba(180, 35, 24, .09); }
  li.is-ty.is-amber { --ty-c: #b7791f; --ty-bg: rgba(183, 121, 31, .1); }
  [data-theme="dark"] .tymk, [data-theme="dark"] .tycard, [data-theme="dark"] li.is-ty.is-amber { --ty-c: #e3b25c; --ty-bg: rgba(227, 178, 92, .14); }
  [data-theme="dark"] .is-red.tymk, [data-theme="dark"] .is-red.tycard, [data-theme="dark"] li.is-ty.is-red { --ty-c: #f08a7c; --ty-bg: rgba(240, 138, 124, .14); }
  .tyg { display: inline-block; flex: none; vertical-align: -3px; }
  .tyg__r { transform-origin: 12px 12px; animation: tySpin 2.6s linear infinite; }
  @keyframes tySpin { to { transform: rotate(-360deg); } }
  @media (prefers-reduced-motion: reduce) { .tyg__r { animation: none; } }
  .tymk { display: inline-flex; align-items: center; gap: 5px; margin: 0 8px 4px 0; padding: 2px 9px 2px 6px; border-radius: 999px; background: var(--ty-c); color: #fff;
          font: 700 13px/1.5 var(--dl-sans, sans-serif); letter-spacing: .04em; vertical-align: 3px; white-space: nowrap; }
  .tymk__l b { font-weight: 900; }
  li.is-ty { position: relative; padding-left: 16px !important; background: linear-gradient(90deg, var(--ty-bg), transparent 70%); }
  li.is-ty::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 2px; background: var(--ty-c); }
  .tywrap { margin: 0 0 20px; }
  .tycard { position: relative; border: 1px solid var(--ty-c); border-left-width: 6px; border-radius: 6px; background: var(--dl-paper2, #fbfcfb);
            background-image: linear-gradient(120deg, var(--ty-bg), transparent 60%); padding: 16px 18px 12px; cursor: pointer; color: var(--dl-ink, #10242a); }
  .tycard__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .tycard__sym { color: var(--ty-c); display: flex; }
  .tycard__nm { flex: 1 1 220px; min-width: 0; }
  .tycard__lv span { display: inline-block; font: 700 12.5px/1.6 var(--dl-sans, sans-serif); color: #fff; background: var(--ty-c); border-radius: 3px; padding: 0 8px; letter-spacing: .04em; }
  .tycard h2 { margin: 2px 0 0; font: 900 22px/1.35 var(--dl-serif, serif); letter-spacing: .03em; }
  .tycard h2 b { color: var(--ty-c); }
  .tycard h2 small { font: 600 13px/1 var(--dl-mono, monospace); color: var(--dl-ink2, #56676c); letter-spacing: .08em; }
  .tycard__go { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 700; font-size: 14px; color: var(--dl-sea, #0c7078); text-decoration: none; }
  .tycard__go:hover { text-decoration: underline; }
  .tycard__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px; margin-top: 12px; align-items: start; }
  .tycard__kv { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--dl-hair, #d3dcda); }
  .tycard__kv > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--dl-hair, #d3dcda); }
  .tycard__kv dt { font-size: 13px; color: var(--dl-ink2, #56676c); }
  .tycard__kv dd { margin: 0; font-size: 14.5px; line-height: 1.6; }
  .tycard__kv dd b { font: 700 17px/1.2 var(--dl-mono, monospace); }
  .tycard__kv dd.is-warn b { font-family: var(--dl-sans, sans-serif); color: var(--ty-c); font-size: 15px; }
  .tycard__note { font-size: 12.5px; color: var(--dl-ink2, #56676c); }
  .tycard__map { margin: 0; }
  .tymap { display: block; width: 100%; height: auto; border-radius: 4px; }
  .tymap__sea { fill: #e9f1f1; }
  .tymap__coast { fill: #f7f4ec; stroke: #9aa9a6; stroke-width: .8; stroke-linejoin: round; } .tymap__coast.is-open { fill: none; stroke-width: 1; }
  .tymap__ring { fill: none; stroke: #0c7078; stroke-opacity: .45; stroke-width: .9; stroke-dasharray: 3 3; }
  .tymap__p70 { fill: var(--ty-c); fill-opacity: .1; stroke: var(--ty-c); stroke-opacity: .35; stroke-width: .6; }
  .tymap__past { fill: none; stroke: #56676c; stroke-width: 1.6; stroke-linejoin: round; }
  .tymap__fc { fill: none; stroke: var(--ty-c); stroke-width: 1.8; stroke-dasharray: 5 3; stroke-linejoin: round; }
  .tymap__fp { fill: var(--ty-c); }
  .tymap__cl { stroke: #10242a; stroke-opacity: .5; stroke-width: .8; stroke-dasharray: 1.5 2.5; }
  .tymap__m { fill: #0c7078; stroke: #fff; stroke-width: 1.4; }
  .tymap__ml { font: 700 11px/1 var(--dl-sans, sans-serif); fill: #08484f; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
  .tymap__now { color: var(--ty-c); }
  .tycard__map figcaption { margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--dl-ink2, #56676c); }
  .tycard__more { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 700; font-size: 14px; color: var(--ty-c); }
  .tycard__more:focus-visible, .tycard__go:focus-visible { outline: 2px solid var(--ty-c); outline-offset: 2px; border-radius: 4px; }
  .tycard__det { border-top: 1px solid var(--dl-hair, #d3dcda); padding-top: 8px; cursor: auto; }
  .tycard__sec { margin: 0; display: grid; gap: 8px; }
  .tycard__sec dt { font-weight: 700; font-size: 13.5px; color: var(--ty-c); }
  .tycard__sec dd { margin: 2px 0 0; font-size: 14px; line-height: 1.75; }
  .tycard__fcw { overflow-x: auto; }
  .tycard__fc { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 460px; }
  .tycard__fc th, .tycard__fc td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--dl-hair, #d3dcda); white-space: nowrap; }
  .tycard__fc th { font-weight: 600; color: var(--dl-ink2, #56676c); font-size: 12.5px; }
  .tycard__src { margin: 6px 0 0; font-size: 12px; color: var(--dl-ink2, #56676c); }
  [data-theme="dark"] .tycard { background-color: var(--surface-raised, #15262b); color: var(--ink, #e6eeee); }
  @media (max-width: 760px) {
    .tycard { padding: 14px 14px 10px; }
    .tycard__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .tycard h2 { font-size: 20px; }
    .tycard__kv > div { grid-template-columns: 5.6em minmax(0, 1fr); }
    .tycard__go { order: 3; }
    .tymk { font-size: 12px; }
    .tycard__fc { min-width: 0; font-size: 12px; }
    .tycard__fc th, .tycard__fc td { white-space: normal; padding: 6px 4px; }
  }


  /* 颱風還遠時的一行提示（2026-10-18） */
  .tybar { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; padding: 10px 14px; margin: 0 0 12px; border-radius: 12px; border: 1px solid #ecd3a8; background: #fbf3e6; }
  .tybar.is-red { border-color: #efc2bb; background: #fbefec; }
  .tybar__t { display: grid; min-width: 0; } .tybar__t b { font-size: 15px; color: #8a4b08; } .tybar__t span { font-size: 13px; color: #3f5157; }
  .tybar__go { font-size: 13px; font-weight: 700; color: #0c7078; white-space: nowrap; }
  .tybar:focus-visible { outline: 2px solid #0c7078; outline-offset: 2px; }
  @media (max-width: 480px) { .tybar { grid-template-columns: auto minmax(0, 1fr); } .tybar__go { grid-column: 2; } }
  /* ── 四個入口（2026-10-25 使用者確認設計稿；app/utils/entrances.py）──
     頁首「島引馬祖｜旅行 ▾」、各入口的選單與手機底部、總入口的四張卡、生活文史語言的入口首頁。--ent-c 是入口的代表色（由程式給），--ent-t 是拿來當字色的那一階（夜間調亮） */
  .entsw__b, .entsw__i, .entnav, .botnav--ent, .entpick__t, .entlinks__i, .eh { --ent-t: var(--ent-c); }
  [data-theme="dark"] .entsw__b, [data-theme="dark"] .entsw__i, [data-theme="dark"] .entnav, [data-theme="dark"] .botnav--ent,
  [data-theme="dark"] .entpick__t, [data-theme="dark"] .entlinks__i, [data-theme="dark"] .eh { --ent-t: color-mix(in srgb, var(--ent-c) 45%, #fff); }
  .masthead .shell:has(.entsw) .wordmark__sub { display: none; }
  .entsw { position: relative; display: flex; align-items: center; flex: none; }
  .masthead:has(.entsw__m), .mastwrap.is-deco .masthead:has(.entsw__m) { position: relative; z-index: calc(var(--z-sticky, 20) + 12); }
  .entsw__b { appearance: none; border: 0; background: none; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
              min-height: 44px; padding: 0 10px 0 6px; border-radius: 10px; color: var(--hd-ink, var(--ink-deep)); font-family: var(--font-serif); font-weight: 700; font-size: 20px; }
  .entsw::before { content: ''; width: 1px; height: 22px; margin: 0 6px 0 14px; background: var(--hd-hair, rgba(255,255,255,.3)); background: var(--hd-mut, var(--ink-deep-muted)); opacity: .5; }
  .entsw__b.is-on .entsw__l { color: var(--ent-t); }
  .entsw__b .entemb { margin-right: 2px; }
  .entsw__b:not(.is-on) .entsw__l { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--hd-mut, var(--ink-deep-muted)); }
  .entsw__c { font-size: 12px; opacity: .7; }
  .entsw__b:hover { background: var(--hd-btnh, rgba(255,255,255,.08)); }
  .entsw__b:focus-visible { outline: 2px solid var(--hd-sea, var(--focus-invert)); outline-offset: 2px; }
  .entsw__m { position: absolute; top: calc(100% + 6px); left: 0; z-index: calc(var(--z-sticky, 20) + 6); width: min(340px, calc(100vw - 24px));
              background: var(--surface-raised, #fff); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 14px;
              box-shadow: 0 10px 28px rgba(16, 36, 42, .14); padding: 6px; display: grid; gap: 2px; }
  .entsw__i { appearance: none; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; row-gap: 1px; align-items: center;
              padding: 8px 12px; border-radius: 10px; min-height: 54px; }
  .entsw__i .entemb { grid-row: 1 / span 2; }
  .entsw__i b { font-size: 16px; color: var(--ent-t); font-family: var(--font-serif); }
  .entsw__i span { font-size: 13px; color: var(--ink-muted); }
  .entsw__i:hover, .entsw__i:focus-visible, .entsw__i.is-on { background: var(--surface-sunken); outline: 0; }
  .entsw__all { appearance: none; border: 0; border-top: 1px solid var(--line); background: none; font: inherit; color: var(--ink-muted); font-size: 13px;
                text-align: left; padding: 10px 12px; min-height: 44px; cursor: pointer; margin-top: 4px; }
  .entsw__all:hover, .entsw__all:focus-visible { color: var(--ink); }
  @media (max-width: 720px) { .entsw::before { margin: 0 2px 0 8px; } .entsw__b { font-size: 17px; padding-right: 4px; } .entsw__m { position: fixed; left: 12px; right: 12px; width: auto; top: 64px; } }
  @media (max-width: 400px) { .entsw__c { display: none; } }
  /* 電腦版上方的入口選單：選中的那一顆用入口的顏色；「更多」的面板鋪滿選單寬度 */
  .entnav .viewtab[aria-current="true"], .lookroot.hdr-light .entnav .viewtab[aria-current="true"] { border-bottom-color: var(--ent-c); }
  .entnav .navg-w:last-child { position: static; }
  .navpanel.entall:not(.navpanel--up) { left: 0; right: 0; width: auto; max-width: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px 14px; max-height: min(72vh, 640px); overflow-y: auto; padding: 10px 12px; }
  .navpanel.entall:not(.navpanel--up) .navpanel__cols { display: grid; gap: 0; }
  .navpanel.entall:not(.navpanel--up) .navpanel__i--s { min-height: 36px; padding: 6px 8px; align-items: center; gap: 8px; }
  .navpanel.entall:not(.navpanel--up) .navpanel__i--s b { font-size: 14px; font-weight: 600; }
  @media (max-width: 1100px) { .navpanel.entall:not(.navpanel--up) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .botnav--ent .botnav__b[aria-current="page"], .lookroot.hdr-light .botnav--ent .botnav__b[aria-current="page"] { color: var(--ent-t); border-top-color: var(--ent-c); }
  /* 入口選單第二版（2026-10-25 使用者：選單太陽春、圖示與文字排版要優化）：圖章用剪紙的做法（同大類選單的 navBadge：米白紙片＋墨色細框，後面錯開一層入口色），
     文字與圖章垂直置中；手機底部用兩字短名 */
  /* 選單的頁面圖示：圓形淡底＋入口色線條圖示（2026-10-25 使用者：方框加錯開陰影像按鍵，明顯有問題）；選中的那一組實心 */
  .entbdg { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; color: var(--ent-t);
            background: var(--surface-sunken); background: color-mix(in srgb, var(--ent-c) 12%, var(--surface-raised, #fff)); transition: background .15s, color .15s; }
  .entbdg.is-on { background: var(--ent-c); color: #fff; }
  .navpanel__i > span.entbdg { display: inline-grid; flex-direction: initial; gap: 0; }   /* 面板的「> span」規則（排文字用）不能套到圖示的圓底，不然圖示跑到左上角 */
  .entbdg .dy-icon, .navpanel__i .entbdg .dy-icon { margin: 0; display: block; }
  /* 入口的剪紙圖章（入口名稱前面） */
  .entemb { flex: none; display: block; overflow: visible; }
  .entnav { gap: 4px; align-items: stretch; }
  .entnav .entnav__b { display: inline-flex; align-items: center; gap: 10px; padding: 0 12px 0 8px; min-height: 56px; font-size: 15px; font-weight: 700; letter-spacing: .02em; line-height: 1; border-bottom-width: 3px; }
  .entnav .entnav__b .navg__caret { margin-left: -4px; }
  .entnav .entnav__b:hover .entbdg:not(.is-on), .entnav .entnav__b[aria-expanded="true"] .entbdg:not(.is-on) { background: color-mix(in srgb, var(--ent-c) 22%, var(--surface-raised, #fff)); }
  .entnav .entnav__b[aria-current="true"], .lookroot.hdr-light .entnav .entnav__b[aria-current="true"] { color: var(--ent-t); border-bottom-color: var(--ent-c); }
  .entnav__more { margin-left: auto; padding-left: 8px; border-left: 1px solid var(--hd-hair, var(--line)); }
  .entgp { min-width: 340px; padding: 8px; }
  .entgp.navpanel--2col { width: min(660px, 92vw); }
  .entgp__h { grid-column: 1 / -1; margin: 2px 8px 6px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-muted); }
  .entgp__h b { font-size: 15px; color: var(--ent-t); font-family: var(--font-serif); }
  .entgp__i { align-items: center; gap: 12px; padding: 9px 12px; }
  .entgp__i .entbdg { width: 40px; height: 40px; }
  .entgp__i > span { gap: 3px; } .entgp__i b { font-size: 15px; line-height: 1.35; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
  .entgp__i > span > span { font-size: 13px; line-height: 1.45; color: var(--ink-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal !important; }
  .entgp__i:hover .entbdg { background: color-mix(in srgb, var(--ent-c) 22%, var(--surface-raised, #fff)); }
  .entgp__i.is-on { box-shadow: inset 3px 0 0 var(--ent-c) !important; }
  .entgp, .entall { --ent-t: var(--ent-c); }
  [data-theme="dark"] .entgp, [data-theme="dark"] .entall { --ent-t: color-mix(in srgb, var(--ent-c) 45%, #fff); }
  .entall__sw { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 4px 4px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
  .entall__t { font-size: 12px; font-weight: 700; color: var(--ink-muted); margin-right: 4px; }
  .entall__e { appearance: none; font: inherit; cursor: pointer; display: flex; align-items: center; gap: 10px; text-align: left; min-height: 48px; padding: 5px 14px 5px 10px; border-radius: 10px;
               border: 1px solid var(--line); background: var(--surface-raised, #fff); color: var(--ink); }
  .entall__x { display: grid; } .entall__e--all { padding-left: 14px; }
  .entall__e b { font-family: var(--font-serif); font-size: 15px; color: var(--ent-c, var(--ink)); } .entall__e span span, .entall__e > span:last-child:not(.entall__x) { font-size: 12px; color: var(--ink-muted); }
  .entall__e--all { display: grid; gap: 0; } .entall__e--all b { color: var(--ink); }
  .entall__e:hover, .entall__e:focus-visible { background: var(--surface-sunken); outline: 0; }
  [data-theme="dark"] .entall__e b { color: color-mix(in srgb, var(--ent-c, #fff) 45%, #fff); }
  .botnav--ent .botnav__b { gap: 4px; padding: 7px 0 6px; border-top: 0; }
  .botnav--ent .botnav__b .entbdg { width: 30px; height: 30px; }
  .botnav--ent .botnav__b > span:last-child { font-size: 12px; font-weight: 700; letter-spacing: .04em; line-height: 1.2; white-space: nowrap; }
  .botnav--ent .botnav__b[aria-current="page"], .lookroot.hdr-light .botnav--ent .botnav__b[aria-current="page"] { color: var(--ent-t); border-top-color: transparent; }
  .botnav--ent .botnav__b[aria-expanded="true"] .entbdg:not(.is-on) { background: color-mix(in srgb, var(--ent-c) 24%, var(--surface-raised, #fff)); }
  .botnav--ent .entgp.navpanel--up { min-width: 0; }
  .botnav--ent .entgp.navpanel--up .navpanel__i { min-height: 52px; }
  .subnav--ent .subnav__t[aria-current="page"], .lookroot .subnav--ent .subnav__t[aria-current="page"], .lookroot.hdr-light .subnav--ent .subnav__t[aria-current="page"] { background: var(--ent-c); border-color: var(--ent-c); color: #fff; }
  @media (max-width: 720px) { .botnav--ent .entgp.navpanel--up { display: flex; flex-direction: column; width: auto; }
    .botnav--ent .entgp .navpanel__i > span { min-width: 0; } }
  .entnav__s { display: none; }
  @media (max-width: 1100px) { .entnav .entnav__b { padding: 0 8px 0 4px; gap: 7px; font-size: 14px; } }
  @media (max-width: 960px) { .entnav__l { display: none; } .entnav__s { display: inline; } .entnav .navg__caret { display: none; } }
  /* 總入口：您想從哪裡開始？ */
  .entpick { margin: 8px 0 18px; }
  .entpick__q { font-family: var(--font-serif); font-size: 22px; margin: 6px 0 12px; color: var(--ink); }
  .entpick__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .entpick__t { position: relative; display: grid; gap: 4px; align-content: start; min-height: 150px; padding: 16px 40px 16px 18px; border-radius: 16px;
                background: var(--surface-raised, #fff); background: color-mix(in srgb, var(--ent-c) 8%, var(--surface-raised, #fff));
                border: 1px solid var(--line); border-color: color-mix(in srgb, var(--ent-c) 28%, transparent); color: var(--ink); text-decoration: none; }
  .entpick__t .entemb { margin-bottom: 4px; }
  .entpick__t small { font-size: 12px; color: var(--ink-muted); letter-spacing: .08em; }
  .entpick__t b { font-family: var(--font-serif); font-size: 30px; color: var(--ent-t); line-height: 1.15; }
  .entpick__s { font-size: 14px; color: var(--ink); }
  .entpick__t em { font-style: normal; font-size: 13px; color: var(--ink-muted); margin-top: 4px; }
  .entpick__t i { position: absolute; right: 14px; top: 12px; font-style: normal; font-size: 24px; color: var(--ent-t); }
  .entpick__t:hover { border-color: var(--ent-c); }
  .entpick__t:focus-visible { outline: 2px solid var(--ent-c); outline-offset: 2px; }
  .entpick__n { font-size: 13px; color: var(--ink-muted); margin: 10px 0 0; }
  @media (max-width: 900px) { .entpick__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .entpick__t { min-height: 128px; } .entpick__t b { font-size: 26px; } }
  /* 入口首頁最下面的互串 */
  .entlinks { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; padding-top: 12px; border-top: 1px solid var(--line); }
  .entlinks__i { appearance: none; font: inherit; cursor: pointer; display: grid; gap: 2px; text-align: left; padding: 7px 14px; min-height: 44px; border-radius: 12px;
                 border: 1px solid var(--line-strong); background: var(--surface-raised, #fff); color: var(--ink); }
  .entlinks__i b { font-size: 12px; color: var(--ink-muted); font-weight: 600; }
  .entlinks__i span { font-size: 14px; font-weight: 700; color: var(--ent-t); }
  .entlinks__i:hover, .entlinks__i:focus-visible { border-color: var(--ent-c); outline: 0; }
  /* 生活、文史、語言的入口首頁 */
  .eh__hero { border-bottom: 1px solid var(--line); background: var(--surface);
              background: linear-gradient(180deg, color-mix(in srgb, var(--ent-c) 7%, var(--surface)) 0%, var(--surface) 100%); }
  .eh__hero .shell { padding-block: 22px 18px; display: grid; gap: 8px; }
  .eh__k { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--ink-muted); align-items: center; }
  .eh__brand { font-family: var(--font-serif); font-weight: 700; color: var(--ent-t); font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
  .eh__say { margin: 0; font-family: var(--font-serif); font-size: clamp(26px, 4vw, 38px); line-height: 1.3; text-wrap: balance; color: var(--ink); min-height: 1.3em; }
  .eh__sub { margin: 0; font-size: 15px; color: var(--ink-muted); max-width: 72ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .eh__isl { display: flex; gap: 6px; flex-wrap: wrap; }
  .eh__isl button { appearance: none; font: inherit; font-size: 14px; font-weight: 600; min-height: 36px; padding: 0 14px; border-radius: 99px; cursor: pointer;
                    border: 1px solid var(--line-strong); background: var(--surface-raised, #fff); color: var(--ink); }
  .eh__isl button[aria-pressed="true"] { background: var(--ent-c); border-color: var(--ent-c); color: #fff; }
  .eh__isl button:focus-visible { outline: 2px solid var(--ent-c); outline-offset: 2px; }
  .eh__vil { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-muted); }
  .eh__vil select { font: inherit; font-size: 14px; font-weight: 600; min-height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface-raised, #fff); color: var(--ink); }
  .eh__strip { margin-top: 6px; }
  .eh__strip .stt__i { background: var(--surface-raised, #fff); background: color-mix(in srgb, var(--ent-c) 9%, var(--surface-raised, #fff)); }
  .eh__strip .stt__i { color: var(--ent-t); }
  .eh__body { padding-block: 16px 24px; }
  .eh__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .eh__c { background: var(--surface-raised, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 10px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
  .eh__c.is-wide { grid-column: span 2; }
  .eh__c.is-full { grid-column: 1 / -1; }
  @media (min-width: 901px) { .eh__c.is-full .eh__nwg { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .eh__ct { margin: 0; font-size: 16px; display: flex; align-items: center; gap: 8px; color: var(--ink); }
  .eh__ct .dy-icon { color: var(--ent-t); }
  .eh__cb { flex: 1; min-width: 0; font-size: 14px; }
  .eh__go { align-self: flex-start; appearance: none; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--ent-t); cursor: pointer; min-height: 36px; padding: 0; }
  .eh__go:hover { text-decoration: underline; } .eh__go:focus-visible { outline: 2px solid var(--ent-c); outline-offset: 2px; }
  .eh__rl { list-style: none; margin: 0; padding: 0; display: grid; }
  .eh__rl li { display: grid; grid-template-columns: minmax(84px, auto) minmax(0, 1fr); gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
  .eh__rl li:last-child { border-bottom: 0; }
  /* 今日活動的對象切換（2026-10-30）：居民｜遊客｜全部 */
  .eh__aud { display: flex; gap: 6px; margin: 0 0 8px; flex-wrap: wrap; }
  .eh__aud button { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
  .eh__aud button[aria-pressed="true"] { background: var(--ent-c, #0c7078); border-color: var(--ent-c, #0c7078); color: #fff; }
  .eh__aud small { opacity: .75; font-size: 12px; margin-left: 4px; }
  .audbar { margin: 0 0 8px; }
  .eh__rl b { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
  .eh__rl span { color: var(--ink-muted); }
  .eh__rl li.is-done { opacity: .5; }
  .eh__none, .eh__p { margin: 0; color: var(--ink-muted); }
  .eh__tel { margin: 6px 0 0; font-size: 14px; }
  .eh__bl { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .eh__bl a { display: flex; gap: 8px; align-items: center; color: var(--ink); text-decoration: none; min-height: 36px; min-width: 0; }
  .eh__bl a b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
  .eh__bl a > span:last-child { color: var(--ink-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
  .eh__bl a:hover b { text-decoration: underline; }
  .eh__tag { font-size: 12px; line-height: 22px; padding: 0 8px; border-radius: 99px; background: var(--surface-sunken);
             background: color-mix(in srgb, var(--ent-c) 12%, transparent); color: var(--ent-t); white-space: nowrap; flex: none; }
  .eh__big { margin: 0; } .eh__big b { font-size: 30px; font-variant-numeric: tabular-nums; color: var(--ink); }
  .eh__big small { font-size: 13px; color: var(--ink-muted); } .eh__big span { display: block; color: var(--ink-muted); font-size: 13px; margin-top: 2px; }
  .eh__sp { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .eh__sp img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; background: var(--surface-sunken); }
  .eh__sp div { display: grid; gap: 2px; align-content: start; min-width: 0; }
  .eh__sp b { font-size: 18px; } .eh__sp i { color: var(--ink-muted); font-size: 13px; } .eh__sp span { font-size: 13px; } .eh__sp small { font-size: 11.5px; color: var(--ink-muted); }
  /* 生活首頁的垃圾車（2026-10-31）：一週七格＋今天每一趟＋選村列各站 */
  .eh__wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .eh__wd { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 10px; background: var(--surface-sunken, #eef2f1); font-size: 12px; font-variant-numeric: tabular-nums; min-width: 0; }
  .eh__wd b { font-size: 13px; color: var(--ink); }
  .eh__wd.is-today { background: color-mix(in srgb, var(--ent-c) 16%, transparent); box-shadow: inset 0 0 0 1.5px var(--ent-c); }
  .eh__wd.is-off { opacity: .55; } .eh__wd small { color: var(--ink-muted); }
  .eh__wd span, .eh__wkl span { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
  .eh__wd i, .eh__wkl i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
  /* 垃圾車黃、回收車白（馬祖實際車色，2026-10-31 使用者） */
  .is-tr i { background: #e8b31a; box-shadow: 0 0 0 1px #b88a0c inset; } .is-rc i { background: #fff; box-shadow: 0 0 0 1px #8a959a inset; }
  .eh__wkl { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0 4px; font-size: 12px; color: var(--ink-muted); }
  .eh__trips { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
  .eh__trips > li { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 2px 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
  .eh__trips > li.is-now { border-color: var(--ent-c); background: color-mix(in srgb, var(--ent-c) 7%, transparent); }
  .eh__trips > li.is-done { opacity: .5; }
  .eh__trips b { font-variant-numeric: tabular-nums; white-space: nowrap; }
  .eh__trips span:not(.eh__tk) { color: var(--ink-muted); min-width: 0; }
  .eh__trips small { grid-column: 2 / -1; color: var(--ent-t); font-weight: 600; font-size: 13px; }
  .eh__tk { font-size: 12px; line-height: 22px; padding: 0 8px; border-radius: 99px; color: #fff; background: #186b43; white-space: nowrap; }
  .eh__tk.is-recycle { background: #2f6fb5; } .eh__tk.is-both { background: #8a6d1f; }
  .eh__stops { grid-column: 1 / -1; font-size: 13px; }
  .eh__stops summary { cursor: pointer; color: var(--ent-t); min-height: 32px; display: flex; align-items: center; }
  .eh__stops ol { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 2px; }
  .eh__stops li b { margin-right: 8px; } .eh__stops li.is-done { opacity: .5; }
  .eh__hint { margin: 6px 0 0; font-size: 13px; color: var(--ink-muted); }
  .eh__nw { list-style: none; margin: 0; padding: 0; display: grid; }
  .eh__nw a { display: flex; flex-direction: column; gap: 1px; padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--ink); text-decoration: none; }
  .eh__nw li:last-child a { border-bottom: 0; }
  .eh__nw b { font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .eh__nw small { color: var(--ink-muted); font-size: 12px; }
  .eh__nw a:hover b { text-decoration: underline; }
  .eh__links { display: flex; flex-wrap: wrap; gap: 6px; }
  .eh__links button .dy-icon { color: var(--ent-t); flex: none; }
  .eh__links button { display: inline-flex; align-items: center; gap: 6px; appearance: none; font: inherit; font-size: 14px; min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--surface-raised, #fff); color: var(--ink); cursor: pointer; }
  @media (max-width: 560px) { .eh__wk { gap: 2px; } .eh__wd { font-size: 11px; padding: 5px 0; } .eh__trips > li { grid-template-columns: auto minmax(0, 1fr); } .eh__trips > li > span:not(.eh__tk) { grid-column: 1 / -1; } }
  /* 生活首頁第二版（2026-10-31）：新聞、活動、佈告有圖；垃圾車縮小 */
  .eh__img { display: block; position: relative; overflow: hidden; border-radius: 10px; background: var(--surface-sunken, #eef2f1); aspect-ratio: 16 / 10; max-width: 100%; }
  .eh__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .eh__img.is-none img { display: none; }
  .eh__img.is-sq { aspect-ratio: 1 / 1; width: 64px; flex: none; }
  .eh__nwg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .eh__nwi { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; min-width: 0; }
  .eh__nwi.is-lead { grid-column: span 2; grid-row: span 2; }
  .eh__nwi.is-lead .eh__img { aspect-ratio: auto; flex: 1 1 auto; min-height: 220px; }
  .eh__nwi.is-lead .eh__nwt b { font-size: 19px; -webkit-line-clamp: 3; }
  .eh__nwt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .eh__nwt b { font-weight: 700; font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .eh__nwt small { color: var(--ink-muted); font-size: 12.5px; }
  .eh__nwi:hover b { text-decoration: underline; }
  .eh__evl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .eh__evl li.is-click { cursor: pointer; border-radius: 10px; } .eh__evl li.is-click:hover .eh__evt b { color: var(--tide); text-decoration: underline; text-underline-offset: 3px; }
  .eh__evl li.is-click:focus-visible { outline: 2px solid var(--focus, var(--tide)); outline-offset: 2px; }
  .eh__evl li, .eh__bdi { display: flex; gap: 10px; align-items: center; min-width: 0; color: var(--ink); text-decoration: none; }
  .eh__evt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .eh__evt b { font-weight: 600; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .eh__evt small { color: var(--ink-muted); font-size: 12.5px; }
  .eh__evt .eh__tag { align-self: flex-start; }
  .eh__bdg { display: grid; gap: 8px; }
  .eh__bdi:hover b { text-decoration: underline; }
  .eh__wk.is-mini .eh__wd { padding: 8px 0 10px; gap: 6px; justify-content: center; }
  .eh__dots { min-height: 10px; align-items: center; }
  .eh__dots { display: inline-flex; gap: 3px; min-height: 8px; }
  .eh__dots i { width: 8px; height: 8px; border-radius: 50%; }
  .eh__dots i.is-tr { background: #e8b31a; box-shadow: 0 0 0 1px #b88a0c inset; } .eh__dots i.is-rc { background: #fff; box-shadow: 0 0 0 1px #8a959a inset; }
  .eh__gbn { margin: 8px 0 2px; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
  .eh__gbsel { display: flex; gap: 6px; margin: 0 0 8px; }
  .eh__gbsel select { font: inherit; font-size: 14px; min-height: 36px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface-raised, #fff); color: var(--ink); }
  .eh__saya { color: inherit; text-decoration: none; } .eh__saya:hover { text-decoration: underline; }
  .eh__gas { margin: 0 0 8px; font-size: 14px; color: var(--ink-muted); } .eh__gas b { color: var(--ink); font-size: 16px; }
  @media (max-width: 900px) { .eh__nwg { grid-template-columns: repeat(2, minmax(0, 1fr)); } .eh__nwi.is-lead { grid-column: 1 / -1; grid-row: auto; } .eh__nwi.is-lead .eh__img { aspect-ratio: 16 / 10; flex: none; min-height: 0; } }
  @media (max-width: 560px) { .eh__nwg { grid-template-columns: 1fr; } .eh__nwi:not(.is-lead) { flex-direction: row; } .eh__nwi:not(.is-lead) .eh__img { width: 96px; flex: none; aspect-ratio: 4 / 3; } }
  [data-i].is-hit { outline: 2px solid var(--dl-warm, #c8532a); outline-offset: 4px; border-radius: 8px; }
  /* 詞彙挑戰的一題、錄馬祖話進度（2026-10-31） */
  .eh__exd { display: grid; gap: 2px; } .eh__exd b { font: 700 26px "IBM Plex Mono", monospace; color: var(--ent-t); } .eh__exd span { font-weight: 700; } .eh__exd small { color: var(--ink-muted); font-size: 13px; }
  .eh__qz { display: grid; gap: 10px; }
  .eh__qzw { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .eh__qzw b { font-family: var(--font-serif); font-size: 34px; line-height: 1.1; color: var(--ent-t); }
  .eh__qzw span { font: 500 15px "IBM Plex Mono", monospace; color: var(--ink-muted); }
  .eh__qzw em { font-style: normal; font-size: 12px; padding: 2px 8px; border-radius: 99px; background: var(--surface-sunken, #eef2f1); }
  .eh__qzau { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ent-c); color: #fff; cursor: pointer; align-self: center; }
  .eh__qzq { margin: 0; font-size: 14px; color: var(--ink-muted); }
  .eh__qzo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .eh__qzb { min-height: 44px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-raised, #fff); font: inherit; font-size: 14px; color: var(--ink); text-align: left; cursor: pointer; }
  .eh__qzb:hover:not(:disabled) { border-color: var(--ent-c); }
  .eh__qzb.is-ok { border-color: #186b43; background: rgba(24,107,67,.1); font-weight: 700; } .eh__qzb.is-no { border-color: #b42318; background: rgba(180,35,24,.08); } .eh__qzb.is-dim { opacity: .5; }
  .eh__qzr { margin: 0; font-weight: 700; color: #b42318; display: grid; gap: 2px; } .eh__qzr.is-ok { color: #186b43; } .eh__qzr small { font-weight: 400; color: var(--ink-muted); }
  .eh__qzlv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding-top: 10px; border-top: 1px dashed var(--line); }
  .eh__qzlv span { display: grid; text-align: center; } .eh__qzlv b { font-size: 14px; } .eh__qzlv small { font-size: 12px; color: var(--ink-muted); }
  .eh__vc { display: grid; gap: 8px; }
  .eh__vcr { display: grid; grid-template-columns: 2.4em minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
  .eh__vcbar { height: 10px; border-radius: 99px; background: var(--surface-sunken, #eef2f1); overflow: hidden; } .eh__vcbar i { display: block; height: 100%; background: var(--ent-c); border-radius: 99px; }
  .eh__vcr small { font: 500 12px "IBM Plex Mono", monospace; color: var(--ink-muted); }
  .eh__vcn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 4px; }
  .eh__vcn span { display: grid; padding: 8px; border-radius: 10px; background: var(--surface-sunken, #eef2f1); text-align: center; }
  .eh__vcn b { font: 700 20px "IBM Plex Mono", monospace; } .eh__vcn small { font-size: 12px; color: var(--ink-muted); }
  .eh__c.is-wide .dc { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px; }
  .eh__c.is-wide .dc-up { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .eh__c.is-wide .dc-up .dc-none { grid-column: 1 / -1; padding: 0; }
  .eh__c.is-wide .dc-up button { padding: 6px 10px; min-height: 44px; grid-template-columns: 3.2em 8px minmax(0, 1fr); gap: 8px; }
  .eh__c.is-wide .dc-up span { font-size: 13px; line-height: 1.35; } .eh__c.is-wide .dc-up small { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .eh__c.is-wide .dc-up b { font-size: 14px; }
  .eh__c.is-wide .dc-side { gap: 8px; } .eh__c.is-wide .dc-leg { font-size: 12px; gap: 4px 10px; }
  .eh__evmore { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-muted); }
  .eh__c.is-wide .tw { grid-template-columns: minmax(0, 1fr) auto; }
  @media (max-width: 760px) { .eh__c.is-wide .dc, .eh__c.is-wide .tw { grid-template-columns: minmax(0, 1fr); } }
  /* 今日一種生物、練習卷（2026-10-31，使用者：卡片太空） */
  .eh__sp2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .eh__spimg { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: 12px; background: #e8efe9 center / cover no-repeat; cursor: pointer; padding: 0; }
  .eh__spst { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 99px; background: rgba(16,36,42,.72); color: #f2c84b; font-size: 13px; letter-spacing: 1px; }
  .eh__sptx { display: grid; gap: 6px; min-width: 0; }
  .eh__sptx > b { font-family: var(--font-serif); font-size: 22px; } .eh__sptx > i { color: var(--ink-muted); font-size: 14px; }
  .eh__sptx > p { margin: 0; font-size: 14px; line-height: 1.6; }
  .eh__sptx > small { color: var(--ink-muted); font-size: 12px; }
  .eh__sptag { display: flex; flex-wrap: wrap; gap: 6px; } .eh__sptag span { padding: 2px 10px; border-radius: 99px; background: var(--surface-sunken, #eef2f1); font-size: 12px; }
  .eh__sptag span.is-isl { background: rgba(24,107,67,.12); color: #186b43; }
  .eh__spmo { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; height: 54px; padding: 4px 0 0; }
  .eh__spmo span { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; min-width: 0; }
  .eh__spmo i { width: 100%; border-radius: 3px 3px 0 0; background: #186b43; }
  .eh__spmo em { font-style: normal; font-size: 10px; color: var(--ink-muted); }
  .eh__dr { display: grid; gap: 12px; }
  .eh__drs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .eh__drty { font-size: 12px; color: var(--ink-muted); line-height: 1.6; }
  @media (max-width: 760px) { .eh__drs { grid-template-columns: minmax(0, 1fr); } }
  @media (min-width: 761px) { .eh__sp2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: start; } .eh__spimg { aspect-ratio: 4 / 3; } }
  .eh__drr { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
  .eh__drr:hover { border-color: var(--ent-c); }
  .eh__drh { display: flex; align-items: baseline; gap: 8px; } .eh__drh b { font-size: 17px; } .eh__drh span { color: var(--ink-muted); font-size: 13px; } .eh__drh em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--ent-t); }
  .eh__drbar { display: flex; gap: 2px; height: 26px; border-radius: 8px; overflow: hidden; }
  .eh__drbar span { display: flex; align-items: center; justify-content: center; min-width: 0; color: #fff; font-size: 12px; white-space: nowrap; overflow: hidden; }
  /* 入口首頁的數據藝術（2026-10-31，live-ent.js）。底色框裡的內容離每邊至少 8px、上下對稱 */
  .entart { min-width: 0; }
  .dc { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 28px; align-items: start; max-width: 1100px; }
  .dc svg { width: 100%; height: auto; display: block; }
  .dc-night { fill: rgba(43,58,66,.06); }
  .dc-tick { stroke: var(--ink-muted); stroke-width: 1; opacity: .6; }
  .dc-hr { fill: var(--ink-muted); font-size: 12px; text-anchor: middle; font-family: "IBM Plex Mono", monospace; }
  .dc-track { fill: none; stroke: var(--surface-sunken, #eef2f1); }
  .dc-rl { fill: var(--ink-muted); font-size: 10px; text-anchor: middle; }
  .dc-seg { fill: none; stroke-linecap: round; cursor: pointer; }
  .dc-seg.is-done { opacity: .35; }
  .dc-seg[data-h] { stroke-linecap: butt; }
  .dc-seg.is-sel, .dc-seg:focus { stroke-width: 20px; opacity: 1; outline: none; }
  .is-grow .dc-seg { stroke-dasharray: 400; stroke-dashoffset: 400; animation: dcGrow .7s ease-out forwards; animation-delay: var(--d); }
  @keyframes dcGrow { to { stroke-dashoffset: 0; } }
  .dc-mk { cursor: pointer; } .dc-mk circle { stroke: #fff; stroke-width: 2; }
  .dc-mk .is-sun { fill: #e0a526; } .dc-mk .is-hi { fill: #2f6fb5; } .dc-mk .is-lo { fill: #9fc1e3; }
  .dc-mk.is-sel circle { r: 9; }
  .dc-hand { stroke: #c8532a; stroke-width: 2.5; stroke-linecap: round; } .dc-hub { fill: #c8532a; }
  .dc-now { fill: var(--ink); font: 700 22px "IBM Plex Mono", monospace; text-anchor: middle; }
  .dc-side { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
  .dc-leg { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-muted); }
  .dc-leg span { display: inline-flex; align-items: center; gap: 6px; } .dc-leg i { width: 12px; height: 12px; border-radius: 50%; }
  .dc-leg i.is-sun { background: #e0a526; } .dc-leg i.is-hi { background: #2f6fb5; } .dc-leg i.is-lo { background: #9fc1e3; }
  .dc-side h4 { margin: 4px 0 0; font-size: 15px; }
  .dc-up { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
  .dc-up button { width: 100%; display: grid; grid-template-columns: 3.4em 10px minmax(0, 1fr); gap: 10px; align-items: center; text-align: left; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-raised, #fff); color: var(--ink); font: inherit; cursor: pointer; min-height: 44px; }
  .dc-up button:hover { border-color: var(--ent-c); }
  .dc-up b { font: 700 15px "IBM Plex Mono", monospace; } .dc-up i { width: 10px; height: 10px; border-radius: 50%; }
  .dc-up span { min-width: 0; font-size: 14px; } .dc-up small { display: block; color: var(--ink-muted); font-size: 12px; }
  .dc-none { color: var(--ink-muted); padding: 10px 0; }
  .dc-tip { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-sunken, #eef2f1); font-size: 14px; min-height: 20px; }
  .dc-tip em { color: #b42318; font-style: normal; font-weight: 700; } .dc-tip u { color: var(--ent-t); text-decoration: none; font-weight: 700; }
  @media (max-width: 760px) { .dc { grid-template-columns: 1fr; } .dc svg { max-width: 360px; margin: 0 auto; } }
  .ink { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
  .ink-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
  .ink-c { position: relative; border-radius: 12px; overflow: hidden; background: #f7f3ea; border: 1px solid var(--line); }
  .ink-c canvas { display: block; width: 100%; cursor: pointer; }
  .ink-c > b { position: absolute; left: 10px; top: 8px; font-family: var(--font-serif); font-size: 15px; color: #2b2620; }
  .ink-side { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
  .ink-tip { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-sunken, #eef2f1); font-size: 14px; }
  .ink-pin { margin-left: 8px; font-size: 12px; color: var(--ent-t); }
  .ink-list { display: grid; gap: 10px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
  .ink-k h5 { margin: 0 0 4px; font-size: 14px; display: flex; gap: 6px; align-items: baseline; } .ink-k h5 small { color: var(--ink-muted); font-weight: 400; }
  .ink-k a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; font-size: 14px; border-bottom: 1px dashed var(--line); }
  .ink-k a:hover { color: var(--ent-t); }
  @media (max-width: 760px) { .ink { grid-template-columns: 1fr; } }
  @media (max-width: 420px) { .ink-grid { grid-template-columns: 1fr; } }
  .tw { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
  .tw-main { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); column-gap: 32px; align-items: center; }
  .tw-l, .tw-r { min-width: 0; } .tw-r { display: grid; gap: 10px; } .tw-r .tw-m { font-size: 18px; } .tw-r .tw-act { margin-top: 4px; }
  @media (max-width: 760px) { .tw-main { grid-template-columns: minmax(0, 1fr); } }
  .tw-word { display: flex; gap: 4px; }
  .tw-ch { font-family: var(--font-serif); font-size: 52px; line-height: 1.1; color: var(--ent-t); text-decoration: none; }
  .is-play .tw-ch { opacity: 0; animation: twIn .35s ease-out forwards; animation-delay: var(--d); }
  @keyframes twIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  .tw-svg { width: 100%; max-width: 620px; max-height: 210px; height: auto; display: block; margin: 6px 0; }
  .tw-staff { stroke: var(--line); stroke-width: 1; } .tw-lv { fill: var(--ink-muted); font-size: 10px; text-anchor: end; }
  .tw-line { fill: none; stroke: var(--ent-c, #4a3f8f); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
  .is-play .tw-line { stroke-dasharray: 300; stroke-dashoffset: 300; animation: twDraw .7s ease-in-out forwards; animation-delay: var(--d); }
  @keyframes twDraw { to { stroke-dashoffset: 0; } }
  .tw-tn { fill: var(--ink-muted); font-size: 12px; text-anchor: middle; } .tw-py { fill: var(--ink); font-size: 14px; text-anchor: middle; font-family: "IBM Plex Mono", monospace; }
  .tw-m { margin: 0; font-size: 16px; } .tw-m span { display: block; color: var(--ink-muted); font-size: 14px; margin-top: 4px; }
  .tw-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
  .tw-act button { font: inherit; font-size: 14px; min-height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--ent-c); background: var(--ent-c); color: #fff; cursor: pointer; }
  .tw-act a { color: var(--ent-t); font-weight: 700; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; padding: 0 8px; }
  .tw-ring { position: relative; width: 130px; height: 130px; display: block; color: var(--ink); text-decoration: none; }
  .tw-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
  .tw-rt { fill: none; stroke: var(--surface-sunken, #eef2f1); stroke-width: 10; }
  .tw-rp { fill: none; stroke: var(--ent-c, #4a3f8f); stroke-width: 10; stroke-linecap: round; stroke-dashoffset: var(--off); }
  .is-play .tw-rp { animation: twRing 1.2s ease-out both; } @keyframes twRing { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: var(--off); } }
  .tw-ring span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .tw-ring b { font: 700 30px "IBM Plex Mono", monospace; } .tw-ring small { font-size: 12px; color: var(--ink-muted); }
  @media (max-width: 560px) { .tw { grid-template-columns: 1fr; } .tw-ring { margin: 0 auto; } .tw-ch { font-size: 44px; } }
  .eh__w { display: grid; gap: 4px; } .eh__w > b { font-family: var(--font-serif); font-size: 34px; color: var(--ent-t); line-height: 1.2; }
  .eh__py { font-size: 14px; color: var(--ink-muted); } .eh__w p { margin: 0; } .eh__ex { color: var(--ink-muted); font-size: 13.5px; }
  .eh__play { justify-self: start; appearance: none; border: 1px solid var(--line-strong); background: var(--surface); font: inherit; font-size: 14px; border-radius: 99px;
              padding: 0 14px; min-height: 36px; cursor: pointer; color: var(--ink); }
  .eh__w small { font-size: 12px; color: var(--ink-muted); }
  @media (max-width: 900px) { .eh__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 600px) { .eh__grid { grid-template-columns: minmax(0, 1fr); } .eh__c.is-wide { grid-column: auto; }
    .eh__hero .shell { padding-block: 16px 14px; } }

/* 分享到 LINE（2026-10-25，portal.js LineShareBtn）：LINE 綠的小標＋字，跟一般按鈕同高 */
.lnshare { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lnshare__b { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 6px; border-radius: 10px;
  border: 1px solid #06c755; background: var(--surface, #fff); color: var(--ink, #10242a); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.lnshare__b:hover { background: rgba(6, 199, 85, .1); }
.lnshare__b:focus-visible { outline: 2px solid #06c755; outline-offset: 2px; }
.lnshare__i { display: inline-grid; place-items: center; height: 24px; padding: 0 6px; border-radius: 6px; background: #06c755; color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.lnshare__m { font-size: 13px; color: var(--go, #186b43); }
.tripline { margin: 4px 0 8px; }
.bb__line { margin-top: 10px; }
.bb__line .lnshare__b { width: 100%; justify-content: center; }