/* 2026-10 版面(原型 ui-v3/lab,2026-10-21 套回正式版):只放新增 / 覆寫的樣式,其餘沿用 css/*.css。新 class 一律 nx- 開頭(避免撞到上一版介面的樣式) */

/* ═════════ 頂欄 ═════════ */
.nx-top { gap: 18px; }
.nx-top .brand i { text-transform: none; }
.nx-ticker { gap: 16px; }
.nx-tk-share { align-items: center; }
.nx-share { display: flex; gap: 2px; width: 84px; height: 8px; padding: 0; border-radius: 4px; overflow: hidden; background: var(--line); transition: box-shadow var(--t1); }
.nx-share i { display: block; height: 100%; min-width: 3px; background: var(--c); }
.nx-share:hover { box-shadow: 0 0 0 3px var(--sig-a); }
.nx-scene { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 5px; border: 1px solid var(--line2); border-radius: var(--r2); background: var(--s2); text-align: left; transition: border-color var(--t1), background var(--t1), box-shadow var(--t2); }
.nx-scene:hover { border-color: var(--line3); background: var(--s3); }
.nx-scene.on { border-color: var(--sig); box-shadow: 0 0 0 3px var(--sig-a); }
.nx-sc-av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: var(--r2); background: var(--s3); color: var(--dim); }
.nx-sc-av svg { width: 15px; height: 15px; }
.nx-sc-t { display: flex; flex-direction: column; min-width: 0; max-width: 112px; line-height: 1.2; }
.nx-sc-t b { font-size: 12px; font-weight: 600; }
.nx-sc-t small { font-size: 10px; color: var(--dim); }
.nx-sc-tags { display: flex; gap: 4px; }
.nx-sc-tags .tag { height: 18px; padding: 0 5px; font-size: 10.5px; }
.nx-sc-n { display: flex; align-items: center; gap: 3px; height: 20px; padding-left: 7px; border-left: 1px solid var(--line2); color: var(--dim); }
.nx-sc-n svg { width: 14px; height: 14px; }
.nx-sc-n b { font-size: 11px; color: var(--warn); }
.nx-scene.on .nx-sc-n { color: var(--sig); }
@media (max-width: 1600px) { .nx-top .brand i { display: none; } }
@media (max-width: 1440px) { .nx-top .nav a { padding: 0 11px; } .nx-top .nav kbd { display: none; } .nx-pin-t { display: none; } }
@media (max-width: 1520px) { .nx-sc-tags { display: none; } }
@media (max-width: 1280px) { .nx-sc-t { display: none; } .nx-top { gap: 12px; } }
@media (max-width: 1180px) { .nx-tk-share { display: none; } }

