/* 金博牛牛：黑金主题。品牌：GPT 生成的徽标（assets/brand）；牌面 / 桌布 / 音效：通用资源（assets/cards、assets/felt、assets/sfx）。
 * 版式：整站竖屏一列。——竖屏、外圈底色 #494949。 */
:root {
  --bg: #0b0906; --bg2: #15110a; --panel: #1b160d; --line: #3a2e17; --gold: #d8b25a; --gold2: #f3d98b; --gold3: #8a6a2a;
  --ink: #f4ead2; --muted: #a8977a; --red: #e0574a; --green: #47c17a; --felt: #0f3b2c; --felt2: #0a2a1f;
  --radius: 14px; --card-w: 46px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #494949; color: var(--ink); font: 15px/1.45 -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
body { min-height: 100vh; }
.shell { max-width: 500px; min-height: 100vh; margin: 0 auto; background: radial-gradient(120% 60% at 50% -10%, #2a1f0c 0%, var(--bg) 55%); box-shadow: 0 0 40px #000a; position: relative; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select { font: inherit; color: var(--ink); background: #0f0c07; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; min-width: 0; }
a { color: var(--gold2); }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; word-break: break-all; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(8px + env(safe-area-inset-top)) 16px 8px; background: linear-gradient(#0b0906f2, #0b0906d9); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-icon { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 0 6px #d8b25a55); }
.brand-word { font-size: 20px; font-weight: 800; letter-spacing: 2px; background: linear-gradient(180deg, var(--gold2), var(--gold) 55%, var(--gold3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.top .me { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; }
.me-name { color: var(--ink); max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-gold { color: var(--gold2); font-weight: 700; }

.app { padding: 14px 12px 130px; }
.boot { display: grid; place-items: center; min-height: 60vh; text-align: center; }
.boot-logo { width: 220px; height: 220px; object-fit: contain; }

.btn { border: 1px solid var(--gold3); background: linear-gradient(180deg, #2a2111, #1a140a); border-radius: 12px; padding: 10px 14px; font-weight: 700; color: var(--gold2); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(180deg, var(--gold2), var(--gold) 60%, #a77f2f); color: #1a1206; border-color: #f6dd96; }
.btn.ghost { background: transparent; }
.btn.danger { border-color: #7b2a22; color: #ffb0a6; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.grow { flex: 1 1 auto; }

.card { background: linear-gradient(180deg, #1d170d, #140f08); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.h { margin: 0 0 10px; font-size: 16px; color: var(--gold2); letter-spacing: 1px; }
.grid { display: grid; gap: 12px; }

.hero { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hero img { width: 92px; height: 92px; object-fit: contain; }
.hero h1 { margin: 0; font-size: 24px; letter-spacing: 3px; color: var(--gold2); }
.hero p { margin: 4px 0 0; }

.modes { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.mode { position: relative; border: 1px solid var(--gold3); border-radius: var(--radius); padding: 12px; background: radial-gradient(90% 70% at 20% 0%, #3a2b10 0%, #17110a 70%); text-align: left; }
.mode.sel { outline: 2px solid var(--gold2); }
.mode b { display: block; font-size: 16px; color: var(--gold2); }
.mode span { font-size: 12px; color: var(--muted); }
.mode .tag { position: absolute; right: 10px; top: 10px; font-size: 11px; color: #1a1206; background: var(--gold); border-radius: 8px; padding: 0 6px; }

.rooms { display: grid; gap: 8px; }
.room { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #120e08; }
.room .t { font-weight: 700; color: var(--gold2); }
.pill { font-size: 11px; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; color: var(--muted); }
.pill.live { color: #9ff0bd; border-color: #2f6b47; }

/* 公平 / 验证 */
.fair { display: grid; gap: 6px; font-size: 12px; }
.fair .k { color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.steps li { display: grid; grid-template-columns: 22px 1fr; gap: 6px; padding: 8px; border-radius: 10px; background: #0f0c07; border: 1px solid var(--line); }
.steps li.ok .i { color: var(--green); } .steps li.bad { border-color: #7b2a22; } .steps li.bad .i { color: var(--red); }
.steps .ti { font-weight: 800; color: var(--gold2); }
.verdict { padding: 10px 12px; border-radius: 12px; font-weight: 800; margin-bottom: 8px; }
.verdict.ok { background: #12301f; color: #9ff0bd; border: 1px solid #2f6b47; }
.verdict.bad { background: #3a1410; color: #ffb0a6; border: 1px solid #7b2a22; }

.hist { display: grid; gap: 8px; }
.hrow { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #120e08; }
.hrow .hand { --card-w: 26px; margin: 0; min-height: 0; }

.sheet { position: fixed; inset: 0; z-index: 50; background: #000b; display: grid; place-items: end center; }
.sheet-card { width: min(720px, 100%); max-height: 88vh; overflow: auto; background: var(--bg2); border: 1px solid var(--line); border-radius: 18px 18px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
.toast { position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%); z-index: 60; background: #000e; border: 1px solid var(--gold3); color: var(--gold2); border-radius: 12px; padding: 8px 14px; opacity: 0; transition: opacity .2s; pointer-events: none; max-width: 90vw; }
.toast.on { opacity: 1; }

/* OTS 未确认：不打勾，用空心圈和琥珀色，表示「待确认」而不是「通过」 */
.steps li.pend { border-style: dashed; } .steps li.pend .i { color: #e0a43a; }

/* ---- 大厅：牛牛合集（金博自己的设计）----
 * 只有版式有参考：顶栏 + 每行 3 张竖卡（卡片比例 317:446）+ 不可进的条目置灰。配色、卡面、说明条、房间卡片都是我们自己的。
 * 每种玩法一个点缀色（--ac），都压在黑金底上；卡面上的牌是通用牌面资源摆的示意。 */
.m-grab { --ac: #f0c869; } .m-peek { --ac: #5fd6a8; } .m-compare { --ac: #ff8a70; } .m-hundred { --ac: #93a9ff; } .m-off { --ac: #8d8676; }
.serif { font-family: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif; }

.lob-hero { position: relative; margin: -14px -12px 0; padding: 26px 20px 20px; overflow: hidden; isolation: isolate; }
.lob-hero::before { content: ""; position: absolute; z-index: -1; inset: -40% -20% auto; height: 260px;
  background: radial-gradient(42% 60% at 28% 50%, #f3d98b33, #0000 70%), radial-gradient(38% 55% at 78% 40%, #b8742a2e, #0000 70%); filter: blur(8px); animation: lobGlow 9s ease-in-out infinite alternate; }
.lob-hero::after { content: ""; position: absolute; z-index: -1; left: 20px; right: 20px; bottom: 0; height: 1px; background: linear-gradient(90deg, #0000, #d8b25a66 30%, #d8b25a66 70%, #0000); }
.lob-kicker { font-size: 10px; letter-spacing: 4px; color: var(--gold3); font-weight: 700; }
.lob-hero h1 { margin: 4px 0 2px; font: 900 34px/1.15 "Songti SC", "STSong", "Noto Serif SC", serif; letter-spacing: 6px;
  background: linear-gradient(180deg, #fff3c9 0%, var(--gold2) 35%, var(--gold) 62%, #9a742c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lob-hero p { margin: 0; color: var(--muted); font-size: 13px; letter-spacing: 2px; }
.lob-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; }
.lob-trust li { font-size: 11px; color: #e9dcb8; padding: 3px 10px 3px 8px; border-radius: 999px; border: 1px solid #d8b25a33; background: #ffffff08; backdrop-filter: blur(6px); }
.lob-trust li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 6px; vertical-align: 2px; transform: rotate(45deg); background: var(--gold); }
@keyframes lobGlow { from { transform: translateX(-4%); opacity: .8; } to { transform: translateX(5%); opacity: 1; } }

.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.mcard { position: relative; aspect-ratio: 317 / 446; min-width: 0; padding: 0; border: 0; border-radius: 18px; overflow: hidden; text-align: left; display: flex; flex-direction: column; isolation: isolate;
  background: radial-gradient(120% 70% at 85% 0%, color-mix(in srgb, var(--ac) 30%, #0000), #0000 62%), linear-gradient(165deg, color-mix(in srgb, var(--ac) 13%, #15110a) 0%, #110d08 52%, #090705 100%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 34%, #0000), inset 0 1px 0 #ffffff1c, 0 8px 22px #0009;
  transition: transform .22s cubic-bezier(.2, .8, .3, 1), box-shadow .22s; animation: lobUp .5s calc(var(--n) * 60ms) cubic-bezier(.2, .8, .3, 1) both; }
.mcard:active { transform: scale(.97); }
.mcard.sel { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--ac), inset 0 1px 0 #ffffff33, 0 0 0 4px color-mix(in srgb, var(--ac) 14%, #0000), 0 14px 30px color-mix(in srgb, var(--ac) 22%, #000c); }
.mcard.sel:active { transform: translateY(-3px) scale(.97); }
.mcard::after { content: ""; position: absolute; z-index: 3; top: -30%; bottom: -30%; left: -80%; width: 46%; transform: skewX(-18deg); background: linear-gradient(90deg, #fff0, #ffffff26 50%, #fff0); pointer-events: none; }
.mcard.sel::after { animation: lobSheen 3.6s 0.3s ease-in-out infinite; }
.mc-tag { position: absolute; z-index: 2; left: 10px; top: 10px; font-size: 10px; font-weight: 800; letter-spacing: 1px; line-height: 17px; padding: 0 7px; border-radius: 999px; color: #14100a; background: var(--ac); }
.mc-art { position: relative; flex: 1 1 auto; min-height: 0; }
.mc-glyph { position: absolute; right: -6px; top: -8px; font: 900 76px/1 "Songti SC", "STSong", "Noto Serif SC", serif; font-style: normal; color: var(--ac); opacity: .13; }
.mc-fan { position: absolute; left: 0; right: 0; bottom: 6px; height: 52%; }
.mc-fan i { position: absolute; bottom: 0; left: 50%; height: 100%; aspect-ratio: 5 / 7; border-radius: 5px; background: #fff var(--face) center/cover no-repeat;
  box-shadow: 0 6px 14px #000b, 0 0 0 .5px #0006; transform-origin: 50% 100%; transform: translateX(calc(-50% + var(--i) * 46%)) rotate(calc(var(--i) * 10deg)) translateY(calc(var(--i) * var(--i) * 4px)); transition: transform .3s cubic-bezier(.2, .8, .3, 1.2); }
.mc-fan i:nth-child(2) { z-index: 1; }
.mcard.sel .mc-fan i { transform: translateX(calc(-50% + var(--i) * 54%)) rotate(calc(var(--i) * 13deg)) translateY(calc(var(--i) * var(--i) * 5px - 3px)); }
.mc-fan i.bk { background: radial-gradient(circle, #2a2418 0, #17140e 72%); box-shadow: inset 0 0 0 1px var(--gold3), inset 0 0 0 3px #17140e, inset 0 0 0 4px #d8b25a55, 0 6px 14px #000b; }
.mc-fan i.bk::after { content: ""; position: absolute; inset: 22% 14%; background: url(assets/brand/jinbo-icon-192.png) center/contain no-repeat; }
.mc-name { display: block; padding: 8px 10px 0; font-size: 14px; font-weight: 800; letter-spacing: 1px; color: #fbf1d6; white-space: nowrap; }
.mc-meta { display: flex; align-items: center; gap: 5px; padding: 1px 10px 10px; font-size: 10.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mc-meta i { width: 6px; height: 6px; border-radius: 50%; background: #6d6455; flex: 0 0 auto; }
.mc-meta i.live { background: var(--green); box-shadow: 0 0 0 0 #47c17a88; animation: livePulse 1.8s ease-out infinite; }
.mcard.off { filter: saturate(.2); opacity: .62; cursor: not-allowed; }
.mcard.off .mc-tag { background: #5d574b; color: #e8e0cf; }
/* 入场只动位置、不动透明度：页面在后台被节流时内容也始终看得见 */
@keyframes lobUp { from { transform: translateY(14px); } }
@keyframes lobSheen { 0%, 55% { left: -80%; } 85%, 100% { left: 140%; } }
@keyframes livePulse { to { box-shadow: 0 0 0 7px #47c17a00; } }

.mdetail { position: relative; margin-top: 14px; padding: 14px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, #ffffff0d, #ffffff05); box-shadow: inset 0 0 0 1px #ffffff14, inset 3px 0 0 var(--ac); backdrop-filter: blur(10px); }
.mdetail:empty { display: none; }
.md-head { display: flex; gap: 12px; align-items: flex-start; }
.md-glyph { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font: 900 24px/1 "Songti SC", "STSong", "Noto Serif SC", serif; font-style: normal; color: #14100a;
  background: linear-gradient(150deg, color-mix(in srgb, var(--ac) 70%, #fff), var(--ac) 55%, color-mix(in srgb, var(--ac) 62%, #000)); box-shadow: 0 4px 14px color-mix(in srgb, var(--ac) 35%, #0000); }
.md-head h2 { margin: 0; font-size: 17px; letter-spacing: 1px; color: #fbf1d6; }
.md-head p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.55; color: #cbbf9f; }
.md-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.md-chips span { font-size: 11px; line-height: 20px; padding: 0 9px; border-radius: 7px; color: color-mix(in srgb, var(--ac) 80%, #fff); background: color-mix(in srgb, var(--ac) 11%, #0000); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 24%, #0000); font-variant-numeric: tabular-nums; }
.md-cta { display: flex; gap: 8px; }
.md-cta .btn { padding: 12px 18px; border-radius: 14px; }
.md-cta .btn.primary { font-size: 16px; letter-spacing: 3px; box-shadow: 0 8px 22px #d8b25a40, inset 0 1px 0 #fff8; }

.lob-sec { margin-top: 22px; }
.lob-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 2px 10px; }
.lob-h h2 { margin: 0; font-size: 15px; letter-spacing: 1px; color: #fbf1d6; }
.lob-h h2::before { content: ""; display: inline-block; width: 3px; height: 13px; margin-right: 8px; vertical-align: -1px; border-radius: 2px; background: linear-gradient(var(--gold2), var(--gold3)); }
.lnk { border: 0; background: none; padding: 2px 0; font-size: 12px; color: var(--gold); }
.rlist { display: grid; gap: 10px; }
.rcard { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; text-decoration: none; color: var(--ink); overflow: hidden;
  background: linear-gradient(100deg, color-mix(in srgb, var(--ac) 9%, #15110b), #110e09 55%); box-shadow: inset 0 0 0 1px #ffffff12, 0 6px 16px #0007; animation: lobUp .4s calc(var(--n) * 50ms) ease-out both; transition: transform .15s; }
.rcard:active { transform: scale(.985); }
.rc-glyph { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 900 20px/1 "Songti SC", "STSong", "Noto Serif SC", serif; font-style: normal; color: var(--ac);
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--ac) 26%, #0000), #0000 70%), #0c0a07; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 45%, #0000); }
.rc-main { flex: 1 1 auto; min-width: 0; display: grid; gap: 3px; }
.rc-main b { font-size: 15px; color: #fbf1d6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-meta { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rc-meta em { font-style: normal; font-weight: 800; color: var(--gold2); }
.rc-seats { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sdots { display: inline-flex; gap: 3px; }
.sdots i { width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1px #ffffff2e; }
.sdots i.on { background: var(--ac); box-shadow: 0 0 6px color-mix(in srgb, var(--ac) 60%, #0000); }
.rc-side { flex: 0 0 auto; display: grid; justify-items: end; gap: 7px; }
.rc-go { font-size: 13px; font-weight: 800; letter-spacing: 2px; line-height: 30px; padding: 0 14px; border-radius: 999px; color: #1a1206; background: linear-gradient(180deg, var(--gold2), var(--gold) 60%, #a77f2f); box-shadow: inset 0 1px 0 #fff7; }
.pill.live::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 5px; vertical-align: 2px; border-radius: 50%; background: var(--green); animation: livePulse 1.8s ease-out infinite; }
.rempty { padding: 22px 12px; border-radius: 16px; text-align: center; border: 1px dashed #ffffff1f; color: #cbbf9f; }
.rempty p { margin: 0; } .rempty p + p { margin-top: 4px; }

.odds { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.odds::-webkit-scrollbar { display: none; }
.odds span { flex: 0 0 auto; display: grid; justify-items: center; gap: 1px; min-width: 62px; padding: 8px 10px; border-radius: 12px; font-size: 11px; color: var(--muted); background: #ffffff08; box-shadow: inset 0 0 0 1px #ffffff10; }
.odds b { font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }
.odds .big { color: var(--gold); background: #d8b25a12; box-shadow: inset 0 0 0 1px #d8b25a40; } .odds .big b { color: var(--gold2); }

.lob-club { margin-top: 22px; padding: 0 14px 14px; border-radius: 16px; background: #ffffff07; box-shadow: inset 0 0 0 1px #ffffff10; }
.lob-club summary { display: flex; align-items: center; list-style: none; padding: 13px 0; font-size: 14px; font-weight: 700; color: #e9dcb8; }
.lob-club summary::-webkit-details-marker { display: none; }
.lob-club summary i { width: 8px; height: 8px; border: solid var(--gold3); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .2s; }
.lob-club[open] summary i { transform: rotate(-135deg); }
.lob-club:not([open]) { padding-bottom: 0; }
.lob-tools { display: flex; justify-content: center; gap: 4px; margin-top: 18px; }
.lob-tools > * { border: 0; background: none; padding: 8px 12px; font-size: 12px; color: var(--muted); text-decoration: none; }
.lob-tools > * + * { box-shadow: -1px 0 0 #ffffff14; }
@media (prefers-reduced-motion: reduce) { .lob-hero::before, .mcard, .mcard.sel::after, .rcard, .mc-meta i.live, .pill.live::before { animation: none; } }

/* 顶栏右侧：昵称 + 积分胶囊 */
.me-gold { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; padding: 1px 9px 1px 3px; border-radius: 999px; background: #d8b25a14; box-shadow: inset 0 0 0 1px #d8b25a40; font-variant-numeric: tabular-nums; }
.me-gold:not(:empty)::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold2) 35%, var(--gold) 70%, #a77f2f); }

/* ---- 表单 ---- */
.form { display: grid; gap: 8px; }
.form label { display: grid; gap: 3px; font-size: 12px; color: var(--muted); }
.form input, .form select { width: 100%; }
.tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.tabs button { flex: 1; border: 1px solid var(--line); background: #120e08; border-radius: 10px; padding: 8px; color: var(--muted); font-weight: 700; }
.tabs button.on { color: #1a1206; background: linear-gradient(180deg, var(--gold2), var(--gold)); border-color: #f6dd96; }
.opts { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { border: 1px solid var(--line); background: #120e08; border-radius: 10px; padding: 6px 10px; font-weight: 700; color: var(--muted); font-size: 13px; }
.opt.on { border-color: var(--gold2); color: var(--gold2); background: #2a2111; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 12px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
.mrow { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.mrow:last-child { border-bottom: 0; }

/* ---- 开场动画（金博牛牛）---- */
.splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: radial-gradient(60% 45% at 50% 46%, #2a2110, #0b0b0d 70%); transition: opacity .6s ease, visibility .6s; }
.splash-in { width: min(500px, 100%); height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  perspective: 900px; }
.splash.out { opacity: 0; visibility: hidden; pointer-events: none; }
.splash.gl .splash-in { display: none; }
.intro-zig, .intro-zig .zp, .intro-gl, .intro-seam { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.intro-zig .zp { will-change: transform; }
/* 纯标志的三维开场：同一张标志叠七层做出厚度，从远处翻转着飞到面前，停稳后扫一道光，再迎面推近淡出 */
.splash-3d { perspective: 900px; perspective-origin: 50% 45%; animation: splashIn .5s ease-out .1s both; }
.splash-logo { position: relative; width: 240px; height: 240px; transform-style: preserve-3d; will-change: transform;
  animation: splashFly 1.75s cubic-bezier(.2, .75, .25, 1) .1s both, splashSway .9s ease-in-out 1.85s forwards, splashPush .7s cubic-bezier(.6, 0, .9, .4) 2.75s forwards; }
.splash-logo .sl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; backface-visibility: visible; }
.splash-logo .sl0 { transform: translateZ(0); filter: drop-shadow(0 0 20px #d8b25a55); }
.splash-logo .sl1 { transform: translateZ(-2px); filter: brightness(.78); }
.splash-logo .sl2 { transform: translateZ(-4px); filter: brightness(.66); }
.splash-logo .sl3 { transform: translateZ(-6px); filter: brightness(.56); }
.splash-logo .sl4 { transform: translateZ(-8px); filter: brightness(.48); }
.splash-logo .sl5 { transform: translateZ(-10px); filter: brightness(.42); }
.splash-logo .sl6 { transform: translateZ(-12px); filter: brightness(.6); }
.splash-shine { position: absolute; inset: 0; transform: translateZ(1px); pointer-events: none; opacity: 0;
  -webkit-mask: url(assets/brand/jinbo-logo-512.png) center / contain no-repeat; mask: url(assets/brand/jinbo-logo-512.png) center / contain no-repeat;
  background: linear-gradient(105deg, #fff0 38%, #fff8dcd9 50%, #fff0 62%) no-repeat; background-size: 260% 100%;
  animation: splashShine .9s ease-in-out 1.8s both; }
@keyframes splashIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes splashFly {
  0% { transform: translate3d(0, 60px, -1400px) rotateX(38deg) rotateY(-560deg) rotateZ(-14deg); }
  78% { transform: translate3d(0, 0, 40px) rotateX(-6deg) rotateY(16deg) rotateZ(0deg); }
  100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg); } }
@keyframes splashSway { 0%, 100% { transform: rotateX(0deg) rotateY(0deg); } 35% { transform: rotateX(5deg) rotateY(-13deg); } 70% { transform: rotateX(-3deg) rotateY(9deg); } }
@keyframes splashPush { to { transform: translate3d(0, 0, 420px) rotateX(0deg) rotateY(0deg); } }
@keyframes splashShine { 0% { opacity: 1; background-position: 130% 0; } 100% { opacity: 1; background-position: -60% 0; } }
@media (prefers-reduced-motion: reduce) { .splash-3d, .splash-logo, .splash-shine { animation: none; } }
.calm .splash-3d, .calm .splash-logo, .calm .splash-shine { animation: none; }

/* ---- 中央发牌盒（牌靴）：黑漆盒身、金线包边、四角铆钉；盒盖上只有两枚徽记——比特币和时间戳；盒口露出牌背，牌从盒口发出。全是 CSS / 矢量，没有图 ---- */
.shoe { position: relative; width: 112px; padding: 0 0 24px; border: 0; background: none; display: grid; justify-items: center; color: var(--ink); cursor: pointer; filter: drop-shadow(0 8px 10px #000a) drop-shadow(0 1px 0 #0008); }
.shoe-top { position: relative; z-index: 2; width: 100%; height: 46px; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 11px 11px 5px 5px;
  background:
    radial-gradient(circle at 5px 5px, #f3d98b 0 1px, #7a5d22 1.2px 1.9px, #0000 2.1px), radial-gradient(circle at calc(100% - 5px) 5px, #f3d98b 0 1px, #7a5d22 1.2px 1.9px, #0000 2.1px),
    radial-gradient(circle at 5px calc(100% - 5px), #f3d98b 0 1px, #7a5d22 1.2px 1.9px, #0000 2.1px), radial-gradient(circle at calc(100% - 5px) calc(100% - 5px), #f3d98b 0 1px, #7a5d22 1.2px 1.9px, #0000 2.1px),
    linear-gradient(180deg, #ffffff1f 0, #ffffff05 42%, #0000 43%), linear-gradient(180deg, #2b2416 0%, #17120a 55%, #0b0906 100%);
  box-shadow: inset 0 0 0 1px #e9c46a, inset 0 0 0 2px #0b0906, inset 0 0 0 2.8px #d8b25a59, inset 0 -6px 8px #0009; }
.shoe-div { width: 1px; height: 20px; background: linear-gradient(#0000, #d8b25a99, #0000); }
.md { position: relative; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; }
.md-btc { box-shadow: 0 1px 3px #000b; }
.md-btc svg { width: 100%; height: 100%; display: block; }
.md-ts { background: #fff url(assets/brand/timestamp-mark.png) center/68% no-repeat; box-shadow: 0 1px 3px #000b; }
.shoe-mouth { position: relative; width: 58%; height: 22px; margin-top: -2px; border-radius: 0 0 9px 9px; background: linear-gradient(180deg, #050403, #1c160b); box-shadow: inset 0 0 0 1px #d8b25a99, inset 0 8px 9px #000d; }
.shoe-mouth::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(180deg, #0d0a06, #2a2110); box-shadow: 0 1px 0 #e9c46a, 0 4px 5px #000a; }
.deck { position: absolute; left: 50%; top: 5px; width: calc(30px * var(--card-scale, 1)); height: calc(42px * var(--card-scale, 1)); margin-left: calc(-15px * var(--card-scale, 1)); }
.deck i { position: absolute; inset: 0; border-radius: 3px; background: #fff var(--cardback) center/100% 100% no-repeat; box-shadow: 0 1px 2px #000a; }
.deck i:nth-child(1) { transform: translateY(-4px); } .deck i:nth-child(2) { transform: translateY(-2px); }
.deck i:nth-child(3) { box-shadow: 0 3px 6px #000a; }
.deck i:nth-child(3)::after { content: ""; position: absolute; inset: 34% 30%; background: url(assets/brand/jinbo-icon-192.png) center/contain no-repeat; }
.shoe-n { position: absolute; z-index: 3; right: 6px; top: 40px; min-width: 20px; padding: 0 4px; border-radius: 8px; font-size: 9.5px; line-height: 15px; color: #1a1206; background: var(--gold2); box-shadow: 0 0 0 1.5px #0d0a06; font-variant-numeric: tabular-nums; }

/* 发牌：从牌堆（--dx/--dy 是牌堆相对这张牌的位置）飞到自己的位置；按真实发牌次序错开（--delay）。 */
.c.dealing { animation: dealFly 320ms cubic-bezier(.2, .8, .3, 1) both; animation-delay: var(--delay, 0ms); z-index: 6; }
@keyframes dealFly { from { transform: translate(var(--dx, 0), var(--dy, 0)) rotate(-28deg) scale(.72); opacity: 0; } 12% { opacity: 1; } to { transform: none; opacity: 1; } }
/* 翻牌：到位后翻成正面（只有 DOM 里本来就有牌面的牌才会翻） */
.c.flipin { animation: flipIn 360ms ease-out backwards; animation-delay: var(--delay, 0ms); }
@keyframes flipIn { from { transform: rotateY(72deg) scale(1.04); filter: brightness(.45); } to { transform: none; filter: none; } }
.calm .c.dealing, .calm .c.flipin { animation: none; }

/* 时间锚的中间状态：不是通过也不是失败——琥珀色、空心圈，不打勾 */
.verdict.wait { background: #33280f; color: #f0cf7a; border: 1px dashed #8a6a2a; }
pre.mono { white-space: pre-wrap; background: #0f0c07; border: 1px solid var(--line); border-radius: 8px; padding: 8px; margin: 6px 0 0; }
details summary { cursor: pointer; }

/* 桌面宽屏：仍是竖屏一列，只把这一列放宽一点 */
@media (min-width: 900px) { .shell { max-width: 520px; } .dock { width: min(520px, 100%); } }

/* 检查用：把发牌动画停在某一刻（NNAPP.dealAt） */
.frozen .c.dealing { animation-play-state: paused; }


/* ================= 牌桌：沿用通用牌桌框架的默认竖屏房间（出处见 docs/PROVENANCE-WEB.md）=================
 * 数字出处：基础样式（.t-top、.seat、.card、.act）、tablelay.css 的 @lay(b) / .lay-r3（头像 72 圆角 20、名字在上、筹码牌在下、庄家圆片、
 * 别人的牌背 13.9 × 20.8、自己的牌 41.73 × 58.42、圆形行动键）、clarity2.css（最终的字号和气泡颜色）、tableprefs.css（左上角三条杠）。
 * 画布是 390 × 844，整体缩放（nn.js fitTable）；纵向位置乘 --sy。牛牛自己的东西：每人五张牌、牌型条、发牌盒、百人的押注区。 */
body.inroom { background: #0A0B0E; }
body.inroom .top { display: none; }
body.inroom .shell { background: #0A0B0E; }
body.inroom .app { padding: 0 0 40px; }
.zwrap { overflow: hidden; }
.ztable { position: relative; width: 390px; transform-origin: 0 0; overflow: hidden; color: #fff; --num: Archivo, "Helvetica Neue", Arial, sans-serif; font-family: "Noto Sans SC", "PingFang SC", -apple-system, sans-serif; }
#tableBack { position: absolute; inset: 0; overflow: hidden; }
.below { padding: 14px 12px 0; }

.t-top { position: absolute; z-index: 6; top: calc(14px + env(safe-area-inset-top)); left: 14px; right: 14px; height: 44px; display: flex; align-items: center; gap: 4px; }
.ts-menu { flex: none; width: 44px; height: 44px; margin-left: -8px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.ts-menu svg { width: 21.7px; height: 21.7px; fill: #fff; stroke: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.ts-lobby { margin-left: -6px; } .ts-lobby svg { stroke: #fff; }
.t-title { min-width: 0; display: grid; line-height: 1.2; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.t-title { flex: 1 1 auto; overflow: hidden; }
.t-title small { overflow: hidden; text-overflow: ellipsis; }
.t-clock { flex: none; font: 600 13px/1 var(--num); color: rgba(255,255,255,.82); text-shadow: 0 1px 2px rgba(0,0,0,.45); font-variant-numeric: tabular-nums; }
.lockt { font-size: 11px; color: rgba(255,255,255,.7); text-shadow: 0 1px 2px rgba(0,0,0,.45); font-variant-numeric: tabular-nums; white-space: nowrap; }
.t-title b { font-size: calc(15px * var(--fk, 1.1) / 1.1); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-title small { font-size: 11.5px; color: rgba(255,255,255,.72); white-space: nowrap; font-variant-numeric: tabular-nums; }

#felt { position: absolute; inset: 0; }
.seat { position: absolute; z-index: 3; width: 0; height: 0; padding: 0; border: 0; background: none; color: #fff; overflow: visible; }
.medal { position: absolute; left: -35px; top: -35px; width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; font-size: 26px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4);
  background: radial-gradient(circle at 35% 26%, hsl(var(--h, 40) 46% 60%), hsl(var(--h, 40) 52% 30%)); box-shadow: 0 0 0 1.5px rgba(255,255,255,.2), 0 3px 8px rgba(0,0,0,.35); }
.seat.turn .medal { box-shadow: 0 0 0 1.6px #F6E3A6, 0 0 0 3px rgba(216,178,90,.38), 0 0 12px rgba(233,196,106,.5); } /* 等这个人做决定：一圈细金线（可以同时好几个人），静态的 */
.seat.banker .medal { box-shadow: 0 0 0 2.5px #FFE08A, 0 0 10px rgba(255,224,138,.5); }
.seat.empty .medal { background: rgba(0,0,0,.34); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.34); font-weight: 400; font-size: 30px; }
.who small { position: absolute; left: 0; top: -59px; transform: translateX(-50%); max-width: 74px; height: 18px; line-height: 18px; font-size: calc(13px * var(--fk, 1.1) / 1.1); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.who b.num { position: absolute; left: 0; top: 37px; transform: translateX(-50%); min-width: 63.6px; height: 20px; padding: 0 3px; border-radius: 10px; border: .75px solid rgba(255,255,255,.34); text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(0,0,0,.12)), rgba(0,0,0,.5); font: 800 calc(16px * var(--fk, 1.1) / 1.1)/19px var(--num); color: #fff; font-variant-numeric: tabular-nums; }
/* 两侧的名字贴着头像的外沿对齐，不出画面（clarity2.css 对两侧座位也是往里收） */
.seat.s-l .who small { left: -35px; transform: none; } .seat.s-r .who small { left: auto; right: -35px; transform: none; }
.seat.capped .who small { visibility: hidden; }
.seat.empty .who small { top: 40px; visibility: visible; font-weight: 500; }
/* 动作气泡（clarity2.css）：过牌 / 跟注绿、下注 / 加注黄、赢金、输红、不参与灰 */
.cap { position: absolute; z-index: 5; left: 0; top: -50px; transform: translate(-50%, -50%); filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); --c2c: #17191C; white-space: nowrap; }
.cap span { display: block; padding: 0 8px; border-radius: 7px; font-size: calc(15px * var(--fk, 1.1) / 1.1); line-height: 22px; font-weight: 800; background: var(--c2c); color: #fff; font-variant-numeric: tabular-nums; }
.cap i { position: absolute; left: 50%; bottom: -3.5px; width: 9px; height: 9px; margin-left: -4.5px; background: var(--c2c); transform: rotate(45deg); z-index: -1; }
.cap.k-check span, .cap.k-call span { background: linear-gradient(180deg, #46EFB2, #1FBE83); color: #04261A; } .cap.k-check, .cap.k-call { --c2c: #1FBE83; }
.cap.k-bet span, .cap.k-raise span { background: linear-gradient(180deg, #FFE07A, #F2B93B); color: #3A2A00; } .cap.k-bet, .cap.k-raise { --c2c: #F2B93B; }
.cap.k-lose span { background: linear-gradient(180deg, #F5646A, #C22F37); } .cap.k-lose { --c2c: #C22F37; }
.cap.k-win span { background: linear-gradient(180deg, #FFF0B8, #FFE08A 45%, #E9B949); color: #3A2A00; } .cap.k-win { --c2c: #E9B949; }
.cap.k-win, .cap.k-lose { top: -59px; animation: lblIn 1ms linear var(--rs, 0ms) both; } /* 输赢等这个人那手牌亮完才出（--rs，fx.js 的时间表）；弹出的动画在效果层里放一次 */
/* 7 人以上两侧座位挨得近：气泡往下收一点，不压到上面那个人的筹码牌 */
.ztable.crowd .seat:not(.hero) .cap, .ztable.crowd .seat:not(.hero) .cap.k-win, .ztable.crowd .seat:not(.hero) .cap.k-lose { top: -46px; }
.ztable.crowd .seat:not(.hero) .cap span { font-size: 13px; line-height: 19px; padding: 0 6px; }
.cap.k-fold span, .cap.k-off span { background: rgba(23,25,28,.82); color: rgba(255,255,255,.8); font-weight: 600; } .cap.k-fold, .cap.k-off { --c2c: rgba(23,25,28,.82); }
.cap.k-off i { display: none; }
@keyframes capUp { from { transform: translate(-50%, -20%) scale(.7); } }
/* 庄家圆片：原框架那枚白色的 D，这里写「庄」 */
.dealer { position: absolute; z-index: 4; left: 26px; top: -45px; width: 20.9px; height: 20.9px; border-radius: 50%; font: 900 12.5px/20.9px var(--num); font-style: normal; text-align: center; color: #20252B;
  background: radial-gradient(circle at 38% 32%, #FFFFFF, #E6E8EA 70%, #C9CDD1); box-shadow: 0 1px 2px rgba(0,0,0,.45); }
.seat.s-r .dealer { left: auto; right: 26px; }

/* 牌：白牌面（大字角花是画出来的，标准是图片）、牌背是斜格双框（--cardback）中间压金博徽标 */
.hand { display: flex; }
.c { --cw: calc(var(--card-w, 30px) * var(--card-scale, 1)); display: block; flex: 0 0 auto; width: var(--cw); height: calc(var(--cw) * 1.4); border-radius: calc(var(--cw) * .068); background: #fff var(--face) center/cover no-repeat; box-shadow: 0 0 0 .5px rgba(0,0,0,.22), 0 2px 5px rgba(0,0,0,.34); overflow: hidden; }
.c.zf { background: linear-gradient(158deg, #FFFFFF 0%, #FEFDFA 54%, #F4F2EC 100%); }
.c .fsvg, .ts-deck .fsvg { display: block; width: 100%; height: 100%; }
.c.back, .c.dealing { position: relative; background: #fff var(--cardback) center/100% 100% no-repeat; }
.c.dealing > * { visibility: hidden; }
.c.back::after, .c.dealing::after { content: ""; position: absolute; inset: 34% 30%; background: url(assets/brand/jinbo-icon-192.png) center/contain no-repeat; }
.c.ghost { background: #ffffff10; box-shadow: none; border: 1px dashed #ffffff22; }
.zh { position: absolute; z-index: 2; }
.zh .c { --cw: 13.9px; }
.zh .c + .c { margin-left: -8.3px; }
.s-l .zh, .s-t .zh { left: 13.8px; top: 12px; } .s-r .zh { right: 13.8px; top: 12px; }
.zh.open { z-index: 4; } .zh.open .c { --cw: calc(23px * var(--ck, 1.1) / 1.1); } .zh.open .c + .c { margin-left: calc(-9px * var(--ck, 1.1) / 1.1); }
/* 亮开的五张：两侧的座位压在头像下半截上（不往桌心伸，不挡发牌盒）；顶上一排的放在筹码牌下面 */
.s-l .zh.open { left: -35px; top: -4px; } .s-r .zh.open { left: auto; right: -35px; top: -4px; }
.s-l .zh.open .htype, .s-r .zh.open .htype, .s-o .zh.open .htype { bottom: auto; top: -22px; }
/* 10 人桌顶上一排三个：和两侧一样压在头像上，不往下伸 */
.s-o .zh { left: 13.8px; top: 12px; } .s-o .zh.open { left: 0; top: -4px; transform: translateX(-50%); }
.s-t .zh.open { left: 0; top: 62px; transform: translateX(-50%); }
/* 四人及以下的桌子（别人最多三位）：别人的五张牌用大牌，整齐摊在头像和筹码牌正下面，每张都露出左上角的大点数和花色；牌背和亮开以后在同一个位置。
   座位位置见 nn.js zgeo（k ≤ 3）：顶上 y 112，发牌盒 y 258，两侧的人在倒计时下面（y 390），牌可以一直铺到桌子中线。 */
.ztable.roomy .center { top: 258px; }
.ztable.roomy .seat:not(.hero) .zh, .ztable.roomy .seat:not(.hero) .zh.open { top: 64px; }
.ztable.roomy .s-t .zh, .ztable.roomy .s-t .zh.open { left: 0; transform: translateX(-50%); }
.ztable.roomy .s-l .zh, .ztable.roomy .s-l .zh.open { left: -34px; right: auto; }
.ztable.roomy .s-r .zh, .ztable.roomy .s-r .zh.open { left: auto; right: -34px; }
.ztable.roomy .seat:not(.hero) .zh .c { --cw: calc(44px * var(--ck, 1.1) / 1.1); }
.ztable.roomy .seat:not(.hero) .zh .c + .c { margin-left: calc(-11px * var(--ck, 1.1) / 1.1); }
.ztable.roomy .s-t .zh .c { --cw: calc(44px * var(--ck, 1.1) / 1.1); }
.ztable.roomy .s-t .zh .c + .c { margin-left: calc(-14px * var(--ck, 1.1) / 1.1); }
.ztable.roomy .seat:not(.hero) .zh .htype { top: auto; bottom: -11px; }
/* 顶上那位的牌下面就是发牌盒：牌型标签放到牌的右边 */
.ztable.roomy .s-t .zh .htype { left: 100%; top: 50%; bottom: auto; margin-left: 6px; transform: translateY(-50%); }
.htype { position: absolute; z-index: 5; left: 50%; bottom: -15px; transform: translateX(-50%); min-width: 48px; height: 20.2px; padding: 0 8px; border-radius: 4px; background: rgba(0,0,0,.62); font: 600 calc(14px * var(--fk, 1.1) / 1.1)/20.2px "Noto Sans SC", "PingFang SC", sans-serif; text-align: center; white-space: nowrap; color: #fff; }
.htype.big { background: linear-gradient(180deg, #FFF0B8, #FFE08A 45%, #E9B949); color: #3A2A00; font-weight: 800; }
/* 自己：头像 72、名字在头像上面、五张牌压在头像下面、筹码牌在最下面（原框架的 .hero-seat / #heroZone / #heroStack 的位置） */
.seat.hero .medal { left: -36px; top: -36px; width: 72px; height: 72px; }
.seat.hero .who small { top: -60px; max-width: 120px; }
.seat.hero .who b.num { top: calc(127.85px * var(--sy, 1)); }
.seat.hero .zh { left: 0; top: calc(70.8px * var(--sy, 1)); transform: translate(-50%, -50%); z-index: 4; }
.seat.hero .zh .c { --cw: calc(50.9px * var(--ck, 1.1)); border-radius: calc(var(--cw) * .085); box-shadow: 0 0 0 .6px rgba(0,0,0,.3), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,.08), 0 1px 1px rgba(0,0,0,.35), 0 5px 12px rgba(0,0,0,.45); }
.seat.hero .zh .c + .c { margin-left: calc(-14.5px * var(--ck, 1.1)); }
.seat.hero .htype { bottom: auto; top: -24px; }
.seat.hero .dealer { left: 30px; top: -46px; }
.seat.hero.acting .medal, .seat.hero.acting .dealer, .seat.hero.acting .who small { visibility: hidden; }
.seat.hero.acting .cap { display: none; }

/* 中间：发牌盒 + 阶段 + 倒计时 */
.center { position: absolute; z-index: 2; left: 50%; top: calc(300px * var(--sy, 1)); transform: translateX(-50%); width: 190px; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; pointer-events: none; }
.center > * { pointer-events: auto; }
.phase { display: inline-block; padding: 0 12px; border-radius: 11px; font-size: calc(13px * var(--fk, 1.1) / 1.1); line-height: 22px; font-weight: 700; white-space: nowrap; color: #fff; background: rgba(0,0,0,.42); font-variant-numeric: tabular-nums; }
.clock { font-size: 12px; color: rgba(255,255,255,.78); text-shadow: 0 1px 2px rgba(0,0,0,.45); font-variant-numeric: tabular-nums; }
.timer { --p: 1; position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(0,0,0,.62) 0 60%, #0000 61%), conic-gradient(#F7D53A calc(var(--p) * 360deg), rgba(255,255,255,.2) 0); }
.timer b { font: 800 18px/1 var(--num); color: #fff; font-variant-numeric: tabular-nums; }
.timer.hot { background: radial-gradient(circle, rgba(0,0,0,.62) 0 60%, #0000 61%), conic-gradient(#F0575A calc(var(--p) * 360deg), rgba(255,255,255,.2) 0); }

/* 状态行（原框架的 #status，y = 545）和圆形行动键（「新版按钮」：红 = 不要，蓝 = 要；原点 y = 632） */
#dock { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
#dock > * { pointer-events: auto; }
#dock .st { position: absolute; left: 50%; top: calc(545px * var(--sy, 1)); transform: translate(-50%, -50%); width: max-content; max-width: 360px; font-size: calc(13.5px * var(--fk, 1.1) / 1.1); line-height: 1.35; color: rgba(255,255,255,.86); text-shadow: 0 1px 2px rgba(0,0,0,.5); text-align: center; }
.zbtn { height: 38px; padding: 0 22px; border: 0; border-radius: 19px; font: 600 16px/38px "Noto Sans SC", "PingFang SC", sans-serif; color: #fff; background: radial-gradient(120% 80% at 50% 6%, #62BCFF 0%, #2B95EE 48%, #1677D6 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -2px 4px rgba(0,0,0,.14), 0 3px 8px rgba(0,0,0,.3); }
.actions { position: absolute; left: 50%; top: calc(632px * var(--sy, 1)); width: 0; height: 0; }
.act { --s: calc(54px * var(--bk, 1)); position: absolute; left: calc(var(--dx) - var(--s) / 2); top: calc(var(--dy) - 12px - var(--s) / 2); width: var(--s); height: var(--s); padding: 0; border: 0; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -2px 4px rgba(0,0,0,.14), 0 3px 8px rgba(0,0,0,.3); transition: transform .12s; }
.act:active { transform: scale(.94); }
.act span { font: 600 17px/1.1 var(--num); } .act small { font: 500 11px/1.1 var(--num); opacity: .92; font-variant-numeric: tabular-nums; }
.act.a-call, .act.a-raise { background: radial-gradient(120% 80% at 50% 6%, #62BCFF 0%, #2B95EE 48%, #1677D6 100%); }
.act.a-raise { --s: calc(66px * var(--bk, 1)); } .act.a-raise span { font-size: 18px; font-family: inherit; }
.act.a-fold { background: radial-gradient(120% 80% at 50% 6%, #FF7480 0%, #E43543 50%, #C51F2D 100%); } .act.a-fold span { font-size: 15px; font-family: inherit; }

/* 百人牛牛（原框架没有这个画面）：同一块桌布上顺排——座位条、发牌盒、庄区、闲区 2 × 2；筹码在最下面 */
.ztable.hund .hbox { position: absolute; left: 10px; right: 10px; top: 60px; bottom: 96px; display: flex; flex-direction: column; gap: 10px; overflow: auto; scrollbar-width: none; }
.ztable.hund .hrail { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ztable.hund .seat { position: relative; width: auto; height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 9px 0 2px; border-radius: 17px; background: rgba(0,0,0,.4); }
.ztable.hund .seat > * { position: static; transform: none; }
.ztable.hund .who small, .ztable.hund .who b.num { position: static; transform: none; }
.ztable.hund .medal { width: 30px; height: 30px; border-radius: 10px; font-size: 13px; }
.ztable.hund .who { display: grid; line-height: 1.1; text-align: left; } .ztable.hund .who small { max-width: 70px; height: auto; line-height: 1.15; font-size: 11px; visibility: visible; }
.ztable.hund .who b.num { min-width: 0; height: auto; padding: 0; border: 0; background: none; font-size: 13px; line-height: 1.15; text-align: left; }
.ztable.hund .cap { filter: none; animation: none; } .ztable.hund .cap span { font-size: 11.5px; line-height: 18px; padding: 0 6px; } .ztable.hund .cap i { display: none; }
.ztable.hund .dealer { width: 18px; height: 18px; line-height: 18px; font-size: 11px; }
.ztable.hund .center { position: static; transform: none; width: auto; flex: 0 0 auto; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px 12px; }
.ztable.hund .center .clock { flex-basis: 100%; }
/* 庄区一行、闲区平分剩下的高度（有上限），屏幕高的时候不在下面空出半张桌 */
.zones { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(118px, 1fr); grid-template-rows: auto; gap: 8px; flex: 1 1 auto; max-height: 520px; }
.zone { justify-content: center; }
.zone { --zc: #FFE08A; position: relative; min-width: 0; padding: 7px 4px 9px; border-radius: 14px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; background: rgba(0,0,0,.26); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); --card-w: calc(31px * var(--ck, 1.1) / 1.1); }
.zone[data-zone="1"] { --zc: #FF9C8A; } .zone[data-zone="2"] { --zc: #8CC8FF; } .zone[data-zone="3"] { --zc: #C6ADFF; } .zone[data-zone="4"] { --zc: #7BE3BC; }
.zone.bankerz { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 12px; padding: 9px; }
.zone.tap { cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--zc); } .zone.tap:active { transform: scale(.98); }
.zone .zn { font: 800 20px/1.1 "Noto Sans SC", "PingFang SC", sans-serif; color: var(--zc); }
.zone .hand { gap: 1px; justify-content: center; } .zone .htype, .zone .type { position: static; transform: none; }
.type { display: inline-block; min-width: 48px; height: 20.2px; padding: 0 8px; border-radius: 4px; background: rgba(0,0,0,.62); font: 600 13px/20.2px "Noto Sans SC", "PingFang SC", sans-serif; color: #fff; }
.type.big { background: linear-gradient(180deg, #FFF0B8, #FFE08A 45%, #E9B949); color: #3A2A00; font-weight: 800; }
.zone .zt { font-size: 11px; color: rgba(255,255,255,.72); font-variant-numeric: tabular-nums; }
.zone .zm { font: 800 12.5px/1.2 var(--num); color: #FFE08A; font-variant-numeric: tabular-nums; }
.zone .res { position: absolute; right: 6px; top: 5px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.zone .res.w { color: #04261A; background: linear-gradient(180deg, #46EFB2, #1FBE83); } .zone .res.l { color: #fff; background: rgba(194,47,55,.85); }
.ztable.hund #dock .st { top: auto; bottom: 68px; transform: translateX(-50%); }
.chips { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; gap: 9px; justify-content: center; align-items: center; }
.chip { --cc: #C22F37; width: 46px; height: 46px; border: 0; border-radius: 50%; display: grid; place-items: center; font: 800 13px/1 var(--num); color: #fff; text-shadow: 0 1px 2px #000a; font-variant-numeric: tabular-nums;
  background: radial-gradient(circle, var(--cc) 0 54%, #0000 55%), repeating-conic-gradient(#fff 0 14deg, var(--cc) 14deg 45deg); box-shadow: inset 0 0 0 2px #0004, 0 3px 8px rgba(0,0,0,.4); transition: transform .15s; }
.chip:nth-child(2) { --cc: #1677D6; } .chip:nth-child(3) { --cc: #1FBE83; } .chip:nth-child(4) { --cc: #2A2F38; }
.chip.sel { transform: translateY(-6px); box-shadow: inset 0 0 0 2px #0004, 0 0 0 2.5px #FFE08A, 0 8px 14px rgba(0,0,0,.45); }
.chip[disabled] { opacity: .32; }
.delta { font-weight: 900; } .delta.up { color: var(--green); } .delta.down { color: var(--red); }
.hrow .hand { gap: 1px; }
@media (prefers-reduced-motion: reduce) { .cap.k-win, .cap.k-lose { animation: none; } }

/* ================= 设置面板：沿用通用牌桌框架（tableprefs.css / tablesize.css）=================
 * 深石板底 #151B22、格子 #232C36、青色选中 #14BFAE；页签是一排下划线；开关格 62 高。面板浮在画面中间（原框架：左右 18、上 104、高 676）。 */
.sheet:has(.ts-card) { place-items: center; background: rgba(0,0,0,.42); }
.sheet-card.ts-card { --ts-bg: #151B22; --ts-tile: #232C36; --ts-tile2: #2A3540; --ts-line: rgba(255,255,255,.09); --ts-fg: #E6ECF0; --ts-dim: #929FA9; --ts-teal: #14BFAE;
  width: min(464px, calc(100% - 36px)); height: min(676px, calc(100dvh - 120px)); max-height: none; padding: 0 16px 12px; display: flex; flex-direction: column; overflow: hidden; border: 0; border-radius: 14px; background: var(--ts-bg); color: var(--ts-fg); }
.ts-tabs { position: relative; flex: none; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr) 34px; border-bottom: 1px solid var(--ts-line); }
.ts-tabs button { height: 48px; padding: 0; border: 0; background: none; font: 400 15px/48px inherit; color: #C4CDD4; }
.ts-tabs button[aria-selected="true"] { color: var(--ts-teal); box-shadow: inset 0 -2px 0 var(--ts-teal); }
.ts-tabs .ts-x { font-size: 24px; color: var(--ts-dim); }
.ts-body { flex: 1 1 auto; min-height: 0; overflow: auto; padding-bottom: 8px; }
.ts-sec { margin: 12px 0 0; } .ts-sec h4 { margin: 0 0 8px; font-size: 13px; font-weight: 400; color: var(--ts-dim); }
.ts-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.ts-opt { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 7px 7px 6px; border: 0; border-radius: 7px; background: var(--ts-tile); font-size: 11.5px; color: var(--ts-fg); }
.ts-opt[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ts-teal); color: var(--ts-teal); }
.ts-backs { display: grid; grid-template-columns: repeat(6, 1fr); } .ts-backs .ts-opt { min-width: 0; padding: 7px 2px 6px; }
.ts-back { display: block; width: 27px; height: 39px; border-radius: 2.5px; background: #fff center/100% 100% no-repeat; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.ts-deck { display: flex; gap: 3px; } .ts-deck i { display: block; width: 27px; height: 38px; border-radius: 2.5px; background: #fff center/cover no-repeat; overflow: hidden; }
.ts-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .ts-sizes.one { grid-template-columns: 1fr; }
.ts-size { display: grid; gap: 8px; padding: 9px 10px 11px; border-radius: 7px; background: var(--ts-tile); font-size: 12px; color: var(--ts-dim); }
.ts-size b { float: right; color: var(--ts-fg); font-weight: 500; font-variant-numeric: tabular-nums; }
.ts-size input { width: 100%; padding: 0; border: 0; background: none; accent-color: var(--ts-teal); }
.ts-fams { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ts-tt { display: block; margin: 0 auto 4px; border-radius: 9px; background: radial-gradient(ellipse at 50% 45%, #0b8f6c, #045540); box-shadow: 0 0 0 2px #17181c, 0 0 0 3px #3c4048; }
.ts-tt-std { width: 26px; height: 44px; } .ts-tt-pro { width: 62px; height: 30px; margin-top: 7px; margin-bottom: 11px; border-radius: 15px; background: radial-gradient(ellipse at 50% 45%, #2a2c33, #16171b); box-shadow: 0 0 0 3px #0a0a0c, 0 0 0 4px #c9a65e; } .ts-tones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.ts-fams .ts-opt, .ts-tones .ts-opt { min-width: 0; padding: 5px 0; }
.ts-felt { display: block; width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.ts-tone { display: block; width: 86%; height: 30px; border-radius: 5px; background: var(--c); }
.ts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ts-tile { position: relative; height: 62px; padding: 0 62px 0 12px; border: 0; border-radius: 7px; background: var(--ts-tile); text-align: left; color: var(--ts-fg); }
.ts-tile b { font-size: 14px; font-weight: 400; }
.ts-tile i { position: absolute; right: 10px; top: 50%; width: 42px; height: 24px; margin-top: -12px; border-radius: 12px; background: #3A4651; transition: background .15s; }
.ts-tile i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.ts-tile[aria-checked="true"] i { background: #0FB3A4; } .ts-tile[aria-checked="true"] i::after { transform: translateX(18px); }
.ts-note { margin: 8px 0 0; font-size: 12px; color: var(--ts-dim); }
.ts-menu-list { display: grid; gap: 8px; padding-top: 12px; }
.ts-menu-list button { display: grid; gap: 2px; padding: 13px 14px; border: 0; border-radius: 7px; background: var(--ts-tile); text-align: left; font-size: 15px; color: var(--ts-fg); }
.ts-menu-list small { font-size: 12px; color: var(--ts-dim); } .ts-menu-list .danger { color: #FF8A8E; }
.ts-state { flex: none; margin: 8px 0 0; font-size: 11.5px; text-align: center; color: var(--ts-dim); }

/* ================= 计分器（左抽屉）和牌局记录（右抽屉）=================
 * 版式照参考录屏的两块侧拉面板：各占牌桌宽度的 86%，另一侧露出一条牌桌；颜色是金博黑金。
 * 外框和 .shell 一样宽、居中（桌面上不会拉满整个显示器）。遮罩盖住整张桌：点遮罩关闭，点不到后面的下注键。 */
.tt-ent { flex: none; width: 40px; height: 44px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.tt-ent svg { width: 21px; height: 21px; fill: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.tt-ent:focus-visible, .ts-menu:focus-visible { outline: 2px solid var(--gold2); outline-offset: -4px; border-radius: 10px; }
.t-clock { margin-left: 4px; }
.dw-wrap { position: fixed; z-index: 40; top: 0; bottom: 0; left: 50%; width: min(500px, 100%); transform: translateX(-50%); overflow: hidden; }
@media (min-width: 900px) { .dw-wrap { width: min(520px, 100%); } }
.dw-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .22s; }
.dw-wrap.on .dw-scrim { opacity: 1; }
.dw { position: absolute; top: 0; bottom: 0; width: 86%; display: flex; flex-direction: column; color: var(--ink); outline: none;
  background: linear-gradient(180deg, #17120af5, #0b0906f7 30%); backdrop-filter: blur(10px); box-shadow: 0 0 40px #000c; transition: transform .26s cubic-bezier(.2, .8, .3, 1); font-variant-numeric: tabular-nums; }
.dw-wrap[data-side="l"] .dw { left: 0; transform: translateX(-102%); border-right: 1px solid #d8b25a55; }
.dw-wrap[data-side="r"] .dw { right: 0; transform: translateX(102%); border-left: 1px solid #d8b25a55; }
.dw-wrap.on .dw { transform: none; }
.calm .dw, .calm .dw-scrim { transition: none; }
@media (prefers-reduced-motion: reduce) { .dw, .dw-scrim { transition: none; } }
.dw-h { flex: none; display: flex; align-items: center; gap: 8px; padding: calc(12px + env(safe-area-inset-top)) 8px 8px 16px; }
.dw-t { flex: 1 1 auto; min-width: 0; font-size: 16px; letter-spacing: 1px; color: #e9dcb8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-copy { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 8px; border: 0; border-radius: 8px; background: none; font: 500 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .5px; color: #b7a67e; }
.dw-copy svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.dw-copy:active { color: var(--gold2); }
.dw-x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; font-size: 26px; line-height: 1; color: #b7a67e; }
.dw-sub { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 16px 10px; font-size: 13px; color: #cbbf9f; border-bottom: 1px solid #d8b25a2e; }
.dw-sub .coin { display: inline-block; width: 16px; height: 16px; margin-right: 7px; vertical-align: -3px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold2) 35%, var(--gold) 70%, #a77f2f); }
.mono2 { font: 500 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #e9dcb8; }
.dw-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 16px; }
.dw-load { margin: 0; padding: 26px 16px; text-align: center; font-size: 13px; line-height: 1.6; color: var(--muted); }
.dw-scope { margin: 10px 0 4px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.dw .tag { display: inline-block; margin-left: 6px; padding: 0 5px; border-radius: 5px; font-size: 10px; font-style: normal; line-height: 16px; vertical-align: 2px; color: #1a1206; background: var(--gold); }
.dw .tag.off { color: #b7a67e; background: #ffffff14; }
.dw .na { color: #7d735d; }
.net { font-weight: 800; } .net.up { color: #35d07f; } .net.down { color: #ff6b5e; } .net.zero { color: #b7a67e; }

.sb { width: 100%; border-collapse: collapse; }
.sb th, .sb td { padding: 0 0 0 8px; height: 44px; text-align: right; font-size: 16px; white-space: nowrap; border-bottom: 1px solid #ffffff0d; }
.sb thead th { height: 38px; font-size: 13px; font-weight: 400; color: var(--muted); border-bottom: 1px solid #d8b25a2e; }
.sb th:first-child { padding-left: 0; text-align: left; max-width: 0; width: 50%; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.sb tbody th { color: #f4ead2; } .sb td { color: #e9dcb8; }
.sb .nm { display: inline-block; max-width: calc(100% - 48px); overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.sb tr.me th, .sb tr.me td { background: linear-gradient(90deg, #d8b25a1f, #d8b25a0a); }
.sb tr.me th { box-shadow: inset 2px 0 0 var(--gold); padding-left: 8px; }
.sb tr.empty td { height: 90px; text-align: center; font-size: 13px; color: var(--muted); }
.dw-aud { display: flex; align-items: center; gap: 10px; margin: 16px 0 10px; font-size: 14px; color: #cbbf9f; }
.aud { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 12px 6px; }
.aud-i { position: relative; display: grid; justify-items: center; gap: 4px; min-width: 0; }
.aud-i small { max-width: 100%; font-size: 11px; color: #cbbf9f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aud-i em { position: absolute; top: -4px; right: 2px; padding: 0 4px; border-radius: 5px; font-size: 9px; font-style: normal; line-height: 14px; color: #1a1206; background: var(--gold); }
.dw-av { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 18px; color: #fff; background: radial-gradient(circle at 35% 28%, hsl(var(--h) 46% 58%), hsl(var(--h) 52% 28%)); box-shadow: 0 0 0 1.5px #0b0906, 0 0 0 2.5px #d8b25a66; }
.dw-av.on::after { content: ""; position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border-radius: 50%; background: #35d07f; box-shadow: 0 0 0 2px #0b0906; }

.rc-cols, .rk-cols { display: grid; align-items: center; height: 38px; font-size: 13px; color: var(--muted); border-bottom: 1px solid #d8b25a2e; }
.rc-cols { grid-template-columns: 50px 1fr auto; } .rk-cols { grid-template-columns: 50px 1fr auto 78px; margin-top: 8px; }
.rk-cols span:nth-child(3), .rk-cols span:nth-child(4), .rc-cols span:nth-child(3) { text-align: right; }
.rc-top, .rk-list { list-style: none; margin: 0; padding: 0; }
.rc-top li { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; min-height: 68px; border-bottom: 1px solid #ffffff0d; font-size: 16px; }
.rc-top li.me { background: linear-gradient(90deg, #d8b25a1a, #0000 70%); }
.rc-top .net, .rc-top .na { text-align: right; }
.pos { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 16px; color: #e9dcb8; background: #ffffff12; box-shadow: inset 0 0 0 1px #d8b25a55; }
.pos.bk { color: #1a1206; background: linear-gradient(180deg, #fff0bd, var(--gold2) 35%, var(--gold) 75%, #a77f2f); box-shadow: none; }
.pos.z1 { color: #FF9C8A; } .pos.z2 { color: #8CC8FF; } .pos.z3 { color: #C6ADFF; } .pos.z4 { color: #7BE3BC; }
.rc-hand { position: relative; justify-self: start; padding: 9px 0; --card-w: 38px; --card-scale: 1; }
.rc-hand .c + .c { margin-left: -12px; }
.rc-type { position: absolute; right: -14px; top: 0; padding: 0 7px; border-radius: 6px; font-style: normal; font-size: 12px; font-weight: 800; line-height: 19px; white-space: nowrap; color: var(--gold2); background: #0b0906f2; box-shadow: inset 0 0 0 1px var(--gold3), 0 2px 6px #0009; }
.rc-type.big { color: #1a1206; background: linear-gradient(180deg, #fff3c9, var(--gold2) 40%, var(--gold)); box-shadow: 0 0 10px #f3d98b88; }
.rk-list li { border-bottom: 1px solid #ffffff0d; } .rk-list li.me { background: linear-gradient(90deg, #d8b25a1a, #0000 70%); }
.rk-row { display: grid; grid-template-columns: 50px minmax(0, 1fr) 20px auto 78px; align-items: center; width: 100%; min-height: 48px; padding: 0; border: 0; background: none; text-align: left; font-size: 16px; color: #f4ead2; }
.rk-row .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk-row .bt, .rk-row .net { text-align: right; } .rk-row .bt { color: #e9dcb8; }
.rk { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; color: #cbbf9f; background: #ffffff14; }
.rk.r1 { color: #1a1206; background: radial-gradient(circle at 35% 30%, #fff3c4, var(--gold2) 40%, var(--gold)); } .rk.r2 { color: #14181c; background: #c9d2da; } .rk.r3 { color: #1c1208; background: #c98f5a; }
.chev2 { width: 7px; height: 7px; border: solid #8a7a58; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s; }
.rk-row[aria-expanded="true"] .chev2 { transform: rotate(-135deg) translate(-2px, -2px); }
.rk-d { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 12px 50px; }
.rk-d span { padding: 2px 8px; border-radius: 6px; font-size: 12px; color: #cbbf9f; background: #ffffff0d; }
.rk-d .net { font-weight: 700; }
.rc-proof { display: grid; gap: 6px; justify-items: start; margin-top: 14px; } .rc-proof small { font-size: 11px; color: var(--muted); }
.rc-nav { flex: none; display: flex; align-items: flex-end; gap: 10px; padding: 8px 14px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #d8b25a2e; background: #0b0906; }
.dw.busy .rc-nav { opacity: .6; }
.nv { flex: none; width: 46px; height: 44px; border: 0; border-radius: 10px; font-size: 24px; line-height: 1; color: var(--gold2); background: #ffffff10; box-shadow: inset 0 0 0 1px #d8b25a55; }
.nv[disabled] { opacity: .3; }
.rc-sl { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.rc-sl-l { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; color: var(--muted); } .rc-sl-l em { font-style: normal; } .rc-sl-l b { font-size: 12px; color: var(--gold2); }
.rc-sl input { width: 100%; height: 30px; margin: 0; padding: 0; border: 0; background: none; accent-color: var(--gold); }
.dw button:focus-visible, .dw input:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }

/* 弹层的标题行和标题里的小徽标（牌谱详情、验牌说明用） */
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.vmark { width: 22px; height: 22px; vertical-align: -5px; margin-right: 6px; }
/* 牌谱列表和牌谱详情里：没有牌型时不留空牌型框；「庄」是行内的小圆标，不是牌桌上那枚绝对定位的圆片 */
.type:empty { display: none; }
.hrow .crown { position: static; display: inline-grid; margin-right: 6px; vertical-align: -3px; }
.hrow .hand { --card-w: 26px; --card-scale: 1; }
.seat.hero.empty .who small { top: 42px; }

/* ---- 搓牌：自己的最后一张先扣着（.sqc），点开以后放大，从下往上搓（nn.js openSqz）。--d 是手指往上搓的距离：折线在 牌高 − d/2，折线以下露出桌面，掀起来的那一截是牌面的下半截倒着贴在折线上方 ---- */
.c.sqc { cursor: pointer; animation: sqcPulse 1.1s ease-in-out infinite alternate; }
.c.sqc::before { content: "搓"; position: absolute; z-index: 2; left: 50%; bottom: 5px; transform: translateX(-50%); padding: 0 6px; border-radius: 8px; font: 800 12px/17px "Noto Sans SC", "PingFang SC", sans-serif; color: #3A2A00; background: linear-gradient(180deg, #FFF0B8, #E9B949); box-shadow: 0 1px 3px #000a; }
@keyframes sqcPulse { from { box-shadow: 0 0 0 1.5px #e9c46a, 0 2px 5px rgba(0,0,0,.34); } to { box-shadow: 0 0 0 2.5px #fff0b8, 0 0 14px 2px #e9c46acc; } }
.calm .c.sqc { animation: none; box-shadow: 0 0 0 2px #e9c46a, 0 2px 5px rgba(0,0,0,.34); }
.sqz { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; touch-action: none; user-select: none; -webkit-user-select: none; background: radial-gradient(ellipse 70% 55% at 50% 48%, rgba(0,0,0,.4), rgba(0,0,0,.66)); }
.sqz-stage { position: relative; flex: none; touch-action: none; will-change: transform; transform-origin: 50% 50%; }
.sqz-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: grab; }
.sqz-clock { position: absolute; left: 50%; top: 26px; width: 44px; height: 44px; margin-left: -22px; pointer-events: none; transition: opacity .2s; }
.sqz-clock svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.sqz-clock circle { fill: rgba(0,0,0,.5); stroke: #F6E3A6; stroke-width: 3; stroke-dasharray: 119.4; stroke-dashoffset: 0; }
.sqz-clock b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 18px/1 Archivo, "Helvetica Neue", Arial, sans-serif; color: #fff; }
.sqz.open .sqz-clock { opacity: 0; }
.sqz-go { position: absolute; left: 50%; height: 40px; min-width: 132px; padding: 0 22px; border: 0; border-radius: 20px; transform: translateX(-50%); font: 600 16px/1 "Noto Sans SC", "PingFang SC", sans-serif; letter-spacing: .06em; white-space: nowrap; cursor: pointer; color: #2A1C05;
  background: linear-gradient(180deg, #FFF3C9, #F2CE6B 55%, #D8A840); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(120,80,10,.35), 0 3px 8px rgba(0,0,0,.45); text-shadow: 0 1px 0 rgba(255,255,255,.5); -webkit-tap-highlight-color: transparent; transition: opacity .2s, transform .15s; }
.sqz-go:active { transform: translateX(-50%) translateY(2px) scale(.99); }
.sqz.open .sqz-go { opacity: 0; pointer-events: none; }
.zbtn.ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }

/* ---- 职业桌（横屏，nn.js pgeo / paintPro）：画布高 400。发牌盒在顶上正中的荷官凹位里，阶段、锁定时间、倒计时顺着排在下面；
   自己在下面偏左（头像、右边五张牌），状态一行在牌的上面，出手键在右下角。别人的牌照多人桌的摆法压在头像上。 ---- */
body.proland .shell { max-width: none; } body.proland .app { padding: 0; }
.ztable.pro .center { top: 52px; gap: 5px; }
.ztable.pro .shoe { transform: scale(.86); transform-origin: 50% 0; margin-bottom: -12px; }
.ztable.pro .seat.hero .medal { left: -32px; top: -32px; width: 64px; height: 64px; }
.ztable.pro .seat.hero .who small { top: -53px; }
.ztable.pro .seat.hero .who b.num { top: 36px; }
.ztable.pro .seat.hero .zh { left: 160px; top: 6px; }
.ztable.pro .seat.hero .zh .c { --cw: calc(44px * var(--ck, 1.1)); } .ztable.pro .seat.hero .zh .c + .c { margin-left: calc(-11px * var(--ck, 1.1)); }
.ztable.pro #dock .st { top: 258px; }
.ztable.pro .actions { left: calc(100% - 215px); top: 330px; }
/* 别人不超过 6 位时桌面有地方：别人的五张牌放大摆在头像靠桌心的一侧（左边的在右、右边的在左、顶上的在筹码牌下面），牌背和亮开以后在同一个位置 */
.ztable.pro.pwide .seat:not(.hero) .zh .c, .ztable.pro.pwide .seat:not(.hero) .zh.open .c { --cw: calc(30px * var(--ck, 1.1) / 1.1); }
.ztable.pro.pwide .seat:not(.hero) .zh .c + .c { margin-left: calc(-10px * var(--ck, 1.1) / 1.1); }
.ztable.pro.pwide .s-l .zh, .ztable.pro.pwide .s-l .zh.open { left: 41px; right: auto; top: -22px; }
.ztable.pro.pwide .s-r .zh, .ztable.pro.pwide .s-r .zh.open { left: auto; right: 41px; top: -22px; }
.ztable.pro.pwide .s-o .zh, .ztable.pro.pwide .s-o .zh.open { left: 0; top: 62px; transform: translateX(-50%); }
.ztable.pro.pwide .seat:not(.hero) .zh .htype { top: auto; bottom: -12px; }
.ztable.pro .seat.hero.acting .medal, .ztable.pro .seat.hero.acting .dealer, .ztable.pro .seat.hero.acting .who small { visibility: visible; }

/* ---- 桌角四个键（计分器、带入筹码 / 表情、按住说话）、表情面板、座位旁弹出的表情和喇叭 ---- */
.corner { position: absolute; z-index: 8; bottom: calc(30px + env(safe-area-inset-bottom)); display: flex; gap: 9px; }
.corner.cl { left: 12px; } .corner.cr { right: 12px; }
/* 四个键一个样子：深色玻璃圆键、一道细金圈、淡金色的线条图标（线宽、圆角都一样） */
.cbtn { width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 0%, rgba(74,70,58,.9), rgba(22,22,24,.9) 58%, rgba(8,8,10,.92));
  box-shadow: inset 0 0 0 1px rgba(216,178,90,.62), inset 0 1.5px 0 rgba(255,246,214,.22), inset 0 -6px 9px rgba(0,0,0,.4), 0 3px 8px rgba(0,0,0,.5); touch-action: none; -webkit-user-select: none; user-select: none; transition: transform .12s, box-shadow .12s; }
.cbtn svg { width: 23px; height: 23px; fill: none; stroke: #F6E3A6; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.5)); }
.cbtn svg .dot { fill: #F6E3A6; stroke: none; }
.cbtn:active { transform: scale(.94); box-shadow: inset 0 0 0 1px rgba(255,240,184,.9), inset 0 -6px 9px rgba(0,0,0,.4), 0 0 12px rgba(233,196,106,.45); } .cbtn:focus-visible { outline: 2px solid var(--gold2); outline-offset: 2px; }
.cbtn.rec { background: radial-gradient(120% 90% at 50% 0%, #5ff2bd, #1FBE83 60%, #128a5d); box-shadow: 0 0 0 5px rgba(31,190,131,.3), 0 3px 8px rgba(0,0,0,.5); transform: scale(1.14); } .cbtn.rec svg { stroke: #04261A; }
.cbtn.rec.cancel { background: radial-gradient(120% 90% at 50% 0%, #f5646a, #C22F37 60%, #8f1f26); box-shadow: 0 0 0 5px rgba(194,47,55,.3), 0 3px 8px rgba(0,0,0,.5); } .cbtn.rec.cancel svg { stroke: #fff; }
.ztable.hund .corner { bottom: calc(100px + env(safe-area-inset-bottom)); flex-direction: column; }
.ztable.pro .corner { bottom: 3px; gap: 6px; } .ztable.pro .corner.cl { left: 14px; } .ztable.pro .corner.cr { left: 62px; right: auto; } .ztable.pro .cbtn { width: 40px; height: 40px; }
.emo-panel { position: absolute; z-index: 9; left: 10px; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 8px; border-radius: 14px; background: rgba(18,20,24,.95); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 10px 26px rgba(0,0,0,.55); }
.stk-tabs { display: flex; gap: 6px; margin-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
.stk-tabs button { flex: none; height: 28px; padding: 0 12px; border: 0; border-radius: 14px; font: 600 13px/28px "Noto Sans SC", "PingFang SC", sans-serif; color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); white-space: nowrap; }
.stk-tabs button[aria-pressed="true"] { color: #3A2A00; background: linear-gradient(180deg, #FFF0B8, #E9B949); }
.stk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.stk { min-width: 0; padding: 4px; border: 0; border-radius: 12px; display: grid; justify-items: center; gap: 2px; color: rgba(255,255,255,.8); background: rgba(255,255,255,.06); touch-action: manipulation; }
.stk img { width: 100%; max-width: 58px; aspect-ratio: 1; object-fit: contain; display: block; }
.stk span { width: 100%; height: 24px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font: 600 10.5px/12px "Noto Sans SC", "PingFang SC", sans-serif; text-align: center; word-break: break-all; }
.stk:active { transform: scale(.96); background: rgba(255,255,255,.14); }
.ztable.pro .emo-panel { left: 14px; right: auto; bottom: 48px; width: 360px; } .ztable.pro .stk-grid { max-height: 210px; }
.fxpop.stk-pop { width: 150px; height: 150px; margin-top: -40px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.55)); animation: stkPop 2.8s ease-out both; }
.fxpop.stk-pop img { width: 100%; height: 100%; object-fit: contain; display: block; }
@keyframes stkPop { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.8); } 10%, 80% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -56%) scale(.96); } }
.calm .fxpop.stk-pop { animation: none; }
#fxLayer { position: absolute; inset: 0; z-index: 9; pointer-events: none; }
.fxpop { position: absolute; transform: translate(-50%, -50%); }
.fxpop.voice { margin-top: -30px; padding: 0 8px 0 6px; height: 24px; border-radius: 12px; display: flex; align-items: center; gap: 4px; font: 700 13px/24px Archivo, "Helvetica Neue", Arial, sans-serif; color: #04261A; background: linear-gradient(180deg, #46EFB2, #1FBE83); box-shadow: 0 2px 5px rgba(0,0,0,.45); }
.fxpop .spk { width: 14px; height: 14px; background: #04261A; clip-path: polygon(0 32%, 28% 32%, 62% 4%, 62% 96%, 28% 68%, 0 68%); animation: spk .5s ease-in-out infinite alternate; }
@keyframes spk { to { opacity: .45; } }
.calm .fxpop .spk { animation: none; }
.mic-tip { position: absolute; z-index: 9; right: 10px; bottom: calc(80px + env(safe-area-inset-bottom)); padding: 6px 12px; border-radius: 16px; font-size: 13px; color: #fff; background: rgba(18,20,24,.92); box-shadow: 0 0 0 1px rgba(255,255,255,.14); white-space: nowrap; }
.mic-tip b { display: inline-block; min-width: 18px; margin-right: 4px; color: #46EFB2; font: 800 15px/1 Archivo, "Helvetica Neue", Arial, sans-serif; }
.ztable.pro .mic-tip { left: 62px; right: auto; bottom: 48px; }

/* 话筒：只有线条、不带圆底，放在自己头像下面、筹码牌的右边（按住说话；录的时候变绿、上滑取消变红） */
.cmic { position: absolute; z-index: 8; left: calc(50% + 40px); top: calc(774.5px * var(--sy, 1) - 20px); width: 40px; height: 40px; padding: 0; border: 0; background: none; display: grid; place-items: center; touch-action: none; -webkit-user-select: none; user-select: none; }
.cmic svg { width: 25px; height: 25px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.55)); transition: transform .12s; }
.cmic:focus-visible { outline: 2px solid var(--gold2); outline-offset: -4px; border-radius: 12px; }
.cmic.rec svg { stroke: #46EFB2; transform: scale(1.3); filter: drop-shadow(0 0 6px #1fbe83); } .cmic.rec.cancel svg { stroke: #F5646A; filter: drop-shadow(0 0 6px #c22f37); }
.ztable.pro .cmic { left: calc(50% - 190px + 36px); top: 334px; }
.ztable.hund .cmic { left: auto; right: 12px; top: auto; bottom: calc(100px + env(safe-area-inset-bottom)); }
.ztable.hund .corner.cr { bottom: calc(146px + env(safe-area-inset-bottom)); }
.mic-tip { right: auto; left: 50%; transform: translateX(-50%); bottom: auto; top: calc(774.5px * var(--sy, 1) - 62px); }
.ztable.pro .mic-tip { left: calc(50% - 150px); top: 290px; bottom: auto; }
.ztable.hund .mic-tip { left: auto; right: 12px; transform: none; top: auto; bottom: calc(146px + env(safe-area-inset-bottom)); }

/* ================= 动作效果层（fx.js，金线归位） =================
   静态的部分在座位 HTML 里：等待决定的细金圈和小字、牌型条（按档位上色）、输赢气泡——它们只按时间表延迟出现（--rv / --rs），本身不带动画，重画不会重放。
   一次性的部分在 #fxLayer 里：金圈、落筹码、阶段条、牌型弹字、赢家光环——都不接点击，只用 transform / opacity。 */
@keyframes lblIn { from { visibility: hidden; } to { visibility: visible; } }
.htype, .zone .type { animation: lblIn 1ms linear var(--rv, 0ms) both; }
.zone .res { animation: lblIn 1ms linear var(--rs, 0ms) both; }
.calm .htype, .calm .zone .type, .calm .zone .res, .calm .cap.k-win, .calm .cap.k-lose { animation: none; }
/* 牌型条四档：无牛素银、牛一到牛六淡金字、牛七到牛九亮金字、牛牛和三种特殊牌型金底（.big 原来就有） */
.htype.rk-none, .type.rk-none { color: #D5D9DE; background: rgba(0,0,0,.55); }
.htype.rk-low, .type.rk-low { color: #F6E3A6; }
.htype.rk-high, .type.rk-high { color: #FFE08A; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(233,196,106,.7); }
.pend { position: absolute; z-index: 4; left: 0; top: 17px; transform: translateX(-50%); padding: 0 6px; border-radius: 8px; font: 700 10.5px/15px "Noto Sans SC", "PingFang SC", sans-serif; font-style: normal; white-space: nowrap; color: #F6E3A6; background: rgba(10,10,12,.72); box-shadow: inset 0 0 0 1px rgba(216,178,90,.55); }
.seat.hero .pend { display: none; } /* 自己要做什么，下面的状态行和按键已经写了 */ .ztable.hund .pend { position: static; transform: none; }
/* 亮牌：牌先是牌背（::before 盖着），到它的时间翻过来。重画时按剩下的毫秒续上，翻完的不再翻 */
.c.rv { position: relative; animation: rvTurn 240ms ease-in-out var(--delay, 0ms) backwards; }
.c.rv::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: #fff var(--cardback) center/100% 100% no-repeat; animation: rvBack 240ms step-end var(--delay, 0ms) both; }
@keyframes rvTurn { 0% { transform: none; } 50% { transform: rotateY(88deg); } 100% { transform: none; } }
@keyframes rvBack { 0% { opacity: 1; } 50%, 100% { opacity: 0; } }
.calm .c.rv { animation: none; } .calm .c.rv::before { display: none; }

.fx { position: absolute; pointer-events: none; transform: translate(-50%, -50%); will-change: transform, opacity; }
.fx-ring { transform: none; border-radius: 20px; box-shadow: 0 0 0 2px #FFF0B8, 0 0 14px 3px rgba(233,196,106,.75); animation: fxRing .38s ease-out both; }
.fx-ring.banker { animation: fxRingBig .76s ease-out both; } .fx-ring.win { box-shadow: 0 0 0 2.5px #FFF0B8, 0 0 22px 7px rgba(255,214,110,.9); animation: fxHalo .9s ease-out both; }
@keyframes fxRing { from { opacity: 1; transform: scale(.94); } to { opacity: 0; transform: scale(1.22); } }
@keyframes fxRingBig { 0% { opacity: 0; transform: scale(.8); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes fxHalo { 0% { opacity: 0; transform: scale(.9); } 18% { opacity: 1; transform: scale(1.06); } 70% { opacity: 1; transform: scale(1.1); } 100% { opacity: 0; transform: scale(1.24); } }
.fx-cap span, .fx-net span { display: block; padding: 0 8px; border-radius: 7px; font: 800 15px/22px Archivo, "Noto Sans SC", "PingFang SC", sans-serif; white-space: nowrap; color: #3A2A00; background: linear-gradient(180deg, #FFE07A, #F2B93B); font-variant-numeric: tabular-nums; box-shadow: 0 1px 3px rgba(0,0,0,.5); }
.fx-cap.pass span { color: rgba(255,255,255,.85); background: rgba(23,25,28,.9); } .fx-cap.bet span, .fx-cap.done span { color: #04261A; background: linear-gradient(180deg, #46EFB2, #1FBE83); }
.fx-cap { animation: fxPop .38s cubic-bezier(.2, .8, .3, 1.4) both; }
@keyframes fxPop { 0% { transform: translate(-50%, -30%) scale(.6); opacity: 0; } 55% { transform: translate(-50%, -50%) scale(1.14); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.fx-crown b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font: 900 13px/1 "Noto Sans SC", "PingFang SC", sans-serif; color: #3A2A00; background: radial-gradient(circle at 38% 32%, #FFF6D8, #F2CE6B 70%, #C9973A); box-shadow: 0 0 12px 3px rgba(255,214,110,.85); }
.fx-crown { animation: fxCrown .76s cubic-bezier(.2, .8, .3, 1.3) both; }
@keyframes fxCrown { 0% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; } 35% { transform: translate(-50%, -50%) scale(1.25); opacity: 1; } 80% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
.fx-chip i, .fx-fly i { display: block; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle, #FFF6D8 0 34%, #E9B949 36% 62%, #8A5F16 64%); box-shadow: 0 0 0 1.5px #3A2A00, 0 2px 4px rgba(0,0,0,.5); }
.fx-chip { animation: fxDrop .4s cubic-bezier(.3, .1, .3, 1.25) both; }
@keyframes fxDrop { 0% { transform: translate(-50%, calc(-50% + var(--fy, -40px))) scale(.7); opacity: 0; } 20% { opacity: 1; } 78% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(.6); opacity: 0; } }
.fx-plate { transform: none; border-radius: 10px; box-shadow: 0 0 0 1.5px #FFF0B8, 0 0 10px 2px rgba(233,196,106,.7); animation: fxPlate .44s ease-out .18s both; }
@keyframes fxPlate { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: 0; } }
.fx-fly { animation: fxFly .44s cubic-bezier(.3, .1, .3, 1) both; }
@keyframes fxFly { 0% { transform: translate(calc(-50% + var(--fx, 0px)), calc(-50% + var(--fy, 0px))) scale(.9); opacity: 0; } 15% { opacity: 1; } 85% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(.7); opacity: 0; } }
.fx-zone { transform: none; border-radius: 12px; box-shadow: inset 0 0 0 2px #FFF0B8, 0 0 14px 2px rgba(233,196,106,.6); animation: fxPlate .46s ease-out both; }
.fx-ribbon span { display: block; padding: 0 26px; font: 800 15px/28px "Noto Sans SC", "PingFang SC", sans-serif; letter-spacing: 3px; white-space: nowrap; color: #3A2A00; background: linear-gradient(90deg, #E9B94900, #F6DFA0 18%, #FFF3C9 50%, #F6DFA0 82%, #E9B94900); text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.fx-ribbon { animation: fxRibbon .62s ease-out both; }
@keyframes fxRibbon { 0% { transform: translate(-50%, -50%) scaleX(.3); opacity: 0; } 22% { transform: translate(-50%, -50%) scaleX(1.04); opacity: 1; } 72% { transform: translate(-50%, -50%) scaleX(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scaleX(1); opacity: 0; } }
/* 牌型弹字：金描边的活字盖在那手牌自己的牌型条上，弹出、扫一道光、退场 */
.fx-rank { display: grid; place-items: center; animation: fxRank 1s cubic-bezier(.2, .8, .3, 1) both; --rb: 38px; --rk: 1; }
/* 金色立体大字：三层——最下面一层（::before）是深金粗描边加往下的挤出厚度和投影；中间是字本身，香槟到亮金到深金的竖向渐变填充；
   最上面（::after）是一道斜着扫过去的高光，只放一次。字是活字（本机字体），不是图片。 */
.fx-rank b { position: relative; z-index: 1; display: block; padding: 0 .12em; font: 900 calc(var(--rb) * var(--rk)) / 1.15 "Noto Sans SC", "PingFang SC", "Heiti SC", "Microsoft YaHei", sans-serif; letter-spacing: .04em; white-space: nowrap; transform: skewX(-7deg);
  color: #6B4408; -webkit-text-fill-color: #6B4408; -webkit-text-stroke: calc(var(--rb) * var(--rk) * .16) #4A2E05;
  text-shadow: 0 1px 0 #B9801E, 0 2px 0 #9A6A14, 0 3px 0 #7A520D, 0 4px 0 #5C3C08, 0 5px 0 #3E2804, 0 7px 9px rgba(0,0,0,.6), 0 0 14px rgba(255,208,96,.45); }
.fx-rank b::before, .fx-rank b::after { content: attr(data-t); position: absolute; left: 0; top: 0; right: 0; padding: inherit; white-space: nowrap; -webkit-text-stroke: 0; text-shadow: none; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fx-rank b::before { background-image: linear-gradient(180deg, #FFFBE6 0%, #FFE9A0 26%, #F7C948 50%, #D99A1E 66%, #FFE08A 84%, #B9801E 100%); }
.fx-rank b::after { background: linear-gradient(105deg, #fff0 42%, #ffffffe6 50%, #fff0 58%) no-repeat; background-size: 280% 100%; background-position: 140% 0; -webkit-background-clip: text; background-clip: text; animation: fxSweep .55s ease-in-out .28s both; }
@keyframes fxSweep { from { background-position: 140% 0; } to { background-position: -60% 0; } }
/* 尺寸：普通牛一到牛六 38、牛七到牛九 44、牛牛和特殊牌型 50（三个字的收一点）；自己的手牌再大一档；无牛是银灰小一号，不扫光 */
.fx-rank.rk-low { --rb: 38px; } .fx-rank.rk-high { --rb: 44px; } .fx-rank.rk-top { --rb: 50px; animation-duration: 1.2s; } .fx-rank.rk-top.l3 { --rb: 44px; }
.fx-rank.own { --rk: 1.1; } .fx-rank.own.rk-top.l3 { --rb: 46px; }
.fx-rank.rk-none { --rb: 30px; } .fx-rank.rk-none b { color: #2B2F36; -webkit-text-fill-color: #2B2F36; -webkit-text-stroke-color: #22252B; text-shadow: 0 1px 0 #555B65, 0 2px 0 #3C4048, 0 3px 0 #2B2F36, 0 5px 7px rgba(0,0,0,.6); }
.fx-rank.rk-none b::before { background-image: linear-gradient(180deg, #FFFFFF, #D5D9DE 50%, #9AA1AB); }
.fx-rank.rk-none b::after { display: none; }
/* 挤的桌子和押注区收一档，不盖到旁边的人、筹码和按钮 */
.ztable.mid .fx-rank:not(.own) { --rk: .84; } .ztable.crowd .fx-rank:not(.own) { --rk: .7; } .ztable.pro .fx-rank:not(.own) { --rk: .7; } .ztable.pro .fx-rank.own { --rk: .9; }
.fx-rank.inzone { --rk: .76; }
.fx-rank s { display: none; }
@keyframes fxGleam { 0% { filter: brightness(1); } 40% { filter: brightness(1.75) drop-shadow(0 0 6px rgba(255,236,170,.9)); } 100% { filter: brightness(1); } }
.fx-rank .glint { position: absolute; z-index: 0; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; background: url(assets/brand/jinbo-icon-192.png) center/contain no-repeat; filter: drop-shadow(0 0 10px rgba(255,214,110,.9)); animation: fxGlint 1.1s ease-out both; }
@keyframes fxRank { 0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; } 20% { transform: translate(-50%, -64%) scale(1.22); opacity: 1; } 34% { transform: translate(-50%, -60%) scale(1); opacity: 1; } 82% { transform: translate(-50%, -60%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(.72); opacity: 0; } }
@keyframes fxGlint { 0% { transform: scale(.3) rotate(-18deg); opacity: 0; } 22% { transform: scale(1.25) rotate(0); opacity: .95; } 60% { transform: scale(1.05); opacity: .55; } 100% { transform: scale(1.5); opacity: 0; } }
.fx-net.win span { font-size: 17px; line-height: 24px; background: linear-gradient(180deg, #FFF0B8, #FFE08A 45%, #E9B949); box-shadow: 0 0 12px 2px rgba(255,214,110,.7), 0 1px 3px rgba(0,0,0,.5); }
.fx-net.win { animation: fxRise .9s cubic-bezier(.2, .8, .3, 1) both; }
.fx-net.lose span { color: #fff; background: linear-gradient(180deg, #F5646A, #C22F37); } .fx-net.lose { animation: fxFade .52s ease-out both; }
@keyframes fxRise { 0% { transform: translate(-50%, 40%) scale(.7); opacity: 0; } 25% { transform: translate(-50%, -62%) scale(1.2); opacity: 1; } 45%, 85% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
@keyframes fxFade { 0% { transform: translate(-50%, -30%); opacity: 0; } 40%, 100% { transform: translate(-50%, -50%); opacity: 1; } }

/* ---- 五人桌（.roomy.r4）：发牌盒在上下两排人中间 ---- */
.ztable.roomy.r4 .center { top: 264px; }
/* ---- 六、七人桌（.mid，别人五、六位）：三排两列。头像 56、牌中号摊在头像下面；中间一窄列放发牌盒、阶段、锁定时间、倒计时和状态 ---- */
.ztable.mid .seat:not(.hero) .medal { left: -28px; top: -28px; width: 56px; height: 56px; border-radius: 16px; font-size: 22px; }
.ztable.mid .seat:not(.hero) .who small { top: -48px; max-width: 110px; height: 16px; line-height: 16px; font-size: 12px; }
.ztable.mid .seat.s-l .who small { left: -28px; } .ztable.mid .seat.s-r .who small { right: -28px; }
.ztable.mid .seat:not(.hero) .who b.num { top: 30px; min-width: 56px; height: 18px; font-size: 13px; line-height: 17px; }
.ztable.mid .seat:not(.hero) .cap, .ztable.mid .seat:not(.hero) .cap.k-win, .ztable.mid .seat:not(.hero) .cap.k-lose { top: -40px; }
.ztable.mid .seat:not(.hero) .cap span { font-size: 13px; line-height: 19px; padding: 0 6px; }
.ztable.mid .seat:not(.hero) .dealer { left: 18px; top: -38px; } .ztable.mid .seat.s-r .dealer { left: auto; right: 18px; }
.ztable.mid .seat:not(.hero) .pend { top: 12px; }
.ztable.mid .seat:not(.hero) .zh, .ztable.mid .seat:not(.hero) .zh.open { top: 53px; transform: none; }
.ztable.mid .s-l .zh, .ztable.mid .s-l .zh.open { left: -28px; right: auto; } .ztable.mid .s-r .zh, .ztable.mid .s-r .zh.open { left: auto; right: -28px; }
.ztable.mid .seat:not(.hero) .zh .c, .ztable.mid .seat:not(.hero) .zh.open .c { --cw: calc(34px * var(--ck, 1.1) / 1.1); }
.ztable.mid .seat:not(.hero) .zh .c + .c { margin-left: calc(-10px * var(--ck, 1.1) / 1.1); }
.ztable.mid .seat:not(.hero) .zh .htype { top: auto; bottom: -11px; }
.ztable.mid .center { top: 146px; width: 116px; gap: 6px; }
.ztable.mid .phase { white-space: normal; max-width: 116px; padding: 3px 9px; line-height: 17px; border-radius: 10px; }
.ztable.mid .lockt { white-space: normal; font-size: 10.5px; line-height: 1.25; }
.ztable.mid #dock .st { top: 474px; max-width: 118px; font-size: 12.5px; }

/* 关掉「游戏动效」：效果层整层不显示（fx.js 同时把正在放的、排着队的都取消了） */
.calm #fxLayer .fx { display: none; }

/* ================= 验牌面板（通用牌桌框架的验牌面板模版，中间的标志是金博的） =================
   上面深色标题区：三个标志和几行说明；下面浅色正文区：结论、一步步的核对、这一局的牌、时间锚、证明包。 */
.sheet-card.vp-card { --ivory: #F3EEE4; --champ: #D2B77E; --zh: "Noto Sans SC", "PingFang SC", -apple-system, sans-serif; --numf: Archivo, "Helvetica Neue", Arial, sans-serif;
  width: min(560px, 100%); padding: 0; border: 0; max-height: 90vh; background: #E8E1D2; color: #16171A; overflow: auto; }
.vp-hero { position: relative; padding: 14px 16px 18px; text-align: center; color: var(--ivory); background: radial-gradient(90% 70% at 50% 0%, rgba(210,183,126,.22), transparent 70%), linear-gradient(180deg, #191A1F, #0D0E11); }
.vp-x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; color: var(--ivory); background: rgba(255,255,255,.1); }
.vp-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; pointer-events: none; }
.vp-logos { display: grid; grid-template-columns: 1fr 18px 88px 18px 1fr; align-items: center; margin: 18px 0 0; }
.vp-lg { display: grid; justify-items: center; gap: 6px; }
.vp-badge { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(0,0,0,.7); }
.vp-badge svg { width: 50px; height: 50px; display: block; }
.vp-badge.ots { background: #fff; }
.vp-badge.ots i, .vp-ico.ots i { display: block; width: 34px; height: 36px; background: url(assets/brand/timestamp-mark.png) center/contain no-repeat; }
.vp-lg b { font: 800 13px/1.1 var(--numf); color: #fff; }
.vp-lg small { font: 500 11px var(--zh); color: #A9A6B2; margin-top: -3px; }
.vp-lg.me .vp-badge { width: 78px; height: 78px; background: #0D0E11 url(assets/brand/jinbo-logo-512.png) center/cover; box-shadow: 0 0 0 2px var(--champ), 0 0 0 7px rgba(210,183,126,.16), 0 14px 28px -10px rgba(0,0,0,.9); }
.vp-lg.me b { font: 800 14px/1 var(--zh); letter-spacing: .14em; color: var(--champ); }
.vp-line { height: 1px; background: linear-gradient(90deg, rgba(210,183,126,.1), rgba(210,183,126,.8)); margin-bottom: 30px; }
.vp-line.r { transform: scaleX(-1); }
.vp-say { margin: 10px 0 0; font: 900 14.5px/1.5 var(--zh); color: #fff; }
.vp-say.gold { margin: 0; color: var(--champ); }
.vp-say2 { margin: 2px 0 0; font: 500 12px/1.5 var(--zh); color: #BDB8AC; }
.vp-body { padding: 16px 22px calc(34px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, #F3EEE4, #E8E1D2); }
.vp-verdict { padding: 13px 15px; border-radius: 18px; background: rgba(13,14,17,.06); display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; }
.vp-ok { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #F3EEE4; box-shadow: inset 0 0 0 3px #8A6A2E; }
.vp-ok svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vp-ok path { display: none; }
.vp-verdict b { display: block; font: 900 17px/1.35 var(--zh); color: #16171A; }
.vp-verdict span { display: block; font: 500 13px/1.6 var(--zh); color: #45424C; margin-top: 1px; }
.vp-verdict.ok { background: rgba(160,128,62,.18); } .vp-verdict.ok .vp-ok { background: #8A6A2E; box-shadow: none; } .vp-verdict.ok .vp-ok .y { display: block; }
.vp-verdict.ok b { color: #3D3116; } .vp-verdict.ok span { color: #5C4B25; }
.vp-verdict.part { background: rgba(13,14,17,.06); box-shadow: inset 0 0 0 1.5px rgba(13,14,17,.16); } .vp-verdict.part .vp-ok { background: #8A6A2E; box-shadow: none; } .vp-verdict.part .vp-ok .y { display: block; }
.vp-verdict.bad { background: rgba(179,38,46,.14); } .vp-verdict.bad .vp-ok { background: #B3262E; box-shadow: none; } .vp-verdict.bad .vp-ok .n { display: block; }
.vp-verdict.bad b, .vp-verdict.bad span { color: #8E1F26; }
.vp-cap { margin: 9px 2px 0; text-align: center; font-size: 11px; line-height: 1.6; color: #5E5B66; word-break: break-all; }
.vp-steps { list-style: none; margin: 14px 0 0; padding: 0; }
.vp-steps li { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 7px 0; }
.vp-steps li i { width: 12px; height: 12px; border-radius: 50%; margin: 5px 0 0 3px; background: #F3EEE4; box-shadow: inset 0 0 0 2px #A9A5AE; position: relative; z-index: 1; }
.vp-steps li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 21px; bottom: -11px; width: 2px; background: #D6CFC0; }
.vp-steps li.done i { background: #8A6A2E; box-shadow: none; } .vp-steps li.done:not(:last-child)::after { background: #8A6A2E; }
.vp-steps li.bad i { background: #B3262E; box-shadow: none; }
.vp-steps b { display: block; font: 700 14.5px/1.4 var(--zh); color: #16171A; }
.vp-steps span { display: block; font: 400 12.5px/1.55 var(--zh); color: #5E5B66; margin-top: 1px; word-break: break-word; }
.vp-steps li.todo b { color: #8C8893; } .vp-steps li.bad b, .vp-steps li.bad span { color: #B3262E; }
.vp-times { margin: 8px 0 0; padding: 7px 12px; border-radius: 10px; background: #F3EEE4; }
.vp-times div { display: flex; justify-content: space-between; gap: 12px; font: 400 12.5px/1.8 var(--zh); color: #5E5B66; }
.vp-times b { font-weight: 600; color: #16171A; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vp-sec { font: 900 16px var(--zh); margin: 22px 0 0; color: #16171A; }
.vp-sec-p { font: 400 12.5px/1.6 var(--zh); color: #77747E; margin: 2px 0 0; }
.vp-hands { margin-top: 10px; padding: 10px 12px; border-radius: 16px; background: #14161A; color: var(--ink); }
.vp-way { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.62); box-shadow: inset 0 0 0 1px rgba(13,14,17,.09); margin-top: 12px; }
.vp-ico { width: 44px; height: 44px; border-radius: 50%; background: #16171A; display: grid; place-items: center; }
.vp-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--champ); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.vp-ico.ots { background: #fff; box-shadow: inset 0 0 0 1px rgba(13,14,17,.1); } .vp-ico.ots i { width: 28px; height: 30px; }
.vp-way-t { min-width: 0; } .vp-way-t b { display: block; font: 900 15.5px/1.35 var(--zh); color: #16171A; }
.vp-way-t p { margin: 3px 0 0; font: 400 13px/1.6 var(--zh); color: #45424C; word-break: break-word; }
.vp-way-t details { margin-top: 6px; font: 400 12px/1.6 var(--zh); color: #5E5B66; } .vp-way-t pre { margin: 6px 0 0; padding: 8px; border-radius: 8px; background: #F3EEE4; font-size: 11px; white-space: pre-wrap; word-break: break-all; color: #16171A; }
.vp-two { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.vp-two button, .vp-two a { min-height: 42px; border: 0; border-radius: 12px; background: #16171A; color: var(--ivory); font: 700 14px/1.25 var(--zh); display: grid; place-items: center; text-align: center; text-decoration: none; padding: 6px 12px; box-sizing: border-box; }
.vp-two a, .vp-two button + button { background: rgba(13,14,17,.08); color: #16171A; }
.vp-form { margin-top: 8px; } .vp-form label { display: block; font: 500 12.5px/1.6 var(--zh); color: #45424C; }
.vp-form input { width: 100%; margin-top: 4px; height: 38px; padding: 0 10px; border: 1px solid rgba(13,14,17,.2); border-radius: 10px; background: #fff; color: #16171A; font: 12px ui-monospace, Menlo, monospace; box-sizing: border-box; }
.vp-form .vp-two { grid-column: auto; }
.vp-hint { margin: 8px 0 0; font: 400 12px/1.6 var(--zh); color: #77747E; }

/* ================= 金博房（.ztable.jb）：黑金外观。只换颜色和质感——炭黑台面、细金边、淡金字；头像、手牌、按键的位置和交互都不动 ================= */
.ts-tt-jinbo { width: 26px; height: 44px; background: radial-gradient(ellipse at 50% 40%, #2b2b30, #0b0b0d); box-shadow: 0 0 0 1.5px #0a0a0c, 0 0 0 3px #d8b25a; }
.ztable.jb { color: #F3EEE4; }
.ztable.jb .t-title b { color: #F6E3A6; } .ztable.jb .t-title small { color: rgba(243,238,228,.72); }
.ztable.jb .t-title { padding-left: 34px; background: url(assets/brand/jinbo-icon-192.png) left center/30px 30px no-repeat; }
.ztable.jb .ts-menu svg, .ztable.jb .tt-ent svg { fill: #F6E3A6; } .ztable.jb .ts-lobby svg { stroke: #F6E3A6; }
.ztable.jb .t-clock { color: #F6E3A6; }
.ztable.jb .medal { background: linear-gradient(160deg, #303036, #141416 70%) !important; color: #F6E3A6; box-shadow: inset 0 0 0 1.5px rgba(216,178,90,.7), 0 3px 8px rgba(0,0,0,.6); text-shadow: 0 1px 2px #000; }
.ztable.jb .seat.turn .medal { box-shadow: inset 0 0 0 1.5px #FFF0B8, 0 0 0 2.5px rgba(233,196,106,.55), 0 0 14px rgba(233,196,106,.6); }
.ztable.jb .seat.banker .medal { box-shadow: inset 0 0 0 2px #FFE08A, 0 0 12px rgba(255,224,138,.55); }
.ztable.jb .who small { color: #F3EEE4; }
.ztable.jb .who b.num { color: #F6E3A6; background: linear-gradient(180deg, #232326, #101012); border-color: rgba(216,178,90,.6); }
.ztable.jb .dealer { color: #2A1C05; background: radial-gradient(circle at 38% 32%, #FFF6D8, #F2CE6B 70%, #C9973A); }
.ztable.jb .phase { color: #F6E3A6; background: rgba(12,12,14,.72); box-shadow: inset 0 0 0 1px rgba(216,178,90,.7); }
.ztable.jb .lockt { color: rgba(246,227,166,.75); }
.ztable.jb .timer { background: radial-gradient(circle, rgba(10,10,12,.86) 0 60%, #0000 61%), conic-gradient(#F2CE6B calc(var(--p) * 360deg), rgba(255,255,255,.14) 0); } .ztable.jb .timer b { color: #F6E3A6; }
.ztable.jb #dock .st { color: rgba(246,227,166,.9); }
.ztable.jb .act.a-call, .ztable.jb .act.a-raise { color: #2A1C05; background: radial-gradient(120% 80% at 50% 6%, #FFF3C9 0%, #F2CE6B 46%, #C9973A 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(120,80,10,.35), 0 3px 8px rgba(0,0,0,.5); text-shadow: 0 1px 0 rgba(255,255,255,.45); }
.ztable.jb .act.a-fold { color: #F3EEE4; background: linear-gradient(180deg, #2A2A2F, #121214); box-shadow: inset 0 0 0 1.5px rgba(216,178,90,.7), 0 3px 8px rgba(0,0,0,.5); }
.ztable.jb .zbtn { color: #2A1C05; background: linear-gradient(180deg, #FFF3C9, #F2CE6B 55%, #D8A840); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -2px 0 rgba(120,80,10,.35), 0 3px 8px rgba(0,0,0,.45); text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.ztable.jb .cap.k-check span, .ztable.jb .cap.k-call span { color: #2A1C05; background: linear-gradient(180deg, #FFF0B8, #E9B949); } .ztable.jb .cap.k-check, .ztable.jb .cap.k-call { --c2c: #E9B949; }
.ztable.jb .pend { background: rgba(8,8,10,.82); }
.ztable.jb .htype { background: rgba(8,8,10,.8); box-shadow: inset 0 0 0 1px rgba(216,178,90,.45); } .ztable.jb .htype.big { background: linear-gradient(180deg, #FFF0B8, #FFE08A 45%, #E9B949); }
/* 百人：座位条、庄区和天地玄黄四个区都是炭黑底细金边；筹码是黑金筹码 */
.ztable.jb.hund .seat { background: rgba(14,14,16,.82); box-shadow: inset 0 0 0 1px rgba(216,178,90,.4); }
.ztable.jb .zone { --zc: #F6E3A6; background: linear-gradient(180deg, rgba(34,34,38,.92), rgba(14,14,16,.92)); box-shadow: inset 0 0 0 1px rgba(216,178,90,.38), 0 4px 10px rgba(0,0,0,.45); }
.ztable.jb .zone.tap:active, .ztable.jb .zone.mine { box-shadow: inset 0 0 0 1.5px #F2CE6B, 0 0 14px rgba(233,196,106,.45); }
.ztable.jb .zone .zm { color: #F2CE6B; } .ztable.jb .zone .type { background: rgba(8,8,10,.8); box-shadow: inset 0 0 0 1px rgba(216,178,90,.45); } .ztable.jb .zone .type.big { background: linear-gradient(180deg, #FFF0B8, #FFE08A 45%, #E9B949); }
.ztable.jb .chip, .ztable.jb .chip:nth-child(n) { --cc: #18181B; color: #F6E3A6; box-shadow: inset 0 0 0 2px #d8b25a, inset 0 0 0 5px #18181B, inset 0 0 0 6px rgba(216,178,90,.5), 0 3px 7px rgba(0,0,0,.5); }
.ztable.jb .chip.sel { box-shadow: inset 0 0 0 2px #FFF0B8, inset 0 0 0 5px #18181B, inset 0 0 0 6px #F2CE6B, 0 0 14px rgba(233,196,106,.7); }

/* ================= 应用外壳（大厅 / 俱乐部 / 战绩 / 我的）：黑金。结构照通用应用框架的外壳（底部页签栏、房间列表、功能格），皮肤是金博的 ================= */
body.shellp .top { display: none; }
body.shellp .shell { background: radial-gradient(120% 40% at 80% -6%, #3a2b0e55 0%, #0000 60%), linear-gradient(180deg, #121214, #08080a 60%); }
body.shellp .app { padding: 0 14px calc(92px + env(safe-area-inset-bottom)); }
.sh-head { display: flex; align-items: center; gap: 10px; padding: calc(14px + env(safe-area-inset-top)) 2px 12px; }
.sh-head img { width: 50px; height: 50px; object-fit: contain; flex: none; filter: drop-shadow(0 3px 8px #000a); }
.sh-title { padding-left: 10px; border-left: 1px solid #d8b25a55; line-height: 1.15; }
.sh-title b { display: block; white-space: nowrap; font: 900 23px/1.1 "Songti SC", "STSong", "Noto Serif SC", serif; letter-spacing: 3px; background: linear-gradient(180deg, #FFF3C9, #E9C46A 55%, #B8862B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sh-title small { display: block; margin-top: 3px; font-size: 14px; color: #F3EEE4; letter-spacing: 2px; }
.sh-gear { flex: none; width: 40px; height: 40px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.sh-gear svg { width: 24px; height: 24px; fill: none; stroke: #F3EEE4; stroke-width: 1.5; stroke-linejoin: round; }
.sh-club { position: relative; flex: 0 1 auto; min-width: 0; height: 34px; display: flex; align-items: center; border-radius: 17px; background: #18181b; box-shadow: inset 0 0 0 1px #d8b25a66; }
.sh-club select { appearance: none; -webkit-appearance: none; max-width: 150px; height: 34px; padding: 0 28px 0 14px; border: 0; background: none; color: #F3EEE4; font: 600 14px/34px "Noto Sans SC", "PingFang SC", sans-serif; text-overflow: ellipsis; }
.sh-club.wide { flex: 1 1 0; } .sh-club.wide select { max-width: none; width: 100%; text-align: center; text-align-last: center; }
.sh-club i { position: absolute; right: 12px; top: 14px; border: 5px solid transparent; border-top-color: #F3EEE4; pointer-events: none; }
.sh-bar { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 12px 0 14px; border-radius: 14px; background: linear-gradient(180deg, #1c1c1f, #111113); box-shadow: inset 0 0 0 1px #ffffff14; color: #F3EEE4; font-size: 14px; }
.sh-coin { width: 22px; height: 18px; border-radius: 50%/42%; background: radial-gradient(ellipse at 50% 30%, #FFF3C9, #E9B949 60%, #9a6f24); box-shadow: 0 4px 0 -1px #c9973a, 0 8px 0 -2px #9a6f24; margin: 0 2px 8px 0; flex: none; }
.sh-bar b { font: 800 22px/1 Archivo, "Helvetica Neue", Arial, sans-serif; color: #F6E3A6; font-variant-numeric: tabular-nums; }
.sh-ghost { flex: none; height: 32px; padding: 0 14px; border: 0; border-radius: 10px; background: none; box-shadow: inset 0 0 0 1px #d8b25a; color: #F6E3A6; font: 600 14px/32px "Noto Sans SC", "PingFang SC", sans-serif; text-decoration: none; white-space: nowrap; }
.sh-modes { display: flex; margin: 14px 0 0; border-bottom: 1px solid #ffffff1c; }
.sh-modes button { flex: 1 1 0; height: 44px; padding: 0 2px; border: 0; background: none; color: #F3EEE4; font: 500 16px/44px "Noto Sans SC", "PingFang SC", sans-serif; white-space: nowrap; position: relative; }
.sh-modes button[aria-selected="true"] { color: #F2CE6B; font-weight: 800; }
.sh-modes button[aria-selected="true"]::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -1px; height: 2.5px; border-radius: 2px; background: linear-gradient(90deg, #E9B949, #FFF0B8, #E9B949); }
.sh-search { display: flex; align-items: center; gap: 8px; height: 40px; margin-top: 14px; padding: 0 14px; border-radius: 20px; background: #161618; box-shadow: inset 0 0 0 1px #ffffff1c; }
.sh-search svg, .sh-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; } .sh-search svg { color: #9c978c; }
.sh-search input { flex: 1; min-width: 0; height: 38px; border: 0; background: none; color: #F3EEE4; font-size: 14px; outline: none; }
.sh-chips { display: flex; gap: 8px; margin-top: 12px; }
.sh-chips button { height: 30px; padding: 0 16px; border: 0; border-radius: 15px; background: #18181b; box-shadow: inset 0 0 0 1px #ffffff26; color: #F3EEE4; font: 500 13.5px/30px "Noto Sans SC", "PingFang SC", sans-serif; }
.sh-chips button[aria-pressed="true"] { color: #2A1C05; font-weight: 800; background: linear-gradient(180deg, #FFF0B8, #E9B949); box-shadow: none; }
.sh-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 18px 0 10px; }
.sh-h h2 { margin: 0; padding-left: 10px; font: 800 18px/1.2 "Noto Sans SC", "PingFang SC", sans-serif; color: #F3EEE4; letter-spacing: 1px; box-shadow: inset 3px 0 0 #E9B949; }
.sh-rooms { display: grid; gap: 10px; }
.sh-room { display: grid; grid-template-columns: 46px minmax(0, 1.5fr) minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 12px 10px; border-radius: 16px; text-decoration: none; color: #F3EEE4;
  background: linear-gradient(180deg, #1b1b1e, #101012); box-shadow: inset 0 0 0 1px #d8b25a4d, 0 4px 12px #0006; }
.sh-no { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #26262a, #0c0c0e); box-shadow: inset 0 0 0 1.5px #d8b25a, 0 0 0 3px #d8b25a22; }
.sh-no b { font: 800 14px/1 Archivo, "Helvetica Neue", Arial, sans-serif; color: #F6E3A6; }
.sh-rmain { min-width: 0; } .sh-rmain b { display: block; font: 800 16px/1.3 "Noto Sans SC", "PingFang SC", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-rmain small, .sh-rmid small { display: block; font-size: 11.5px; line-height: 1.5; color: #b9b3a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-rmid { min-width: 0; padding-left: 8px; border-left: 1px solid #ffffff1c; } .sh-rmid .sdots { display: flex; gap: 3px; margin: 3px 0; flex-wrap: wrap; }
.sh-rmid .sdots i { width: 7px; height: 7px; border-radius: 50%; background: #55555c; } .sh-rmid .sdots i.on { background: #F2CE6B; }
.sh-rst { font-size: 12.5px; color: #8fd9a0; white-space: nowrap; } .sh-rst.live { color: #F2CE6B; }
.sh-go { height: 34px; padding: 0 12px; border-radius: 10px; font: 800 14px/34px "Noto Sans SC", "PingFang SC", sans-serif; color: #2A1C05; background: linear-gradient(180deg, #FFF0B8, #E9B949 60%, #C9973A); box-shadow: inset 0 1px 0 #ffffff80; white-space: nowrap; }
.sh-go.watch { color: #F6E3A6; background: none; box-shadow: inset 0 0 0 1px #d8b25a; }
.sh-cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; margin-top: 16px; border: 0; border-radius: 14px; font: 800 18px/52px "Noto Sans SC", "PingFang SC", sans-serif; letter-spacing: 2px; color: #2A1C05; text-decoration: none;
  background: linear-gradient(180deg, #FFF3C9, #F2CE6B 50%, #D8A840); box-shadow: inset 0 1px 0 #ffffff99, inset 0 -2px 0 #7a520a59, 0 6px 16px #0008; }
.sh-empty { padding: 26px 16px; border-radius: 16px; text-align: center; background: #131315; box-shadow: inset 0 0 0 1px #ffffff14; color: #F3EEE4; } .sh-empty p { margin: 0 0 4px; }
.sh-tabs { position: fixed; z-index: 30; left: 50%; bottom: 0; transform: translateX(-50%); width: min(500px, 100%); display: flex; padding: 6px 0 calc(8px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, #17171af2, #0c0c0ef7); box-shadow: 0 -1px 0 #ffffff1c, 0 -8px 20px #0008; border-radius: 16px 16px 0 0; backdrop-filter: blur(8px); }
.sh-tabs a { flex: 1 1 0; display: grid; justify-items: center; gap: 3px; padding: 6px 0 4px; text-decoration: none; color: #cfc9bc; font-size: 12.5px; position: relative; }
.sh-tabs svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sh-tabs a.on { color: #F2CE6B; font-weight: 700; } .sh-tabs a.on svg { fill: #F2CE6B33; }
.sh-tabs a.on::after { content: ""; position: absolute; left: 28%; right: 28%; bottom: -2px; height: 2.5px; border-radius: 2px; background: linear-gradient(90deg, #E9B949, #FFF0B8, #E9B949); }
.sh-card { padding: 14px; border-radius: 16px; background: linear-gradient(180deg, #1b1b1e, #101012); box-shadow: inset 0 0 0 1px #ffffff1c; color: #F3EEE4; }
.sh-card.gold { box-shadow: inset 0 0 0 1.5px #d8b25a, 0 6px 18px #0007; }
.sh-crow { display: flex; align-items: center; gap: 14px; } .sh-crow b { display: block; font: 800 18px/1.3 "Noto Sans SC", "PingFang SC", sans-serif; } .sh-crow b.big { font-size: 24px; letter-spacing: 2px; }
.sh-crow small { display: block; margin-top: 2px; font-size: 13px; color: #b9b3a6; }
.sh-ava { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font: 800 20px/1 "Noto Sans SC", "PingFang SC", sans-serif; font-style: normal; color: #F2CE6B; background: radial-gradient(circle at 50% 35%, #26262a, #0c0c0e); box-shadow: inset 0 0 0 1.5px #d8b25a; }
.sh-ava.big { width: 66px; height: 66px; font-size: 30px; }
.sh-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 14px; padding-top: 12px; border-top: 1px solid #d8b25a40; }
.sh-kv > div + div { padding-left: 14px; border-left: 1px solid #ffffff1c; } .sh-kv small { display: block; font-size: 12px; color: #b9b3a6; }
.sh-kv b { display: block; margin-top: 2px; font: 800 18px/1.3 "Noto Sans SC", "PingFang SC", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sh-kv b.num { font-family: Archivo, "Helvetica Neue", Arial, sans-serif; color: #F6E3A6; font-size: 22px; }
.sh-sec { display: flex; align-items: baseline; gap: 8px; margin: 18px 2px 10px; font: 800 15px/1.2 "Noto Sans SC", "PingFang SC", sans-serif; color: #F3EEE4; } .sh-sec small { font-weight: 400; font-size: 12px; color: #9c978c; }
.sh-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.sh-tile { min-width: 0; padding: 12px 2px 10px; border: 0; border-radius: 14px; display: grid; justify-items: center; gap: 7px; background: linear-gradient(180deg, #1b1b1e, #111113); box-shadow: inset 0 0 0 1px #ffffff17; color: #F3EEE4; font: 500 12.5px/1.2 "Noto Sans SC", "PingFang SC", sans-serif; }
.sh-tile i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #0d0d0f; box-shadow: inset 0 0 0 1px #d8b25a80; }
.sh-tile svg { width: 21px; height: 21px; fill: none; stroke: #F2CE6B; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sh-tile:active { box-shadow: inset 0 0 0 1px #d8b25a; }
.sh-out { width: 100%; height: 50px; margin-top: 22px; border: 0; border-radius: 14px; background: none; box-shadow: inset 0 0 0 1.5px #e0575c; color: #ef6b70; font: 800 17px/50px "Noto Sans SC", "PingFang SC", sans-serif; letter-spacing: 3px; }
.sh-scope { display: flex; gap: 10px; padding: 10px; border-radius: 16px; background: #131315; box-shadow: inset 0 0 0 1px #ffffff14; }
.sh-note { margin: 12px 0; text-align: center; font-size: 13px; color: #cfc9bc; letter-spacing: 1px; }
.sh-stat { display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: stretch; border-radius: 16px; background: linear-gradient(180deg, #1b1b1e, #101012); box-shadow: inset 0 0 0 1px #ffffff1c; }
.sh-stat > div { padding: 14px 6px; text-align: center; min-width: 0; } .sh-stat .mid { border-radius: 14px; box-shadow: inset 0 0 0 1.5px #d8b25a; margin: -1px 0; background: #0f0f11; }
.sh-stat small { display: block; font-size: 13px; color: #cfc9bc; } .sh-stat b { display: block; margin-top: 6px; font: 800 26px/1.1 Archivo, "Helvetica Neue", Arial, sans-serif; color: #F6E3A6; white-space: nowrap; }
.sh-stat b i { font: 500 14px "Noto Sans SC", "PingFang SC", sans-serif; font-style: normal; margin-left: 2px; } .sh-stat b.up, .sh-rec b.up { color: #F2CE6B; } .sh-stat b.down, .sh-rec b.down { color: #ef6b70; }
.sh-rec { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 10px; padding: 12px; border: 0; border-radius: 14px; text-align: left; background: linear-gradient(180deg, #1b1b1e, #101012); box-shadow: inset 0 0 0 1px #ffffff1c; color: #F3EEE4; }
.sh-rec .grow { min-width: 0; } .sh-rec .grow b { display: block; font: 700 15px/1.3 "Noto Sans SC", "PingFang SC", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sh-rec small { display: block; font-size: 12px; color: #b9b3a6; font-variant-numeric: tabular-nums; }
.sh-rk { flex: none; min-width: 52px; height: 26px; padding: 0 10px; border-radius: 13px; font: 800 13.5px/26px "Noto Sans SC", "PingFang SC", sans-serif; text-align: center; color: #F2CE6B; box-shadow: inset 0 0 0 1px #d8b25a; }
.sh-rec > b.num { flex: none; min-width: 54px; text-align: right; font: 800 18px/1 Archivo, "Helvetica Neue", Arial, sans-serif; } .sh-rec > i { flex: none; font-style: normal; font-size: 12.5px; color: #F2CE6B; }

/* 本机演示的角标：在外壳页面挪到页签栏上面，不压住页签的字 */
body.shellp #demoBadge { bottom: calc(78px + env(safe-area-inset-bottom)); }
.sh-title { min-width: 0; flex: 0 1 auto; }
.sh-head:has(.sh-club) .sh-title b { font-size: 20px; letter-spacing: 2px; }
.sh-head .sh-club select { max-width: 124px; }
body.shellp #demoBadge { bottom: calc(80px + env(safe-area-inset-bottom)) !important; }

.ag-h { margin: 14px 0 6px; font-size: 13px; color: var(--muted); font-weight: 600; }

/* ================= 「我的」下半部分和代理系统（照通用应用框架 me2.css / agent.css 的版式：两个标签、三格一排的卡片、两列的格子、一排经营数字） ================= */
.m2-tabs { display: grid; grid-template-columns: 1fr 1fr; height: 40px; margin: 14px 0 12px; padding: 4px; border-radius: 20px; background: #141518; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.m2-tabs button, .m2-kind button { border: 0; background: none; border-radius: 16px; font: 700 14px "Noto Sans SC", "PingFang SC", sans-serif; color: rgba(237,232,222,.55); }
.m2-tabs button[aria-pressed="true"] { color: #2A1C05; background: linear-gradient(180deg, #FFF0B8, #E9B949); }
#mePanel { margin-top: 12px; } .m2-tabs + #mePanel { margin-top: 0; }
.m2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 1px 0 12px; }
.m2-it { position: relative; border: 0; display: grid; justify-items: center; align-content: center; gap: 9px; min-width: 0; height: 88px; padding: 0 6px; border-radius: 16px; color: #EDE8DE;
  background: linear-gradient(180deg, #1b1c20, #131417); box-shadow: inset 0 0 0 1px rgba(255,255,255,.055), 0 3px 8px rgba(0,0,0,.35); }
.m2-it > span { display: grid; place-items: center; width: 30px; height: 30px; }
.m2-it svg { width: 28px; height: 28px; fill: none; stroke: #DFC389; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; } .m2-it svg .bar { stroke-width: 2.1; }
.m2-it > b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 14.5px/1.2 "Noto Sans SC", "PingFang SC", sans-serif; }
.m2-it:active { transform: scale(.97); }
.m2-cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 14px; border-radius: 16px; overflow: hidden; background: #141518; box-shadow: inset 0 0 0 1px rgba(255,255,255,.055); }
.m2-cells .m2-it { grid-template-columns: 28px minmax(0, 1fr) 8px; justify-items: start; align-items: center; gap: 12px; height: 62px; padding: 0 16px 0 18px; border-radius: 0; background: none; box-shadow: none; text-align: left; }
.m2-cells .m2-it > span { width: 28px; height: 28px; } .m2-cells .m2-it svg { width: 25px; height: 25px; }
.m2-cells .m2-it > b { justify-self: start; text-align: left; font-weight: 600; }
.m2-cells .m2-it::after { content: ""; width: 7px; height: 7px; border-top: 1.4px solid rgba(237,232,222,.38); border-right: 1.4px solid rgba(237,232,222,.38); transform: rotate(45deg); }
.m2-cells .m2-it:nth-child(odd) { box-shadow: inset -1px 0 0 rgba(255,255,255,.05); } .m2-cells .m2-it:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.05); }
.m2-cells .m2-it:active { transform: none; background: rgba(255,255,255,.03); }
.m2-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 8px 0 12px; -webkit-tap-highlight-color: transparent; }
.m2-sum div { display: grid; justify-items: center; align-content: center; gap: 7px; min-width: 0; height: 64px; padding: 0 4px; border-radius: 14px; background: #141518; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.m2-sum b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 18px/1 Archivo, "Helvetica Neue", Arial, sans-serif; color: #E6CC96; }
.m2-sum small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font: 500 11px/1.2 "Noto Sans SC", "PingFang SC", sans-serif; color: #a59f93; white-space: nowrap; } .m2-sum:active { opacity: .85; }
.m2-kind { display: grid; grid-template-columns: 1fr 1fr; height: 34px; margin: 0 0 12px; border-radius: 17px; background: #141518; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.m2-kind button[aria-pressed="true"] { background: linear-gradient(180deg, #24262B, #1A1B1F); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); color: #E6CC96; }
.m2-sec { margin: 4px 2px 8px; font: 700 13px/1.4 "Noto Sans SC", "PingFang SC", sans-serif; color: #a59f93; }
.m2-mrole { display: flex; align-items: baseline; gap: 10px; margin: 0 2px 10px; } .m2-mrole b { font: 800 16px "Noto Sans SC", "PingFang SC", sans-serif; color: #E6CC96; } .m2-mrole span { font-size: 13px; color: #a59f93; }
.ag-seg { display: flex; height: 40px; padding: 4px; box-sizing: border-box; border-radius: 20px; background: #141518; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.ag-seg.ag-per { display: grid; grid-template-columns: repeat(4, 1fr); margin: 2px 0 4px; width: 100%; }
.ag-seg button { border: 0; background: none; border-radius: 16px; padding: 0; white-space: nowrap; font: 700 14px "Noto Sans SC", "PingFang SC", sans-serif; color: #a59f93; }
.ag-seg button[aria-pressed="true"] { color: #2A1C05; background: linear-gradient(180deg, #FFF0B8, #E9B949); }
.ag-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 64px; padding: 8px 14px; border-radius: 17px; margin-top: 8px; background: #17181c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.ag-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 16px "Noto Sans SC", "PingFang SC", sans-serif; font-style: normal; color: #E6CC96; background: #0f1012; box-shadow: 0 0 0 2px rgba(210,183,126,.55); }
.ag-row .nm, .ag-open .nm { min-width: 0; line-height: 1.35; } .ag-row .nm strong, .ag-open .nm strong { display: block; font: 700 15px "Noto Sans SC", "PingFang SC", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-row small, .ag-open small { font: 500 12px "Noto Sans SC", "PingFang SC", sans-serif; color: #8e897f; } .ag-row .rt { text-align: right; line-height: 1.3; } .ag-row .rt strong { display: block; font: 800 17px Archivo, "Helvetica Neue", Arial, sans-serif; color: #E6CC96; }
.ag-fix { display: inline-block; margin-left: 6px; padding: 0 5px; border-radius: 5px; border: 1px solid rgba(210,183,126,.32); font: 600 10px/16px "Noto Sans SC", "PingFang SC", sans-serif; font-style: normal; color: #a59f93; vertical-align: 1px; white-space: nowrap; }
.ag-card { padding: 14px; border-radius: 20px; background: linear-gradient(180deg, #1c1d21, #131417); box-shadow: inset 0 0 0 1px rgba(210,183,126,.35); margin-bottom: 10px; }
.ag-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; } .ag-kv small { display: block; font-size: 11.5px; color: #8e897f; } .ag-kv b { display: block; margin-top: 3px; font: 800 16px "Noto Sans SC", "PingFang SC", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ag-kv b.num { font-family: Archivo, "Helvetica Neue", Arial, sans-serif; color: #E6CC96; }
.ag-open { padding: 10px 12px; border-radius: 16px; margin-top: 8px; background: #17181c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.m2-rl { display: grid; grid-template-columns: 44px minmax(0, 1fr) 52px auto; align-items: center; gap: 10px; margin-top: 8px; } .m2-rl b { text-align: right; font: 800 14px Archivo, "Helvetica Neue", Arial, sans-serif; color: #E6CC96; }
.m2-rl input[type=range] { width: 100%; accent-color: #E9B949; }
.m2-sw { position: relative; width: 44px; height: 26px; padding: 0; border: 0; border-radius: 13px; background: #2a2b30; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: background .2s; }
.m2-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #d9d4c8; transition: transform .2s; }
.m2-sw[aria-checked="true"] { background: linear-gradient(180deg, #E9B949, #C9973A); } .m2-sw[aria-checked="true"]::after { transform: translateX(18px); background: #fff; }
/* 文件选择按钮：和页面其它按钮一个样子（金边深底），不用系统的灰按钮 */
input[type=file] { color: #cfc9bc; font-size: 13px; }
input[type=file]::file-selector-button { margin-right: 10px; padding: 7px 12px; border: 1px solid #d8b25a99; border-radius: 9px; background: #17171a; color: #F2CE6B; font: 600 13px/1 "Noto Sans SC", "PingFang SC", sans-serif; cursor: pointer; }
input[type=file]::-webkit-file-upload-button { margin-right: 10px; padding: 7px 12px; border: 1px solid #d8b25a99; border-radius: 9px; background: #17171a; color: #F2CE6B; font: 600 13px/1 "Noto Sans SC", "PingFang SC", sans-serif; cursor: pointer; }
/* 百人桌：计分器、表情、话筒放到倒计时那一排的两边（原来压在「玄」「黄」两个押注区的牌上） */
.ztable.hund:not(.pro) .corner { top: 202px; bottom: auto; flex-direction: row; }
.ztable.hund:not(.pro) .corner.cr { right: 58px; bottom: auto; }
.ztable.hund:not(.pro) .cmic { right: 12px; top: 203px; bottom: auto; }
.ztable.hund:not(.pro) .mic-tip { left: auto; right: 12px; transform: none; top: 250px; bottom: auto; }
/* 宽松桌（四人及以下）：两侧玩家的名字下面有一整排牌的宽度，名字放宽到 140px，不再早早截成省略号；离屏幕边留 2px */
.ztable.roomy .seat.s-l .who small, .ztable.roomy .seat.s-r .who small { max-width: 140px; }
.ztable.roomy .seat.s-l .who small { left: -33px; } .ztable.roomy .seat.s-r .who small { right: -33px; }
/* 代理数据 / 俱乐部数据整页（照通用应用框架最新的代理数据页 agent.css；颜色用金博的） */
.ag-page { position: fixed; z-index: 40; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: min(500px, 100%); background: radial-gradient(120% 60% at 50% -10%, #1B1C21 0%, #0D0E11 60%); color: #EDE8DE; overflow: hidden; animation: agIn .3s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes agIn { from { opacity: 0; transform: translate(-50%, 22px); } to { opacity: 1; transform: translate(-50%, 0); } }
.calm .ag-page { animation: none; }
.ag-scroll { position: absolute; inset: 0; overflow-y: auto; padding: env(safe-area-inset-top) 18px calc(36px + env(safe-area-inset-bottom)); box-sizing: border-box; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .ag-scroll::-webkit-scrollbar { display: none; }
.ag-top { position: sticky; top: 0; z-index: 3; min-height: 66px; display: flex; align-items: center; gap: 12px; margin: 0 -18px; padding: 6px 18px; box-sizing: border-box; background: linear-gradient(180deg, #101115 80%, rgba(16,17,21,0)); }
.ag-top h2 { margin: 0; flex: 1; font: 900 21px "Noto Sans SC", "PingFang SC", sans-serif; color: #EDE8DE; white-space: nowrap; }
.ring-btn { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: #17181c; box-shadow: inset 0 0 0 1px rgba(210,183,126,.45); color: #E6CC96; }
.ring-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } .ring-btn:active { transform: scale(.94); }
.ag-seg.ag-per.ag-per5 { grid-template-columns: repeat(5, 1fr); margin: 0 0 12px; } .ag-per5 button { font-size: 13.5px; }
.ag-lbl { font: 700 13px "Noto Sans SC", "PingFang SC", sans-serif; color: #a59f93; }
.ag-dim { font: 500 12px "Noto Sans SC", "PingFang SC", sans-serif; color: #8e897f; } .ag-dim b { font: 800 12.5px Archivo, "Helvetica Neue", Arial, sans-serif; color: #a59f93; }
.ag-note { margin: 14px 4px 0; font: 500 12px/1.7 "Noto Sans SC", "PingFang SC", sans-serif; color: #8e897f; }
.ag-hero { position: relative; border-radius: 22px; padding: 18px 20px 16px; overflow: hidden; background: linear-gradient(160deg, #26221a, #15151a 55%, #101013); box-shadow: inset 0 0 0 1px rgba(210,183,126,.4), 0 10px 24px rgba(0,0,0,.35); }
.ag-hero::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.1) 48%, rgba(210,183,126,.13) 52%, transparent 60%); transform: translateX(14%); pointer-events: none; }
.ag-hero .r1 { position: relative; display: flex; justify-content: space-between; align-items: baseline; }
.ag-hero .big { position: relative; display: block; margin-top: 6px; font: 800 50px/1 Archivo, "Helvetica Neue", Arial, sans-serif; letter-spacing: -.02em; color: #E6CC96; text-shadow: 0 2px 0 rgba(0,0,0,.35); }
.ag-hero .ag-net { position: relative; display: flex; gap: 16px; margin: 6px 0 2px; font-size: 12px; } .ag-hero .ag-net > span { display: flex; gap: 6px; align-items: baseline; } .ag-hero .ag-net b { font-size: 14px; color: #F2E6C9; }
.ag-pchart { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin-top: 16px; height: 92px; } .ag-pchart.pc-wk { gap: 8px; } .ag-pchart.pc-mo { gap: 2px; }
.ag-pchart .d { display: grid; grid-template-rows: 16px 1fr 20px; justify-items: center; align-items: end; min-width: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; }
.ag-pchart .v { font-size: 11.5px; color: #a59f93; align-self: center; white-space: nowrap; }
.ag-pchart .bar { width: 100%; border-radius: 3px 3px 0 0; background: rgba(210,183,126,.5); } .ag-pchart.pc-mo .bar { border-radius: 1.5px 1.5px 0 0; }
.ag-pchart .d.today .bar, .ag-pchart .d.sel .bar { background: linear-gradient(180deg, #F1E5C8, #CDB27A); }
.ag-pchart .d.today .v, .ag-pchart .d.today .n, .ag-pchart .d.sel .v, .ag-pchart .d.sel .n { color: #EDE8DE; }
.ag-pchart .d.fut .bar { border-radius: 1px; background: rgba(237,232,222,.14); }
.ag-pchart .n { font: 700 12px "Noto Sans SC", "PingFang SC", sans-serif; color: #8e897f; align-self: center; white-space: nowrap; } .ag-pchart.pc-mo .n { font: 600 11px Archivo, "Helvetica Neue", Arial, sans-serif; }
.ag-pday { position: relative; z-index: 1; min-height: 16px; margin-top: 6px; font-size: 12px; text-align: right; }
.ag-page .ag-h { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 4px 10px; } .ag-page .ag-h > b { font: 900 17px "Noto Sans SC", "PingFang SC", sans-serif; color: #EDE8DE; }
.ag-kpi { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; } .ag-kpi .ag-card { border-radius: 16px; padding: 12px 12px 11px; min-width: 0; }
.ag-kpi strong { display: block; margin: 6px 0 4px; font: 800 20px/1.1 Archivo, "Helvetica Neue", Arial, sans-serif; letter-spacing: -.01em; color: #EDE8DE; white-space: nowrap; }
.ag-state { margin-top: 56px; padding: 0 18px; display: grid; justify-items: center; gap: 10px; text-align: center; } .ag-state b { font: 900 18px "Noto Sans SC", "PingFang SC", sans-serif; } .ag-state p { margin: 0; font: 500 13px/1.7 "Noto Sans SC", "PingFang SC", sans-serif; color: #a59f93; }

/* 落定以后桌面上的牌型条：比原来大一号、粗一号（14 → 18，挤的桌子 15），弹字退场以后不显得弱 */
.htype { height: 25px; padding: 0 9px; border-radius: 6px; font: 800 calc(18px * var(--fk, 1.1) / 1.1)/25px "Noto Sans SC", "PingFang SC", sans-serif; letter-spacing: .5px; text-shadow: 0 1px 1px rgba(0,0,0,.55); }
.htype.big { text-shadow: 0 1px 0 rgba(255,255,255,.45); }
.htype.rk-low, .type.rk-low { color: #FFE9A8; } .htype.rk-high, .type.rk-high { font-weight: 900; }
.seat.hero .htype { top: -27px; }
.ztable.crowd .seat:not(.hero) .htype, .ztable.pro .seat:not(.hero) .htype { height: 21px; padding: 0 7px; font-size: calc(15px * var(--fk, 1.1) / 1.1); line-height: 21px; }
.ztable.mid .seat:not(.hero) .htype { height: 23px; font-size: calc(16px * var(--fk, 1.1) / 1.1); line-height: 23px; }
.zone .type { height: 23px; padding: 0 9px; border-radius: 6px; font: 800 16px/23px "Noto Sans SC", "PingFang SC", sans-serif; letter-spacing: .5px; }

/* ---------- 面板细节（2026-11-16 修整）：确认框、带头像的成员行、合计卡、邀请码卡、面板里的空状态 ---------- */
.ask .h { margin: 0 0 8px; } .ask p { margin: 0 0 16px; font-size: 14px; line-height: 1.7; color: #d9d2c3; }
.ask-b { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .ask-b .btn { padding: 12px 10px; font-size: 15px; }
.btn.danger { background: linear-gradient(180deg, #3a1512, #230c0a); }
.btn.sm { padding: 8px 12px; border-radius: 10px; font-size: 13px; white-space: nowrap; }
.sh-empty.sm { margin-top: 10px; padding: 20px 14px; font-size: 13px; color: #a59f93; } .sh-empty.sm p { margin: 0; }
.ag-row.mem .mops { display: flex; align-items: center; gap: 6px; }
.ag-row.mem .nm small b { color: #E6CC96; font-weight: 700; }
.ag-row.mem:has(input) { grid-template-columns: 40px minmax(0, 1fr); padding-bottom: 12px; }
.ag-row.mem:has(input) .mops { grid-column: 1 / -1; }
.ag-row.mem .mops input { flex: 1; min-width: 0; height: 36px; padding: 0 10px; border-radius: 10px; font-size: 14px; }
.ag-fix.on { color: #E6CC96; border-color: rgba(210,183,126,.6); } .ag-fix.bad { color: #ffb0a6; border-color: #7b2a22; }
.sum-card { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 10px 0; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #201a0d, #131315 70%); box-shadow: inset 0 0 0 1px rgba(210,183,126,.28); }
.sum-card small { font-size: 13px; color: #a59f93; } .sum-card b { font: 800 24px Arial, sans-serif; color: #F5DFA0; }
.inv-card { display: grid; justify-items: center; gap: 10px; margin: 10px 0; padding: 18px 16px; border-radius: 16px; background: linear-gradient(135deg, #201a0d, #131315 70%); box-shadow: inset 0 0 0 1px rgba(210,183,126,.28); }
.inv-card small { font-size: 12px; color: #a59f93; } .inv-card b.mono { font-size: 19px; letter-spacing: 1.5px; color: #F5DFA0; text-align: center; user-select: all; -webkit-user-select: all; }
.inv-card .btn { width: 100%; padding: 12px; }
.mrow .bal { min-width: 76px; text-align: right; }
/* 登录页：标志居中放大，上面的窄条不重复出现 */
body.signin .top { display: none; }
section.hero { flex-direction: column; text-align: center; gap: 4px; padding-top: 34px; margin-bottom: 20px; }
section.hero img { width: 132px; height: 132px; filter: drop-shadow(0 10px 26px rgba(216,178,90,.28)); }
section.hero h1 { font-size: 28px; letter-spacing: 6px; text-indent: 6px; }
section.hero p { max-width: 300px; margin: 6px auto 0; font-size: 13px; line-height: 1.7; }
/* 俱乐部页：没加入时的提示、加入 / 新开两行（标签在上，按钮一样宽） */
.sh-empty.club0 { display: grid; justify-items: center; gap: 4px; padding: 30px 20px; margin-bottom: 14px; } .sh-empty.club0 .sh-ava { margin-bottom: 8px; } .sh-empty.club0 p.small { max-width: 280px; line-height: 1.7; }
.club-join label { display: block; } .club-join label + label { margin-top: 12px; }
.club-join small { display: block; margin: 0 0 6px 2px; font-size: 12px; color: #a59f93; }
.club-join .row { flex-wrap: nowrap; } .club-join .btn { flex: none; width: 96px; padding-left: 0; padding-right: 0; text-align: center; }
.sh-empty.club0 .sh-ava svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ask-b { margin-bottom: 10px; }
.sh-empty .sh-cta { margin-top: 12px; }

/* ---------- 效果美术（2026-11-16）：牌型美术字、牛气冲天（庄家 / 玩家）、开局与阶段横幅 ----------
 * 图是交来的 GPT 原图缩小转码的 WebP（assets/fx/）；这里只管摆放和动效（transform / opacity，不接点击）。图没到的牌型照旧是上面那套文字。 */
/* 安静的牌型：图直接坐在原来牌型条的位置上，不再套那块底色 */
.htype.art, .zone .type.art, .ztable.jb .htype.art, .ztable.jb .zone .type.art { min-width: 0; height: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; line-height: 0; text-shadow: none; }
.rk-art { display: block; height: 30px; width: auto; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.75)); pointer-events: none; -webkit-user-drag: none; user-select: none; }
.seat.hero .htype.art { top: -37px; } .seat.hero .rk-art { height: 36px; }
.ztable.mid .seat:not(.hero) .rk-art { height: 27px; } .ztable.crowd .seat:not(.hero) .rk-art, .ztable.pro .seat:not(.hero) .rk-art { height: 23px; }
.zone .rk-art { height: 26px; }
/* 弹出来的牌型美术字：大小跟文字那一套同一组档位（--rb × --rk） */
.fx-rank.art img { display: block; height: calc(var(--rb) * var(--rk) * 1.42); width: auto; filter: drop-shadow(0 3px 5px rgba(0,0,0,.6)); }
.fx-rank.art .shine, .fx-stage .shine { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; background: linear-gradient(105deg, #fff0 40%, #fffffff0 50%, #fff0 60%) no-repeat; background-size: 300% 100%; background-position: 150% 0; animation: fxSweep .55s ease-in-out .26s both; }
/* 开局 / 阶段横幅：压在中间阶段条上，宽 248（窄桌 220），弹出、扫光、退场 */
.fx-stage { z-index: 2; animation: fxStage .92s cubic-bezier(.2, .8, .3, 1) both; }
.fx-stage img { display: block; width: 248px; height: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.55)); }
.ztable.mid .fx-stage img, .ztable.crowd .fx-stage img { width: 220px; }
@keyframes fxStage { 0% { transform: translate(-50%, -50%) scale(.3, .55); opacity: 0; } 16% { transform: translate(-50%, -50%) scale(1.14, 1.1); opacity: 1; } 28% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 78% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.12, .9); opacity: 0; } }
/* 牛气冲天：从下往上冲出来，后面一道光柱（.beam）和一圈光（.burst），六颗小光点（.pts i），站住，淡出。庄家红金、玩家亮金。 */
.fx-niu { z-index: 3; --nw: 138px; --c1: #FFE9A0; --c2: rgba(255,200,70,.0); display: grid; justify-items: center; animation: fxNiu 1.5s cubic-bezier(.2, .8, .3, 1) both; }
.fx-niu.bk { --c1: #FF8A5C; } .fx-niu.own { --nw: 184px; } .fx-niu.inzone { --nw: 116px; }
.ztable.mid .fx-niu:not(.own) { --nw: 120px; } .ztable.crowd .fx-niu:not(.own), .ztable.pro .fx-niu:not(.own) { --nw: 100px; } .ztable.pro .fx-niu.own { --nw: 150px; }
.fx-niu img { position: relative; z-index: 2; display: block; width: var(--nw); height: auto; filter: drop-shadow(0 5px 8px rgba(0,0,0,.6)); }
.fx-niu .txt { position: relative; z-index: 2; font: 900 calc(var(--nw) * .34)/1.2 "Noto Sans SC", "PingFang SC", sans-serif; color: #FFE08A; -webkit-text-stroke: 1.5px #6B4A0E; text-shadow: 0 3px 0 #8A5F16, 0 6px 8px rgba(0,0,0,.6); }
.fx-niu em { position: relative; z-index: 3; margin-top: -4px; padding: 0 9px; border-radius: 999px; font: 800 11px/18px "Noto Sans SC", "PingFang SC", sans-serif; font-style: normal; letter-spacing: 1px; white-space: nowrap; color: #3A2A00; background: linear-gradient(180deg, #FFF0B8, #E9B949); box-shadow: 0 1px 3px rgba(0,0,0,.55); animation: fxNiuTag 1.5s ease-out both; }
.fx-niu.bk em { color: #FFE9A8; background: linear-gradient(180deg, #C8281E, #8E130D); box-shadow: inset 0 0 0 1px #F2CE6B, 0 1px 3px rgba(0,0,0,.55); }
.fx-niu .beam { position: absolute; z-index: 0; left: 50%; bottom: 30%; width: calc(var(--nw) * .5); height: calc(var(--nw) * 1.15); margin-left: calc(var(--nw) * -.25); border-radius: 50% 50% 0 0 / 30% 30% 0 0; background: linear-gradient(0deg, var(--c1), #fff0 92%); opacity: 0; transform-origin: 50% 100%; animation: fxNiuBeam 1.5s ease-out both; }
.fx-niu .burst { position: absolute; z-index: 1; left: 50%; top: 44%; width: var(--nw); height: var(--nw); margin: calc(var(--nw) * -.5) 0 0 calc(var(--nw) * -.5); border-radius: 50%; background: radial-gradient(circle, #FFFBE6cc 0, var(--c1) 34%, #fff0 68%); opacity: 0; animation: fxNiuBurst 1.5s ease-out both; }
.fx-niu .pts { position: absolute; z-index: 4; left: 50%; top: 50%; width: 0; height: 0; }
.fx-niu .pts i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; background: #FFF6D8; box-shadow: 0 0 6px 2px var(--c1); transform: rotate(45deg); opacity: 0; animation: fxNiuPt 1.1s ease-out .16s both; }
.fx-niu .pts i:nth-child(1) { --px: -0.62; --py: -0.7; } .fx-niu .pts i:nth-child(2) { --px: 0.58; --py: -0.78; animation-delay: .22s; } .fx-niu .pts i:nth-child(3) { --px: -0.3; --py: -1.04; animation-delay: .28s; }
.fx-niu .pts i:nth-child(4) { --px: 0.26; --py: -1.1; animation-delay: .2s; } .fx-niu .pts i:nth-child(5) { --px: -0.78; --py: -0.3; animation-delay: .32s; } .fx-niu .pts i:nth-child(6) { --px: 0.76; --py: -0.36; animation-delay: .36s; }
@keyframes fxNiu { 0% { transform: translate(-50%, 6%) scale(.28); opacity: 0; } 16% { transform: translate(-50%, -66%) scale(1.2); opacity: 1; } 27% { transform: translate(-50%, -54%) scale(.97); opacity: 1; } 36% { transform: translate(-50%, -58%) scale(1); opacity: 1; } 82% { transform: translate(-50%, -58%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -70%) scale(1.06); opacity: 0; } }
@keyframes fxNiuBeam { 0% { transform: scaleY(.1); opacity: 0; } 14% { transform: scaleY(1.1); opacity: .85; } 40% { transform: scaleY(1); opacity: .45; } 100% { transform: scaleY(1.05); opacity: 0; } }
@keyframes fxNiuBurst { 0% { transform: scale(.3); opacity: 0; } 16% { transform: scale(1.25); opacity: .9; } 45% { transform: scale(1.5); opacity: .35; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes fxNiuPt { 0% { transform: translate(0, 0) rotate(45deg) scale(.4); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(calc(var(--nw) * var(--px)), calc(var(--nw) * var(--py))) rotate(45deg) scale(.2); opacity: 0; } }
@keyframes fxNiuTag { 0%, 22% { opacity: 0; transform: translateY(6px); } 36%, 100% { opacity: 1; transform: none; } }
/* 三个字的牌型图（五花牛、五小牛）比两个字的宽：弹出和静止都按宽度收一档 */
.fx-rank.art.l3 img { height: calc(var(--rb) * var(--rk) * 1.12); }
.htype.rk-top .rk-art[data-art="rank-face"], .htype.rk-top .rk-art[data-art="rank-small"], .type .rk-art[data-art="rank-face"], .type .rk-art[data-art="rank-small"] { height: 24px; }
.seat.hero .htype .rk-art[data-art="rank-face"], .seat.hero .htype .rk-art[data-art="rank-small"] { height: 30px; }

/* ---------- 牌桌图标（2026-11-16）：照参照录屏里牌桌的图标样式——天蓝色实心图标（上浅下深、底下一道深蓝边），不套黑金圆底；
 * 「庄」是橙底金边的小方牌。全部是 SVG / CSS，没有位图。各种桌型（标准 / 职业 / 金博房）一样。 ---------- */
.ic-defs { position: absolute; }
/* 图标配色 2026-11-16：和参照工程一致（不再用天蓝）。牌桌左上菜单 / 返回：铂色渐变 #icPt（底色 #DBD6CD）+ 上亮下暗的三层投影；
 * 顶栏右边的入口：#DBD6CD，按下 #FBF9F5；左下 / 右下的圆钮：深色圆片 + 细圈，图标 #F1EADB；话筒 #F4DDA2。数值出处见 docs/PROVENANCE-WEB.md */
.ts-menu svg, .ztable.jb .ts-menu svg { fill: #DBD6CD; fill: url(#icPt) #DBD6CD; stroke: none; filter: drop-shadow(0 -.6px 0 rgba(255,255,255,.55)) drop-shadow(0 1.5px 0 rgba(52,50,45,.8)) drop-shadow(0 3px 4px rgba(0,0,0,.5)); }
.ts-lobby svg, .ztable.jb .ts-lobby svg { fill: none; stroke: #DBD6CD; stroke: url(#icPt) #DBD6CD; stroke-width: 3.4; }
.ts-menu:active { transform: scale(.94); }
.tt-ent svg, .ztable.jb .tt-ent svg { fill: #DBD6CD; stroke: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); } .tt-ent:active svg, .tt-ent.on svg { fill: #FBF9F5; }
.cbtn, .ztable.pro .cbtn { width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #43464D 0%, #24262B 58%, #15161A 100%); box-shadow: 0 0 0 1.5px #0B0C0E, 0 0 0 2.6px rgba(236,220,180,.32), 0 3px 8px rgba(0,0,0,.45); }
.cbtn svg { width: 24px; height: 24px; fill: none; stroke: #F1EADB; stroke-width: 1.7; filter: none; }
.cbtn svg rect, .cbtn svg > circle:not(.dot) { fill: none; stroke: #F1EADB; }
.cbtn svg path { fill: none; stroke: #F1EADB; stroke-width: 1.7; } .cbtn svg .dot { fill: #F1EADB; stroke: none; }
.cbtn:active { transform: scale(.94); filter: brightness(1.15); }
.cbtn.rec { background: radial-gradient(120% 90% at 50% 0%, #5ff2bd, #1FBE83 60%, #128a5d); } .cbtn.rec.cancel { background: radial-gradient(120% 90% at 50% 0%, #f5646a, #C22F37 60%, #8f1f26); }
.cmic svg { width: 27px; height: 27px; stroke: #F4DDA2; stroke-width: 1.8; filter: drop-shadow(0 1px 2px rgba(0,0,0,.55)); }
.cmic svg rect { fill: none; stroke: #F4DDA2; }
.dealer, .ztable.jb .dealer { width: 22px; height: 22px; border-radius: 6px; font: 900 13px/19px "Noto Sans SC", "PingFang SC", sans-serif; color: #fff; text-shadow: 0 1px 0 #9A4A00;
  background: linear-gradient(180deg, #FFB347, #F58A1B 55%, #E06C00); border: 1.5px solid #FFE08A; box-sizing: border-box; box-shadow: 0 1px 3px rgba(0,0,0,.5); }
.ztable.hund .dealer { width: 20px; height: 20px; line-height: 17px; font-size: 12px; }

/* ---------- 比牛牛大的三种牌型（2026-11-16）：炸弹 / 五花牛 / 五小牛，各一套轮廓、颜色、节奏；装饰全是 CSS 小件，数量固定 ---------- */
.fx-hi { z-index: 3; --hw: 150px; display: grid; place-items: center; }
.fx-hi.own { --hw: 190px; } .fx-hi.inzone { --hw: 118px; }
.ztable.mid .fx-hi:not(.own) { --hw: 128px; } .ztable.crowd .fx-hi:not(.own), .ztable.pro .fx-hi:not(.own) { --hw: 104px; } .ztable.pro .fx-hi.own { --hw: 150px; }
.fx-hi .ti { position: relative; z-index: 2; display: block; width: var(--hw); height: auto; filter: drop-shadow(0 4px 6px rgba(0,0,0,.6)); }
.fx-hi .txt { width: auto; font: 900 calc(var(--hw) * .26)/1.2 "Noto Sans SC", "PingFang SC", sans-serif; white-space: nowrap; color: #FFE08A; -webkit-text-stroke: 1.5px #6B4A0E; text-shadow: 0 3px 0 #8A5F16, 0 6px 8px rgba(0,0,0,.6); }
.fx-hi .acc { position: absolute; z-index: 1; left: 50%; top: 50%; width: 0; height: 0; } .fx-hi .acc i { position: absolute; display: block; font-style: normal; }
/* 炸弹：赤金爆裂震环（1.38 秒） */
.hi-bomb { animation: hiBomb 1.38s linear both; }
.hi-bomb .ti { animation: hiBombT 1.38s cubic-bezier(.2, .8, .3, 1) both; }
.hi-bomb .hl { left: calc(var(--hw) * -.5); top: calc(var(--hw) * -.34); width: var(--hw); height: calc(var(--hw) * .68); border-radius: 50%; background: radial-gradient(ellipse, #FFF3D3aa 0, #B62A24cc 38%, #B62A2400 70%); animation: hiBombHl 1.38s ease-out both; }
.hi-bomb .rg { left: calc(var(--hw) * -.36); top: calc(var(--hw) * -.36); width: calc(var(--hw) * .72); height: calc(var(--hw) * .72); border-radius: 50%; box-sizing: border-box; border: 2px solid #F6C864; box-shadow: 0 0 8px #B62A24, inset 0 0 6px #F6C86488; opacity: 0; animation: hiBombRg .62s ease-out .14s both; }
.hi-bomb .rg.r2 { border-color: #FFF3D3; border-width: 1.5px; animation-delay: .24s; animation-duration: .78s; }
.hi-bomb .sh { left: -6px; top: -11px; width: 12px; height: 22px; background: linear-gradient(160deg, #FFF3D3 0, #F6C864 30%, #E0442F 55%, #B62A24 100%); clip-path: polygon(50% 0, 100% 38%, 50% 100%, 0 38%); filter: drop-shadow(0 0 4px #F6C864); animation: hiBombSh 1.04s cubic-bezier(.2, .7, .3, 1) both; }
.hi-bomb .sh:nth-child(4) { --a: -52deg; } .hi-bomb .sh:nth-child(5) { --a: 52deg; } .hi-bomb .sh:nth-child(6) { --a: 128deg; } .hi-bomb .sh:nth-child(7) { --a: -128deg; }
.hi-bomb .em { left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: #FFF3D3; box-shadow: 0 0 5px 1.5px #F6C864; opacity: 0; animation: hiBombEm .9s ease-out .4s both; }
.hi-bomb .em:nth-child(8) { --ex: -.42; --ey: -.3; } .hi-bomb .em:nth-child(9) { --ex: .38; --ey: -.36; animation-delay: .5s; } .hi-bomb .em:nth-child(10) { --ex: -.2; --ey: -.44; animation-delay: .58s; } .hi-bomb .em:nth-child(11) { --ex: .5; --ey: -.2; animation-delay: .46s; }
@keyframes hiBomb { 0% { transform: translate(-50%, -58%); opacity: 0; } 6% { opacity: 1; } 76% { transform: translate(-50%, -58%); opacity: 1; } 100% { transform: translate(-50%, -58%); opacity: 0; } }
@keyframes hiBombT { 0% { transform: scale(.5); } 10% { transform: scale(.82); } 20% { transform: scale(1.26); } 28% { transform: scale(.96); } 34%, 100% { transform: scale(1); } }
@keyframes hiBombHl { 0% { transform: scale(.4); opacity: 0; } 10% { transform: scale(.7); opacity: 1; } 28% { transform: scale(1.25); opacity: .8; } 75% { transform: scale(1.1); opacity: .35; } 100% { opacity: 0; } }
@keyframes hiBombRg { 0% { transform: scale(.5); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes hiBombSh { 0% { transform: rotate(var(--a)) translateY(calc(var(--hw) * -.34)) scale(.5); opacity: 0; } 13% { transform: rotate(var(--a)) translateY(calc(var(--hw) * -.12)) scale(1); opacity: 1; } 36% { transform: rotate(var(--a)) translateY(calc(var(--hw) * -.64)) scale(1.15); opacity: 1; } 80% { transform: rotate(var(--a)) translateY(calc(var(--hw) * -.6)) scale(1); opacity: 1; } 100% { transform: rotate(var(--a)) translateY(calc(var(--hw) * -.66)) scale(.6); opacity: 0; } }
@keyframes hiBombEm { 0% { transform: translate(0, 0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(calc(var(--hw) * var(--ex)), calc(var(--hw) * var(--ey))); opacity: 0; } }
/* 五花牛：玫瑰金牌花绽放（1.58 秒） */
.hi-flower { animation: hiFlower 1.58s linear both; }
.hi-flower .ti { animation: hiFlowerT 1.58s cubic-bezier(.2, .8, .3, 1) both; }
.hi-flower .pt { left: -10px; top: -13px; width: 20px; height: 26px; border-radius: 10px 10px 8px 8px; display: grid; place-items: center; font: 700 14px/1 "Apple Symbols", "Segoe UI Symbol", serif; color: #805AA7; background: linear-gradient(170deg, #FFF6EC, #F7E5B5 35%, #DEAC8B 100%); box-shadow: 0 0 0 1px #DEAC8B, 0 0 7px rgba(247,229,181,.8); transform-origin: 50% calc(100% + var(--hw) * .3); opacity: 0; animation: hiFlowerPt 1.58s cubic-bezier(.25, .8, .3, 1) both; }
.hi-flower .pt:nth-child(2) { --a: -58deg; } .hi-flower .pt:nth-child(3) { --a: -29deg; animation-delay: .035s; } .hi-flower .pt:nth-child(4) { --a: 0deg; animation-delay: .07s; } .hi-flower .pt:nth-child(5) { --a: 29deg; animation-delay: .105s; } .hi-flower .pt:nth-child(6) { --a: 58deg; animation-delay: .14s; }
.hi-flower .pt:nth-child(odd) { color: #B8505E; }
.hi-flower .arc { left: calc(var(--hw) * -.56); top: calc(var(--hw) * -.2); width: calc(var(--hw) * 1.12); height: calc(var(--hw) * .5); border-radius: 50%; box-sizing: border-box; border: 2px solid transparent; border-bottom-color: #DEAC8B; border-left-color: #F7E5B5; filter: drop-shadow(0 0 4px #F7E5B5); opacity: 0; animation: hiFlowerArc 1.58s ease-in-out both; }
@keyframes hiFlower { 0% { transform: translate(-50%, -56%); opacity: 0; } 8% { opacity: 1; } 76% { transform: translate(-50%, -56%); opacity: 1; } 100% { transform: translate(-50%, -62%); opacity: 0; } }
@keyframes hiFlowerT { 0% { transform: scale(.7); opacity: 0; } 22% { transform: scale(1.06); opacity: 1; } 34%, 100% { transform: scale(1); opacity: 1; } }
@keyframes hiFlowerPt { 0% { transform: translateY(calc(var(--hw) * -.08)) rotate(0deg) scale(.3); opacity: 0; } 12% { opacity: 1; } 33% { transform: translateY(calc(var(--hw) * -.3)) rotate(var(--a)) scale(1.08); opacity: 1; } 40% { transform: translateY(calc(var(--hw) * -.3)) rotate(var(--a)) scale(1); } 56% { filter: brightness(1.35); } 75% { transform: translateY(calc(var(--hw) * -.3)) rotate(calc(var(--a) * 1.04)) scale(1); opacity: 1; filter: none; } 100% { transform: translateY(calc(var(--hw) * -.2)) rotate(calc(var(--a) * .35)) scale(.5); opacity: 0; } }
@keyframes hiFlowerArc { 0%, 11% { transform: rotate(-70deg); opacity: 0; } 33% { transform: rotate(0deg); opacity: 1; } 75% { transform: rotate(14deg); opacity: .8; } 100% { transform: rotate(24deg); opacity: 0; } }
/* 五小牛：翠金五曜星冠（1.72 秒） */
.hi-small { animation: hiSmall 1.72s linear both; }
.hi-small .ti { animation: hiSmallT 1.72s ease-out both; }
.hi-small .st { left: -9px; top: -9px; width: 18px; height: 18px; background: linear-gradient(180deg, #FFE3A0 0, #7FE0B0 38%, #1BA477 100%); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); filter: drop-shadow(0 0 2px #0B6B4C) drop-shadow(0 0 5px #C7E7BA); opacity: 0; animation: hiSmallSt 1.72s cubic-bezier(.2, .8, .3, 1) both; }
.hi-small .st:nth-child(3) { --sx: -.44; --sy: -.3; } .hi-small .st:nth-child(4) { --sx: -.23; --sy: -.42; animation-delay: .045s; } .hi-small .st:nth-child(5) { --sx: 0; --sy: -.48; --sc: 1.35; animation-delay: .09s; } .hi-small .st:nth-child(6) { --sx: .23; --sy: -.42; animation-delay: .135s; } .hi-small .st:nth-child(7) { --sx: .44; --sy: -.3; animation-delay: .18s; }
.hi-small .cr { left: calc(var(--hw) * -.5); top: calc(var(--hw) * -.47); width: var(--hw); height: calc(var(--hw) * .6); border-radius: 50%; box-sizing: border-box; border: 1.5px solid transparent; border-top-color: #FFE3A0; filter: drop-shadow(0 0 3px #FFE3A0); opacity: 0; animation: hiSmallCr 1.72s ease-out both; }
.hi-small .pl { left: calc(var(--hw) * -.16); top: calc(var(--hw) * -.72); width: calc(var(--hw) * .32); height: calc(var(--hw) * .95); background: linear-gradient(0deg, #1BA47700, #1BA477aa 30%, #C7E7BAcc 60%, #FFE3A000); transform-origin: 50% 100%; opacity: 0; animation: hiSmallPl 1.72s ease-out both; }
@keyframes hiSmall { 0% { transform: translate(-50%, -56%); opacity: 0; } 6% { opacity: 1; } 77% { transform: translate(-50%, -56%); opacity: 1; } 100% { transform: translate(-50%, -66%); opacity: 0; } }
@keyframes hiSmallT { 0% { transform: scale(.8); opacity: 0; filter: none; } 14% { transform: scale(1); opacity: 1; } 37% { filter: brightness(1); } 44% { filter: brightness(1.9) drop-shadow(0 0 8px #FFE3A0); } 56% { filter: brightness(1.1); } 100% { transform: scale(1); opacity: 1; filter: none; } }
@keyframes hiSmallSt { 0% { transform: translate(calc(var(--hw) * var(--sx)), calc(var(--hw) * var(--sy) + 16px)) scale(.2); opacity: 0; } 14% { transform: translate(calc(var(--hw) * var(--sx)), calc(var(--hw) * var(--sy))) scale(calc(var(--sc, 1) * 1.2)); opacity: 1; } 22% { transform: translate(calc(var(--hw) * var(--sx)), calc(var(--hw) * var(--sy))) scale(var(--sc, 1)); } 50% { transform: translate(calc(var(--hw) * var(--sx) + 3px), calc(var(--hw) * var(--sy) - 2px)) scale(var(--sc, 1)); } 77% { transform: translate(calc(var(--hw) * var(--sx)), calc(var(--hw) * var(--sy))) scale(var(--sc, 1)); opacity: 1; } 100% { transform: translate(calc(var(--hw) * var(--sx)), calc(var(--hw) * var(--sy) - 18px)) scale(.4); opacity: 0; } }
@keyframes hiSmallCr { 0%, 14% { transform: scaleX(.3); opacity: 0; } 37% { transform: scaleX(1); opacity: 1; } 77% { opacity: .9; } 100% { transform: translateY(-14px); opacity: 0; } }
@keyframes hiSmallPl { 0%, 14% { transform: scaleY(.1); opacity: 0; } 37% { transform: scaleY(1); opacity: .9; } 70% { opacity: .5; } 100% { transform: scaleY(1.05); opacity: 0; } }

/* ---------- 2026-11-16 手机端修整 ---------- */
/* 发牌盒下面那一行阶段字（下注 · 第 N 局 · 庄 ×N）：四周透明——不要底色、描边、阴影、底板；字、字号、颜色、位置都不变 */
#felt .phase, .ztable .phase, .ztable.jb .phase, .ztable.pro .phase, .ztable.mid .phase, .ztable.hund .phase { background: none; border: 0; box-shadow: none; outline: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
#felt .phase::before, #felt .phase::after { content: none; }
/* 亮牌的字在头像正前面（.onava）：以头像为中心，高度不超过头像，不盖上面的名字和下面的筹码数 */
.fx-rank.onava { --rk: 1; animation-name: fxRankAva; } .fx-rank.onava.art img { height: calc(var(--rb) * 1.36); max-height: 70px; filter: drop-shadow(0 0 6px rgba(0,0,0,.75)) drop-shadow(0 3px 5px rgba(0,0,0,.6)); }
.ztable.mid .fx-rank.onava { --rk: .86; } .ztable.mid .fx-rank.onava.art img { max-height: 56px; } .ztable.crowd .fx-rank.onava, .ztable.pro .fx-rank.onava { --rk: .76; } .ztable.crowd .fx-rank.onava.art img, .ztable.pro .fx-rank.onava.art img { max-height: 50px; }
@keyframes fxRankAva { 0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; } 20% { transform: translate(-50%, -50%) scale(1.24); opacity: 1; } 34% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 82% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.06); opacity: 0; } }
.fx-niu.onava { --nw: 112px; animation-name: fxNiuAva; } .fx-niu.onava em { margin-top: -12px; font-size: 10px; line-height: 16px; padding: 0 7px; }
.ztable.mid .fx-niu.onava { --nw: 96px; } .ztable.crowd .fx-niu.onava, .ztable.pro .fx-niu.onava { --nw: 84px; }
@keyframes fxNiuAva { 0% { transform: translate(-50%, 0%) scale(.28); opacity: 0; } 16% { transform: translate(-50%, -56%) scale(1.2); opacity: 1; } 27% { transform: translate(-50%, -48%) scale(.97); opacity: 1; } 36% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 82% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -58%) scale(1.06); opacity: 0; } }
.fx-hi.onava { --hw: 124px; } .ztable.mid .fx-hi.onava { --hw: 108px; } .ztable.crowd .fx-hi.onava, .ztable.pro .fx-hi.onava { --hw: 94px; }
.fx-hi.onava.hi-bomb { animation-name: hiAva; } .fx-hi.onava.hi-flower { animation-name: hiAva; } .fx-hi.onava.hi-small { animation-name: hiAva; }
@keyframes hiAva { 0% { transform: translate(-50%, -50%); opacity: 0; } 7% { opacity: 1; } 77% { transform: translate(-50%, -50%); opacity: 1; } 100% { transform: translate(-50%, -54%); opacity: 0; } }
/* 计分器 / 牌局记录：从下面拉上来的抽屉，跟着手指走（位置由脚本写 transform；这里只管样子和过渡） */
.dw-wrap .dw, .dw-wrap[data-side="l"] .dw, .dw-wrap[data-side="r"] .dw { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 92%; border: 0; border-radius: 22px 22px 0 0; transform: translate3d(0, 100%, 0); will-change: transform;
  box-shadow: 0 -10px 40px rgba(0,0,0,.6), inset 0 1px 0 rgba(216,178,90,.28); padding-bottom: env(safe-area-inset-bottom); touch-action: pan-y; }
.dw.drag { transition: none; }
.dw-grip { flex: none; height: 26px; display: grid; place-items: center; cursor: grab; touch-action: none; outline: none; -webkit-user-select: none; user-select: none; }
.dw-grip i { width: 42px; height: 5px; border-radius: 3px; background: rgba(233,220,184,.42); } .dw-grip:focus-visible i { background: var(--gold2); } .dw.drag .dw-grip { cursor: grabbing; } .dw.drag .dw-grip i { background: var(--gold2); }
.dw-in { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; outline: none; }
.dw-h { padding: 0 8px 8px 16px; touch-action: none; -webkit-user-select: none; user-select: none; } .dw-sub { touch-action: none; }
@media (orientation: landscape) and (max-height: 520px) { .dw-wrap .dw { height: 96%; } }

/* ---- 房间卡片：四种玩法各有徽记、强调色和底纹（同一套黑金家族），不靠粗框区分 ---- */
.sh-room { position: relative; overflow: hidden; --ac: #F2CE6B; --ac2: #E8743B; padding: 13px 12px; border-radius: 18px; background: linear-gradient(105deg, color-mix(in srgb, var(--ac) 13%, #141416) 0%, #141416 34%, #0f0f11 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.045), 0 6px 16px rgba(0,0,0,.28); transition: transform .08s; }
.sh-room::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, var(--ac), var(--ac2)); opacity: .9; }
.sh-room::after { content: ""; position: absolute; right: -30px; top: -40px; width: 170px; height: 170px; pointer-events: none; opacity: .07; }
.sh-room:active { transform: scale(.985); filter: brightness(1.12); }
.rm-grab { --ac: #F2CE6B; --ac2: #E8743B; } .rm-grab::after { background: repeating-linear-gradient(120deg, var(--ac) 0 2px, transparent 2px 16px); }
.rm-peek { --ac: #EBCFA6; --ac2: #A98BD6; } .rm-peek::after { border-radius: 50%; background: repeating-conic-gradient(from -40deg at 50% 100%, var(--ac2) 0 4deg, transparent 4deg 16deg); opacity: .09; }
.rm-compare { --ac: #A9CBEE; --ac2: #E9D9A6; } .rm-compare::after { background: linear-gradient(90deg, transparent 49%, var(--ac) 49% 51%, transparent 51%), repeating-linear-gradient(0deg, var(--ac) 0 1px, transparent 1px 14px); opacity: .06; }
.rm-hundred { --ac: #74D9B0; --ac2: #F2CE6B; } .rm-hundred::after { background: linear-gradient(var(--ac), var(--ac)) 0 0 / 46% 46% no-repeat, linear-gradient(var(--ac), var(--ac)) 100% 0 / 46% 46% no-repeat, linear-gradient(var(--ac), var(--ac)) 0 100% / 46% 46% no-repeat, linear-gradient(var(--ac), var(--ac)) 100% 100% / 46% 46% no-repeat; border-radius: 12px; opacity: .06; }
.sh-no.rm-em { position: relative; width: 46px; height: 46px; border-radius: 14px; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--ac) 22%, #1a1a1d), #0c0c0e 75%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 42%, transparent); }
.rm-em svg { width: 34px; height: 34px; } .rm-em .f { fill: var(--ac); stroke: none; } .rm-em .s { fill: none; stroke: var(--ac); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; } .rm-em .k { fill: #0c0c0e; }
.rm-em b { position: absolute; right: -4px; bottom: -4px; min-width: 22px; padding: 0 4px; border-radius: 8px; font: 800 10px/15px Archivo, Arial, sans-serif; color: #17130a; background: var(--ac); box-shadow: 0 0 0 2px #121214; text-align: center; }
.rm-tag { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 5px; font: 700 10.5px/16px "Noto Sans SC", "PingFang SC", sans-serif; font-style: normal; color: var(--ac); background: color-mix(in srgb, var(--ac) 14%, transparent); vertical-align: 1px; }
.sh-rmid { border-left: 0; padding-left: 4px; }
.sh-go { background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 55%, #FFF0B8), var(--ac) 70%); } .sh-go.watch { background: none; color: var(--ac); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 45%, transparent); }

/* ---- 牌桌外面的页面：线条放轻。少用一圈一圈的亮边，靠间距、字和深浅分层；需要的分隔线很淡 ---- */
.sh-bar, .sh-search, .sh-card, .sh-tile, .sh-stat, .sh-rec, .sh-empty, .m2-sum div, .vf-more, .ag-row, .ag-open, .ag-card { box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.sh-chips button { box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.sh-card.gold { box-shadow: inset 0 0 0 1px rgba(216,178,90,.30), 0 10px 26px rgba(0,0,0,.4); background: linear-gradient(160deg, #221c10 0%, #17161a 42%, #101012 100%); }
.sh-kv { border-top-color: rgba(216,178,90,.14); } .sh-kv > div + div { border-left-color: rgba(255,255,255,.06); }
.sh-modes { border-bottom-color: rgba(255,255,255,.06); }
.sh-stat .mid { box-shadow: inset 0 0 0 1px rgba(216,178,90,.34); }
.sh-ghost { box-shadow: inset 0 0 0 1px rgba(216,178,90,.45); }
.sh-tile i { box-shadow: inset 0 0 0 1px rgba(216,178,90,.26); }
.sh-tabs { box-shadow: 0 -1px 0 rgba(255,255,255,.05), 0 -8px 20px #0008; }
.mrow { border-bottom-color: rgba(255,255,255,.06); }
.card { border-color: rgba(216,178,90,.18); }
.top { border-bottom-color: rgba(216,178,90,.12); }

/* ---- 标志：只调摆放——光学对齐、和字的间距、边缘利落的投影（位图没有动、没有重画） ---- */
.brand { gap: 10px; align-items: center; }
.brand-icon { width: 42px; height: 42px; margin: -1px 0; transform: translateY(-.5px); filter: drop-shadow(0 1px 1px rgba(0,0,0,.65)) drop-shadow(0 0 7px rgba(216,178,90,.20)); }
.brand-word { line-height: 1; padding-top: 1px; letter-spacing: 3px; }
section.hero img { image-rendering: auto; filter: drop-shadow(0 2px 2px rgba(0,0,0,.6)) drop-shadow(0 10px 24px rgba(216,178,90,.22)); }

/* ---- 按键反应：按下马上有样子；不等动画、声音、图片。触屏上不要双击缩放带来的延迟 ---- */
a, button, input, select, label, summary, [role="button"], .zone.tap { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.sh-go:active, .sh-ghost:active, .sh-cta:active, .sh-chips button:active, .sh-rec:active, .sh-tabs a:active, .sh-modes button:active, .ts-menu:active, .tt-ent:active, .ring-btn:active, .ag-seg button:active, .m2-tabs button:active, .dw-x:active, .vf-links a:active { filter: brightness(1.25); transform: scale(.97); }
.sh-tabs a:active { transform: none; } .btn:active { filter: brightness(1.15); }
#dock button.sent { filter: brightness(1.18) saturate(1.1); box-shadow: 0 0 0 3px rgba(255,240,184,.55); }
button:disabled, .btn[disabled] { filter: grayscale(.4); }
.sh-rmain b .rm-tag { vertical-align: 2px; }
/* 房间卡（手机窄屏精修）：两行——上面玩法标签 + 桌名（整行给桌名，不再被几栏挤成「演示·…」）和底注 / 准入；
 * 下面一行状态、第几局、座位点、人数；右边一个按钮。390 宽也能看全桌名 */
.sh-room { grid-template-columns: 46px minmax(0, 1fr) auto; grid-template-areas: "em main go" "em mid go"; column-gap: 12px; row-gap: 6px; }
.sh-room > .sh-no { grid-area: em; align-self: center; } .sh-room > .sh-rmain { grid-area: main; } .sh-room > .sh-go { grid-area: go; align-self: center; }
.sh-room > .sh-rmid { grid-area: mid; display: flex; align-items: center; gap: 7px; min-width: 0; padding-left: 0; border-left: 0; }
.sh-rmid small { display: inline; font-size: 11.5px; line-height: 18px; } .sh-rmid .ppl { margin-left: auto; color: #d8d2c5; font-variant-numeric: tabular-nums; }
.sh-rmid .sdots { margin: 0; flex-wrap: nowrap; flex: none; } .sh-rmid .sdots i { width: 6px; height: 6px; } .sh-rmid .sdots i.on { background: var(--ac); }
.sh-rmain b { font-size: 15.5px; } .sh-rmain small { margin-top: 1px; }
.sh-rst { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 0 7px; border-radius: 999px; font: 700 11px/18px "Noto Sans SC", "PingFang SC", sans-serif; color: #8fd9a0; background: rgba(143,217,160,.1); }
.sh-rst::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.sh-rst.live { color: #F2CE6B; background: rgba(242,206,107,.1); } .sh-rst.live::before { animation: rstLive 1.6s ease-in-out infinite; }
@keyframes rstLive { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .sh-rst.live::before { animation: none; } }
@media (max-width: 360px) { .sh-rmid .sdots { display: none; } }

.sh-rmid small { flex: none; overflow: visible; text-overflow: clip; } .sh-rmid .ppl { flex: none; }
/* 战绩记录：牌型按档位上色（牛牛以上金底），没下注的局淡一点、显示「未下注」和「—」，不再是空心「—」胶囊加 0 */
.sh-rk.rk-none { color: #a9a39a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.sh-rk.rk-low { color: #e6dcc6; box-shadow: inset 0 0 0 1px rgba(216,178,90,.4); }
.sh-rk.rk-high { color: #F2CE6B; box-shadow: inset 0 0 0 1px #d8b25a; }
.sh-rk.rk-top { color: #2A1C05; background: linear-gradient(180deg, #FFF0B8, #E9B949 60%, #C9973A); box-shadow: none; }
.sh-rk.none { color: #8d877d; box-shadow: none; background: rgba(255,255,255,.05); font-weight: 600; font-size: 12.5px; }
.sh-rec > b.num.zero { color: #77726a; font-weight: 600; }
.sh-rec:has(.sh-rk.none) .grow b { color: #cfc9bc; }
/* 读取中的骨架：和真东西一样大的暗块，一道很淡的光扫过去 */
.sk { border-radius: 14px; background: linear-gradient(100deg, rgba(255,255,255,.035) 30%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.035) 70%) 0 0 / 300% 100%; animation: skSweep 1.4s linear infinite; }
.sk-stat { height: 92px; border-radius: 16px; } .sk-h { width: 40%; height: 22px; margin: 18px 0 4px; border-radius: 8px; } .sk-row { height: 62px; margin-top: 10px; } .sk-room { height: 88px; border-radius: 18px; }
@keyframes skSweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }
/* 「我的」：资料卡里俱乐部名不贴着分隔线；左栏多给一点（名字通常比积分长）。退出登录换成偏红的淡色，和功能入口分开，不会顺手点到 */
.sh-kv { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 14px; } .sh-kv > div { min-width: 0; }
.sh-kv b { font-size: 16.5px; } .sh-kv b.num { font-size: 22px; }
.m2-it.out { color: #e9a3a3; background: linear-gradient(180deg, rgba(239,107,112,.08), rgba(239,107,112,.03)); box-shadow: inset 0 0 0 1px rgba(239,107,112,.16); }
.m2-it.out svg { stroke: #e98c8c; }

.sh-kv b:not(.num) { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-height: 1.25; word-break: break-word; }
/* 阶段字和操作提示：只在「 · 」之间、整个括号句之前换行，不再断成「第 1565 / 局」「（超时 / 下最低档）」；阶段字现在没有底框，可以宽一点 */
.nb { white-space: nowrap; }
.ztable.mid .phase { max-width: 150px; }
/* 阶段字：宽桌一行「下注 · 第 N 局 · 庄 ×1」；窄桌（mid）两行——上面阶段名，下面小一号的局数和倍数 */
.phase .ph-sub::before { content: " · "; }
.ztable.mid .phase { max-width: none; white-space: nowrap; text-align: center; }
.ztable.mid .phase .ph-sub { display: block; font-size: .82em; font-weight: 600; opacity: .85; }
.ztable.mid .phase .ph-sub::before { content: none; }


/* ================= 出手键 2026-11-16：灰色「不抢庄」、实体倍数筹码、百人「先选区再点筹码」、撤销 =================
 * 「不抢庄」：冷灰色的常规圆键，能点（不是禁用的样子）。两种按钮样式都一样。
 * 筹码版的抢庄倍数：陶瓷筹码——带光泽的面、金色内圈、倒角的边（上亮下暗）、边上六道镶块、下面一层厚度和收着的投影；正中只写 ×N（倍数，不是钱）。
 * 配色：×1 象牙 / 香槟 + 金边；×2 深酒红 + 金边；×3 宝石蓝 + 金边；×4 黑 + 香槟金边。全部是 CSS 画的，没有位图。 */
.act.a-pass { color: #F4F6F8; background: radial-gradient(120% 80% at 50% 8%, #B7BDC5 0%, #8D949D 52%, #6E747C 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 3px rgba(0,0,0,.2), 0 3px 8px rgba(0,0,0,.35); text-shadow: 0 1px 1px rgba(0,0,0,.35); }
.act.a-pass span { font: 600 13.5px/1.1 "Noto Sans SC", "PingFang SC", sans-serif; letter-spacing: -.5px; }
.ztable.jb .act.a-pass { color: #F4F6F8; background: radial-gradient(120% 80% at 50% 8%, #A9AFB7 0%, #7D848D 52%, #5E646C 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 8px rgba(0,0,0,.5); }
.act.pchip { --s: calc(58px * var(--bk, 1)); --face: #FBF5E6; --face2: #E3D2AE; --edge: #EEE2C6; --inlay: #C9A24E; --rim: #CFA851; --ink: #5A4210; --side: #9C8350; --glow: rgba(255,255,255,.5);
  color: var(--ink); border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, var(--glow) 0, rgba(255,255,255,0) 34%),
    radial-gradient(circle, var(--face) 0, var(--face2) 42%, var(--rim) 43.5% 48%, rgba(0,0,0,.28) 48.6%, rgba(0,0,0,0) 50.5%),
    repeating-conic-gradient(from -9deg, var(--inlay) 0 18deg, var(--edge) 18deg 60deg);
  box-shadow: inset 0 0 0 1.4px rgba(0,0,0,.38), inset 0 2px 1.5px rgba(255,255,255,.42), inset 0 -3px 2px rgba(0,0,0,.32), 0 3px 0 -.5px var(--side), 0 7px 10px rgba(0,0,0,.42); }
.act.pchip::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--rim) 70%, transparent); pointer-events: none; }
.act.pchip span { position: relative; font: 800 19px/1 var(--num); letter-spacing: -.3px; text-shadow: 0 1px 0 rgba(255,255,255,.35); }
.act.pchip.m2 { --face: #9A2335; --face2: #5C0E1A; --edge: #6D1322; --inlay: #E4C175; --rim: #D7AE58; --ink: #FFF0C8; --side: #34060E; --glow: rgba(255,220,220,.32); }
.act.pchip.m3 { --face: #2E5DB3; --face2: #132B66; --edge: #1A3A80; --inlay: #E4C175; --rim: #D7AE58; --ink: #F3F7FF; --side: #0A1739; --glow: rgba(220,235,255,.34); }
.act.pchip.m4 { --face: #2E2E33; --face2: #0C0C0E; --edge: #141416; --inlay: #E8D3A0; --rim: #E2C98F; --ink: #F6E3A6; --side: #000; --glow: rgba(255,255,255,.22); }
.act.pchip.m2 span, .act.pchip.m3 span, .act.pchip.m4 span { text-shadow: 0 1px 1px rgba(0,0,0,.55); }
.act.pchip:active { transform: translateY(2px) scale(.95); box-shadow: inset 0 0 0 1.4px rgba(0,0,0,.38), inset 0 2px 1.5px rgba(255,255,255,.42), inset 0 -3px 2px rgba(0,0,0,.32), 0 1px 0 -.5px var(--side), 0 3px 6px rgba(0,0,0,.42); }
.act[disabled] { opacity: .4; filter: grayscale(.4); }
#dock .act.pchip.sent { filter: brightness(1.08); box-shadow: 0 0 0 3px rgba(255,240,184,.6), 0 7px 10px rgba(0,0,0,.42); }

/* 百人：押注区先点选（金色描边 + 「押这里」小标）；各区写已接受的「我押」和还在路上的「待确认」 */
.zone.tap.sel { box-shadow: inset 0 0 0 2.5px #FFE08A, 0 0 0 1px rgba(255,224,138,.35), 0 0 16px rgba(255,224,138,.35); background: rgba(0,0,0,.36); }
.ztable.jb .zone.tap.sel { box-shadow: inset 0 0 0 2.5px #F2CE6B, 0 0 16px rgba(233,196,106,.5); }
.zone .zsel { position: absolute; left: 6px; top: 5px; padding: 1px 6px; border-radius: 8px; font: 700 10.5px/16px "Noto Sans SC", "PingFang SC", sans-serif; font-style: normal; color: #2A1C05; background: linear-gradient(180deg, #FFF0B8, #E9C46A); }
.zone .zp { min-height: 0; font: 700 11px/1.2 var(--num); color: rgba(255,240,184,.78); font-variant-numeric: tabular-nums; } .zone .zp:empty { display: none; }
.zone.nudge { animation: zNudge .5s ease; } @keyframes zNudge { 30% { box-shadow: inset 0 0 0 2.5px #fff; } }
/* 筹码一排：从小到大，1000 在最右，再右边一枚灰色的「撤销」。390 宽也放得下七枚 */
.ztable.hund .chips { gap: 6px; bottom: 12px; }
.ztable.hund .chip { width: 42px; height: 42px; font-size: 12px; flex: none; }
.ztable.hund .chip.c1 { --cc: #C22F37; } .ztable.hund .chip.c2 { --cc: #1677D6; } .ztable.hund .chip.c3 { --cc: #1FBE83; } .ztable.hund .chip.c4 { --cc: #2A2F38; } .ztable.hund .chip.c5 { --cc: #7A3FC2; } .ztable.hund .chip.c6 { --cc: #B8860B; }
.ztable.hund .chip.hit { animation: chipHit .22s ease; } @keyframes chipHit { 40% { transform: translateY(-5px) scale(1.06); } }
.chips .undo { flex: none; width: 46px; height: 42px; margin-left: 4px; padding: 0; border: 0; border-radius: 12px; display: grid; place-items: center; align-content: center; gap: 1px; color: #E7E9EC; background: linear-gradient(180deg, #5B6068, #3D4148); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 3px 7px rgba(0,0,0,.4); }
.chips .undo svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; } .chips .undo span { font: 600 11px/1 "Noto Sans SC", "PingFang SC", sans-serif; }
.chips .undo[disabled] { opacity: .38; } .chips .undo.busy { opacity: .7; } .chips .undo:active:not([disabled]) { transform: scale(.94); }
.chip[disabled] { opacity: .32; }
/* 普通版：常规按键的面（圆角长方），数额和次序、撤销都一样 */
.chips.plain .chip, .ztable.jb .chips.plain .chip { width: 44px; height: 36px; border-radius: 10px; background: linear-gradient(180deg, #3A3D44, #24262B); color: #F2F2F2; text-shadow: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 2px 6px rgba(0,0,0,.35); }
.chips.plain .undo { height: 36px; border-radius: 10px; }
/* 设置面板里「按钮样式」的小样 */
.ts-bs { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 4px; font-style: normal; } .ts-bs b { font: 800 13px/1 var(--num, sans-serif); }
.ts-bs-chip { border-radius: 50%; color: #FFF0C8; background: radial-gradient(circle at 36% 28%, rgba(255,220,220,.32) 0, transparent 34%), radial-gradient(circle, #9A2335 0, #5C0E1A 42%, #D7AE58 43.5% 48%, transparent 50.5%), repeating-conic-gradient(from -9deg, #E4C175 0 18deg, #6D1322 18deg 60deg); box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), 0 2px 0 #34060E; }
.ts-bs-plain { width: 40px; height: 40px; border-radius: 50%; color: #fff; background: radial-gradient(120% 80% at 50% 6%, #62BCFF 0%, #2B95EE 48%, #1677D6 100%); }

/* 底部导航（2026-11-16，配色照参照工程）：条 #121317；图标是实心金属渐变——平常 #navChromeDim、选中 #navChrome；
 * 文字平常 rgba(237,232,222,.5)、选中 #F1F1EE；选中格是一枚深色玻璃胶囊，底边一道金线 */
.sh-tabs, .sh-tabs:not(#_x) { background: #121317; box-shadow: 0 -10px 30px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.05); backdrop-filter: none; }
.sh-tabs a { color: rgba(237,232,222,.5); font-weight: 700; font-size: 12px; isolation: isolate; }
.sh-tabs svg { width: 26px; height: 26px; overflow: visible; fill: url(#navChromeDim) #AB8622; stroke: none; }
.sh-tabs a.on { color: #F1F1EE; font-weight: 700; } .sh-tabs a.on svg { fill: url(#navChrome) #F3C750; }
.sh-tabs a.on::after { content: none; }
.sh-tabs a.on::before { content: ""; position: absolute; left: 5px; right: 5px; top: 3px; bottom: 3px; z-index: -1; pointer-events: none; border-radius: 14px;
  background: linear-gradient(90deg, rgba(210,183,126,0) 16%, rgba(226,201,146,.95) 50%, rgba(210,183,126,0) 84%) center bottom / 100% 2px no-repeat, linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.03));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 1px 0 rgba(255,255,255,.06); }

/* ================= 大厅 2026-11-16：顶栏徽标 + 房间号搜索、轮播、全部 + 四种玩法筛选 ================= */
.sh-find { flex: 0 1 168px; min-width: 112px; display: flex; align-items: center; height: 36px; padding: 0 4px 0 13px; border-radius: 18px; background: #16171B; box-shadow: inset 0 0 0 1px rgba(236,220,180,.18); }
.sh-find input { flex: 1; min-width: 0; height: 34px; border: 0; background: none; color: #F3EEE4; font: 600 14px/34px Archivo, "PingFang SC", sans-serif; letter-spacing: .5px; outline: none; -webkit-appearance: none; appearance: none; }
.sh-find input::placeholder { color: rgba(237,232,222,.42); font-weight: 500; letter-spacing: 0; }
.sh-find input::-webkit-search-cancel-button { display: none; }
.sh-find button { flex: none; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; color: #17130a; background: linear-gradient(180deg, #FFE391, #EDBB3E 55%, #B98412); }
.sh-find svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.sh-head:has(.sh-find) .sh-title b { font-size: 19px; letter-spacing: 1.5px; }
.sh-bar .sh-club select { max-width: 132px; }
/* 轮播：高度先占好；横向滑动、吸附；三张横幅都是代码画的 + 现有品牌图 */
.sh-banner { position: relative; margin-top: 12px; border-radius: 16px; overflow: hidden; background: #0e0e10; box-shadow: inset 0 0 0 1px rgba(236,220,180,.12); }
.bn-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.bn-track::-webkit-scrollbar { display: none; }
.bn-slide { flex: 0 0 100%; scroll-snap-align: start; height: 118px; }
.bn { box-sizing: border-box; height: 100%; display: flex; align-items: center; gap: 12px; padding: 0 18px; text-decoration: none; color: #F3EEE4; }
.bn b { display: block; font: 800 19px/1.25 "Noto Sans SC", "PingFang SC", sans-serif; letter-spacing: 1px; background: linear-gradient(180deg, #FFF8DC, #F3C750 55%, #B98412); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bn small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: rgba(237,232,222,.72); }
.bn-logo { background: radial-gradient(120% 140% at 18% 50%, rgba(233,196,106,.22), transparent 55%), linear-gradient(120deg, #1b1a17, #0c0c0e 60%, #17140c); }
.bn-logo img { width: 104px; height: 104px; object-fit: contain; flex: none; margin-left: -8px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)); }
.bn-verify { position: relative; background: radial-gradient(110% 140% at 85% 30%, rgba(31,190,131,.16), transparent 55%), linear-gradient(120deg, #101614, #0c0c0e 65%); }
.bn-verify img { width: 50px; height: 50px; flex: none; border-radius: 50%; background: #fff; padding: 4px; box-sizing: border-box; }
.bn-verify i { position: absolute; right: 14px; bottom: 12px; font-style: normal; font-size: 12px; color: #E2C992; }
.bn-modes { justify-content: center; background: linear-gradient(120deg, #17161a, #0c0c0e); }
.bn-ems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; }
.bn-ems button { display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: none; color: rgba(237,232,222,.82); font-size: 12px; }
.bn-ems .rm-em { position: relative; width: 50px; height: 50px; }
.bn-dots { position: absolute; left: 0; right: 0; bottom: 7px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.bn-dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.28); transition: width .25s, background .25s; } .bn-dots i.on { width: 14px; background: #E2C992; }
/* 五个玩法筛选：放得下 390 宽 */
.sh-modes.five button { font-size: 14px; } .sh-modes.five button[aria-selected="true"]::after { left: 10%; right: 10%; }
@media (max-width: 380px) { .sh-modes.five button { font-size: 13px; } }
.sh-rmain small .rno { font-style: normal; font-family: Archivo, Arial, sans-serif; font-weight: 700; color: #E2C992; letter-spacing: .3px; }
.pick-modes { display: grid; gap: 10px; margin-top: 12px; } .pick-modes .sh-room { grid-template-areas: "em main"; grid-template-columns: 56px 1fr; width: 100%; border: 0; text-align: left; color: inherit; font: inherit; }
.sh-head:has(.sh-find) { gap: 8px; } .sh-head:has(.sh-find) img { width: 40px; height: 40px; }
.sh-head:has(.sh-find) .sh-title { flex: none; } .sh-head:has(.sh-find) .sh-title b { font-size: 17px; letter-spacing: 1px; white-space: nowrap; }
.sh-head:has(.sh-find) .grow { flex: 1 1 0; min-width: 0; } .sh-head .sh-find { flex: 0 1 150px; }
/* 我的：推广链接 / 账号 / 关于我们 / 牛牛规则 */
.inv-card .inv-url { display: block; margin: 8px 0 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.05); font-size: 12px; line-height: 1.4; word-break: break-all; color: #E2C992; }
.inv-card .row { display: flex; gap: 8px; } .inv-card .row .btn { flex: 1; }
.club-join label.inv-pend input { box-shadow: inset 0 0 0 1.5px #E2C992; }
.acct-kv dd { word-break: break-all; }
.ab-top { display: flex; align-items: flex-start; justify-content: space-between; } .ab-top img { width: 108px; height: 108px; object-fit: contain; margin: -6px 0 -4px -8px; }
.ab-h { margin: 6px 0 6px; }
.rl h4 { margin: 16px 0 6px; font-size: 15px; color: #F2CE6B; } .rl p { margin: 0 0 6px; line-height: 1.65; font-size: 14px; color: #E9E4DA; } .rl p.small { font-size: 12.5px; color: rgba(237,232,222,.7); }
.rl-t { width: 100%; border-collapse: collapse; font-size: 13px; } .rl-t th { width: 74px; padding: 7px 6px 7px 0; text-align: left; color: #F6E3A6; white-space: nowrap; vertical-align: top; }
.rl-t td { padding: 7px 0; color: #E9E4DA; line-height: 1.45; border-bottom: 1px solid rgba(255,255,255,.05); } .rl-t th { border-bottom: 1px solid rgba(255,255,255,.05); } .rl-t td.num { width: 34px; text-align: right; font-weight: 800; color: #F2CE6B; }
/* 轮播海报（2026-11-16）：5:2 先占好高度，整张图完整显示（不裁标题和徽标） */
.sh-banner.pics { background: #141418; }
.sh-banner.pics .bn-slide { height: auto; aspect-ratio: 5 / 2; }
.bn-pic { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
div.bn-pic { cursor: default; }
.bn-pic img { display: block; width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; user-select: none; }
.sh-banner.pics .bn-dots { bottom: 6px; } .sh-banner.pics .bn-dots i { background: rgba(255,255,255,.55); box-shadow: 0 0 2px rgba(0,0,0,.45); } .sh-banner.pics .bn-dots i.on { background: #fff; }

/* ---- 游客体验（2026-11-16）：快速体验四张房（单列、信息优先）、游客 / 官方陪练标记 ---- */
.qx-gb { display: inline-block; padding: 0 7px; border-radius: 6px; font: 700 11px/18px "Noto Sans SC", "PingFang SC", sans-serif; color: #17130a; background: linear-gradient(180deg, #FFF0B8, #E9B949); white-space: nowrap; }
.qx-bar { gap: 8px; } .qx-bar b { font-size: 20px; } .qx-rf { font-size: 10.5px; color: #a79c86; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.qx-h small { font-size: 11.5px; color: #a79c86; }
.qx-list { display: grid; gap: 10px; }
.qx { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; row-gap: 9px; width: 100%; padding: 12px 12px 11px 14px; border: 0; border-radius: 16px; text-align: left; color: #F3EEE4; --ac: #F2CE6B; --ac2: #E8743B;
  background: linear-gradient(105deg, color-mix(in srgb, var(--ac) 10%, #141416) 0%, #141416 38%, #101012 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 6px 16px rgba(0,0,0,.26); font: inherit; cursor: pointer; transition: transform .08s; }
.qx::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, var(--ac), var(--ac2)); }
.qx:active { transform: scale(.985); filter: brightness(1.1); }
.qx:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.qx.mine { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ac) 60%, transparent), 0 6px 16px rgba(0,0,0,.26); }
.qx-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.qx-em { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--ac) 22%, #1a1a1d), #0c0c0e 75%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 40%, transparent); }
.qx-em svg { width: 26px; height: 26px; }
.qx-t { display: flex; align-items: baseline; gap: 8px; min-width: 0; flex: 1; }
.qx-t b { flex: none; font: 800 16px/1.2 "Noto Sans SC", "PingFang SC", sans-serif; color: var(--ac); }
.qx-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; color: #E8E1D3; }
.qx-no { flex: none; font-size: 11px; color: #8f8676; white-space: nowrap; } .qx-no .rno { font-style: normal; font-variant-numeric: tabular-nums; color: #c9bfa9; }
.qx-amt { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.qx-amt > span:not(.qx-cue) { display: flex; align-items: baseline; gap: 5px; padding: 5px 10px; border-radius: 10px; background: rgba(255,255,255,.04); }
.qx-amt small { font-size: 11.5px; color: #a79c86; } .qx-amt b { font: 800 19px/1.1 Archivo, "Helvetica Neue", Arial, sans-serif; color: #F6E3A6; font-variant-numeric: tabular-nums; } .qx-amt i { font-style: normal; font-size: 10.5px; color: #8f8676; }
.qx-cue { align-self: center; font-size: 11px; color: color-mix(in srgb, var(--ac) 75%, #fff); }
.qx-foot { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; row-gap: 6px; }
.qx-occ { font-size: 12px; color: #c9bfa9; white-space: nowrap; } .qx-occ b { font: 800 14px/1 Archivo, Arial, sans-serif; color: #F3EEE4; }
.qx-bots { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: #E9D9A6; white-space: nowrap; }
.qx-bots img { width: 18px; height: 18px; border-radius: 5px; background: #0c0c0e; object-fit: contain; box-shadow: inset 0 0 0 1px #d8b25a55; }
.qx-gs { font-size: 11.5px; color: #a79c86; white-space: nowrap; }
.qx-go { grid-column: 2; grid-row: 2 / span 2; align-self: center; display: grid; justify-items: center; padding: 4px 12px; border-radius: 10px; color: #2A1C05; background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 55%, #FFF0B8), var(--ac) 70%); box-shadow: inset 0 1px 0 #ffffff80; }
.qx-go b { font: 800 14px/18px "Noto Sans SC", "PingFang SC", sans-serif; white-space: nowrap; } .qx-go small { font-size: 9.5px; line-height: 12px; opacity: .78; white-space: nowrap; }
.qx-go.watch { color: var(--ac); background: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 45%, transparent); }
.qx-note { margin: 14px 2px 4px; font-size: 11.5px; line-height: 1.6; color: #8f8676; }
.qx-back { display: inline-block; margin-bottom: 10px; font-size: 13px; }
.qx-choices { display: grid; gap: 8px; margin-top: 12px; } .qx-choices .btn[disabled] { opacity: .45; }
.qx-why { margin: 8px 0 0; } .qx-lk { display: inline-block; margin-top: 10px; }
.sh-rst.off { color: #a79c86; background: rgba(255,255,255,.06); }
@media (min-width: 760px) { .qx-list { grid-template-columns: 1fr 1fr; } }
/* 牌桌上的官方陪练：头像是金博标志 + 「官方」角标（名字本身也带「官方陪练」） */
.medal.bot { background: radial-gradient(circle at 50% 35%, #2a2418, #0d0b08 75%); box-shadow: inset 0 0 0 1.5px #d8b25a88; overflow: visible; }
.medal.bot img { width: 78%; height: 78%; object-fit: contain; pointer-events: none; }
.medal.bot .bot-tag { position: absolute; left: 50%; transform: translateX(-50%); bottom: -7px; white-space: nowrap; padding: 0 4px; border-radius: 6px; font: 800 10px/15px "Noto Sans SC", "PingFang SC", sans-serif; font-style: normal; color: #17130a; background: linear-gradient(180deg, #FFF0B8, #E9B949); box-shadow: 0 0 0 1.5px #0d0a06; text-shadow: none; }
.qx-amt, .qx-foot { grid-column: 1; }
.qx-pl { white-space: nowrap; }
.qx-h { flex-wrap: wrap; row-gap: 2px; }
.qx-amt { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.qx-amt > span:not(.qx-cue) { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 4px; padding: 4px 8px; }
.qx-amt > span:not(.qx-cue) small { grid-column: 1 / -1; font-size: 10.5px; line-height: 14px; }
.qx-amt b { font-size: 18px; } .qx-amt i { white-space: nowrap; }
.qx-cue { grid-column: 1 / -1; }
.qx-foot { column-gap: 7px; }
.qx-go { padding: 6px 12px; }
/* ₮ 标志（游客的体验额度） */
.usdt { display: inline-block; width: 1em; height: 1em; vertical-align: -.14em; flex: none; }
.qx-usdt .usdt { width: 26px; height: 26px; vertical-align: middle; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.qx-u { display: inline-flex; align-self: center; } .qx-u .usdt { width: 15px; height: 15px; }
.qx-amt > span:not(.qx-cue) { grid-template-columns: auto auto 1fr; }
.sh-kv .usdt, .sum-card .usdt { width: .8em; height: .8em; margin-right: 4px; vertical-align: -.05em; }
#meGold .usdt { width: 14px; height: 14px; margin-right: 4px; }

/* ---------- 百人牛牛：红色主题（2026-11-16） ----------
   台面红（nn.js HUND_FELT），大厅的玩法筛选、房卡、快速体验卡都用同一个红；区块是压在红台面上的深色玻璃，选中 / 我押了的区仍是金色描边，和红对比清楚 */
.m-hundred { --ac: #FF5A5F; }
.rm-hundred, .qx.rm-hundred { --ac: #FF5A5F; --ac2: #F2CE6B; }
.qx.rm-hundred .qx-go:not(.watch) { color: #fff; background: linear-gradient(180deg, #FF7A7E, #E0303A 60%, #B3202A); box-shadow: inset 0 1px 0 #ffffff59, 0 2px 6px rgba(160,20,30,.35); text-shadow: 0 1px 0 rgba(0,0,0,.25); }
.ztable.hund .zone { background: linear-gradient(180deg, rgba(40,6,10,.52), rgba(20,2,5,.62)); box-shadow: inset 0 0 0 1px rgba(255,214,170,.22); }
.ztable.hund .zone.tap { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--zc) 70%, #fff); }
.ztable.hund .zone.bankerz { background: linear-gradient(180deg, rgba(60,10,14,.6), rgba(26,3,6,.7)); box-shadow: inset 0 0 0 1px rgba(242,206,107,.5); }
.ztable.hund .zone.tap.sel, .ztable.hund .zone.mine { box-shadow: inset 0 0 0 2.5px #F2CE6B, 0 0 16px rgba(242,206,107,.45); }
.ztable.hund .seat { background: rgba(30,4,8,.55); }
.ztable.jb.hund .zone { background: linear-gradient(180deg, rgba(36,6,10,.72), rgba(14,2,4,.8)); }
/* 百人的座位条是一行小胶囊：名字本身就是「官方陪练·百N」，头像下的标签会压住下一行的筹码数，这里不挂 */
.ztable.hund .medal.bot .bot-tag { display: none; }
/* 红台面上区名用更亮的四色（原来的橙红在红底上看不清），描边跟着变浅 */
.ztable.hund .zone[data-zone="1"] { --zc: #FFD9A8; } .ztable.hund .zone[data-zone="2"] { --zc: #BFE0FF; } .ztable.hund .zone[data-zone="3"] { --zc: #E4D4FF; } .ztable.hund .zone[data-zone="4"] { --zc: #C8F5DE; }
.ztable.hund .zone .zn { text-shadow: 0 1px 2px rgba(0,0,0,.55); }
.ztable.hund .zone .res.l { background: #7A0E16; box-shadow: 0 0 0 1.5px rgba(255,214,170,.7); }
.rl-t td.num { white-space: nowrap; padding-left: 6px; }

/* 快速体验卡上面的倍数切换（平倍 / 翻倍 / 超牛）：贴在卡片上沿的一排小标签，颜色跟玩法的主题色 */
.qx-grp { display: grid; --ac: #F2CE6B; }
.qx-grp.rm-hundred { --ac: #FF5A5F; }
.qx-odds { display: flex; gap: 4px; padding: 0 10px; margin-bottom: -1px; position: relative; z-index: 1; }
.qx-odds button { position: relative; flex: 0 0 auto; min-width: 54px; height: 26px; padding: 0 10px; border: 0; border-radius: 9px 9px 0 0; font: 700 12px/26px "Noto Sans SC", "PingFang SC", sans-serif; color: #a79c86; background: #141416; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); cursor: pointer; }
.qx-odds button[aria-selected="true"] { color: #17130a; background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 55%, #FFF0B8), var(--ac)); }
.qx-grp.rm-hundred .qx-odds button[aria-selected="true"] { color: #fff; background: linear-gradient(180deg, #FF7A7E, #E0303A); }
.qx-odds .qx-dot { position: absolute; right: 4px; top: 4px; width: 6px; height: 6px; border-radius: 50%; background: #47c17a; box-shadow: 0 0 0 1.5px #0d0a06; }
.qx-grp > .qx { border-top-left-radius: 6px; }
.qx-oc { flex-basis: 100%; color: #a79c86; }

/* ---------- 大厅精修（2026-11-16 用户：「写的太粗糙 不够细致 线条感太重」）----------
   原则：不用描边分区，靠明暗层次和柔和投影；去掉卡片左侧色条、标题竖条、标签页底线；
   倍数方案从三块「页签」改成卡片上方一条细的分段胶囊；底注 / 准入不再套小框。只改大厅，不动牌桌。 */
.top { border-bottom-color: transparent; box-shadow: 0 10px 24px -18px rgba(0,0,0,.9); }
.sh-title { border-left: 0; padding-left: 8px; }
.sh-bar { box-shadow: 0 8px 22px -14px rgba(0,0,0,.8); background: linear-gradient(180deg, #1b1b1f, #141417); }
.sh-find { box-shadow: none; background: #1b1c20; }
.sh-banner { box-shadow: 0 10px 26px -14px rgba(0,0,0,.85); }
.sh-modes, .sh-modes:not(#_x) { border-bottom: 0; }
.sh-modes button[aria-selected="true"]::after, .sh-modes.five button[aria-selected="true"]::after { left: 36%; right: 36%; bottom: 4px; height: 2px; border-radius: 2px; background: #EAC266; opacity: .9; }
.sh-modes button { color: #CFC8B8; font-weight: 500; }
.sh-tabs, .sh-tabs:not(#_x) { box-shadow: 0 -12px 28px rgba(0,0,0,.42); }
.sh-h h2 { box-shadow: none; padding-left: 2px; font-weight: 700; letter-spacing: 1.5px; }
.qx-h small { color: #8f8778; letter-spacing: .2px; }

/* 体验卡 */
.qx { border-radius: 18px; padding: 14px 14px 13px 16px;
  background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--ac) 9%, transparent), transparent 55%), linear-gradient(180deg, #1a1a1e, #131316);
  box-shadow: 0 10px 26px -12px rgba(0,0,0,.75); }
.qx::before { content: none; }
.qx.mine { box-shadow: 0 10px 26px -12px rgba(0,0,0,.75), 0 0 0 1px color-mix(in srgb, var(--ac) 16%, transparent), 0 0 22px -6px color-mix(in srgb, var(--ac) 35%, transparent); }
.qx-grp > .qx { border-top-left-radius: 18px; }
.qx-em { box-shadow: none; background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--ac) 26%, #1c1c20), #121214 78%); }
.qx-t b { font-weight: 700; letter-spacing: .5px; }
.qx-nm { color: #CFC8B8; font-size: 13px; }
.qx-amt, .qx-amt:not(#_x) { gap: 0 18px; }
.qx-amt > span:not(.qx-cue), .qx-amt > span:not(.qx-cue):not(#_x) { padding: 0; background: none; border-radius: 0; }
.qx-amt small { color: #8f8778; letter-spacing: .3px; }
.qx-amt b { font-weight: 700; color: #F4E2AE; }
.qx-bots img { box-shadow: none; background: #1d1d21; }
.qx-go { border-radius: 12px; padding: 7px 14px; box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--ac) 70%, transparent); }
.qx-go.watch { box-shadow: none; background: color-mix(in srgb, var(--ac) 12%, transparent); }
.qx.rm-hundred .qx-go:not(.watch) { box-shadow: 0 6px 14px -6px rgba(200,40,50,.7); }

/* 倍数方案：一条细的分段胶囊 */
.qx-odds { width: max-content; gap: 2px; padding: 3px; margin: 0 0 8px 2px; border-radius: 999px; background: rgba(255,255,255,.045); }
.qx-odds button { min-width: 50px; height: 24px; padding: 0 11px; border-radius: 999px; font: 600 12px/24px "Noto Sans SC", "PingFang SC", sans-serif; color: #9d9483; background: none; box-shadow: none; transition: background .15s, color .15s; }
.qx-odds button[aria-selected="true"] { color: #1a1408; font-weight: 700; background: linear-gradient(180deg, color-mix(in srgb, var(--ac) 45%, #FFF3C9), var(--ac)); box-shadow: 0 2px 8px -3px color-mix(in srgb, var(--ac) 80%, transparent); }
.qx-grp.rm-hundred .qx-odds button[aria-selected="true"] { color: #fff; background: linear-gradient(180deg, #FF7F83, #DC2F39); box-shadow: 0 2px 8px -3px rgba(220,47,57,.8); }
.qx-odds .qx-dot { right: 3px; top: 3px; width: 5px; height: 5px; box-shadow: none; }
.sh-tabs a.on::before { box-shadow: none; left: 14px; right: 14px; top: 4px; bottom: 4px; background: radial-gradient(70% 90% at 50% 40%, rgba(234,194,102,.16), rgba(234,194,102,0) 75%); }

/* ========== 主页 / 大厅 / 动态背景（2026-11-16 用户批准：主页和开场照参照工程原版、大厅照 hall-approved-dollar-v6、背景用参照工程的黑金动态背景）========== */
/* 动态背景（bgfx.js）：最底下一张画布，铺在页面那一列后面；画着的时候外圈和页面底色都是纯黑，内容层透明透出来。牌桌上画布藏起来，页面照旧 */
#bgfx { position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 0; display: block; pointer-events: none; }
#bgfx[hidden] { display: none; }
html.bgfx-on, html.bgfx-on body { background: #000; }
html.bgfx-on body:not(.inroom) .shell { background: transparent; box-shadow: none; }
.shell { z-index: 1; }

/* ---- 主页：版式、尺寸、位置照参照工程的游戏页（390×844 画面里：顶部 20 起 40 高；大徽标中心 190、半径 84；淡金线 282；标语 318；房间号 432；按钮 562；统计 716） ---- */
body.shellp .sh-body.home { padding: 0; }
.hm { position: relative; padding: calc(20px + env(safe-area-inset-top)) 6px 0; text-align: center; }
.hm-top { display: flex; align-items: center; justify-content: space-between; height: 40px; text-align: left; }
.hm-lock { display: inline-flex; align-items: center; gap: 10px; font: 900 19px/1 "Songti SC", "STSong", "Noto Serif SC", serif; letter-spacing: 2px; background: linear-gradient(180deg, #FFF0C2, #E9BE5C 60%, #B98A32); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-lock img { width: 30px; height: 30px; object-fit: contain; }
.hm-pts { text-align: right; line-height: 1.15; } .hm-pts small { display: block; font-size: 12px; font-weight: 500; color: rgba(237,232,222,.62); }
.hm-pts b { font: 800 22px/1.1 Archivo, "Helvetica Neue", Arial, sans-serif; color: #F6E3A6; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.hm-hero { position: relative; height: 258px; }
.hm-logo { position: absolute; left: 50%; top: 46px; width: 168px; height: 168px; margin-left: -84px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.55)); }
.hm-refl { position: absolute; left: 50%; top: 214px; width: 168px; height: 168px; margin-left: -84px; transform: scaleY(-1); opacity: .2; pointer-events: none;
  -webkit-mask-image: linear-gradient(0deg, #000 0, transparent 40%); mask-image: linear-gradient(0deg, #000 0, transparent 40%); }
.hm-floor { position: absolute; left: 50%; top: 222px; width: 220px; height: 1px; margin-left: -110px; background: linear-gradient(90deg, transparent, rgba(210,183,126,.5), transparent); }
@media (prefers-reduced-motion: no-preference) { html:not(.calm) .hm-logo { animation: hmIdle 7s ease-in-out 1.2s infinite; } }
@keyframes hmIdle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.hm-tag { margin-top: 18px; }
.hm-tag h1 { margin: 0; font: 900 26px/1.3 "Noto Sans SC", "PingFang SC", sans-serif; letter-spacing: .04em; color: #F3EEE4; }
.hm-tag p { margin: 8px 16px 0; font-size: 13.5px; font-weight: 500; color: rgba(237,232,222,.62); }
.hm-trust { margin-top: 12px; height: 34px; padding: 0 14px 0 10px; border-radius: 17px; background: linear-gradient(180deg, #232327, #19191c); box-shadow: 0 6px 14px -8px rgba(0,0,0,.8); color: #E9D29A; font: 700 13px/34px "Noto Sans SC", "PingFang SC", sans-serif; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.hm-trust svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hm-join { margin: 22px 10px 0; padding: 12px; border-radius: 22px; text-align: left; background: radial-gradient(130% 110% at 14% -25%, rgba(255,255,255,.05), rgba(255,255,255,0) 52%), linear-gradient(174deg, #25262B 0%, #202126 20%, #1B1C20 46%, #17181B 52%, #191A1E 68%, #1D1E22 100%); box-shadow: 0 12px 24px -14px rgba(0,0,0,.85); }
.j-head { display: flex; align-items: baseline; justify-content: space-between; margin: 2px 4px 10px; }
.j-title { display: inline-flex; align-items: center; gap: 8px; font: 900 17px "Noto Sans SC", "PingFang SC", sans-serif; color: #F1F1EE; }
.j-title svg { width: 20px; height: 20px; fill: none; stroke: #E4E4E1; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; align-self: center; }
.j-head small { font-size: 12px; font-weight: 500; color: rgba(237,232,222,.5); white-space: nowrap; }
.codes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; position: relative; }
.codes .cb { height: 60px; border-radius: 14px; display: grid; place-items: center; font: 800 30px/1 Archivo, "Helvetica Neue", Arial, sans-serif; color: #F3EEE4; position: relative;
  background: linear-gradient(180deg, #0E0F12 0%, #15161A 40%, #1B1C21 100%); box-shadow: inset 0 2px 5px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.04); transition: box-shadow .25s; }
.codes .cb.on { box-shadow: inset 0 2px 5px rgba(0,0,0,.55), inset 0 0 0 2px rgba(242,206,107,.75); }
.codes .cb.on:empty::before, .codes.idle .cb:first-child::before { content: ""; width: 2px; height: 28px; background: #F2CE6B; animation: blink 1.1s steps(1) infinite; }
.codes.idle .cb:first-child::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px rgba(242,206,107,.7); animation: breathe 2.6s ease-in-out infinite; pointer-events: none; }
.codes .cb.pop { animation: cbPop .35s cubic-bezier(.16, 1, .3, 1); }
.codes input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; padding: 0; background: transparent; color: transparent; font-size: 16px; caret-color: transparent; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes breathe { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes cbPop { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .codes.idle .cb:first-child::after { animation: none; opacity: .8; } .codes .cb.pop { animation: none; } }
.hm-create { display: grid; gap: 12px; margin: 22px 10px 0; }
.chrome-btn { position: relative; overflow: hidden; isolation: isolate; width: 100%; height: 64px; border-radius: 18px; border: 0; font: 900 18px "Noto Sans SC", "PingFang SC", sans-serif; letter-spacing: .06em; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
  background: radial-gradient(120% 90% at 16% -12%, rgba(255,252,236,.85), rgba(255,252,236,0) 55%), linear-gradient(172deg, #FFF6D6 0%, #FFE391 21%, #F4C750 42%, #CC9824 51.5%, #DCAA35 58%, #F6D066 79%, #FFEFBB 93%, #DDA93A 100%);
  box-shadow: inset 0 1px 0 rgba(255,251,232,.95), inset 0 -1px 0 rgba(122,82,8,.45), inset 0 -6px 10px rgba(150,104,14,.2), 0 2px 0 #8E6410, 0 3px 0 #0A0B0D, 0 14px 26px -12px rgba(0,0,0,.9); color: #16171A; text-shadow: 0 1px 0 rgba(255,255,255,.6); transition: transform .15s, box-shadow .15s; }
.chrome-btn:active { transform: translateY(2px) scale(.99); }
.chrome-btn .cb-ic { width: 22px; height: 22px; fill: none; stroke: #16171A; stroke-width: 2; stroke-linejoin: round; }
.chrome-btn::after { content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none; background: linear-gradient(76deg, rgba(255,255,255,0) 32%, rgba(30,31,35,.2) 43%, rgba(255,255,255,.92) 48.5%, #fff 50.5%, rgba(255,255,255,.4) 54%, rgba(255,255,255,0) 64%); transform: translateX(125%); animation: chromeSweep 4.6s cubic-bezier(.6, 0, .2, 1) .9s infinite; }
@keyframes chromeSweep { 0% { transform: translateX(125%); } 24%, 100% { transform: translateX(-125%); } }
@media (prefers-reduced-motion: reduce) { .chrome-btn::after { animation: none; opacity: 0; } }
html.calm .chrome-btn::after, html.calm .hm-logo, html.calm .codes .cb::after { animation: none !important; }
.line-btn { width: 100%; min-height: 64px; border-radius: 18px; border: 0; color: #F3EEE4; font: 700 16px "Noto Sans SC", "PingFang SC", sans-serif; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 20px; text-align: left; transition: transform .15s;
  background: linear-gradient(174deg, #25262B 0%, #1B1C20 50%, #1D1E22 100%); box-shadow: 0 12px 24px -14px rgba(0,0,0,.85); }
.line-btn:active { transform: scale(.98); }
.line-btn > span:first-child { min-width: 0; }
.line-btn small { display: block; font-size: 13px; font-weight: 500; color: rgba(237,232,222,.62); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seatdots { display: flex; gap: 5px; flex: none; } .seatdots i { width: 8px; height: 8px; border-radius: 50%; background: #E2C47E; } .seatdots i.e { background: rgba(237,232,222,.18); }
.hm-ticker { margin: 26px 0 10px; font-size: 13px; font-weight: 500; color: rgba(237,232,222,.62); }
.hm-ticker b { font: 800 15px Archivo, "Helvetica Neue", Arial, sans-serif; color: #F3EEE4; margin: 0 3px; }
/* 进场：照原版 slideIn（每块上移 16 像素、从模糊 4 像素淡入，0.7 秒，依次间隔 40 毫秒）；开场动画放着时先藏好，放完再滑入 */
body.intro-hold .hm .an { opacity: 0; }
.hm.anim .an { animation: hmIn .7s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes hmIn { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.splash.calm .splash-in { display: none; }
.splash.calm { background: #0b0b0d; }

/* ---- 大厅（hall-approved-dollar-v6） ---- */
.sh-body.hall .sh-banner { margin-top: 4px; }
.hl-find { flex: 0 1 200px; padding: 0 14px; gap: 8px; background: rgba(28,28,31,.9); box-shadow: none; }
.hl-find svg { width: 18px; height: 18px; flex: none; fill: none; stroke: rgba(237,232,222,.7); stroke-width: 2; stroke-linecap: round; }
.bn-count { position: absolute; right: 10px; bottom: 9px; padding: 2px 9px; border-radius: 10px; background: rgba(0,0,0,.42); color: #fff; font: 700 12px/18px Archivo, "Helvetica Neue", Arial, sans-serif; pointer-events: none; }
.hl-bar { display: flex; align-items: center; gap: 14px; height: 50px; margin-top: 12px; padding: 0 16px; border-radius: 14px; background: linear-gradient(180deg, rgba(34,34,38,.92), rgba(24,24,27,.92)); box-shadow: 0 8px 18px -12px rgba(0,0,0,.8); }
.hl-gb { flex: none; padding-right: 14px; font-size: 15px; font-weight: 600; color: #F3EEE4; box-shadow: 1px 0 0 rgba(255,255,255,.1); }
.hl-amt { flex: 1; min-width: 0; text-align: center; font-size: 14.5px; color: #E9E4D8; white-space: nowrap; }
.hl-amt b { font: 800 19px/1 Archivo, "Helvetica Neue", Arial, sans-serif; color: #F2CE6B; margin-left: 4px; font-variant-numeric: tabular-nums; }
.hl-bar small { flex: none; font-size: 12px; color: rgba(237,232,222,.55); }
.hl-modes { border-bottom-color: rgba(255,255,255,.07); }
.hl-filter { display: flex; align-items: center; gap: 12px; height: 46px; margin-top: 4px; }
.hl-odds { position: relative; display: inline-flex; align-items: center; }
.hl-odds select { appearance: none; -webkit-appearance: none; height: 36px; padding: 0 22px 0 2px; border: 0; background: none; color: #F3EEE4; font-size: 15px; font-weight: 600; }
.hl-odds i { position: absolute; right: 4px; top: 12px; width: 7px; height: 7px; border: solid #F3EEE4; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); pointer-events: none; }
.hl-sw { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0; border: 0; background: none; color: #D9D3C6; font-size: 14px; }
.hl-sw i { position: relative; width: 40px; height: 22px; border-radius: 11px; background: #3a3a3f; transition: background .2s; }
.hl-sw i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #F3EEE4; transition: transform .2s; }
.hl-sw[aria-checked="true"] i { background: linear-gradient(180deg, #F2CE6B, #C9963C); } .hl-sw[aria-checked="true"] i::after { transform: translateX(18px); }
.hl-sw:focus-visible, .hc:focus-visible, .hl-odds select:focus-visible { outline: 2px solid #F2CE6B; outline-offset: 2px; }
.hl-cnt { flex: none; padding-left: 12px; font-size: 14px; color: #D9D3C6; box-shadow: -1px 0 0 rgba(255,255,255,.1); }
.hl-list { display: grid; gap: 12px; margin-top: 6px; }
/* 房间卡：一列、无描边、无内分隔线；面上上亮下暗一点点（中性灰 + 右边一点这种牛牛的色），底下一层贴地的小阴影 + 一层散开的环境阴影，轻轻浮起来 */
.hc { --tint: 216,170,82; position: relative; width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) 62px; align-items: center; gap: 14px; padding: 16px 14px 16px 16px; border: 0; border-radius: 18px; text-align: left; color: #F3EEE4;
  background: radial-gradient(90% 120% at 100% 40%, rgba(var(--tint), .075), rgba(var(--tint), 0) 62%), linear-gradient(180deg, #27272b 0%, #1f1f23 46%, #1a1a1d 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,.55), 0 4px 8px -2px rgba(0,0,0,.35), 0 16px 28px -14px rgba(0,0,0,.8); transition: transform .12s; -webkit-tap-highlight-color: transparent; }
.hc:active { transform: translateY(1px) scale(.995); }
.hc.rm-peek { --tint: 96,160,108; } .hc.rm-compare { --tint: 98,128,206; } .hc.rm-hundred { --tint: 206,74,62; }
.hc.mine { background: radial-gradient(90% 120% at 100% 40%, rgba(var(--tint), .09), rgba(var(--tint), 0) 62%), linear-gradient(180deg, #2e2a22 0%, #24211b 46%, #1d1b17 100%); }
.hc-ring { position: relative; width: 64px; height: 64px; display: grid; place-items: center; }
.hc-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hc-ring .tr { fill: none; stroke: #343439; stroke-width: 5; }
.hc-ring .ar { fill: none; stroke: #E0B254; stroke-width: 5; stroke-linecap: round; }
.hc.full .hc-ring .ar { stroke: #C77D4E; }
.hc-ring b { position: relative; font: 800 17px/1 Archivo, "Helvetica Neue", Arial, sans-serif; color: #F3EEE4; letter-spacing: -.02em; }
.hc-info { min-width: 0; display: grid; gap: 6px; }
.hc-t { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.hc-t b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 800 17px/1.25 "Noto Sans SC", "PingFang SC", sans-serif; color: #F6EEDC; }
.hc-t small { flex: none; font-size: 12.5px; color: rgba(237,232,222,.72); white-space: nowrap; }
.hc-amt { display: flex; gap: 16px; align-items: baseline; min-width: 0; white-space: nowrap; }
.hc-amt > span { display: inline-flex; align-items: baseline; gap: 6px; min-width: 0; }
.hc-amt small { font-size: 13px; color: rgba(237,232,222,.72); }
.hc-amt b { font: 800 18px/1.1 Archivo, "Helvetica Neue", Arial, sans-serif; color: #F6EEDC; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.hc-meta { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 12.5px; color: rgba(237,232,222,.7); white-space: nowrap; overflow: hidden; }
.hc-meta > span { overflow: hidden; text-overflow: ellipsis; } .hc-meta .num { font-style: normal; font-family: Archivo, "Helvetica Neue", Arial, sans-serif; }
.hc-meta .dot { font-style: normal; opacity: .6; }
.hc-st { color: #6fd28f; flex: none; } .hc-st.live { color: #F2CE6B; } .hc-st.off { color: #b9b3a6; }
.hc-side { display: grid; justify-items: center; gap: 6px; }
.hc-em svg { display: block; width: 46px; height: 46px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.45)); }
.hc-go { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: #F3EEE4; white-space: nowrap; }
.hc-go svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hc.mine .hc-go { color: #F2CE6B; }
@media (max-width: 374px) {
  .hc { grid-template-columns: 54px minmax(0, 1fr) 50px; gap: 10px; padding: 14px 10px 14px 12px; }
  .hc-ring { width: 54px; height: 54px; } .hc-ring b { font-size: 15px; } .hc-em svg { width: 40px; height: 40px; }
  .hc-amt { gap: 10px; } .hc-amt b { font-size: 16px; } .hc-t small { font-size: 11.5px; } .hc-meta { font-size: 11.5px; }
  .hl-bar { gap: 10px; padding: 0 12px; } .hl-gb { padding-right: 10px; font-size: 14px; } .hl-amt { font-size: 13px; } .hl-amt b { font-size: 17px; }
  .hm-tag h1 { font-size: 23px; } .codes { gap: 6px; } .codes .cb { height: 54px; font-size: 26px; }
}
/* 底部导航：大厅图标里那张黑桃牌 */
.sh-tabs svg .sp { fill: currentColor; stroke: none; }
.hm-create { grid-template-columns: minmax(0, 1fr); }
.seatdots.many { gap: 4px; } .seatdots.many i { width: 6px; height: 6px; }
.sh-body.home { overflow-x: clip; }
/* 纵向位置对齐原版（390×844：标语 318、房间号 432、按钮 562、统计 716） */
.hm-tag { margin-top: 0; } .hm-join { margin-top: 8px; } .hm-create { margin-top: 10px; } .hm-ticker { margin-top: 14px; }
.hm-tag p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 卡片里一行放得下：房号、状态不截；官方陪练放不下才省略。窄一点的圈和徽章列，给中间多留地方 */
.hc { grid-template-columns: 58px minmax(0, 1fr) 54px; gap: 12px; padding: 15px 12px 15px 14px; }
.hc-ring { width: 58px; height: 58px; } .hc-ring b { font-size: 16px; }
.hc-t { gap: 8px; } .hc-t b { font-size: 16px; } .hc-t small { font-size: 12px; }
.hc-amt { gap: 14px; } .hc-amt small { font-size: 12.5px; } .hc-amt b { font-size: 17px; }
.hc-meta { gap: 4px; font-size: 12px; } .hc-meta .no, .hc-meta .hc-st { flex: none; } .hc-meta .bots { min-width: 0; }
.hc-em svg { width: 44px; height: 44px; }
.sh-head.hall .sh-title { border-left: 0; padding-left: 4px; }
.hl-find { flex: 1 1 auto; max-width: 196px; }
.hl-find input { font-size: 14px; }
@media (max-width: 374px) {
  .hc { grid-template-columns: 50px minmax(0, 1fr) 46px; gap: 9px; padding: 13px 10px 13px 11px; }
  .hc-ring { width: 50px; height: 50px; } .hc-ring b { font-size: 14px; } .hc-em svg { width: 38px; height: 38px; }
  .hc-t b { font-size: 15px; } .hc-amt b { font-size: 15.5px; } .hc-meta { font-size: 11px; } .hc-amt small { font-size: 11.5px; }
  .hl-find { max-width: 150px; }
}
.hc { grid-template-columns: 54px minmax(0, 1fr) 48px; gap: 10px; padding: 15px 10px 15px 12px; }
.hc-ring { width: 54px; height: 54px; } .hc-ring b { font-size: 15.5px; }
.hc-meta { gap: 3px; font-size: 11.5px; } .hc-em svg { width: 42px; height: 42px; }
.hl-find { padding: 0 10px 0 12px; gap: 6px; } .hl-find input { font-size: 13px; }
@media (max-width: 374px) {
  .hc { grid-template-columns: 48px minmax(0, 1fr) 42px; gap: 9px; padding: 13px 9px 13px 11px; }
  .hc-ring { width: 48px; height: 48px; } .hc-ring b { font-size: 14px; } .hc-em svg { width: 38px; height: 38px; }
  .hc-t b { font-size: 15px; } .hc-t small { font-size: 11px; } .hc-amt { gap: 10px; } .hc-amt b { font-size: 15.5px; } .hc-amt small { font-size: 11.5px; }
  .hc-meta { flex-wrap: wrap; white-space: normal; row-gap: 1px; font-size: 11px; } .hc-go { font-size: 13px; }
}

/* ---------- 2026-11-16 用户：「整个页面明亮一点，质感更细腻、清晰；页面框架要固定的地方固定，不要随便点击滑动就乱放大或者主体抖动散乱」 ---------- */
/* 框架固定：不缩放（双击、输入框聚焦都不放大：输入框字号不小于 16px）、不回弹、不横向晃；顶栏和底栏固定 */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; overscroll-behavior: none; }
body { overscroll-behavior: none; overflow-x: hidden; -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
input, select, textarea { font-size: 16px !important; }
.hl-find input, .codes input { font-size: 16px !important; }
.sh-head.hall { position: sticky; top: 0; z-index: 25; margin: 0 -14px; padding-left: 16px; padding-right: 14px; background: linear-gradient(180deg, rgba(8,8,10,.94), rgba(8,8,10,.78)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
/* 点按反馈只换一点底色，不缩放、不位移（滑动时手指扫过不会让卡片一跳一跳） */
.hc, .line-btn, .chrome-btn, .hm-trust { transition: filter .15s; }
.hc:active, .line-btn:active, .chrome-btn:active { transform: none; filter: brightness(1.08); }
.hm-logo { animation: none !important; }
.hm.anim .an { animation-name: hmIn; }
/* 提亮：卡面、条、导航都亮一档；字的对比再高一点 */
.hc { background: radial-gradient(90% 120% at 100% 40%, rgba(var(--tint), .1), rgba(var(--tint), 0) 62%), linear-gradient(180deg, #313137 0%, #28282d 48%, #222226 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,.5), 0 4px 10px -3px rgba(0,0,0,.32), 0 18px 30px -16px rgba(0,0,0,.72); }
.hc::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,0) 38%); }
.hc.mine { background: radial-gradient(90% 120% at 100% 40%, rgba(var(--tint), .12), rgba(var(--tint), 0) 62%), linear-gradient(180deg, #3a342a 0%, #2e2a22 48%, #26231d 100%); }
.hc-ring .tr { stroke: #404047; } .hc-ring .ar { stroke: #EBBE5E; }
.hc-t b, .hc-amt b { color: #FFF8E8; } .hc-t small, .hc-amt small, .hc-meta { color: rgba(244,238,226,.82); }
.hc-st { color: #7fe39f; } .hc-st.live { color: #FFD873; }
.hl-bar { background: linear-gradient(180deg, rgba(46,46,51,.94), rgba(34,34,38,.94)); }
.hl-amt { color: #F4EFE4; } .hl-amt b { color: #FFD873; }
.sh-modes button { color: #F7F2E8; } .sh-modes button[aria-selected="true"] { color: #FFD873; }
.sh-tabs { background: linear-gradient(180deg, rgba(36,36,40,.96), rgba(22,22,25,.98)); }
.sh-tabs a { color: #ddd7ca; } .sh-tabs a.on { color: #FFD873; }
.hm-join, .line-btn { background: radial-gradient(130% 110% at 14% -25%, rgba(255,255,255,.07), rgba(255,255,255,0) 52%), linear-gradient(174deg, #303036 0%, #29292e 30%, #232327 60%, #26262b 100%); }
.codes .cb { background: linear-gradient(180deg, #141518 0%, #1b1c20 45%, #222328 100%); }
.hm-tag p, .hm-ticker, .hm-pts small, .line-btn small, .j-head small { color: rgba(244,238,226,.78); }
.hm-tag h1 { color: #FFF9EC; }
.hm-trust { background: linear-gradient(180deg, #2e2e33, #232327); color: #F3DCA2; }
.hc-em svg { filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.hl-find { max-width: 168px; } .hl-find input::placeholder { letter-spacing: 0; }

/* 主页三维金标（intro.js hero）：画布盖在原平面图的位置，平面图留着做量位置的锚点和没有三维时的退路 */
.hm-gl { position: absolute; left: 0; top: 0; pointer-events: none; -webkit-box-reflect: below -80px linear-gradient(transparent 66%, rgba(255,255,255,.22)); }
.hm-hero.gl3 .hm-logo, .hm-hero.gl3 .hm-refl { visibility: hidden; }

/* 金额分色（2026-11-16 用户：带金额的颜色区分、显眼好看）：余额 = 亮金渐变；底注 = 暖金；准入 = 玉绿。只改颜色，不改数值 */
.hm-pts b, .hl-amt b, #meGold .num, .sh-kv .num, .sum-card b {
  background: linear-gradient(180deg, #FFF1C4 0%, #F4CF72 52%, #D9A443 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.35)); }
.hc-amt .a-base b { color: #FFD27A; text-shadow: 0 1px 0 rgba(0,0,0,.3); }
.hc-amt .a-in b { color: #8FE6C4; text-shadow: 0 1px 0 rgba(0,0,0,.3); }
.hc-amt .a-base small { color: rgba(255,214,140,.82); } .hc-amt .a-in small { color: rgba(160,232,204,.82); }
.line-btn small { color: rgba(255,226,160,.88); }

/* 百人桌「更多」按钮（2026-11-16 用户：百人房图标按钮乱 → 收成一个多功能按钮，点一下像抽屉弹出，再点收回）。
   按钮在阶段那一排的右端（--hubY 由页面按那一排的位置写入）；计分器 / 表情 / 话筒平时收着，展开时从按钮下面依次滑出。其它桌（含职业桌）不变。 */
.hub, .hub-tray { display: none; }
.ztable.hund:not(.pro) .center { padding-right: 50px; padding-left: 0; }
.ztable.hund:not(.pro) .hub { display: grid; place-items: center; position: absolute; z-index: 11; right: 10px; top: calc(var(--hubY, 150px) + 24px); width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #4a4c53 0%, #26282d 58%, #15161a 100%); box-shadow: 0 0 0 1.5px #0B0C0E, 0 0 0 2.6px rgba(236,220,180,.4), 0 3px 8px rgba(0,0,0,.45); transition: transform .2s; touch-action: manipulation; }
.ztable.hund:not(.pro) .hub svg { width: 22px; height: 22px; fill: #F4DDA2; transition: transform .22s; pointer-events: none; }
.ztable.hund.hub-open:not(.pro) .hub { box-shadow: 0 0 0 1.5px #0B0C0E, 0 0 0 2.6px #E9C46A, 0 3px 10px rgba(0,0,0,.5); }
.ztable.hund.hub-open:not(.pro) .hub svg { transform: rotate(90deg); }
/* 抽屉底板：从按钮下面向下拉开 */
.ztable.hund:not(.pro) .hub-tray { display: block; position: absolute; z-index: 9; right: 6px; top: calc(var(--hubY, 150px) + 44px); width: 50px; height: 176px; border-radius: 25px;
  background: linear-gradient(180deg, rgba(20,20,24,.86), rgba(12,12,15,.9)); box-shadow: 0 0 0 1px rgba(236,220,180,.22), 0 8px 18px rgba(0,0,0,.45);
  transform-origin: 50% 0; transform: scaleY(0); opacity: 0; transition: transform .22s cubic-bezier(.2,.8,.2,1), opacity .15s; pointer-events: none; }
.ztable.hund.hub-open:not(.pro) .hub-tray { transform: none; opacity: 1; pointer-events: auto; }
/* 三个功能键：收着时藏在按钮后面，展开时依次滑出 */
.ztable.hund:not(.pro) .corner, .ztable.hund:not(.pro) .corner.cr, .ztable.hund:not(.pro) .cmic { left: auto; bottom: auto; right: 10px; flex-direction: column; z-index: 10;
  top: calc(var(--hubY, 150px) + 24px); opacity: 0; transform: translateY(-6px) scale(.6); pointer-events: none; transition: transform .22s cubic-bezier(.2,.8,.2,1), opacity .15s; }
.ztable.hund:not(.pro) .cmic { width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #43464D 0%, #24262B 58%, #15161A 100%); box-shadow: 0 0 0 1.5px #0B0C0E, 0 0 0 2.6px rgba(236,220,180,.32), 0 3px 8px rgba(0,0,0,.45); }
.ztable.hund:not(.pro) .cmic svg { width: 24px; height: 24px; }
.ztable.hund.hub-open:not(.pro) .corner.cl { opacity: 1; transform: translateY(50px); pointer-events: auto; }
.ztable.hund.hub-open:not(.pro) .corner.cr { opacity: 1; transform: translateY(100px); pointer-events: auto; transition-delay: .03s; }
.ztable.hund.hub-open:not(.pro) .cmic { opacity: 1; transform: translateY(150px); pointer-events: auto; transition-delay: .06s; }
.ztable.hund:not(.pro) .mic-tip { right: 62px; left: auto; top: calc(var(--hubY, 150px) + 178px); bottom: auto; transform: none; }
.calm .ztable.hund:not(.pro) .hub-tray, .calm .ztable.hund:not(.pro) .corner, .calm .ztable.hund:not(.pro) .cmic, .calm .ztable.hund:not(.pro) .hub svg { transition: none; }

/* 百人桌玩家收成右上角一块（2026-11-16 用户：玩家缩到一块，半透明头像叠在一起，右上角写这桌多少人）：
   平时只显示人数徽章（前三位的头像半透明叠放 + N 人），点一下名单从徽章下面像抽屉展开，再点 / 点外面收回。 */
.hpeople { display: none; }
.ztable.hund .hbox { top: 104px; }
.ztable.hund .hpeople { display: flex; align-items: center; gap: 4px; position: absolute; z-index: 12; top: 62px; right: 10px; height: 34px; padding: 0 12px 0 4px; border: 0; border-radius: 17px;
  background: rgba(20,6,9,.5); box-shadow: inset 0 0 0 1px rgba(246,227,166,.22); color: #F6E7C1; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); touch-action: manipulation; }
.ztable.hund .hp-avs { display: flex; padding-left: 8px; }
.ztable.hund .hp-av { position: relative !important; inset: auto !important; left: auto !important; top: auto !important; flex: none; animation: none !important; width: 26px !important; height: 26px !important; margin-left: -8px; border-radius: 50% !important; opacity: .62; box-shadow: 0 0 0 1.5px rgba(20,6,9,.9) !important; overflow: hidden; font-size: 11px !important; transform: none !important; }
.ztable.hund .hp-av * { max-width: 100%; max-height: 100%; }
.ztable.hund .hpeople b { font: 800 16px/1 Archivo, "Helvetica Neue", Arial, sans-serif; margin-left: 4px; } .ztable.hund .hpeople small { font-size: 12px; opacity: .8; }
.ztable.hund.ppl-open .hpeople { box-shadow: inset 0 0 0 1.5px #E9C46A; }
.ztable.hund .hrail { position: absolute; z-index: 12; top: 102px; right: 10px; width: 210px; max-height: 52%; overflow: auto; scrollbar-width: none; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 6px; padding: 8px;
  border-radius: 16px; background: rgba(16,6,8,.9); box-shadow: 0 0 0 1px rgba(246,227,166,.2), 0 10px 24px rgba(0,0,0,.5);
  transform-origin: 100% 0; transform: scale(.6); opacity: 0; visibility: hidden; transition: transform .2s cubic-bezier(.2,.8,.2,1), opacity .15s, visibility 0s .2s; }
.ztable.hund.ppl-open .hrail { transform: none; opacity: 1; visibility: visible; transition: transform .2s cubic-bezier(.2,.8,.2,1), opacity .15s; }
.ztable.hund .hrail .seat { justify-content: flex-start; }
.calm .ztable.hund .hrail { transition: none; }
/* 2026-11-16 用户：多功能按钮放在玩家人数徽章的前面、同一排。徽章定宽，按钮紧挨在它左边，抽屉从按钮往下拉开；阶段那一排不再给按钮留位置 */
.ztable.hund .hpeople { width: 116px; justify-content: flex-end; }
.ztable.hund:not(.pro) .center { padding-right: 0; }
.ztable.hund:not(.pro) .hub { top: 58px; right: 136px; }
.ztable.hund:not(.pro) .hub-tray { top: 78px; right: 132px; }
.ztable.hund:not(.pro) .corner, .ztable.hund:not(.pro) .corner.cr, .ztable.hund:not(.pro) .cmic { top: 58px; right: 136px; }
.ztable.hund:not(.pro) .mic-tip { top: 236px; right: 188px; }
/* 2026-11-16 用户：庄家的牌面大一点；庄位带金博标志 */
.ztable.hund .zone.bankerz { --card-w: 40px; gap: 10px; padding: 10px 8px; }
.ztable.hund .zone.bankerz .zn { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 18px; }
.ztable.hund .zone.bankerz .zlogo { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }


/* 百人筹码 v2（2026-11-16 用户：不要紫色；筹码真实有质感）：真实赌场筹码的结构——外圈 8 块边花、一圈细虚线内环、中间奶白圆芯写面值、
   底边一道厚度。颜色：10 酒红 / 20 午夜蓝 / 50 墨绿 / 100 石墨黑 / 500 象牙白 / 1000 香槟金。同一套颜色用在押注区里的筹码堆上。 */
.ztable.hund .chips:not(.plain) .chip, .ztable.hund .zstk .sk { --cc: #7C1D2C; --cd: #4A0E18; --ins: #F1E6CF; --in: #F4EBD8; --ct: #6B1422; }
.ztable.hund .chips:not(.plain) .c1, .ztable.hund .zstk .d1 { --cc: #8A1F2F; --cd: #4A0E18; --ins: #F1E6CF; --in: #F5ECDA; --ct: #7A1A2A; }
.ztable.hund .chips:not(.plain) .c2, .ztable.hund .zstk .d2 { --cc: #1F3F68; --cd: #0F2240; --ins: #E9EEF5; --in: #F1F3F6; --ct: #1C3A60; }
.ztable.hund .chips:not(.plain) .c3, .ztable.hund .zstk .d3 { --cc: #1E5E4C; --cd: #0D3329; --ins: #EEF2E6; --in: #F2F4EC; --ct: #1A5444; }
.ztable.hund .chips:not(.plain) .c4, .ztable.hund .zstk .d4 { --cc: #24262C; --cd: #0C0D10; --ins: #D9B76A; --in: #F3E9D2; --ct: #1E2026; }
.ztable.hund .chips:not(.plain) .c5, .ztable.hund .zstk .d5 { --cc: #E4DAC4; --cd: #A69878; --ins: #8A1F2F; --in: #FBF6EA; --ct: #6E1A27; }
.ztable.hund .chips:not(.plain) .c6, .ztable.hund .zstk .d6 { --cc: #B9934B; --cd: #6E5220; --ins: #F8EED6; --in: #FBF3DF; --ct: #5A3F10; }
.ztable.hund .chips:not(.plain) .chip { position: relative; width: 44px; height: 44px; color: var(--ct); text-shadow: none; font: 800 11px/1 Archivo, "Helvetica Neue", Arial, sans-serif; letter-spacing: -.02em;
  background: radial-gradient(circle at 50% 50%, var(--in) 0 38%, rgba(0,0,0,.18) 38.5% 40%, var(--cc) 41% 61%, transparent 62%),
    repeating-conic-gradient(from -7deg, var(--ins) 0 14deg, var(--cc) 14deg 45deg);
  box-shadow: inset 0 0 0 1.2px rgba(0,0,0,.35), inset 0 1px 1px rgba(255,255,255,.35), 0 2.5px 0 var(--cd), 0 4px 0 rgba(0,0,0,.28), 0 7px 10px rgba(0,0,0,.38); }
.ztable.hund .chips:not(.plain) .chip::before { content: ""; position: absolute; inset: 20%; border-radius: 50%; border: 1.3px dashed var(--ins); opacity: .75; pointer-events: none; }
.ztable.hund .chips:not(.plain) .chip::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,0) 42%, rgba(0,0,0,0) 60%, rgba(0,0,0,.18)); }
.ztable.hund .chips:not(.plain) .chip.sel { transform: translateY(-6px); box-shadow: inset 0 0 0 1.2px rgba(0,0,0,.35), 0 2.5px 0 var(--cd), 0 0 0 2px #F2D58A, 0 0 14px rgba(242,213,138,.6), 0 10px 14px rgba(0,0,0,.45); }

/* 押注区筹码堆：同面值摞一堆，每枚是一枚斜看的筹码（椭圆面 + 底边厚度和边花），堆越多越高 */
.ztable.hund .zstk { position: absolute; left: 4px; right: 4px; bottom: 4px; height: 60px; pointer-events: none; z-index: 0; }
.ztable.hund .zone > .zn, .ztable.hund .zone > .hand, .ztable.hund .zone > .type, .ztable.hund .zone > .zt, .ztable.hund .zone > .zm, .ztable.hund .zone > .zp { position: relative; z-index: 1; }
.ztable.hund .sk-pile { position: absolute; width: 24px; height: 40px; margin-left: -12px; rotate: var(--pr, 0deg); }
.ztable.hund .sk-pile.loose { rotate: none; }
.ztable.hund .zstk .sk { position: absolute; left: var(--dx, 0px); bottom: calc(var(--k) * 4px); width: 24px; height: 12px; border-radius: 50%; rotate: var(--r, 0deg);
  background: radial-gradient(ellipse at 50% 46%, var(--in) 0 24%, var(--cc) 25% 57%, transparent 58%), repeating-conic-gradient(from -7deg at 50% 46%, var(--ins) 0 14deg, var(--cc) 14deg 45deg);
  box-shadow: 0 2px 0 var(--cd), 0 3px 2px rgba(0,0,0,.4); }
.ztable.hund .zstk .sk.new { animation: skDrop .3s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes skDrop { from { transform: translateY(-16px); opacity: 0; } to { transform: none; opacity: 1; } }
.calm .ztable.hund .zstk .sk.new { animation: none; }
/* 散堆的筹码在字后面：字加一圈暗影，压在筹码上也看得清 */
.ztable.hund .zone > .zt, .ztable.hund .zone > .zm, .ztable.hund .zone > .zp { z-index: 2; text-shadow: 0 1px 2px rgba(0,0,0,.85), 0 0 6px rgba(0,0,0,.6); }

/* 2026-11-16 用户：百人四宫格不要四个盒子——就是桌布上画的虚线分成四格；天地玄黄是格子里铺满的大水印字 */
.ztable.hund:not(.pro) .zones { gap: 0; }
.ztable.hund:not(.pro) .zone.bankerz { margin-bottom: 10px; }
.ztable.hund:not(.pro) .zone:not(.bankerz), .ztable.jb.hund:not(.pro) .zone:not(.bankerz) { border-radius: 0; background: transparent; box-shadow: none; overflow: hidden; padding-top: 10px; }
.ztable.hund:not(.pro) .zone[data-zone="1"] { border-right: 1.5px dashed rgba(255,226,180,.42); border-bottom: 1.5px dashed rgba(255,226,180,.42); }
.ztable.hund:not(.pro) .zone[data-zone="2"] { border-bottom: 1.5px dashed rgba(255,226,180,.42); }
.ztable.hund:not(.pro) .zone[data-zone="3"] { border-right: 1.5px dashed rgba(255,226,180,.42); }
/* 水印大字：铺满整格，淡淡压在桌布上，牌和筹码都在它上面 */
.ztable.hund:not(.pro) .zone:not(.bankerz) > .zn { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; pointer-events: none;
  font: 900 min(150px, 34vw)/1 "STKaiti", "Kaiti SC", "Songti SC", "Noto Serif SC", serif; color: var(--zc); opacity: .17; text-shadow: none; }
/* 可押 / 选中 / 我押了：不画框，整格从里往外泛一层光 */
.ztable.hund:not(.pro) .zone.tap:not(.bankerz) { box-shadow: none; }
.ztable.hund:not(.pro) .zone.tap.sel:not(.bankerz), .ztable.hund:not(.pro) .zone.mine:not(.bankerz) { box-shadow: none; background: radial-gradient(closest-side, color-mix(in srgb, #F2CE6B 22%, transparent), transparent); }
.ztable.hund:not(.pro) .zone.tap.sel:not(.bankerz) > .zn, .ztable.hund:not(.pro) .zone.mine:not(.bankerz) > .zn { opacity: .22; }
.ztable.hund:not(.pro) .zone.nudge:not(.bankerz) { animation: zNudgeH .5s ease; } @keyframes zNudgeH { 30% { background: rgba(255,255,255,.12); } }

/* 2026-11-16 用户：庄家那块阴影底去掉；牌位像参照工程公共牌那样在桌布上有深浅的印子（纯装饰，牌放在印子上；发牌飞过来之前也看得见） */
.ztable.hund:not(.pro) .zone.bankerz, .ztable.jb.hund:not(.pro) .zone.bankerz { background: transparent; box-shadow: none; }
.ztable.hund .hslot { position: relative; z-index: 1; }
.ztable.hund .hslot > .slots { position: absolute; inset: 0; display: flex; justify-content: center; gap: 1px; pointer-events: none; }
.ztable.hund .hslot > .slots > i { flex: none; width: var(--card-w, 30px); height: calc(var(--card-w, 30px) * 1.4); margin: 0; border-radius: calc(var(--card-w, 30px) * .09);
  background: linear-gradient(180deg, rgba(0,0,0,.26), rgba(0,0,0,.14)); outline: 1.5px solid rgba(255,226,180,.16); outline-offset: 2px;
  box-shadow: inset 0 2px 5px rgba(0,0,0,.42), inset 0 -1px 0 rgba(255,236,200,.14), 0 1px 0 rgba(255,236,200,.10); }
.ztable.hund .hslot > .hand { position: relative; }
/* 百人倒计时：庄家那手牌正下方，压在四宫格十字线的上端（不占位置，出现 / 消失都不挪动别的东西） */
.ztable.hund .zone.bankerz > .timer { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 6px); z-index: 4; }
/* 搓牌：牌放大以后画布四周那圈可以出屏，不出滚动条；「直接翻开」在屏幕最下方居中 */
.sqz { overflow: hidden; }
.sqz > .sqz-go.bottom { top: auto; bottom: calc(34px + env(safe-area-inset-bottom, 0px)); z-index: 2; }

/* 2026-11-16 用户：百人只有房间设置、计分器、牌局记录和聊天——多功能按钮、桌角计分 / 表情、按住说话都不出 */
.ztable.hund .hub, .ztable.hund .hub-tray, .ztable.hund .corner, .ztable.hund .cmic, .ztable.hund .mic-tip { display: none !important; }
.tt-ent[hidden] { display: none; }
/* 顶栏聊天图标：牌局记录左边；有没看的消息时右上角一个小红点 */
#chatBtn { position: relative; }
#chatBtn .dot { position: absolute; top: 10px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: #FF5A5F; box-shadow: 0 0 0 1.5px rgba(0,0,0,.5); display: none; }
#chatBtn.unread .dot { display: block; }
/* 聊天（显示照参照工程）：左边一块深色玻璃面板，顶栏下面到桌底；每句「头像 + 气泡」 */
.chat-panel { position: absolute; z-index: 40; left: 8px; top: 64px; bottom: 8px; width: min(76%, 300px); box-sizing: border-box; padding: 6px 10px 10px; display: flex; flex-direction: column; gap: 8px; border-radius: 18px; touch-action: pan-y;
  background: radial-gradient(130% 110% at 14% -25%, rgba(255,255,255,.07), rgba(255,255,255,0) 52%), linear-gradient(174deg, #25262B 0%, #202126 20%, #1B1C20 46%, #17181B 52%, #191A1E 68%, #1D1E22 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 18px 34px -12px rgba(0,0,0,.85); color: #EDE8DE; animation: ckIn .2s ease-out both; }
@keyframes ckIn { from { transform: translateX(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
.calm .chat-panel { animation: none; }
.ck-hd { flex: none; display: flex; align-items: center; justify-content: space-between; margin: 0 2px; }
.ck-hd b { font: 900 15px/1.3 "Noto Sans SC", "PingFang SC", sans-serif; }
.ck-x { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.06); display: grid; place-items: center; cursor: pointer; }
.ck-x svg { width: 16px; height: 16px; fill: none; stroke: #C9C3B6; stroke-width: 2.2; stroke-linecap: round; }
.ck-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 2px 2px 0; }
.ck-list::-webkit-scrollbar { display: none; }
.ck-list .none { margin: 0; padding: 52px 0 0; text-align: center; font: 500 13.5px/1.45 "Noto Sans SC", "PingFang SC", sans-serif; color: rgba(237,232,222,.45); }
.ck-msg { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 10px; }
.ck-msg:last-child { margin-bottom: 4px; }
.ck-av { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 800 14px/1 "Noto Sans SC", "PingFang SC", sans-serif; color: #fff;
  background: radial-gradient(circle at 35% 30%, hsl(var(--h) 55% 58%), hsl(var(--h) 50% 34%)); box-shadow: inset 0 1px 1px rgba(255,255,255,.3), 0 2px 4px rgba(0,0,0,.45); }
.ck-bub { min-width: 0; max-width: calc(100% - 40px); box-sizing: border-box; padding: 6px 10px 5px; border-radius: 4px 14px 14px 14px; background: rgba(237,232,222,.09); box-shadow: inset 0 0 0 1px rgba(237,232,222,.08); }
.ck-bub b { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 12px/1.3 "Noto Sans SC", "PingFang SC", sans-serif; color: #F4DDA2; }
.ck-bub p { margin: 2px 0 0; font: 500 14px/1.45 "Noto Sans SC", "PingFang SC", sans-serif; color: #EDE8DE; overflow-wrap: anywhere; word-break: break-word; white-space: pre-wrap; }
.ck-bub time { display: block; margin-top: 2px; text-align: right; font: 600 10.5px/1.2 var(--num); color: rgba(237,232,222,.45); }
.ck-msg.me .ck-bub { background: rgba(224,198,140,.17); box-shadow: inset 0 0 0 1px rgba(224,198,140,.22); }
.ck-msg.me .ck-bub b { color: #fff; }
.ck-form { flex: none; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.ck-in { position: relative; display: block; min-width: 0; }
.ck-in input { width: 100%; box-sizing: border-box; height: 38px; padding: 0 52px 0 12px; border: 0; border-radius: 12px; background: rgba(13,14,17,.6); box-shadow: inset 0 0 0 1px rgba(237,232,222,.16); color: #EDE8DE; font: 500 15px/1 "Noto Sans SC", "PingFang SC", sans-serif; outline: none; }
.ck-in i { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font: 700 11.5px/1 var(--num); font-style: normal; color: rgba(237,232,222,.45); pointer-events: none; }
.ck-in i.over { color: #F0545C; }
.ck-send { height: 38px; padding: 0 14px; border: 0; border-radius: 12px; color: #16171A; font: 700 14px/1 "Noto Sans SC", "PingFang SC", sans-serif; cursor: pointer;
  background: radial-gradient(120% 90% at 30% 0%, rgba(255,255,255,.45), rgba(255,255,255,0) 55%), linear-gradient(180deg, #F4DDA2, #D9B45E 60%, #B88E3A); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 10px rgba(0,0,0,.4); }
/* 桌面左下角的聊天消息区：没有底色和边框，只有字（带字影）；一句最多两行；新的从下面顶上来 */
.chat-feed { position: absolute; left: 7px; bottom: 100px; width: 132px; height: 98px; z-index: 6; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; display: flex; flex-direction: column;
  font: 500 11px/14px "Noto Sans SC", "PingFang SC", sans-serif; color: rgba(244,239,224,.9); text-shadow: 0 1px 2px rgba(0,0,0,.95), 0 0 4px rgba(0,0,0,.6); pointer-events: auto; touch-action: pan-y; }
.chat-feed::-webkit-scrollbar { display: none; }
.chat-feed:empty { pointer-events: none; }
.chat-feed p { flex: none; margin: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; word-break: break-all; }
.chat-feed p:first-child { margin-top: auto; }
.chat-feed b { font-weight: 700; color: #F4DDA2; }
.chat-feed p.me b { color: #fff; }
.ztable:not(.hund) .chat-feed { display: none; }
/* 设置里搓牌横放 / 竖放的小样：一张牌的轮廓 */
.ts-sq { display: block; margin: 2px auto 4px; border-radius: 3px; background: linear-gradient(160deg, #2a2a30, #121216); box-shadow: inset 0 0 0 1.5px #E9C46A; }
.ts-sq-h { width: 34px; height: 24px; } .ts-sq-v { width: 24px; height: 34px; }

/* 2026-11-16 用户：倒计时再大点 */
.ztable.hund .zone.bankerz > .timer { width: 66px; height: 66px; transform: translate(-50%, 8px); box-shadow: 0 4px 12px rgba(0,0,0,.45); }
.ztable.hund .zone.bankerz > .timer b { font-size: 28px; }

/* 百人筹码 v3（2026-11-16 用户：筹码更逼真一点）：
   按键：六块方边花一直贯穿到外沿、外沿一圈细棱纹和倒角、压出来的一圈模压环、中间纸贴面值（细色线框）、左上一层高光
   押注区：每一枚是一截真的圆柱——侧面是一圈竖条边花加圆柱明暗，只有最上面那枚露出正面，下面的只看到侧边（真筹码摞起来就是这样） */
.ztable.hund .chips:not(.plain) .chip { width: 46px; height: 46px; font-size: 11.5px;
  background:
    radial-gradient(circle at 34% 26%, rgba(255,255,255,.38), rgba(255,255,255,0) 42%),
    radial-gradient(circle, var(--in) 0 33%, var(--cc) 33.6% 35.4%, var(--in) 36% 37.4%, rgba(0,0,0,.28) 38% 39.6%, transparent 40%),
    radial-gradient(circle, transparent 0 52%, rgba(0,0,0,.22) 52.6% 54%, transparent 54.6%),
    radial-gradient(circle, var(--cc) 0 53%, transparent 53.5%),
    repeating-conic-gradient(rgba(0,0,0,.07) 0 1.5deg, rgba(0,0,0,0) 1.5deg 3deg),
    repeating-conic-gradient(from -11deg, var(--ins) 0 22deg, var(--cc) 22deg 60deg);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.45), inset 0 -2.5px 3px rgba(0,0,0,.35), inset 0 2px 2px rgba(255,255,255,.32),
    0 2px 0 var(--cd), 0 3.5px 0 color-mix(in srgb, var(--cd) 70%, #000), 0 8px 12px rgba(0,0,0,.42); }
.ztable.hund .chips:not(.plain) .chip::before { inset: 23%; border: 1px dashed color-mix(in srgb, var(--ins) 80%, transparent); opacity: .55; }
.ztable.hund .chips:not(.plain) .chip::after { background: linear-gradient(155deg, rgba(255,255,255,.22), rgba(255,255,255,0) 38%, rgba(0,0,0,0) 62%, rgba(0,0,0,.22)); }
.ztable.hund .chips:not(.plain) .chip.sel { box-shadow: inset 0 0 0 1px rgba(0,0,0,.45), inset 0 2px 2px rgba(255,255,255,.32), 0 2px 0 var(--cd), 0 0 0 2px #F2D58A, 0 0 16px rgba(242,213,138,.6), 0 12px 16px rgba(0,0,0,.45); }

.ztable.hund .zstk .sk { height: 15px; border-radius: 12px / 5.5px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.42), rgba(0,0,0,0) 26%, rgba(255,255,255,.16) 44%, rgba(0,0,0,0) 62%, rgba(0,0,0,.46)),
    repeating-linear-gradient(90deg, var(--cc) 0 3.4px, var(--ins) 3.4px 5.2px, var(--cc) 5.2px 8px);
  box-shadow: 0 1px 1.5px rgba(0,0,0,.5); }
.ztable.hund .zstk .sk::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 11px; border-radius: 50%;
  background:
    radial-gradient(ellipse at 38% 30%, rgba(255,255,255,.35), rgba(255,255,255,0) 45%),
    radial-gradient(ellipse, var(--in) 0 27%, rgba(0,0,0,.22) 28% 30%, var(--cc) 31% 55%, transparent 56%),
    repeating-conic-gradient(from -11deg, var(--ins) 0 22deg, var(--cc) 22deg 60deg);
  box-shadow: inset 0 0 0 .6px rgba(0,0,0,.4), inset 0 -1px 1px rgba(0,0,0,.25); }
/* 百人桌布颜色的小样：一块带亮暗的圆角桌布 */
.ts-hfelts { flex-wrap: wrap; }
.ts-hfelt { display: block; width: 46px; height: 32px; margin: 2px auto 4px; border-radius: 10px; background: radial-gradient(ellipse 80% 70% at 50% 35%, var(--a), var(--b) 55%, var(--c)); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 3px 6px rgba(0,0,0,.35); }

/* ==== 战绩 / 我的（2026-11-16 版式照参照工程这两页；用户：精致细腻有质感，线条感很少很少，用颜色和阴影出立体感） ====
   卡片 = 上亮下暗的深色金属面 + 一层软投影 + 极淡的顶部高光，不画描边和分隔线；分段和下拉 = 压进去的凹槽；重点数字和环用香槟金。 */
body.shellp {
  --j-face: linear-gradient(174deg, #2A2B30 0%, #222328 26%, #1B1C20 55%, #18191C 100%);
  --j-lift: 0 18px 32px -18px rgba(0,0,0,.95), 0 3px 8px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.07);
  --j-well: inset 0 2px 6px rgba(0,0,0,.55), inset 0 -1px 0 rgba(255,255,255,.035);
  --j-champ: #E9CE95;
}
.sh-body.stp, .sh-body.mep { padding-top: calc(16px + env(safe-area-inset-top)); }
/* -- 战绩 -- */
.st-head { padding: 26px 4px 0; }
.st-head h1 { margin: 0; font-size: 30px; font-weight: 900; letter-spacing: .02em; color: #F3EEE4; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.st-head p { margin: 6px 0 0; font-size: 14px; color: rgba(237,232,222,.6); }
.st-scope { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; margin: 16px 0 4px; }
.st-scope .sh-club { width: auto; min-width: 0; height: 36px; border-radius: 18px; background: #141518; box-shadow: var(--j-well); }
.st-scope .sh-club select { height: 36px; line-height: 36px; font-size: 13px; font-weight: 600; color: rgba(237,232,222,.85); }
.st-scope .sh-club i { border-top-color: var(--j-champ); }
.st-rates { display: flex; justify-content: center; align-items: flex-end; gap: 22px; margin: 22px 0 18px; }
.st-rate { display: grid; justify-items: center; gap: 9px; }
.st-rate .rg { position: relative; display: block; border-radius: 50%; box-shadow: 0 14px 26px -14px rgba(0,0,0,.95); }
.st-rate svg { display: block; width: 86px; height: 86px; transform: rotate(-90deg); overflow: visible; }
.st-rate.lg svg { width: 124px; height: 124px; }
.st-rate .tr { fill: rgba(0,0,0,.22); stroke: rgba(237,232,222,.07); stroke-width: 8; }
.st-rate .ar { fill: none; stroke: rgba(237,232,222,.82); stroke-width: 8; stroke-linecap: round; transition: stroke-dasharray .6s ease; }
.st-rate.lg .ar { stroke: url(#stRingG); filter: drop-shadow(0 0 7px rgba(232,199,126,.5)); }
.st-rate b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; color: #F3EEE4; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.st-rate.lg b { font-size: 31px; color: var(--j-champ); text-shadow: 0 0 18px rgba(232,199,126,.3), 0 2px 6px rgba(0,0,0,.6); }
.st-rate small { font-size: 13px; font-weight: 700; color: rgba(237,232,222,.62); }
.st-rate.lg small { color: var(--j-champ); }
.st-months { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.st-mo { border-radius: 18px; padding: 13px 14px 14px; background: var(--j-face); box-shadow: var(--j-lift); }
.st-mo small { display: block; font-size: 13px; font-weight: 700; color: rgba(237,232,222,.62); }
.st-mo b { display: block; margin-top: 3px; font-size: 25px; line-height: 1.2; color: #F3EEE4; text-shadow: 0 2px 6px rgba(0,0,0,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-mo.pos b { color: var(--j-champ); } .st-mo.neg b { color: #FF8A80; }
.st-mo span { display: block; margin-top: 2px; font-size: 12px; color: rgba(237,232,222,.45); }
.st-mo i { display: block; height: 5px; margin-top: 10px; border-radius: 3px; background: rgba(0,0,0,.35); box-shadow: inset 0 1px 2px rgba(0,0,0,.5); overflow: hidden; }
.st-mo i u { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #B99B60, #F1D9A2); box-shadow: 0 0 8px rgba(232,199,126,.4); }
.st-mo.neg i u { background: linear-gradient(90deg, #7a3a36, #e0776c); box-shadow: none; }
.st-rh { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 4px 10px; }
.st-rh b { font-size: 16px; font-weight: 800; color: #F3EEE4; }
.st-rh small { font-size: 12px; color: rgba(237,232,222,.48); }
.st-list { display: grid; gap: 9px; padding-bottom: 12px; }
.st-row { display: grid; grid-template-columns: 10px 1fr auto auto; align-items: center; gap: 12px; width: 100%; padding: 13px 14px; border: 0; border-radius: 16px; text-align: left; color: inherit; font: inherit;
  background: var(--j-face); box-shadow: var(--j-lift); transition: transform .12s; -webkit-tap-highlight-color: transparent; }
.st-row:active { transform: scale(.985); }
.st-row .dot { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #6d6e74, #3a3b40); box-shadow: inset 0 1px 2px rgba(0,0,0,.5); }
.st-row.win .dot { background: radial-gradient(circle at 35% 30%, #FFF2CC, #D2AE62); box-shadow: 0 0 10px rgba(232,199,126,.7); }
.st-row.lose .dot { background: radial-gradient(circle at 35% 30%, #ffb3ab, #b8463c); box-shadow: 0 0 8px rgba(224,100,90,.45); }
.st-row .grow b { display: block; font-size: 14.5px; font-weight: 700; color: #EFE9DC; }
.st-row .grow small { display: block; margin-top: 3px; font-size: 12px; color: rgba(237,232,222,.45); }
.st-row .net { min-width: 64px; text-align: right; font-size: 19px; color: rgba(237,232,222,.7); }
.st-row.win .net { color: var(--j-champ); text-shadow: 0 0 12px rgba(232,199,126,.25); } .st-row.lose .net { color: #FF8A80; }
.st-row .sh-rk { box-shadow: var(--j-well) !important; background: rgba(0,0,0,.3); border: 0; }
.st-row .sh-rk.rk-high, .st-row .sh-rk.rk-top { background: linear-gradient(180deg, #F6DD8E, #C99A3E); color: #3A2606 !important; box-shadow: 0 3px 8px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.5) !important; }
body.shellp .sh-empty { border: 0; background: var(--j-face); box-shadow: var(--j-lift); }
/* -- 我的：标签与入口格 -- */
.sh-body.mep .m2-sum, .sh-body.mep .m2-mrole { border: 0; background: var(--j-face); box-shadow: var(--j-lift); }
.sh-body.mep .ag-seg, .sh-body.mep .m2-kind { border: 0; box-shadow: var(--j-well); }
/* -- 从「我的」点开的流水面板：没有描边，整块从下面托起来；每行一块浅色底，不用分隔线 -- */
body.shellp .sheet-card .sum-card { border: 0; background: radial-gradient(120% 100% at 0% 0%, rgba(232,199,126,.22), transparent 55%), linear-gradient(155deg, #33291A, #1A160F); box-shadow: 0 14px 28px -14px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,236,190,.14); }
body.shellp .sheet-card .mrow { border-bottom: 0; margin: 6px 0; padding: 11px 12px; border-radius: 12px; background: rgba(255,255,255,.035); box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
body.shellp .sheet-card .btn.ghost[data-close] { border: 0; color: #EFE9DC; background: linear-gradient(180deg, #34343B, #24242A); box-shadow: 0 6px 14px -8px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08); border-radius: 20px; }
.st-rh { align-items: center; gap: 10px; margin: 14px 0 12px; }
.st-rh .st-scope { flex: 1; min-width: 0; margin: 0; grid-template-columns: 1fr 1.25fr; gap: 8px; }
.st-rh .st-scope .sh-club { height: 34px; border-radius: 17px; }
.st-rh .st-scope .sh-club select { height: 34px; line-height: 34px; font-size: 12.5px; }
.st-rh > small { flex: 0 0 auto; }
.st-none { margin: 70px 10px; text-align: center; font-size: 15px; color: rgba(237,232,222,.78); }
.st-head { padding-bottom: 4px; }
.st-rh > small { display: none; }
.st-rh .st-scope { grid-template-columns: 1fr 1.4fr; }
/* ---- 「我的」照参照工程线上「我的」页一比一（2026-11-16，数值取自线上页面的计算样式）：
   会员卡 150 高、14 圆角、哑光黑面 + 一道斜向反光、上下沿两道渐隐的香槟金细线；左上徽标 34、头像 38（深底金字、细金圈）、左下编号、右上字标、右下余额 31；
   一排三张 88 高的方块（细线金色图标），下面一整块两列的格子（62 高，图标、名字、›，格子之间一道很淡的线）。 ---- */
.sh-body.mep { padding-left: 4px; padding-right: 4px; } /* 外面 #app 已有 14，合起来两边各 18，和参照工程一样 */
.zm-card { position: relative; height: 150px; border-radius: 14px; overflow: hidden; color: #EAE5DA;
  background: linear-gradient(118deg, rgba(255,255,255,0) 30%, rgba(214,190,138,.07) 46%, rgba(255,255,255,0) 62%), linear-gradient(135deg, #1C1D21 0%, #101114 48%, #17181B 100%);
  box-shadow: inset 0 0 0 1px rgba(214,190,138,.2), 0 14px 28px -18px rgba(0,0,0,.8); }
.zm-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(100deg, rgba(214,190,138,0) 18%, rgba(232,207,151,.75) 50%, rgba(214,190,138,0) 82%) top / 100% 1px no-repeat, linear-gradient(100deg, rgba(214,190,138,0) 30%, rgba(232,207,151,.5) 62%, rgba(214,190,138,0) 92%) bottom / 100% 1px no-repeat; }
.zm-card::after { content: ""; position: absolute; inset: -40%; pointer-events: none; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.12) 48%, rgba(210,183,126,.14) 52%, transparent 60%); }
.zm-mark { position: absolute; left: 16px; top: 13px; width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.zm-brand { position: absolute; right: 20px; top: 26px; font: 800 14px/1 "Noto Sans SC", "PingFang SC", sans-serif; letter-spacing: .12em; color: rgba(237,232,222,.62); }
.zm-av { position: absolute; left: 20px; top: 66px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #24262B; color: #DCC18A; font: 800 17px/1 "Noto Sans SC", "PingFang SC", sans-serif; font-style: normal; box-shadow: 0 0 0 1.5px rgba(214,190,138,.55); z-index: 1; }
.zm-no { position: absolute; left: 20px; bottom: 18px; font: 800 14px/1 Archivo, "Helvetica Neue", Arial, sans-serif; letter-spacing: .04em; color: rgba(237,232,222,.6); z-index: 1; }
.zm-pts { position: absolute; right: 20px; bottom: 16px; text-align: right; line-height: 1.1; z-index: 1; }
.zm-pts small { display: block; margin-bottom: 5px; font-size: 12px; font-weight: 500; color: rgba(237,232,222,.55); }
.zm-pts b { display: block; font: 800 31px/1.1 Archivo, "Helvetica Neue", Arial, sans-serif; letter-spacing: .01em; color: #E9CE95; }
.sh-body.mep .m2-tabs { margin-top: 14px; }
.sh-body.mep #mePanel { margin-top: 14px; }
.sh-body.mep .zm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 1px 0 12px; }
.sh-body.mep .m2-it { position: relative; border: 0; display: grid; justify-items: center; align-content: center; gap: 9px; min-width: 0; height: 88px; padding: 0 6px; border-radius: 14px;
  background: linear-gradient(180deg, #1B1C20, #141518); box-shadow: inset 0 0 0 1px rgba(255,255,255,.055); color: #EAE5DA; text-align: center; transition: transform .12s; }
.sh-body.mep .m2-it > span { display: grid; place-items: center; width: 30px; height: 30px; }
.sh-body.mep .m2-it svg { width: 28px; height: 28px; fill: none; stroke: #DFC389; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; filter: none; }
.sh-body.mep .m2-it svg .dot { fill: #DFC389; stroke: none; }
.sh-body.mep .m2-it svg.ic-fill { width: 30px; height: 30px; }
.sh-body.mep .m2-it > b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 14.5px/1.2 "Noto Sans SC", "PingFang SC", sans-serif; color: #EAE5DA; }
.sh-body.mep .m2-it:active { transform: scale(.97); }
.sh-body.mep .zm-cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 14px; padding: 0; border-radius: 14px; overflow: hidden; background: #141518; box-shadow: inset 0 0 0 1px rgba(255,255,255,.055); }
.sh-body.mep .zm-cells .m2-it { grid-template-columns: 28px minmax(0, 1fr) 8px; justify-items: start; align-items: center; gap: 12px; height: 62px; padding: 0 16px 0 18px; border-radius: 0; background: none; box-shadow: none; text-align: left; }
.sh-body.mep .zm-cells .m2-it > span { width: 28px; height: 28px; }
.sh-body.mep .zm-cells .m2-it svg { width: 25px; height: 25px; }
.sh-body.mep .zm-cells .m2-it > b { justify-self: start; text-align: left; font-weight: 600; }
.sh-body.mep .zm-cells .m2-it::after { content: ""; width: 7px; height: 7px; margin: 0; border-top: 1px solid rgba(237,232,222,.38); border-right: 1px solid rgba(237,232,222,.38); transform: rotate(45deg); }
.sh-body.mep .zm-cells .m2-it:nth-child(odd) { box-shadow: inset -1px 0 0 rgba(255,255,255,.05); }
.sh-body.mep .zm-cells .m2-it:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.05); }
.sh-body.mep .zm-cells .m2-it:last-child:nth-child(odd) { grid-column: 1 / -1; box-shadow: none; }
.sh-body.mep .zm-cells .m2-it:active { transform: none; background: rgba(255,255,255,.03); }
.sh-body.mep .qx-note { margin-top: 2px; font-size: 12px; color: rgba(237,232,222,.42); }
.m2-blank { min-height: 52vh; }
