/* =====================================================================
   /guide/ 攻略內容頁共用樣式（2026-08-16 建立）

   為什麼獨立一個 CSS 檔，而不是照 index.html 的做法把樣式內嵌？
   index.html 是「一個檔案裝全站」，那是單頁時代的產物。攻略頁一次有 7 頁，
   內嵌等於同一份樣式複製 7 份，改一個顏色要改 7 個地方 —— 遲早分岔。
   本站無建置流程，純靜態一樣吃得到外部 CSS，沒有額外成本。

   ⚠️ 攻略頁刻意「不載入 Tailwind CDN」：
      Tailwind CDN 是 runtime 編譯（約 100KB JS + 首次繪製前的樣式計算），
      對內容型頁面是純負擔，而 Google 對內容頁看的是速度與可讀性。
      這裡用手寫 CSS，整份不到 8KB，且不依賴任何外部 JS 才能正確排版。

   ⚠️ 唯一的外部依賴是 Google Fonts（與首頁同一套字型，維持品牌一致）。
      LINE 圖示改用內嵌 SVG，不載 Font Awesome —— 為了一顆圖示載入整包
      字型圖示庫（約 70KB+）不划算，而且首頁已經證明它會拖慢首次繪製。
   ===================================================================== */

:root {
    --bg-obsidian: #121212;
    --bg-card: #1A1A1A;
    --bg-deep: #050505;
    --text-main: #E0E0E0;
    --text-muted: #8A8A8A;
    --gold-primary: #C5A880;
    --gold-bright: #FFD700;
    --border-color: #2A2A2A;
    --line-green: #1FC865;

    /* sticky 頁首的實際高度，給錨點落點補償用。
       量法與逐個數字見下方「── 錨點落點補償 ──」段，不要在這裡憑感覺改數字。 */
    --sticky-head-h: 59px;
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-obsidian);
    color: var(--text-main);
    line-height: 1.9;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    /* overflow-x:hidden 只是把溢出藏起來，不是修好它。
       這裡刻意不加，讓 375px 檢查時真的看得到有沒有東西撐破版面。 */
    /* 右下角常駐 CTA 約 52px 高 + 20px 邊距，預留淨空避免壓住頁尾 */
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

img, video, table, pre { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--gold-primary); text-decoration: none; }
a:hover { color: var(--gold-bright); }

.serif { font-family: 'Noto Serif TC', 'Noto Sans TC', serif; }

/* ── 版心 ───────────────────────────────────────────────── */
.wrap {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── 頁首 ───────────────────────────────────────────────── */
.site-head {
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-deep);
    position: sticky;
    top: 0;
    z-index: 900;
}
.site-head .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    flex-wrap: wrap;
    /* 2026-09-16：左右各多留 56px（20px 版心底 padding ＋ 52px 圓形按鈕寬 ＋ 4px 呼吸空間），
       避免右上角/左上角常駐的 #room-menu-fab／#room-avail-fab（position:fixed，見
       room-menu.css／room-avail-fab.css）在窄螢幕蓋住品牌字或導覽連結。桌機版 .wrap
       本來就有 max-width:880px 置中留白，這裡多留的 padding 不會造成可見影響。 */
    padding-left: 76px;
    padding-right: 76px;
}
.brand {
    font-family: 'Noto Serif TC', serif;
    color: var(--gold-primary);
    font-weight: 700;
    letter-spacing: 0.15em;
    font-size: 17px;
}
.brand small {
    display: block;
    font-family: 'Noto Sans TC', sans-serif;
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 0.18em;
    font-weight: 400;
}
.head-links {
    display: flex;
    gap: 18px;
    font-size: 13px;
    letter-spacing: 0.08em;
}
.head-links a { color: var(--text-muted); }
.head-links a:hover { color: var(--gold-primary); }

