/* ============================================================
   v1.21.189 主官網大改版・樣板（只給老闆看樣板；老闆點頭後展開到全站、取代 /intro/）
   設計 token：史詩（深藍＋金，品牌記號 v1 的顏色）／Q 版（粉嫩，html[data-artstyle="q"]）兩套；元件全站共用
   ============================================================ */
:root {
  /* v1.21.209 CI v1.2（docs/brand）色票：深海藍 #101E30、古金 #D7AE60、象牙白 #F5EBDD、馬鬃藍 #263D59 */
  --ow-navy: #101E30; --ow-gold: #D7AE60; --ow-ivory: #F5EBDD; --ow-crest: #263D59;
  --navy: var(--ow-navy); --navy-2: #0C1727; --ink: #0C1727; --gold: var(--ow-gold); --gold-hi: #E4C27F; --cream: var(--ow-ivory);
  --bg: #0C1727; --bg-2: var(--ow-navy); --panel: var(--ow-navy); --line: rgba(215, 174, 96, .24); --line-2: rgba(245, 235, 221, .1);
  --text: var(--ow-ivory); --muted: #a9b2c2; --faint: #6f7a8c; --accent: var(--gold); --accent-ink: #1a1206;
  --serif: "Noto Serif TC", "Songti TC", serif; --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --r-s: 8px; --r: 14px; --r-l: 22px; --gap: clamp(14px, 2.4vw, 24px); --wrap: 1200px;
  --fs-hero: clamp(30px, 6.4vw, 64px); --fs-h2: clamp(22px, 3.6vw, 34px); --fs-h3: 18px; --fs-body: 16px; --fs-small: 13px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
html[data-artstyle="q"] {
  --navy: #2b2150; --navy-2: #241b44; --ink: #1d1530; --gold: #ff8fbf; --gold-hi: #ffc2dc; --cream: #fff6fb;
  --bg: #1d1530; --bg-2: #241a3d; --panel: rgba(54, 40, 82, .7); --line: rgba(255, 158, 199, .3); --line-2: rgba(255, 255, 255, .12);
  --text: #fff4fa; --muted: #d9c7e6; --faint: #a893bd; --accent: #ff8fbf; --accent-ink: #3a1430;
  --serif: "Huninn", var(--sans); --r: 20px; --r-l: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: var(--fs-body)/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[data-artstyle="q"] body { font-family: "Huninn", var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--gold-hi); }
.wrap { width: min(var(--wrap), 100% - 32px); margin: 0 auto; }
html[data-artstyle="q-wait"] .art-img { visibility: hidden; }

/* ---- 頂部：LOGO、導覽、立即出航（手機收成選單） ---- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(12, 23, 39, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
html[data-artstyle="q"] .top { background: rgba(29, 21, 48, .86); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: var(--hh, 100px); }
.top .brand img { width: 272px; height: auto; display: block; }   /* v1.21.209 CI：橫式組合最小 240px（圖含留白 X，標誌本身約 240px） */
.top .brand .lk-mark { display: none; width: 72px; }   /* 緊湊版頁首：頭盔（最小 48px） */
@media (max-width: 1000px) { .top { --hh: 78px; } .top .brand .lk-dark, .top .brand .lk-light { display: none !important; } .top .brand .lk-mark { display: block; } }
.top .brand .lk-light { display: none; }
.top nav { display: flex; gap: 4px; flex: 1; }
.top nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 15px; white-space: nowrap; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--text); background: var(--line-2); }
.top .go { margin-left: auto; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 6px 10px; font: inherit; }
@media (max-width: 1000px) {
  .top nav { display: none; position: absolute; top: var(--hh); left: 0; right: 0; flex-direction: column; padding: 10px 16px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
  .top.open nav { display: flex; }
  .menu-btn { display: inline-block; }
  .top .go { margin-left: auto; }
}

/* ---- 按鈕 ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--r-s); font: 700 16px var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn.gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--accent-ink); box-shadow: 0 6px 18px rgba(217, 167, 72, .3); }
.btn.ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn.small { padding: 8px 14px; font-size: 14px; }
html[data-artstyle="q"] .btn { border-radius: 999px; }

/* ---- 主視覺 ---- */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.hero .bg { position: absolute; inset: 0; background: center/cover no-repeat; transform: scale(1.04); }
.hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 23, 39, .1) 0%, rgba(12, 23, 39, .35) 45%, var(--bg) 100%), linear-gradient(90deg, rgba(16, 30, 48, .94) 0%, rgba(16, 30, 48, .8) 32%, rgba(16, 30, 48, 0) 62%); }   /* CI：左側深海藍漸層壓暗，標誌直接放在上面 */
@media (max-width: 760px) { .hero .bg::after { background: linear-gradient(0deg, rgba(16, 30, 48, 1) 0%, rgba(16, 30, 48, .95) 55%, rgba(16, 30, 48, 0) 82%); } .hero .god::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #101E30 0%, rgba(16, 30, 48, 0) 45%); } }   /* 手機：由下往上（字區下方加深） */
.hero .god { position: absolute; right: -4%; bottom: 0; width: min(62vw, 720px); aspect-ratio: 1; background: bottom right/contain no-repeat; }
.hero .in { position: relative; padding: 0 0 clamp(36px, 8vh, 80px); }
.hero .lk { width: clamp(220px, 34vw, 400px); height: auto; margin-bottom: 18px; }   /* CI：主視覺用 02 中英字標（頁首已有頭盔）；放在深海藍漸層上、不加陰影 */
.hero .lk-light { display: none; }
.hero h1 { font: 900 var(--fs-hero)/1.15 var(--serif); margin: 0 0 10px; letter-spacing: .04em; }
.hero h1 .nw { white-space: nowrap; }   /* 手機不讓「航。」單字掉行：逗號後整句換行 */
.hero p.sub { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); margin: 0 0 24px; max-width: 34em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .hero .god { width: 62vw; right: -14%; top: 4%; bottom: auto; opacity: .55; } }   /* 阿波羅複查：手機波賽頓移到右上，字標、副標落在乾淨的深藍區 */
html[data-artstyle="q"] .hero .lk-dark { display: none; }
html[data-artstyle="q"] .hero .lk-light { display: block; background: rgba(255, 250, 245, .82); border-radius: 22px; padding: 10px 18px; }
/* 11-20 老闆：Q 版頁首也是深紫底 → 用深底橫式（透明底），不再套淺底白方塊 */

