/* B2 次要頁面：只作用於本輪明確授權的五頁，交易邏輯與現版原文保留。 */
.b2-about .btn--primary,
.b2-setup .btn--primary,
.b2-faq .btn--primary,
.b2-cart .btn--primary,
.b2-checkout .btn--primary { color: var(--color-ink); }
.b2-about .btn--outline,
.b2-setup .btn--outline,
.b2-faq .btn--outline { color: var(--color-ink); background: var(--color-paper); border-color: var(--color-ink); }
.b2-scene { display: block; max-width: 100%; }
.b2-scene img { display: block; width: 100%; height: auto; object-fit: contain; }
.b2-art-desktop { display: none; }
.b2-art-mobile { display: block; }
@media (min-width: 1024px) {
  .b2-art-desktop { display: block; }
  .b2-art-mobile { display: none; }
}
@media (forced-colors: active) {
  .b2-scene,
  .b2-setup .b2-setup-diagram { forced-color-adjust: none; background: #FAF6EE; }
}

/* 購物車：單層白卡，不改 js/cart.js 的渲染與數量事件。 */
.b2-cart .cart-list { padding: 0; gap: 16px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.b2-cart .cart-row,
.b2-cart .cart-summary,
.b2-cart .cart-empty { border: 0; border-radius: 16px; background: var(--color-paper); box-shadow: var(--shadow-card); }
.b2-cart .cart-row { padding: 20px; min-width: 0; }
.b2-cart .cart-row:hover { transform: none; }
.b2-cart .cart-row__price,
.b2-cart .cart-summary__row strong { color: var(--color-ink); font-size: 20px; font-weight: 700; }
.b2-cart .qty-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--color-ink); color: var(--color-ink); background: var(--color-paper); }
.b2-cart .qty-btn:hover { color: var(--color-ink); background: var(--color-cream-deep); border-color: var(--color-ink); }
.b2-cart .qty-value { border-radius: 50%; color: var(--color-ink); background: var(--color-cream-deep); }
.b2-cart .cart-row__remove { color: var(--color-ink); font-weight: 400; }
/* 結帳只調整現有表單與摘要外觀，欄位、條款及提交流程不變。 */
.b2-checkout #checkout-form,
.b2-checkout .checkout-summary { border: 0; border-radius: 16px; background: var(--color-paper); box-shadow: var(--shadow-card); }
.b2-checkout .order-line__price,
.b2-checkout #checkout-total,
.b2-checkout .checkout-summary__total strong { color: var(--color-ink); font-size: 20px; font-weight: 700; }
@media (max-width: 767px) {
  .b2-checkout #checkout-form,
  .b2-checkout .checkout-summary { padding: 20px; }
}

.b2-faq .faq-item > summary::after,
.b2-setup .faq-item > summary::after { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--color-cream-deep); color: var(--color-ink); font-size: 16px; font-weight: 400; }


/* 全家旅行主圖只出現在關於頁；手機在前三張卡後，經營者資料照源頭。 */
.b2-about .b2-about-main { width: 354px; margin: 12px auto 20px; grid-column: 1 / -1; }
.b2-about .about-overview__action { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .b2-about .page-header .container,
  .b2-about .about-overview .container { max-width: 1120px; }
  .b2-about .b2-about-main { width: 600px; margin: 18px auto 24px; }
}


/* 安裝說明：手機首個完整步驟後才放場景圖；所有操作圖均為繁中真字 SVG。 */
.b2-setup .b2-setup-scene { width: 260px; margin: 20px auto; }
.b2-setup .b2-guide-stage { margin: 20px 0 12px; color: var(--color-ink); font-size: 22px; font-weight: 700; }
.b2-setup .tabs button.is-active,
.b2-setup .tabs button[aria-selected="true"] { color: var(--color-ink); background: var(--color-paper); border: 2px solid var(--color-ink); box-shadow: none; }
.b2-setup .step__num { color: var(--color-ink); background: var(--color-cream-deep); }
.b2-setup .step { min-width: 0; }
.b2-setup .step__body { min-width: 0; }
.b2-setup .b2-setup-diagram { margin: 14px 0 0; min-width: 0; }
.b2-setup .b2-setup-diagram > img { display: block; width: min(100%, 336px); height: auto; margin-inline: auto; }
.b2-setup .b2-setup-diagram > figcaption { margin: 8px 0 0; color: var(--color-ink-soft); font-size: 14px; font-weight: 400; line-height: 1.5; text-align: center; word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .b2-setup .b2-setup-diagram { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .b2-setup .step { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 24px; }
  .b2-setup .step__body { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 12px 16px; }
  .b2-setup .step__body h3 { grid-column: 1; grid-row: 1; margin: 0; }
  .b2-setup .step__body > p { grid-column: 1; grid-row: 2; }
  .b2-setup .step__body .b2-setup-diagram { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}

/* 強制色彩模式仍清楚標示目前頁籤，不被一般白底墨框的作用域規則蓋過。 */
@media (forced-colors: active) {
  .b2-setup .tabs button.is-active,
  .b2-setup .tabs button[aria-selected="true"] {
    color: HighlightText;
    background: Highlight;
    border: 2px solid Highlight;
    forced-color-adjust: none;
  }
}

/* ===== 10-19 收尾 c1 購物車與結帳 ===== */
/* 只改版面，不改 js/cart.js、js/checkout.js 的渲染、事件與文案 */

/* 購物車列：手機兩列——上：方案（右上角「移除」）；下：數量與這一項的金額。768–1023 一列；1024 起列表欄變窄，回到兩列 */
/* 間距：列卡之間 12（塊內），列表到摘要 32（塊間） */
.b2-cart .cart-list { margin-bottom: 32px; gap: 12px; }
.b2-cart .cart-row {
  grid-template-columns: max-content minmax(0, 1fr);
  grid-template-areas: "main main" "qty price";
  align-items: center;
  gap: 12px 8px;
  position: relative;
}
.b2-cart .cart-row__main { grid-area: main; gap: 4px; }
.b2-cart .cart-row__title { padding-right: 48px; }
/* r12-17 名稱連回產品頁（帶網速與天數）：墨字、細底線，字不變色 */
.b2-cart .cart-row__title a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--color-ink-soft); text-underline-offset: 4px; }
/* r12-18 複核：名稱一行只有 20 高，點擊區上下各補 14＝48 高（負邊距抵銷，版面不動；右邊不伸到「移除」） */
.b2-cart .cart-row__title a { display: inline-block; padding-block: 14px; margin-block: -14px; }
.b2-cart .cart-row__title a:hover { text-decoration-color: currentColor; }
.b2-cart .cart-row__price { grid-area: price; line-height: 1.25; text-align: right; }
.b2-cart .cart-row__qty { grid-area: qty; gap: 8px; }
/* 「移除」點擊區 44×44 從卡片頂端往下算，字和方案名同一行（上內距 16）；點擊區與焦點框不伸進下一行的電信字 */
.b2-cart .cart-row__remove { position: absolute; top: 0; right: 12px; min-height: 44px; padding: 16px 8px 0; font-size: var(--fs-4); }
.b2-cart .cart-row__remove:focus-visible { outline-offset: -3px; }
/* 中文詞不從中間斷（例「續／期」）；超長目錄文字仍由 E6-23 的 overflow-wrap:anywhere 兜底 */
.b2-cart .cart-row__meta,
.b2-checkout .order-line__sub { word-break: keep-all; }
/* 10-19 hotfix：付款方式一行不用 keep-all——WebKit（iPhone 上所有瀏覽器）加了 keep-all 這一行在「處理付款」前都不換行，320–422 寬頁面橫向捲動（scrollWidth 424）。
   「綠界 ECPay」由來源頁的 .u-nobr 保住不拆；不要給 payment_list 整段包 nowrap（c1 驗過 320 會溢出） */
/* 數量鈕與產品頁選購卡同一套：44px 淺框圓鈕、數字不加底色。10-19 c3-0：數量欄照內容寬、鈕不縮（原本 320 寬縮到 43.6px，金額極長時縮到 23px），
   金額欄吃剩下的寬度、靠右，放不下時在數字中換行（main.css overflow-wrap: anywhere）；兩欄間距 8，320 寬一般金額仍是一行 */