/* ── 錨點落點補償（2026-09-03，QA 提報）─────────────────────────────────
   問題：.site-head 是 position:sticky; top:0。錨點跳轉（例
   /guide/osaka-group-stay/#room-type-match）的落點是目標元素自己的頂邊，
   瀏覽器不知道上面壓著一條 sticky 列 ⇒ 到站時標題整行被頁首蓋住。
   scroll-margin-top 就是專門解這件事的屬性；不要改 .site-head 的版面來遷就它。

   數值來源＝Chrome 對正式站 https://www.shinsai-wings-osakastay.com/guide/osaka-group-stay/
   逐個視窗寬實測 .site-head 的 getBoundingClientRect().height（不是憑感覺填）：
       1280px → 59      768px → 59      480px → 59      430px → 59
        400px → 59      390px → 59      380px → 88.98   375px → 88.98   320px → 88.05
   59 ＝ .site-head .wrap 的 min-height 58 ＋ .site-head 的 border-bottom 1。
   窄機變兩行的原因：.site-head .wrap 是 flex-wrap:wrap，
   .brand 129.56px ＋ gap 12px ＋ .head-links 204.52px ＝ 346.08px，
   一旦超過版心內寬（視窗寬 − .wrap 左右各 20px）就換行 ⇒ 翻轉點實測落在 380↔390 之間。

   ⚠️ 斷點刻意取 480px 而不是量到的 ~386px：那個翻轉點是由文字寬度決定的，
      webfont 有沒有載到、使用者有沒有放大字級都會讓它移動。取比它寬的 480px 之後，
      387–480px 這一段只是多留約 30px 空白（無害），
      絕不會反過來留不夠而讓標題又被蓋住 —— 這個方向的誤差才是 bug。
   ＋10px 是呼吸間距，讓標題不要正好貼著頁首底線。 */
@media (max-width: 480px) {
    :root { --sticky-head-h: 89px; }
}
[id] { scroll-margin-top: calc(var(--sticky-head-h) + 10px); }

/* ── 麵包屑 ─────────────────────────────────────────────── */
.crumb {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    padding: 18px 0 0;
    /* 長標題在 375px 會撐破版面，強制換行而不是溢出 */
    word-break: break-word;
}
.crumb a { color: var(--text-muted); }
.crumb a:hover { color: var(--gold-primary); }
.crumb span { margin: 0 6px; opacity: 0.5; }

/* ── 文章標頭 ───────────────────────────────────────────── */
.article-head { padding: 22px 0 8px; }
.eyebrow {
    color: var(--gold-primary);
    font-size: 11px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin: 0 0 14px;
}
h1 {
    font-family: 'Noto Serif TC', serif;
    font-size: 27px;
    line-height: 1.5;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: 0.03em;
    font-weight: 700;
}
.lede {
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.95;
    margin: 0 0 24px;
}

.hero-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--border-color);
    margin: 0 0 8px;
    background: var(--bg-card);
}
.cap {
    color: var(--text-muted);
    font-size: 11.5px;
    letter-spacing: 0.05em;
    margin: 0 0 34px;
}

/* ── 內文 ───────────────────────────────────────────────── */
article h2 {
    font-family: 'Noto Serif TC', serif;
    font-size: 21px;
    line-height: 1.6;
    color: #fff;
    margin: 46px 0 6px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    letter-spacing: 0.04em;
}
article h3 {
    font-size: 16.5px;
    color: var(--gold-primary);
    margin: 30px 0 4px;
    letter-spacing: 0.04em;
}
article p { margin: 14px 0; }
article strong { color: #fff; font-weight: 700; }

article ul { margin: 14px 0; padding-left: 0; list-style: none; }
article ul li {
    position: relative;
    padding-left: 20px;
    margin: 9px 0;
}
article ul li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 13px;
    width: 6px;
    height: 6px;
    background: var(--gold-primary);
    transform: rotate(45deg);
}

/* ── 事實卡：把「已查證的事實」和「一般敘述」在視覺上分開 ──
   這不是裝飾。公司規則 #1 規定只寫查得到的事實，把它們框起來，
   下一個維護的人就知道哪幾行不可以隨手改。 */
.facts {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--gold-primary);
    padding: 20px 22px;
    margin: 26px 0;
}
.facts h4 {
    margin: 0 0 10px;
    color: var(--gold-primary);
    font-size: 13px;
    letter-spacing: 0.2em;
    font-weight: 500;
}
.facts ul { margin: 0; }
.facts li { font-size: 14.5px; }

/* ── 照片組 ─────────────────────────────────────────────── */
.shots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 26px 0 8px;
}
.shots img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