/* ---- 即時資訊列（下一場世界王、開放等級） ---- */
.live { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: -30px; position: relative; z-index: 2; }
.live > div { background: var(--bg-2); padding: 16px 18px; }
.live small { display: block; color: var(--faint); font-size: var(--fs-small); }
.live b { font: 700 20px var(--serif); }
.live .cd { color: var(--gold-hi); font-variant-numeric: tabular-nums; }

/* ---- 區塊 ---- */
section.blk { padding: clamp(44px, 8vw, 88px) 0 0; }
.blk-h { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.blk-h h2 { font: 900 var(--fs-h2)/1.2 var(--serif); margin: 0; }
.blk-h h2 small { display: block; font: 500 12px var(--sans); letter-spacing: .3em; color: var(--gold); margin-bottom: 6px; }
.blk-h a { font-size: 14px; white-space: nowrap; }
.lead { color: var(--muted); max-width: 40em; margin: 0 0 18px; }

/* ---- 消息 ---- */
.news { display: grid; gap: 12px; }
.news a { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 14px 18px; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r); color: var(--text); text-decoration: none; }
.news .tag { grid-row: span 2; align-self: start; font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold-hi); }
.news b { font-size: 16px; }
.news span { color: var(--muted); font-size: 14px; }

/* ---- 圖鑑卡（大圖＋名＋一句＋數字） ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: var(--gap); }
.cards.sm { grid-template-columns: repeat(auto-fill, minmax(min(168px, 46%), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; color: var(--text); text-decoration: none; cursor: pointer; text-align: left; font: inherit; padding: 0; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: var(--line); }
.card .pic { position: relative; aspect-ratio: 4 / 3; background: var(--bg-2) center/cover no-repeat; }
.card .pic img { position: absolute; inset: 6% 6% 0; width: 88%; height: 94%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); }
.card .pic.noart { display: grid; place-items: center; font: 900 42px var(--serif); color: var(--line); }
.card .lv { position: absolute; top: 10px; left: 10px; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: var(--gold-hi); }
.card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.card .body b { font: 700 17px var(--serif); }
.card .body p { margin: 0; font-size: 14px; color: var(--muted); }
.card .nums { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--faint); margin-top: 4px; }
.card .nums i { font-style: normal; color: var(--text); }
.card.today { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.card.today::after { content: "今天"; position: absolute; top: 10px; right: 10px; font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--gold); color: var(--accent-ink); font-weight: 700; }

/* ---- 職業／九神 橫向輪播 ---- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 23%); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 760px) { .rail { grid-auto-columns: 62%; } }
.hero-card .pic { aspect-ratio: 3 / 4; }
.hero-card .pic img { inset: 2% 0 0; width: 100%; height: 98%; }

/* ---- 玩法亮點 ---- */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: var(--gap); }
.feat { padding: 20px; border-radius: var(--r); background: linear-gradient(160deg, var(--panel), transparent); border: 1px solid var(--line-2); }
.feat b { display: block; font: 700 18px var(--serif); margin-bottom: 6px; color: var(--gold-hi); }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---- 篩選＋搜尋 ---- */
.tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.tools input[type=search] { flex: 1 1 240px; min-width: 0; padding: 11px 14px; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { font: inherit; font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; }
.chips button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-hi); background: rgba(217, 167, 72, .1); }
.count { color: var(--faint); font-size: 14px; }

/* ---- 詳情抽屜 ---- */
dialog.drawer { width: min(720px, 100%); max-width: 100%; max-height: min(90vh, 900px); margin: auto 0 0 auto; height: 100%; padding: 0; border: 0; border-left: 1px solid var(--line); background: var(--bg-2); color: var(--text); overflow: auto; }
@media (max-width: 760px) { dialog.drawer { width: 100%; max-width: 100%; margin: auto 0 0; height: 88vh; max-height: 88vh; border-left: 0; border-top: 1px solid var(--line); border-radius: var(--r-l) var(--r-l) 0 0; } }
dialog.drawer::backdrop { background: rgba(0, 0, 0, .55); }
.dr-hero { position: relative; aspect-ratio: 16 / 9; background: center/cover no-repeat; }
.dr-hero img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 96%; width: auto; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .6)); }
.dr-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--bg-2)); }
.dr-x { position: sticky; top: 10px; float: right; margin: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: rgba(0, 0, 0, .55); color: var(--text); font-size: 18px; cursor: pointer; }
.dr-in { padding: 0 20px 28px; position: relative; }
.dr-in h3 { font: 900 26px var(--serif); margin: 0 0 4px; }
.dr-in h4 { font: 700 16px var(--sans); margin: 22px 0 8px; color: var(--gold-hi); }
.dr-in p { color: var(--muted); margin: 0 0 8px; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.kv div { background: var(--panel); border-radius: var(--r-s); padding: 8px 12px; }
.kv small { display: block; color: var(--faint); font-size: 12px; }
.kv b { font-variant-numeric: tabular-nums; }

/* ---- 資料表（手機可橫向捲） ---- */
.tbl { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r-s); }
.tbl table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14px; }
.tbl th, .tbl td { padding: 8px 12px; border-bottom: 1px solid var(--line-2); text-align: left; white-space: nowrap; }
.tbl th { color: var(--faint); font-weight: 500; background: rgba(255, 255, 255, .02); }
.tbl td.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tr:last-child td { border-bottom: 0; }