.b2-cart .qty-btn { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #ece4d6; border-radius: 999px; background: var(--color-paper); color: var(--color-ink); }
.b2-cart .qty-btn:hover { background: var(--color-cream-deep); border-color: #ece4d6; color: var(--color-ink); }
.b2-cart .qty-btn:disabled:hover { background: var(--color-paper); border-color: #ece4d6; }
.b2-cart .qty-value { min-width: 24px; height: auto; border-radius: 0; background: transparent; font-family: var(--font-sans); }
/* 摘要：內距與列卡同為 20px（原 26px，左緣差 6px）；「清空購物車」改成 14px 底線文字連結，點擊區高 44，二段確認照舊 */
.b2-cart .cart-summary { padding: 20px; gap: 12px; }
.b2-cart .cart-summary__row { color: var(--color-ink); }
.b2-cart .cart-summary [data-action="clear-cart"] {
  width: auto; justify-self: center; min-height: 44px; padding: 0 8px;
  border: 0; background: transparent; box-shadow: none; color: var(--color-ink);
  font-size: var(--fs-4); font-weight: 400; text-decoration: underline; text-underline-offset: 3px;
}
.b2-cart .cart-summary [data-action="clear-cart"]:hover,
.b2-cart .cart-summary [data-action="clear-cart"]:active { background: transparent; color: var(--color-ink); transform: none; box-shadow: none; }
.b2-cart .cart-empty { max-width: none; }
@media (min-width: 768px) and (max-width: 1023px) {
  .b2-cart .cart-row {
    grid-template-columns: minmax(0, 1fr) auto minmax(96px, auto) auto;
    grid-template-areas: "main qty price remove";
    gap: 24px;
  }
  .b2-cart .cart-row__remove { position: static; grid-area: remove; justify-self: end; padding: 0 8px; }
  .b2-cart .cart-row__title { padding-right: 0; }
}
/* 電腦：與結帳頁同一組兩欄（左明細、右摘要），摘要隨捲動停在頁首下；卡片內距 24（DESIGN_SPEC R4 第 6 條），和結帳同一條左緣 */
@media (min-width: 1024px) {
  .b2-cart [data-render-cart] { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.95fr); gap: 32px; align-items: start; }
  .b2-cart .cart-list { margin-bottom: 0; }
  /* 空購物車：跨兩欄、內容置中，卡片左緣與標題「購物車」同一條（10-19 c3-0：原本只佔左欄） */
  .b2-cart .cart-empty { grid-column: 1 / -1; margin-inline: 0; }
  .b2-cart .cart-summary { position: sticky; top: calc(var(--header-height) + 24px); }
  .b2-cart .cart-row,
  .b2-cart .cart-summary,
  .b2-checkout #checkout-form,
  .b2-checkout .checkout-summary { padding: 24px; }
  .b2-cart .cart-row__remove { top: 4px; right: 16px; }
}

/* 結帳：表單卡與摘要卡是兩塊，間距 32（手機原本 28；768 起兩欄 main.css 本來就是 32） */
.b2-checkout .checkout-grid { gap: 32px; }
/* 摘要：明細只在相鄰兩列之間畫一條線（原本每列底線再接合計上線，成雙線）；名稱欄吃剩餘寬度，金額不在數字中間斷行（320px 時 NT$4,730 原本斷成兩行），極端長金額仍可換行 */
.b2-checkout .checkout-summary { gap: 12px; }
.b2-checkout #checkout-items { display: grid; gap: 12px; }
.b2-checkout .checkout-summary .order-line { padding: 0; border-bottom: 0; align-items: flex-start; }
.b2-checkout .checkout-summary .order-line + .order-line { padding-top: 12px; border-top: 1px solid var(--color-rule); }
.b2-checkout .checkout-summary .order-line > div:first-child { flex: 1 1 0; }
.b2-checkout .checkout-summary .order-line__price { flex: 0 1 auto; line-height: 1.3; text-align: right; }
.b2-checkout .checkout-summary__total { margin-top: 0; padding-top: 12px; }
.b2-checkout [data-buy-now-note] { font-size: var(--fs-4); line-height: 1.5; word-break: keep-all; }
/* 沒有可結帳的方案：只留摘要裡的「瀏覽目的地」，不先讓人填 Email，也不顯示 NT$0 合計；這時連結是唯一出口，點擊區高 44 */
.b2-checkout .checkout-grid:has(#checkout-items > .checkout-empty-note:only-child) #checkout-form,
.b2-checkout .checkout-summary:has(#checkout-items > .checkout-empty-note:only-child) .checkout-summary__total { display: none; }
.b2-checkout .checkout-empty-note:only-child a { display: inline-flex; align-items: center; min-height: 44px; }
/* 空結帳：摘要卡只剩一句和連結，標題「訂單摘要」不顯示；768 起兩欄時表單藏起來後摘要只佔左欄，改成單欄、內容置中，
   卡片左緣與標題「結帳」同一條，和空購物車同一個樣子（10-19 c3-0） */
.b2-checkout .checkout-summary:has(#checkout-items > .checkout-empty-note:only-child) > h3 { display: none; }
@media (min-width: 768px) {
  .b2-checkout .checkout-grid:has(#checkout-items > .checkout-empty-note:only-child) { grid-template-columns: minmax(0, 1fr); }
  .b2-checkout .checkout-summary:has(#checkout-items > .checkout-empty-note:only-child) { text-align: center; }
}
/* 表單：欄位間距 16；優惠碼收進原生折疊；付款方式一行字，不做成只有一個選項的勾選框 */
.b2-checkout #checkout-form .form-field { margin-bottom: 16px; }
.b2-checkout .checkout-coupon > summary {
  display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none;
  font-size: var(--fs-4); text-decoration: underline; text-underline-offset: 3px;
}
.b2-checkout .checkout-coupon > summary::-webkit-details-marker { display: none; }
/* 「有優惠碼嗎？」點擊區 44、字在中間：上外距收 12，讓字上下到欄位與付款方式的距離一樣 */
.b2-checkout #checkout-form .checkout-coupon { margin-top: -12px; margin-bottom: 4px; }
.b2-checkout .checkout-coupon[open] > summary { margin-bottom: 4px; }
.b2-checkout #checkout-form .checkout-coupon[open] { margin-bottom: 16px; }
.b2-checkout .checkout-pay-line { margin: 0 0 12px; color: var(--color-ink-soft); font-size: var(--fs-4); line-height: 1.5; }
.b2-checkout .checkout-pay-line__label { margin-right: 8px; color: var(--color-ink); font-weight: 700; }
/* 付款鈕上方的說明靠左（和欄位同一條左緣）；鈕下一行照舊置中 */
.b2-checkout .checkout-terms-note { margin: 0 0 12px; text-align: left; text-wrap: pretty; }
.b2-checkout .consent-check { margin: 0 0 16px; }
.b2-checkout #checkout-form .btn + .checkout-terms-note { margin: 12px 0 0; text-align: center; }
/* 結帳頁的頁首提示列與表單裡「付款後自動發卡」重複，這頁不顯示（一行可撤） */
body:has(main.b2-checkout) .site-notice { display: none; }

/* 末行不留單字（不支援 text-wrap: pretty 的瀏覽器照一般換行） */
.pause-panel p,
.b2-checkout .hint,
.b2-cart .order-limit-note,
.b2-checkout .order-limit-note { text-wrap: pretty; }
/* 上限提示不在中文詞中間斷行（10-19 c3-0）；main.css 的 overflow-wrap: anywhere 仍兜住超長字串。
   只給非 WebKit：WebKit 加了 keep-all 只在空格換行，數字和量詞被拆開（320 寬「30｜張」、「10」單獨一行），同 b2-common.css toast 那條，WebKit 照一般斷行 */
@supports not (hanging-punctuation: first) {
  .b2-cart .order-limit-note,
  .b2-checkout .order-limit-note { word-break: keep-all; }
}

/* 暫停面板（購物車／結帳）：與其他頁同一層白卡，不加 2px 墨框 */
.pause-panel { border: 0; border-radius: 16px; box-shadow: var(--shadow-card); padding: 20px; }
@media (min-width: 1024px) { .pause-panel { padding: 24px; } }
/* 10-19 收尾 c1-2：手機先看買什麼與合計，再填 Email、勾同意、付款（原本摘要在付款鈕下方，付款前看不到金額）。
   只在單欄（≤767）生效；768 起兩欄、摘要本來就在右欄，不動。只改視覺順序，讀屏與 Tab 仍是表單在前。上線前送卓然確認（REFACTOR_BACKLOG #71） */
@media (max-width: 767px) {
  .b2-checkout .checkout-summary { order: -1; }
}

/* ===== 10-19 收尾 c2 取卡頁 ===== */
/* 只作用於 body.b2-order（order-success）；取卡腳本的輪詢、token、狀態判斷、清購物車與複製邏輯不動，檢查讀的 class 與字串保留 */

/* 付款後的取卡頁不需要頁首提示列「付款後自動發卡・免註冊・全方案吃到飽」（一行可撤） */
body.b2-order .site-notice { display: none; }

/* 整頁段落末行不留單字（支援的瀏覽器才生效，不支援時照舊換行）；WebKit 由 b2-common.css「10-19 折疊內文左右留白」改回一般換行 */
.b2-order .success-page { text-wrap: pretty; }
/* 頁頭：H1 與全站同為 32px，綠勾跟著放大到 28px */
.b2-order .success-head__title { font-size: var(--fs-1); line-height: 1.25; }
.b2-order .success-check { width: 28px; height: 28px; }
/* 狀態行：H1、卡片徽章或下方區塊已經寫了同一件事，畫面上不再重複，只留給讀屏（仍在 aria-live 區）。
   warn 類提醒（「連線不穩，將自動重試…」「部分需要協助」、待付款逾時的「尚未收到付款確認」）照常顯示，待付款與付款確認中斷網時也看得到；
   只有超時卡、錯誤卡已經寫了同一件事，這兩種狀態連 warn 也只留給讀屏 */
.b2-order .success-status:not(.success-status--warn),
.b2-order .success-page:has(.esim-timeout, .esim-error) .success-status {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* 顯示時在 H1 下方獨佔一行（原為 inline-block，寬螢幕會排到 H1 右邊） */
.b2-order .success-status--warn { display: block; width: fit-content; margin-top: 12px; }
/* 離開提示：米底一般字重，不用橙框與警示符號（display 交給原規則：付款確認前不顯示）；文字左緣和卡片內文字同為 20（1024 起 24） */
.b2-order .success-leave-notice { margin-top: 12px; padding: 12px 20px; background: var(--color-cream-deep); border: 0; font-weight: 400; color: var(--color-ink); }
.b2-order .success-leave-notice__icon { display: none; }

/* 卡片：與購物車、結帳同一層白卡（不加描邊）；超時卡和錯誤卡同一套外觀（原為黃底黃框） */
.b2-order .success-block { border: 0; box-shadow: var(--shadow-card); }
.b2-order .esim-timeout { border: 0; background: var(--color-paper); box-shadow: var(--shadow-card); }
/* 卡外與卡內標題都用 Noto Sans TC（H2 起不用圓體，第八節第 7 條）；H1 仍是圓體 */
.b2-order .success-block__title,
.b2-order .esim-acc__title { font-family: var(--font-sans); }

/* 取卡區：拿掉外層白卡，每張 eSIM 自己是一張白卡；展開的那張墨框 */
.b2-order .esim-multi { padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.b2-order .esim-multi > .success-block__title { margin: 0 0 8px; font-size: var(--fs-2); line-height: 1.3; }
.b2-order .esim-multi-note { margin: 0 0 12px; }
.b2-order .esim-acc { gap: 12px; }
.b2-order .esim-acc__item { background: var(--color-paper); border: 2px solid transparent; box-shadow: var(--shadow-card); }
.b2-order .esim-acc__item[open] { background: var(--color-paper); border-color: var(--color-ink); }
/* 卡片列：名稱、徽章、+／− 同一行並垂直置中，方案一行（整寬）；+／− 與產品頁折疊同款（28px 米色圓）；
   文字左緣 2＋18＝20（1024 起 2＋22＝24），和訂單卡、提醒框對齊 */
.b2-order .esim-acc__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; grid-template-areas: "title pill mark" "meta meta meta";
  align-items: center; column-gap: 8px; row-gap: 4px; padding: 16px 18px;
}
/* 鍵盤焦點：卡片外層 overflow: hidden 會把外擴的焦點框裁掉，改畫在列內（同產品頁折疊） */
.b2-order .esim-acc__row:focus-visible { outline-offset: -5px; border-radius: 14px; }
.b2-order .esim-acc__body { padding: 0 18px 18px; }
.b2-order .esim-acc__title { grid-area: title; min-width: 0; overflow-wrap: anywhere; }
/* 「有效 N 天，每日自動續期」這類短句不在詞中間斷行，改在空格或「，」後換行 */
.b2-order .esim-acc__meta { grid-area: meta; min-width: 0; overflow-wrap: anywhere; word-break: keep-all; }
.b2-order .esim-acc__row > .esim-pill { grid-area: pill; justify-self: end; }
.b2-order .esim-acc__chevron {
  grid-area: mark; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  border: 0; border-radius: 999px; background: var(--color-cream-deep); transform: none;
}
.b2-order .esim-acc__chevron::before { content: '+'; color: var(--color-ink); font-size: 20px; font-weight: 400; line-height: 1; }
.b2-order .esim-acc__item[open] .esim-acc__chevron::before { content: '−'; }
/* 徽章：「已可安裝」白底墨框、「製作中」米底，多張時一眼分得出哪張能裝（「已可安裝」原為 #D96A11 字在 #FFEEDD 底，3.08:1） */
.b2-order .esim-pill { border: 1px solid transparent; padding: 1px 9px; }
.b2-order .esim-pill--ready { background: var(--color-paper); border-color: var(--color-ink); color: var(--color-ink); }
.b2-order .esim-acc__body > :first-child { margin-top: 0; }

/* QR：拿掉米色外框，放大到 220px（窄螢幕不超出卡片） */
.b2-order .esim-onetap-note { margin: 8px 0 0; }
.b2-order .esim-qr { margin: 16px 0 0; padding: 0; background: none; border: 0; border-radius: 0; }
.b2-order .esim-qr img { width: 220px; height: auto; max-width: 100%; aspect-ratio: 1 / 1; padding: 8px; border-radius: 12px; }
.b2-order .esim-qr__cap { max-width: 340px; margin: 12px auto 0; }
/* 卡號、手動輸入、續期、APN 教學：同一套細線分隔列 */
.b2-order .esim-qr__iccid { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--color-rule); color: var(--color-ink); overflow-wrap: anywhere; }
.b2-order .esim-manual,
.b2-order .esim-renew,
.b2-order .esim-apn-guide { margin: 12px 0 0; padding: 12px 0 0; background: none; border: 0; border-top: 1px solid var(--color-rule); border-radius: 0; }
/* 兩個內層折疊（手動輸入、Android APN 教學）：墨字標題，右側 +／− 與產品頁同款 */
.b2-order .esim-manual > summary,
.b2-order .esim-apn-guide > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px;
  list-style: none; cursor: pointer; color: var(--color-ink); font-size: var(--fs-4); font-weight: 700; line-height: 1.5;
}
.b2-order .esim-manual > summary::-webkit-details-marker,
.b2-order .esim-apn-guide > summary::-webkit-details-marker { display: none; }
.b2-order .esim-manual > summary::after,
.b2-order .esim-apn-guide > summary::after {
  content: '+'; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 28px;
  border-radius: 999px; background: var(--color-cream-deep); color: var(--color-ink); font-size: 20px; font-weight: 400; line-height: 1;
}
.b2-order .esim-manual[open] > summary::after,
.b2-order .esim-apn-guide[open] > summary::after { content: '−'; }
.b2-order .esim-manual__body,
.b2-order .esim-apn-guide__body { margin-top: 8px; }
/* 手動輸入欄位：標籤一行，值＋「複製」一行（320px 不擠）；複製鈕不換行、墨框、點擊區高 44 */
.b2-order .esim-manual__field { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 8px; margin-bottom: 12px; }
.b2-order .esim-manual__label { grid-column: 1 / -1; }
.b2-order .esim-manual__val { padding: 8px 10px; }
.b2-order .esim-copy { min-height: 44px; padding: 0 14px; border-color: var(--color-ink); color: var(--color-ink); white-space: nowrap; }
.b2-order .esim-manual__caveat { margin-top: 12px; }
/* 續期：保留原文與狀態，只拿掉外框 */
.b2-order .esim-renew__line { margin: 4px 0 0; }
/* APN 值與各廠牌名稱改墨字（深橙 #D96A11 在白底 3.49:1、在米白底 #FDFAF3 3.35:1）；手動輸入與 APN 教學的折疊標題、教學連結同理 */
.b2-order .esim-apn { margin-top: 12px; }
.b2-order .esim-apn__val { color: var(--color-ink); overflow-wrap: anywhere; }   /* 很長的 APN 值也在卡片內換行 */
.b2-order .apn-brand__name { color: var(--color-ink); }
/* 截圖提醒與教學連結：提醒文字左緣同卡片（20，1024 起 24）；連結墨字底線，點擊區高 44 */
.b2-order .esim-reminder { margin-top: 12px; padding: 14px 20px; }
.b2-order .esim-guide-link { margin: 4px 0 0; }
.b2-order .esim-guide-link a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
/* 逐卡失敗、製作中（逐卡與整塊）：和其他文字同樣靠左 */
.b2-order .esim-mini-fail { text-align: left; padding-top: 0; }
.b2-order .esim-mini-prep,
.b2-order .esim-card--preparing { text-align: left; }
.b2-order .esim-mini-prep .esim-prep__spinner,
.b2-order .esim-card--preparing .esim-prep__spinner,
.b2-order .esim-card--preparing .esim-prep__desc { margin-left: 0; }
/* 待付款／付款確認中：區塊標題和 H1 是同一句，不重複；段落與超時、錯誤卡同為 14px、段距 12 */
.b2-order .esim-pending > .success-block__title,
.b2-order .esim-confirming > .success-block__title { display: none; }
.b2-order .esim-pending p,
.b2-order .esim-confirming p { margin: 0 0 12px; color: var(--color-ink-soft); font-size: var(--fs-4); line-height: 1.7; }

/* 訂單卡：訂單編號（一行）與「您購買的方案」併成一張白卡，放在取卡區之後 */
.b2-order .order-ref-card {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px;
  margin-top: 32px; padding: 20px 20px 12px; background: var(--color-paper); border: 0; border-radius: 16px 16px 0 0;
  box-shadow: var(--shadow-card); clip-path: inset(-4px -4px 0 -4px);
}
.b2-order .order-ref-card__label { color: var(--color-ink-soft); font-weight: 400; }
.b2-order .order-ref-card__id { margin: 0; font-family: var(--font-sans); font-size: var(--fs-3); letter-spacing: 0; overflow-wrap: anywhere; }
.b2-order .order-ref-card__hint { flex: 1 1 100%; }
/* 待付款、付款確認中、逾期關閉：下方區塊已寫「請附上訂單編號聯絡 LINE 客服」，編號提示不重複；
   其餘狀態（付款後、退款、待付款但已有交付卡）這句是唯一的客服指引，照常顯示 */
.b2-order .success-page:has(.esim-pending, .esim-confirming, .esim-error) .order-ref-card__hint { display: none; }
/* 下半張往上疊 1px，兩半交界不留淺色接縫 */
.b2-order #order-ref:not(:empty) + #order-summary { margin-top: -1px; padding-top: 0; border-radius: 0 0 16px 16px; clip-path: inset(0 -4px -4px -4px); }
.b2-order #order-ref:not(:empty) + #order-summary > .success-block__title { padding-top: 12px; border-top: 1px solid var(--color-rule); }
.b2-order #order-ref:has(+ #order-summary:empty) .order-ref-card { padding-bottom: 20px; border-radius: 16px; clip-path: none; }
.b2-order .order-line--total strong,
.b2-order .order-line--discount strong { color: var(--color-ink); }
/* 方案名稱是後台目錄文字（E6-23）：不斷行的長串在 320px 也要換行，不撐出橫向捲動；一般長度的方案行在空格或「，」後換行 */
.b2-order #order-summary .order-line > span:first-child { overflow-wrap: anywhere; word-break: keep-all; }

/* 加購入口：一段字（不再是一張卡）；標題和「您的 eSIM」同為卡外 H2、同字級；付款確認前不出現 */
.b2-order .success-topup-note { margin-top: 32px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.b2-order .success-topup-note > .success-block__title { margin: 0 0 8px; font-size: var(--fs-2); line-height: 1.3; }
.b2-order .success-topup-note__desc { margin: 0; }
.b2-order .success-topup-note a { color: var(--color-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.b2-order .success-page--unconfirmed .success-topup-note { display: none; }
.b2-order .success-actions { margin-top: 32px; }

@media (min-width: 1024px) {
  /* 1024 起各卡文字左緣統一內縮 24 */
  .b2-order .success-leave-notice,
  .b2-order .esim-reminder { padding-left: 24px; padding-right: 24px; }
  .b2-order .esim-acc__row { padding: 16px 22px; }
  .b2-order .esim-acc__body { padding: 0 22px 22px; }
  .b2-order .esim-pending,
  .b2-order .esim-confirming,
  .b2-order .esim-error,
  .b2-order .esim-timeout,
  .b2-order .esim-card--preparing { padding: 24px; }
  .b2-order .order-ref-card { padding: 24px 24px 12px; }
  .b2-order #order-ref:not(:empty) + #order-summary { padding: 0 24px 24px; }
  .b2-order #order-ref:has(+ #order-summary:empty) .order-ref-card { padding-bottom: 24px; }
}

/* ===== 10-19 收尾 c3 選單、頁尾與選單幾頁 ===== */
/* c3-1 手機選單：展開時三條線變 ×；面板 160ms 下滑淡入（減少動態時關掉）；目前頁米底墨字；觸控裝置點過不留橙底 */
.site-header__menu-btn span { transition: transform .16s ease, opacity .16s ease; }
.site-header__menu-btn[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.site-header__menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__menu-btn[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
@media (hover: none) {
  .site-header__menu-btn:hover { transform: none; background: transparent; color: var(--color-ink); }
}
.site-header__mobile-nav:not([hidden]) { animation: npn-nav-in .16s ease-out; }
@keyframes npn-nav-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.site-header__mobile-nav a[aria-current="page"] { color: var(--color-ink); background: var(--color-cream-deep); }
@media (prefers-reduced-motion: reduce) {
  .site-header__mobile-nav:not([hidden]) { animation: none; }
  .site-header__menu-btn span { transition: none; }
}
/* c3-1 頁尾：標語降成正文大小；版權行手機分兩行（公司名一行、統編一行，不再在全形括號前斷開），768 起一行、中間「・」；手機展開後每行都是 44 高（原本 44／52 不一） */
.site-footer__desc { font-size: var(--fs-3); }
.site-footer__tax { display: block; }
.site-footer__sep { display: none; }
@media (min-width: 768px) {
  .site-footer__tax { display: inline; }
  .site-footer__sep { display: inline; }
}
@media (max-width: 767px) {
  .site-footer__links { gap: 0; }
  .site-footer__routes > a { display: flex; align-items: center; min-height: 44px; }
}
/* c3-2 選單幾頁共用節奏（加購頁 c3-3、指南與法務 c4 只加 body class，不另寫一份）：區塊上下各 16（塊間 32），頁頭後第一塊 8（768 起 16），拿掉幾乎看不出的淺色帶；
   標題到問答 12、問答之間 12、問答組之間 32 */
:is(.b2-destinations, .b2-faq, .b2-topup, .b2-guide, .b2-legal) main > .section,
:is(main.b2-setup, .b2-about) > .section { padding-block: 16px; background: transparent; }
:is(.b2-destinations, .b2-faq, .b2-topup, .b2-guide, .b2-legal) main > .page-header + .section,
:is(main.b2-setup, .b2-about) > .page-header + .section { padding-top: 8px; }
@media (min-width: 768px) {
  :is(.b2-destinations, .b2-faq, .b2-topup, .b2-guide, .b2-legal) main > .page-header + .section,
  :is(main.b2-setup, .b2-about) > .page-header + .section { padding-top: 16px; }
}
:is(.b2-faq, .b2-topup, .b2-setup, .b2-guide) :is(h2, h3) + .faq-list { margin-top: 12px; }
:is(.b2-faq, .b2-topup, .b2-setup, .b2-guide) .faq-list { gap: 12px; }
.b2-faq h2.u-mt-40 { margin-top: 32px; }
/* 末行不留一兩個字（Chrome 支援；不支援時照一般換行）；問答答案（div.faq-item__body）一起。
   只給非 WebKit：WebKit（iPhone 上所有瀏覽器）的 pretty 會整段重排、把每一行收短，右邊空出一截（加購頁頁頭 390 寬右比左多 74.8），
   和 b2-common.css「10-19 折疊內文左右留白」同一個原因、同一個認法（只有 WebKit 支援 hanging-punctuation），WebKit 照一般換行 */
@supports not (hanging-punctuation: first) {
  :is(.b2-destinations, .b2-faq, .b2-topup) main :is(p, summary, .hint, .faq-item__body),
  :is(main.b2-setup, .b2-about) :is(p, summary, .hint, .faq-item__body) { text-wrap: pretty; }
}
/* 問答標題兩行時兩行一樣長，不在詞中間斷（例「怎麼計｜算」→「是｜怎麼計算」） */
:is(.b2-faq, .b2-topup, .b2-setup) .faq-item > summary { text-wrap: balance; }
/* 「還有問題？問 LINE 客服」和內容同一條左緣 */
.help-outlet .container { justify-content: flex-start; }
/* 底部「出國上網指南」只剩總覽一個入口：標題本身就是連結（加底線，不再接只有一項的清單），點擊區上下補到 44；
   區塊最後一行（標題或「現已開賣」一列）不留下外距，到「還有問題？」是塊間 32 */
:is(.b2-faq, .b2-setup) .prose > h2 > a { padding-block: 11px; color: var(--color-ink); text-decoration: underline; text-underline-offset: 4px; }
:is(.b2-faq, .b2-setup) .prose > :last-child { margin-bottom: 0; }
/* 「現已開賣」一列：每個目的地連結連同後面的「、」「。」是一個單位（build.js 包 onsale-strip__item）——放不下就整個換到下一行，
   連結不從中間斷開、行首不出現「、」；後台名稱比一整行還長時才在單位內換行，不撐出視口 */
.onsale-strip__item { display: inline-block; max-width: 100%; }
/* 安裝教學：步驟之間 12；階段標題上 32、到第一步 12；APN 收成一個折疊；1024 起文字｜336px 圖兩欄頂對齊，手機照舊一欄 */
.b2-setup .steps { gap: 12px; }
.b2-setup .b2-guide-stage { margin: 20px 0 0; }
.b2-setup .steps > .b2-guide-stage:first-child { margin-top: 0; }
.b2-setup .guide-apn-fold { margin-top: 32px; }
.b2-setup .guide-apn-fold .faq-item__body p { margin: 0 0 12px; }
.b2-setup .guide-apn-fold .faq-item__body p:last-child { margin-bottom: 0; }
/* APN 通用步驟：三張圖替代原本一句文字；1023 以下一欄（圖 240 同其他步驟圖），1024 起三欄；圖說是步驟正文，16 墨色，前加序號 */
.b2-setup .guide-apn-steps { display: grid; gap: 16px; margin: 0 0 12px; padding: 0; list-style: none; counter-reset: apn-step; }
.b2-setup .guide-apn-steps > li { min-width: 0; counter-increment: apn-step; }
.b2-setup .guide-apn-steps .b2-setup-diagram { margin: 0; }
.b2-setup .guide-apn-steps .b2-setup-diagram > img { width: min(100%, 240px); }
.b2-setup .guide-apn-steps .b2-setup-diagram > figcaption { color: var(--color-ink); font-size: var(--fs-3); }
.b2-setup .guide-apn-steps figcaption::before { content: counter(apn-step) ". "; font-weight: 700; }
@media (min-width: 1024px) { .b2-setup .guide-apn-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (forced-colors: active) { .b2-setup .guide-apn-steps .b2-setup-diagram > figcaption { forced-color-adjust: auto; background-color: Canvas; } }
.b2-setup .step__text > p + p { margin-top: 12px; }
@media (max-width: 767px) { .b2-setup .step__text { display: contents; } }
@media (min-width: 1024px) {
  .b2-setup .step__body { align-items: start; }
  .b2-setup .step__body:not(:has(.b2-setup-diagram)) { grid-template-columns: minmax(0, 1fr); }
  .b2-setup .step__text { grid-column: 1; grid-row: 1; min-width: 0; }
  .b2-setup .step__text > p { margin-top: 12px; }
  .b2-setup .step__body .b2-setup-diagram { grid-row: 1; }
}
/* 關於：拿掉「有問題找誰」與卡片小圖示後剩兩張短卡＋經營者資訊；1024 起兩欄；手機主按鈕整寬 */
@media (min-width: 1024px) { .b2-about .about-overview__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .b2-about .about-overview__action .btn { width: 100%; } }
/* 關於的間距：卡片之間 12；手機插圖上下、經營者資訊到按鈕 32（原本 16／28／36／24 不一） */
.b2-about .about-overview__grid { row-gap: 12px; }
.b2-about .about-overview .b2-about-main { margin: 20px auto; }
.b2-about .about-overview__action { margin-top: 20px; }
/* 兩張短卡的句子不在詞中間斷（例「並付｜款」「三｜種網速」），斷在逗號、分號；經營者資訊卡不加（連結是不斷行的，加了會剩「。」單獨一行）。
   只給非 WebKit：WebKit 加了 keep-all 只在空格換行（320 寬「Email」「。」各自一行），同 b2-common.css toast 那條，WebKit 照一般斷行 */
@supports not (hanging-punctuation: first) { .b2-about .about-card:not(.about-card--operator) p { word-break: keep-all; } }
/* c3-3 加購天數頁（凍結頁，上線前送卓然確認；js/topup.js 不動）：表單卡、查詢結果卡與下方問答同寬、單層白卡；檔位「+N 天」墨字，選中白底 2px 墨框（橙色只留「前往付款」），確認列米底；強制色彩照舊反白 */
.b2-topup .topup-form,
.b2-topup .topup-result { max-width: none; padding: 20px; border: 0; border-radius: 16px; background: var(--color-paper); box-shadow: var(--shadow-card); }
.b2-topup .topup-result { margin-top: 12px; }
@media (min-width: 1024px) { .b2-topup .topup-form, .b2-topup .topup-result { padding: 24px; } }
.b2-topup .topup-option strong { color: var(--color-ink); }
.b2-topup .topup-option:hover { border-color: var(--color-ink); }
.b2-topup .topup-option.is-active { background: var(--color-paper); border-color: var(--color-ink); color: var(--color-ink); }
.b2-topup .topup-option.is-active strong { color: var(--color-ink); }
.b2-topup .topup-option.is-active .topup-option__price { color: var(--color-ink-soft); }
.b2-topup .topup-confirm-row { background: var(--color-cream-deep); }
@media (forced-colors: active) {
  .b2-topup .topup-option.is-active { forced-color-adjust: none; background: Highlight; border-color: Highlight; color: HighlightText; }
  .b2-topup .topup-option.is-active strong,
  .b2-topup .topup-option.is-active .topup-option__price { color: HighlightText; }
}
/* 頁頂已有黑底暫停條，頁內暫停提示改米底墨字、一般字重（不再兩塊黑底）；句首和暫停條同一句的「系統維護中，暫停銷售：」已刪 */
.b2-topup .page-header .pause-inline { background: var(--color-cream-deep); color: var(--color-ink); font-weight: 400; }
/* 查卡結果列：標籤不拆字（原本 320 寬「eSIM 卡｜號」「有效天｜數」）；值放不下時整塊換到下一行、靠右，不在卡號或句子中間斷 */
.b2-topup .topup-info-row { flex-wrap: wrap; row-gap: 4px; }
.b2-topup .topup-info-row > span:first-child { white-space: nowrap; }
.b2-topup .topup-info-row > strong { margin-left: auto; }
/* 加購不發新卡、頁頭已寫「不用登入帳號」：頁首提示列「付款後自動發卡・免註冊・全方案吃到飽」這頁不顯示（同結帳、取卡頁，一行可撤） */
body.b2-topup .site-notice { display: none; }
/* ===== 10-19 收尾 c4 指南與法務 ===== */
/* c4-1 指南（body.b2-guide，10 篇）與法務（body.b2-legal，條款、隱私、退款與解除權政策）長文版式。區塊上下與頁頭後第一塊用上面 c3 共用段（只加 body class）；
   頁頭說明與內文同寬；H2／H3 改回 Noto Sans TC（圓體只給 H1 與 logo）；H2 上 32 下 12、H3 上 24 下 8、段落與清單底 12、清單項之間 8、行高 1.7 */
:is(.b2-guide, .b2-legal) .page-header p { max-width: none; }
:is(.b2-guide, .b2-legal) .prose { line-height: 1.7; }
:is(.b2-guide, .b2-legal) .prose h2 { margin: 32px 0 12px; font-family: var(--font-sans); line-height: 1.35; }
:is(.b2-guide, .b2-legal) .prose h2:first-child { margin-top: 0; }
:is(.b2-guide, .b2-legal) .prose h3 { margin: 24px 0 8px; font-family: var(--font-sans); line-height: 1.4; }
:is(.b2-guide, .b2-legal) .prose p { margin: 0 0 12px; }
:is(.b2-guide, .b2-legal) .prose :is(ul, ol) { margin: 0 0 12px; padding-left: 22px; }
:is(.b2-guide, .b2-legal) .prose li { margin-bottom: 8px; line-height: 1.7; }
:is(.b2-guide, .b2-legal) .prose li:last-child,
:is(.b2-guide, .b2-legal) .prose > :last-child { margin-bottom: 0; }
/* 文中折疊後面接的那一句（原本 .u-mt-16 被 .prose p 蓋掉、貼著折疊）和折疊隔 12 */
.b2-guide .prose > details + p { margin-top: 12px; }
/* 最後一塊到頁尾 56（指南與法務同一個值） */
:is(.b2-guide, .b2-legal) main > .section:last-child { padding-bottom: 56px; }
/* 清單的項目都按線路收起時不留下空清單（指南常見問題的間距用上面 c3 共用段） */
.b2-guide .prose ul:not(:has(li)) { display: none; }
/* 頁頭標題、段落、清單、問答標題、三欄表格子末行不留一兩個字（五欄表格子不換行，text-wrap 會把 nowrap 蓋掉，不加）（標題用 pretty 不用 balance：balance 在 320–414 寬會把「支援」「國際」「網路」拆到兩行；
   問答答案與「動手前先注意」框內不加：框內文字加了 pretty，Chrome 有些框右邊空隙變大，負責人要框內左右留白平衡）；文中連結（例「韓國 eSIM 挑選指南」）不在詞中間斷（折疊與提醒框裡的連結不加，理由同上）。
   只給非 WebKit：WebKit（iPhone 上所有瀏覽器）的 pretty 會把每一行收短、keep-all 只在空格換行，同 b2-common.css「10-19 折疊內文左右留白」的認法，WebKit 照一般換行 */
@supports not (hanging-punctuation: first) {
  :is(.b2-guide, .b2-legal) :is(.page-header :is(h1, p), .prose > :is(h2, h3, p), .prose > :is(ul, ol) > li, .faq-item > summary, .price-table:not(.price-table--compare) :is(th, td)) { text-wrap: pretty; }
  .b2-guide .prose > :is(p, ul, ol) a:not(.btn) { word-break: keep-all; overflow-wrap: anywhere; }
}
/* 比較表：三欄表手機直接換行放得下（不必橫滑，也不顯示「↔ 表格可左右滑動比較」與右緣漸層），首欄至少放得下 4 個字（「比較項目」不拆成「比較項｜目」）；
   只給非 WebKit：WebKit 不套 pretty，格內換行會剩一個字（「用退卡針換｜卡」「單卡手機要拔下保｜管」），iPhone 照改前橫滑。
   五欄比較表照舊橫滑、格子不換行（換行會剩「向台灣電信申｜請」這類一個字），首欄固定，旅遊 eSIM 欄寬 10em */
.b2-guide .prose .price-table-block { margin: 12px 0; }
.b2-guide .price-table :is(th, td) { padding: 10px 12px; }
@supports not (hanging-punctuation: first) {
  .b2-guide .price-table:not(.price-table--compare) :is(th, td) { white-space: normal; overflow-wrap: anywhere; }
  .b2-guide .price-table:not(.price-table--compare) :is(tbody th, thead th:first-child) { min-width: calc(4em + 24px); }
  .b2-guide .price-table-block:not(:has(.price-table--compare))::after,
  .b2-guide .price-table-block:not(:has(.price-table--compare)) .price-table-hint { display: none; }
  /* 375 以下格子左右內距 8：320 寬第三欄不再每行只剩兩三個字（例「插進卡｜槽的｜小卡」） */
  @media (max-width: 374px) {
    .b2-guide .price-table:not(.price-table--compare) :is(th, td) { padding-inline: 8px; }
    .b2-guide .price-table:not(.price-table--compare) :is(tbody th, thead th:first-child) { min-width: calc(4em + 16px); }
  }
}
.b2-guide .price-table--compare td.price-table__hot { min-width: 10em; }
.b2-guide .price-table--compare :is(tbody th, thead th:first-child) { position: sticky; left: 0; z-index: 1; background: var(--color-paper); box-shadow: 1px 0 0 var(--color-rule); }
.b2-guide .price-table--compare thead th:first-child { background: var(--color-cream-soft); }
/* 「動手前先注意」提醒框改成和問答同一層白卡（R4：一層白卡、無邊），框內標題 16px */
.b2-guide .prose > .guide-apn:first-child { margin-top: 0; }
.b2-guide .guide-apn { padding: 20px; border: 0; background: var(--color-paper); box-shadow: var(--shadow-card); }
.b2-guide .prose .guide-apn__title { margin: 0 0 8px; font-size: var(--fs-3); line-height: 1.5; }
.b2-guide .guide-apn > :last-child { margin-bottom: 0; }
/* 指南總覽：每篇一行標題連結（粗體）＋下一行一句說明（說明是 <p>，不吃 CSS 的讀法也分得開）；標題連結點擊區用 ::before 上下各補 9、約 45 高（不佔版面），不碰上一項的說明 */
.b2-guide .prose .guide-index { padding-left: 0; list-style: none; }
.b2-guide .prose .guide-index li { margin-bottom: 12px; }
.b2-guide .prose .guide-index li > a:first-child { position: relative; display: block; width: fit-content; font-weight: 700; }
.b2-guide .prose .guide-index li > a:first-child::before { content: ""; position: absolute; inset: -9px 0; }
.b2-guide .prose .guide-index li > p { margin: 0; }
/* 手機底部按鈕都整寬、上下疊（間距 12） */
@media (max-width: 767px) { .b2-guide .btn-row .btn { width: 100%; } }

/* ===== R12（10-19）其餘頁面減法：照首頁、產品頁、全部目的地三頁的基準 =====
   基準：H1 32／H2 22／卡片標題與正文 16（正文墨色）／14 只給單行標籤；區塊之間 32、標題到內容 12；白卡圓角 16、無框；
   一屏一個橙色主按鈕，次要動作用 14px 墨色底線文字；同一件事一頁只說一次。只改版式與顯示，交易邏輯不動 */

/* r12-1 桌面左緣：窄閱讀欄（720／760／820）貼 1240 容器左緣（1440 寬時 x=100，與 logo 同一條），不再置中漂移；欄寬不變 */
@media (min-width: 1024px) {
  main .container:is(.container--720, .container--760, .container--820) {
    margin-left: max(var(--container-pad), calc((100% - var(--container)) / 2));
    margin-right: auto;
  }
}
/* 長文頁統一一個閱讀寬度：法務三頁 760 → 820，和指南、常見問題、安裝教學同寬 */
.b2-legal main .container--760 { max-width: 820px; }

/* r12-2 頁首提示列只放在瀏覽頁：購物車也不顯示（結帳、加購、取卡已隱藏） */
body:has(main.b2-cart) .site-notice { display: none; }

/* r12-3 購物車：每列「名稱／方案・有效天數」兩行，第二行墨色 14px；空購物車不再是一張大白卡 */
.b2-cart .cart-row__meta { color: var(--color-ink); line-height: 1.5; }
.b2-cart .cart-empty {
  display: grid; justify-items: center; gap: 16px;
  max-width: 480px; margin-inline: auto; padding: 16px 0 0;
  background: transparent; border: 0; border-radius: 0; box-shadow: none; text-align: center;
}
.b2-cart .cart-empty .state-illus { width: 120px; height: auto; margin: 0; }
.b2-cart .cart-empty h2 { margin: 0; font-size: var(--fs-2); }
.b2-cart .cart-empty .btn { width: 100%; }
@media (min-width: 1024px) { .b2-cart .cart-empty { grid-column: 1 / -1; margin-inline: auto; padding-top: 32px; } }

/* r12-4 加購天數：頁頭只留 H1；結果卡＝標題一行（目的地・方案）＋最多 4 列；標籤墨色 14、值 16 粗；檔位卡壓到 64 高、價格墨色 */
.b2-topup .form-field .hint { color: var(--color-ink); text-wrap: balance; }
.b2-topup .topup-result__title { margin: 0 0 4px; font-size: var(--fs-3); line-height: 1.5; overflow-wrap: anywhere; }
.b2-topup .topup-info-row { padding: 10px 0; align-items: baseline; }
.b2-topup .topup-info-row.topup-confirm-row { padding: 12px 16px; border-bottom: 0; border-radius: 12px; }
.b2-topup .topup-info-row > span:first-child { color: var(--color-ink); }
.b2-topup .topup-info-row > strong { font-family: var(--font-sans); font-size: var(--fs-3); }
.b2-topup .topup-result__subtitle { margin: 20px 0 12px; font-size: var(--fs-3); }
.b2-topup .topup-options { gap: 8px; margin-top: 0; }
.b2-topup .topup-option { display: grid; align-content: center; gap: 2px; min-height: 64px; padding: 8px 10px; border-width: 1.5px; border-color: #ece4d6; }
.b2-topup .topup-option.is-active { border-width: 2px; }
.b2-topup .topup-option strong { font-family: var(--font-sans); font-size: var(--fs-3); }
.b2-topup .topup-option__price,
.b2-topup .topup-option.is-active .topup-option__price { color: var(--color-ink); font-size: var(--fs-4); }
.b2-topup .topup-cap-note { color: var(--color-ink); font-size: var(--fs-3); line-height: 1.6; }
.b2-topup .topup-confirm { margin-top: 16px; }
/* r12-17 加購「自訂」：快捷 1／3／7 天＋自訂四顆（768 起一排、手機 2×2）；自訂打開檔位下方的原生下拉，外觀同產品頁天數觸發框 */
.b2-topup .topup-option--custom strong { font-weight: 700; }
.b2-topup .topup-custom { margin-top: 8px; }
.b2-topup .topup-custom[hidden] { display: none; }
.b2-topup .topup-custom__select {
  -webkit-appearance: none; appearance: none; min-height: 48px; padding: 0 40px 0 14px;
  border: 1px solid var(--color-ink-soft); border-radius: 12px;
  background: var(--color-paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231F1A14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  color: var(--color-ink); font-size: var(--fs-3); font-weight: 700; cursor: pointer;
}
@media (forced-colors: active) { .b2-topup .topup-custom__select { -webkit-appearance: menulist; appearance: auto; background-image: none; } }
.b2-topup .consent-check__label { font-size: var(--fs-4); }
.b2-topup .consent-check__label a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.b2-topup .faq-item__body { color: var(--color-ink); }

/* r12-5 取卡頁：頁頭一句墨字；續期、免設定 APN 改成卡內細線分隔的一行字；全頁只剩截圖提醒一個米色框；
   待付款／付款確認中一段字＋一個整寬主按鈕，其餘是同一行的 14px 文字連結 */
.b2-order .success-head__lead { max-width: none; color: var(--color-ink); }
.b2-order .esim-qr__cap,
.b2-order .esim-onetap-note,
.b2-order .esim-qr__iccid { color: var(--color-ink); }
.b2-order .esim-renew { color: var(--color-ink); font-size: var(--fs-4); line-height: 1.6; }
.b2-order .esim-renew__line:first-child { margin-top: 0; }
.b2-order .esim-apn--none { margin: 12px 0 0; padding: 12px 0 0; background: none; border: 0; border-top: 1px solid var(--color-rule); border-radius: 0; color: var(--color-ink); }
.b2-order .esim-reminder { color: var(--color-ink); }
.b2-order .esim-multi > .success-block__title { margin-bottom: 12px; }
.b2-order .esim-multi-note { margin: -4px 0 12px; color: var(--color-ink); }
.b2-order .esim-pending p,
.b2-order .esim-confirming p { color: var(--color-ink); font-size: var(--fs-3); line-height: 1.7; }
.b2-order .esim-timeout__actions { margin-top: 4px; }
.b2-order :is(.esim-pending, .esim-confirming) p.esim-links { margin: 4px 0 -8px; font-size: var(--fs-4); }
.b2-order .esim-acc__meta { color: var(--color-ink); }
.b2-order #order-summary > .order-line:last-of-type { padding-bottom: 0; }
.b2-order .esim-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 4px 0 0; }
.b2-order .esim-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--color-ink); font-family: var(--font-sans); font-size: var(--fs-4); font-weight: 400;
  text-decoration: underline; text-underline-offset: 3px;
}
.b2-order .esim-link:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; border-radius: 4px; }
/* 訂單卡：編號一行（標籤左、編號右），下面是方案列；沒有小標題，靠一條細線分開 */
.b2-order .order-ref-card { align-items: center; }
.b2-order .order-ref-card__label { color: var(--color-ink); font-size: var(--fs-4); }
.b2-order .order-ref-card__hint { color: var(--color-ink); }
.b2-order #order-summary .order-line { padding: 10px 0; border-bottom: 0; }
.b2-order #order-ref:not(:empty) + #order-summary > .order-line:first-child { margin-top: 0; padding-top: 12px; border-top: 1px solid var(--color-rule); }
.b2-order #order-summary .order-line + .order-line { border-top: 1px solid var(--color-rule); }
.b2-order .order-summary__email { margin-top: 4px; color: var(--color-ink); }
/* 加購入口：一行字 */
.b2-order .success-topup-note__desc { color: var(--color-ink); }

/* r12-6 安裝教學：步驟正文墨色；計天與期限只寫一次（tabs 下一行 14px）；手機示意圖縮到 240 寬；電腦版插圖縮小放 H1 右側 */
.b2-setup .step__body p,
.b2-setup .step__text p { color: var(--color-ink); }
.b2-setup .faq-item__body { color: var(--color-ink); }
.b2-setup .setup-note { margin: 12px 0 20px; color: var(--color-ink); font-size: var(--fs-4); line-height: 1.6; }
@media (max-width: 1023px) {
  .b2-setup .b2-setup-diagram > img { width: min(100%, 240px); }
}
@media (min-width: 1024px) {
  .b2-setup .step__body { grid-template-columns: minmax(0, 1fr) 240px; }
  .b2-setup .b2-setup-diagram > img { width: 240px; }
  .b2-setup .page-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .b2-setup .b2-setup-scene { flex: 0 0 160px; width: 160px; margin: 0; }
}

/* r12-7 頁底「更多」：一行「出國上網指南 →」（同首頁「全部常見問題 →」）＋一列「現已開賣」小膠囊＋（安裝教學）一行客服文字連結 */
.page-more .container { display: grid; gap: 12px; justify-items: start; }
.page-more .more-link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px;
  color: var(--color-ink); font-size: var(--fs-3); font-weight: 700; text-decoration: none;
}
.page-more .more-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.help-line { margin: 0; color: var(--color-ink); font-size: var(--fs-4); line-height: 1.6; }
.page-more .onsale-strip { width: 100%; }

/* r12-8 「現已開賣」：一列白色小膠囊（手機橫向滑動、768 起換行），「：」「、」「。」只留給讀屏（build.js onsale-strip__sep） */
.onsale-strip {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px;
  margin: 0; color: var(--color-ink); font-size: var(--fs-4); line-height: 1.5;
}
.prose .onsale-strip { margin: 16px 0 0; }
.onsale-strip__label { font-weight: 700; }
.onsale-strip__sep { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.onsale-strip__list {
  position: relative; /* 讀屏用的「、」是 absolute，要留在捲動區裡，不撐出頁面寬度 */
  display: flex; gap: 8px; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain;
  margin: -4px; padding: 4px; scrollbar-width: none;
}
.onsale-strip__list::-webkit-scrollbar { display: none; }
.onsale-strip .onsale-strip__item { display: inline-flex; flex: 0 0 auto; max-width: none; }
.onsale-strip .onsale-strip__item > a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: 999px; background: var(--color-paper); box-shadow: var(--shadow-card);
  color: var(--color-ink); font-size: var(--fs-4); font-weight: 400; white-space: nowrap; text-decoration: none;
}
.onsale-strip .onsale-strip__item > a:hover { box-shadow: inset 0 0 0 1.5px var(--color-ink); }
.onsale-strip .onsale-strip__more { align-items: center; gap: 6px; color: var(--color-ink); }
@media (min-width: 768px) {
  .onsale-strip__list { flex-wrap: wrap; overflow: visible; }
}

/* r12-9 常見問題：答案墨色 */
.b2-faq .faq-item__body { color: var(--color-ink); }

/* r12-10 關於：一張「標籤｜值」卡＋經營者資訊卡；卡內標題 16；電腦版插圖 320 寬放右欄 */
.b2-about .about-info { display: grid; margin: 0; }
.b2-about .about-info__row { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--color-rule); }
.b2-about .about-info__row:first-child { padding-top: 0; border-top: 0; }
.b2-about .about-info__row:last-child { padding-bottom: 0; }
.b2-about .about-info dt { color: var(--color-ink); font-weight: 700; }
.b2-about .about-info dd { margin: 0; color: var(--color-ink); overflow-wrap: anywhere; }
.b2-about .about-info a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.about-overview .about-card--operator h2 { margin: 0 0 12px; font-size: var(--fs-3); }
.b2-about .about-overview__grid { row-gap: 12px; }
.b2-about .about-overview .b2-about-main.b2-art-mobile { width: min(100%, 280px); margin: 20px auto; }
@media (max-width: 374px) { .b2-about .about-info__row { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1024px) {
  .b2-about .page-header .container,
  .b2-about .about-overview .container { max-width: var(--container); }
  .b2-about .about-overview__grid { grid-template-columns: minmax(0, 760px) 320px; justify-content: start; column-gap: 48px; align-items: start; }
  .b2-about .about-overview__grid > :not(.b2-art-desktop) { grid-column: 1; }
  .b2-about .about-overview .b2-about-main.b2-art-desktop { grid-column: 2; grid-row: 1 / span 3; width: 320px; margin: 0; }
}

/* r12-11 手機選單：連結墨色；展開時加一層半透明遮罩蓋住頁面（點遮罩＝點選單外，js/main.js 原本就會收起） */
.site-header__mobile-nav a { color: var(--color-ink); }
@media (max-width: 767px) {
  body:has(.site-header__mobile-nav:not([hidden]))::after {
    content: ""; position: fixed; inset: 0; z-index: 999; background: rgba(31, 26, 20, .24);
  }
}

/* r12-12 指南與法務長文：正文墨色（原本 p、li 是淺墨，整頁一片灰）；問答答案墨色 */
:is(.b2-guide, .b2-legal) .prose,
:is(.b2-guide, .b2-legal) .page-header p { color: var(--color-ink); }
.b2-guide .faq-item__body { color: var(--color-ink); }
.b2-guide .guide-apn p { color: var(--color-ink); }
/* 法務頁頭只有「最後更新」一行（條款第 9 條要用到），14px 淺墨；條款標題 16 粗、上 24 下 8，正文一字不動 */
.b2-legal .page-header p { color: var(--color-ink-soft); font-size: var(--fs-4); }
.b2-legal .prose h2 { margin: 24px 0 8px; font-size: var(--fs-3); line-height: 1.5; }
.b2-legal .prose h2:first-child { margin-top: 0; }
.b2-legal .prose .prose-list > li { margin-bottom: 12px; }

/* r12-13 指南「延伸閱讀」與「依目的地」：白色卡片連結（16 粗＋右側 ›），不再是一串底線連結 */
.b2-guide .prose ul.link-cards,
.b2-guide .prose ul.guide-index { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.b2-guide .prose ul.link-cards + *,
.b2-guide .prose ul.guide-index + * { margin-top: 32px; }
.b2-guide .prose :is(.link-cards, .guide-index) > li { margin: 0; line-height: 1.5; }
.b2-guide .prose :is(.link-cards, .guide-index) > li > a {
  position: relative; display: flex; align-items: center; min-height: 60px; padding: 12px 44px 12px 20px;
  border-radius: 16px; background: var(--color-paper); box-shadow: var(--shadow-card);
  color: var(--color-ink); font-size: var(--fs-3); font-weight: 700; text-decoration: none; overflow-wrap: anywhere;
}
.b2-guide .prose :is(.link-cards, .guide-index) > li > a::after {
  content: "›"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--color-ink-soft); font-size: 22px; font-weight: 400; line-height: 1;
}
.b2-guide .prose :is(.link-cards, .guide-index) > li > a::before { content: none; }
.b2-guide .prose :is(.link-cards, .guide-index) > li > a:hover { box-shadow: inset 0 0 0 1.5px var(--color-ink); }
.b2-guide .prose .guide-index li > a:first-child { display: flex; width: auto; }
.b2-guide .prose .guide-index li > a:first-child::before { content: none; }
@media (min-width: 768px) {
  .b2-guide .prose ul.guide-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* 指南總覽：分組標題到卡片 12、分組之間 32 */
.b2-guide .prose h2 + ul.guide-index { margin-top: 12px; }

/* r12-14 路徑拆行：一段裡的 iPhone／Android／Samsung 路徑各占一行（文字不改） */
.b2-guide .prose .path-line { display: block; margin-top: 4px; }

/* r12-15 eSIM 沒網路：7 步改成編號步驟卡（同首頁「三步就能上網」），iPhone／Android 各一行 */
.b2-guide .prose ol.guide-steps { display: grid; gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; counter-reset: gstep; }
.b2-guide .prose ol.guide-steps > li.guide-step {
  position: relative; margin: 0; padding: 16px 20px; counter-increment: gstep;
  border-radius: 16px; background: var(--color-paper); box-shadow: var(--shadow-card);
}
.b2-guide .prose ol.guide-steps > li.guide-step::before {
  content: counter(gstep); position: absolute; left: 20px; top: 16px;
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--color-cream-deep); color: var(--color-ink); font-size: var(--fs-3); font-weight: 700; line-height: 1;
}
.b2-guide .prose .guide-step > h3 { display: flex; align-items: center; min-height: 32px; margin: 0 0 8px; padding-left: 44px; font-size: var(--fs-3); line-height: 1.4; }
.b2-guide .prose .guide-step > p { margin: 0; }
.b2-guide .prose .guide-step > p + p { margin-top: 8px; }
.b2-guide .prose .guide-step > p > strong:first-child { margin-right: 2px; }
.b2-guide .prose .btn-row + .help-line { margin-top: 12px; }
.b2-guide .prose ol.guide-steps + h2 { margin-top: 32px; }
/* r12-17 eSIM 沒網路：步驟分進 iPhone／Android 頁籤（同安裝教學），頁籤後接的標題同樣留 32 */
.b2-guide .prose .tab-content + h2 { margin-top: 32px; }

/* 指南的表格與正文同一套 Noto Sans TC（原本是圓體，14px 看起來像粗體） */
.b2-guide .price-table, .b2-guide .price-table tbody td { font-family: var(--font-sans); }
/* r12-16 比較表（五欄）：手機每個比較項目一張白卡、四種方式各一行「方式：內容」，不必橫滑；768 起照原表格 */
@media (max-width: 767px) {
  .b2-guide .price-table-block:has(.price-table--compare) { padding: 0; background: none; border: 0; box-shadow: none; overflow: visible; }
  .b2-guide .price-table-block:has(.price-table--compare)::after { content: none; }
  .b2-guide .price-table-block:has(.price-table--compare) .price-table-scroll { overflow: visible; border: 0; border-radius: 0; background: none; }
  .b2-guide .price-table--compare,
  .b2-guide .price-table--compare tbody,
  .b2-guide .price-table--compare tr { display: block; width: 100%; min-width: 0; }
  .b2-guide .price-table--compare thead { display: none; }
  .b2-guide .price-table--compare tbody { display: grid; gap: 12px; }
  .b2-guide .price-table--compare tr { padding: 14px 16px; border-radius: 16px; background: var(--color-paper); box-shadow: var(--shadow-card); }
  .b2-guide .price-table.price-table--compare tbody :is(th, td) {
    display: block; position: static; padding: 0; border: 0; background: none; box-shadow: none;
    white-space: normal; min-width: 0; text-align: left; overflow-wrap: anywhere;
  }
  .b2-guide .price-table--compare tbody th { margin-bottom: 6px; font-size: var(--fs-3); font-weight: 700; color: var(--color-ink); }
  .b2-guide .price-table--compare td { padding: 4px 0; font-size: var(--fs-4); line-height: 1.6; color: var(--color-ink); }
  /* 方式名稱寫在 CSS，不在 HTML 加 data-label（屬性裡的方式名稱會接在多人共用那格的句子前面，被 copy-lint 的熱點規則攔下） */
  .b2-guide .price-table--compare td::before { font-weight: 700; }
  /* R13：旅遊 eSIM 欄挪到第二欄（每張卡第一行），方式名稱跟著換位 */
  .b2-guide .price-table--compare td:nth-of-type(1)::before { content: "旅遊 eSIM："; }
  .b2-guide .price-table--compare td:nth-of-type(2)::before { content: "國際漫遊："; }
  .b2-guide .price-table--compare td:nth-of-type(3)::before { content: "實體網卡："; }
  .b2-guide .price-table--compare td:nth-of-type(4)::before { content: "Wi-Fi 分享器："; }
  .b2-guide .price-table--compare td.price-table__hot { min-width: 0; font-weight: 700; }
}
/* 關於：簡介卡是兩句話，手機改成標籤在上、句子在下（經營者資訊照舊左右兩欄） */
@media (max-width: 767px) {
  .b2-about .about-card--intro .about-info__row { grid-template-columns: minmax(0, 1fr); }
}

/* ===== R13（10-19 夜）負責人立場複核：再減一輪、桌面不再右半空白 =====
   只改版式與顯示；交易邏輯、API、校驗、輪詢、token 不動 */

/* r13-1 「現已開賣」收進一張白卡（指南、安裝教學、常見問題頁底同一張）：標題 16 粗、膠囊米色底無陰影；
   手機膠囊列橫滑到卡片邊緣（看得出還有），768 起換行；有下一步按鈕的頁，按鈕也在卡裡（手機整寬） */
.buy-card {
  display: grid; gap: 16px; margin: 32px 0 0; padding: 20px;
  border-radius: 16px; background: var(--color-paper); box-shadow: var(--shadow-card);
}
.buy-card:not(:has(.onsale-strip, .btn)) { display: none; } /* 暫停銷售、沒有在售線時整張不出現 */
.buy-card .onsale-strip,
.prose .buy-card .onsale-strip { margin: 0; gap: 12px; }
.buy-card .onsale-strip__label { font-size: var(--fs-3); line-height: 1.4; }
.buy-card .onsale-strip__list { margin: -4px -20px; padding: 4px 20px; scroll-padding-inline: 20px; }
.buy-card .onsale-strip .onsale-strip__item > a { background: var(--color-cream-deep); box-shadow: none; }
.buy-card .onsale-strip .onsale-strip__item > a:hover { box-shadow: inset 0 0 0 1.5px var(--color-ink); }
.buy-card .btn-row { margin: 0; }
.page-more .buy-card { justify-self: stretch; margin: 0; }
@media (max-width: 767px) { .buy-card .btn-row .btn { width: 100%; } }
@media (min-width: 768px) {
  .buy-card { padding: 24px; }
  .buy-card .onsale-strip__list { margin: -4px; padding: 4px; }
}

/* r13-2 長文頁頭：H1 到導言 12（同產品頁 H1 到電信句）；只有 H1 的頁頭，手機版 H1 到第一個分組標題 24（電腦版本來就是 24） */
.b2-guide .page-header h1 + p { margin-top: 12px; }
@media (max-width: 1023px) {
  .page-header:has(> .container > h1:only-child) + .section > .container > h2:first-child { margin-top: 8px; }
}

/* r13-3 取卡頁：訂單卡每一項兩行（第一行「目的地・方案」、第二行有效天數，同購物車一列），金額靠右；
   續期狀態與進度各一行；待付款／確認中的客服入口和「已付款但沒更新？」同一行 */
.b2-order #order-summary .order-line { align-items: flex-start; }
.b2-order #order-summary .order-line > span:first-child { display: grid; gap: 2px; }
.b2-order .order-line__meta { font-size: var(--fs-4); line-height: 1.5; }
.b2-order .esim-renew__line + .esim-renew__line { margin-top: 2px; }
.b2-order .esim-links { gap: 0 16px; }
.b2-order .esim-links__lead { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink); font-size: var(--fs-4); }
.b2-order .esim-links__lead + .esim-link { margin-left: -12px; } /* 「…？」和後面第一個連結靠在一起，連結之間照舊 16 */
.b2-order :is(.esim-pending, .esim-confirming) p.esim-links + p.esim-links { margin-top: -8px; }
/* 待付款、付款確認中：卡片裡的客服連結縮成「問／聯絡 LINE 客服」，「聯絡客服時請附上此訂單編號」改回顯示在訂單卡編號下面（就在編號旁邊）；錯誤態照舊不顯示 */
.b2-order .success-page:has(.esim-pending, .esim-confirming):not(:has(.esim-error)) .order-ref-card__hint { display: block; margin: 0; font-size: var(--fs-4); line-height: 1.5; }

/* r13-4 取卡頁電腦版兩欄（同購物車）：左欄 eSIM，右欄訂單卡與加購入口；頁頭橫跨兩欄 */
@media (min-width: 1024px) {
  .b2-order .section--order-top .container--760 { max-width: var(--container); }
  .b2-order .success-page {
    display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-rows: auto auto auto auto 1fr;
    column-gap: 48px; align-items: start;
  }
  .b2-order .success-head { grid-column: 1 / -1; }
  .b2-order #esim-zone { grid-column: 1; grid-row: 2 / -1; min-width: 0; }
  .b2-order #order-ref { grid-column: 2; grid-row: 2; }
  .b2-order #order-summary { grid-column: 2; grid-row: 3; }
  .b2-order .success-topup-note { grid-column: 2; grid-row: 4; }
  .b2-order .success-topup-note { margin-top: 20px; }
  /* 已發卡：右欄訂單卡和左欄第一張 eSIM 卡上緣對齊（左欄多一行「您的 eSIM」標題，標題＋間距 41） */
  .b2-order .success-page:has(.esim-multi) .order-ref-card { margin-top: 73px; }
}

/* r13-5 加購天數電腦版兩欄：左欄查詢與結果（720），右欄常見問題；手機照舊上下排，問答離結果卡 32 */
.b2-topup .topup-layout__faq { margin-top: 32px; }
.b2-topup .topup-layout__faq > .section__title { margin-top: 0; }
@media (min-width: 1024px) {
  .b2-topup .topup-layout > .container {
    max-width: var(--container); display: grid; grid-template-columns: minmax(0, 720px) minmax(320px, 1fr);
    column-gap: 48px; align-items: start;
  }
  .b2-topup .topup-layout__faq { margin-top: 0; }
}

/* r13-6 連結卡標題只在空格與標點處換行、上下兩行盡量等長（「eSIM 沒網路怎麼辦？7 步驟…」不再把「7」留在上一行）；
   沒有斷點的長串照舊由 overflow-wrap: anywhere 換行，320 不溢出 */
.b2-guide .prose :is(.link-cards, .guide-index) > li > a { word-break: keep-all; text-wrap: balance; }