/* ── 路線表（大正站交通頁用）──────────────────────────────
   表格是 375px 最容易水平溢出的元素。做法：外層容器可橫向捲動，
   捲動的是表格自己，不是整個頁面 —— body 不會出現水平捲軸。 */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    border: 1px solid var(--border-color);
}
table {
    border-collapse: collapse;
    width: 100%;
    min-width: 460px;
    font-size: 14px;
}
/* 表格標題（2026-08-25 新增，供 /long-stay/ 的規格表與比較表使用）。
   ⚠️ 刻意做成表格外的段落而不是 <caption>：表格本身有 min-width:460px，
   caption 會跟著撐到 460px，375px 視窗下標題會被裁掉、要橫捲才讀得完。 */
.tbl-cap {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 8px;
}
th, td {
    border-bottom: 1px solid var(--border-color);
    padding: 11px 14px;
    text-align: left;
    vertical-align: top;
}
th {
    background: var(--bg-card);
    color: var(--gold-primary);
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.05em;
}
tr:last-child td { border-bottom: none; }

/* ── 詢問區塊（文中的軟性引導，不是按鈕）───────────────────
   這裡刻意不放第二顆 CTA 按鈕：全站只有右下角
      那一顆「免費幫我排大阪住宿」。這個區塊只用文字把人指向那一顆。 */
.ask {
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.09), transparent);
    border: 1px solid var(--border-color);
    padding: 22px;
    margin: 40px 0 10px;
}
.ask p { margin: 0; font-size: 15px; }
.ask .line-id {
    color: var(--gold-bright);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: 0.05em;
}

/* ── 出處註記（交通等第三方查證數字的來源與查詢日期）─────────
   數字有出處才寫得出來；出處要留在畫面上看得到的地方。 */
.src-note {
    font-size: 13px;
    color: var(--text-muted);
    margin: -6px 0 26px;
    /* 出處若寫成完整網址，那一串是不可斷行的長字串，375px 會把整頁推出橫向捲軸。 */
    overflow-wrap: anywhere;
}

/* ── 相關文章 ───────────────────────────────────────────── */
.related { margin: 54px 0 20px; }
.related h2 {
    font-size: 15px;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    font-family: 'Noto Sans TC', sans-serif;
    border-top: 1px solid var(--border-color);
    padding-top: 26px;
    margin-bottom: 18px;
    font-weight: 500;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 12px;
}
.card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 18px 20px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.card:hover { border-color: var(--gold-primary); transform: translateY(-3px); }
.card b {
    display: block;
    color: #fff;
    font-size: 15.5px;
    line-height: 1.6;
    margin-bottom: 6px;
    font-weight: 700;
}
.card span {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.75;
}

/* ── 關鍵字標籤 ───────────────────────────────────────────
   放在延伸閱讀卡片之後、頁尾之前。純視覺標籤，不是連結。 */