/* ---- 時段表 ---- */
.slots { display: flex; flex-wrap: wrap; gap: 6px; }
.slots span { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-variant-numeric: tabular-nums; font-size: 14px; }
.slots span.next { border-color: var(--gold); color: var(--gold-hi); }

/* ---- 加入 LINE、頁尾 ---- */
.join { margin-top: clamp(44px, 8vw, 88px); padding: clamp(28px, 5vw, 48px); border-radius: var(--r-l); background: radial-gradient(600px 240px at 20% 0%, rgba(217, 167, 72, .18), transparent), var(--panel); border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.join h2 { font: 900 var(--fs-h2) var(--serif); margin: 0 0 6px; }
.join p { margin: 0; color: var(--muted); }
footer.foot { margin-top: clamp(44px, 8vw, 88px); padding: 32px 0 calc(48px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-2); color: var(--faint); font-size: 14px; }
footer.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer.foot img { width: 72px; height: auto; }   /* CI：頁尾用頭盔（最小 48px） */
footer.foot a { color: var(--muted); text-decoration: none; }
.ph { outline: 1px dashed rgba(255, 143, 191, .55); outline-offset: 2px; }   /* 佔位文字（赫密士要寫的）：樣板階段標出來 */
.sample-note { position: fixed; left: 50%; transform: translateX(-50%); top: 84px; z-index: 60; font-size: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #ffd1e6; border: 1px dashed rgba(255, 143, 191, .7); }
/* v1.21.199 下拉選單：大項文字＝總覽頁連結；電腦滑過就展開；小箭頭點了展開（手機、鍵盤） */
.dd { position: relative; display: flex; align-items: center; }
.top nav .nv { color: var(--muted); text-decoration: none; padding: 8px 4px 8px 12px; border-radius: 999px 0 0 999px; font-size: 15px; white-space: nowrap; }
.top nav > a.nv { padding: 8px 12px; border-radius: 999px; }
.dd-arrow { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 8px 10px 8px 2px; border-radius: 0 999px 999px 0; font: inherit; }
.dd-arrow i { display: inline-block; font-style: normal; font-size: 11px; opacity: .75; transition: transform .2s; }
.top nav .nv:hover, .top nav .nv[aria-current], .dd.on > .nv, .dd.on > .dd-arrow { color: var(--text); }
.dd.on > .dd-arrow i { transform: rotate(180deg); }
.dd-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 180px; padding: 8px; margin-top: 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); z-index: 60; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }   /* 滑鼠從大項移到選單中間不會斷掉 */
.dd-menu.wide { display: none; grid-template-columns: repeat(3, minmax(140px, 1fr)); min-width: 480px; }
.dd.on > .dd-menu { display: block; } .dd.on > .dd-menu.wide { display: grid; }
.dd-menu a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 14px; white-space: nowrap; }
.dd-menu a:hover, .dd-menu a[aria-current="page"] { color: var(--text); background: var(--line-2); }
.dd-menu a[aria-current="page"] { color: var(--gold-hi); }
@media (hover: hover) and (min-width: 1001px) {
  .dd:hover > .dd-menu { display: block; } .dd:hover > .dd-menu.wide { display: grid; } .dd:hover > .dd-arrow i { transform: rotate(180deg); } .dd:hover > .nv { color: var(--text); }
  .dd-menu { top: calc(100% + 10px); }
}
@media (max-width: 1000px) {
  .top nav { display: none; position: absolute; top: var(--hh); left: 0; right: 0; flex-direction: column; gap: 2px; padding: 10px 16px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); max-height: calc(100vh - var(--hh)); overflow-y: auto; }
  .top.open nav { display: flex; }
  .menu-btn { display: inline-block; }
  .dd { flex-wrap: wrap; }
  .top nav .nv, .top nav > a.nv { flex: 1; border-radius: 10px; padding: 12px; font-size: 16px; }
  .dd-arrow { padding: 12px 14px; border-radius: 10px; }
  .dd-arrow i { font-size: 14px; }
  .dd-menu, .dd-menu.wide { position: static; flex-basis: 100%; min-width: 0; box-shadow: none; border: 0; background: none; padding: 0 0 6px 12px; }
  .dd-menu::before { display: none; }
  .dd.on > .dd-menu.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* v1.21.197 一般頁面：形象（大圖＋標題）＋資料層（資料站同一份程式，樣式只套在 .cx-embed） */
