/* 首頁（2026-11-06 使用者選「甲款黑金王座第二版」；示意稿在 _示意/官網改版/a2.html） */
.hm { --gold: #d8b46a; --gold2: #f3dfa6; --gold3: #8a6a33; --line: #2e2416; --ok: #5fbf6a; }
.hm .nw { white-space: nowrap; }
.hm-btn { height: 52px; padding: 0 30px; font-size: 17px; }

/* ---------- 主視覺：說話之島碼頭 ---------- */
.dock-hero { position: relative; height: clamp(560px, 64vw, 720px); overflow: hidden; border-bottom: 1px solid #4a3a22; background: #0d3a5c; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.dock-cv { position: absolute; inset: 0; display: block; cursor: pointer; }
.dock-hero .shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(6, 4, 2, .88) 0%, rgba(6, 4, 2, .55) 26%, transparent 46%), linear-gradient(0deg, rgba(6, 4, 2, .75) 0%, transparent 22%), linear-gradient(180deg, rgba(6, 4, 2, .45) 0%, transparent 16%); }
.dock-hero .copy { position: absolute; left: max(16px, calc((100% - 1200px) / 2 + 16px)); top: 50%; transform: translateY(-58%); width: min(470px, calc(100% - 32px)); pointer-events: none; }
.dock-hero .copy a { pointer-events: auto; }
.dock-hero .ver { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--gold); letter-spacing: .2em; white-space: nowrap; }
.dock-hero .ver::before, .dock-hero .ver::after { content: ""; width: 28px; height: 1px; background: var(--gold3); }
.dock-hero h1 { margin: 12px 0 6px; font-size: clamp(44px, 6.6vw, 88px); line-height: 1.04; white-space: nowrap; filter: drop-shadow(0 3px 0 #000) drop-shadow(0 0 20px rgba(0, 0, 0, .9)); text-wrap: nowrap; }
.dock-hero h1 span { display: block; }
.dock-hero .sub { font: 700 clamp(15px, 1.7vw, 20px) var(--serif); color: #efe3c6; letter-spacing: .24em; white-space: nowrap; text-shadow: 0 2px 6px #000; }
.dock-hero .cta { margin-top: 26px; flex-wrap: nowrap; }
.dock-hero .tip { margin-top: 20px; font-size: 13px; color: #d8cba8; text-shadow: 0 1px 3px #000; white-space: nowrap; }
.dock-ui { position: absolute; top: 14px; right: max(16px, calc((100% - 1200px) / 2 + 16px)); display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.dock-cls { display: flex; gap: 4px; padding: 5px; background: rgba(8, 6, 3, .72); border: 1px solid #5a4628; }
.dock-cls button { all: unset; cursor: pointer; padding: 3px 9px; font-size: 13px; color: #cdbf9f; white-space: nowrap; border: 1px solid transparent; }
.dock-cls button:hover { color: var(--gold2); }
.dock-cls button[aria-pressed=true] { color: #2b1a05; background: linear-gradient(#f0d58f, #b88b3c); border-color: #f7e3a8; }
.dock-cap { font-size: 12px; color: #cdbf9f; text-shadow: 0 1px 2px #000; white-space: nowrap; }
.dock-chat { position: absolute; left: max(16px, calc((100% - 1200px) / 2 + 16px)); bottom: 16px; width: min(420px, calc(100% - 32px)); padding: 8px 12px; background: rgba(0, 0, 0, .55); border: 1px solid rgba(138, 106, 51, .6); font-size: 13px; line-height: 1.65; pointer-events: none; min-height: 116px; }
.dock-chat div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #e8e0c8; text-shadow: 0 1px 1px #000; }
.dock-chat b { color: #9fe0a0; font-weight: 500; }
.dock-bar { position: absolute; right: max(16px, calc((100% - 1200px) / 2 + 16px)); bottom: 16px; display: flex; align-items: center; gap: 8px; }
.dock-hp { width: 150px; height: 14px; background: #1a0505; border: 1px solid #6a2a20; position: relative; }
.dock-hp i { position: absolute; inset: 0 auto 0 0; width: 100%; background: linear-gradient(#ff5a4a, #a5150e); transition: width .3s; }
.dock-hp span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 10px/1 Arial, sans-serif; color: #fff; letter-spacing: 0; text-shadow: 0 1px 1px #000; }
.dock-bar button { all: unset; cursor: pointer; padding: 4px 10px; font-size: 12px; color: #cdbf9f; background: rgba(8, 6, 3, .72); border: 1px solid #5a4628; white-space: nowrap; }
.dock-bar button[aria-pressed=true] { color: var(--gold2); border-color: var(--gold3); }

/* ---------- 伺服器資訊條 ---------- */
.hm .strip { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(6, 1fr); padding: 0; background: linear-gradient(#1a150f, #100c08); border: 1px solid #4d3c22; border-top: 0; }
.hm .strip > div { padding: 14px 16px; border-right: 1px solid var(--line); min-width: 0; }
.hm .strip > div:last-child { border: 0; }
.hm .strip small { display: block; font-size: 12px; color: var(--mu); white-space: nowrap; }
.hm .strip b { display: block; font: 900 19px var(--serif); color: var(--gold2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hm .strip .ok b { color: var(--ok); }
.hm .strip .off b { color: var(--red); }
.hm .strip .hot b { color: #ff9b6a; }

/* ---------- 金框 ---------- */
.hm .frame { position: relative; background: linear-gradient(#1a150f, #100c08); border: 1px solid #4d3c22; box-shadow: inset 0 0 0 1px #000, inset 0 0 0 4px #15100a, inset 0 0 0 5px #3a2d19, 0 10px 30px rgba(0, 0, 0, .5); min-width: 0; }
.hm .frame::before, .hm .frame::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--gold); pointer-events: none; z-index: 2; }
.hm .frame::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.hm .frame::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.hm .fh { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 18px 9px; border-bottom: 1px solid var(--line); }
.hm .fh h3 { margin: 0; font-size: 19px; white-space: nowrap; }
.hm .fh a { font-size: 12px; color: var(--mu); white-space: nowrap; }
.hm .fh a:hover { color: var(--gold2); }
.hm .posts { list-style: none; margin: 0; padding: 4px 18px 12px; }
.hm .posts li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #241c12; min-width: 0; }
.hm .posts li:last-child { border-bottom: 0; }
.hm .posts a { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.hm .posts a:hover { color: var(--gold2); }
.hm .posts .pin { color: var(--gold2); font-weight: 700; }
.hm .posts time { flex: none; font-size: 12px; color: var(--mu); font-variant-numeric: tabular-nums; }
.hm .posts .none { color: var(--mu); font-size: 13px; }

/* ---------- 區塊標題 ---------- */
.hm .sec { margin-top: 64px; }
.hm .st { text-align: center; margin-bottom: 26px; }
.hm .st small { display: block; font: 500 12px var(--serif); letter-spacing: .5em; color: var(--gold3); }
.hm .st h2 { display: inline-flex; align-items: center; gap: 18px; margin: 0; font-size: clamp(26px, 4vw, 38px); white-space: nowrap; }
.hm .st h2::before, .hm .st h2::after { content: ""; width: clamp(26px, 8vw, 90px); height: 12px; background: linear-gradient(90deg, transparent, var(--gold3)) center / 100% 1px no-repeat, radial-gradient(circle, var(--gold) 2px, transparent 3px) right center / 12px 12px no-repeat; }
.hm .st h2::after { transform: scaleX(-1); }
.hm .st p { margin: 8px 0 0; color: var(--mu); font-size: 14px; }

/* 官方訊息（2026-11-09）：左邊分頁清單、右邊下載／下一場活動／贊助 */
.hm .news { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
.hm .ntabs { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); padding: 0 6px; }
.hm .ntabs button { padding: 13px 18px 11px; background: none; border: 0; cursor: pointer; font: 900 16px FZ, var(--serif); letter-spacing: .1em; color: #9f8a62; white-space: nowrap; }
.hm .ntabs button:hover { color: var(--gold2); }
.hm .ntabs button.on { color: #ffe08a; box-shadow: inset 0 -3px 0 var(--gold); background: rgba(216, 180, 106, .08); }
.hm .nmore { margin-left: auto; align-self: center; padding-right: 12px; font-size: 13px; color: var(--mu); white-space: nowrap; }
.hm .nl { list-style: none; margin: 0; padding: 4px 18px 10px; }
.hm .nl li { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed #2e2416; }
.hm .nl li:last-child { border-bottom: 0; }
.hm .nl a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.hm .nl a:hover { color: var(--gold2); }
.hm .nl .pin { color: var(--gold2); font-weight: 700; }
.hm .nl time { font-size: 13px; color: var(--mu); font-variant-numeric: tabular-nums; }
.hm .nl .none { display: block; color: var(--mu); font-size: 14px; padding: 18px 0; }
.hm .ntg { font-size: 12px; font-weight: 700; text-align: center; padding: 1px 0; border: 1px solid; white-space: nowrap; }
.hm .ntg.n { color: #ffb36b; border-color: #8a5a2a; }
.hm .ntg.e { color: #8ff0a8; border-color: #2a7a4a; }
.hm .ntg.s { color: #9ac8ff; border-color: #3a5a8a; }
.hm .ntg.d { color: #ff9a8a; border-color: #8a3a2a; }
.hm .nside { display: grid; gap: 14px; align-content: start; }
.hm .dlbox { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.hm .dlbox h3 { margin: 0; font-size: 19px; white-space: nowrap; }
.hm .dlbox .btn { height: 46px; font-size: 17px; padding: 0 12px; }
.hm .dlbox small { font-size: 13px; color: var(--mu); }
.hm .nnext, .hm .ndon { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; }
.hm .nnext small { display: block; font-size: 12px; color: var(--mu); }
.hm .nnext b, .hm .ndon b { font: 900 18px var(--serif); color: #f3dfa6; white-space: nowrap; }
.hm .nnext em { font: 900 21px FZ, var(--serif); font-style: normal; color: #ff9a6a; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hm .ndon small { font-size: 13px; color: var(--mu); white-space: nowrap; }
.hm .nnext:hover, .hm .ndon:hover { border-color: var(--gold3); }

/* ---------- 金庸特色系統 ---------- */
.hm .feat { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.hm .feat > * { min-width: 0; }
.hm .card { position: relative; overflow: hidden; min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; border: 1px solid #4d3c22; background: #120e09 center / cover; }
.hm .card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 6, 3, .96) 10%, rgba(8, 6, 3, .55) 55%, rgba(8, 6, 3, .2)); transition: .3s; }
.hm .card:hover { color: inherit; border-color: var(--gold3); }
.hm .card:hover::before { background: linear-gradient(0deg, rgba(8, 6, 3, .95) 10%, rgba(8, 6, 3, .35) 60%, transparent); }
.hm .card > * { position: relative; }
.hm .card.big { grid-row: span 2; min-height: 436px; }
.hm .card .k { position: absolute; right: 14px; top: 10px; font: 900 68px/1 FZ, var(--serif); color: rgba(216, 180, 106, .16); }
.hm .card h3 { margin: 0; font-size: 25px; white-space: nowrap; }
.hm .card.big h3 { font-size: 34px; }
.hm .card p { margin: 4px 0 0; color: #c9bca2; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 只要能開網頁就能玩 ---------- */
/* 只要能開網頁（2026-11-09 改滿版大圖橫幅）：左文右圖（電腦＋手機真實畫面），背景遊戲地圖 */
.hm .any { position: relative; margin-top: 64px; padding: 64px 0 50px; background: #0d0a07 var(--any-bg) center 40% / cover; border-block: 1px solid #4d3c22; overflow: hidden; }
.hm .any::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 7, 4, .97) 0%, rgba(10, 7, 4, .9) 38%, rgba(10, 7, 4, .35) 70%, rgba(10, 7, 4, .6) 100%), linear-gradient(0deg, #0d0a07 0%, transparent 20%, transparent 80%, #0d0a07 100%); }
.hm .any .ain { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 34px; }
.hm .any h2 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.15; }
.hm .any h2 span { display: block; white-space: nowrap; }
.hm .any .alead { margin: 12px 0 24px; font: 700 17px var(--serif); color: #e2d3ad; letter-spacing: .06em; white-space: nowrap; }
.hm .dev { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hm .dev li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 11px 16px; background: rgba(0, 0, 0, .5); border: 1px solid rgba(216, 180, 106, .28); border-left: 3px solid var(--gold); }
.hm .dev svg { width: 48px; height: 48px; display: block; }
.hm .dev b { display: block; font: 900 18px var(--serif); color: #f3dfa6; white-space: nowrap; }
.hm .dev small { display: block; font-size: 14px; color: #c9b39a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm .dev em { font-style: normal; font-size: 13px; color: #8ff0a8; white-space: nowrap; }
.hm .acta { display: flex; gap: 12px; margin-top: 22px; }
.hm .acta .btn { height: 52px; padding: 0 26px; font-size: 17px; }
.hm .agreen { color: #fff; background: linear-gradient(#22c56a, #0a8a3e); border: 1px solid #3fe08a; text-shadow: 0 1px 0 rgba(0, 0, 0, .4); }
.hm .agreen:hover { filter: brightness(1.12); color: #fff; }
.hm .ashow { position: relative; height: 400px; }
.hm .alap { position: absolute; left: 0; top: 34px; width: 82%; }
.hm .ascr { aspect-ratio: 4 / 3; max-height: 330px; border: 11px solid #1d1a16; border-bottom-width: 15px; border-radius: 10px 10px 0 0; background: #000 center / cover; box-shadow: 0 0 0 1px #4a3d22, 0 30px 60px rgba(0, 0, 0, .7); }
.hm .abase { height: 15px; margin: 0 -6%; background: linear-gradient(#3a342c, #15120f); border-radius: 0 0 14px 14px; }
.hm .aph { position: absolute; right: 0; top: 0; width: 34%; max-width: 190px; aspect-ratio: 393 / 745; border: 8px solid #111; border-radius: 28px; background: #000 center / cover; box-shadow: 0 0 0 2px #5a4a2a, 0 30px 60px rgba(0, 0, 0, .8); }
.hm .acap { position: absolute; top: -26px; left: 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: #2b1a05; background: #e8c779; padding: 2px 10px; white-space: nowrap; }
.hm .aph .acap { left: auto; right: 10px; }
.hm .feats { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.hm .feats div { padding: 9px 8px; text-align: center; border: 1px solid rgba(216, 180, 106, .35); background: rgba(0, 0, 0, .5); min-width: 0; }
.hm .feats b { font: 900 15px var(--serif); color: var(--gold2); white-space: nowrap; }
.hm .feats b { display: block; }
.hm .feats small { display: block; font-size: 12px; color: #c9b39a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm .feats .star { border-color: var(--gold3); background: linear-gradient(#2a2010, #15100a); }
.hm .feats .star b { color: #ffe08a; }

/* ---------- 公平宣言 ---------- */
/* 告示（2026-11-09 甲款矮版）：左邊匾額＋標題，右邊三格規則、下面一行標語；放在遊戲資料介紹下面 */
.hm .oath { display: flex; align-items: center; gap: 28px; margin: 48px auto 56px; max-width: 980px; padding: 22px 30px; background: linear-gradient(#2a0d0b, #160605); border: 1px solid #7a5a2a; box-shadow: inset 0 0 0 5px #120403, inset 0 0 0 6px #8a6a33, 0 14px 30px rgba(0, 0, 0, .6); }
.hm .oath .oh { flex: none; text-align: center; }
.hm .oath .otag { display: inline-block; padding: 3px 8px 3px 14px; font: 900 15px FZ, var(--serif); letter-spacing: .3em; color: #2b1a05; background: linear-gradient(#fbe8ae, #c99a48); border: 1px solid #fff0bf; }
.hm .oath h2 { margin: 8px 0 0; font-size: 30px; white-space: nowrap; line-height: 1.2; }
.hm .oath .rules { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; } /* 2026-12-06 使用者：拿掉「不用推文換福利」（有推文獎勵），剩兩格 */
.hm .oath .rules div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgba(216, 180, 106, .3); background: rgba(0, 0, 0, .25); min-width: 0; }
.hm .oath .rules i { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1.5px solid #c9533a; border-radius: 50%; font: 900 18px/1 FZ, var(--serif); font-style: normal; color: #ff7a5a; }
.hm .oath .rules span { min-width: 0; }
.hm .oath .rules b { display: block; font: 900 17px var(--serif); color: #f3dfa6; white-space: nowrap; }
.hm .oath .rules small { display: block; font-size: 12.5px; color: #c9b39a; white-space: nowrap; }
.hm .oath p { grid-column: 1 / -1; margin: 2px 0 0; text-align: center; font: 700 14.5px var(--serif); color: #efe3c6; letter-spacing: .1em; }
.hm .oath p em { font-style: normal; color: #ffe08a; }

/* ---------- 江湖熱榜 ---------- */
.hm .hotg { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.hm .champ { display: flex; align-items: center; gap: 16px; padding: 18px; }
.hm .champ i { flex: none; width: 70px; height: 70px; display: grid; place-items: center; font: 900 34px FZ, var(--serif); font-style: normal; color: #2b1a05; background: radial-gradient(#ffe7a0, #b88b3c); border: 2px solid #fff0bf; box-shadow: 0 0 18px rgba(255, 200, 80, .35); transform: rotate(45deg); margin: 6px; }
.hm .champ i span { transform: rotate(-45deg); }
.hm .champ div { min-width: 0; }
.hm .champ small { display: block; font-size: 12px; color: var(--mu); white-space: nowrap; }
.hm .champ b { display: block; font: 900 30px/1.2 var(--serif); color: #ffd86b; white-space: nowrap; }
.hm .champ em { font-style: normal; font-size: 13px; color: #cdbf9f; white-space: nowrap; }
.hm .duel { display: flex; justify-content: space-between; align-items: center; padding: 0 18px 16px; gap: 10px; }
.hm .duel small { font-size: 12px; color: var(--mu); white-space: nowrap; }
.hm .duel b { font: 900 22px var(--serif); color: #ff9b6a; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hm .hfac { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 16px 16px; text-align: center; }
.hm .hfac > div { min-width: 0; }
.hm .hfac h4 { margin: 0; font: 900 14px var(--serif); padding: 3px 0; white-space: nowrap; }
.hm .hfac .z h4 { background: #1f4a3c; color: #bfe8d4; }
.hm .hfac .m h4 { background: #4a3a14; color: #f0d58f; }
.hm .hfac .x h4 { background: #5a1412; color: #ffb3a0; }
.hm .hfac ol { list-style: none; margin: 0; font-size: 13px; padding: 6px 0 0; }
.hm .hfac li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.9; }
.hm .hrank { list-style: none; margin: 0; padding: 6px 18px 12px; counter-reset: r; }
.hm .hrank li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #241c12; font-size: 14px; white-space: nowrap; }
.hm .hrank li:last-child { border: 0; }
.hm .hrank li::before { counter-increment: r; content: counter(r); flex: none; width: 22px; height: 22px; display: grid; place-items: center; font: 900 12px sans-serif; background: #2a1f12; color: var(--mu); }
.hm .hrank li:first-child::before { background: #b3282d; color: #fff; }
.hm .hrank span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hm .hrank small { color: #ff8a6a; font-weight: 700; }
.hm .hrank .none::before { display: none; }
.hm .harena { margin: 0; padding: 6px 18px 14px; font-size: 14px; }
.hm .harena div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed #2e2416; white-space: nowrap; }
.hm .harena div:last-child { border: 0; }
.hm .harena dt { color: var(--mu); }
.hm .harena dd { margin: 0; color: var(--gold2); font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.hm .pad { padding: 14px 18px; }

/* ---------- 交易所 ---------- */
.hm .mkt { position: relative; margin-top: 16px; border: 1px solid #4d3c22; overflow: hidden; }
.hm .mkt .bgm { position: absolute; inset: 0; background: center 40% / cover; filter: saturate(.9); }
.hm .mkt .bgm::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 6, 3, .96) 0%, rgba(8, 6, 3, .86) 52%, rgba(8, 6, 3, .55) 100%); }
.hm .mkt .in { position: relative; display: grid; grid-template-columns: 1fr 320px; gap: 28px; padding: 26px 26px 22px; }
.hm .mkt .in > * { min-width: 0; }
.hm .mkt h3 { margin: 0; font-size: 28px; white-space: nowrap; }
.hm .mkt .note { font-size: 13px; color: #cdbf9f; margin: 4px 0 14px; }
.hm .mkt .note b { color: #ffe08a; }
.hm .mtab { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.hm .mtab th { font-weight: 500; font-size: 12px; color: var(--mu); text-align: left; padding: 6px 8px; border-bottom: 1px solid #4d3c22; white-space: nowrap; }
.hm .mtab td { padding: 8px; border-bottom: 1px solid #241c12; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm .mtab .n { display: flex; align-items: center; gap: 8px; }
.hm .mtab .n img, .hm .mtab .n i { flex: none; width: 28px; height: 28px; image-rendering: pixelated; background: #000; border: 1px solid #3a2d19; }
.hm .mtab .n span { overflow: hidden; text-overflow: ellipsis; }
.hm .mtab .p { text-align: right; color: var(--gold2); font-weight: 700; font-variant-numeric: tabular-nums; }
.hm .mtab .cur { font-size: 12px; padding: 0 6px; border: 1px solid; white-space: nowrap; }
.hm .mtab .cur.g { color: #f0d58f; border-color: #6d5427; }
.hm .mtab .cur.y { color: #ffb3a0; border-color: #7a2a24; }
.hm .mside { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 18px; background: rgba(0, 0, 0, .45); border: 1px solid #4d3c22; }
.hm .mside b { font: 900 20px var(--serif); color: var(--gold2); white-space: nowrap; }
.hm .mside p { margin: 0; font-size: 13px; color: #cdbf9f; }
.hm .mside ul { list-style: none; margin: 0; padding: 0; font-size: 13px; color: #e8dcc0; }
.hm .mside li { padding: 3px 0; }
.hm .mside li::before { content: "◆"; color: var(--gold3); margin-right: 6px; font-size: 9px; vertical-align: 2px; }
.hm .mside .btn { height: 46px; }

/* ---------- 遊戲資料介紹 ---------- */
/* 遊戲資料介紹（2026-11-09 改圖片小方塊）：圖、分類名、篇數、第一篇標題 */
.hm .g7 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hm .tile { position: relative; display: block; height: 150px; background: #120e09 center / cover; border: 1px solid #4d3c22; overflow: hidden; min-width: 0; }
.hm .tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 5, 2, .95) 0%, rgba(8, 5, 2, .55) 55%, rgba(8, 5, 2, .12) 100%); transition: .3s; }
.hm .tile:hover { border-color: var(--gold); }
.hm .tile:hover::before { background: linear-gradient(0deg, rgba(8, 5, 2, .9) 0%, rgba(8, 5, 2, .35) 55%, transparent 100%); }
.hm .tile h3 { position: absolute; left: 16px; bottom: 42px; margin: 0; font-size: 23px; white-space: nowrap; filter: drop-shadow(0 2px 2px #000); }
.hm .tile p { position: absolute; left: 16px; right: 14px; bottom: 13px; margin: 0; font-size: 13px; color: #d9c9a3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm .tile .tn { position: absolute; right: 10px; top: 9px; font-size: 12px; font-weight: 700; color: #2b1a05; background: #e8c779; padding: 1px 8px; white-space: nowrap; }
.hm .tile .slots { position: absolute; right: 10px; bottom: 40px; display: flex; gap: 4px; }
.hm .tile .slots i { width: 32px; height: 32px; background: #0b0907 center / 26px no-repeat; image-rendering: pixelated; border: 1px solid #6d5427; box-shadow: inset 0 0 8px rgba(0, 0, 0, .8); }

@media (max-width: 1080px) {
  .hm .strip { grid-template-columns: repeat(3, 1fr); }
  .hm .strip > div:nth-child(3) { border-right: 0; }
  .hm .strip > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .hm .g7 { grid-template-columns: 1fr 1fr; }
  .hm .news { grid-template-columns: 1fr; }
  .hm .nside { grid-template-columns: repeat(3, 1fr); }
  .hm .any .ain { grid-template-columns: 1fr; }
  .hm .ashow { height: 380px; max-width: 620px; width: 100%; margin: 10px auto 0; }
  .hm .hotg { grid-template-columns: 1fr 1fr; }
  .hm .hotg .c1 { grid-column: 1 / -1; }
  .hm .mkt .in { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hm .feat { grid-template-columns: 1fr 1fr; }
  .hm .card.big { grid-column: 1 / -1; grid-row: auto; min-height: 280px; }
  .hm .nside { grid-template-columns: 1fr; }
  .hm .oath { flex-direction: column; gap: 14px; padding: 20px 16px; margin: 36px 16px 44px; }
  .hm .oath .rules { grid-template-columns: 1fr; width: 100%; }
  .hm .oath h2 { font-size: 26px; }
  .hm .oath p { font-size: 13.5px; letter-spacing: .04em; }
  .hm .oath p em { display: block; }
}
@media (max-width: 620px) {
  .dock-hero { height: 660px; }
  .dock-hero .shade { background: linear-gradient(180deg, rgba(6, 4, 2, .88) 0%, rgba(6, 4, 2, .55) 30%, transparent 48%), linear-gradient(0deg, rgba(6, 4, 2, .8) 0%, transparent 26%); }
  .dock-hero .copy { top: 14px; transform: none; }
  .dock-hero .ver { font-size: 11px; }
  .dock-hero h1 { font-size: 44px; margin: 6px 0 2px; }
  .dock-hero .sub { font-size: 14px; }
  .dock-hero .cta { margin-top: 14px; }
  .dock-hero .cta .btn { flex: 1; height: 44px; padding: 0 10px; font-size: 15px; letter-spacing: .08em; }
  .dock-hero .tip { display: none; }
  .dock-ui { top: auto; bottom: 100px; right: 0; left: 0; align-items: stretch; }
  .dock-cls { overflow-x: auto; scrollbar-width: none; border-inline: 0; }
  .dock-cls::-webkit-scrollbar { display: none; }
  .dock-cap { display: none; }
  .dock-chat { bottom: 42px; min-height: 0; font-size: 12px; padding: 4px 10px; line-height: 1.6; }
  .dock-chat div:nth-last-child(n+3) { display: none; }
  .dock-bar { left: 16px; right: 16px; bottom: 12px; justify-content: space-between; }
  .dock-hp { flex: 1; width: auto; }
  .hm .strip { grid-template-columns: 1fr 1fr; }
  .hm .strip > div { border-right: 1px solid var(--line) !important; border-top: 1px solid var(--line); padding: 12px; }
  .hm .strip > div:nth-child(-n+2) { border-top: 0; }
  .hm .strip > div:nth-child(2n) { border-right: 0 !important; }
  .hm .strip b { font-size: 16px; }
  .hm .g7 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hm .hotg, .hm .feat { grid-template-columns: 1fr; }
  .hm .tile { height: 120px; }
  .hm .tile h3 { font-size: 19px; left: 12px; bottom: 34px; }
  .hm .tile p { left: 12px; bottom: 10px; font-size: 12px; }
  .hm .tile .slots { display: none; }
  .hm .feats { grid-template-columns: 1fr 1fr; }
  .hm .feats .star { grid-column: 1 / -1; }
  .hm .any { padding: 44px 0 36px; }
  .hm .any .alead { font-size: 15px; letter-spacing: 0; }
  .hm .dev li { grid-template-columns: 40px minmax(0, 1fr); padding: 10px 12px; }
  .hm .dev svg { width: 40px; height: 40px; }
  .hm .dev em { display: none; }
  .hm .dev small { font-size: 13px; white-space: normal; }
  .hm .acta .btn { flex: 1; padding: 0 10px; font-size: 16px; }
  .hm .ashow { height: 270px; }
  .hm .ntabs button { padding: 12px 11px 10px; font-size: 15px; letter-spacing: .04em; }
  .hm .nl li { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; }
  .hm .nl a { font-size: 14px; }
  .hm .hotg .c1 { grid-column: auto; }
  .hm .posts time { display: none; }
  .hm .mkt .in { padding: 20px 14px; }
  .hm .mtab .hide { display: none; }
  .hm .sec { margin-top: 50px; }
  .home .cs-float { display: none; } /* 手機首頁：右下角客服鈕會蓋到主視覺的音樂鈕，選單裡就有客服 */
}

/* ===== 手機版主視覺（2026-11-07 使用者選乙）：點遊戲畫面標題就收起，▼顯示介紹 叫回來；下方職業／對話欄／血條照原本（對話欄 3 行） ===== */
.dock-intro { display: none; }
@media (max-width: 620px) {
  .dock-hero .dock-chat div:nth-last-child(n+3) { display: block; }
  .dock-hero .dock-chat div:nth-last-child(n+4) { display: none; } /* 對話欄留 3 行 */
  .dock-hero .dock-ui { bottom: 118px; }
  .dock-hero .shade { background: linear-gradient(180deg, rgba(6, 4, 2, .85) 0%, rgba(6, 4, 2, .5) 30%, transparent 45%), linear-gradient(0deg, rgba(6, 4, 2, .8) 0%, transparent 26%); transition: opacity .4s; }
  .dock-hero .copy { transition: opacity .4s, transform .4s; }
  .dock-hero.playing .copy { opacity: 0; transform: translateY(-30px); visibility: hidden; transition: opacity .4s, transform .4s, visibility 0s .4s; }
  .dock-hero.playing .shade { background: linear-gradient(0deg, rgba(6, 4, 2, .8) 0%, transparent 26%); }
  .dock-hero.playing .dock-intro { all: unset; display: block; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); padding: 4px 12px; font-size: 12px; color: var(--gold2); background: rgba(8, 6, 3, .7); border: 1px solid var(--gold3); border-radius: 12px; cursor: pointer; white-space: nowrap; }
  /* 2026-11-07 使用者：手機一進來遊戲滿版，往下捲才滑出選單列（body.top-on 由 dock.js 依捲動切換） */
  body.home .util { display: none; }
  body.home .top { position: fixed; left: 0; right: 0; top: 0; transform: translateY(-110%); transition: transform .25s; }
  body.home.top-on .top { transform: none; }
  .dock-hero { height: 100vh; height: 100svh; }
  .dock-hero .copy { top: calc(env(safe-area-inset-top, 0px) + 18px); }
  .dock-hero.playing .dock-intro { top: calc(env(safe-area-inset-top, 0px) + 10px); }
}

/* ===== 左邊角色卡（2026-11-09 使用者選戊款）：電腦 1100 以上固定在左邊；手機改底部快捷列 ===== */
.hs, .hs-bar { display: none; }
.hs a { color: inherit; text-decoration: none; }
@media (min-width: 1100px) {
  body.has-hs { padding-left: 290px; }
  body.has-hs .top .logo { display: none; } /* LOGO 搬到左欄，上面不重複 */
  .hs { display: block; position: fixed; z-index: 60; left: 0; top: 0; bottom: 0; width: 290px; overflow-y: auto; scrollbar-width: none;
    background: linear-gradient(180deg, #17120c, #0b0907 60%); border-right: 1px solid #5a4626; box-shadow: 6px 0 24px rgba(0, 0, 0, .6); color: #e8dcc0; }
  .hs::-webkit-scrollbar { display: none; }
  .hs-logo { display: block; padding: 16px 16px 6px; }
  .hs-logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 6px #000); }
  .hs-card { position: relative; height: 230px; margin: 10px 14px 0; border: 2px solid #8a6a32; background: #0b0907 center / cover no-repeat; box-shadow: inset 0 0 0 1px #000, 0 4px 14px rgba(0, 0, 0, .6); overflow: hidden; }
  .hs-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .92)); pointer-events: none; }
  .hs-cv { position: absolute; z-index: 1; left: 50%; bottom: 58px; width: 132px; height: 150px; transform: translateX(-50%); image-rendering: auto; cursor: pointer; } /* 點人物播點選動作＋音效（2026-11-13） */
  .hs-who { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 10px; }
  .hs-who b { display: block; font: 900 20px/1.25 var(--f-display, "Noto Serif TC", serif); color: #fff3cf; text-shadow: 0 2px 4px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hs-who small { display: block; margin-top: 2px; color: #c9bb98; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hs-pill { position: absolute; right: 0; top: -2px; padding: 1px 8px; border-radius: 10px; font: 700 11.5px/1.6 sans-serif; font-style: normal; color: #0d1a0f; background: #7ddc8a; }
  .hs-pill.game { background: #ffb36b; } .hs-pill.rest { background: #6e6352; color: #f0e6cc; }
  .hs-nav { position: absolute; z-index: 3; top: 78px; width: 26px; height: 44px; border: 0; background: rgba(0, 0, 0, .5); color: #f0d48a; font-size: 22px; line-height: 1; cursor: pointer; }
  .hs-nav.prev { left: 0; } .hs-nav.next { right: 0; }
  .hs-nav:hover { background: rgba(110, 90, 52, .6); }
  .hs-acts { margin: 10px 14px 0; }
  .hs-btn { display: block; margin: 8px 0 0; padding: 11px; text-align: center; font: 900 17px/1.2 var(--f-display, "Noto Serif TC", serif); letter-spacing: .15em; border: 1px solid #8a6a32; }
  .hs-btn.gold { margin: 14px 14px 18px; background: linear-gradient(#f3dd9c, #c49a4c 55%, #9c7430); color: #2a1a06 !important; border-color: #ffe9b0; box-shadow: inset 0 1px 0 #fff6d6, 0 4px 14px rgba(0, 0, 0, .5); }
  .hs-btn.dark { background: #120e09; color: #f0d48a !important; }
  .hs-btn.line { background: #06c755; color: #fff !important; border-color: #29e07a; }
  .hs-btn:hover { filter: brightness(1.08); }
  .hs-sub { display: block; margin-top: 7px; text-align: center; font-size: 13px; color: #b9ab8c !important; text-decoration: underline !important; }
  .hs-acc { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: #9c8455; }
  .hs-acc b { color: #f0d48a; font-size: 14px; }
  .hs-swbtn { border: 0; background: none; cursor: pointer; font: inherit; font-size: 13px; padding: 0; }
  .hs-sw { margin-top: 6px; display: grid; gap: 4px; }
  .hs-sw[hidden] { display: none; } /* 先縮起來，按「切換帳號」才展開（2026-11-09 使用者） */
  .hs-sw button { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; border: 1px solid #4a3c24; background: #120e09; color: #f0d48a; font: 700 14px/1.2 sans-serif; cursor: pointer; }
  .hs-sw button:hover:not(:disabled) { border-color: #c9a24d; }
  .hs-sw button.on { opacity: .7; cursor: default; }
  .hs-sw i { font-style: normal; font-size: 11px; color: #1a1408; background: #e6c47c; border-radius: 8px; padding: 0 6px; }
  .hs-h { margin: 18px 18px 8px; font: 700 12px/1 sans-serif; letter-spacing: .3em; color: #9c8455; }
  .hs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 14px; }
  .hs-grid a { padding: 10px 6px; text-align: center; border: 1px solid #4a3c24; background: #120e09; font-size: 13px; color: #d8cba8; }
  .hs-grid a:hover { border-color: #8a6a32; color: #fff3cf; }
  .hs-grid img { display: block; width: 30px; height: 30px; margin: 0 auto 4px; object-fit: contain; }
  .hs-st { margin: 0 14px; border: 1px solid #4a3c24; background: rgba(0, 0, 0, .35); }
  .hs-st div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 8px 12px; border-top: 1px solid rgba(201, 162, 77, .15); font-size: 13px; color: #b9ab8c; white-space: nowrap; }
  .hs-st div:first-child { border-top: 0; }
  .hs-st b { color: #f0d48a; font-size: 14.5px; } .hs-st .on { color: #7ddc8a; } .hs-st .off { color: #ff8a76; }
  .hs-st .cd b { color: #ff9a76; }
  /* 側欄內容（2026-11-13 使用者：要整個完整顯示）：寬度固定＝側欄內寬，螢幕比內容矮時 side.js 設 zoom 等比例縮小、置中；flow-root 讓最後一顆按鈕的下邊距也算進高度 */
  .hs-in { display: flow-root; width: 289px; margin: 0 auto; }
}
/* 手機、平板：底部快捷列（左欄藏起來；右下客服鈕收進快捷列） */
@media (max-width: 1099px) {
  .hs-bar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(#1a140d, #0b0907); border-top: 1px solid #8a6a32; box-shadow: 0 -4px 14px rgba(0, 0, 0, .6); }
  .hs-bar a { display: grid; justify-items: center; gap: 2px; font: 700 11px/1.3 sans-serif; color: #d8cba8; text-decoration: none; }
  .hs-bar img { width: 26px; height: 26px; object-fit: contain; }
  .hs-bar a.hs-go { margin: -14px 4px 0; padding-top: 6px; border-radius: 8px; color: #1a1208; background: linear-gradient(#f3dd9c, #c49a4c); box-shadow: 0 0 0 2px #ffe9b0; }
  body.has-hs { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  body.has-hs .cs-float { display: none; }
}
@media (max-width: 620px) {
  body.has-hs .dock-hero { height: calc(100svh - 62px - env(safe-area-inset-bottom, 0px)); } /* 遊戲畫面讓出快捷列的高度，血條、音樂鈕不被蓋住 */
}