.kw-tags {
    margin: 40px 0 10px;
    padding-top: 22px;
    border-top: 1px solid var(--border-color);
}
.kw-tags .kw-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin: 0 0 12px;
}
.kw-tags .kw-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.kw-tags .kw-row span {
    font-size: 12.5px;
    color: var(--gold-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 5px 13px;
    letter-spacing: 0.02em;
}

/* ── 頁尾 ───────────────────────────────────────────────── */
.site-foot {
    border-top: 1px solid #222;
    background: var(--bg-deep);
    text-align: center;
    padding: 34px 20px 30px;
    margin-top: 50px;
}
.site-foot .home-link {
    display: inline-block;
    color: var(--gold-primary);
    font-size: 14px;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}
.site-foot p {
    color: #5a5a5a;
    font-size: 11.5px;
    margin: 6px 0;
    line-height: 1.8;
}
/* 頁尾的中長期住宿／FAQ／關於我們入口：一行純文字連結，不是按鈕、不是第二顆 CTA。
   padding 是刻意的 —— 12.5px 文字的原生點擊高只有約 19px，
   上下各補 13px 才達到 44px 觸控目標下限。
   .faq-link／.about-link／.guide-more-link 與 .longstay-link 共用同一份樣式。
   .guide-more-link 一行放三個連結（會自然換行），其餘同上。 */
.site-foot .longstay-link,
.site-foot .faq-link,
.site-foot .guide-more-link,
.site-foot .about-link { margin: 0 0 8px; font-size: 12.5px; }
.site-foot .longstay-link a,
.site-foot .faq-link a,
.site-foot .guide-more-link a,
.site-foot .about-link a {
    display: inline-block;
    padding: 13px 6px;
    color: var(--text-muted);
}
.site-foot .longstay-link a:hover,
.site-foot .longstay-link a:active,
.site-foot .faq-link a:hover,
.site-foot .faq-link a:active,
.site-foot .guide-more-link a:hover,
.site-foot .guide-more-link a:active,
.site-foot .about-link a:hover,
.site-foot .about-link a:active { color: var(--gold-primary); }

.site-foot .sns { margin: 0 0 16px; font-size: 12.5px; }
.site-foot .sns a { color: var(--text-muted); margin: 0 9px; display: inline-block; }
.site-foot .sns a:hover { color: var(--gold-primary); }

/* ── 全站唯一 CTA：右下角「免費幫我排大阪住宿」→ 官方 LINE @040fyjwd ──
   不要在頁面其他位置再加 CTA 按鈕；不要改成 Airbnb 或任何第三方連結。
      （與 index.html 的 #contact-fab 同一顆設計）
   ⚠️ 2026-09-15 補充、2026-09-16 更新：右上角另有房型選單／查空房兩顆浮動鈕
      （#room-menu-fab／#room-avail-fab，樣式定義在 /room-menu.css／/room-avail-fab.css）
      都不算破例——不導向洽詢／預訂，是導覽／查詢功能，這裡「唯一 CTA」指的仍然只有 #contact-fab。 */
#contact-fab {
    position: fixed;
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 1500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 22px;
    background: var(--line-green);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.05em;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    animation: gentle-bounce 2s infinite;
}
#contact-fab:hover { color: #fff; opacity: 0.9; transform: scale(1.04); }
/* 鍵盤操作看得見焦點：這顆是全站唯一的洽詢出口，用 Tab 走到它時必須有
   明顯的焦點框，否則只用鍵盤的人不知道自己按到哪裡。
   焦點框用金色而不是綠色 —— 綠底上再畫綠框等於看不見；
   外面再墊一圈深色陰影，讓焦點框壓在淺色照片上時同樣分得出來。
   ⚠️ 用 :focus-visible 而不是 :focus：滑鼠點擊不該留下焦點框。 */
#contact-fab:focus-visible {
    outline: 3px solid var(--gold-bright);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.85);
}
#contact-fab svg { width: 21px; height: 21px; fill: currentColor; flex-shrink: 0; }

@keyframes gentle-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
/* 會暈眩的使用者把動畫關掉（作業系統層級設定），CTA 本身照常在 */
@media (prefers-reduced-motion: reduce) {
    #contact-fab { animation: none; }
    * { scroll-behavior: auto !important; }
}