.phero { position: relative; min-height: clamp(260px, 38vw, 420px); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.phero .bg { position: absolute; inset: 0; background: center 35% / cover no-repeat; }
.phero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 17, 29, .25) 0%, rgba(10, 17, 29, .55) 55%, var(--bg) 100%); }
.phero .in { position: relative; padding: 0 0 clamp(26px, 4vw, 44px); }
.phero .kicker { margin: 0 0 6px; color: var(--gold-hi); font-size: 13px; letter-spacing: .2em; }
.phero h1 { margin: 0; font-size: clamp(32px, 5.4vw, 60px); line-height: 1.1; }
.phero .sub { margin: 10px 0 0; max-width: 46em; color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); }
.cx-embed { margin-top: clamp(20px, 3vw, 34px); background: transparent !important; }
/* 11-25 老闆：資料層字級、行距放寬；史詩用思源黑體，Q 版照舊用粉圓（老闆喜歡） */
:is(.cx-embed, .cx-embed p, .cx-embed li, .cx-embed td, .cx-embed th, .cx-embed small, .cx-embed .lead, .cx-embed button, .cx-embed input) { font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif; }
html[data-artstyle^="q"] :is(.cx-embed, .cx-embed p, .cx-embed li, .cx-embed td, .cx-embed th, .cx-embed small, .cx-embed .lead, .cx-embed button, .cx-embed input) { font-family: "Huninn", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif !important; }   /* 老闆：喜歡 Q 版的圓體 → Q 版照舊用粉圓 */
.cx-embed td { font-size: 14.5px; line-height: 1.75; font-weight: 400; }
.cx-embed th { font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.cx-embed td b, .cx-embed td strong { font-weight: 700; }
/* 11-25 老闆：標題字跑掉 → 資料層的大小標題固定用官網的標題字（史詩：思源宋體；Q 版：粉圓），金色、字級清楚 */
.cx-embed :is(h2, h3) { font-family: "Noto Serif TC", "Songti TC", serif !important; color: var(--gold-hi) !important; font-weight: 700; letter-spacing: .04em; }
.cx-embed h2 { font-size: clamp(20px, 2.6vw, 26px) !important; margin: 34px 0 12px !important; }
.cx-embed h3 { font-size: clamp(18px, 2.2vw, 22px) !important; margin: 26px 0 8px !important; }
.cx-embed .adv-cls > h3 { display: flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.cx-embed .adv-chip, .cx-embed .adv-boss b, .cx-embed .mc-card b { font-family: "Noto Serif TC", "Songti TC", serif !important; }
/* Q 版：標題、名牌也用粉圓（資料站的樣式會把 --serif 蓋成宋體，所以這裡直接寫字型） */
html[data-artstyle^="q"] .cx-embed :is(h1, h2, h3, h4, .adv-chip, .adv-boss b, .mc-card b, .adv-ult b, .adv-role, .card b, strong, b) { font-family: "Huninn", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif !important; }
.cx-embed .cx-main { max-width: none !important; margin: 0 !important; padding: 0 0 20px !important; }
.cx-embed .cx-main > p.crumb:first-child, .cx-embed .cx-main > p.crumb:first-child + h1 { display: none !important; }
.cx-embed .cx-main > p.crumb:first-child + h1 + .lead { margin-top: 0; }
/* v1.21.199 各區總覽頁：卡片（大圖＋名稱＋一句話） */
.ov-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: clamp(22px, 3vw, 36px); }
.ov-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); text-decoration: none; color: var(--text); transition: transform .15s, border-color .15s; }
.ov-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.ov-card .ov-img { display: block; aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.ov-card b { padding: 12px 14px 2px; font-size: 17px; }
.ov-card small { padding: 0 14px 14px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
@media (max-width: 560px) { .ov-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .ov-card b { font-size: 15px; padding: 10px 10px 2px; } .ov-card small { padding: 0 10px 10px; font-size: 12.5px; } }
.ov-card .ov-img.icon { background-size: contain; background-repeat: no-repeat; background-color: #101a2a; }
.ov-card .ov-img.icon { background-origin: content-box; padding: 10px; }
/* v1.21.209 老闆：遊戲介紹／遊戲資料下拉只放 4 個主分類（圖示＋名稱＋一行小字）→ 分類總覽 */
.dd-menu.cats { min-width: 300px; }
.dd-menu.cats a.cat { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; padding: 9px 12px; white-space: normal; }
.dd-menu.cats a.cat i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--line-2); font-style: normal; font-size: 18px; }
.dd-menu.cats a.cat b { display: block; color: var(--text); font-size: 15px; font-weight: 700; }
.dd-menu.cats a.cat small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 1px; }
.dd-menu.cats a.cat[aria-current] b { color: var(--gold-hi); }
@media (hover: hover) and (min-width: 1001px) { .dd:hover > .dd-menu.cats { display: block; } }
@media (max-width: 1000px) { .dd-menu.cats { padding: 0 0 6px 6px; } .dd-menu.cats a.cat { padding: 8px 8px; } }
.ov-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(18px, 2.5vw, 28px); }
.ov-cats a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 700; }
.ov-cats a i { font-style: normal; }
.ov-cats a:hover { color: var(--text); border-color: var(--gold); }
.ov-cats a[aria-current] { color: #1d1505; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border-color: var(--gold); }
.ov-sec { margin-top: clamp(26px, 3.5vw, 40px); }
.ov-sec h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; font-size: clamp(20px, 2.4vw, 26px); }
.ov-sec h2 a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; }
.ov-sec h2 a:hover { color: var(--gold-hi); }
.ov-sec h2 small { color: var(--muted); font-size: 14px; font-weight: 400; }
.ov-sec .ov-grid { margin-top: 14px; }
@media (max-width: 560px) { .ov-cats { gap: 6px; } .ov-cats a { padding: 7px 11px; font-size: 13.5px; } }
/* v1.21.209 歸鄉故事（原 story.html 搬到世界觀總覽）、新手攻略 7 步卡 */
.story { margin-top: clamp(22px, 3vw, 36px); scroll-margin-top: calc(var(--hh, 76px) + 12px); }
.story .verse { margin: 0; font-family: var(--serif, serif); font-size: clamp(17px, 2vw, 22px); line-height: 1.7; color: var(--gold-hi); }
.story .verse small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); font-family: inherit; }
.story .story-hook { margin: 14px 0 0; color: var(--text); font-size: 15.5px; line-height: 1.7; }
.story h2 { margin: clamp(22px, 3vw, 32px) 0 0; font-size: clamp(20px, 2.4vw, 26px); }
.chapters { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.chapters li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.chapters .ch-img { width: 84px; height: 64px; border-radius: 10px; background-size: cover; background-position: center; }
.chapters em { display: block; font-style: normal; color: var(--gold); font-size: 12px; letter-spacing: .08em; }
.chapters b { display: block; font-size: 15.5px; }
.chapters p { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.gd-steps { margin-top: clamp(22px, 3vw, 36px); }
.gd-steps h2 { margin: 0; font-size: clamp(20px, 2.4vw, 26px); }
.gd-steps ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.gd-steps a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); color: var(--text); text-decoration: none; height: 100%; box-sizing: border-box; }
.gd-steps a:hover { border-color: var(--gold); }
.gd-steps em { grid-row: span 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #1d1505; font-style: normal; font-weight: 800; }
.gd-steps b { font-size: 15.5px; } .gd-steps span { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
/* 12-03 老闆：新手攻略卡片加圖示（圖在左、號碼貼在圖的左上角） */
.gd-pics li { display: flex; }
.gd-pics a { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 12px 14px 14px 12px; margin-block: 0; height: auto; flex: 1 1 auto; }   /* main li a 的 margin-block -8px（擴大點擊區）會讓卡片變矮、字壓線 */
.gd-pics a > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-top: 2px; }
.gd-pics .gd-pic { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 50% 40%, rgba(255,214,140,.22), rgba(0,0,0,.25)); border: 1px solid var(--line); display: block; }
.gd-pics .gd-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.gd-pics .gd-pic.it img { object-fit: contain; padding: 6px; box-sizing: border-box; }
.gd-pics em { position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; font-size: 13px; box-shadow: 0 1px 4px rgba(0,0,0,.45); }
.gd-pics a:hover .gd-pic { border-color: var(--gold); }
@media (max-width: 480px) { .gd-pics .gd-pic { flex-basis: 60px; width: 60px; height: 60px; } }
.cb-rules { margin-bottom: clamp(18px, 3vw, 30px); scroll-margin-top: 112px; }   /* 跳到 #combat-rules 不被固定頁首蓋住（頁首 100／78／64px＋12） */
@media (max-width: 1000px) { .cb-rules { scroll-margin-top: 90px; } }
@media (max-width: 760px) { .cb-rules { scroll-margin-top: 76px; } }
.cb-rules li > div { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); height: 100%; box-sizing: border-box; }   /* 11-21 戰鬥數值（不是連結，沒有編號） */
.tw-intro { scroll-margin-top: 112px; } .tw-intro h2 + ol { margin-bottom: 8px; } .tw-intro h2:not(:first-child) { margin-top: clamp(20px, 3vw, 30px); scroll-margin-top: 112px; }
.tw-tbl { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.tw-tbl table { width: 100%; border-collapse: collapse; font-size: 14px; } .tw-tbl th, .tw-tbl td { padding: 9px 12px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); } .tw-tbl th { color: var(--muted); font-weight: 600; } .tw-tbl tr:last-child td { border-bottom: 0; }
.tw-more { color: var(--muted); font-size: 13.5px; margin: 10px 0 clamp(18px, 3vw, 30px); }
.tw-intro li.pic > div { grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px; } .tw-ic { width: 64px; height: 64px; border-radius: 12px; background: var(--bg-2); display: grid; place-items: center; overflow: hidden; } .tw-ic img { width: 100%; height: 100%; object-fit: contain; } .tw-tx { display: grid; gap: 2px; }
.tw-realms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 12px; margin-top: 12px; }
.tw-realm { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.tw-realm .tw-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; } .tw-realm:hover .tw-bg { transform: scale(1.04); }
.tw-cap { position: absolute; inset: auto 0 0; padding: 40px 14px 11px; display: grid; gap: 1px; background: linear-gradient(rgba(6, 12, 22, 0), rgba(6, 12, 22, .72) 45%, rgba(6, 12, 22, .92)); color: #F5EBDD; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.tw-cap small { font-size: 12px; opacity: .85; } .tw-cap b { font-size: 17px; } .tw-cap span { font-size: 12.5px; opacity: .9; }
.tw-tbl-d { margin-top: 12px; } .tw-tbl-d summary { cursor: pointer; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .tw-intro, .tw-intro h2 { scroll-margin-top: 76px; } .tw-tbl th, .tw-tbl td { padding: 8px 9px; font-size: 13px; } }   /* 11-21 天梯介紹 */
.app-tip .lead { margin-top: 6px; }
/* v1.21.209 老闆：首頁重做 */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wbhero { min-height: min(92vh, 820px); }
.wbhero .bg { background-size: cover; background-position: center; }
.wbhero .god { right: -3%; width: min(54vw, 740px); }   /* 王名不壓王身體：王往右、字區縮窄 */
.wbhero .in > * { max-width: min(44vw, 640px); }
.wbhero .wbh-wm { position: absolute; z-index: 2; left: max(16px, calc((100% - var(--wrap)) / 2)); top: clamp(16px, 3vw, 32px); width: clamp(180px, 20vw, 260px); height: auto; }   /* CI：02 中英字標放左上角漸層區 */
.wbhero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 34%; background: linear-gradient(180deg, rgba(16, 30, 48, .92), rgba(16, 30, 48, 0)); z-index: 1; pointer-events: none; }
.wbhero .in { z-index: 2; }
.wbh-k { margin: 0; color: var(--gold); font-size: clamp(14px, 1.6vw, 18px); letter-spacing: .3em; }
.wbh-name { margin: 4px 0 10px; font: 900 clamp(34px, 5.2vw, 84px)/1.08 var(--serif); color: var(--ow-ivory); letter-spacing: .04em; }
.wbh-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.wbh-meta span { padding: 6px 14px; border-radius: 999px; background: var(--ow-navy); border: 1px solid var(--ow-gold); color: var(--ow-gold); font: 700 clamp(15px, 1.8vw, 20px) var(--sans); font-variant-numeric: tabular-nums; }
.wbh-meta span:empty, .wbh-meta span[hidden] { display: none; }
@media (max-width: 760px) { .wbhero { min-height: 88vh; } .wbhero .god { width: 84vw; right: -18%; top: 6%; bottom: auto; opacity: .9; } .wbhero .in > * { max-width: none; } .wbhero .god::after { display: none; } .wbh-name { font-size: clamp(30px, 8.6vw, 44px); } }
.news3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.news3 .nc { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line-2); color: var(--text); text-decoration: none; }
.news3 .nc:hover { border-color: var(--gold); }
.news3 .nc-ic { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(215, 174, 96, .12); margin-bottom: 6px; }
.news3 .nc-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--ow-gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.news3 small { color: var(--gold); font-size: 12.5px; letter-spacing: .1em; }
.news3 b { font: 700 17px/1.4 var(--serif); }
.news3 span:last-child { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
@media (max-width: 760px) { .news3 { grid-template-columns: 1fr; } }
.feats2 { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }   /* 11-21 老闆：五張卡不要落單一張 → 電腦一排三張、第二排兩張置中 */
.feats2 > .feat2 { flex: 0 1 calc((100% - 2 * var(--gap)) / 3); min-width: 0; box-sizing: border-box; }
@media (max-width: 1000px) {   /* 平板、手機：兩欄；卡片改成圖在上、字在下；單數的最後一張置中 */
  .feats2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feats2 > .feat2 { grid-template-columns: 1fr; justify-items: center; text-align: center; align-content: start; padding: 14px 12px; }
  .feats2 > .feat2:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - var(--gap)) / 2); } }