/* ═════════ 情境抽屜 ═════════ */
.nx-drawer { position: fixed; z-index: 60; top: 56px; right: 0; bottom: 0; width: min(420px, 100vw); display: flex; flex-direction: column; background: var(--s1); border-left: 1px solid var(--line3); box-shadow: -40px 0 80px -30px rgba(0, 0, 0, .9); animation: nxDrIn 320ms var(--ease) backwards; }
@keyframes nxDrIn { from { opacity: 0; transform: translateX(24px); } }
.nx-dr-hd { flex: 0 0 48px; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 18px; border-bottom: 1px solid var(--line); }
.nx-dr-hd .lbl { color: var(--sig); }
.nx-dr-sub { font-size: 11px; }
.nx-dr-b { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 18px 40px; }
.nx-dr-s { padding: 14px 0; border-bottom: 1px solid var(--line); }
.nx-dr-s:last-child { border-bottom: 0; }
.nx-dr-sh { display: flex; justify-content: space-between; margin-bottom: 8px; }
.nx-drawer .tgt { padding: 10px; }
.nx-en { width: 100%; padding: 8px; border: 1px dashed var(--line2); }
.nx-tw { margin: 0 -6px; }
.nx-sim-g + .nx-sim-g { margin-top: 4px; }
.nx-sim-gt { display: block; padding: 4px 10px 0; font-size: 11px; color: var(--dim); }
.nx-drawer .chk { padding: 6px 10px; }
.nx-cb { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.nx-cb-r { display: flex; align-items: center; gap: 10px; width: 100%; padding: 4px 2px; }
.nx-cb-r .grow { display: flex; flex-direction: column; gap: 1px; }
.nx-cb-r b { font-size: 12.5px; font-weight: 600; }
.nx-cb-r small { font-size: 11px; color: var(--dim); }
.nx-adv { margin-top: 6px; }
.nx-note { font-size: 12px; line-height: 1.6; }

/* ═════════ 01 隊伍 ═════════ */
@media (min-width: 1101px) { .nx-team { grid-template-columns: 248px minmax(0, 1fr) 340px; } }
@media (min-width: 1101px) and (max-width: 1360px) { .nx-team { grid-template-columns: 228px minmax(0, 1fr) 304px; } }
/* 760–1100:隊員三格移到上方一列(正式版 team.css 的規則),出招狀態卡跟在右邊 */
@media (min-width: 761px) and (max-width: 1100px) { .nx-rotcard { flex: 0 1 220px; } .nx-rack .chn { height: 112px; } }
.nx-rack { padding: 16px 12px 24px 18px; gap: 10px; }
.nx-rack .chn { height: 138px; }
.nx-chn-st { font-size: 10.5px; color: var(--fg2); }
.nx-d { font-size: 10.5px; }
.nx-rotcard { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--s1); }
.nx-rotcard .mono { font-size: 12.5px; }
.nx-rotcard.empty { border-color: color-mix(in oklab, var(--sig) 30%, var(--line)); }
.nx-rotcard p { font-size: 11.5px; line-height: 1.6; }
.nx-link { color: var(--sig); text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.nx-rotcard .pre-sug, .nx-out-empty .pre-sug { width: 100%; margin-top: 0; }
.nx-rotcard .pc, .nx-out-empty .pc { grid-template-columns: auto minmax(0, 1fr) auto; padding: 7px 8px; }
.nx-rotcard .pc-t b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 主卡橫幅 */
.nx-hero { padding: 18px 28px 16px; }
.nx-hero-por { width: min(330px, 31%); top: -64px; right: -14px; }
.nx-hero .hero-por img { mask-image: linear-gradient(#000 38%, transparent 66%), linear-gradient(90deg, transparent 0, #000 30%); }
.nx-hero-in { position: relative; display: flex; flex-direction: column; gap: 12px; }
.nx-hero-head { max-width: 72%; }
.nx-hero-head { display: flex; flex-direction: column; gap: 4px; }
.nx-hero-nm { gap: 12px; flex-wrap: wrap; }
.nx-hero-name { font-size: clamp(34px, 3.6cqw, 46px); }
.nx-hero-tags { gap: 6px; }
.nx-hero-ctl { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px 22px; }
.nx-basic-sum { display: none; }
.nx-skl-btn { display: inline-flex; align-items: center; gap: 3px; height: 30px; padding: 0 6px 0 4px; border: 1px solid var(--line2); border-radius: var(--r2); background: var(--s2); transition: border-color var(--t1), background var(--t1); }
.nx-skl-btn:hover, .nx-skl-btn.on { border-color: var(--sig); background: var(--s3); }
.nx-skl-btn span { display: grid; place-items: center; width: 24px; height: 22px; border-radius: 2px; background: var(--s4); font-size: 12px; font-weight: 600; }
.nx-skl-btn span.lo { color: var(--warn); }
.nx-skl-btn svg { width: 12px; height: 12px; color: var(--dim); margin-left: 2px; }
.pop.nx-skl-pop { width: min(600px, 92vw); max-width: 92vw; padding: 10px 12px 12px; }
.nx-skls { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 8px; }
@media (max-width: 760px) { .nx-skls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 裝備一列四格 */
.nx-blks { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; }
.nx-gear-card { padding: 12px 14px; }
.nx-gear { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); gap: 12px; }
.nx-gt { position: relative; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.nx-gt + .nx-gt { padding-left: 12px; border-left: 1px dashed var(--line); }
.nx-gt-h { display: flex; align-items: baseline; gap: 6px; padding-right: 22px; white-space: nowrap; overflow: hidden; }
.nx-gt-h em { margin-left: auto; font: 400 10.5px var(--f-ui); font-style: normal; letter-spacing: 0; text-transform: none; color: var(--dim); white-space: nowrap; }
.nx-gp { padding: 7px 10px 7px 7px; gap: 10px; }
.nx-gp .gp-ico { width: 40px; height: 40px; }
.nx-gp .gp-sw { position: absolute; right: 6px; top: 6px; width: 13px; height: 13px; }
.nx-gp b { font-size: 13.5px; }
.nx-gp small { font-size: 11px; }
.nx-gt-ctl { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nx-gt .seg.sm button { padding: 0 6px; }
.nx-gt-ft { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 20px; }
.nx-info { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--dim); cursor: help; border-bottom: 1px dotted var(--line3); transition: color var(--t1); }
.nx-info svg { width: 12px; height: 12px; }
.nx-info:hover, .nx-info:focus-visible { color: var(--fg); }
.nx-gt-x { position: absolute !important; top: -4px; right: -2px; opacity: 0; transition: opacity var(--t1) !important; }
.nx-gt:hover .nx-gt-x, .nx-gt-x:focus-visible { opacity: 1; }
.nx-gt-x:hover { color: var(--danger) !important; }
@container (max-width: 640px) {
  .nx-gear { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-gt:nth-child(odd) { padding-left: 0; border-left: 0; }
}

/* 情境效果一列 */
.nx-conds { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 9px 14px; }
.nx-conds > .lbl { margin-right: 4px; }
.nx-conds.lit { border-color: color-mix(in oklab, var(--sig) 30%, transparent); }
.nx-ck { display: inline-flex; align-items: center; gap: 6px; height: 28px; max-width: 100%; min-width: 0; padding: 0 11px 0 9px; border: 1px solid var(--line2); border-radius: var(--rp); font-size: 12px; color: var(--fg2); transition: border-color var(--t1), background var(--t1), color var(--t1); }
.nx-ck:hover { border-color: var(--line3); color: var(--fg); }
.nx-ck i { flex-shrink: 0; width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid var(--line3); transition: background var(--t1), border-color var(--t1); }
.nx-ck small { flex-shrink: 0; font-size: 10.5px; color: var(--dim); }
.nx-ck.on { border-color: color-mix(in oklab, var(--sig) 50%, transparent); background: var(--sig-a); color: var(--fg); }
.nx-ck.on i { background: var(--sig); border-color: var(--sig); }

/* 聲骸詞條:主 / 副左右兩欄 */
.nx-stats { gap: 10px; }
.nx-scols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
.nx-scol { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nx-scol .srow-h { padding: 0 0 2px; }
.nx-scol .srow-add { margin-top: 2px; }
.nx-stats .srow { grid-template-columns: minmax(110px, 1.3fr) minmax(84px, 1fr) auto 22px; }
@container (max-width: 640px) { .nx-scols { grid-template-columns: minmax(0, 1fr); } }
.nx-adv-d { padding-top: 6px; border-top: 1px solid var(--line); }
.nx-adv-d .disc { display: inline-flex; align-items: center; }
.nx-pfix { grid-template-columns: repeat(3, minmax(0, 140px)) minmax(0, 1fr); border-top: 0; margin-top: 4px; padding-top: 6px; }
.nx-pfix .pfix-d { grid-column: 1 / -1; }

/* 空頻道:三步引導 */
.nx-start h2 { font-size: 34px; }
.nx-steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 12px; margin: 4px 0 10px; }
.nx-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 12px; }
.nx-steps li::before { counter-increment: s; content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line3); font: 600 12px var(--f-mono); color: var(--dim); }
.nx-steps li.now::before { background: var(--sig); border-color: var(--sig); color: var(--sig-ink); box-shadow: 0 0 16px -2px var(--sig); }
.nx-steps li.done::before { content: '✓'; color: var(--sig); border-color: color-mix(in oklab, var(--sig) 50%, transparent); }
.nx-steps b { font-size: 14px; font-weight: 600; }
.nx-steps span { font-size: 12.5px; color: var(--dim); }

/* 右欄:這位的輸出在上 */
.nx-out { display: flex; flex-direction: column; gap: 8px; padding-bottom: 6px; }
.nx-out-n { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.nx-out-n .num { font-size: 46px; font-weight: 800; line-height: .9; color: var(--c); text-shadow: 0 0 40px color-mix(in oklab, var(--c) 35%, transparent); }
.nx-out-k { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 11.5px; text-align: right; }
.nx-out-hint { font-size: 10.5px; line-height: 1.4; max-width: 160px; }
.nx-out-empty { display: flex; flex-direction: column; gap: 8px; }
.nx-ro .ro-big { font-size: 56px; }
.nx-ro-hero { padding: 0 0 2px; }
.nx-pills { margin-top: 6px; }

/* ═════════ 02 出招:左 排招欄(停靠)/ 右 主畫面 ═════════ */
.nx-rot { display: flex; position: relative; }
.nx-main { flex: 1 1 auto; min-width: 0; container: nxmain / inline-size; }
.nx-dock { position: relative; z-index: 5; flex: 0 0 var(--dock-w); width: var(--dock-w); min-width: 0; display: flex; flex-direction: column; border-right: 1px solid var(--line2); background: color-mix(in oklab, var(--s1) 97%, transparent); box-shadow: 12px 0 30px -24px rgba(0, 0, 0, .9); animation: nxDockIn 260ms var(--ease) backwards; }
@keyframes nxDockIn { from { opacity: 0; transform: translateX(-12px); } }
.nx-dock-scrim { display: none; }
.nx-dock-rz { position: absolute; z-index: 6; top: 0; bottom: 0; right: -4px; width: 8px; cursor: ew-resize; touch-action: none; }
.nx-dock-rz:hover, .nx-dock-rz:active { background: linear-gradient(90deg, transparent 3px, var(--sig) 3px 5px, transparent 5px); }
.nx-dk-in { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.nx-dk-in.pip { height: 100vh; }
.nx-dk-hd { flex: 0 0 40px; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 12px; border-bottom: 1px solid var(--line); }
.nx-dk-hd .lbl { color: var(--sig); }
.nx-dk-hd .mono { font-size: 10.5px; }
.nx-dk-seq { flex: 0 0 50%; min-height: 80px; display: flex; flex-direction: column; }
.nx-dk-seq .fw-seq { flex: 1 1 auto; min-height: 0; overflow-y: auto; border-right: 0; padding: 6px 6px 8px; }
.nx-dk-split { position: relative; flex: 0 0 9px; cursor: ns-resize; touch-action: none; border-top: 1px solid var(--line2); background: var(--s2); }
.nx-dk-split i { position: absolute; left: 50%; top: 3px; width: 36px; height: 2px; margin-left: -18px; border-radius: 1px; background: var(--line3); transition: background var(--t1), width var(--t2) var(--ease), margin var(--t2) var(--ease); }
.nx-dk-split:hover i, .nx-dk-split:active i { background: var(--sig); width: 56px; margin-left: -28px; }
.nx-dk-pal { flex: 1 1 0; min-height: 120px; display: flex; flex-direction: column; }
.nx-dk-tabs { flex: 0 0 auto; padding: 8px 10px 6px; }
.nx-dk-pal > .pal { flex: 1 1 auto; min-height: 0; }
.nx-dk-pal > .fw-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.nx-dk-pal .fw-who { padding-top: 0; }
.nx-dock .pc, .nx-sheet .pc, .nx-pip .pc { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'av t' 'av a'; row-gap: 4px; align-items: start; }
.nx-dock .pc-av, .nx-sheet .pc-av, .nx-pip .pc-av { grid-area: av; padding-top: 1px; }
.nx-dock .pc-t, .nx-sheet .pc-t, .nx-pip .pc-t { grid-area: t; }
.nx-dock .pc-t b, .nx-sheet .pc-t b, .nx-pip .pc-t b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nx-dock .pc-a, .nx-sheet .pc-a, .nx-pip .pc-a { grid-area: a; justify-self: end; align-items: center; }
.nx-dock .rr-l { grid-template-columns: 50px minmax(0, 1fr) auto auto; }
/* 插入點:選中那一列下方 */
.nx-seq .fs.on::after { display: none; }
.nx-ins { display: flex; align-items: center; gap: 8px; margin: 3px 6px 7px 26px; font: 500 10px var(--f-mono); letter-spacing: .1em; color: var(--sig); pointer-events: none; }
.nx-ins::before { content: ''; flex: 0 0 14px; height: 2px; border-radius: 1px; background: var(--sig); box-shadow: 0 0 8px var(--sig); }
.nx-ins::after { content: ''; flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, color-mix(in oklab, var(--sig) 60%, transparent), transparent); }
.nx-seq-empty { padding: 18px 10px; }
.nx-open-dock { margin-top: 4px; }

/* 主畫面變窄(排招欄打開)時 */
@container nxmain (max-width: 1180px) {
  .ch { grid-template-columns: 156px minmax(0, 1fr); }
  .ch-res { width: 100%; }
  .bcs { grid-template-columns: repeat(auto-fill, minmax(204px, 1fr)); }
  .vw-split { grid-template-columns: minmax(0, 1fr) minmax(440px, 46%); }
  .mvp-b { padding: 8px 18px 80px; }
  .mvp-exp .num { font-size: 54px; }
}
@container nxmain (max-width: 940px) {
  .vw-split { display: flex; flex-direction: column; overflow-y: auto; }
  .vw-split > .half { contain: none; flex: none; height: auto; }
  .vw-split .half-b { overflow: visible; }
  .vw-split > .mvp { order: -1; border-left: 0; border-bottom: 1px solid var(--line2); }
}

/* 手機專用的東西:桌面不顯示 */
.nx-mseg, .nx-mseq, .nx-fab, .nx-mbar { display: none; }

/* < 1100:排招欄改成蓋在畫面上的抽屜(加完一招自動收) */
@media (max-width: 1100px) {
  .nx-rot { overflow: hidden; }
  .nx-main { overflow-y: auto; }
  .nx-dock { position: absolute; left: 0; top: 0; bottom: 0; z-index: 40; width: min(var(--dock-w), 92vw); box-shadow: 30px 0 80px -20px rgba(0, 0, 0, .9); }
  .nx-dock-scrim { display: block; position: absolute; inset: 0; z-index: 39; background: rgba(3, 4, 6, .5); animation: fadeIn 200ms var(--ease) backwards; }
  .nx-dock-rz { display: none; }
}

/* ═════════ 手機(< 760)═════════ */
@media (max-width: 760px) {
  .nx-app .page { padding-bottom: 60px; }
  .nx-app .toasts { bottom: 72px; }
  .nx-mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; }
  .nx-mbar-b { display: flex; align-items: center; gap: 14px; width: 100%; height: 58px; padding: 0 14px; background: var(--s2); border-top: 1px solid var(--line2); box-shadow: 0 -16px 40px -20px rgba(0, 0, 0, .9); text-align: left; }
  .nx-mbar-b > svg { width: 16px; height: 16px; color: var(--dim); }
  .nx-mbar .tk { flex-direction: column; align-items: flex-start; gap: 3px; }
  .nx-mbar .tk .v { font-size: 20px; }
  .nx-mbar .nx-share { width: 64px; }
  .nx-mbar-sheet { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 12px; background: var(--s2); border-top: 1px solid var(--line2); animation: riseIn 260ms var(--ease) backwards; }
  .nx-mshare { display: grid; grid-template-columns: 72px minmax(0, 1fr) 54px; align-items: center; gap: 10px; font-size: 12.5px; }
  .nx-mshare .meter { height: 4px; }
  .nx-mshare b { text-align: right; font-size: 12px; }
  .nx-mscene { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--line2); border-radius: var(--r2); font-size: 12.5px; color: var(--fg2); }
  .nx-mscene svg { width: 14px; height: 14px; flex-shrink: 0; }
  .nx-top .nx-scene { height: 34px; padding: 0 6px 0 4px; }
  .nx-top .nx-sc-n { border-left: 0; padding-left: 0; }
  .nx-top .nx-sc-n svg, .nx-top .acts .btn[aria-label='重做'], .nx-dock-btn { display: none !important; }
  .nx-top .nav a { padding: 0 8px; }
  .nx-stats > .sh { flex-wrap: wrap; row-gap: 8px; }
  .nx-stats > .sh::after { display: none; }
  .nx-stats > .sh .x { flex-wrap: wrap; gap: 6px; }
  .nx-drawer { top: auto; height: 82vh; width: 100vw; border-left: 0; border-top: 1px solid var(--line3); border-radius: 12px 12px 0 0; animation-name: nxSheetIn; }
  @keyframes nxSheetIn { from { opacity: 0; transform: translateY(24px); } }

  /* 隊伍:頭像列 + 「配裝 | 結果」 */
  .nx-mseg { display: block; padding: 10px 16px 0; }
  .nx-team[data-m='gear'] .nx-ro { display: none; }
  .nx-team[data-m='out'] .nx-editor { display: none; }
  .nx-rack { padding: 10px 12px 0; gap: 8px; }
  .nx-rack > .sh, .nx-rack .rack-hint, .nx-rotcard:not(.empty) { display: none; }
  .nx-rack .chns { flex-direction: row; gap: 6px; }
  .nx-rack .chn { flex: 1 1 0; height: 66px; }
  .nx-rack .chn-por, .nx-rack .chn-no, .nx-rack .chn-sub, .nx-rack .chn-miss, .nx-rack .chn-share .meter, .nx-rack .nx-d { display: none; }
  .nx-rack .chn-info { left: 9px; right: 9px; bottom: 8px; }
  .nx-rack .chn-name { font-size: 16px; }
  .nx-rack .chn-share .num { font-size: 12px; }
  .nx-rack .chn.empty .chn-add span { display: none; }
  .nx-hero { padding: 14px 16px; }
  .nx-hero-por { opacity: .4; }
  .nx-hero-in { max-width: 100%; gap: 10px; }
  .nx-hero-name { font-size: 30px; }
  .nx-hero-tags { display: none; }
  .nx-basic-sum { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 1px solid var(--line2); border-radius: var(--r2); background: var(--s2); font-size: 12.5px; text-align: left; }
  .nx-basic-sum .dim { font-size: 11.5px; }
  .nx-basic-sum svg { width: 14px; height: 14px; color: var(--dim); }
  .nx-hero-ctl { display: none; }
  .nx-hero-ctl.open { display: flex; }
  .nx-ro { padding-top: 14px; }

  /* 出招:「序列 | 這一招 | 狀態」+ 右下加招 */
  .nx-dock, .nx-dock-scrim { display: none !important; }
  .nx-rot { flex-direction: column; overflow: visible; }
  .nx-main { overflow: visible; }
  .nx-rot .tlz .lane:not(.master) { display: none; }
  .nx-rot .rv-splitter { display: none; }
  .nx-rot .nx-mseg { padding: 10px 12px 6px; }
  .nx-rot[data-m='seq'] .vw-split { display: none; }
  .nx-rot[data-m='seq'] .nx-mseq { display: block; padding: 0 8px; }
  .nx-mseq .fw-seq { overflow: visible; padding: 4px 0 12px; border: 0; }
  .nx-rot[data-m='move'] .half.us { display: none; }
  .nx-rot[data-m='state'] .half.mvp { display: none; }
  .nx-rot .vw-split { display: block; }
  .nx-rot .half { contain: none; height: auto; }
  .nx-rot .half-b { overflow: visible; }
  .nx-rot .mvp { border-left: 0; }
  .nx-fab { display: flex; align-items: center; gap: 6px; position: fixed; right: 14px; bottom: 74px; z-index: 50; height: 44px; padding: 0 18px 0 14px; border-radius: 22px; background: var(--sig); color: var(--sig-ink); font-weight: 700; font-size: 14px; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .9), 0 0 24px -6px var(--sig); }
  .nx-fab svg { width: 16px; height: 16px; }
  .nx-sheet-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(3, 4, 6, .55); animation: fadeIn 200ms var(--ease) backwards; }
  .nx-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 71; height: 72vh; display: flex; flex-direction: column; background: var(--s1); border-top: 1px solid var(--line3); border-radius: 12px 12px 0 0; box-shadow: 0 -30px 60px -20px rgba(0, 0, 0, .9); animation: nxSheetIn 280ms var(--ease) backwards; }
  .nx-sheet-hd { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 14px 10px 4px 14px; }
  .nx-sheet-hd .lbl { color: var(--sig); }
  .nx-sheet-hd .mono { font-size: 10.5px; }
  .nx-grab { position: absolute; left: 50%; top: 5px; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: var(--line3); }
  .nx-dk-in.sheet { flex: 1 1 auto; min-height: 0; }
  .nx-dk-in.sheet .nx-dk-pal { flex: 1 1 auto; }
}
/* 手機以外不需要的底部抽屜 */
@media (min-width: 761px) { .nx-sheet, .nx-sheet-scrim { display: none; } }