/* ── 桌機放大 ───────────────────────────────────────────── */
@media (min-width: 768px) {
    body { font-size: 17px; }
    h1 { font-size: 36px; }
    article h2 { font-size: 25px; }
    .lede { font-size: 17px; }
    .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── 極窄機（iPhone SE 320px）─────────────────────────────
   375px 是驗收基準，但 320px 仍要能看。字級與邊距一起縮，
   不靠 overflow-x:hidden 遮醜。 */
@media (max-width: 360px) {
    .wrap { padding: 0 16px; }
    h1 { font-size: 24px; }
    #contact-fab { padding: 0 18px; font-size: 14px; }
    .head-links { gap: 14px; font-size: 12.5px; }
}

/* ── 文末 CTA 收口元件 #guide-cta（2026-09-03 新增）──────────────────────
   標記由產生器自動貼進各攻略頁的「延伸閱讀」之前，不要手改 HTML；
   改文案／連結一律去改產生器再重跑，不要直接編輯頁面。

   ⚠️ 上方「全站唯一 CTA」那條註解自本日起有一個明定例外：攻略文末這一組
      三顆按鈕是內容頁專屬的收口（配房攻略／查檔期／免費排住宿），
      兩顆 LINE 按鈕與右下角浮動鍵指向同一個官方 LINE，仍然不導 Airbnb。

   ── 零色值 ──
   全段沒有任何 color / background 具體色值，只用 currentColor ＋ opacity
   繼承文章文字色（body 的 --text-main）。每條規則都明寫 color: inherit：
   本檔的全域 a { color } 與 .site-foot p { color } 這類裸元素選擇器會直接
   命中 <a>/<p>，「不寫就會繼承」在本站已被 cross-network.css 證偽過一次，
   不要拿掉 inherit。

   ── 對比度（本站文章區實測基準，不是抄來的數字）──
   文字 #E0E0E0（--text-main）on 文章區背景 #121212（--bg-obsidian）＝ 14.19:1
   opacity 對照：.55＝4.94 ✅ AA 下限｜.65＝6.49｜.80＝9.34｜.90＝11.55｜1.0＝14.19
   本段文字類最低用到 .80（副標）＝ 9.34:1；按鈕文字 opacity 1，
   底下墊 currentColor .07 的淡色底（＝#202020）後仍 12.34:1。

   ── 無動畫 ──
   無 transition／animation：hover 與 focus 的差異來自邊框亮度，
      prefers-reduced-motion 使用者看到的與一般使用者相同。 */
.guide-cta {
    margin: 48px 0 8px;
    padding: 26px 22px 24px;
    position: relative;
    color: inherit;
}
/* 外框：currentColor 的細邊 + 極淡底。用 ::before 而不是直接寫 border，
   是為了讓外框的 opacity 與文字的 opacity 各自獨立（同一個元素只能有一個 opacity）。 */
.guide-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid currentColor;
    opacity: .18;
    pointer-events: none;
}
.guide-cta .guide-cta-title {
    /* 蓋掉 article h2 的分隔線與大留白：這是收口區的標題，不是新章節 */
    position: relative;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    font-family: 'Noto Serif TC', serif;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: inherit;
    opacity: 1;                          /* 14.19:1 */
}
.guide-cta .guide-cta-sub {
    position: relative;
    margin: 0 0 18px;
    font-size: 14.5px;
    line-height: 1.85;
    color: inherit;
    opacity: .80;                        /* 9.34:1 */
}
.guide-cta .guide-cta-actions {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 10px;
}
/* 按鈕：文字 opacity 1，邊框與底色各走自己的 ::before / ::after。
   最小高度 48px ＝ 觸控目標下限之上；文字置中、可換行（375px 不溢出）。 */
.guide-cta .guide-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.03em;
    text-align: center;
    text-decoration: none;
    color: inherit;                      /* 蓋掉全域 a { color } */
    opacity: 1;
}
.guide-cta .guide-cta-btn::before {      /* 底色 */
    content: '';
    position: absolute;
    inset: 0;
    background: currentColor;
    opacity: .07;
    pointer-events: none;
}
.guide-cta .guide-cta-btn::after {       /* 邊框 */
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid currentColor;
    opacity: .45;
    pointer-events: none;
}
.guide-cta .guide-cta-btn > span { position: relative; }
.guide-cta .guide-cta-btn svg {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: currentColor;
}
.guide-cta .guide-cta-btn:hover { color: inherit; }
.guide-cta .guide-cta-btn:hover::after,
.guide-cta .guide-cta-btn:focus-visible::after { opacity: 1; }
.guide-cta .guide-cta-btn:hover::before { opacity: .12; }
.guide-cta .guide-cta-btn:active { opacity: .7; }   /* 按下回饋；.7 仍 7.34:1 */
.guide-cta .guide-cta-btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
/* 兩顆主入口下方的一行 LINE 文字連結（2026-09-11 兩軸改版新增）：
   與上方按鈕同樣走 currentColor，連結本身用底線區分，圖示與文字同高。 */
.guide-cta .guide-cta-line {
    position: relative;
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    color: inherit;
    opacity: .80;                        /* 9.34:1 */
}
.guide-cta .guide-cta-line a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.guide-cta .guide-cta-line a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .guide-cta { padding: 30px 28px 28px; }
    .guide-cta .guide-cta-title { font-size: 23px; }
    .guide-cta .guide-cta-sub { font-size: 15.5px; }
}