.feat2 { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 18px 14px 14px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line-2); color: var(--text); text-decoration: none; }
.feat2:hover { border-color: var(--gold); }
.feat2 .fimg { width: 96px; height: 96px; border-radius: 12px; background: #0C1727 center/contain no-repeat; }
.feat2 .fimg.face { background-size: 340%; background-position: 47% 7%; }   /* 九神：裁宙斯的臉 */
.feat2 b { display: block; font: 700 18px var(--serif); color: var(--gold-hi); margin-bottom: 4px; }
.feat2 p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.marquee { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.marquee::-webkit-scrollbar { display: none; }
.mq-track { display: flex; gap: var(--gap); width: max-content; padding-bottom: 6px; }
.mq-track > .card { width: clamp(170px, 18vw, 230px); flex: none; }
.cta-bar { margin-top: clamp(44px, 8vw, 88px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: clamp(22px, 4vw, 36px); border-radius: var(--r-l); background: var(--ow-navy); border: 1px solid var(--line); }
.cta-l { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-bar .btn.big { font-size: 20px; padding: 14px 34px; }
.cta-bar [hidden] { display: none; }
@media (max-width: 560px) { .cta-bar { flex-direction: column; align-items: stretch; } .cta-l { display: grid; grid-template-columns: 1fr 1fr; } .cta-bar .btn { text-align: center; } }
/* 11-20 老闆：手機重做「舒服優先、不刻意滿版」 */
@media (max-width: 760px) {
  .top { --hh: 64px; }
  .top .wrap { gap: 10px; }
  .top .brand .lk-mark { width: 48px; }
  .top .go { display: none; }   /* 手機頁首不放立即出航 */
  .menu-btn { margin-left: auto; border: 0; font-size: 26px; line-height: 1; padding: 8px 4px; }
  /* 主視覺：上面 55vh 是王的圖（不拉滿），字標、王名、倒數、入場等級在圖下方乾淨區，一起靠左 16px */
  .wbhero { display: block; min-height: 0; padding-top: 55vh; padding-bottom: 32px; background: var(--ow-navy); }
  .wbhero .bg { inset: 0 0 auto 0; height: 55vh; transform: none; }
  .wbhero .bg::after { background: linear-gradient(0deg, var(--ow-navy) 0%, rgba(16, 30, 48, 0) 35%); }
  .wbhero::before { display: none; }
  .wbhero .god { top: 2vh; right: 50%; transform: translateX(50%); width: auto; height: 53vh; aspect-ratio: 1; opacity: 1; background-position: bottom center; }
  .wbhero .wbh-wm { position: static; display: block; width: 180px; margin: 20px 16px 14px; }
  .wbhero .in { width: auto; margin: 0 16px; padding: 0; }
  .wbh-name { font-size: clamp(30px, 8.6vw, 40px); margin: 2px 0 12px; }
  .wbhero .cta .btn { flex: 1; }
  .live { margin-top: 24px; grid-template-columns: 1fr 1fr; } .live > div:first-child { grid-column: 1 / -1; } .live > div { padding: 12px 16px; }
  #wb .card .pic { aspect-ratio: 16 / 9; }
  /* 字級統一：標題 20／內文 15／註解 13；每區上下留白一致 */
  section.blk { padding: 40px 0 0; margin: 0; }
  .blk-h { margin-bottom: 14px; } .blk-h h2 { font-size: 20px; } .blk-h h2 small { font-size: 11px; margin-bottom: 4px; } .blk-h a { font-size: 13px; }
  .lead { font-size: 15px; margin-bottom: 14px; }
  .news3, .feats2, .cards { gap: 12px; }
  .news3 .nc { padding: 16px; } .news3 b { font-size: 15px; } .news3 small, .news3 .nc > span:last-child { font-size: 13px; }
  .feat2 { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 12px 14px 12px 12px; } .feat2 .fimg { width: 72px; height: 72px; }
  .feat2 b { font-size: 15px; } .feat2 p { font-size: 13px; }
  .card .body b { font-size: 15px; } .card .body p { font-size: 13px; }
  .live b { font-size: 15px; } .live small { font-size: 13px; }
  .mq-track > .card { width: 150px; }
  .cta-bar { margin-top: 40px; padding: 20px 16px; }
  .cta-bar .btn.big { font-size: 17px; }
}
/* 11-20 老闆：最新更新＝大型更新（大圖 16:9＋標籤＋標題一行） */
.news3 .nc.ms { padding: 0; overflow: hidden; gap: 0; }
.news3 .nc-pic { display: block; aspect-ratio: 16 / 9; background: var(--bg-2) center/cover no-repeat; }
.news3 .nc-tx { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; min-width: 0; }
.news3 .nc.ms b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat2 .fimg.face { background-size: 310%; background-position: 41.8% 4.8%; }   /* 九神：雅典娜正面，頭到肩 */
.cta-l .btn .bi { width: 20px; height: 20px; flex: none; }
.ms-card { scroll-margin-top: calc(var(--hh, 100px) + 12px); }   /* 首頁卡片點過來：不被頁首蓋住 */
/* 11-20 老闆：怪物掉落視窗（資料站程式產生、掛在頁面最外層）→ 官網同色系：上方圖固定約 40%、下面名稱＋一行數值＋掉落表、✕ 右上 */
dialog.cx-dlg { width: min(560px, calc(100vw - 24px)); max-height: min(88dvh, 880px); padding: 0; overflow: hidden; display: none; flex-direction: column; background: var(--ow-navy); color: var(--ow-ivory); border: 1px solid var(--line); border-radius: var(--r-l); }
dialog.cx-dlg[open] { display: flex; }
dialog.cx-dlg::backdrop { background: rgba(6, 12, 20, .72); }
.cx-dlg .cx-dlg-head { position: relative; flex: none; }
.cx-dlg .with-pic { display: block; }
.cx-dlg .with-pic > .pic { display: block; width: 100%; height: min(40dvh, 340px); object-fit: contain; padding: 18px; background: #0A1422; border-bottom: 1px solid var(--line-2); }
.cx-dlg .with-pic > .pic.ph { display: grid; place-items: center; color: var(--faint); font: 900 48px var(--serif); }
.cx-dlg .with-pic > .pic.ph i { display: none; }
.cx-dlg .cx-dlg-head h2 { margin: 0; padding: 16px 20px 2px; font: 700 20px/1.3 var(--serif); color: var(--ow-ivory); }
.cx-dlg .cx-dlg-head p, .cx-dlg > p { margin: 0; padding: 4px 20px 0; font-size: 13px; color: var(--muted); line-height: 1.6; }
.cx-dlg > p { padding-bottom: 12px; }
.cx-dlg .cx-dlg-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: rgba(16, 30, 48, .85); color: var(--ow-ivory); font-size: 15px; cursor: pointer; }
.cx-dlg .drop-box { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 16px 16px; border: 1px solid var(--line-2); border-radius: var(--r-s); background: #0A1422; }
.cx-dlg .drop-group { position: sticky; top: 0; z-index: 1; padding: 6px 12px; background: #13243A; color: var(--gold); font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--line-2); }
.cx-dlg .drop-group small { color: var(--muted); font-weight: 400; }
.cx-dlg .drop-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px 12px; border-bottom: 1px solid rgba(245, 235, 221, .05); }
.cx-dlg .drop-row .pic { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; background: rgba(245, 235, 221, .04); }
.cx-dlg .drop-row .pic.ph { display: grid; place-items: center; font-size: 13px; color: var(--faint); } .cx-dlg .drop-row .pic.ph i { display: none; }
.cx-dlg .drop-n { display: grid; min-width: 0; font-size: 15px; } .cx-dlg .drop-n small { font-size: 12px; color: var(--muted); }
.cx-dlg .drop-p { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; font-size: 14px; }
.cx-dlg .r-unique { color: #E9C46A; } .cx-dlg .muted { color: var(--muted); }
.cx-embed button.drops-btn { margin-top: 2px; padding: 0; border: 0; background: none; color: var(--gold); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }   /* 列表：按鈕縮成文字連結 */
.cx-embed button.drops-btn:hover { background: none; color: var(--ow-ivory); }
/* 同一個視窗：點神兵（組合頁等）→ 神兵卡片：圖固定約 40%、內文留白、自己捲 */
.cx-dlg > .card { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 20px; background: none; border: 0; }
.cx-dlg > .card .card-head { display: block; }
.cx-dlg > .card .card-head > .pic { display: block; width: 100%; height: min(40dvh, 320px); object-fit: contain; padding: 16px; margin: 8px 0 12px; border-radius: var(--r); background: #0A1422; }
.cx-dlg > .card .card-head h3 { display: none; }   /* 跟視窗標題重複 */
.cx-dlg > .card p { margin: 6px 0; font-size: 15px; line-height: 1.6; }
.cx-dlg > .card .en, .cx-dlg > .card .muted { font-size: 13px; color: var(--muted); }
.cx-dlg > .card a { color: var(--gold); }
.cx-dlg .r-artifact { color: #E9C46A; }
/* 11-20 老闆：變強之路（神兵 → 神器 → 九神降臨） */
.grow3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: var(--gap); counter-reset: g; }
.grow3 .gr { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line-2); color: var(--text); text-decoration: none; }
.grow3 .gr:hover { border-color: var(--gold); }
.grow3 .gimg { display: block; height: 150px; margin-bottom: 6px; border-radius: 12px; background: #0A1422 center/contain no-repeat; }
.grow3 .gimg.tall { background-size: cover; background-position: center 18%; }
.grow3 b { font: 700 20px var(--serif); color: var(--gold-hi); }
.grow3 p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.grow3 i { margin-top: auto; padding-top: 6px; font-style: normal; font-size: 13px; color: var(--gold); }
@media (min-width: 761px) { .grow3 .gr + .gr::before { content: "→"; position: absolute; left: calc(var(--gap) / -2); top: 82px; transform: translate(-50%, -50%); color: var(--gold); font-size: 18px; } }
/* 11-20 老闆：「點我變 Q 版」不要浮在畫面上 → 頁首 ☰ 旁小膠囊（共用的浮動鈕藏起來） */
#sty-toggle { display: none !important; }
.qpill { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--ow-ivory); font: 600 13px var(--sans); cursor: pointer; white-space: nowrap; }
.top .go { margin-left: 0; } .top .qpill { margin-left: auto; }
@media (max-width: 1000px) { .top .qpill { margin-left: auto; } .menu-btn { margin-left: 0; } }
@media (min-width: 1001px) { .top .qpill[hidden] + .menu-btn + .go { margin-left: auto; } }
/* 11-20 老闆：手機頁首 LOGO 旁要有中英文字 → 橫式組合（裁掉圖檔四周留白，標誌本身約 220px）；主視覺下方的字標拿掉不重複 */
@media (max-width: 760px) {
  .top .brand { overflow: hidden; }
  .top .brand .lk-mark { display: none !important; }
  .top .brand .lk-dark { display: block !important; width: 248px; max-width: none; margin: -14px -14px; }   /* 圖檔四周留白約 5.7%（向量量的） */
  .wbhero .wbh-wm { display: none; }
  .wbhero .in { margin-top: 20px; }
}
@media (max-width: 760px) {
  .grow3 { gap: 12px; }
  .grow3 .gr { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 2px; padding: 12px 14px 12px 12px; }
  .grow3 .gimg { grid-row: 1 / 4; width: 72px; height: 72px; margin: 0; align-self: center; }
  .grow3 b { font-size: 15px; } .grow3 p { font-size: 13px; } .grow3 i { padding-top: 2px; }
}
/* v1.21.212 老闆（從手機桌面的遊戲點官網：頁首被時間、電池蓋住，選單點不到）：頁首讓出瀏海／狀態列的高度 */
.top { padding-top: env(safe-area-inset-top, 0px); }
@media (max-width: 1000px) { .top nav { top: calc(var(--hh) + env(safe-area-inset-top, 0px)); } }
/* v1.21.212 玩家影片牆（官網首頁最新 3 支、/intro/videos 全部）：連結卡 */
.vid-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: var(--gap, 14px); }
.vid-card { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r, 14px); background: var(--panel, #101E30); border: 1px solid var(--line-2, rgba(245,235,221,.1)); color: var(--text, #F5EBDD); text-decoration: none; }
.vid-card:hover { border-color: var(--gold, #D7AE60); }
.vid-card .vid-ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: #0A1422; color: var(--gold, #D7AE60); font: 900 22px var(--sans, sans-serif); }
.vid-card b { display: block; font: 700 15px var(--serif, serif); } .vid-card small { display: block; color: var(--muted, #a9b2c2); font-size: 13px; }
.vid-card i { font-style: normal; color: var(--gold, #D7AE60); font-size: 13px; white-space: nowrap; }
/* 11-21 新手攻略：長篇新手指南收進「完整說明」 */
.gd-more { margin-top: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.gd-more > summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--gold-hi, #f5d78e); list-style: none; } .gd-more > summary::-webkit-details-marker { display: none; }
.gd-more > summary::after { content: "＋"; float: right; color: var(--muted); } .gd-more[open] > summary::after { content: "－"; }
.gd-more > .cx-embed { padding: 0 16px 16px; }
/* 11-26 老闆：官網不好點（手機實測 12 頁有連結高度只有 20～24px）→
   ① 區塊標題右邊「全部 →」做成按鈕大小 ② 內文裡的連結上下多一點點擊範圍（不改排版）③ 卡片裡的「開始玩」「數值與掉落」放大 */
.blk-h > a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(232, 199, 122, .45); font-size: 15px; font-weight: 600; white-space: nowrap; }
.cx-embed a:not([class]), .cx-embed a.small, main p a, main li a, main td a { padding-block: 8px; margin-block: -8px; }
.cx-embed a.small { font-size: 14px !important; }
.cx-embed .card a[target="_blank"] { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; margin-top: 6px; border-radius: 10px; font-weight: 700; background: rgba(232, 199, 122, .14); border: 1px solid rgba(232, 199, 122, .45); text-decoration: none; }