/* ═════════ 2026-10-21 使用者回饋:BUFF 晶片太長 + 誤觸;排招欄一次看得到的太少 ═════════ */
/* BUFF 晶片:依內容寬度排(不再撐滿格子);晶片本身不能點,只有滑過 / 點一下聚焦後出現的 × 會移除 */
.nx-rot .bcs { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.nx-rot .bc { display: inline-flex; align-items: center; gap: 6px; width: auto; max-width: 100%; height: 26px; padding: 0 9px 0 5px; }
.nx-rot .bc-nm { flex: 0 1 auto; max-width: 10em; }
.nx-rot .bc-s { min-width: 0; padding-left: 2px; }
.nx-rot .bc.nx-rmv { cursor: default; }
.nx-x { position: absolute; z-index: 2; right: 3px; top: 50%; display: grid; place-items: center; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: var(--s5); color: var(--danger); box-shadow: -6px 0 8px var(--s3); opacity: 0; pointer-events: none; transition: opacity var(--t1) var(--ease), background var(--t1); }
.nx-x svg { width: 11px; height: 11px; }
.nx-rmv:hover .nx-x, .nx-rmv:focus-within .nx-x { opacity: 1; pointer-events: auto; }
.nx-x:hover, .nx-x:focus-visible { background: var(--danger); color: var(--bg); }
.nx-rot .bc.nx-rmv:hover, .nx-rot .bc.nx-rmv:focus-within { border-color: var(--line3); }
.nx-rot .cw.nx-rmv { position: relative; padding-right: 7px; cursor: default; }
.nx-rot .cw .nx-x { width: 18px; height: 18px; margin-top: -9px; right: 1px; }
/* 角色資源:數值 0 的變淡 */
.nx-rot .ch-ctr > span.nx-zero { opacity: .45; }

/* 排招欄:加招區 —— 角色 / 搜尋 / 形態併一列,招式一行一個 */
.nx-dk-tabs { padding: 6px 8px 4px; }
.nx-pal-hd { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 2px 8px 6px; }
.nx-who { display: flex; gap: 2px; flex-shrink: 0; }
.nx-who-c { display: flex; padding: 2px; border-radius: 50%; opacity: .42; transition: opacity var(--t1), box-shadow var(--t2) var(--ease); }
.nx-who-c:hover { opacity: .8; }
.nx-who-c.on { opacity: 1; box-shadow: 0 0 0 1.5px var(--c); }
.nx-q { flex: 1 1 auto; height: 30px; margin: 0; min-width: 60px; }
.nx-q input { font-size: 12px; }
.nx-mode { flex: 0 1 auto; max-width: 104px; height: 30px; padding: 0 8px; line-height: 28px; display: block; }
.nx-pal .fw-body { padding: 0 4px 10px; }
.nx-pal .fw-g { margin-bottom: 4px; }
.nx-pal .fw-gh { padding: 6px 6px 2px; }
.nx-mv { grid-template-columns: 24px minmax(0, 1fr) auto 40px 12px; gap: 7px; min-height: 30px; padding: 2px 6px 2px 4px; }
.nx-mv .mv-ico { width: 24px; height: 24px; }
.nx-mv .mv-ico img { width: 18px; height: 18px; }
.nx-mv-nm { font-size: 12.5px; font-weight: 500; }
.nx-mv.top .nx-mv-nm { font-weight: 700; }
.nx-mv-meta { font-size: 10.5px; color: var(--dim); white-space: nowrap; }
.nx-mv .mv-m { font-size: 15px; text-align: right; }
.nx-mv .mv-add, .nx-mv .mv-lock { width: 12px; height: 12px; }

/* 排招欄:序列 —— 短序列不佔滿上半(剩下給加招);次數 / 耗時 / 對齊 平常收起 */
.nx-dk-seq { flex: 0 1 auto; }
.nx-dk-seq .fw-seq { flex: 0 1 auto; }
.nx-dk-help { display: inline-grid; place-items: center; width: 18px; height: 18px; color: var(--dim); cursor: help; }
.nx-dk-help svg { width: 13px; height: 13px; }
.nx-dk-help:hover, .nx-dk-help:focus-visible { color: var(--fg); }
.nx-seq .fs-ed { flex-wrap: nowrap; margin: 2px 2px 4px 22px; padding: 5px 6px; gap: 5px; }
.nx-seq .fs-ed .nf { flex: 0 1 auto; }
.nx-seq .fs-ed .clk { width: 112px; }
.nx-seq .fs-ed:has(.fs-al), .nx-seq .fs-ed:has(.fs-real) { flex-wrap: wrap; }
.nx-ins { margin: 1px 6px 4px 26px; }
.nx-seq .fs-a .btn.on { color: var(--sig); }

/* 頂欄不重疊(2026-10-21):結果區照內容寬度、不被擠扁;空間不夠時先縮情境鈕的標籤,再縮敵人名稱(總數一直顯示在右邊) */
.nx-top .ticker { flex: 0 0 auto; min-width: auto; }
.nx-top .acts { flex: 0 1 auto; min-width: 0; }
.nx-top .acts > * { flex-shrink: 0; }
.nx-top .acts > .nx-scene { flex-shrink: 1; min-width: 64px; overflow: hidden; }
.nx-scene > .av, .nx-scene > .nx-sc-av, .nx-scene > .nx-sc-n { flex-shrink: 0; }
.nx-scene .nx-sc-t { flex: 0 1 auto; min-width: 0; }
.nx-scene .nx-sc-tags { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.nx-scene .nx-sc-tags.hide { display: none; }
/* ≤ 1280:頂欄只留圖示(品牌文字、快捷鍵鈕、排招鈕文字收起;快捷鍵表一樣按 ? 叫出) */
@media (max-width: 1280px) { .nx-top .brand b, .nx-top .keys-btn, .nx-dock-t { display: none; } }
/* ≤ 1520:品牌只留標誌(「設為基準」的字比品牌名稱有用,先收品牌) */
@media (max-width: 1520px) { .nx-top .brand b { display: none; } }
/* 排招欄標頭:不換行(合規模式多一個「n 步不合規」時也是一行) */
.nx-dk-hd { white-space: nowrap; }
.nx-dk-hd > * { flex-shrink: 0; }
.nx-dk-hd > .mono { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* ═════════ 2026-10-21 自我檢查後的修正 ═════════ */
/* 平板(≤ 1000):頂欄放不下總傷害 → 跟手機一樣改成底部常駐結果列 */
@media (max-width: 1000px) {
  .nx-top .ticker { display: none; }
  .nx-app .page { padding-bottom: 60px; }
  .nx-app .toasts { bottom: 72px; }
  .nx-mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; }
  .nx-mbar-b { display: flex; align-items: center; gap: 14px; width: 100%; height: 58px; padding: 0 14px; background: var(--s2); border-top: 1px solid var(--line2); box-shadow: 0 -16px 40px -20px rgba(0, 0, 0, .9); text-align: left; }
  .nx-mbar-b > svg { width: 16px; height: 16px; color: var(--dim); }
  .nx-mbar .tk { flex-direction: column; align-items: flex-start; gap: 3px; }
  .nx-mbar .tk .v { font-size: 20px; }
  .nx-mbar .nx-share { width: 64px; }
  .nx-mbar-sheet { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 12px; background: var(--s2); border-top: 1px solid var(--line2); animation: riseIn 260ms var(--ease) backwards; }
  .nx-mshare { display: grid; grid-template-columns: 72px minmax(0, 1fr) 54px; align-items: center; gap: 10px; font-size: 12.5px; }
  .nx-mshare .meter { height: 4px; }
  .nx-mshare b { text-align: right; font-size: 12px; }
  .nx-mscene { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--line2); border-radius: var(--r2); font-size: 12.5px; color: var(--fg2); }
  .nx-mscene svg { width: 14px; height: 14px; flex-shrink: 0; }
  /* 情境抽屜停在結果列上面:切設定時看得到總傷害變化 */
  .nx-drawer { bottom: 58px; }
}
@media (max-width: 760px) {
  .nx-drawer { height: calc(82vh - 58px); }
  .nx-top { gap: 6px; padding: 0 6px 0 10px; }
}
.nx-tw-note { margin: 2px 6px 6px 50px; font-size: 11.5px; }

/* ═════════ 2026-10-21 操作面檢查後的修正 ═════════ */
/* 佔比條:按鈕本身上下留白到 24px 好點,細條畫在中間 */
.nx-share { display: flex; align-items: center; height: 24px; width: 84px; padding: 0; background: none; border-radius: 0; overflow: visible; }
.nx-share-bar { display: flex; gap: 2px; width: 100%; height: 8px; border-radius: 4px; overflow: hidden; background: var(--line); transition: box-shadow var(--t1); }
.nx-share i { display: block; height: 100%; min-width: 3px; background: var(--c); }
.nx-share:hover { box-shadow: none; }
button.nx-share:hover .nx-share-bar, button.nx-share:focus-visible .nx-share-bar { box-shadow: 0 0 0 3px var(--sig-a); }
span.nx-share { cursor: default; }
@media (max-width: 1000px) { .nx-mbar .nx-share { width: 64px; } }
/* ⓘ 說明:可以點開 */
button.nx-info { font: inherit; font-size: 11.5px; padding: 2px 0; }
.nx-info.on { color: var(--sig); border-bottom-color: var(--sig); }
.pop.nx-info-pop { max-width: min(360px, 92vw); padding: 10px 12px; }
/* 選中那一招的操作:常駐在「新招插在這裡」那一行右邊 */
.nx-ins { pointer-events: auto; gap: 6px; }
.nx-ins::after { display: none; }
.nx-ins > span:first-child { flex-shrink: 0; cursor: help; }
.nx-ins-ln { flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, color-mix(in oklab, var(--sig) 60%, transparent), transparent); }
.nx-ins-a { display: flex; gap: 1px; flex-shrink: 0; color: var(--fg2); letter-spacing: 0; }
.nx-ins-a .btn.on { color: var(--sig); }
/* 觸控裝置(沒有滑過):選中的隊員、裝備格直接顯示 ×;其他列的滑過按鈕不出現 */
@media (hover: none) {
  .chn.sel .chn-x, .nx-gt .nx-gt-x { opacity: 1; }
  .nx-seq .fs:hover .fs-a { display: none; }
}
/* 手機的「序列」分頁:可以刪除 / 排序(選中那一列下方的按鈕),按鈕放大一點好點 */
@media (max-width: 760px) {
  .nx-mseq .nx-ins-a .btn.ico.xs { width: 32px; height: 30px; }
  .nx-mseq .fs-nm { height: 36px; }
}