/* ── 代購交叉區塊 .shop-pick（2026-09-03 新增）────────────────────────────
   🔴 本檔是對外可讀的部署檔，註解一律只寫「怎麼維護／為什麼這樣做」，
      不寫內部代號、角色名稱與內部文件路徑。

   「房客回台必備」導流卡。不要手改各頁 HTML：標記由產生器產生
   （--write 寫入／--check 對帳，冪等），掛哪幾頁、文案、連結全部改產生器再重跑。
   目前只掛 3 篇（逐篇判定理由寫在產生器檔頭）。

   ⚠️ 與上面 #guide-cta 那組「全站唯一 CTA 例外」共存，不衝突：
      #guide-cta 是三顆訂房收口按鈕（配房／檔期／排住宿，導向站內或 LINE），
      這裡刻意做成「事實卡」（.facts）同款樸素卡片＋純文字連結清單，不是按鈕組——
      視覺上一眼可分。本卡固定排在 #guide-cta 之上，訂房 CTA 仍是全頁最後一個收口。

   ── 零新色值 ── 全段只用既有變數（--bg-card／--border-color／--gold-primary／
      --text-main／--text-muted），與 .facts 同一組，不新增任何色票。
   ── 對比度（2026-09-03 逐對實算，非沿用宣稱）──
      內文 --text-main #E0E0E0 on --bg-card #1A1A1A ＝ 13.18:1  ✅ AA/AAA
      連結 --gold-primary #C5A880 on #1A1A1A       ＝  7.70:1  ✅ AA/AAA
      hover --gold-bright #FFD700 on #1A1A1A       ＝ 12.41:1  ✅
      備註 --text-muted #8A8A8A on #1A1A1A          ＝  5.04:1  ✅ AA（≥4.5，所以備註
           字級 不得再小於 13px，也 不得換更暗的灰）
   🔴 連結一律 underline：--gold-primary 對周圍內文只有 1.71:1（<3:1），
      單靠顏色分辨連結會違反 WCAG 1.4.1「不得只用顏色傳達資訊」。不要拿掉底線。 */
.shop-pick {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--gold-primary);
    padding: 20px 22px;
    margin: 26px 0;
    color: var(--text-main);
}
.shop-pick .shop-pick-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: var(--gold-primary);
}
.shop-pick p { margin: 14px 0 0; font-size: 15px; }
.shop-pick .shop-pick-list {
    margin: 14px 0 0;
    padding-left: 1.2em;
}
.shop-pick .shop-pick-list li {
    font-size: 15px;
    margin: 6px 0;
}
.shop-pick a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.shop-pick .shop-pick-note {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .shop-pick { padding: 18px 16px; }
    .shop-pick .shop-pick-title { font-size: 16px; }
}


/* ── 長住區頂部提示列 .notice-bar（2026-09-04 新增）─────────────────────────
   🔴 本檔是對外可讀的部署檔，註解一律只寫「怎麼維護／為什麼這樣做」，
      不寫內部代號、角色名稱與內部文件路徑。

   掛在 /long-stay/ 這一區的四頁（總覽／student／monthly／compare），
   不掛首頁 —— 首頁面對的是短期旅客，這條提示列講的是長住入住窗口，
   放到首頁只會稀釋首頁本來的訊息。

   ── 為什麼放在 <header> 之後而不是之前 ──
   .site-head 是 position:sticky; top:0，提示列若擺在它前面會被它蓋住，
   而且 --sticky-head-h（錨點落點補償）那個數字會整組失準。
   放在 header 之後、麵包屑之前 ⇒ 隨頁面捲走，不佔用固定高度，
   不需要改 --sticky-head-h。

   ── 為什麼不做成「停留幾秒才彈出」的彈窗 ──
   彈窗會蓋住讀者正在讀的內容、在手機上尤其惡劣，而且必須提供關閉鈕
   才不會困住鍵盤使用者。這裡選擇「一開始就在、輕量常駐、不遮任何東西」。

   ── 對比度（2026-09-04 逐對實算，非沿用宣稱）──
   底色是 #050505 疊上 --gold-primary 的 10% 漸層，最亮處合成後為 #181511，
   下面兩個數字就是壓在**最亮的那一端**量的（往下只會更高）：
   內文 --text-main   #E0E0E0 on #181511            ＝ 13.78:1  ✅ AAA
   標題 --gold-bright #FFD700 on #181511            ＝ 12.97:1  ✅ AAA
   按鈕文字 #04150B on --line-green #1FC865         ＝  8.51:1  ✅ AAA
   ⚠️ 按鈕刻意用深色字而不是白字：白字壓在 #1FC865 上只有 2.21:1，
      連 AA 都不到。不要為了跟別處一致而把它改回白字。

   ── 無動畫 ──
   全段沒有 transition／animation，prefers-reduced-motion 使用者看到的
   與一般使用者完全相同，不需要額外的媒體查詢。 */
