[hidden] { display: none !important; }
/* =====================================================================
 * 纸牌帮 · 「装饰艺术金库夜劫」黑漆描金 + 朱红光芒 + 陶瓷筹码
 * ===================================================================== */
@font-face { font-family: 'Limelight'; src: url(fonts/limelight.woff2) format('woff2'); font-display: swap; }
:root {
  --bg: #3b1218; --bg-edge: #24090d; --panel: #4d1a21; --panel2: #5c222a; --panel-d: #34100f;
  --gold: #f2c14e; --gold-l: #ffe39a; --gold-d: #b8862b; --red: #e8442a; --red-d: #a52714; --jade: #36c48f; --jade-d: #1e8a5f;
  --ivory: #f8efdc; --ivory2: #efe2c4; --ink: #2b1a12; --text: #fbecd2; --text2: #e7c9a6; --text3: #b88f78;
  --cw: #f4f1ea; --cy: #f5c518; --co: #f08a24; --cr: #d8282f;
  --s-s: #1d1a1a; --s-h: #d8282f; --s-d: #ee7d1c; --s-c: #6f757d;
  --deco: 'Limelight', 'Times New Roman', serif;
  --top-h: 48px; --hub-footer-h: 26px; --r: 14px;
  --card-w: 64px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  font-family: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif; color: var(--text);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(242,193,78,.10), transparent 55%),
    repeating-conic-gradient(from 0deg at 50% 38%, rgba(242,193,78,.035) 0 4deg, transparent 4deg 12deg),
    radial-gradient(ellipse at 50% 40%, var(--bg) 40%, var(--bg-edge) 100%);
  background-attachment: fixed; min-height: 100dvh; overscroll-behavior-y: none;
}
button { font-family: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
.app-shell { min-height: calc(100dvh - var(--hub-footer-h)); }
.screen { display: none; }
body[data-screen="start"] #screen-start, body[data-screen="resume"] #screen-resume, body[data-screen="lobby"] #screen-lobby, body[data-screen="game"] #screen-game { display: block; }
.scrolly { overflow: auto; scrollbar-width: thin; scrollbar-color: var(--gold-d) transparent; overscroll-behavior: contain; }
.scrolly::-webkit-scrollbar { width: 6px; height: 6px; } .scrolly::-webkit-scrollbar-thumb { background: var(--gold-d); border-radius: 3px; } .scrolly::-webkit-scrollbar-track { background: transparent; }

/* ---------- 顶栏：黑漆 + 金线阶梯 */
.topbar {
  height: var(--top-h); display: flex; align-items: center; gap: 8px; padding: 0 10px 0 8px; position: relative; z-index: 5;
  background: linear-gradient(#24090d, #2d0d12); border-bottom: 1px solid var(--gold-d);
  box-shadow: 0 3px 0 -1px #24090d, 0 4px 0 -1px rgba(242,193,78,.45);
}
.logo { width: 34px; height: 34px; flex: none; }
.brand { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand b { font-size: 17px; letter-spacing: 3px; color: var(--gold); }
.brand small { font-size: 11px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .5px; }
.sp { flex: 1; }
.tools { display: flex; gap: 6px; flex-shrink: 0; }
.tb { white-space: nowrap; flex-shrink: 0; height: 32px; padding: 0 12px; border-radius: 4px; border: 1px solid var(--gold-d); background: transparent; color: var(--gold-l); font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.tb:hover { background: rgba(242,193,78,.12); }
.tb.warn { color: #ffb2a3; border-color: #a5442e; }
.tb.off { opacity: .55; text-decoration: line-through; }

/* ---------- 按钮 */
.btn { min-height: 44px; padding: 0 18px; border-radius: 6px; font-size: 15px; font-weight: 800; border: 0; letter-spacing: 1px; transition: transform .08s, filter .15s; background: var(--gold); color: var(--ink); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn.main { background: linear-gradient(#f05a3c, var(--red)); color: #fff7ea; box-shadow: inset 0 -3px 0 var(--red-d), 0 0 0 1px #ff9b84 inset; }
.btn.gold { background: linear-gradient(var(--gold-l), var(--gold)); color: var(--ink); box-shadow: inset 0 -3px 0 var(--gold-d); }
.btn.jade { background: linear-gradient(#5be0ab, var(--jade)); color: #062a1c; box-shadow: inset 0 -3px 0 var(--jade-d); }
.btn.sec { background: transparent; color: var(--gold-l); border: 1.5px solid var(--gold-d); }
.btn.sec:hover:not(:disabled) { background: rgba(242,193,78,.1); }
.btn.big { min-height: 50px; font-size: 16px; width: 100%; }
.btn.tiny { min-height: 30px; padding: 0 10px; font-size: 12px; }
.btn.warn-ghost { background: transparent; color: #ffb2a3; border: 1.5px dashed #c0533c; }
.btn:hover:not(:disabled) { filter: brightness(1.06); }

/* ---------- 面板：黑漆 + 金描边 + 阶梯角 */
.panel {
  background: linear-gradient(160deg, var(--panel2), var(--panel) 40%, #43161c); border-radius: 6px; position: relative;
  box-shadow: 0 0 0 1px var(--gold-d), 0 0 0 4px var(--panel-d), 0 0 0 5px rgba(242,193,78,.35);
}
.panel::before, .panel::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid var(--gold); pointer-events: none; }
.panel::before { top: 5px; left: 5px; border-right: 0; border-bottom: 0; }
.panel::after { bottom: 5px; right: 5px; border-left: 0; border-top: 0; }

/* ---------- 开始页 */
.start-main { max-width: 1240px; margin: 0 auto; padding: 22px 16px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: center; min-height: calc(100dvh - var(--top-h) - var(--hub-footer-h)); }
.hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.hero-art { position: relative; aspect-ratio: 1; }
.vault-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 3px var(--gold), 0 0 0 9px var(--panel-d), 0 0 0 10px var(--gold-d), 0 20px 50px rgba(0,0,0,.5); }
.hero-fan { position: absolute; inset: 0; pointer-events: none; }
.hero-fan .pc { position: absolute; --card-w: 74px; box-shadow: 0 8px 18px rgba(0,0,0,.45); }
.hero-copy h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.2; margin: 0 0 14px; color: var(--ivory); letter-spacing: 2px; }
.hero-copy h1 em { font-style: normal; color: var(--gold); border-bottom: 3px solid var(--red); }
.hero-copy p { color: var(--text2); line-height: 1.75; font-size: 15px; margin: 0 0 12px; }
.hero-copy b { color: var(--gold-l); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.hero-tags span { padding: 5px 12px; border: 1px solid var(--gold-d); color: var(--gold-l); font-size: 13px; font-weight: 700; border-radius: 3px; background: rgba(0,0,0,.18); }
.tiny { font-size: 12px !important; color: var(--text3) !important; }
.entry { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; align-items: stretch; background: linear-gradient(160deg, var(--panel2), var(--panel)); border-radius: 6px; box-shadow: 0 0 0 1px var(--gold-d), 0 0 0 4px var(--panel-d), 0 0 0 5px rgba(242,193,78,.4), 0 24px 50px rgba(0,0,0,.4); }
.entry-logo { width: 62px; height: 62px; align-self: center; }
.entry h2 { margin: 0 0 4px; text-align: center; font-size: 20px; letter-spacing: 6px; color: var(--gold); }
.lbl { font-size: 13px; color: var(--text2); font-weight: 700; }
.inp { height: 46px; border-radius: 6px; border: 1.5px solid var(--gold-d); background: #2a0c10; color: var(--ivory); font-size: 16px; padding: 0 12px; font-family: inherit; outline: none; }
.inp:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,193,78,.2); }
.inp.code { text-align: center; letter-spacing: 8px; font-family: var(--deco); font-size: 20px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.resume-box { max-width: 420px; margin: 18vh auto 0; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; padding: 20px; }
.resume-logo { width: 72px; height: 72px; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.resume-box p { color: var(--text2); margin: 0; }

/* ---------- 大厅 */
.lobby-main { max-width: 1820px; margin: 0 auto; padding: 16px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; min-height: calc(100dvh - var(--top-h) - var(--hub-footer-h)); align-items: stretch; }
.lobby-left { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.lobby-right { padding: 16px 6px 16px 16px; display: flex; min-height: 0; }
.lobby-head { display: flex; align-items: center; gap: 10px; }
.lobby-head b { font-family: var(--deco); font-size: 26px; color: var(--gold); font-weight: 400; letter-spacing: 1px; }
.pill { padding: 4px 10px; border-radius: 3px; background: rgba(0,0,0,.25); border: 1px solid var(--gold-d); font-size: 12px; color: var(--gold-l); font-weight: 700; }
.seats { display: grid; gap: 10px; }
.seats.cols-2 { grid-template-columns: repeat(2, 1fr); } .seats.cols-3 { grid-template-columns: repeat(3, 1fr); }
.seat { min-height: 104px; border-radius: 6px; border: 1.5px dashed rgba(242,193,78,.35); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px 4px; background: rgba(0,0,0,.12); }
.seat.taken { border: 1.5px solid var(--gold-d); background: linear-gradient(#5f232b, #48181e); box-shadow: inset 0 3px 0 var(--sc); }
.seat .tok { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 18px; color: #fff; background: var(--sc); box-shadow: 0 0 0 2px var(--ivory), 0 0 0 4px var(--sc); }
.seat .tok.empty { background: transparent; box-shadow: none; border: 2px dashed rgba(242,193,78,.35); }
.seat .nm { font-weight: 800; font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.tag { font-size: 11px; padding: 2px 7px; border-radius: 3px; background: rgba(0,0,0,.25); color: var(--text2); font-weight: 700; }
.tag.host { background: var(--gold); color: var(--ink); } .tag.you { background: var(--red); color: #fff; } .tag.bot { background: #3d5c78; color: #fff; } .tag.off { background: #555; color: #ddd; }
/* 座位下那排：手机也一行、铺满、等高同圆角（小王 12-02 定的避坑） */
.lobby-ctl { display: grid; grid-template-columns: 1fr 1.7fr 1fr; gap: 8px; align-items: stretch; }
.lobby-ctl .btn { width: 100%; min-height: 44px; padding: 0 6px; border-radius: 6px; white-space: nowrap; font-size: 15px; letter-spacing: 0; }
.lobby-ctl .fill { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 44px; border: 1.5px solid var(--gold-d); border-radius: 6px; overflow: hidden; white-space: nowrap; font-size: 14px; font-weight: 800; color: var(--gold-l); }
.lobby-ctl .fill > span { padding: 0 2px 0 10px; }
.lobby-ctl .fill select { height: 100%; min-width: 0; border: 0; background: transparent; color: var(--ivory); font-family: inherit; font-size: 15px; font-weight: 800; padding: 0 2px; outline: none; }
.lobby-ctl .fill select option { background: var(--panel); }
.lobby-ctl .fill .btn { width: auto; min-height: 0; height: 100%; border-radius: 0; padding: 0 12px; }
.lobby-go { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: auto; }
.scoreboard { font-size: 13px; color: var(--text2); }
.settings { display: flex; flex-direction: column; gap: 14px; flex: 1; min-height: 0; padding-right: 10px; }
.set-row { display: flex; flex-direction: column; gap: 7px; }
.set-row > b { font-size: 14px; color: var(--gold); letter-spacing: 2px; }
.set-row > small { font-size: 12px; color: var(--text3); line-height: 1.55; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 40px; padding: 4px 12px; border-radius: 5px; border: 1.5px solid var(--gold-d); background: rgba(0,0,0,.15); color: var(--text); font-weight: 800; font-size: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.seg button small { font-weight: 500; font-size: 11px; color: var(--text3); }
.seg button.on { background: linear-gradient(var(--gold-l), var(--gold)); color: var(--ink); border-color: var(--gold); }
.seg button.on small { color: #6b4a20; }
.seg button:disabled { opacity: .7; cursor: default; }
.seg button.on:disabled { opacity: 1; }
.xgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.xopt { text-align: left; padding: 8px 10px; border-radius: 5px; border: 1.5px solid var(--gold-d); background: rgba(0,0,0,.15); min-height: 54px; display: flex; flex-direction: column; gap: 2px; }
.xopt b { font-size: 14px; } .xopt small { font-size: 11px; color: var(--text3); line-height: 1.4; }
.xopt.on { border-color: var(--gold); background: rgba(242,193,78,.16); box-shadow: inset 4px 0 0 var(--gold); }
.xopt.on b::before { content: '✓ '; color: var(--gold); }
.set-note { font-size: 12.5px; color: var(--text2); line-height: 1.7; padding: 10px 12px; border: 1px solid rgba(242,193,78,.25); border-radius: 5px; background: rgba(0,0,0,.15); }
.set-note b { color: var(--gold-l); }
.cardstrip { display: flex; gap: 6px; flex-wrap: wrap; }
.cardstrip img { width: 58px; border-radius: 4px; cursor: zoom-in; box-shadow: 0 0 0 1px var(--gold-d); }

/* ---------- 扑克牌：象牙卡面 + 官方四色花色 */
.pc {
  --w: var(--card-w); width: var(--w); height: calc(var(--w) * 1.4); border-radius: calc(var(--w) * .09); position: relative; flex: none;
  background: linear-gradient(160deg, #fffaf0, var(--ivory) 60%, var(--ivory2)); color: var(--sc, var(--ink));
  box-shadow: 0 0 0 1px rgba(43,26,18,.25), 0 3px 0 rgba(0,0,0,.25), 0 6px 14px rgba(0,0,0,.25);
  overflow: hidden; user-select: none; transition: transform .16s;
}
.pc::before { content: ''; position: absolute; inset: calc(var(--w) * .055); border: 1px solid rgba(184,134,43,.55); border-radius: calc(var(--w) * .06); pointer-events: none; }
.pc.s { --sc: var(--s-s); } .pc.h { --sc: var(--s-h); } .pc.d { --sc: var(--s-d); } .pc.c { --sc: var(--s-c); } .pc.n { --sc: #8a5a12; }
.pc .rk { position: absolute; top: calc(var(--w) * .06); left: calc(var(--w) * .1); font-family: var(--deco); font-size: calc(var(--w) * .34); line-height: 1; }
.pc .su { position: absolute; top: calc(var(--w) * .42); left: calc(var(--w) * .1); font-size: calc(var(--w) * .22); line-height: 1; }
.pc .pip { position: absolute; right: calc(var(--w) * .08); bottom: calc(var(--w) * .06); font-size: calc(var(--w) * .58); line-height: 1; opacity: .92; }
.pc.face .pip { font-family: var(--deco); font-size: calc(var(--w) * .62); right: calc(var(--w) * .1); bottom: calc(var(--w) * .1);
  background: linear-gradient(var(--gold-l), var(--gold-d)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(0,0,0,.25)); }
.pc.face::after { content: ''; position: absolute; left: calc(var(--w) * .3); right: calc(var(--w) * .06); top: calc(var(--w) * .06); bottom: calc(var(--w) * .06); border: 1px solid rgba(184,134,43,.55); border-radius: 3px; pointer-events: none;
  background: linear-gradient(135deg, transparent 46%, rgba(184,134,43,.18) 47% 53%, transparent 54%); }
.pc.back { background: repeating-linear-gradient(45deg, #5c222a 0 6px, #4a1a20 6px 12px); box-shadow: 0 0 0 1.5px var(--gold-d), 0 3px 0 rgba(0,0,0,.3); }
.pc.back::before { border-color: var(--gold); }
.pc.back::after { content: ''; position: absolute; inset: 30%; border-radius: 50%; border: 2px solid var(--gold); box-shadow: inset 0 0 0 3px var(--panel), inset 0 0 0 5px var(--gold-d); }
.pc.empty { background: transparent; box-shadow: none; border: 1.5px dashed rgba(242,193,78,.35); }
.pc.empty::before { display: none; }
.pc.sel { transform: translateY(-10px); box-shadow: 0 0 0 3px var(--gold), 0 10px 18px rgba(0,0,0,.4); }
.pc.dim { filter: grayscale(.6) brightness(.7); }
.pc.best { box-shadow: 0 0 0 2.5px var(--jade), 0 3px 0 rgba(0,0,0,.25); }
.pc.up::after { content: '亮'; position: absolute; top: 2px; right: 2px; font-size: 10px; background: var(--gold); color: var(--ink); padding: 0 3px; border-radius: 2px; font-weight: 900; opacity: 1; width: auto; height: auto; mask: none; -webkit-mask: none; }
.stack { position: relative; display: flex; }
.stack .pc + .pc { margin-left: calc(var(--card-w) * -.62); }
.stack.multi::after { content: '任选其一'; position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%); font-size: 10px; color: var(--gold-l); white-space: nowrap; }
.flip { animation: flip .5s ease-out both; }
@keyframes flip { 0% { transform: rotateY(90deg) scale(.9); } 100% { transform: none; } }

/* ---------- 筹码：陶瓷赌场筹码 */
.chip {
  --cc: var(--cw); --cs: 46px; width: var(--cs); height: var(--cs); border-radius: 50%; border: 0; padding: 0; position: relative; flex: none;
  background: repeating-conic-gradient(from 8deg, var(--cc) 0 22deg, #fffbf2 22deg 30deg);
  box-shadow: 0 0 0 2px rgba(0,0,0,.35), 0 3px 0 rgba(0,0,0,.35), inset 0 0 0 2px rgba(0,0,0,.18);
  display: grid; place-items: center; transition: transform .15s, box-shadow .15s;
}
.chip i { width: 64%; height: 64%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, var(--cc) 140%); display: grid; place-items: center; font-style: normal; font-family: var(--deco); color: var(--ink); font-size: calc(var(--cs) * .36); line-height: 1; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.25); }
.chip i small { font-size: .45em; margin-left: 1px; }
.chip.w { --cc: #e9e2d2; } .chip.y { --cc: var(--cy); } .chip.o { --cc: var(--co); } .chip.r { --cc: var(--cr); }
.chip.r i, .chip.o i { color: #2a0b06; }
.chip.dark { background: repeating-conic-gradient(from 8deg, #241a19 0 22deg, var(--cc) 22deg 30deg); }
.chip.dark i { background: radial-gradient(circle at 40% 35%, #555, #1c1414); color: var(--cc); }
.chip.exit { background: repeating-conic-gradient(from 8deg, #1d1a1a 0 22deg, var(--cr) 22deg 30deg); }
.chip.exit i { background: #1d1a1a; color: var(--cr); font-family: inherit; font-weight: 900; font-size: calc(var(--cs) * .22); }
.chip.ghost { background: transparent; box-shadow: none; border: 1.5px dashed rgba(242,193,78,.35); }
.chip.ghost i { background: transparent; box-shadow: none; color: var(--text3); }
.chip.hide i { background: #2b1a12; color: var(--text3); }
.chip.sm { --cs: 24px; } .chip.sm i { font-size: 11px; }
.chip.xs { --cs: 18px; } .chip.xs i { font-size: 9px; }

/* ---------- 对局：通用 */
.track { display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 6px; background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 1px rgba(242,193,78,.25); min-height: 44px; }
.track .grp { display: flex; align-items: center; gap: 4px; }
.track .lab { font-size: 12px; color: var(--text2); font-weight: 700; margin-right: 2px; white-space: nowrap; }
.bar { width: 30px; height: 15px; color: #6b4c2c; opacity: .55; }
.bar.on { color: var(--gold); opacity: 1; filter: drop-shadow(0 0 5px rgba(242,193,78,.7)); }
.alm { width: 20px; height: 20px; color: #6b3a35; opacity: .6; }
.alm.on { color: var(--red); opacity: 1; filter: drop-shadow(0 0 6px rgba(232,68,42,.9)); }
.track .heist { font-family: var(--deco); color: var(--gold); font-size: 18px; white-space: nowrap; }
.rounds { display: flex; gap: 3px; margin-left: auto; }
.rounds span { font-size: 11px; padding: 3px 7px; border-radius: 3px; background: rgba(0,0,0,.25); color: var(--text3); font-weight: 700; white-space: nowrap; }
.rounds span.cur { background: var(--gold); color: var(--ink); }
.rounds span.done { color: var(--text2); }
.rounds span.skip { text-decoration: line-through; opacity: .5; }

/* 牌桌：圆形金库门 */
.table { position: relative; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 14px 10px;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(242,193,78,.6) 34% 34.6%, transparent 34.6% 40%, rgba(242,193,78,.25) 40% 40.4%, transparent 40.4%),
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(242,193,78,.08) 0 3deg, transparent 3deg 9deg),
    radial-gradient(ellipse at 50% 45%, #1f4b45, #12322e 70%, #0c2421);
  box-shadow: 0 0 0 1px var(--gold-d), 0 0 0 5px #24090d, 0 0 0 6px rgba(242,193,78,.4), inset 0 0 40px rgba(0,0,0,.45); }
.table .cap { font-size: 12px; color: var(--gold-l); letter-spacing: 2px; font-weight: 700; opacity: .9; }
.board { display: flex; gap: 8px; align-items: flex-end; justify-content: center; flex-wrap: nowrap; }
.board .slot.vote { cursor: pointer; }
.board .slot.vote .pc { box-shadow: 0 0 0 2px var(--gold), 0 3px 0 rgba(0,0,0,.25); }
.board .slot.voted .pc { box-shadow: 0 0 0 3px var(--red), 0 3px 0 rgba(0,0,0,.25); transform: translateY(-6px); }
.board .vc { font-size: 11px; color: var(--gold-l); text-align: center; margin-top: 3px; }
.dealer-tag { position: absolute; top: 8px; left: 10px; font-size: 12px; color: var(--ivory); background: rgba(0,0,0,.35); padding: 3px 8px; border-radius: 3px; border: 1px solid var(--gold-d); }
.deck-tag { position: absolute; top: 8px; right: 10px; font-size: 12px; color: var(--text2); }
.between { display: grid; gap: 6px; width: 100%; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.between .bt { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 4px; border-radius: 6px; background: rgba(0,0,0,.18); }
.between .bt small { font-size: 11px; color: var(--text2); white-space: nowrap; }
.between .bt.mine { box-shadow: inset 0 0 0 1.5px var(--gold); }

/* 筹码托盘 */
.tray { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: linear-gradient(#2a0c10, #331015); box-shadow: inset 0 0 0 1px rgba(242,193,78,.3), inset 0 4px 10px rgba(0,0,0,.4); min-height: 76px; overflow-x: auto; scrollbar-width: none; }
.tray::-webkit-scrollbar { display: none; }
.tray .tlab { font-size: 12px; color: var(--text2); font-weight: 700; writing-mode: vertical-rl; letter-spacing: 3px; flex: none; }
.tslot { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 52px; flex: 1 0 52px; }
.tslot .who { font-size: 11px; max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text2); line-height: 1.2; min-height: 14px; }
.tslot .who.me { color: var(--gold); font-weight: 800; }
.tslot .chip.can { cursor: pointer; }
.tslot .chip.can:hover { transform: translateY(-3px); }
.tslot .chip.my { box-shadow: 0 0 0 3px var(--gold), 0 0 14px rgba(242,193,78,.8); transform: translateY(-4px); }
.tslot .chip.oth { opacity: .78; }
.tslot.taken .chip { cursor: pointer; }
.tray .note { font-size: 13px; color: var(--text2); padding: 0 6px; }
.chip.pop { animation: chipPop .35s ease-out; }
@keyframes chipPop { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: none; } }
.chip.stolen { animation: stolen .6s ease-out; }
@keyframes stolen { 0%, 100% { box-shadow: 0 0 0 2px rgba(0,0,0,.35); } 40% { box-shadow: 0 0 0 4px var(--red), 0 0 18px var(--red); } }

/* 提示条 */
.prompt { min-height: 40px; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 6px; background: rgba(0,0,0,.28); font-size: 14px; line-height: 1.4; flex-wrap: wrap; }
.prompt b { color: var(--gold); }
.prompt .sp { flex: 1; }
.prompt.act { background: linear-gradient(90deg, rgba(242,193,78,.24), rgba(242,193,78,.06)); box-shadow: inset 3px 0 0 var(--gold); }
.prompt.alert { background: linear-gradient(90deg, rgba(232,68,42,.3), rgba(232,68,42,.08)); box-shadow: inset 3px 0 0 var(--red); }
.prompt .btn { min-height: 36px; padding: 0 12px; font-size: 14px; }
.prompt .opts { display: flex; flex-wrap: wrap; gap: 5px; width: 100%; }
.prompt .opts button { min-height: 38px; min-width: 40px; padding: 0 9px; border-radius: 5px; border: 1.5px solid var(--gold-d); background: rgba(0,0,0,.2); font-weight: 800; font-size: 14px; }
.prompt .opts button.on { background: var(--gold); color: var(--ink); }
.timer { font-family: var(--deco); color: var(--gold-l); font-size: 14px; white-space: nowrap; }
.timer.low { color: #ff8f7a; }

/* 我的区域 */
.mine { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; background: linear-gradient(160deg, var(--panel2), var(--panel)); box-shadow: 0 0 0 1px var(--gold-d), inset 0 3px 0 var(--gold); }
.mine .hand { display: flex; gap: 8px; align-items: flex-end; }
.mine .hand .pc { cursor: pointer; }
.mine .info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mine .hname { font-size: 15px; font-weight: 800; color: var(--ivory); }
.mine .hname small { color: var(--text2); font-weight: 500; font-size: 12px; margin-left: 4px; }
.mine .hist { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.mine .hist .lab { font-size: 12px; color: var(--text3); margin-right: 2px; }
.mine .row { display: flex; gap: 8px; flex-wrap: wrap; }
.mine .row .btn { flex: 1 1 auto; }
.mine .watch { color: var(--text2); font-size: 14px; }
.toolbadge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 4px; background: rgba(242,193,78,.14); border: 1px solid var(--gold-d); color: var(--gold-l); font-size: 12.5px; font-weight: 800; }
.toolbadge.used { opacity: .45; text-decoration: line-through; }
button.toolbadge { min-height: 32px; }
.privs { font-size: 12.5px; color: var(--gold-l); display: flex; flex-direction: column; gap: 2px; }

/* 帮众 */
.crew { display: flex; flex-direction: column; gap: 8px; }
.mate { position: relative; padding: 8px 10px; border-radius: 6px; background: linear-gradient(160deg, #5a2129, #47171d); box-shadow: 0 0 0 1px rgba(242,193,78,.35); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; align-items: center; }
.mate.me { box-shadow: 0 0 0 1.5px var(--gold), inset 3px 0 0 var(--gold); }
.mate.off { opacity: .65; }
.mate .mn { font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 5px; min-width: 0; }
.mate .mn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mate .st { font-size: 11px; color: var(--text3); white-space: nowrap; }
.mate .st.ok { color: var(--jade); } .mate .st.wait { color: var(--gold-l); }
.mate .cur { grid-row: 1 / span 2; grid-column: 2; display: flex; align-items: center; gap: 4px; }
.mate .hist { display: flex; gap: 3px; align-items: center; }
.mate .extra { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; font-size: 12px; color: var(--text2); }
.mate .extra .ann { background: rgba(242,193,78,.14); color: var(--gold-l); padding: 1px 6px; border-radius: 3px; font-weight: 700; }
.mate .extra .pcs { display: flex; gap: 3px; --card-w: 28px; }
.mate .rev { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; --card-w: 30px; font-size: 12px; }
.mate .rev .hd { color: var(--ivory); font-weight: 700; }
.mate .rev.ok .hd::after { content: ' ✓'; color: var(--jade); font-weight: 900; }
.mate .rev.bad .hd::after { content: ' ✗'; color: var(--red); font-weight: 900; }
.mate .exitb { font-size: 10px; background: #1d1a1a; color: var(--cr); padding: 1px 5px; border-radius: 3px; font-weight: 900; border: 1px solid var(--cr); }
.mate .musc { font-size: 10px; background: var(--red); color: #fff; padding: 1px 5px; border-radius: 3px; font-weight: 900; }
.mate.voter::after { content: '待表决'; position: absolute; top: -6px; right: 6px; font-size: 10px; background: var(--gold); color: var(--ink); padding: 0 5px; border-radius: 3px; font-weight: 900; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot.on { background: var(--jade); } .dot.off { background: #777; } .dot.bot { background: #6f9bd1; }

/* 右栏：生效卡 */
.effects { display: flex; flex-direction: column; gap: 8px; }
.effects .lab { font-size: 12px; color: var(--text2); letter-spacing: 2px; font-weight: 700; }
.ecards { display: flex; gap: 8px; flex-wrap: wrap; }
.ecard { width: 108px; border-radius: 6px; overflow: hidden; position: relative; cursor: zoom-in; box-shadow: 0 0 0 1.5px var(--gold-d), 0 6px 14px rgba(0,0,0,.4); border: 0; padding: 0; background: #000; }
.ecard img { width: 100%; display: block; }
.ecard .used { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); color: var(--gold); font-weight: 900; font-size: 15px; letter-spacing: 3px; }
.ecard.can { box-shadow: 0 0 0 2.5px var(--gold), 0 0 18px rgba(242,193,78,.6); cursor: pointer; }
.etext { font-size: 12.5px; color: var(--text2); line-height: 1.55; }
.etext b { color: var(--gold-l); }
.propbox { padding: 10px; border-radius: 6px; background: rgba(242,193,78,.12); box-shadow: inset 0 0 0 1.5px var(--gold); font-size: 13.5px; display: flex; flex-direction: column; gap: 8px; }
.propbox .row { display: flex; gap: 6px; }
.propbox .row .btn { flex: 1; min-height: 40px; }
.vchips { display: flex; flex-wrap: wrap; gap: 4px; }
.vchips span { font-size: 11px; padding: 1px 6px; border-radius: 3px; background: rgba(0,0,0,.25); color: var(--text3); }
.vchips span.ok { background: var(--jade-d); color: #fff; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--gold-d); }
.tabs button { flex: 1; min-height: 38px; border: 0; background: transparent; color: var(--text2); font-weight: 800; font-size: 14px; border-bottom: 3px solid transparent; letter-spacing: 2px; }
.tabs button.on { color: var(--gold); border-bottom-color: var(--gold); }
.tab-body { font-size: 13px; line-height: 1.6; padding: 8px 4px; }
.log-row { padding: 3px 0; border-bottom: 1px dashed rgba(242,193,78,.12); color: var(--text2); }
.log-row.k-heist { color: var(--gold); font-weight: 800; padding-top: 8px; }
.log-row.k-round, .log-row.k-roundend { color: var(--ivory); }
.log-row.k-good { color: var(--jade); font-weight: 800; } .log-row.k-bad { color: #ff8f7a; font-weight: 800; }
.log-row.k-steal { color: #ffc2b3; } .log-row.k-reveal { color: var(--ivory); }
.log-row.k-prop, .log-row.k-spec, .log-row.k-tool, .log-row.k-ch { color: var(--gold-l); }
.hrow { display: grid; grid-template-columns: 72px 1fr; gap: 2px 8px; padding: 6px 0; border-bottom: 1px dashed rgba(242,193,78,.15); }
.hrow b { color: var(--gold); } .hrow code { font-family: inherit; color: var(--ivory); letter-spacing: 1px; } .hrow small { grid-column: 2; color: var(--text3); font-size: 12px; }
.ref h4 { margin: 10px 0 4px; color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.ref p { margin: 0 0 6px; color: var(--text2); }

/* 摊牌面板（中间牌桌上） */
.showlist { display: flex; flex-direction: column; gap: 5px; width: 100%; max-width: 560px; }
.srow { display: grid; grid-template-columns: 30px minmax(0, 92px) auto minmax(0, 1fr) 24px; gap: 8px; align-items: center; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.28); --card-w: 30px; }
.srow .nm { font-weight: 800; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srow .cards { display: flex; gap: 3px; }
.srow .hd { font-size: 12.5px; color: var(--ivory); }
.srow .v { font-weight: 900; font-size: 18px; text-align: center; }
.srow.ok .v { color: var(--jade); } .srow.bad .v { color: var(--red); } .srow.bad { box-shadow: inset 0 0 0 1.5px var(--red); }
.srow.wait { opacity: .55; }
.srow.new { animation: rowIn .45s ease-out; }
@keyframes rowIn { from { transform: translateX(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.verdict { font-family: var(--deco); font-size: 30px; letter-spacing: 4px; padding: 2px 18px; border: 3px solid currentColor; border-radius: 6px; transform: rotate(-4deg); }
.verdict.win { color: var(--gold); text-shadow: 0 0 18px rgba(242,193,78,.7); } .verdict.lose { color: var(--red); text-shadow: 0 0 18px rgba(232,68,42,.7); }
.verdict.stamp { animation: stamp .45s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes stamp { from { transform: rotate(-4deg) scale(2.2); opacity: 0; } to { transform: rotate(-4deg) scale(1); opacity: 1; } }

/* 演出层 */
.fxlayer { position: fixed; inset: 0; pointer-events: none; z-index: 80; }
.banner { position: absolute; left: 0; right: 0; top: 38%; text-align: center; padding: 18px 0; font-family: var(--deco); font-size: clamp(30px, 6vw, 56px); letter-spacing: 6px; animation: banner 1.8s ease-out forwards; }
.banner.win { color: var(--ink); background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-l) 50%, var(--gold) 80%, transparent); }
.banner.lose { color: #fff; background: linear-gradient(90deg, transparent, var(--red) 20%, #ff6b4f 50%, var(--red) 80%, transparent); }
.banner small { display: block; font-family: system-ui, sans-serif; font-size: 15px; letter-spacing: 2px; font-weight: 800; }
@keyframes banner { 0% { transform: scaleY(0); opacity: 0; } 12% { transform: scaleY(1); opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-20px); } }
.flash-red { position: absolute; inset: 0; box-shadow: inset 0 0 120px rgba(232,68,42,.8); animation: fade 1.2s ease-out forwards; }
.flash-gold { position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(242,193,78,.45), transparent 60%); animation: fade 1.4s ease-out forwards; }
@keyframes fade { from { opacity: 1; } to { opacity: 0; } }
body.nofx .flip, body.nofx .chip.pop, body.nofx .chip.stolen, body.nofx .srow.new, body.nofx .verdict.stamp { animation: none; }
@media (prefers-reduced-motion: reduce) { .flip, .chip.pop, .chip.stolen, .srow.new, .verdict.stamp, .banner, .resume-logo { animation: none !important; } }

/* 弹窗 / 提示 */
.modal { position: fixed; inset: 0; z-index: 70; background: rgba(20,4,6,.72); display: flex; align-items: center; justify-content: center; padding: 12px; overscroll-behavior: contain; }
.modal-box { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 24px); overflow: auto; background: linear-gradient(160deg, var(--panel2), var(--panel)); border-radius: 8px; padding: 18px; box-shadow: 0 0 0 1.5px var(--gold), 0 0 0 5px var(--panel-d), 0 0 0 6px var(--gold-d), 0 20px 60px rgba(0,0,0,.6); touch-action: pan-y; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--gold-d) transparent; }
.modal-box h3 { margin: 0 0 10px; color: var(--gold); letter-spacing: 2px; font-size: 18px; padding-right: 30px; }
.modal-box p { color: var(--text2); line-height: 1.7; margin: 0 0 10px; }
.modal-box .grab { display: none; width: 44px; height: 5px; border-radius: 3px; background: var(--gold-d); margin: -8px auto 8px; }
.mx { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 4px; border: 1px solid var(--gold-d); background: transparent; color: var(--gold-l); font-size: 16px; }
.row-btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.row-btns .btn { flex: 1; }
.bigcard { text-align: center; }
.bigcard img { width: min(300px, 70vw); border-radius: 10px; box-shadow: 0 0 0 2px var(--gold-d), 0 12px 30px rgba(0,0,0,.5); }
.cardm .cap { margin-top: 12px; text-align: center; } .cardm .cap b { color: var(--gold); font-size: 18px; } .cardm .cap p { text-align: left; margin-top: 6px; }
.formrow { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.formrow > b { font-size: 13px; color: var(--gold-l); }
.pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pick button { min-height: 40px; min-width: 44px; padding: 0 10px; border-radius: 5px; border: 1.5px solid var(--gold-d); background: rgba(0,0,0,.2); font-weight: 800; font-size: 14px; }
.pick button.on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.result-list { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.rules { font-size: 14px; line-height: 1.75; color: var(--text2); }
.rules h4 { color: var(--gold); margin: 14px 0 4px; letter-spacing: 1px; }
.rules b { color: var(--gold-l); }
.toast { position: fixed; left: 50%; bottom: calc(var(--hub-footer-h) + 18px); transform: translateX(-50%); z-index: 90; max-width: min(92vw, 520px); padding: 10px 16px; border-radius: 6px; background: #1a0508; color: var(--ivory); font-size: 14px; box-shadow: 0 0 0 1px var(--gold-d), 0 8px 24px rgba(0,0,0,.5); text-align: center; }
.netbar { position: fixed; top: 0; left: 0; right: 0; z-index: 95; background: var(--red); color: #fff; text-align: center; font-size: 13px; padding: 5px; font-weight: 700; }
.hub-footer { height: var(--hub-footer-h); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.hub-footer a { color: var(--text3); text-decoration: none; letter-spacing: .5px; }

/* =========================================================== 电脑端：三栏一屏 */
@media (min-width: 1000px) {
  body[data-screen="game"] { overflow: hidden; }
  .game { height: calc(100dvh - var(--top-h) - var(--hub-footer-h) - 4px); display: grid; gap: 12px; padding: 12px 14px 8px; max-width: 1880px; margin: 0 auto;
    grid-template-columns: minmax(0, 1fr) clamp(320px, 28vw, 430px); }
  .col-crew { display: none; }
  .col-mid { display: flex; flex-direction: column; gap: 10px; min-height: 0; min-width: 0; }
  .col-mid .table { flex: 1 1 auto; min-height: 0; --card-w: clamp(60px, 7.2dvh, 96px); }
  .col-side { display: flex; flex-direction: column; gap: 10px; min-height: 0; padding: 12px; }
  .col-side { background: linear-gradient(160deg, var(--panel2), var(--panel)); border-radius: 6px; box-shadow: 0 0 0 1px var(--gold-d), 0 0 0 4px var(--panel-d), 0 0 0 5px rgba(242,193,78,.35); }
  .tab-body { flex: 1 1 0; min-height: 0; }
  .mine { --card-w: clamp(68px, 9dvh, 104px); }
  .tray .chip { --cs: clamp(44px, 6dvh, 58px); }
}
@media (min-width: 1280px) {
  .game { grid-template-columns: clamp(250px, 19vw, 330px) minmax(0, 1fr) clamp(320px, 25vw, 420px); }
  .col-crew { display: flex; flex-direction: column; min-height: 0; }
  .col-crew .crew { flex: 1; min-height: 0; overflow: auto; scrollbar-width: thin; scrollbar-color: var(--gold-d) transparent; padding: 2px; }
  .crew-m { display: none !important; }
}
@media (min-width: 1000px) and (max-width: 1279px) {
  .crew-m { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
}
@media (min-width: 1000px) and (max-height: 720px) {
  .game { gap: 8px; padding-top: 8px; }
  .col-mid { gap: 7px; }
  .track { min-height: 38px; padding: 3px 10px; }
  .tray { min-height: 64px; padding: 5px 8px; }
}

/* =========================================================== 手机 / 平板竖屏 */
@media (max-width: 999px) {
  .tray.idle { display: none; }
  .between { grid-template-columns: repeat(6, 1fr); gap: 4px; }
  .between .bt { grid-column: span 2; --card-w: 24px; padding: 3px 2px; }
  .between .bt.mine { grid-column: span 3; --card-w: 38px; }
  .between .bt small { font-size: 10px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .showlist .srow { padding: 2px 6px; --card-w: 24px; min-height: 0; }
  .sboard { --card-w: 32px !important; }
  .verdict { margin: 4px auto !important; }
  :root { --top-h: 46px; }
  .start-main { grid-template-columns: 1fr; padding: 14px 12px; gap: 16px; min-height: 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { width: min(62vw, 300px); margin: 0 auto; }
  .hero-copy h1 { font-size: 26px; text-align: center; }
  .hero-copy p { font-size: 14px; }
  .hero-tags { justify-content: center; }
  .lobby-main { grid-template-columns: 1fr; padding: 10px; gap: 14px; min-height: 0; }
  .lobby-left { padding: 14px; }
  .lobby-right { padding: 14px 6px 14px 14px; }
  .settings { overflow: visible; }
  .brand small { max-width: 44vw; }
  .tb { padding: 0 9px; }
  .game { display: flex; flex-direction: column; gap: 7px; padding: 7px 8px 8px; }
  .col-crew { display: none; }
  .col-mid { display: flex; flex-direction: column; gap: 7px; --card-w: 54px; }
  .crew-m { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 5px; }
  .track { padding: 4px 8px; gap: 6px; min-height: 38px; }
  .track .heist { font-size: 15px; }
  .bar { width: 22px; height: 12px; } .alm { width: 16px; height: 16px; }
  .rounds span { padding: 2px 5px; font-size: 10.5px; }
  .table { padding: 10px 6px 12px; gap: 7px; min-height: 112px; }
  .board { gap: 5px; }
  .tray { min-height: 70px; padding: 6px 6px; gap: 4px; }
  .tslot { min-width: 46px; flex: 1 0 46px; }
  .tray .chip { --cs: 44px; }
  .mine { --card-w: 66px; padding: 8px 10px; gap: 10px; }
  .mine .hname { font-size: 14px; }
  .col-side { display: flex; flex-direction: column; gap: 8px; margin: 0 8px 10px; padding: 10px; background: linear-gradient(160deg, var(--panel2), var(--panel)); border-radius: 6px; box-shadow: 0 0 0 1px var(--gold-d); }
  .tab-body { max-height: 52dvh; }
  .ecard { width: 84px; }
  .modal { align-items: flex-end; padding: 0; }
  .modal-box { width: 100%; border-radius: 12px 12px 0 0; max-height: 88dvh; padding: 16px 14px calc(16px + env(safe-area-inset-bottom)); }
  .modal-box .grab { display: block; }
}
@media (max-width: 380px) {
  .lobby-ctl { gap: 6px; }
  .lobby-ctl .btn, .lobby-ctl .fill select { font-size: 14px; }
  .lobby-ctl .fill > span { padding-left: 7px; font-size: 13px; }
  .lobby-ctl .fill .btn { padding: 0 9px; }
  .col-mid { --card-w: 50px; }
  .mine { --card-w: 60px; }
  .seats.cols-3 { gap: 7px; }
}
/* 手机帮众小格 */
.mt { padding: 5px 6px; border-radius: 5px; background: linear-gradient(160deg, #5a2129, #47171d); box-shadow: 0 0 0 1px rgba(242,193,78,.3); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 4px; align-items: center; position: relative; min-height: 50px; }
.mt .mn { font-size: 12.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 3px; }
.mt .hist { display: flex; gap: 2px; grid-column: 1; }
.mt .cur { grid-row: 1 / span 2; grid-column: 2; }
.mt .cur .chip { --cs: 30px; } .mt .cur .chip i { font-size: 12px; }
.mt .x { grid-column: 1 / -1; font-size: 11px; color: var(--gold-l); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt.ready::before { content: '✓'; position: absolute; top: -5px; left: -3px; width: 15px; height: 15px; border-radius: 50%; background: var(--jade); color: #04281a; font-size: 10px; font-weight: 900; display: grid; place-items: center; }
.mt.voter { box-shadow: 0 0 0 1.5px var(--gold); }
.mt .rv { grid-column: 1 / -1; display: flex; gap: 2px; align-items: center; --card-w: 22px; font-size: 10.5px; color: var(--ivory); }
.mt .rv.ok { color: var(--jade); } .mt .rv.bad { color: #ff8f7a; }
.sboard { --card-w: 40px; }
#tab-body, .log-row { overflow-anchor: none; }