/* ═════════ 2026-10-21 修正計畫(原型修正計畫.md) ═════════ */
/* P1-1 結果當主角:全隊 DPS 最大,這位的輸出其次,面板數字降一級 */
.nx-res { display: flex; flex-direction: column; gap: 4px; padding: 2px 0 4px; }
.nx-res-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.nx-res-dps { font-size: 50px; font-weight: 800; line-height: .92; color: var(--fg); }
.nx-res-d { font-size: 14px; font-weight: 600; }
.nx-res-d small { font-size: 11px; font-weight: 400; color: var(--dim); }
.nx-res-hint { font-size: 11.5px; line-height: 1.5; text-align: left; }
.nx-res-sub { font-size: 11.5px; }
.nx-res-me { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 2px 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.nx-res-me > .lbl { grid-column: 1 / -1; }
.nx-res-mev { font-size: 30px; font-weight: 800; line-height: 1; color: var(--c); }
.nx-res-share { font-size: 12px; color: var(--fg2); }
.nx-ro .ro-big { font-size: 40px; }
/* P1-2 這一招:大數字下面寫「整招合計 · 含效應」 */
.nx-mvp-sub { font-size: 11.5px; margin-top: 2px; }
/* P1-3 修「沒做完感」 */
/* 主卡立繪:左半淡出,不壓住控制列的字 */
.nx-hero .hero-por img { mask-image: linear-gradient(#000 38%, transparent 66%), linear-gradient(90deg, transparent 0, transparent 18%, #000 62%); }
.nx-hero-ctl .lbl, .nx-hero-head .lbl { text-shadow: 0 0 6px var(--bg), 0 0 2px var(--bg); }
/* 裝備四格:說明列置底,下緣對齊 */
.nx-gt-ft { margin-top: auto; }
.nx-gt-h { padding-right: 28px; }
/* 從截圖填入的加總:兩欄排列 */
.nx-shotset { display: flex; flex-direction: column; gap: 6px; }
.nx-shotgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
@container (max-width: 640px) { .nx-shotgrid { grid-template-columns: minmax(0, 1fr); } }
/* P1-4 逐顆聲骸:沒放圖時截圖框縮成一條 */
.nx-shot:not(.has) { flex-direction: row; justify-content: flex-start; aspect-ratio: auto; height: 34px; padding: 0 4px 0 10px; gap: 6px; }
.nx-shot:not(.has) > svg { width: 14px; height: 14px; }
.nx-shot:not(.has) .btn { height: 24px; }
/* P1-5 頂欄:1440 也顯示「設為基準」文字(改成先收「耗時」);情境鈕數字寫「N 項設定」,不用警告色 */
@media (max-width: 1440px) { .nx-pin-t { display: inline; } }
@media (max-width: 1520px) { .nx-top .tk.opt { display: none; } }
@media (max-width: 1280px) { .nx-pin-t { display: none; } }
.nx-sc-n { gap: 4px; }
.nx-sc-n b { color: var(--sig); font-size: 12px; }
.nx-sc-nt { font-size: 11px; color: var(--fg2); white-space: nowrap; }
@media (max-width: 1360px) { .nx-sc-nt { display: none; } }
.nx-top .lbl b { font-size: 11px; color: var(--dim); }

/* P1-7 框線與元件樣式:只顯示的東西去框改淡底色,能點的保留框;切換鈕與下拉同高 */
.nx-app .pill { border-color: transparent; background: rgba(255, 255, 255, .055); }
.nx-app .pill.custom { border-color: color-mix(in oklab, var(--warn) 55%, transparent); }
.nx-hero-tags .tag:not(.el) { border-color: transparent; background: rgba(255, 255, 255, .06); }
.nx-rot .bc { border-color: transparent; background: rgba(255, 255, 255, .045); }
.nx-rot .bc.new { border-color: color-mix(in oklab, var(--up) 45%, transparent); }
.nx-rot .bc.soon { border-color: color-mix(in oklab, var(--warn) 50%, transparent); }
.nx-rot .bc.off { border-color: var(--line2); border-style: dashed; }
.nx-rot .cw { border-color: transparent; background: rgba(255, 255, 255, .05); }
.nx-gt + .nx-gt { border-left: 0; padding-left: 0; }
.nx-gear { gap: 14px; }
.nx-app .seg.sm button { height: 22px; }
.nx-rot .ch-ctr > span { border-color: transparent; background: rgba(255, 255, 255, .045); }
/* P2-8 顏色:技能沒點滿不用警告橘 */
.nx-skl-btn span.lo { color: var(--fg2); background: transparent; box-shadow: inset 0 0 0 1px var(--line2); }
/* P2-9 字級與對比:小標 10→11px、灰字提高對比(只在原型範圍) */
.nx-app { --dim: #9aa2b2; }
.nx-app .lbl { font-size: 10.5px; }
.nx-app .lbl b { font-size: 12px; }
/* P2-10 佔比寫清楚 */
.nx-share-l { font-size: 10.5px; color: var(--dim); margin-right: -4px; }
/* 隊員格的佔比壓在立繪上,亮色立繪會看不清:加陰影 */
.nx-chn .chn-share .num, .nx-chn .nx-share-l { text-shadow: 0 1px 2px rgba(0,0,0,.9), 0 0 10px rgba(0,0,0,.75); }
.nx-chn .nx-share-l { color: #c4cad6; }
/* P2-12 頻譜片段的段數不被省略號吃掉 */
.nx-clip-n { flex-shrink: 0; margin-left: 3px; font: 600 10.5px var(--f-mono); color: var(--fg); }
/* P2-14 抗性條下面的屬性簡稱 */
.tgt-res .nx-res-el { font-size: 10.5px; color: var(--c); line-height: 1; }
/* P2-15 出招頁:沒出手的角色列縮成一行(立繪縮小、資源條放右邊),出手者維持完整 */
.nx-rot .ch:not(.on):not(.bus):not(.foe) { min-height: 0; }
.nx-rot .ch:not(.on):not(.bus):not(.foe) .ch-id { flex-direction: row; align-items: center; gap: 10px; padding: 7px 12px 7px 14px; }
.nx-rot .ch:not(.on):not(.bus):not(.foe) .ch-nm { flex: 1 1 auto; }
.nx-rot .ch:not(.on):not(.bus):not(.foe) .ch-nm > .lbl, .nx-rot .ch:not(.on):not(.bus):not(.foe) .ch-st { display: none; }
.nx-rot .ch:not(.on):not(.bus):not(.foe) .ch-res { margin-top: 0; width: 76px; }
.nx-rot .ch:not(.on):not(.bus):not(.foe) .ch-por { opacity: .14; }
.nx-rot .ch:not(.on):not(.bus):not(.foe) .ch-body { padding: 6px 10px; gap: 5px; }
/* P2-15 隊伍頁左欄:敵人 · 情境卡 */
.nx-scenecard { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--s1); text-align: left; transition: border-color var(--t1), background var(--t1); }
.nx-scenecard:hover { border-color: var(--line3); background: var(--s2); }
.nx-scc-en { gap: 10px; }
.nx-scc-en .grow { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.nx-scc-en b { font-size: 13px; font-weight: 600; }
.nx-scc-en small { font-size: 11px; }
.nx-scc-en > svg { width: 14px; height: 14px; color: var(--dim); flex-shrink: 0; }
.nx-scc-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.nx-scc-tags .tag { border-color: transparent; background: rgba(255, 255, 255, .06); }
@media (min-width: 761px) and (max-width: 1100px) { .nx-scenecard { flex: 0 1 220px; } }
@media (max-width: 760px) { .nx-scenecard { display: none; } }
/* P2-16 手機頭像列:名字縮小、一行 */
@media (max-width: 760px) {
  .nx-rack .chn-name { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .nx-share-l { display: none; }
}
/* P3-17 隊員格主屬性那行不被立繪擋掉 */
.nx-chn-st { max-width: 100%; }
/* 手機「這一招」:期望傷害數字太寬會壓到右邊的不暴 / 暴擊 / 佔比,改成上下排 */
@media (max-width: 760px) {
  .nx-rot .mvp-dmg { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .nx-rot .mvp-exp .num { font-size: 52px; }
  .nx-rot .mvp-kv { grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 28px; }
}
/* 手機頻譜標題列:角色軌本來就隱藏,收合沒意義;縮放只留按鈕,拉桿與倍率文字收起,不超出畫面 */
@media (max-width: 760px) {
  .nx-rot .nx-tl-col, .nx-rot .tlz-ctl .tlz-rail, .nx-rot .tlz-ctl .tlz-txt { display: none; }
}
/* B1 裝備卡右上角的 DPS 差異:掛在卡片上緣,不擠到格子裡的標籤 */
.nx-gear-d { position: absolute; top: -10px; right: 16px; z-index: 2; padding: 1px 8px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px color-mix(in oklab, currentColor 35%, transparent); font-size: 12px; font-weight: 600; line-height: 17px; white-space: nowrap; }
.nx-gear-d small { font-size: 10.5px; font-weight: 400; color: var(--dim); }
/* 隊員格佔比列:有差異數字時空間不夠,讓進度條先縮,文字不換行 */
.nx-chn .chn-share .meter { flex: 0 1 84px; width: auto; min-width: 16px; }
.nx-chn .chn-share > :not(.meter) { flex-shrink: 0; white-space: nowrap; }
/* 技能等級浮層:刻度大一點、說明怎麼調 */
.nx-skl-pop .nx-skl-hint { font-size: 11px; }
.nx-skl-pop .sh .x { margin-left: auto; }
.nx-skls .skl-ticks button { height: 18px; padding: 6px 0; }
.nx-skls .skl-ticks button:hover { padding: 4px 0; }
/* 761–1100:排招欄已改成抽屜,主畫面寬度夠「我方 | 這一招」左右並排(正式版這個寬度是上下疊,這一招被擠到下面看不到);
   主畫面再窄(≤ 940)才上下疊,而且「這一招」放上面 */
@media (min-width: 761px) and (max-width: 1100px) {
  .nx-rot .vw-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 44%); align-items: start; }
}
@container nxmain (max-width: 940px) {
  .nx-rot .vw-split { display: flex; flex-direction: column; }
  .nx-rot .vw-split > .mvp { order: -1; }
}
/* 標籤列裡的秒數不要被轉成大寫(4.6S → 4.6s) */
.fw-gh span, .nx-dr-sh span { text-transform: none; }
.nx-res-none { margin-top: 4px; }
/* A1 套裝超過 5 顆、B1 條件沒達成 */
.nx-gt-ft .tag.warn { cursor: help; }
.nx-ck .nx-ck-miss { flex-shrink: 0; margin-left: 6px; font-size: 10.5px; color: var(--warn); }
/* D1 移除 BUFF 清單:整列不能點,只有 ×(× 一直顯示) */
.fw-rm.nx-rm { grid-template-columns: 18px minmax(0, 1fr) auto 38px 22px; cursor: default; padding-right: 2px; }
.fw-rm.nx-rm:hover { background: transparent; }
.nx-rm-x { display: grid; place-items: center; width: 22px; height: 22px; border-radius: var(--r1, 3px); color: var(--dim); }
.nx-rm-x:hover, .nx-rm-x:focus-visible { color: var(--danger); background: var(--s3); }
.fw-rm.nx-rm .nx-rm-x svg { color: currentColor; width: 12px; height: 12px; }
