/* 生命探險隊（只有生物網站載入）。版面是虛擬畫布，小螢幕由 js/share.js 等比例縮小 */
.bx::before { background: rgba(60, 20, 30, .28); }
.bx .explain-veil { z-index: 30; }
.bx-card { max-width: min(760px, 90%); }
/* 帶記憶圖的卡片（消化道路線最後一步，bio_route.js 的 exPic）：放寬到 style.css 給 .ex-pic 卡片的寬度，圖才不會被縮到 760 寬 */
.bx-card:has(.ex-pic) { max-width: min(1500px, 97vw); }
.bx-card p { font-size: 25px; line-height: 1.5; margin: 6px 0; }
.bx-card p.muted { font-size: 17px; }

/* 走路線：左邊地圖、右邊題目 */
.bx-route { display: flex; gap: 12px; padding: 62px 12px 12px; }
.bx-map { position: relative; flex: 1; min-width: 0; min-height: 0; }
.bx-svg { display: block; width: 100%; height: 100%; font-family: inherit; }
.bx-name { font-weight: 900; fill: #3a2a18; paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.bx-svg.hide-names .bx-name { display: none; }
.bx-loop { font-weight: 900; paint-order: stroke; stroke: #fff; stroke-width: 5px; transition: opacity .4s; }
.bx-token { pointer-events: none; }
.bx-pin { cursor: pointer; }
.bx-pin .ring { fill: rgba(255, 220, 90, .25); stroke: #f0a30a; stroke-width: 5; animation: bxPulse 1.1s infinite ease-in-out; }
.bx-pin.dim .ring { fill: rgba(255, 255, 255, .12); stroke: #c9a24a; stroke-width: 3; animation: none; }
.bx-pin.no { cursor: default; }
.bx-pin.no .ring { fill: rgba(192, 57, 43, .12); stroke: #c0392b; stroke-dasharray: 6 8; animation: none; }
.bx-pin.hint .ring { stroke: #1d8a4c; stroke-width: 8; fill: rgba(76, 201, 130, .35); }
@keyframes bxPulse { 50% { stroke-width: 9; } }
.bx-panel { position: relative; width: 340px; flex: none; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: rgba(255, 248, 230, .97); box-shadow: var(--shadow); overflow: auto; }
.bx-round { align-self: flex-start; padding: 3px 14px; border-radius: 999px; background: #8a3b4a; color: #fff; font-size: 19px; font-weight: 900; }
.bx-state { display: flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 800; color: var(--ink-2); }
.bx-state .dot { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.bx-prompt { font-size: 26px; line-height: 1.4; font-weight: 900; color: var(--ink); }
.bx-hint { font-size: 19px; font-weight: 800; color: #a86d10; }
.bx-opts { display: flex; flex-direction: column; gap: 9px; }
.bx-opt { padding: 12px 14px; border: 0; border-radius: 13px; background: #fff; box-shadow: inset 0 0 0 3px #d9c79f; font: inherit; font-size: 22px; font-weight: 800; color: var(--ink); text-align: left; cursor: pointer; }
.bx-opts:has(.bx-go) { position: sticky; bottom: 0; z-index: 2; }
.bx-opt:hover:not(:disabled) { box-shadow: inset 0 0 0 4px #f0a30a; }
.bx-opt.right { background: #d9f5e3; box-shadow: inset 0 0 0 4px #4cc982; }
.bx-opt.wrong { background: #fbe1de; box-shadow: inset 0 0 0 3px #e5675f; opacity: .7; }
.bx-guide { margin-top: auto; align-self: flex-end; width: 96px; height: 96px; object-fit: contain; pointer-events: none; }
.bx-timebar { height: 16px; border-radius: 9px; background: rgba(0, 0, 0, .12); overflow: hidden; }
.bx-timebar i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #e5484d, #f0a30a); }

/* 免疫射擊 */
.bx-fight { background-color: #5c1b28; touch-action: none; }
.bx-fight::before { background: rgba(40, 8, 16, .25); }
.bx-cv { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.bx-banner { position: absolute; left: 50%; top: 58px; transform: translateX(-50%); max-width: 74%; padding: 6px 18px; border-radius: 14px; background: rgba(255, 248, 230, .95); text-align: center; pointer-events: none; box-shadow: var(--shadow); }
.bx-banner b { display: block; font-size: 22px; color: #8a3b4a; }
.bx-banner span { font-size: 21px; font-weight: 800; color: var(--ink); }
.bx-bar { position: absolute; left: 14px; width: 210px; pointer-events: none; }
.bx-bar label { display: block; font-size: 18px; font-weight: 900; color: #fff; text-shadow: 0 1px 3px #000; }
.bx-bar span { display: block; height: 16px; border-radius: 9px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.bx-bar i { display: block; width: 0; height: 100%; transition: width .15s; }
.bx-bar.inf { top: 62px; }
.bx-bar.inf i { background: linear-gradient(90deg, #f0a30a, #e5484d); }
.bx-bar.learn { top: 118px; }
.bx-bar.learn i { background: linear-gradient(90deg, #6fd0a0, #2b9fe0); }
.bx-guns { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 10px; }
.bx-gun { position: relative; display: flex; align-items: center; gap: 6px; width: 170px; height: 82px; padding: 6px 10px; border: 0; border-radius: 16px; overflow: hidden; background: rgba(255, 248, 230, .92); box-shadow: inset 0 0 0 3px #d9c79f; font: inherit; font-size: 21px; font-weight: 900; color: var(--ink); cursor: pointer; touch-action: manipulation; }
.bx-gun.on { background: #fff; box-shadow: inset 0 0 0 5px #f0a30a, 0 0 18px rgba(255, 210, 90, .8); }
.bx-gun img, .bx-gun svg { width: 56px; height: 56px; object-fit: contain; flex: none; }
.bx-gun small { position: absolute; right: 8px; top: 3px; font-size: 14px; opacity: .55; }
.bx-gun .cd { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: rgba(40, 20, 10, .35); pointer-events: none; }
.bx-ask { max-width: min(720px, 90%); }
.bx-ask .bx-opts, .bx-ask > div:not(.hd) { display: flex; flex-direction: column; gap: 9px; }
.bx-askv { pointer-events: auto; }
.bx-chart { max-width: 420px; margin: 6px auto; padding: 6px; border-radius: 12px; background: #fffdf5; box-shadow: inset 0 0 0 2px #e2cfa6; }
.bx-chart svg { display: block; width: 100%; }

/* 動手實驗 */
.bx-ctrls { display: flex; flex-direction: column; gap: 9px; }
.bx-ctrl { display: flex; flex-direction: column; gap: 4px; font-size: 19px; font-weight: 800; color: var(--ink-2); }
.bx-range { width: 100%; height: 30px; accent-color: #c2552a; }
.bx-seg { display: flex; flex-wrap: wrap; gap: 5px; }
.bx-segb { flex: 1 1 auto; padding: 7px 8px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 2px #d9c79f; font: inherit; font-size: 18px; font-weight: 800; color: var(--ink); cursor: pointer; }
.bx-segb.on { background: #ffe9a8; box-shadow: inset 0 0 0 3px #f0a30a; }
.bx-go { width: 100%; }
.bx-orderlist { display: flex; flex-wrap: wrap; gap: 5px; }
/* 排序題選項多又短時排兩欄（bio_lab.js 加 bx-grid2），手機橫拿的右邊欄才放得下九個 */
.bx-opts.bx-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bx-opts.bx-grid2 .bx-opt { padding: 10px 8px; text-align: center; }
.bx-chip { padding: 3px 9px; border-radius: 999px; background: #d9f5e3; font-size: 17px; font-weight: 800; color: #1d8a4c; }
.bx-wnode { cursor: pointer; }
.bx-lab .bx-prompt { font-size: 24px; }

/* 育種室 */
.bx-shelf { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.bx-pet { padding: 3px 10px; border-radius: 999px; font-size: 16px; font-weight: 900; color: #2b2118; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .15); }

/* 抗藥性靶場 */
.bx-gens { position: absolute; right: 14px; top: 62px; display: flex; align-items: flex-end; gap: 6px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 248, 230, .95); pointer-events: none; }
.bx-gens b { writing-mode: vertical-rl; font-size: 16px; color: var(--ink-2); }
.bx-gens .g { position: relative; display: flex; flex-direction: column; justify-content: flex-end; width: 44px; height: 88px; }
.bx-gens .g i { display: block; background: #8a55c9; border-radius: 5px 5px 0 0; }
.bx-gens .g small { font-size: 12px; text-align: center; white-space: nowrap; }
.bx-fig { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.bx-fig svg { width: 100%; height: 100%; }

/* 手機直拿（2026-11-06 孩子用🚩回報〈水上樓〉「沒有題目」，360×631）：整頁照 1200 寬縮小只剩 0.3 倍，右邊細欄的題目字不到 10px。
   路線和實驗改成圖在上、題目在下；字照縮小的倍數放大，手機上約 15px。其他玩法和大解密的直拿還沒處理 */
body.portrait .bx-route { flex-direction: column; }
body.portrait .bx-map { flex: none; height: calc(var(--vw, 1vw) * 66); }
body.portrait .bx-panel { width: auto; flex: 1; gap: 20px; padding: 26px; }
body.portrait .bx-round { font-size: 44px; padding: 6px 26px; }
body.portrait .bx-state { font-size: 42px; gap: 12px; }
body.portrait .bx-state .dot { width: 40px; height: 40px; }
body.portrait .bx-prompt, body.portrait .bx-lab .bx-prompt { font-size: 56px; }
body.portrait .bx-hint { font-size: 42px; }
body.portrait .bx-opts { gap: 18px; }
body.portrait .bx-opt { padding: 22px 28px; border-radius: 22px; font-size: 50px; }
body.portrait .bx-guide { width: 150px; height: 150px; }
body.portrait .bx-timebar { height: 30px; border-radius: 15px; }
body.portrait .bx-ctrls { gap: 18px; }
body.portrait .bx-ctrl { font-size: 42px; gap: 8px; }
body.portrait .bx-range { height: 70px; }
body.portrait .bx-seg { gap: 10px; }
body.portrait .bx-segb { padding: 16px 14px; border-radius: 16px; font-size: 44px; }
body.portrait .bx-chip { font-size: 38px; padding: 6px 18px; }
body.portrait .bx-pet { font-size: 36px; }
body.portrait .bx-card { max-width: 94%; }
body.portrait .bx-card .hd { font-size: 60px; }
body.portrait .bx-card p { font-size: 50px; }
body.portrait .bx-card .go { font-size: 42px; }
body.portrait .bx-card .fb-link { font-size: 40px; }
body.portrait .bx-go { padding: 20px 24px; font-size: 48px; }
/* 直拿時解說卡放在上面的圖那一區，下面的題目和選項不要被蓋住（〈水上樓〉的回報是在解說卡上按的，畫面只剩答案、看不到題目） */
body.portrait .bx .explain-veil { place-items: start center; padding-top: 70px; }

/* 大解密〈會診〉：泡泡下面那行是這一步要問什麼（q），要比說明醒目（2026-11-07 🚩6：原本 q 沒顯示，孩子不知道在問什麼）
   家長 2026-11-14：「真正的問題只用深紅色小字寫在說明下方，導致學生不知道題目在問什麼」——共用樣式裡問句只有 16px（手機 26px），處境是 32px（手機 34px）。
   改成問句是泡泡裡最醒目的一行：比處境大、深色字、淡黃底、前面加 ❓，緊貼下面的選項；處境變成次要（小一點、顏色淡一點）。只改生物，共用的 style.css、PHONE_CSS 沒動 */
.council .cn-bubble .t { font-size: clamp(18px, 1.8vw, 24px); font-weight: 800; color: #5a4630; }
.council .cn-bubble .sub { margin-top: 8px; padding: 6px 12px; border-radius: 10px; background: #fff1c2; box-shadow: inset 5px 0 0 #e3a21a; color: var(--ink); font-size: clamp(22px, 2.3vw, 32px); font-weight: 900; line-height: 1.35; }
.council .cn-bubble .sub::before { content: "❓ "; }
@media (max-height: 520px), (max-width: 960px) {
  .council .cn-bubble .t { font-size: 27px; line-height: 1.3; }
  .council .cn-bubble .sub { font-size: 34px; }
}
/* 會診手機直拿（同一筆回報，iPhone 375×676）：照橫拿排只剩 0.3 倍，問句約 7px、選項約 9px。
   筆記收起來，泡泡和選項佔滿寬、選項一排一個，說話的人移到中間空白處；字照縮小的倍數放大，手機上約 15px */
body.portrait .council .cn-notes { display: none; }
body.portrait .council .cn-bubble { left: 40px; right: 40px; top: 66px; padding: 18px 28px; }
body.portrait .council .cn-bubble::before { display: none; }
body.portrait .council .cn-bubble .yr { font-size: 38px; padding: 4px 22px; }
body.portrait .council .cn-bubble .t { font-size: 42px; line-height: 1.35; }
body.portrait .council .cn-bubble .sub { font-size: 52px; margin-top: 14px; padding: 10px 18px; }
body.portrait .council .cn-ruler { left: 40px; bottom: auto; top: 44%; transform: translateY(-50%); width: 34%; }
body.portrait .council .cn-ruler .nm { font-size: 36px; }
body.portrait .council .cn-advisors { left: 40px; right: 40px; bottom: 44px; grid-template-columns: 1fr; gap: 20px; }
body.portrait .council .cn-adv .say { font-size: 48px; min-height: 0; padding: 22px 26px; gap: 16px; line-height: 1.3; }
body.portrait .council .cn-adv .say b { width: 60px; height: 60px; font-size: 34px; }
/* 大解密四種玩法的解說卡（會診、標本館、偵探、謊言怪）：直拿時字約 15px */
body.portrait :is(.council, .museum, .detective, .debate) .explain-card { max-width: 94%; }
body.portrait :is(.council, .museum, .detective, .debate) .explain-card .hd { font-size: 56px; }
body.portrait :is(.council, .museum, .detective, .debate) .explain-card p { font-size: 48px; }
body.portrait :is(.council, .museum, .detective, .debate) .explain-card .go { font-size: 40px; }
body.portrait :is(.council, .museum, .detective, .debate) .explain-card .fb-link { font-size: 40px; }

/* 標本館直拿（2026-11-07 自查）：原本展館名下的分法約 7px、展品小小一個、中間整片空白。
   展品放大置中，三個展館改成上下排，館名和分法放大 */
body.portrait .museum .mu-prog { top: 66px; font-size: 44px; padding: 10px 30px; }
body.portrait .museum .mu-ped { top: 170px; }
body.portrait .museum .mu-ped img { height: 760px; max-width: 86%; }
body.portrait .museum .mu-ped .plate { margin-top: 18px; padding: 10px 40px; font-size: 56px; }
body.portrait .museum .mu-doors { left: 40px; right: 40px; bottom: 44px; grid-template-columns: 1fr !important; gap: 22px; }
body.portrait .museum .mu-door { display: grid; grid-template-columns: 90px 1fr; column-gap: 18px; align-items: center; padding: 22px 30px 22px 76px; text-align: left; border-radius: 26px; }
body.portrait .museum .mu-door .ic { grid-row: span 2; font-size: 72px; text-align: center; }
body.portrait .museum .mu-door .lb { font-size: 56px; line-height: 1.2; }
body.portrait .museum .mu-door .era { font-size: 44px; line-height: 1.3; }
body.portrait .museum .mu-door .k { left: 18px; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; font-size: 30px; }
body.portrait .museum .mu-placard { grid-template-columns: 200px 1fr; }
body.portrait .museum .mu-placard > img { width: 200px; height: 200px; }
body.portrait .museum .mu-placard .mini-tw { display: none; }
/* 全部歸位後的館藏一覽：三館改成上下排 */
body.portrait .museum .mu-hall { left: 40px; right: 40px; top: 170px; bottom: 44px; grid-template-columns: 1fr !important; overflow: auto; }
body.portrait .museum .mu-hall .hd { font-size: 52px; }
body.portrait .museum .mu-hall .hd span { font-size: 40px; }
body.portrait .museum .mu-hall figure { width: 30%; }
body.portrait .museum .mu-hall figure img { height: 170px; }
body.portrait .museum .mu-hall figcaption { font-size: 40px; }

/* 偵探直拿：原本資料和問題左右兩欄，字 6～10px、圖表字不到 4px。改成資料在上、問題在下，各自可以捲 */
body.portrait .detective .dt-top { left: 40px; right: 40px; top: 62px; font-size: 42px; }
body.portrait .detective .dt-file { left: 40px; right: 40px; width: auto; top: 128px; bottom: 47%; padding: 22px 30px; }
body.portrait .detective .dt-file .kind { font-size: 46px; }
body.portrait .detective .dt-file .doc { font-size: 46px; line-height: 1.5; }
body.portrait .detective .dt-file .note { font-size: 40px; }
body.portrait .detective .dt-fig svg { max-height: 640px; }
body.portrait .detective .dt-clues { gap: 14px; }
body.portrait .detective .dt-clue { font-size: 42px; line-height: 1.35; padding: 16px 22px; }
body.portrait .detective .dt-ask { left: 40px; right: 40px; width: auto; top: auto; height: calc(47% - 70px); bottom: 44px; padding: 22px 28px; gap: 16px; }
body.portrait .detective .dt-ask .q { font-size: 48px; line-height: 1.35; }
body.portrait .detective .dt-ask .opts { gap: 14px; }
body.portrait .detective .dt-opt { font-size: 44px; line-height: 1.3; padding: 16px 20px; gap: 14px; }
body.portrait .detective .dt-opt b { width: 56px; height: 56px; font-size: 30px; }
body.portrait .detective .dt-worth { font-size: 40px; }

/* 謊言怪直拿：原本謊話泡泡和巨獸左右擠在最上面，字 7～12px。改成謊話在上、巨獸在中間、說法卡一排一張 */
body.portrait .debate .db-lie { left: 40px; right: 40px; width: auto; top: 66px; padding: 22px 30px; }
body.portrait .debate .db-lie::after { display: none; }
body.portrait .debate .db-lie .who { font-size: 42px; }
body.portrait .debate .db-lie .t { font-size: 56px; line-height: 1.4; }
body.portrait .debate .db-lie .ask { font-size: 46px; margin-top: 14px; padding: 8px 24px; }
body.portrait .debate .db-boss { right: 0; left: 0; margin: 0 auto; top: 36%; width: 56%; }
body.portrait .debate .db-boss .nm { font-size: 44px; }
body.portrait .debate .db-boss .hp { height: 30px; }
body.portrait .debate .db-boss img { height: 520px; }
body.portrait .debate .db-hand { left: 40px; right: 40px; bottom: 44px; grid-template-columns: 1fr; gap: 20px; }
body.portrait .debate .db-card { min-height: 0; padding: 18px 26px; }
body.portrait .debate .db-card .top { font-size: 42px; }
body.portrait .debate .db-card .t { font-size: 46px; line-height: 1.35; }

/* 會診最後的比較表直拿：原本表格縮在最上面、字約 8px。表格和卡片放大，用掉中間的空白 */
body.portrait .council .cmp-head { top: 62px; left: 40px; right: 40px; font-size: 42px; }
body.portrait .council .cmp-table { top: 130px; width: auto; left: 40px; right: 40px; gap: 10px; padding: 14px; }
body.portrait .council .cmp-table .colh { font-size: 44px; padding: 8px 6px; }
body.portrait .council .cmp-table .rowh { font-size: 42px; padding: 8px 6px; }
body.portrait .council .cmp-table .cell { font-size: 42px; min-height: 130px; padding: 8px 10px; line-height: 1.3; }
body.portrait .council .cmp-tray { left: 40px; right: 40px; width: auto; bottom: 44px; gap: 16px; }
body.portrait .council .cmp-card { font-size: 44px; padding: 14px 22px; border-radius: 16px; }

/* 防禦戰（bfight）直拿：說明、感染程度、武器按鈕原本 6～9px。放大，學習條移到右上，說明放在兩條下面 */
body.portrait .bx-fight .bx-bar { width: 440px; left: 40px; }
body.portrait .bx-fight .bx-bar.inf { top: 66px; }
body.portrait .bx-fight .bx-bar.learn { top: 66px; left: auto; right: 40px; }
body.portrait .bx-fight .bx-bar label { font-size: 40px; }
body.portrait .bx-fight .bx-bar span { height: 30px; border-radius: 15px; }
body.portrait .bx-fight .bx-banner { top: 300px; max-width: 92%; width: max-content; padding: 16px 30px; border-radius: 22px; }
body.portrait .bx-fight .bx-banner b { font-size: 48px; }
body.portrait .bx-fight .bx-banner span { font-size: 42px; line-height: 1.35; }
body.portrait .bx-fight .bx-guns { bottom: 44px; gap: 18px; flex-wrap: wrap; padding: 0 30px; }
body.portrait .bx-fight .bx-gun { width: 340px; height: 150px; gap: 12px; padding: 10px 18px; font-size: 42px; border-radius: 24px; }
body.portrait .bx-fight .bx-gun img, body.portrait .bx-fight .bx-gun svg { width: 100px; height: 100px; }
body.portrait .bx-fight .bx-gun small { font-size: 30px; right: 14px; top: 6px; }

/* ---------- 生物自己的玩法 ---------- */
/* 360 寬的手機縮放 0.56：標題按鈕、結算的標籤、比較表的列名都要 ≥ 25px（約 14px） */
html.hp .title-foot .btn, html.hp .all-subjects, html.hp .logo-sub { font-size: 25px; }
html.hp .result .stat { font-size: 25px; }
html.hp .cmp-table .rowh { font-size: 26px; }
html.hp .modal .tabs button, html.hp .modal .buffbar { font-size: 25px; }
/* 上面的資訊列：25px 在 360 寬會超出畫面 15px，用 24px、間距 6px 剛好排得下 */
html.hp .hud { gap: 6px; }
html.hp .hud .pill, html.hp .hud .btn, html.hp .hud .icon-btn { font-size: 24px; }
html.hp #s-play .fb-btn, html.hp #s-play .ttl { font-size: 25px; }
html.hp #dialog .next { font-size: 25px; }
html.hp .cn-ruler .nm { font-size: 25px; }
html.hp .result .loot .pill { font-size: 25px; }
html.hp #btn-map-parent, html.hp #s-chapters .chap-head .btn { font-size: 25px; }
/* 標題、章節列表、地圖面板的小標籤（20px 在直拿只剩 12px，放大到約 14px） */
html.hp .title-foot .credit { font-size: 25px; }
html.hp .legal-foot { font-size: 23px; }
html.hp .cc-num, html.hp .cc-stars, html.hp .chap-sep, html.hp .syl-info, html.hp .syl-g { font-size: 25px; }
html.hp .map-side .chap-card .muted, html.hp .map-side .chap-card .era { font-size: 25px; }
html.hp .side-btn small, html.hp #daily b { font-size: 25px; }
html.hp .side-btn { font-size: 25px; }
/* 結算、家長專區：答對／連擊／分數、遊玩次數這些標籤（16～20px 只剩 10～12px） */
html.hp .stat { font-size: 25px; }
html.hp .result .center { font-size: 25px !important; }
html.hp .result .btn { font-size: 25px; }
html.hp .wrong-list summary { font-size: 25px; }
html.hp .wrong-item { font-size: 25px; }
html.hp .wrong-item .muted { font-size: 25px; }
html.hp .modal p.muted { font-size: 25px; }
/* 會診的問句（q）要比說明醒目（家長 2026-11-14：問句原本比處境小，孩子不知道在問什麼；顏色、淡黃底、❓ 在 bio.css） */
html.hp .council .cn-bubble .t { font-size: 26px; }
html.hp .council .cn-bubble .sub { font-size: 33px; }
html.hp .cn-bubble .yr { font-size: 25px; }
/* 比較表：共用的 scenes.js 會在表格寫 bottom（橫拿時讓出卡片盤，2026-11-07），直式版面是由上往下排，要蓋掉，不然表格被推到畫面外 */
html.hp .scene.council.cmp-on > .cmp-table { top: auto !important; bottom: auto !important; overflow-y: visible !important; }

/* 谷地主線、實驗台、育種：圖在上、題目在下（原本左右並排，右邊細欄的字不到 10px） */
html.hp .bx-route { flex-direction: column; padding: 62px 10px 10px; gap: 10px; }
html.hp .bx-map { flex: none; height: calc(var(--vw, 1vw) * 62); }
html.hp .bx-panel { width: auto; flex: 1; gap: 12px; padding: 16px; }
html.hp .bx-round { font-size: 25px; padding: 4px 16px; }
html.hp .bx-state { font-size: 25px; gap: 8px; }
html.hp .bx-state .dot { width: 24px; height: 24px; }
html.hp .bx-prompt, html.hp .bx-lab .bx-prompt { font-size: 30px; }
html.hp .bx-hint { font-size: 25px; }
html.hp .bx-opts { gap: 12px; }
html.hp .bx-opt { padding: 14px 16px; border-radius: 14px; font-size: 28px; }
html.hp .bx-guide { width: 84px; height: 84px; }
html.hp .bx-timebar { height: 20px; border-radius: 10px; }
html.hp .bx-ctrls { gap: 12px; }
html.hp .bx-ctrl { font-size: 25px; gap: 6px; }
html.hp .bx-range { height: 44px; }
html.hp .bx-seg { gap: 8px; }
html.hp .bx-segb { padding: 10px 10px; border-radius: 12px; font-size: 25px; }
html.hp .bx-chip { font-size: 25px; padding: 4px 12px; }
html.hp .bx-pet { font-size: 25px; }
html.hp .bx-go { padding: 14px 18px; font-size: 28px; }
/* 解說卡放在上面的圖那一區，下面的題目和選項不要被蓋住 */
html.hp .bx .explain-veil { place-items: start center; padding-top: 70px; }
html.hp .bx-card { max-width: 94%; }
html.hp .bx-card .hd { font-size: 32px; }
html.hp .bx-card p { font-size: 27px; }
html.hp .bx-card p.muted { font-size: 25px; }
html.hp .bx-card .go { font-size: 25px; }
html.hp .bx-card .fb-link, html.hp .explain-card .fb-link { font-size: 25px; }
/* 帶記憶圖的卡片（消化道路線最後一步，bio_route.js 的 exPic，2026-11-16）：直拿時卡片最多 84% 高、超過要在卡片裡捲，
   直的記憶圖很高，下半截、「🔍 點圖放大」和「點一下繼續」都會跑到卡片外面看不到。
   說明那句藏起來（圖最上面已經有口訣），圖的高度扣掉標題、「點一下繼續」和卡片上下的空白，一張卡片整個看得到
   2026-11-20 統整圖：議事廳最後的過場（共用 scenes.js 的 .explain-card，不是 .bx-card）也會帶直圖，第一次測直拿一樣被擠出卡片，
   所以選擇器從 .bx-card 改成 .explain-card（路線、實驗台、射擊關的卡片也都有 .explain-card，照舊套到） */
html.hp .explain-card:has(.ex-pic) > p { display: none; }
html.hp .explain-card:has(.ex-pic) .ex-pic img { max-height: calc(var(--vh, 1vh) * 84 - 150px); }

/* 防禦戰：感染程度、學習條分在左右上角，說明放在兩條下面，武器按鈕放大 */
html.hp .bx-fight .bx-bar { width: 260px; left: 12px; }
html.hp .bx-fight .bx-bar.inf { top: 66px; }
html.hp .bx-fight .bx-bar.learn { top: 66px; left: auto; right: 12px; }
html.hp .bx-fight .bx-bar label { font-size: 26px; }
html.hp .bx-fight .bx-bar span { height: 20px; border-radius: 10px; }
html.hp .bx-fight .bx-banner { top: 230px; max-width: 94%; width: max-content; padding: 10px 18px; }
html.hp .bx-fight .bx-banner b { font-size: 28px; }
html.hp .bx-fight .bx-banner span { font-size: 25px; line-height: 1.35; }
html.hp .bx-fight .bx-guns { bottom: 14px; gap: 10px; flex-wrap: wrap; padding: 0 10px; }
html.hp .bx-fight .bx-gun { width: 190px; height: 92px; font-size: 25px; }
html.hp .bx-fight .bx-gun small { font-size: 22px; }

/* 標本館：三個展館改成上下排，館名和分法放大 */
html.hp .museum .mu-prog { font-size: 25px; }
html.hp .museum .mu-ped img { height: calc(var(--vh, 1vh) * 34); max-width: 86%; }
html.hp .museum .mu-ped .plate { font-size: 30px; }
html.hp .museum .mu-doors { left: 12px; right: 12px; bottom: 16px; grid-template-columns: 1fr !important; gap: 12px; }
html.hp .museum .mu-door { display: grid; grid-template-columns: 56px 1fr; column-gap: 10px; align-items: center; padding: 12px 16px 12px 48px; text-align: left; }
html.hp .museum .mu-door .ic { grid-row: span 2; font-size: 40px; text-align: center; }
html.hp .museum .mu-door .lb { font-size: 30px; line-height: 1.2; }
html.hp .museum .mu-door .era { font-size: 25px; line-height: 1.3; }
html.hp .museum .mu-door .k { left: 10px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; font-size: 18px; }

/* 偵探、謊言怪：說明和卡片的小字 */
html.hp .dt-file .doc { font-size: 27px; line-height: 1.5; }
html.hp .dt-file .kind { font-size: 27px; }
html.hp .dt-clue { font-size: 25px; }
html.hp .dt-worth, html.hp .dt-file .note { font-size: 25px; }
html.hp .dt-fig svg { max-height: 420px; }
html.hp .db-lie .who { font-size: 25px; }
html.hp .db-lie .t { font-size: 32px; }
html.hp .db-lie .ask { font-size: 25px; }
html.hp .db-card .top { font-size: 25px; }