.notice-bar {
    background: linear-gradient(180deg, rgba(197, 168, 128, 0.10), rgba(197, 168, 128, 0.02));
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-deep);
}
.notice-bar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding-top: 14px;
    padding-bottom: 14px;
}
.notice-bar .notice-copy {
    margin: 0;
    flex: 1 1 320px;
    min-width: 0;                       /* 讓長字串能收縮，375px 不撐出橫向捲軸 */
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--text-main);
}
.notice-bar .notice-copy b {
    display: block;
    margin-bottom: 2px;
    color: var(--gold-bright);
    font-size: 15.5px;
    letter-spacing: 0.02em;
}
.notice-bar .notice-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;                   /* 觸控目標下限之上 */
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--line-green);
    color: #04150B;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-align: center;
}
.notice-bar .notice-btn:hover { color: #04150B; opacity: 0.88; }
.notice-bar .notice-btn:active { opacity: 0.75; }
.notice-bar .notice-btn:focus-visible {
    outline: 3px solid var(--gold-bright);
    outline-offset: 3px;
}
.notice-bar .notice-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: currentColor;
}
@media (max-width: 600px) {
    /* 手機上按鈕自己占一整行，不擠在文字右邊變成一顆點不到的小方塊 */
    .notice-bar .notice-btn { flex: 1 1 100%; }
    /* 375×812 逐次實測（Chrome，量 .notice-bar 的 getBoundingClientRect().height）：
         14.5px／1.75 ＋ 14px 上下內距 → 241px（H1 被推到折線以下）
         13.5px／1.70 ＋ 12px 上下內距 → 226px（H1 頂邊落在 436px，仍在首屏內）
       不要再往下收 —— 13px 以下在 iOS 上會觸發自動縮放與可讀性問題。
       還要更矮的話，正確做法是刪文案，不是再縮字。 */
    .notice-bar .wrap { padding-top: 12px; padding-bottom: 12px; gap: 10px 16px; }
    .notice-bar .notice-copy { font-size: 13.5px; line-height: 1.7; }
    .notice-bar .notice-copy b { font-size: 15px; }
}

/* ── 重點速看摘要卡 .quickfacts（2026-09-04 新增）───────────────────────────
   放在 H1 與正文之間，讓「不想讀完長文的人」在三秒內拿到可判斷的事實。

   ⚠️ 刻意用 <p class="qf-title"> 而不是 <h2>：這一區的正文已經有一個
      「重點速看…」的 h2 章節，再放一個同名的標題層級會讓大綱出現兩個
      看起來一樣的節點。這張卡是導引，不是新章節。
      改用 aria-labelledby 綁 qf-title，輔助科技照樣讀得到它的名字。

   ── 對比度（2026-09-04 逐對實算，非沿用宣稱）──
   標題 --gold-primary #C5A880 on --bg-card #1A1A1A ＝  7.70:1  ✅ AAA
   條目 --text-main   #E0E0E0 on #1A1A1A           ＝ 13.18:1  ✅ AAA
   註腳 --text-muted  #8A8A8A on #1A1A1A           ＝  5.04:1  ✅ AA
   ── 零新色值 ── 只用既有變數，不新增色票。 */
.quickfacts {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--gold-primary);
    padding: 20px 22px;
    margin: 0 0 30px;
}
.quickfacts .qf-title {
    margin: 0 0 12px;
    font-family: 'Noto Serif TC', serif;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: var(--gold-primary);
}
.quickfacts .qf-list {
    margin: 0;
    padding-left: 1.2em;
}
.quickfacts .qf-list li {
    margin: 7px 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-main);
}
.quickfacts .qf-note {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.75;
    color: var(--text-muted);
}
.quickfacts .line-id {
    color: var(--gold-bright);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: 0.05em;
}
@media (min-width: 768px) {
    .quickfacts { padding: 24px 28px; }
    .quickfacts .qf-title { font-size: 20px; }
}
@media (max-width: 600px) {
    .quickfacts { padding: 18px 16px; }
    .quickfacts .qf-list li { font-size: 14.5px; }
}
