html, body { touch-action: manipulation; -webkit-text-size-adjust: 100%; }
/* ===================== Ace28 H5 · 紫夜聊天室 ===================== */
:root {
  --bg: #120a26;
  --p1: #31205f;
  --p2: #1b1138;
  --p3: #150c2c;
  --card: rgba(255, 255, 255, .055);
  --card2: rgba(255, 255, 255, .09);
  --line: rgba(255, 255, 255, .09);
  --text: #f2eefc;
  --muted: #9a90b8;
  --gold: #ffcf6b;
  --red: #ff5b6e;
  --blue: #4aa8ff;
  --green: #3ddc97;
  --purple: #8b6bff;
  --purple2: #5b3bd6;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  background: #0c0719;
  color: var(--text);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  display: flex;
  justify-content: center;
}
[v-cloak] { display: none !important; }
button, input { font-family: inherit; }
button { cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
input { outline: none; }
.mono { font-family: "SFMono-Regular", Consolas, monospace; }
.muted { color: var(--muted); }
.small { font-size: 11px; }
.red { color: var(--red); }
.blue { color: var(--blue); }
.gold { color: var(--gold); }
.green { color: var(--green); }
.fade-enter-active, .fade-leave-active { transition: opacity .2s; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

/* ---------- 手机壳 ---------- */
.phone {
  position: relative;
  width: 100%;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(420px 260px at 50% -60px, rgba(139, 107, 255, .35), transparent 70%),
    linear-gradient(180deg, #30205f 0%, #1c1239 42%, #150c2c 100%);
}
@media (min-width: 900px) {
  body { align-items: center; padding: 20px 0; }
  .phone { max-width: 560px; height: 900px; border-radius: 28px; box-shadow: 0 30px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .06); }
}

/* ---------- 顶栏 ---------- */
.bar {
  height: 54px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px 0 10px;
  background: linear-gradient(180deg, rgba(20, 10, 46, .92), rgba(20, 10, 46, .55));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  position: relative;
  z-index: 12;
}
.bar-ic {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  font-size: 17px;
  color: #d8d0f5;
  border-radius: 10px;
}
.bar-ic:active { background: rgba(255, 255, 255, .08); }
.bar-ic.back { font-size: 26px; line-height: 1; padding-bottom: 3px; }
.bar-title { flex: 1; text-align: center; line-height: 1.15; }
.bar-title b { display: block; font-size: 16px; letter-spacing: .5px; }
.bar-title b em { font-style: normal; font-size: 12px; color: var(--gold); margin-left: 2px; }
.bar-title small { font-size: 10px; color: var(--muted); }

/* ---------- 屏幕 ---------- */
.screen { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 12px 14px; -webkit-overflow-scrolling: touch; }
.screen.hall { overflow: hidden; display: flex; flex-direction: column; padding: 8px 10px 0; }
.screen::-webkit-scrollbar { width: 0; }
.page-head { padding: 6px 2px 10px; }
.page-head h2 { margin: 0; font-size: 17px; }
.page-head p { margin: 2px 0 0; font-size: 11px; color: var(--muted); }

/* ---------- 期号 / 余额 ---------- */
.round-line {
  flex: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px;
  background: linear-gradient(100deg, rgba(139, 107, 255, .22), rgba(139, 107, 255, .05));
  border: 1px solid rgba(139, 107, 255, .25);
  border-radius: 12px;
}
.rl-left { display: flex; flex-direction: column; }
.rl-issue { font-size: 13px; color: #e6e0ff; }
.rl-time { font-size: 11px; color: var(--muted); }
.rl-right { text-align: right; line-height: 1.2; }
.rl-right small { display: block; font-size: 10px; color: var(--muted); }
.rl-right b { font-size: 17px; font-family: Consolas, monospace; }
.mini-login {
  margin-top: 2px; font-size: 11px; color: #1a1036; font-weight: 700;
  background: linear-gradient(135deg, #ffd97e, #f3ae2e);
  padding: 3px 10px; border-radius: 10px;
}

/* ---------- 开奖条 ---------- */
.draw-line {
  flex: none;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  margin-top: 8px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.dl-left { flex: 1; min-width: 0; }
.dl-left > small { font-size: 10px; color: var(--muted); }
.balls { display: flex; align-items: center; gap: 5px; margin-top: 4px; flex-wrap: wrap; }
.balls.loading { min-height: 30px; font-size: 11px; }
.ball {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700; color: #fff;
  box-shadow: inset 0 -2px 6px rgba(0, 0, 0, .3), 0 3px 8px rgba(0, 0, 0, .3);
}
.ball.b-red { background: radial-gradient(circle at 32% 28%, #8fd0ff, #2b6fd6 72%); }
.ball.b-blue { background: radial-gradient(circle at 32% 28%, #8fd0ff, #2b6fd6 72%); }
.ball.sum { background: radial-gradient(circle at 32% 28%, #ff9aa5, #d92a44 72%); color: #fff; box-shadow: inset 0 -2px 0 rgba(0,0,0,.16), 0 2px 7px rgba(217, 42, 68, .35); }
.eq { color: var(--muted); font-size: 12px; margin: 0 1px; }
.dl-tag { font-size: 11px; padding: 2px 7px; border-radius: 6px; margin-left: 2px; }
.dl-tag.red { background: rgba(255, 91, 110, .16); color: #ff8a97; }
.dl-tag.blue { background: rgba(74, 168, 255, .16); color: #8fc7ff; }
.dl-cd {
  flex: none; width: 74px; text-align: center;
  padding: 6px 0; border-radius: 10px;
  background: linear-gradient(160deg, rgba(139, 107, 255, .3), rgba(91, 59, 214, .12));
  border: 1px solid rgba(139, 107, 255, .35);
}
.dl-cd b { display: block; font-size: 19px; letter-spacing: .5px; }
.dl-cd small { font-size: 9px; color: var(--muted); }

/* ---------- 消息流 ---------- */
.feed {
  flex: 1; min-height: 0;
  overflow-y: auto;
  margin-top: 6px;
  padding: 2px 2px 8px;
  display: flex; flex-direction: column; gap: 7px;
  scrollbar-width: none;
}
.feed::-webkit-scrollbar { width: 0; }
.feed-empty { margin: auto; color: var(--muted); font-size: 12px; }
.m { display: flex; gap: 7px; }
.m-ava {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 12px; color: #fff;
}
.m-body { min-width: 0; flex: 1; max-width: 86%; }
.m-meta { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); }
.m-name { color: #b9aee0; }
.m-time { color: #6f668c; }
.m-bubble {
  display: inline-block;
  margin-top: 2px;
  padding: 6px 10px;
  border-radius: 4px 12px 12px 12px;
  background: rgba(255, 255, 255, .07);
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
}
.m-bubble .amt { color: var(--gold); font-family: Consolas, monospace; margin-left: 2px; }
.m-bubble .payout { color: var(--green); font-family: Consolas, monospace; margin-left: 4px; }
.b-bet { background: linear-gradient(100deg, rgba(255, 207, 107, .13), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 207, 107, .18); }
.b-win { background: linear-gradient(100deg, rgba(61, 220, 151, .13), rgba(255, 255, 255, .05)); border: 1px solid rgba(61, 220, 151, .2); }
.m-sys { align-self: center; font-size: 10.5px; color: #8d82b3; background: rgba(255, 255, 255, .04); padding: 2px 10px; border-radius: 12px; }
.m-join { font-size: 10.5px; color: #6f668c; padding-left: 4px; }

/* ---------- 已投提醒 + 输入条 ---------- */
.betbar {
  flex: none;
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  margin: 0 0 6px;
  font-size: 11px;
  color: #d8d0f5;
  background: rgba(255, 207, 107, .1);
  border: 1px solid rgba(255, 207, 107, .22);
  border-radius: 10px;
}
.betbar b { color: var(--gold); font-family: Consolas, monospace; font-size: 13px; }
.betbar i { margin-left: auto; font-style: normal; color: var(--gold); }
.inputbar {
  flex: none;
  display: flex; align-items: center; gap: 7px;
  padding: 8px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, .05);
}
.fake-input {
  flex: 1;
  height: 38px;
  display: flex; align-items: center;
  padding: 0 14px;
  border-radius: 19px;
  background: rgba(255, 255, 255, .07);
  color: #7b7199;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, .06);
}
.send {
  height: 38px; padding: 0 16px; border-radius: 19px;
  background: linear-gradient(135deg, #9a7bff, #5b3bd6);
  color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: 0 6px 16px rgba(91, 59, 214, .4);
}
.kb {
  width: 38px; height: 38px; border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .07);
  font-size: 16px; color: #cfc6ea;
}

/* ---------- 底部导航 ---------- */
.tabbar {
  flex: none;
  height: 56px;
  display: flex;
  background: rgba(14, 8, 32, .92);
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 12;
}
.tabbar a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: #776d97; font-size: 10px;
}
.tabbar a i { font-style: normal; font-size: 17px; filter: grayscale(.6); opacity: .8; }
.tabbar a.on { color: #cbb9ff; }
.tabbar a.on i { filter: none; opacity: 1; }

/* ---------- 通用列表 ---------- */
.list { display: flex; flex-direction: column; gap: 7px; }
.sl-row {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 11px;
}
.sl-row.live { border-color: rgba(255, 207, 107, .45); background: rgba(255, 207, 107, .07); }
.sl-idx {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(139, 107, 255, .15);
  color: #c9baff; font-size: 11px; font-family: Consolas, monospace;
}
.sl-main { flex: 1; min-width: 0; }
.sl-top { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; }
.sl-nums { display: flex; align-items: center; gap: 4px; margin-top: 3px; flex-wrap: wrap; }
.sl-equ { font-size: 11px; color: var(--muted); }
.numball {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-grid; place-items: center;
  font-size: 11px; font-weight: 700; color: #fff;
}
.numball.b-red { background: radial-gradient(circle at 32% 28%, #8fd0ff, #2b6fd6 72%); }
.numball.b-blue { background: radial-gradient(circle at 32% 28%, #8fd0ff, #2b6fd6 72%); }
.sl-res { flex: none; text-align: right; line-height: 1.15; }
.sl-res b { display: block; font-size: 15px; }
.sl-res small { font-size: 9px; color: var(--muted); }
.sl-live { flex: none; font-size: 10px; color: var(--gold); border: 1px solid rgba(255, 207, 107, .35); padding: 2px 6px; border-radius: 8px; }
.sl-official { flex: none; font-size: 9px; color: #6f668c; }
.sched-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 10px; }
.sched-summary > div {
  background: var(--card); border: 1px solid var(--line); border-radius: 11px;
  padding: 8px 10px; display: flex; flex-direction: column; gap: 2px;
}
.sched-summary small { color: var(--muted); font-size: 10px; }
.sched-summary b { font-size: 14px; }

/* ---------- 走势 ---------- */
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 10px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 11px; padding: 9px 11px; }
.stat small { display: block; color: var(--muted); font-size: 10px; }
.stat b { font-size: 15px; }
.trend-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-bottom: 12px; }
.tcell {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 6px 8px;
}
.t-issue { font-size: 9px; color: var(--muted); font-family: Consolas, monospace; width: 24px; }
.t-sum { font-size: 15px; font-weight: 700; font-family: Consolas, monospace; width: 24px; }
.t-dots { display: flex; gap: 3px; }
.t-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.t-dots i.on.red { background: var(--red); }
.t-dots i.on.blue { background: var(--blue); }
.t-dots i.on.gold { background: var(--gold); }

/* ---------- 记录 / 我的 ---------- */
.bet-row, .tx-row {
  background: var(--card); border: 1px solid var(--line); border-radius: 11px;
  padding: 9px 11px; display: flex; flex-direction: column; gap: 5px;
}
.br-top { display: flex; justify-content: space-between; font-size: 10px; }
.br-status { font-size: 10px; padding: 1px 7px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: var(--muted); }
.br-status.win { background: rgba(61, 220, 151, .14); color: var(--green); }
.br-status.lose { background: rgba(255, 91, 110, .12); color: #ff8a97; }
.br-status.pending { background: rgba(255, 207, 107, .12); color: var(--gold); }
.br-status.push { background: rgba(74, 168, 255, .12); color: var(--blue); }
.br-mid { display: flex; align-items: baseline; gap: 8px; font-size: 14px; }
.br-mid b { font-size: 15px; }
.br-mid span:last-child { margin-left: auto; font-family: Consolas, monospace; }
.br-bot { display: flex; justify-content: space-between; font-size: 11px; }
.tx-row { flex-direction: row; justify-content: space-between; align-items: center; }
.tx-row b { font-size: 13px; }
.tx-row small { display: block; margin-top: 2px; }
.tx-right { text-align: right; }
.tx-right b { font-family: Consolas, monospace; }

.me-card {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(120deg, rgba(139, 107, 255, .25), rgba(255, 255, 255, .04));
  border: 1px solid rgba(139, 107, 255, .3);
  border-radius: 14px; padding: 14px;
}
.me-ava {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px;
  background: linear-gradient(135deg, #6f52d8, #3a2a80);
}
.me-info { flex: 1; }
.me-info b { display: block; font-size: 15px; }
.me-info small { color: var(--muted); font-size: 10px; }
.me-balance { text-align: right; }
.me-balance small { display: block; font-size: 10px; color: var(--muted); }
.me-balance b { font-size: 18px; color: var(--gold); font-family: Consolas, monospace; }
.me-card.logged-out .me-ava { background: rgba(255, 255, 255, .08); }
.me-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 10px 0; }
.me-grid button {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 11px; padding: 10px 0; font-size: 11px; color: #d8d0f5;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.empty-box { text-align: center; color: var(--muted); padding: 36px 0; font-size: 12px; }
.empty-box .btn-primary { margin-top: 10px; }

/* ---------- 下注面板 ---------- */
.mask {
  position: absolute; inset: 0; z-index: 25;
  background: rgba(6, 3, 14, .55);
  backdrop-filter: blur(2px);
  display: grid; place-items: center;
}
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 30;
  background: linear-gradient(180deg, #2a1a55, #1b1138);
  border-radius: 18px 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 -16px 40px rgba(0, 0, 0, .5);
  max-height: 76%;
  display: flex; flex-direction: column;
  animation: sheetUp .18s ease-out;
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
.sheet-head {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.sheet-head > button {
  padding: 6px 12px; border-radius: 15px; font-size: 13px; color: var(--muted);
}
.sheet-head > button.on { background: rgba(139, 107, 255, .25); color: #d9ccff; }
.sheet-round { margin-left: auto; font-size: 10px; color: var(--muted); }
.sheet-x { width: 28px; height: 28px; border-radius: 50%; color: #b9aee0; display: grid; place-items: center; font-size: 13px; }
.sheet-x:active { background: rgba(255, 255, 255, .08); }

.sheet-body { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 12px 4px; }
.hot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.hot-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  padding: 8px 9px;
  display: flex; flex-direction: column; gap: 5px;
  text-align: left;
}
.hot-card:active { transform: scale(.97); }
.hc-top { display: flex; align-items: baseline; justify-content: space-between; }
.hc-top b { font-size: 15px; }
.hc-top small { font-size: 10px; color: var(--gold); font-family: Consolas, monospace; }
.hc-meta { display: flex; justify-content: space-between; font-size: 9px; color: var(--muted); }
.hot-card.up { border-color: rgba(255, 91, 110, .25); }
.hot-card.down { border-color: rgba(74, 168, 255, .25); }
.hot-card.gold { border-color: rgba(255, 207, 107, .3); }
.hot-card.purple { border-color: rgba(139, 107, 255, .35); }

.seg { display: flex; gap: 6px; margin-bottom: 10px; }
.seg button {
  flex: 1; padding: 7px 0; border-radius: 9px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  color: var(--muted); font-size: 12px;
}
.seg button.on { border-color: rgba(139, 107, 255, .6); color: #d9ccff; background: rgba(139, 107, 255, .16); }
.num-grid { display: grid; gap: 6px; }
.num-grid.sum { grid-template-columns: repeat(4, 1fr); }
.num-grid.triple { grid-template-columns: repeat(5, 1fr); }
.num-btn {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  padding: 6px 0;
  display: flex; flex-direction: column; align-items: center;
}
.num-btn b { font-size: 15px; }
.num-btn small { font-size: 9px; color: var(--gold); font-family: Consolas, monospace; }
.num-btn:active { background: rgba(139, 107, 255, .25); }

.chips { display: flex; gap: 6px; padding: 8px 12px 2px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button {
  flex: 1; min-width: 46px; padding: 7px 0; border-radius: 9px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--muted); font-size: 12px; font-family: Consolas, monospace;
}
.chips button.on { border-color: var(--gold); color: var(--gold); background: rgba(255, 207, 107, .1); }

.slip-mini { display: flex; flex-wrap: wrap; gap: 5px; padding: 7px 12px 0; max-height: 72px; overflow-y: auto; }
.sm-item {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255, 207, 107, .1); border: 1px solid rgba(255, 207, 107, .22);
  border-radius: 8px; padding: 3px 6px; font-size: 10px;
}
.sm-item b { color: var(--gold); font-family: Consolas, monospace; }
.sm-item i { font-style: normal; color: #9a90b8; padding: 0 1px; }

.sheet-foot {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: rgba(16, 9, 36, .6);
}
.sf-info { flex: 1; line-height: 1.1; }
.sf-info small { display: block; font-size: 9px; color: var(--muted); }
.sf-info b { font-size: 17px; color: var(--gold); font-family: Consolas, monospace; }
.btn-clear {
  padding: 9px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, .07); color: #cfc6ea; font-size: 12px;
}
.btn-confirm {
  padding: 10px 22px; border-radius: 12px;
  background: linear-gradient(135deg, #a488ff, #5b3bd6);
  color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 6px 18px rgba(91, 59, 214, .45);
}
.btn-confirm:disabled { opacity: .45; box-shadow: none; }

/* ---------- 登录 ---------- */
.auth-card {
  position: relative;
  width: min(320px, calc(100% - 44px));
  background: linear-gradient(180deg, #2c1b58, #1b1138);
  border: 1px solid rgba(139, 107, 255, .35);
  border-radius: 18px;
  padding: 22px 18px 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.auth-card h2 { margin: 0 0 2px; font-size: 19px; text-align: center; }
.auth-sub { text-align: center; color: var(--muted); font-size: 11px; margin: 0 0 8px; }
.auth-card label { display: block; font-size: 11px; color: var(--muted); margin: 10px 0 0; }
.auth-card input {
  width: 100%; margin-top: 5px; padding: 10px 12px;
  background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px; color: var(--text); font-size: 14px;
}
.auth-card input:focus { border-color: rgba(139, 107, 255, .7); }
.auth-card .btn-primary { margin-top: 14px; }
.auth-switch { text-align: center; font-size: 11px; color: var(--muted); margin: 12px 0 0; }
.auth-switch a { color: #cbb9ff; }
.auth-demo { text-align: center; font-size: 10px; color: #6f668c; margin: 6px 0 0; }
.err { color: #ff8a97; font-size: 11px; margin: 8px 0 0; }
.btn-primary {
  background: linear-gradient(135deg, #a488ff, #5b3bd6);
  color: #fff; border-radius: 10px; padding: 10px 18px; font-size: 13px; font-weight: 600;
}
.btn-primary.sm { padding: 7px 12px; font-size: 12px; }
.btn-primary.block { display: block; width: 100%; }
.btn-primary:disabled { opacity: .5; }

/* ---------- 客服 ---------- */
.chat-panel {
  position: absolute; left: 10px; right: 10px; bottom: 66px; z-index: 40;
  height: min(520px, 62%);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #2a1a55, #1b1138);
  border: 1px solid rgba(139, 107, 255, .35);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.chat-head b { display: block; font-size: 14px; }
.chat-head small { font-size: 10px; color: var(--green); }
.chat-body { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 9px; background: rgba(0, 0, 0, .18); }
.chat-empty { margin: auto; text-align: center; color: var(--muted); font-size: 12px; }
.cmsg { display: flex; flex-direction: column; max-width: 84%; }
.cmsg.user { align-self: flex-end; align-items: flex-end; }
.cmsg.agent, .cmsg.system { align-self: flex-start; }
.cmsg-name { font-size: 9px; color: var(--muted); margin-bottom: 2px; }
.cbubble { padding: 7px 11px; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: 13px; word-break: break-word; white-space: pre-wrap; }
.cmsg.user .cbubble { background: linear-gradient(135deg, #9a7bff, #5b3bd6); color: #fff; }
.cmsg.system .cbubble { background: rgba(255, 207, 107, .12); color: #ffd894; }
.cmsg-time { font-size: 9px; color: #6f668c; margin-top: 2px; }
.chat-quick { display: flex; gap: 5px; padding: 7px 10px 0; flex-wrap: wrap; }
.chat-quick button { font-size: 10px; padding: 4px 9px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); color: var(--muted); }
.chat-input { display: flex; gap: 7px; padding: 8px 10px 10px; }
.chat-input input {
  flex: 1; padding: 8px 11px; border-radius: 18px;
  background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .1);
  color: var(--text); font-size: 13px;
}

/* ---------- 提示 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%);
  z-index: 300; max-width: 86%;
  background: rgba(28, 17, 56, .96);
  border: 1px solid rgba(139, 107, 255, .35);
  color: #e9e2ff; font-size: 12px;
  padding: 9px 16px; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  text-align: center;
}

/* ============ 对齐参考图的顶部 / 开奖条 ============ */
.top-strip { flex: none; display: flex; align-items: center; gap: 8px; padding: 6px 2px 8px; }
.ts-issue { font-size: 13px; color: #d6ccf2; }
.ts-cd {
  font-size: 18px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #6f9bff, #3b5bd9);
  padding: 1px 10px; border-radius: 6px;
  box-shadow: 0 4px 12px rgba(59, 91, 217, .45);
}
.ts-balance { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--muted); }
.ts-balance i { font-style: normal; color: #8b6bff; font-size: 13px; }
.ts-balance b { color: var(--gold); font-size: 15px; font-family: Consolas, monospace; }
.draw-strip {
  flex: none; display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; margin-bottom: 4px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line); border-radius: 10px;
}
.ds-issue { font-size: 11px; color: var(--muted); }
.ds-balls { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.ds-eq { font-size: 12px; color: var(--muted); }
.ds-tag { font-size: 11px; color: #cbb9ff; background: rgba(139, 107, 255, .18); padding: 1px 6px; border-radius: 5px; }
.ds-arrow { margin-left: auto; color: #8b6bff; font-size: 14px; }
.fi-ic { font-size: 13px; margin-right: 7px; opacity: .8; }

/* ============ 热门玩法：两列大卡片 ============ */
.hot-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.hot-card { flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 12px; }
.hc-left { display: flex; flex-direction: column; line-height: 1.15; }
.hc-left b { font-size: 17px; }
.hc-left small { font-size: 11px; color: var(--gold); font-family: Consolas, monospace; }
.hc-right { text-align: right; font-size: 10px; color: var(--muted); line-height: 1.4; }
.hc-right em { display: block; font-style: normal; font-size: 12px; }

/* ============ 数字玩法 ============ */
.num-title { font-size: 12px; color: var(--muted); margin-bottom: 8px; }

/* ============ 键盘下注 ============ */
.key-amount {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(0, 0, 0, .25); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 12px;
}
.key-amount small { color: var(--muted); font-size: 11px; }
.key-amount b { font-size: 20px; color: var(--gold); font-family: Consolas, monospace; }
.key-markets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.key-markets button {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px; padding: 6px 0;
}
.key-markets b { font-size: 13px; }
.key-markets small { font-size: 9px; color: var(--gold); font-family: Consolas, monospace; }
.key-markets button:active { background: rgba(139, 107, 255, .25); }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.key-btn {
  padding: 9px 0; font-size: 18px; font-family: Consolas, monospace;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
}
.key-btn:active { background: rgba(139, 107, 255, .3); }

/* 三个玩法 tab 更紧凑 */
.sheet-head > button { padding: 6px 9px; font-size: 12px; }
@media (max-width: 380px) {
  .sheet-head > button { padding: 6px 7px; font-size: 11px; }
  .key-markets { grid-template-columns: repeat(4, 1fr); }
}

.ts-cd.locked { background: linear-gradient(135deg,#6b6478,#3d3947); font-size: 13px; letter-spacing: 1px; }


/* ===================== 封盘中状态 ===================== */
.inputbar.locked { padding: 8px 0 10px; }
.fake-input.locked {
  justify-content: center;
  color: var(--gold);
  background: rgba(255, 207, 107, .08);
  border-color: rgba(255, 207, 107, .35);
}

/* ===================== 刮刮乐 ===================== */
.scratch-card {
  position: relative;
  height: 190px;
  border-radius: 16px;
  background: linear-gradient(135deg, #3a2a72, #241748);
  border: 1px solid rgba(139, 107, 255, .4);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 40px rgba(139, 107, 255, .15);
}
.scratch-reveal { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.scratch-reveal small { color: var(--muted); font-size: 11px; }
.scratch-reveal b { font-size: 34px; font-family: Consolas, monospace; color: #e9e2ff; }
.scratch-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  touch-action: none; cursor: crosshair; border-radius: 16px;
}
.scratch-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: rgba(20, 10, 46, .35);
}
.scratch-overlay small { color: var(--muted); font-size: 11px; }
.scratch-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 2px; font-size: 12px; color: var(--muted);
}
.scratch-actions .btn-primary { padding: 8px 16px; }
.scratch-pool { font-size: 10px; color: #6f668c; text-align: center; padding: 0 0 10px; }

/* ===================== 刮开开奖结果 ===================== */
.ds-wrap { position: relative; flex: 1; min-width: 0; min-height: 40px; display: flex; align-items: center; }
.ds-scratch {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border-radius: 8px;
  touch-action: none;
  cursor: crosshair;
  z-index: 2;
}
.scratch-tags { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.scratch-reveal .balls { margin-top: 0; }
.scratch-actions .btn-clear { padding: 7px 14px; }

/* ===================== 大厅刮奖开关 ===================== */
.bar-title { overflow: hidden; }
.bar-title b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scratch-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 7px 4px 5px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  flex: none;
}
.scratch-toggle i {
  width: 15px; height: 15px; border-radius: 50%;
  background: #5c5470;
  transition: .18s;
}
.scratch-toggle.on { color: var(--gold); border-color: rgba(255, 207, 107, .4); background: rgba(255, 207, 107, .1); }
.scratch-toggle.on i { background: var(--gold); box-shadow: 0 0 8px rgba(255, 207, 107, .6); }
@media (max-width: 360px) { .scratch-toggle span { display: none; } }

/* ===================== 封盘后本期投注列表 ===================== */
.round-bets {
  flex: none; margin: 6px 0;
  background: rgba(20, 10, 46, .92);
  border: 1px solid rgba(139, 107, 255, .3);
  border-radius: 12px;
  overflow: hidden;
  max-height: 210px;
  display: flex;
  flex-direction: column;
}
.rb-head { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-bottom: 1px solid var(--line); font-size: 12px; }
.rb-head b { font-size: 12px; }
.rb-head span { color: var(--muted); font-size: 10px; }
.rb-close { margin-left: auto; color: var(--muted); width: 22px; height: 22px; font-size: 12px; }
.rb-list { overflow-y: auto; padding: 4px 6px 6px; }
.rb-row { display: flex; align-items: center; gap: 8px; padding: 5px 4px; border-bottom: 1px dashed rgba(255, 255, 255, .05); font-size: 11px; }
.rb-name { width: 62px; flex: none; color: #cfc6ea; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-items { flex: 1; display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.rb-items i { font-style: normal; background: rgba(255, 207, 107, .08); color: #ffd894; border-radius: 5px; padding: 1px 5px; font-size: 10px; }
.rb-total { color: var(--gold); font-family: Consolas, monospace; font-size: 12px; }
.rb-empty { text-align: center; color: var(--muted); font-size: 11px; padding: 12px 0; }
.rb-open { flex: none; height: 38px; padding: 0 12px; border-radius: 10px; background: rgba(255, 207, 107, .12); border: 1px solid rgba(255, 207, 107, .3); color: var(--gold); font-size: 12px; }

/* 本期投注汇总消息 */
.pool-msg {
  width: 100%;
  background: rgba(139, 107, 255, .1);
  border: 1px solid rgba(139, 107, 255, .25);
  border-radius: 10px;
  padding: 8px 10px;
}
.pool-msg pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.7;
  color: #cfc6ea;
}

/* ===================== 投注账单 / 开奖结果消息 ===================== */
.m-ava.bot { background: linear-gradient(135deg, #5b8cff, #3b3fd9); font-size: 16px; }
.m-pool .m-body, .m-result .m-body { max-width: 100%; }
.pool-msg, .result-msg {
  width: 100%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 8px;
  overflow: hidden;
}
.pool-title {
  background: linear-gradient(180deg, #ffd35c, #efb021);
  color: #3a2400;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 9px;
}
.pool-row {
  font-size: 11.5px;
  line-height: 1.75;
  padding: 2px 9px;
  color: #d8d0f5;
  word-break: break-word;
}
.pool-row:last-child { padding-bottom: 8px; }
.result-body { display: flex; align-items: center; gap: 6px; padding: 10px; flex-wrap: wrap; }
.result-hint { color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.ds-issue { display: flex; flex-direction: column; gap: 1px; flex: none; }
.ds-refresh { font-size: 10px; color: #b9a7ff; text-decoration: underline; cursor: pointer; }

/* ===================== 最近开奖下拉 ===================== */
.ds-arrow { transition: transform .2s; }
.ds-arrow.open { transform: rotate(180deg); }
.recent-drop {
  flex: none; margin: 6px 0 0;
  background: rgba(20, 10, 46, .96);
  border: 1px solid rgba(139, 107, 255, .3);
  border-radius: 12px;
  overflow: hidden auto;
  max-height: 300px;
}
.rd-head { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-bottom: 1px solid var(--line); font-size: 12px; }
.rd-head b { font-size: 12px; }
.rd-close { margin-left: auto; color: var(--muted); font-size: 11px; cursor: pointer; }
.rd-row { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px dashed rgba(255, 255, 255, .05); font-size: 11px; }
.rd-issue { width: 74px; flex: none; color: #cfc6ea; font-size: 11px; }
.rd-nums { display: flex; gap: 3px; flex: none; }
.numball { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; }
.numball.b-red { background: linear-gradient(135deg, #5b9dff, #2f6fe0); }
.numball.b-blue { background: linear-gradient(135deg, #5b9dff, #2f6fe0); }
.numball.sm { width: 19px; height: 19px; font-size: 11px; }
.rd-sum { color: #ffd894; font-size: 11px; flex: none; }
.rd-tag { color: #cfc6ea; font-size: 11px; flex: none; }
.rd-time { margin-left: auto; color: var(--muted); font-size: 10px; }
.rd-empty { text-align: center; color: var(--muted); font-size: 11px; padding: 14px 0; }

/* 最近开奖下拉：隐藏滚动条 + 和值圆球 */
.recent-drop { scrollbar-width: none; -ms-overflow-style: none; }
.recent-drop::-webkit-scrollbar { width: 0; height: 0; display: none; }
.rd-eq { color: #8f86ad; font-size: 11px; flex: none; }
.numball.sum-ball { background: linear-gradient(135deg, #ffd35c, #e0a51f); color: #3a2400; box-shadow: 0 0 6px rgba(255, 207, 107, .35); }
.rd-tag { background: rgba(139, 107, 255, .16); border-radius: 4px; padding: 1px 5px; font-size: 10px; }

/* ===================== 个人中心（新） ===================== */
.me-screen { padding: 10px 10px 24px; }
.me-hero {
  display: flex; align-items: center; gap: 12px;
  padding: 14px; border-radius: 14px;
  background: linear-gradient(135deg, #2a1b52, #1c1136);
  border: 1px solid rgba(139, 107, 255, .25);
  margin-bottom: 12px;
}
.me-ava-lg {
  width: 58px; height: 58px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700;
  background: linear-gradient(135deg, #6b5bd2, #3a2a75);
  border: 2px solid rgba(255, 255, 255, .25);
  box-shadow: 0 0 0 3px rgba(139, 107, 255, .18);
}
.me-hero-info { flex: 1; min-width: 0; }
.me-name-line { display: flex; align-items: center; gap: 6px; }
.me-name-line b { font-size: 16px; }
.vip-pill {
  font-size: 10px; padding: 1px 7px; border-radius: 9px;
  background: linear-gradient(90deg, #ffd35c, #f0a21f);
  color: #3a2400; font-weight: 700;
}
.me-sub { font-size: 11px; color: var(--muted); margin-top: 3px; }
.me-sub.dim { color: #7d7397; }
.me-chev { color: var(--muted); font-size: 18px; flex: none; }
.vip-banner {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 12px;
  background: linear-gradient(90deg, #5b8cff, #8b5bff 45%, #ff5bb0);
  color: #fff; font-weight: 600;
  box-shadow: 0 6px 18px rgba(91, 92, 255, .25);
  margin-bottom: 12px;
}
.vip-gem { font-size: 20px; }
.vip-banner-text { flex: 1; font-size: 13px; text-align: center; letter-spacing: 1px; }
.vip-chev { font-size: 18px; }
.wallet-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(139, 107, 255, .2);
  border-radius: 14px; padding: 14px; margin-bottom: 12px;
}
.wallet-top { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #cfc6ea; }
.wallet-eye { font-size: 12px; color: var(--muted); }
.wallet-amount { font-size: 26px; font-weight: 700; margin: 6px 0 14px; }
.wallet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wallet-grid button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: #cfc6ea; }
.wg-ic {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-style: normal;
}
.wg-a { background: linear-gradient(135deg, #ff9f43, #ff6b2b); }
.wg-b { background: linear-gradient(135deg, #ffd35c, #f0a21f); }
.wg-c { background: linear-gradient(135deg, #2fd6c3, #12a89a); }
.wg-d { background: linear-gradient(135deg, #5b8cff, #2f6fe0); }
.me-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.promo { display: flex; align-items: center; gap: 10px; padding: 14px 12px; border-radius: 14px; color: #fff; text-align: left; }
.promo-a { background: linear-gradient(135deg, #5b8cff, #8b5bff); }
.promo-b { background: linear-gradient(135deg, #ff9f43, #ff5b9e); }
.promo-ic { font-size: 24px; }
.promo-txt { display: flex; flex-direction: column; }
.promo-txt b { font-size: 14px; }
.promo-txt small { font-size: 10px; opacity: .85; }
.me-menu { background: rgba(255, 255, 255, .035); border: 1px solid rgba(139, 107, 255, .18); border-radius: 14px; overflow: hidden; }
.me-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 14px; font-size: 13px; color: #d8d0f5;
  border-bottom: 1px solid rgba(255, 255, 255, .05); text-align: left;
}
.me-menu button:last-child { border-bottom: none; }
.mm-ic { width: 22px; text-align: center; font-size: 15px; font-style: normal; }
.me-menu .me-chev { margin-left: auto; }
.logout-btn {
  width: 100%; margin-top: 14px; padding: 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
  color: #ff8f8f; font-size: 13px;
}
.me-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.me-sheet {
  width: 100%; max-width: 560px; max-height: 78vh;
  background: #1b1136; border-radius: 16px 16px 0 0;
  border-top: 1px solid rgba(139, 107, 255, .3);
  display: flex; flex-direction: column;
}
.me-sheet-head { display: flex; align-items: center; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.me-sheet-head b { font-size: 14px; }
.me-sheet-head button { margin-left: auto; color: var(--muted); }
.me-sheet-body { padding: 12px 14px 20px; overflow-y: auto; }
.kv { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .06); font-size: 12px; }
.kv span { color: var(--muted); }
.kv b { color: #e8e2ff; font-weight: 600; }
.sheet-balance { font-size: 28px; font-weight: 700; margin: 6px 0 14px; }
.sheet-hint { font-size: 11px; color: var(--muted); margin-top: 10px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.form-row input { height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(139, 107, 255, .25); color: #fff; padding: 0 12px; }
.vip-current { text-align: center; padding: 6px 0 14px; }
.vip-current b { font-size: 18px; }
.vip-progress { height: 8px; border-radius: 5px; background: rgba(255, 255, 255, .08); margin: 10px 0 8px; overflow: hidden; }
.vip-progress i { display: block; height: 100%; background: linear-gradient(90deg, #ffd35c, #f0a21f); }
.vip-current small { color: var(--muted); font-size: 11px; }
.vip-tier-list { display: flex; flex-direction: column; gap: 6px; }
.vip-tier { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 9px; background: rgba(255, 255, 255, .03); font-size: 12px; color: #cfc6ea; }
.vip-tier.on { background: rgba(255, 207, 107, .12); border: 1px solid rgba(255, 207, 107, .35); color: #ffd894; }

/* VIP 升级奖励 */
.vip-reward { display: block; font-style: normal; font-size: 10px; color: #7ce0b0; margin-top: 2px; }

/* ===================== 首页列表 ===================== */
.home-screen { padding: 10px; }
.home-panel { display: flex; flex-direction: column; gap: 10px; }
.home-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(139, 107, 255, .16), rgba(139, 107, 255, .06));
  border: 1px solid rgba(139, 107, 255, .18);
  text-align: left; color: #e8e2ff;
}
.hi-ic { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.hi-a { background: linear-gradient(135deg, #ff5bb0, #c72f8f); }
.hi-b { background: linear-gradient(135deg, #a06bff, #6b3fd1); }
.hi-c { background: linear-gradient(135deg, #5b8cff, #2f5fd9); }
.hi-d { background: linear-gradient(135deg, #2fd6c3, #12a89a); }
.hi-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hi-txt b { font-size: 14px; }
.hi-txt small { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hi-chev { color: var(--muted); font-size: 18px; }
.hi-badge { min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: #ff4d4f; color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; }

/* 充值 / 提现 */
.wallet-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.wallet-tabs button { flex: 1; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(139, 107, 255, .2); color: var(--muted); font-size: 13px; }
.wallet-tabs button.on { background: linear-gradient(90deg, #8b5bff, #5b8cff); color: #fff; border-color: transparent; }
.quick-amt { display: flex; gap: 8px; margin: -4px 0 12px; }
.quick-amt button { flex: 1; height: 32px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(139, 107, 255, .2); color: #cfc6ea; font-size: 12px; }

/* 公告 / 机器人消息 */
.ann-row { padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .06); font-size: 12px; color: #d8d0f5; }
.ann-time { font-size: 10px; color: var(--muted); margin-bottom: 3px; }
.bot-msg { margin-bottom: 10px; border: 1px solid rgba(139, 107, 255, .2); border-radius: 10px; overflow: hidden; }
.bot-title { background: linear-gradient(180deg, #ffd35c, #efb021); color: #3a2400; font-weight: 700; font-size: 12px; padding: 6px 9px; }
.bot-body { margin: 0; padding: 8px 9px; font-size: 11px; color: #cfc6ea; white-space: pre-wrap; font-family: inherit; }

/* 聊天室顶部名称 */
.room-bar { display: flex; align-items: center; justify-content: center; padding: 6px 10px; font-size: 12px; color: #cfc6ea; background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--line); }

/* 头像 & 大厅 */
.hi-ic img.hi-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.m-ava-img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.me-ava-lg img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.profile-avatar-row { display: flex; align-items: center; gap: 12px; padding: 4px 0 12px; }
.profile-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.lobby-screen { padding: 10px; }
.lobby-list { display: flex; flex-direction: column; gap: 12px; }
.lobby-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #3a2a6b, #241548); border: 1px solid rgba(139, 107, 255, .25); }
.lobby-av { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 24px; background: linear-gradient(135deg, #5b8cff, #8b5bff); flex: none; }
.lobby-av img { width: 100%; height: 100%; object-fit: cover; }
.lobby-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lobby-info b { font-size: 15px; }
.lobby-info small { font-size: 11px; color: var(--muted); }
.lobby-enter { flex: none; padding: 7px 12px; border-radius: 9px; background: linear-gradient(90deg, #ffd35c, #f0a21f); color: #3a2400; font-size: 12px; font-weight: 700; }
.rd-more { color: #b9a7ff; font-size: 11px; cursor: pointer; margin-left: auto; }
.rd-head .rd-close { margin-left: 10px; }

/* 充值方式 */
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.pay-methods button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(139, 107, 255, .2); color: var(--muted); font-size: 12px; }
.pay-methods button.on { border-color: rgba(255, 207, 107, .5); background: rgba(255, 207, 107, .1); color: #ffd894; }
.pm-ic { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; }
.pm-alipay { background: linear-gradient(135deg, #1677ff, #0b57d0); }
.pm-wechat { background: linear-gradient(135deg, #2fd06a, #12a050); }
.pm-usdt { background: linear-gradient(135deg, #26a17b, #0f7a58); }

/* 提现收款码 */
.qr-upload { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
.qr-box { width: 100%; min-height: 120px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px dashed rgba(139,107,255,.3); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.qr-preview { max-width: 140px; max-height: 140px; border-radius: 8px; }
.qr-empty { color: var(--muted); font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.qr-empty i { font-size: 26px; font-style: normal; }
.net-btns { display: flex; gap: 8px; margin-bottom: 12px; }
.net-btns button { flex: 1; height: 36px; border-radius: 9px; background: rgba(255,255,255,.05); border: 1px solid rgba(139,107,255,.2); color: var(--muted); font-size: 12px; }
.net-btns button.on { background: linear-gradient(90deg, #8b5bff, #5b8cff); color: #fff; border-color: transparent; }

/* 弹层隐藏滚动条（VIP 特权等） */
.me-sheet-body { scrollbar-width: none; -ms-overflow-style: none; }
.me-sheet-body::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* 客服聊天隐藏滚动条 */
.chat-body { scrollbar-width: none; -ms-overflow-style: none; }
.chat-body::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* 全站隐藏滚动条（仍可滚动） */
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { width: 0; height: 0; display: none; }
/* 充值去支付 */
.pay-link { display: flex; align-items: center; gap: 10px; margin-top: 10px; }

/* 我的下注折叠 */
.my-bets-toggle { display: flex; justify-content: center; padding: 2px 0 4px; }
.mbt-arrow { width: 30px; height: 20px; border-radius: 10px; background: rgba(139,107,255,.15); border: 1px solid rgba(139,107,255,.25); color: #b9a7ff; font-size: 12px; line-height: 1; transition: transform .2s; }
.mbt-arrow.open { transform: rotate(180deg); }
.my-bets-panel { margin: 0 10px 6px; background: rgba(20,10,46,.92); border: 1px solid rgba(139,107,255,.25); border-radius: 10px; padding: 8px 10px; }
.mbp-head { font-size: 11px; color: #cfc6ea; margin-bottom: 4px; }
.mbp-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px dashed rgba(255,255,255,.05); font-size: 12px; }
.mbp-row:last-child { border-bottom: none; }
.mbp-row span { flex: 1; }
.mbp-row small { color: var(--muted); }
.mbp-row b { color: var(--gold); }

.cbubble.recalled { opacity: .6; font-style: italic; }
.mbp-cancel { margin-left: 6px; font-size: 10px; color: #ff8f8f; background: none; border: 1px solid rgba(255,143,143,.4); border-radius: 6px; padding: 1px 6px; }

.mbp-head { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #cfc6ea; margin-bottom: 4px; }

.chat-img { max-width: 180px; max-height: 240px; border-radius: 8px; display: block; }

.chat-input .chat-img-btn { display: flex; align-items: center; justify-content: center; padding: 0 10px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--muted); font-size: 12px; cursor: pointer; flex: none; }

.qr-pick { cursor: pointer; }

/* 签到 */
.checkin-fab { position: fixed; right: 14px; bottom: 84px; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #ffd35c, #f0a21f); color: #3a2400; font-size: 11px; font-weight: 700; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; box-shadow: 0 6px 18px rgba(240, 162, 31, .45); z-index: 45; }
.checkin-fab .ck-ic { font-size: 18px; line-height: 1; }
  .checkin-hide { position: fixed; right: 14px; bottom: 60px; width: 56px; height: 20px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(139, 107, 255, .3); color: #b9aee6; font-size: 10px; line-height: 18px; text-align: center; z-index: 45; }
.checkin-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 95; display: flex; align-items: center; justify-content: center; padding: 16px; }
.checkin-page { width: 100%; max-width: 420px; background: #1b1136; border: 1px solid rgba(139, 107, 255, .3); border-radius: 16px; padding: 16px; }
.ck-head { display: flex; align-items: center; justify-content: space-between; }
.ck-head b { font-size: 16px; }
.ck-x { color: var(--muted); font-size: 16px; background: none; }
.ck-sub { font-size: 11px; color: var(--muted); margin: 6px 0 12px; }
.ck-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.ck-day { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px; border-radius: 9px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(139, 107, 255, .15); font-size: 10px; color: var(--muted); }
.ck-day b { font-size: 11px; color: #cfc6ea; }
.ck-day.today { border-color: rgba(255, 207, 107, .5); }
.ck-day.signed { background: rgba(255, 207, 107, .12); border-color: rgba(255, 207, 107, .35); color: #ffd894; }
.ck-day.signed b { color: #ffd894; }
.ck-info { display: flex; gap: 8px; margin: 12px 0; }
.ck-info div { flex: 1; background: rgba(255, 255, 255, .04); border-radius: 9px; padding: 8px; text-align: center; }
.ck-info span { display: block; font-size: 10px; color: var(--muted); }
.ck-info b { font-size: 13px; color: #ffd894; }
.ck-full { font-size: 11px; color: #ffd894; background: rgba(255, 207, 107, .08); border: 1px dashed rgba(255, 207, 107, .3); border-radius: 8px; padding: 8px; margin-bottom: 12px; }
.ck-btn { width: 100%; }

.ck-need { font-size: 11px; color: #ff8f8f; text-align: center; margin-bottom: 8px; }

.wd-req { display: flex; gap: 8px; margin-bottom: 10px; }
.wd-req div { flex: 1; background: rgba(255,255,255,.04); border-radius: 9px; padding: 8px; text-align: center; }
.wd-req span { display: block; font-size: 10px; color: var(--muted); }
.wd-req b { font-size: 12px; color: #ff8f8f; }
.wd-req b.ok { color: #7ce0b0; }

/* iconfont 矢量图标 */
.iconfont { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: -0.12em; }
.tabicon svg { width: 20px; height: 20px; }
.hi-ic svg { width: 22px; height: 22px; fill: #fff; }
.wg-ic svg { width: 20px; height: 20px; fill: #fff; }
.mm-ic svg { width: 16px; height: 16px; }
.ck-ic svg { width: 20px; height: 20px; fill: #3a2400; }
.vip-gem svg { width: 20px; height: 20px; }
.promo-ic svg { width: 24px; height: 24px; }

/* ---------- 手机端自适应 ---------- */
body { overflow-x: hidden; }
@media (max-width: 380px) {
  .bar-title b { font-size: 17px; }
  .hi-ic { width: 46px; height: 46px; }
  .hi-txt b { font-size: 14px; }
  .hi-txt small { font-size: 10px; }
  .wg-ic { width: 36px; height: 36px; }
  .wallet-grid { gap: 6px; }
  .ck-grid { gap: 3px; }
  .ck-day { padding: 6px 1px; font-size: 9px; }
  .ck-day b { font-size: 10px; }
  .draw-strip { gap: 4px; }
  .tabbar a { font-size: 10px; }
  .checkin-page { padding: 12px; }
  .sheet { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 360px) {
  .ck-grid { grid-template-columns: repeat(4, 1fr); }
  .hi-ic { width: 42px; height: 42px; }
  .hi-txt b { font-size: 13px; }
  .wallet-grid button span { font-size: 10px; }
  .wallet-grid .wg-ic { width: 32px; height: 32px; }
}

.bar-logo { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255, 255, 255, .18); margin-right: 6px; flex: none; }

/* 手机/平板全宽，避免两侧黑边 */
@media (max-width: 899px) {
  body { display: block; }
  #app { width: 100%; }
  .phone { width: 100%; max-width: none; }
}

.bar-title { display: flex; align-items: center; justify-content: center; gap: 6px; }
.bar-title b { display: inline; }
.bar-logo { margin-right: 0; }

.bar { padding-left: 20px; }
.bar-title { justify-content: flex-start; }

/* 走马灯 */
.marquee { flex: none; height: 24px; overflow: hidden; background: rgba(0, 0, 0, .28); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.marquee-inner { display: inline-flex; white-space: nowrap; height: 24px; align-items: center; animation: marquee 18s linear infinite; }
.marquee-inner span { font-size: 11px; color: #ffd894; padding-right: 60px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* 房间返回 */
.room-back { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; line-height: 1; color: #d8d0f5; margin-right: 6px; background: rgba(255, 255, 255, .06); }
/* 强制公告 */
.force-mask, .win-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, .66); z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; }
.force-box, .win-box { width: 100%; max-width: 340px; background: #1b1136; border: 1px solid rgba(139, 107, 255, .35); border-radius: 16px; padding: 20px 16px; text-align: center; }
.force-box h3, .win-box h3 { margin: 0 0 10px; font-size: 16px; }
.force-box p { font-size: 13px; line-height: 1.6; color: #d8d0f5; white-space: pre-wrap; margin: 0 0 16px; }
.force-box .btn-primary, .win-box .btn-primary { width: 100%; }
.win-ic { font-size: 40px; margin-bottom: 6px; }
.win-amount { font-size: 30px; font-weight: 800; color: #ffd894; margin: 6px 0; }
.win-box p { font-size: 12px; color: var(--muted); margin: 0 0 16px; }

/* 聊天室文字下注 */
.inputbar { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.bet-cmd-row { display: flex; gap: 6px; }
.bet-cmd { flex: 1; min-width: 0; height: 38px; padding: 0 12px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--text); font-size: 13px; }
.bet-cmd::placeholder { color: #8a80aa; }
.bet-cmd-icons { display: flex; gap: 5px; }
.bet-cmd-icons button { flex: 1; height: 28px; border-radius: 8px; background: rgba(139,107,255,.14); border: 1px solid rgba(139,107,255,.25); color: #cfc6ea; font-size: 11px; }
.bet-cmd-icons button:active { background: rgba(139,107,255,.28); }

/* 自己下注的消息在右侧，气泡颜色不同 */
.m.minebet { flex-direction: row-reverse; }
.m.minebet .m-body { align-items: flex-end; }
.m.minebet .m-meta { justify-content: flex-end; }
.m.minebet .m-bubble { background: linear-gradient(135deg, #6a46d8, #9a7bff); border-color: rgba(255, 255, 255, .22); }
.m.minebet .m-ava { margin-left: 8px; margin-right: 0; }

.m.minebet { justify-content: flex-start; }
.m.minebet .m-body { align-items: flex-end; margin-left: auto; }
.m.minebet .m-bubble { margin-left: auto; }

/* 自己的下注消息：整条靠右，气泡右对齐 */
.m.minebet { flex-direction: row-reverse; justify-content: flex-start; }
.m.minebet .m-body { flex: none; display: flex; flex-direction: column; align-items: flex-end; max-width: 86%; }
.m.minebet .m-meta { justify-content: flex-end; }
.m.minebet .m-bubble { margin-left: auto; }

.m.minebet .m-bubble { border-radius: 12px 4px 12px 12px; }

/* 实时玩家投注账单 */
.bill-bar { margin: 6px 0 2px; }
.bill-toggle { width: 100%; height: 30px; border-radius: 9px; background: rgba(139, 107, 255, .12); border: 1px solid rgba(139, 107, 255, .25); color: #cfc6ea; font-size: 12px; }
.bill-panel { margin: 4px 0 6px; max-height: 180px; overflow-y: auto; background: rgba(0, 0, 0, .18); border-radius: 10px; padding: 8px 10px; }
.bill-row { display: flex; gap: 8px; font-size: 11px; color: #d8d0f5; padding: 3px 0; border-bottom: 1px dashed rgba(255, 255, 255, .05); }
.bill-row b { flex: none; color: #ffd894; }
.bill-row span { flex: 1; word-break: break-word; }
.bill-empty { font-size: 11px; color: var(--muted); text-align: center; padding: 6px 0; }

.bill-total { text-align: right; font-size: 11px; color: #ffd894; padding-top: 6px; }

.bill-detail-head { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 6px; border-top: 1px dashed rgba(255,255,255,.12); font-size: 11px; color: #b9aee0; }
.bill-detail span { flex: 1; }
.bill-cancel { flex: none; font-size: 10px; color: #ff8f8f; background: rgba(255, 107, 107, .12); border-radius: 6px; padding: 2px 8px; margin-left: 6px; }

.bill-actions { display: flex; justify-content: flex-end; margin-top: 6px; }

/* 充值/提现播报 */
.b-recharge { background: linear-gradient(100deg, rgba(61, 220, 151, .18), rgba(255, 255, 255, .05)); border: 1px solid rgba(61, 220, 151, .3); color: #8ff0bf; }
.b-withdraw { background: linear-gradient(100deg, rgba(255, 207, 107, .18), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 207, 107, .3); color: #ffd98d; }

/* 首页最新充值/提现动态 */
.home-live { margin: 10px 12px 4px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(139, 107, 255, .18); border-radius: 12px; padding: 8px 10px; }
.hl-head { font-size: 11px; color: #9f93c9; margin-bottom: 4px; }
.hl-row { display: flex; align-items: center; gap: 8px; padding: 3px 0; font-size: 12px; }
.hl-name { color: #e8e2ff; max-width: 34%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl-type { font-size: 11px; padding: 1px 6px; border-radius: 6px; }
.hl-type.recharge { color: #7fe3ad; background: rgba(61, 220, 151, .12); }
.hl-type.withdraw { color: #ffd08a; background: rgba(255, 207, 107, .12); }
.hl-amt { margin-left: auto; color: #ffd35c; font-family: Consolas, monospace; }

/* 个人中心改为整页 */
.me-page { padding-bottom: 24px; }
.me-page-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; position: sticky; top: 0; z-index: 8; background: rgba(22, 13, 46, .98); border-bottom: 1px solid rgba(139, 107, 255, .15); }
.me-page-back { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.me-page-head b { font-size: 16px; }
.me-page-body { padding: 12px 14px; }

.ck-tiers { margin: 8px 0; display: flex; flex-direction: column; gap: 4px; }
.ck-tier { font-size: 11px; color: #9f93c9; background: rgba(255, 255, 255, .04); border-radius: 8px; padding: 4px 8px; }
.ck-tier.on { color: #ffd35c; border: 1px solid rgba(255, 211, 92, .35); }

/* 客服整页 */
.chat-panel.chat-page-full { position: fixed; inset: 0; left: 0; right: 0; top: 0; bottom: 0; width: 100%; height: 100%; z-index: 96; border-radius: 0; border: none; background: linear-gradient(180deg, #1b1138, #120a26); }
.chat-page-full .chat-head { display: flex; align-items: center; gap: 10px; justify-content: flex-start; padding: 12px 14px; padding-top: calc(12px + env(safe-area-inset-top)); border-bottom: 1px solid rgba(255,255,255,.08); }
.chat-page-full .chat-head > div { flex: 1; }
.chat-back { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.chat-page-full .chat-body { padding-bottom: 8px; }
.chat-page-full .chat-input { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }

.tx-status { display: inline-block; margin-left: 6px; font-size: 10px; padding: 1px 6px; border-radius: 6px; }
.tx-status.pending { color: #ffd08a; background: rgba(255, 207, 107, .12); }
.tx-status.paid { color: #7fe3ad; background: rgba(61, 220, 151, .12); }
.tx-status.rejected { color: #ff9a9a; background: rgba(255, 107, 107, .12); }

.maint-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 130; background: linear-gradient(90deg, #b45309, #d97706); color: #fff; font-size: 12px; font-weight: 600; text-align: center; padding: 6px 8px; padding-top: calc(6px + env(safe-area-inset-top)); }

.m-ava-wrap {
  position: relative; width: 38px; height: 38px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.m-ava-wrap .m-ava-img, .m-ava-wrap .m-ava {
  width: 100%; height: 100%; border-radius: 50%;
}
.m-ava-wrap.vip {
  padding: 2px;
  background: linear-gradient(135deg, #ffd35c, #f0a21f 45%, #8b5bff);
  box-shadow: 0 0 0 1px rgba(255, 211, 92, .35), 0 0 10px rgba(255, 180, 50, .25);
}
.m-ava-wrap.vip .m-ava-img,
.m-ava-wrap.vip .m-ava { border: 1.5px solid #1c1230; }
.m-vip-badge, .me-vip-badge {
  position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%);
  padding: 0 4px; border-radius: 6px; font-style: normal; font-weight: 800;
  font-size: 8px; line-height: 13px; color: #3a2400; white-space: nowrap;
  background: linear-gradient(90deg, #ffe9a3, #f0a21f);
  border: 1px solid rgba(58, 36, 0, .25);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
.me-ava-lg { position: relative; overflow: visible; }
.me-ava-lg.vip-frame {
  border-color: #ffd35c;
  box-shadow: 0 0 0 3px rgba(255, 211, 92, .25), 0 0 14px rgba(255, 180, 50, .35);
}
.profile-ava-wrap { position: relative; width: 64px; height: 64px; border-radius: 50%; }
.profile-ava-wrap .profile-avatar { width: 100%; height: 100%; }
.profile-ava-wrap.vip { padding: 2px; background: linear-gradient(135deg, #ffd35c, #f0a21f 45%, #8b5bff); }
.profile-ava-wrap.vip .profile-avatar { border: 2px solid #1c1230; }
.profile-ava-fallback { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #6b5bd2, #3a2a75); color: #fff; font-size: 24px; font-weight: 700; }

.avatar-picker { margin: -2px 0 14px; }
.avatar-picker-label { font-size: 12px; color: #b9aee0; margin-bottom: 8px; }
.avatar-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.avatar-option { padding: 0; border: 2px solid transparent; background: transparent; border-radius: 50%; aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.avatar-option img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-option.on { border-color: #ffd35c; box-shadow: 0 0 0 2px rgba(255, 211, 92, .25), 0 0 10px rgba(255, 180, 50, .2); }

/* 邀请好友 */
.invite-hero { padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #8b5cf6, #6d28d9); margin-bottom: 14px; }
.invite-hero-title { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.invite-hero-sub { font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.85); }
.invite-link-box { display: flex; gap: 8px; margin-bottom: 14px; }
.invite-link-box input { flex: 1; min-width: 0; padding: 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: #d9d1f2; font-size: 11px; }
.invite-link-box .btn-confirm { flex: none; padding: 0 14px; }
.invite-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.invite-stats > div { padding: 12px 6px; border-radius: 12px; background: rgba(255,255,255,.05); text-align: center; }
.invite-stats b { display: block; color: #ffd35c; font-size: 16px; margin-bottom: 4px; }
.invite-stats span { font-size: 10px; color: #b9aee0; }
.invite-rules { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.04); margin-bottom: 14px; }
.invite-rules-title, .invite-list-title { font-size: 13px; font-weight: 700; color: #e8e0ff; margin-bottom: 8px; }
.invite-rules p { font-size: 11px; line-height: 1.7; color: #b9aee0; margin: 0 0 6px; }
.invite-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.invite-row-main { flex: 1; min-width: 0; }
.invite-row-main b { display: block; font-size: 13px; color: #eee8ff; }
.invite-row-main small { display: block; font-size: 10px; color: #8f84ad; margin-top: 3px; }
.invite-done { color: #34d399; font-size: 11px; white-space: nowrap; }
.invite-pending { color: #8f84ad; font-size: 11px; white-space: nowrap; }

/* 公告通知独立页 */
.announce-screen { padding: 14px; }
.announce-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.announce-head b { font-size: 18px; }
.announce-item { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); margin-bottom: 10px; }
.announce-item-time { font-size: 10px; color: #8f84ad; margin-bottom: 6px; }
.announce-item-text { font-size: 13px; line-height: 1.7; color: #e8e0ff; white-space: pre-wrap; word-break: break-word; }

.invite-qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 4px 0 14px; }
.invite-qr { width: 160px; height: 160px; border-radius: 12px; background: #fff; padding: 6px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.invite-qr-wrap small { color: #b9aee0; font-size: 10px; }

.m-ava-logo { object-fit: cover; background: #fff; border: 2px solid rgba(255, 255, 255, .28); }

.sl-res { flex: none; min-width: 42px; text-align: center; line-height: 1.15; }
.sl-res b {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 3px;
  background: radial-gradient(circle at 32% 28%, #ff9aa5, #d92a44 72%);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .16), 0 2px 7px rgba(217, 42, 68, .35);
  color: #fff !important; font-size: 14px; font-weight: 800;
}
.sl-res b.red, .sl-res b.blue { color: #fff; }
.sl-sum-mini {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-grid; place-items: center;
  margin-left: 2px; vertical-align: middle;
  background: radial-gradient(circle at 32% 28%, #ff9aa5, #d92a44 72%);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .16), 0 2px 6px rgba(217, 42, 68, .35);
  color: #fff; font-size: 11px; font-weight: 800; line-height: 1;
}

/* 玩法规则 */
.rules-entry {
  display: block; width: 100%; margin-top: 6px; padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .10); border-radius: 9px;
  background: rgba(255, 255, 255, .04); color: #b9aee0;
  font-size: 12px; text-align: center;
}
.rules-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 130;
  max-height: 86vh; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #241548, #160d2b);
  border-radius: 18px 18px 0 0; border-top: 1px solid rgba(139, 107, 255, .3);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .5);
}
.rules-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; flex: none; }
.rules-head b { font-size: 15px; color: #eee8ff; }
.rules-body { overflow-y: auto; padding: 0 16px 22px; }
.rules-title { font-size: 13px; font-weight: 700; color: #e8e0ff; margin: 14px 0 8px; }
.rules-odds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.rules-odd { padding: 6px 3px; border-radius: 8px; text-align: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); }
.rules-odd span { display: block; font-size: 11px; color: #cfc6ea; margin-bottom: 3px; }
.rules-odd b { font-size: 12px; color: #ffd35c; }
.rules-sum-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.rules-sum-grid .rules-odd { padding: 5px 1px; }
.rules-sum-grid .rules-odd span { font-size: 10px; }
.rules-sum-grid .rules-odd b { font-size: 10px; }
.rules-note { font-size: 11px; line-height: 1.7; color: #b9aee0; margin: 6px 0 0; }
.rules-refund-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 2px; }
.rules-refund-tags span { padding: 3px 8px; border-radius: 7px; background: rgba(255, 91, 110, .14); border: 1px solid rgba(255, 91, 110, .28); color: #ff9aa5; font-size: 11px; }

.rules-guide { margin: 0 0 6px; padding-left: 18px; }
.rules-guide li { font-size: 12px; line-height: 1.8; color: #b9aee0; margin-bottom: 2px; }
.rules-guide li b { color: #eee8ff; }

.rules-example { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 211, 92, .08); border: 1px solid rgba(255, 211, 92, .22); }
.rules-example-title { color: #ffd35c; font-size: 12px; font-weight: 700; margin-bottom: 5px; }
.rules-example p { margin: 0 0 3px; font-size: 12px; line-height: 1.7; color: #e8e0ff; }

/* 玩法规则独立页 */
.rules-page { padding: 14px; }
.rules-page-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rules-page-head b { font-size: 18px; color: #eee8ff; }
.rules-page-body { padding-bottom: 24px; }

/* 首页增强 */
.home-draw { margin: 2px 0 10px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(43, 27, 82, .95), rgba(59, 42, 107, .9)); border: 1px solid rgba(139, 107, 255, .25); }
.hd-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.hd-title span { font-size: 13px; font-weight: 700; color: #e8e0ff; }
.hd-title small { font-size: 10px; color: #b9aee0; }
.hd-balls { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hd-more { margin-top: 9px; font-size: 11px; color: #b9aee0; text-align: right; }
.home-login { width: 100%; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 211, 92, .25); background: linear-gradient(135deg, rgba(255, 211, 92, .14), rgba(240, 162, 31, .06)); text-align: left; }
.hl-ic { width: 38px; height: 38px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ffd35c, #f0a21f); }
.hl-ic svg { width: 20px; height: 20px; fill: #3a2400; }
.hl-txt { flex: 1; min-width: 0; }
.hl-txt b { display: block; font-size: 14px; color: #fff; margin-bottom: 3px; }
.hl-txt small { display: block; font-size: 10px; color: #cfc6ea; }
.hl-go { font-size: 11px; color: #ffd35c; white-space: nowrap; }
.home-rooms { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.home-section-title { font-size: 13px; font-weight: 700; color: #cfc6ea; padding: 0 2px; }

/* 可读性微调 */
.hi-txt small { font-size: 11px; }
.rules-note { font-size: 12px; }
.invite-row-main small { font-size: 11px; }




.ops-list { display:flex; flex-direction:column; gap:8px; padding-bottom:10px; }
.ops-item { padding:10px 11px; border-radius:10px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07); }
.ops-item-head { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.ops-item-head b { font-size:12px; color:#eee8ff; }
.ops-item-head small { margin-left:auto; color:#8f84ad; font-size:10px; }
.ops-item p { margin:6px 0 0; font-size:11px; color:#b9aee0; line-height:1.5; white-space:pre-wrap; }
.ops-dot { font-size:9px; color:#ffd35c; border:1px solid rgba(255,211,92,.3); border-radius:8px; padding:1px 5px; }
.ops-tag { display:inline-block; margin-top:7px; padding:4px 8px; border-radius:7px; background:rgba(255,255,255,.06); color:#8f84ad; font-size:10px; }
.ops-form { display:flex; flex-direction:column; gap:7px; margin-top:10px; }
.ops-form input { padding:9px 10px; border-radius:8px; border:1px solid rgba(255,255,255,.12); background:rgba(0,0,0,.25); color:#fff; }
.ops-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-bottom:4px; }
.ops-kpis > div { padding:9px; border-radius:9px; background:rgba(0,0,0,.18); }
.ops-kpis small { display:block; color:#8f84ad; font-size:9px; margin-bottom:3px; }
.ops-kpis b { color:#ffd35c; font-size:12px; }
.ops-hint { margin:8px 0 0; color:#8f84ad; font-size:10px; line-height:1.5; }

.me-badge { margin-left:auto; min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:#e0393e; color:#fff; font-size:10px; display:inline-flex; align-items:center; justify-content:center; font-weight:700; }
.bar-ic { position:relative; }
.bar-dot { position:absolute; top:7px; right:7px; width:7px; height:7px; border-radius:50%; background:#e0393e; box-shadow:0 0 0 2px #1a1030; }


.kyc-approved { color:#34d399; }
.kyc-pending { color:#ffd35c; }
.kyc-rejected { color:#ff8a97; }
.kyc-none { color:#a99ec7; }

.ops-tabs-mini { display:flex; gap:6px; margin-bottom:8px; }
.ops-tabs-mini button, .board-switch button { flex:1; padding:6px 4px; border-radius:7px; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.04); color:#a99ec7; font-size:10px; }
.ops-tabs-mini button.on, .board-switch button.on { border-color:rgba(255,211,92,.5); color:#ffd35c; background:rgba(255,211,92,.1); }
.task-progress { height:6px; border-radius:4px; background:rgba(255,255,255,.09); margin:8px 0 5px; overflow:hidden; }
.task-progress i { display:block; height:100%; border-radius:4px; background:linear-gradient(90deg,#ffd35c,#ff9f43); }
.task-meta { display:flex; align-items:center; gap:8px; font-size:10px; color:#a99ec7; }
.task-meta button { margin-left:auto; }
.task-meta .ops-tag { margin-left:auto; }
.board-switch { display:flex; gap:6px; margin-bottom:4px; }
.board-row { display:flex; align-items:center; gap:8px; padding:8px 10px; border-radius:8px; background:rgba(255,255,255,.035); font-size:11px; }
.board-row b { flex:1; color:#eee8ff; font-weight:500; }
.board-row span:last-child { color:#ffd35c; }
.board-rank { width:22px; text-align:center; color:#8f84ad; font-weight:700; }
.board-rank.top { color:#ffd35c; }
.board-mine { padding:8px 10px; border-radius:8px; background:rgba(255,211,92,.08); color:#ffd35c; font-size:10px; }

.board-reward { color:#ffd35c !important; font-size:10px; padding:1px 6px; border-radius:8px; background:rgba(255,211,92,.1); }


/* Telegram Mini App 首次欢迎层 */
.welcome-mask { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 22px; background: rgba(8, 4, 20, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.welcome-card { width: 100%; max-width: 360px; padding: 26px 20px 20px; border-radius: 24px; text-align: center; background: radial-gradient(120% 100% at 50% 0%, rgba(104, 76, 190, .42), rgba(24, 14, 45, .98)); border: 1px solid rgba(255, 211, 92, .22); box-shadow: 0 24px 70px rgba(0, 0, 0, .55); }
.welcome-logo { display: inline-flex; align-items: center; justify-content: center; padding: 5px 14px; border-radius: 999px; color: #ffd35c; font-size: 11px; letter-spacing: .18em; font-weight: 700; background: rgba(255, 211, 92, .1); border: 1px solid rgba(255, 211, 92, .25); }
.welcome-card h2 { margin: 15px 0 4px; font-size: 22px; color: #f7f1ff; font-weight: 700; }
.welcome-sub { margin: 0; color: #a99ec7; font-size: 11px; }
.welcome-balance { margin: 8px 0 4px; color: #ffd35c; font-size: 34px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.welcome-tip { margin: 8px 0 18px; color: #9d92bb; font-size: 10px; line-height: 1.6; }
.welcome-main { width: 100%; height: 46px; border-radius: 13px; font-size: 15px; font-weight: 700; }
.welcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.welcome-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); color: #eee8ff; }
.welcome-btn b { font-size: 11px; font-weight: 600; }
.welcome-btn small { font-size: 9px; color: #9d92bb; }
.welcome-btn:active { background: rgba(255,211,92,.12); }


/* PG电子 */
.pg-av { background: linear-gradient(135deg,#7c3aed,#ec4899); color:#fff; font-size:22px; }
.pg-card { border-color: rgba(236,72,153,.25); }
.pg-sheet-head { display:flex; align-items:center; justify-content:space-between; padding:4px 0 12px; }
.pg-sheet-head > div { display:flex; flex-direction:column; gap:3px; }
.pg-sheet-head b { font-size:18px; color:#f7f1ff; }
.pg-sheet-head small { font-size:10px; color:#9d92bb; }
.pg-warning { margin:0 0 10px; padding:9px 10px; border-radius:9px; color:#ffd35c; font-size:10px; line-height:1.5; background:rgba(255,211,92,.08); border:1px solid rgba(255,211,92,.18); }
.pg-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.pg-game { display:flex; flex-direction:column; align-items:flex-start; gap:4px; padding:13px 12px; border-radius:12px; border:1px solid rgba(255,255,255,.1); background:linear-gradient(145deg,rgba(124,58,237,.2),rgba(236,72,153,.08)); color:#eee8ff; text-align:left; }
.pg-game:active { transform:scale(.98); border-color:rgba(255,211,92,.4); }
.pg-game-ic { font-size:22px; line-height:1; }
.pg-game b { font-size:12px; font-weight:600; }
.pg-game small { font-size:9px; color:#a99ec7; }


.pg-wallet { margin:0 0 12px; padding:11px; border-radius:11px; background:rgba(255,255,255,.045); border:1px solid rgba(255,255,255,.1); }
.pg-wallet-row { display:flex; align-items:center; justify-content:space-between; padding:3px 0; font-size:11px; color:#a99ec7; }
.pg-wallet-row b { color:#ffd35c; }
.pg-transfer-row { display:flex; gap:6px; margin-top:8px; }
.pg-transfer-row input { flex:1; min-width:0; height:34px; padding:0 9px; border-radius:8px; border:1px solid rgba(255,255,255,.12); background:rgba(0,0,0,.18); color:#eee8ff; }
.pg-transfer-row button { padding:0 11px; border-radius:8px; border:1px solid rgba(255,211,92,.32); background:rgba(255,211,92,.1); color:#ffd35c; font-size:11px; }
.pg-wallet-tip { display:block; margin-top:7px; color:#8f84ad; font-size:9px; line-height:1.5; }


/* PG电子内嵌游戏页 */
.pg-player { position:fixed; inset:0; z-index:120; display:flex; flex-direction:column; background:#0c0718; }
.pg-player-head { display:flex; align-items:center; gap:10px; padding:calc(8px + env(safe-area-inset-top)) 10px 8px; background:#171027; border-bottom:1px solid rgba(255,255,255,.08); }
.pg-player-logo { padding:5px 12px; border-radius:8px; color:#ffd35c; font-weight:800; font-size:14px; letter-spacing:.04em; background:rgba(255,211,92,.1); border:1px solid rgba(255,211,92,.25); }
.pg-player-title { flex:1; color:#eee8ff; font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pg-player-back { padding:6px 10px; border-radius:8px; color:#cfc5e8; font-size:11px; background:rgba(255,255,255,.07); }
.pg-player-bar { display:flex; align-items:center; gap:9px; padding:7px 10px; background:#120c20; border-bottom:1px solid rgba(255,255,255,.06); overflow-x:auto; }
.pg-player-bar > div { display:flex; flex-direction:column; gap:1px; flex-shrink:0; }
.pg-player-bar small { color:#8f84ad; font-size:8px; }
.pg-player-bar b { color:#ffd35c; font-size:11px; }
.pg-player-transfer { flex-direction:row !important; align-items:center; gap:4px !important; }
.pg-player-transfer input { width:62px; height:28px; padding:0 6px; border-radius:6px; border:1px solid rgba(255,255,255,.12); background:rgba(0,0,0,.25); color:#fff; font-size:10px; }
.pg-player-transfer button, .pg-player-refresh { padding:6px 8px; border-radius:6px; font-size:9px; color:#ffd35c; background:rgba(255,211,92,.1); border:1px solid rgba(255,211,92,.22); white-space:nowrap; }
.pg-player-frame { flex:1; width:100%; border:0; background:#000; }
.pg-player-loading { flex:1; display:flex; align-items:center; justify-content:center; color:#a99ec7; font-size:12px; }


.pg-av { overflow:hidden; }
.pg-av img { width:100%; height:100%; object-fit:cover; display:block; }
.pg-avatar-preview { width:58px; height:58px; margin:4px 0 10px; border-radius:12px; overflow:hidden; border:1px solid rgba(255,211,92,.25); }
.pg-avatar-preview img { width:100%; height:100%; object-fit:cover; display:block; }


/* PG 游戏列表 logo */
.pg-game-logo { width:30px; height:30px; border-radius:8px; object-fit:contain; background:rgba(255,255,255,.06); padding:3px; }
.pg-game-ic { width:30px; height:30px; display:flex; align-items:center; justify-content:center; border-radius:8px; background:rgba(255,211,92,.12); color:#ffd35c; font-weight:800; font-size:14px; }


/* PG 游戏内悬浮站点 Logo */
.pg-float-logo { position:fixed; z-index:130; width:46px; height:46px; padding:4px; border-radius:14px; border:1px solid rgba(255,211,92,.35); background:rgba(18,10,32,.92); box-shadow:0 8px 24px rgba(0,0,0,.45); touch-action:none; user-select:none; -webkit-user-select:none; display:flex; align-items:center; justify-content:center; }
.pg-float-logo img { width:100%; height:100%; object-fit:contain; border-radius:10px; display:block; pointer-events:none; }
.pg-float-logo span { color:#ffd35c; font-size:18px; font-weight:800; pointer-events:none; }
.pg-float-menu { position:fixed; z-index:131; width:206px; padding:11px; border-radius:14px; background:rgba(23,16,39,.98); border:1px solid rgba(255,211,92,.22); box-shadow:0 14px 42px rgba(0,0,0,.55); }
.pg-float-title { color:#ffd35c; font-size:12px; font-weight:700; margin-bottom:8px; }
.pg-float-balance { display:flex; justify-content:space-between; gap:8px; color:#a99ec7; font-size:10px; padding:2px 0; }
.pg-float-balance b { color:#ffd35c; font-weight:600; }
.pg-float-amount { margin:7px 0; }
.pg-float-amount input { width:100%; height:32px; padding:0 8px; border-radius:7px; border:1px solid rgba(255,255,255,.12); background:rgba(0,0,0,.25); color:#fff; font-size:11px; }
.pg-float-btn { width:100%; height:32px; margin-top:5px; border-radius:7px; color:#ded4f5; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.08); font-size:11px; }
.pg-float-btn.main { color:#1a1030; background:#ffd35c; border-color:#ffd35c; font-weight:700; }
.pg-float-btn.ghost { color:#9d92bb; background:transparent; border-color:rgba(255,255,255,.08); margin-top:8px; }

/* PG 游戏搜索 */
.pg-search { display:flex; align-items:center; gap:7px; margin:0 0 10px; }
.pg-search input { flex:1; height:34px; padding:0 10px; border-radius:9px; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.05); color:#eee8ff; font-size:11px; }
.pg-search span { flex-shrink:0; color:#9d92bb; font-size:9px; }


/* PG 独立游戏列表页 */
.pg-list-page { position:fixed; inset:0; z-index:110; display:flex; flex-direction:column; background:radial-gradient(120% 80% at 50% 0%,#261747 0%,#0d0818 70%); }
.pg-list-head { display:flex; align-items:center; gap:10px; padding:calc(10px + env(safe-area-inset-top)) 12px 10px; border-bottom:1px solid rgba(255,255,255,.08); background:rgba(18,11,32,.85); }
.pg-list-back { width:32px; height:32px; flex-shrink:0; border-radius:9px; color:#ffd35c; font-size:22px; line-height:1; background:rgba(255,211,92,.08); border:1px solid rgba(255,211,92,.2); }
.pg-list-title { flex:1; display:flex; flex-direction:column; gap:2px; }
.pg-list-title b { color:#f7f1ff; font-size:16px; }
.pg-list-title small { color:#9d92bb; font-size:9px; }
.pg-list-site-logo { width:34px; height:34px; border-radius:9px; object-fit:contain; background:rgba(255,255,255,.06); padding:3px; }
.pg-list-site-logo.fallback { display:flex; align-items:center; justify-content:center; color:#ffd35c; font-weight:800; font-size:15px; }
.pg-list-body { flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch; padding:12px 12px calc(18px + env(safe-area-inset-bottom)); }


/* PG 进入前转入弹窗 */
.pg-entry-mask { position:fixed; inset:0; z-index:115; display:flex; align-items:center; justify-content:center; padding:22px; background:rgba(8,4,20,.76); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.pg-entry-card { width:100%; max-width:350px; padding:22px 18px 16px; border-radius:20px; background:radial-gradient(120% 100% at 50% 0%,rgba(104,76,190,.42),rgba(24,14,45,.98)); border:1px solid rgba(255,211,92,.22); box-shadow:0 24px 70px rgba(0,0,0,.55); text-align:center; }
.pg-entry-logo { width:48px; height:48px; object-fit:contain; border-radius:12px; background:rgba(255,255,255,.06); padding:4px; }
.pg-entry-logo.fallback { display:flex; align-items:center; justify-content:center; margin:0 auto; color:#ffd35c; font-size:22px; font-weight:800; }
.pg-entry-card h3 { margin:10px 0 4px; color:#f7f1ff; font-size:19px; }
.pg-entry-card p { margin:0 0 12px; color:#9d92bb; font-size:10px; line-height:1.6; }
.pg-entry-wallet { display:flex; align-items:center; justify-content:space-between; padding:7px 9px; margin-bottom:9px; border-radius:8px; background:rgba(255,255,255,.045); color:#a99ec7; font-size:10px; }
.pg-entry-wallet b { color:#ffd35c; }
.pg-entry-row { display:flex; gap:7px; }
.pg-entry-row input { flex:1; min-width:0; height:38px; padding:0 10px; border-radius:9px; border:1px solid rgba(255,255,255,.12); background:rgba(0,0,0,.22); color:#fff; font-size:13px; }
.pg-entry-transfer { flex-shrink:0; padding:0 17px; height:38px; border-radius:9px; border:1px solid #ffd35c; background:#ffd35c; color:#1a1030; font-size:12px; font-weight:700; }
.pg-entry-transfer:disabled { opacity:.55; }
.pg-entry-actions { display:flex; gap:7px; margin-top:9px; }
.pg-entry-cancel, .pg-entry-direct { flex:1; height:34px; border-radius:8px; font-size:10px; }
.pg-entry-cancel { color:#a99ec7; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); }
.pg-entry-direct { color:#ffd35c; background:rgba(255,211,92,.09); border:1px solid rgba(255,211,92,.25); }

.pg-all-btn { width:100%; height:34px; margin-top:7px; border-radius:8px; color:#ffd35c; background:rgba(255,211,92,.09); border:1px solid rgba(255,211,92,.25); font-size:11px; }


/* 投注记录类型切换 */
.bet-tabs { display:flex; gap:6px; margin:0 0 12px; }
.bet-tabs button { flex:1; height:34px; border-radius:8px; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.04); color:#a99ec7; font-size:11px; }
.bet-tabs button.on { color:#ffd35c; border-color:rgba(255,211,92,.45); background:rgba(255,211,92,.1); }
.pg-bet-row .br-status.win { color:#5fe1a0; }

.pg-list-bets { flex-shrink:0; padding:7px 8px; border-radius:7px; color:#ffd35c; font-size:9px; background:rgba(255,211,92,.09); border:1px solid rgba(255,211,92,.25); }

/* PG游戏列表：一行3个 */
.pg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 7px !important; }
.pg-game { padding: 9px 7px !important; gap: 4px !important; }
.pg-game-logo { width: 28px !important; height: 28px !important; }
.pg-game b { font-size: 10px !important; line-height: 1.35; word-break: break-word; }


/* PG 游戏封面卡片 */
.pg-game { display:block !important; padding:0 !important; overflow:hidden !important; background:#141021 !important; border-radius:11px !important; }
.pg-game-cover-wrap { position:relative; display:block; width:100%; aspect-ratio:1/1; overflow:hidden; background:#1c1530; }
.pg-game-cover { width:100%; height:100%; object-fit:cover; display:block; }
.pg-card-badge { position:absolute; right:5px; bottom:5px; padding:2px 4px; border-radius:4px; background:rgba(8,8,16,.78); border:1px solid rgba(255,255,255,.22); color:#fff; font-size:9px; font-weight:800; line-height:1.2; }
.pg-game-name { display:block; width:100%; padding:6px 6px 7px; color:#eee8ff; font-size:9px; font-weight:600; line-height:1.35; text-align:left; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* PG游戏名称放大居中 */
.pg-game-name { font-size:11px !important; line-height:1.45 !important; text-align:center !important; padding:6px 4px 8px !important; height:36px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; white-space:normal; overflow:hidden; }

/* 所有PG游戏封面圆角 */
.pg-game-cover-wrap { border-radius:10px !important; overflow:hidden !important; }
.pg-game-cover { border-radius:10px !important; overflow:hidden !important; }

/* 真人百家乐入口/游戏 */
.live-card .live-av { background: linear-gradient(135deg,#1c4f9c,#0c1c4d); color:#ffd35c; font-size:28px; font-weight:900; display:flex; align-items:center; justify-content:center; border:1px solid rgba(255,211,92,.25); }
.live-game-bar { position:fixed; right:12px; bottom:14px; z-index:99999; display:flex; gap:8px; }
.live-game-exit,.live-game-withdraw { height:32px; padding:0 12px; border-radius:8px; font-size:11px; border:1px solid rgba(255,255,255,.2); background:rgba(8,8,18,.86); color:#fff; backdrop-filter:blur(8px); }
.live-game-withdraw { color:#ffd35c; border-color:rgba(255,211,92,.35); }

/* 真人赌场游戏列表 */
.live-game-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding-bottom:20px; }
.live-game-card { display:flex; align-items:center; gap:9px; min-height:58px; padding:9px 10px; border-radius:10px; background:#151022; border:1px solid rgba(255,255,255,.08); text-align:left; color:#eee8ff; }
.live-game-ic { flex-shrink:0; width:34px; height:34px; display:flex; align-items:center; justify-content:center; border-radius:8px; background:linear-gradient(135deg,#1e5a9c,#0c1d4a); color:#ffd35c; font-size:20px; font-weight:900; }
.live-game-card b { display:block; font-size:11px; line-height:1.35; }
.live-game-card small { display:block; margin-top:3px; font-size:9px; color:#9b91b8; }

.live-game-card { display:block !important; padding:0 !important; overflow:hidden; }
.live-game-cover { display:block; width:100%; height:78px; object-fit:cover; background:#1c1530; }
.live-game-info { padding:7px 8px 8px; }
.live-game-info b { display:block; font-size:11px; line-height:1.35; }
.live-game-info small { display:block; margin-top:3px; font-size:9px; color:#9b91b8; }

.live-game-preview { position:relative; width:100%; height:78px; overflow:hidden; background:#1c1530; }
.live-game-preview .live-game-cover { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.live-game-frame { position:absolute; inset:0; width:100%; height:100%; border:0; pointer-events:none; background:transparent; }
.live-game-live { position:absolute; top:5px; left:5px; z-index:2; padding:2px 5px; border-radius:4px; background:rgba(210,25,45,.9); color:#fff; font-size:8px; font-weight:800; letter-spacing:.5px; }

.live-game-bar { position:fixed !important; top:10px !important; bottom:auto !important; left:12px; right:12px; z-index:99999; display:flex; align-items:center; gap:8px; justify-content:flex-end; }
.live-game-balance { margin-right:auto; padding:7px 10px; border-radius:8px; background:rgba(8,8,18,.86); border:1px solid rgba(255,255,255,.18); color:#cfc6e6; font-size:10px; backdrop-filter:blur(8px); }
.live-game-balance b { color:#ffd35c; font-size:12px; margin-left:3px; }

.live-game-preview .live-game-cover { object-fit:contain !important; background:#fff; }

/* 真人供应商大厅：一行一个 */
.live-game-grid { display:flex !important; flex-direction:column; gap:10px; }
.live-game-card { display:flex !important; align-items:center; gap:12px; width:100%; min-height:92px; padding:9px !important; }
.live-game-preview { width:122px !important; height:74px !important; flex:0 0 122px; border-radius:8px; background:#fff; }
.live-game-preview .live-game-cover { width:100%; height:100%; object-fit:contain !important; background:#fff; }
.live-game-info { flex:1; padding:0 !important; }
.live-game-info b { font-size:13px !important; }
.live-game-info small { font-size:10px !important; }
.live-game-enter { flex-shrink:0; margin-right:3px; padding:5px 8px; border-radius:6px; color:#ffd35c; border:1px solid rgba(255,211,92,.25); font-size:10px; }

.live-game-transfer { display:flex; align-items:center; gap:4px; padding:3px 5px; border-radius:8px; background:rgba(8,8,18,.86); border:1px solid rgba(255,255,255,.18); backdrop-filter:blur(8px); }
.live-game-transfer input { width:52px; height:24px; padding:0 4px; border-radius:5px; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.06); color:#fff; font-size:10px; text-align:center; }
.live-game-transfer button { height:24px; padding:0 7px; border-radius:5px; border:1px solid rgba(255,211,92,.3); background:rgba(255,211,92,.08); color:#ffd35c; font-size:10px; }
@media (max-width:420px) { .live-game-bar { gap:4px; flex-wrap:wrap; justify-content:flex-end; } .live-game-transfer input { width:44px; } .live-game-exit, .live-game-withdraw { padding:0 7px; } }

.live-game-bar { flex-wrap:wrap; justify-content:flex-end; max-width:calc(100% - 24px); }
.live-game-balance { display:inline-flex !important; }

.lobby-av.site-av { background:#fff !important; border:1px solid rgba(255,255,255,.15); }
.lobby-av.site-av img { object-fit:cover !important; padding:0 !important; width:100% !important; height:100% !important; display:block; }

.pg-list-refresh { flex-shrink:0; padding:7px 9px; border-radius:7px; color:#ffd35c; font-size:10px; background:rgba(255,211,92,.09); border:1px solid rgba(255,211,92,.25); }

.live-game-error { position:fixed; left:50%; top:50%; transform:translate(-50%,-50%); z-index:100000; width:min(300px,86vw); padding:18px; border-radius:12px; background:rgba(12,10,24,.96); border:1px solid rgba(255,211,92,.3); color:#eee8ff; text-align:center; box-shadow:0 12px 40px rgba(0,0,0,.5); }
.live-game-error p { margin:0 0 12px; font-size:12px; line-height:1.6; }
.live-game-error div { display:flex; gap:6px; justify-content:center; flex-wrap:wrap; }
.live-game-error button { height:30px; padding:0 10px; border-radius:7px; border:1px solid rgba(255,211,92,.35); background:rgba(255,211,92,.1); color:#ffd35c; font-size:11px; }

.live-float-logo { z-index:100001 !important; }
.live-float-logo img { width:100%; height:100%; object-fit:cover; display:block; border-radius:inherit; }
.live-float-menu { z-index:100002 !important; width:200px !important; }
/* ===================== 2026 White Theme + New Lobby ===================== */
:root {
  --bg: #f4f6fb;
  --p1: #ffffff;
  --p2: #ffffff;
  --p3: #ffffff;
  --card: #ffffff;
  --card2: #f7f9fd;
  --line: #e8ebf2;
  --text: #20232b;
  --muted: #858b9c;
  --gold: #d99b00;
  --red: #ed3f58;
  --blue: #3478f6;
  --green: #1cae6e;
  --purple: #6d5bd0;
  --purple2: #4f7df3;
}
html, body { background: #eef1f7 !important; color: #20232b !important; }
body { color: #20232b !important; }
.phone { background: #f4f6fb !important; color: #20232b !important; }
.screen, .home-screen, .lobby-screen { background: #f4f6fb !important; color: #20232b !important; }
.bar { background: #fff !important; border-bottom: 1px solid #e8ebf2 !important; color: #20232b !important; }
.bar-ic, .bar-title b, .bar-title small { color: #20232b !important; }
.tabbar { background: #fff !important; border-top: 1px solid #e8ebf2 !important; box-shadow: 0 -4px 16px rgba(30, 45, 80, .04); }
.tabbar a { color: #8b91a2 !important; }
.tabbar a.on { color: #3478f6 !important; }
.tabbar a.on i { filter: none; }
.home-panel, .home-item, .wallet-card, .vip-banner, .room-bar, .draw-strip, .bill-bar, .bill-panel, .recent-drop, .sheet, .me-sheet, .pg-list-page, .pg-list-head, .pg-list-body, .pg-player, .pg-player-head, .pg-player-bar, .pg-entry-card, .pg-float-menu, .pg-wallet {
  background: #fff !important;
  color: #20232b !important;
  border-color: #e8ebf2 !important;
}
.home-item { border: 1px solid #eef1f6 !important; box-shadow: 0 3px 12px rgba(28, 48, 90, .04); }
.home-item b, .home-item .hi-txt b, .wallet-top, .wallet-amount, .sheet-balance, .me-sheet-head b, .room-bar, .room-bar span, .sheet-head > button, .pg-list-title b, .pg-list-title small, .pg-game b, .pg-game-name, .pg-player-title, .bet-row b, .tx-row b { color: #20232b !important; }
.muted, .small.muted, .home-item small, .hi-txt small, .wallet-top, .sheet-hint, .page-head p, .pg-search span, .pg-list-title small, .lobby-info small, .pg-game small { color: #858b9c !important; }
.sheet-head, .me-sheet-head { border-bottom-color: #eef1f6 !important; }
.sheet-head > button { background: #f4f6fa !important; color: #6f7688 !important; }
.sheet-head > button.on { background: #eaf1ff !important; color: #3478f6 !important; }
.sheet-x { color: #8b91a2 !important; }
.pg-search, .pg-search input, .form-row input, .pg-float-amount input, .wallet-tabs button, .pay-methods button, .pg-transfer-row input, .pg-float-btn, .btn.ghost, .pg-list-back, .pg-list-refresh {
  background: #f7f9fd !important; color: #20232b !important; border-color: #e4e8f0 !important;
}
.pg-search input::placeholder, .form-row input::placeholder, .pg-float-amount input::placeholder { color: #a3a9b7 !important; }
.wallet-tabs button.on, .pay-methods button.on { background: #eaf1ff !important; color: #3478f6 !important; border-color: #bdd2ff !important; }
.btn-primary, .pg-entry-transfer, .pg-entry-direct, .pg-all-btn { background: #3478f6 !important; color: #fff !important; border-color: #3478f6 !important; }
.btn-primary:disabled, .pg-entry-transfer:disabled { opacity: .55; }
.wallet-card { box-shadow: 0 5px 18px rgba(34, 63, 120, .06); }
.wallet-eye { color: #858b9c !important; }
.vip-banner { background: #fff7e6 !important; color: #6d4a00 !important; border: 1px solid #f1dfb8 !important; }
.vip-banner-text, .vip-chev { color: #6d4a00 !important; }
.draw-strip, .bill-bar { border: 1px solid #e8ebf2 !important; }
.top-strip, .ts-issue, .ts-balance, .ts-balance small, .ts-balance b, .draw-strip, .ds-issue, .bill-toggle { color: #20232b !important; }
.bill-toggle, .bill-cancel { background: #f7f9fd !important; color: #3478f6 !important; border-color: #e4e8f0 !important; }
.recent-drop { box-shadow: 0 8px 28px rgba(28, 45, 80, .12); }
.rd-row { border-bottom-color: #eef1f6 !important; }
.pg-list-page { background: #f4f6fb !important; }
.pg-list-head { background: #fff !important; border-bottom: 1px solid #e8ebf2 !important; }
.pg-list-body { background: #f4f6fb !important; }
.pg-game { background: #fff !important; border: 1px solid #e8ebf2 !important; color: #20232b !important; box-shadow: 0 3px 10px rgba(30, 50, 90, .04); }
.pg-game b, .pg-game .pg-game-name { color: #20232b !important; }
.pg-card-badge { background: rgba(8, 15, 35, .82) !important; }
.pg-player { background: #f4f6fb !important; }
.pg-player-frame { background: #fff !important; }
.pg-player-loading { background: #f4f6fb !important; color: #858b9c !important; }
.pg-player-title { color: #20232b !important; }
.pg-float-menu { box-shadow: 0 10px 30px rgba(25, 45, 85, .16) !important; border: 1px solid #e8ebf2 !important; }
.pg-float-title, .pg-float-balance, .pg-float-balance span, .pg-float-balance b { color: #20232b !important; }
.pg-float-balance b { color: #d99b00 !important; }
.pg-float-btn { background: #f4f6fa !important; color: #3478f6 !important; }
.pg-float-btn.ghost { color: #ed3f58 !important; }
.pg-entry-card { background: #fff !important; color: #20232b !important; box-shadow: 0 20px 60px rgba(25, 40, 75, .18); }
.pg-entry-card h3, .pg-entry-card p, .pg-entry-wallet, .pg-entry-wallet b { color: #20232b !important; }
.pg-entry-wallet b { color: #d99b00 !important; }
.bet-row, .tx-row { background: #fff !important; border-bottom: 1px solid #eef1f6 !important; color: #20232b !important; }
.br-top, .br-mid, .br-bot, .tx-right small { color: #858b9c !important; }
.bet-tabs button { background: #f4f6fa !important; color: #7b8294 !important; border-color: #e8ebf2 !important; }
.bet-tabs button.on { background: #eaf1ff !important; color: #3478f6 !important; border-color: #bdd2ff !important; }
.empty-box { color: #858b9c !important; }
.mask { background: rgba(20, 30, 50, .42) !important; }
.me-mask { background: rgba(20, 30, 50, .42) !important; }

/* ---- 鏂板ぇ鍘?---- */
.wl-screen { padding: 0 !important; overflow-y: auto !important; background: #f4f6fb !important; }
.wl-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 12px; background: #fff; border-bottom: 1px solid #eef1f6; }
.wl-brand { width: 34px; height: 34px; flex: none; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #f4f6fb; color: #3478f6; font-weight: 800; }
.wl-brand img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wl-title { flex: 1; text-align: center; font-size: 20px; color: #20232b; font-weight: 700; }
.wl-download { flex: none; height: 30px; padding: 0 10px; border-radius: 6px; background: #3478f6; color: #fff; font-size: 10px; }
.wl-scroll { padding: 10px 12px 92px; }
.wl-banner { position: relative; overflow: hidden; min-height: 133px; padding: 20px 16px; border-radius: 12px; background: linear-gradient(115deg, #f6b51d 0%, #ef7b28 38%, #c52e4f 100%); color: #fff; box-shadow: 0 6px 20px rgba(218, 111, 30, .2); }
.wl-banner::after { content: ''; position: absolute; right: -24px; bottom: -44px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.16); }
.wl-banner-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.wl-banner-copy small { font-size: 11px; opacity: .9; }
.wl-banner-copy b { font-size: 20px; letter-spacing: .5px; }
.wl-banner-copy span { font-size: 11px; opacity: .9; }
.wl-banner-glow { position: absolute; right: 18px; top: 18px; width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.2); box-shadow: 0 0 30px rgba(255,255,255,.4); }
.wl-notice { margin-top: 10px; display: flex; align-items: center; gap: 7px; min-height: 36px; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid #eef1f6; box-shadow: 0 3px 10px rgba(25, 45, 80, .04); }
.wl-notice-ic { color: #f0a51b; font-size: 14px; }
.wl-notice-text { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #626a7b; font-size: 11px; }
.wl-chev { color: #b3b9c6; font-size: 19px; line-height: 1; }
.wl-user-card { margin-top: 10px; padding: 12px; border-radius: 10px; background: #fff; border: 1px solid #eef1f6; box-shadow: 0 3px 12px rgba(25, 45, 80, .04); }
.wl-user-line { display: flex; align-items: center; gap: 9px; }
.wl-avatar { width: 34px; height: 34px; flex: none; border-radius: 50%; overflow: hidden; background: #eef2f8; display: flex; align-items: center; justify-content: center; color: #3478f6; }
.wl-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wl-user-meta { display: flex; flex-direction: column; gap: 2px; }
.wl-user-meta b { color: #20232b; font-size: 13px; }
.wl-user-meta small { color: #858b9c; font-size: 10px; }
.wl-balance-line { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: #858b9c; font-size: 11px; }
.wl-balance-line b { color: #20232b; font-size: 20px; font-family: Consolas, monospace; }
.wl-refresh { color: #3478f6; font-size: 16px; margin-left: 2px; }
.wl-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 12px; }
.wl-actions button { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #5c6475; font-size: 10px; }
.wl-actions i { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #f3f6fc; color: #3478f6; font-style: normal; font-size: 17px; }
.wl-actions button:nth-child(2) i { color: #e9a213; background: #fff8e8; }
.wl-actions button:nth-child(3) i { color: #8a6bdd; background: #f4f0ff; }
.wl-actions button:nth-child(4) i { color: #e04f67; background: #fff0f3; }
.wl-cats { display: flex; gap: 18px; overflow-x: auto; margin-top: 14px; padding: 0 2px 8px; border-bottom: 1px solid #e8ebf2; scrollbar-width: none; }
.wl-cats::-webkit-scrollbar { display: none; }
.wl-cats button { position: relative; flex: none; padding: 2px 0 7px; color: #686f80; font-size: 13px; white-space: nowrap; }
.wl-cats button.on { color: #3478f6; font-weight: 700; }
.wl-cats button.on::after { content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 18px; height: 2px; border-radius: 2px; background: #3478f6; }
.wl-section-title { display: flex; align-items: baseline; gap: 7px; margin: 12px 2px 9px; }
.wl-section-title b { color: #20232b; font-size: 15px; }
.wl-section-title span { color: #9aa0af; font-size: 10px; }
.wl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.wl-game-card { overflow: hidden; min-width: 0; border-radius: 9px; background: #fff; border: 1px solid #e8ebf2; text-align: left; box-shadow: 0 3px 10px rgba(25, 45, 80, .04); }
.wl-game-cover { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 92px; overflow: hidden; }
.wl-game-cover img { width: 100%; height: 100%; object-fit: contain; padding: 12px; background: #fff; box-sizing: border-box; }
.wl-game-cover.ca-cover { background: linear-gradient(135deg,#fff3d9,#ffdca0); color: #b56d00; gap: 2px; }
.wl-game-cover.ca-cover span { font-size: 25px; font-weight: 800; letter-spacing: 2px; }
.wl-game-cover.ca-cover small { font-size: 10px; }
.wl-game-cover.white-cover { background: #fff; }
.wl-game-info { padding: 7px 8px 9px; display: flex; flex-direction: column; gap: 3px; }
.wl-game-info b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #20232b; font-size: 12px; }
.wl-game-info small { color: #9aa0af; font-size: 9px; }
.wl-empty { padding: 40px 0; text-align: center; color: #9aa0af; font-size: 12px; }
@media (max-width: 360px) { .wl-cats { gap: 14px; } .wl-banner { min-height: 120px; padding: 17px 13px; } .wl-banner-copy b { font-size: 18px; } }


/* 我的页面白色卡片 */
.me-hero { background:#fff !important; border:1px solid #e8ebf2 !important; box-shadow:0 4px 16px rgba(30,50,90,.05) !important; color:#20232b !important; }
.me-hero .me-name-line b, .me-hero .me-sub, .me-hero .me-sub.dim, .me-hero .me-chev { color:#20232b !important; }
.me-hero .me-sub.dim { color:#858b9c !important; }
.me-hero .me-ava-lg { background:linear-gradient(135deg,#dfe8ff,#b9ccfb) !important; color:#3478f6 !important; border-color:#fff !important; }
.me-hero .me-ava-lg img { width:100%; height:100%; object-fit:cover; border-radius:50%; }

.me-menu { background:#fff !important; border-color:#e8ebf2 !important; }
.me-menu button { color:#20232b !important; border-bottom-color:#eef1f6 !important; }
.me-menu button * { color:#20232b !important; }
.me-menu .me-chev, .me-menu small { color:#858b9c !important; }
.me-grid button { color:#20232b !important; }
.live-game-card { background:#fff !important; border-color:#e8ebf2 !important; color:#20232b !important; box-shadow:0 3px 10px rgba(30,50,90,.04); }
.live-game-info b { color:#20232b !important; }
.live-game-info small { color:#858b9c !important; }
.live-game-enter { color:#3478f6 !important; border-color:#bdd2ff !important; }

.wl-banner-carousel { position:relative; overflow:hidden; height:145px; border-radius:12px; background:#eef2f8; box-shadow:0 6px 20px rgba(218,111,30,.12); }
.wl-banner-carousel img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .45s ease; }
.wl-banner-carousel img.on { opacity:1; }
.wl-banner-dots { position:absolute; left:50%; bottom:8px; transform:translateX(-50%); display:flex; gap:4px; z-index:2; }
.wl-banner-dots i { width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,.55); }
.wl-banner-dots i.on { width:12px; border-radius:3px; background:#fff; }

/* 大厅游戏入口：一行一个 */
.wl-grid { display:flex !important; flex-direction:column !important; gap:10px !important; }
.wl-game-card { display:flex !important; align-items:center !important; gap:11px !important; width:100% !important; min-height:88px !important; padding:8px !important; text-align:left; }
.wl-game-cover { width:112px !important; height:72px !important; flex:0 0 112px !important; border-radius:8px !important; overflow:hidden; }
.wl-game-cover img { padding:8px !important; }
.wl-game-cover.ca-cover span { font-size:20px !important; }
.wl-game-cover.ca-cover small { font-size:9px !important; }
.wl-game-info { padding:0 2px !important; flex:1; min-width:0; }
.wl-game-info b { font-size:13px !important; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.wl-game-info small { font-size:10px !important; }

.marquee { background:#fff !important; color:#8a90a2 !important; border-bottom:1px solid #eef1f6 !important; }
.marquee-inner span { color:#8a90a2 !important; }

.wl-checkin { margin-left:6px; height:24px; padding:0 9px; border-radius:12px; background:#fff4d6; color:#b37500; border:1px solid #f2d99d; font-size:10px; }
.checkin-page { background:#fff !important; color:#20232b !important; border-color:#e8ebf2 !important; box-shadow:0 20px 55px rgba(30,45,80,.18); }
.checkin-page .ck-head b, .checkin-page .ck-sub, .checkin-page .ck-day, .checkin-page .ck-day span, .checkin-page .ck-day b, .checkin-page .ck-stats, .checkin-page .ck-stats span, .checkin-page .ck-stats b, .checkin-page .ck-tier, .checkin-page .ck-full, .checkin-page .ck-need { color:#20232b !important; }
.checkin-page .ck-sub, .checkin-page .ck-need { color:#858b9c !important; }
.checkin-page .ck-day { background:#f7f9fd !important; border-color:#e8ebf2 !important; }
.checkin-page .ck-day.signed { background:#fff4d6 !important; }
.checkin-page .ck-x { color:#858b9c !important; }
.checkin-hide { background:#fff !important; border-color:#e8ebf2 !important; color:#858b9c !important; }
.toast { background:#fff !important; color:#20232b !important; border:1px solid #e8ebf2 !important; box-shadow:0 10px 30px rgba(30,45,80,.16) !important; }
.auth-card { background:#fff !important; color:#20232b !important; border-color:#e8ebf2 !important; }
.auth-card h2, .auth-card label, .auth-switch { color:#20232b !important; }
.welcome-card { background:#fff !important; color:#20232b !important; border-color:#f0dfb8 !important; box-shadow:0 20px 55px rgba(30,45,80,.16) !important; }
.welcome-card h2 { color:#20232b !important; }

.wl-progress { display:flex; align-items:center; gap:8px; margin-top:12px; color:#858b9c; font-size:10px; }
.wl-progress > span { color:#6f7688; }
.wl-progress > div { flex:1; height:5px; border-radius:3px; background:#eef1f6; overflow:hidden; }
.wl-progress > div i { display:block; height:100%; border-radius:3px; background:linear-gradient(90deg,#ffd35c,#f0a21f); }
.wl-progress small { color:#9aa0af; white-space:nowrap; }

/* 白色弹窗头部统一 */
.sheet-head, .me-sheet-head, .pg-sheet-head, .sheet-foot { background:#fff !important; color:#20232b !important; border-color:#eef1f6 !important; }
.pg-sheet-head b, .pg-sheet-head small, .sheet-round, .sheet-head > button, .me-sheet-head b, .me-sheet-head button, .kv b, .kv span { color:#20232b !important; }
.pg-sheet-head small, .sheet-round, .me-sheet-head button, .kv span { color:#858b9c !important; }
.sheet-foot button { color:#3478f6 !important; }
.form-row input, .form-row select, .form-row textarea { background:#f7f9fd !important; color:#20232b !important; border-color:#e4e8f0 !important; }
.quick-amt button { background:#f7f9fd !important; color:#6f7688 !important; border-color:#e4e8f0 !important; }
.pay-methods button { background:#f7f9fd !important; color:#6f7688 !important; border-color:#e4e8f0 !important; }
.pay-methods button.on { background:#eaf1ff !important; color:#3478f6 !important; border-color:#bdd2ff !important; }

/* 客服/聊天白色 */
.chat-box { background:#fff !important; border-color:#e8ebf2 !important; color:#20232b !important; box-shadow:0 20px 55px rgba(30,45,80,.16) !important; }
.chat-head { border-bottom-color:#eef1f6 !important; }
.chat-head b, .chat-head small, .cmsg-name, .cmsg-time { color:#20232b !important; }
.chat-head small, .cmsg-name, .cmsg-time, .chat-empty { color:#858b9c !important; }
.chat-body { background:#f7f9fd !important; }
.cbubble { background:#fff !important; color:#20232b !important; border:1px solid #e8ebf2; }
.cmsg.user .cbubble { background:#3478f6 !important; color:#fff !important; border-color:#3478f6; }
.cmsg.system .cbubble { background:#fff7e6 !important; color:#8a6500 !important; border-color:#f1dfb8; }
.chat-quick button { background:#f7f9fd !important; border-color:#e4e8f0 !important; color:#6f7688 !important; }
.chat-input input { background:#f7f9fd !important; border-color:#e4e8f0 !important; color:#20232b !important; }
.recent-drop { background:#fff !important; color:#20232b !important; }
.recent-drop .rd-head, .rd-row, .rd-issue, .rd-nums, .rd-eq { color:#20232b !important; }
.rd-row { border-bottom-color:#eef1f6 !important; }
.bill-panel { color:#20232b !important; }

.me-page { background:#f4f6fb !important; color:#20232b !important; }
.me-page-head { background:#fff !important; color:#20232b !important; border-bottom-color:#eef1f6 !important; }
.me-page-head b { color:#20232b !important; }
.me-page-back { background:#f4f6fa !important; color:#3478f6 !important; }
.me-page-body { background:#f4f6fb !important; color:#20232b !important; }
.chat-panel.chat-page-full { background:#f4f6fb !important; }
.chat-page-full .chat-head { border-bottom-color:#eef1f6 !important; }

.me-screen { background:#f4f6fb !important; color:#20232b !important; }
.me-page, .me-page-body { background:#f4f6fb !important; color:#20232b !important; }
.me-page-head { background:#fff !important; box-shadow:0 2px 8px rgba(30,50,90,.04); }
.profile-avatar-row, .form-row, .kv, .vip-tier-list, .vip-current, .invite-rules, .ops-list, .agent-box, .device-list { color:#20232b !important; }

/* 大厅第三个卡片：余额+4个快捷入口同一行 */
.wl-balance-row { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:11px; }
.wl-balance-row .wl-balance-line { margin-top:0; flex:1; min-width:0; flex-wrap:wrap; gap:3px 5px; }
.wl-balance-row .wl-balance-line b { font-size:17px; }
.wl-balance-row .wl-actions { display:grid; grid-template-columns:repeat(4, 39px); gap:5px; margin-top:0; flex:none; }
.wl-balance-row .wl-actions button { width:39px; min-width:0; gap:2px; }
.wl-balance-row .wl-actions i { width:31px; height:31px; font-size:14px; }
.wl-balance-row .wl-actions span { font-size:8px; white-space:nowrap; }
/* VIP 特权页白色 */
.vip-current { background:#fff !important; border:1px solid #eef1f6; border-radius:10px; padding:14px 10px !important; margin-bottom:9px; color:#20232b !important; }
.vip-current b { color:#d99b00 !important; }
.vip-progress { background:#eef1f6 !important; }
.vip-current small { color:#858b9c !important; }
.vip-tier { background:#fff !important; border:1px solid #eef1f6 !important; color:#20232b !important; padding:11px 12px !important; }
.vip-tier.on { background:#fff8e8 !important; border-color:#f0c96c !important; color:#20232b !important; }
.vip-tier b { color:#20232b !important; }
.vip-tier.on b { color:#9a6500 !important; }
.vip-reward { color:#d99b00 !important; }

/* 会话页卡片间距：容器不能有白色底，否则卡片间隙会变白 */
.home-panel { background:transparent !important; border:0 !important; box-shadow:none !important; }
.home-panel, .home-rooms { gap:10px !important; }
.home-rooms { margin-top:10px !important; }

/* 加拿大聊天室：空白刮奖层 */
.ds-scratch { background:#fff !important; border-color:#e8ebf2 !important; }
.draw-strip { background:#fff !important; }

/* 加拿大聊天室可读性 */
.m-meta { color:#6f7688 !important; }
.m-name { color:#4f5869 !important; font-weight:600; }
.m-time { color:#7b8294 !important; }
.m-bubble { background:#fff !important; color:#20232b !important; border:1px solid #e8ebf2; box-shadow:0 1px 2px rgba(30,50,90,.03); }
.m-bubble .amt { color:#c18400 !important; }
.m-bubble .payout { color:#16875a !important; }
.b-bet { background:#fff8e8 !important; border-color:#f1dfb8 !important; }
.b-win { background:#effaf4 !important; border-color:#ccefdc !important; }
.m-sys { color:#6f7688 !important; background:#f4f6fa !important; }
.m-join { color:#7b8294 !important; }
.betbar { background:#fff8e8 !important; color:#7a5b16 !important; border-color:#f1dfb8 !important; }
.betbar b, .betbar i { color:#b17900 !important; }
.fake-input { background:#f4f6fa !important; color:#858b9c !important; border-color:#e8ebf2 !important; }
.ds-refresh { color:#3478f6 !important; }
.ds-issue { color:#5f6675 !important; }
.marquee-inner span { color:#5f6675 !important; }
/* 刮奖层恢复原版 */
.ds-scratch { background:#8f86ad !important; border-color:#e8ebf2 !important; }
.draw-strip { background:#fff !important; }

/* 下注输入框和更多面板增强可见度 */
.bet-cmd { height:42px !important; background:#fff !important; border:2px solid #cfdcf0 !important; color:#20232b !important; font-size:13px !important; box-shadow:0 2px 8px rgba(30,60,110,.05); }
.bet-cmd::placeholder { color:#6f7688 !important; opacity:1; }
.bet-cmd:focus { border-color:#7ea8f8 !important; box-shadow:0 0 0 3px rgba(52,120,246,.12); }
.bet-cmd-icons button { background:#eaf1ff !important; border:1px solid #bdd2ff !important; color:#2f6fe8 !important; font-weight:600; }
.bet-cmd-icons button:active { background:#dce8ff !important; }
.m-bubble.b-bet { background:#fff5dc !important; border:1px solid #edc979 !important; color:#20232b !important; }
.m-bubble.b-win { background:#eafaf2 !important; border:1px solid #a9e5c4 !important; color:#20232b !important; }
.hot-card, .num-btn, .seg button, .chips button { background:#f7f9fd !important; border-color:#e2e8f2 !important; color:#20232b !important; }
.hot-card:hover, .num-btn:hover { background:#eef4ff !important; border-color:#bdd2ff !important; }
.hc-top b { color:#20232b !important; }
.hc-top small { color:#b17900 !important; }
.hc-meta, .num-title { color:#7a8294 !important; }
.num-btn b { color:#20232b !important; }
.num-btn small { color:#b17900 !important; }
.seg button.on { background:#eaf1ff !important; border-color:#7ea8f8 !important; color:#2f6fe8 !important; }
.chips button.on { background:#fff4d1 !important; border-color:#e9bd58 !important; color:#9a6500 !important; }
.sm-item { background:#fff5dc !important; border-color:#edc979 !important; color:#20232b !important; }
.sm-item b { color:#b17900 !important; }
.sm-item i { color:#7a8294 !important; }
.sheet-foot { background:#fff !important; border-top-color:#eef1f6 !important; }

/* 机器人投注账单/开奖消息白色可读 */
.pool-msg, .result-msg { background:#fff !important; border:1px solid #e8ebf2 !important; box-shadow:0 1px 3px rgba(30,50,90,.04); }
.pool-title { color:#7a4b00 !important; }
.pool-row, .pool-msg pre, .pool-msg span { color:#20232b !important; }
.result-hint { color:#a56b00 !important; font-weight:700; }
.result-msg .result-body { border-top:1px solid #f0f2f7; }
.m-ava-logo { background:#fff !important; border-color:#e8ebf2 !important; }

/* 开奖结果和组合标签可读性 */
.ds-tag { background:#eaf1ff !important; color:#2f5fd0 !important; border:1px solid #c9dbff !important; font-weight:700; padding:2px 7px !important; }
.rd-issue { color:#20232b !important; font-weight:600; }
.rd-eq { color:#5f6675 !important; font-weight:700; }
.rd-sum { color:#a56b00 !important; font-weight:700; }
.rd-tag { background:#fff4d1 !important; color:#8a5b00 !important; border:1px solid #edc979 !important; font-weight:700; padding:2px 6px !important; border-radius:5px !important; }
.rd-time { color:#7b8294 !important; }
.result-body .ds-eq { color:#5f6675 !important; }
.result-body .ball.sum { background:linear-gradient(135deg,#ffd35c,#e0a51f) !important; color:#3a2400 !important; }

/* 玩法规则页白色高对比度 */
.rules-sheet, .rules-page { background:#fff !important; color:#20232b !important; }
.rules-head { background:#fff !important; border-bottom:1px solid #eef1f6 !important; }
.rules-head b { color:#20232b !important; font-size:16px; }
.rules-head button { color:#20232b !important; }
.rules-title { color:#20232b !important; font-size:14px !important; }
.rules-odd { background:#f7f9fd !important; border-color:#e4e8f0 !important; }
.rules-odd span { color:#4f5869 !important; font-weight:600; }
.rules-odd b { color:#b17900 !important; font-weight:700; }
.rules-note { color:#4f5869 !important; }
.rules-guide li { color:#3f4757 !important; }
.rules-guide li b { color:#20232b !important; }
.rules-refund-tags span { background:#fff0f3 !important; border-color:#f0b6c0 !important; color:#b52f47 !important; }
.rules-example { background:#fff8e8 !important; border-color:#f1dfb8 !important; }
.rules-example-title { color:#9a6500 !important; }
.rules-example p { color:#20232b !important; }
.rules-page .ds-eq, .rules-page .ds-tag { color:#20232b !important; }

.rules-page-head { background:#fff !important; border-bottom:1px solid #eef1f6; padding:10px 0; }
.rules-page-head b { color:#20232b !important; }

/* 大厅第三卡片最新布局 */
.wl-user-name-row { display:flex; align-items:center; gap:7px; }
.wl-user-name-row b { font-size:14px; }
.wl-checkin-small { height:21px; padding:0 8px; border-radius:10px; background:#fff4d6; border:1px solid #f2d99d; color:#b37500; font-size:10px; }
.wl-balance-main { display:flex; flex-direction:column; gap:2px; flex:1; min-width:0; }
.wl-balance-main > span { color:#858b9c; font-size:10px; }
.wl-balance-value { display:flex; align-items:center; gap:5px; }
.wl-balance-value b { color:#20232b; font-size:18px; font-family:Consolas,monospace; }
.wl-balance-value .wl-refresh { font-size:16px; color:#3478f6; }
.wl-refresh.spinning { animation:wl-spin .65s linear; }
@keyframes wl-spin { from { transform:rotate(0deg); } to { transform:rotate(360deg); } }
.wl-balance-row .wl-actions i { display:flex; align-items:center; justify-content:center; }
.wl-balance-row .wl-actions i svg { width:16px; height:16px; }
.wl-balance-row .wl-actions button:nth-child(1) i { color:#3478f6; background:#eaf1ff; }
.wl-balance-row .wl-actions button:nth-child(2) i { color:#e09a00; background:#fff7e5; }
.wl-balance-row .wl-actions button:nth-child(3) i { color:#8562dc; background:#f1edff; }
.wl-balance-row .wl-actions button:nth-child(4) i { color:#d65368; background:#fff0f3; }
.rules-page-head b, .rules-title { font-weight:800 !important; }
.rules-guide li { font-size:13px !important; color:#303848 !important; }
.rules-note, .rules-guide li b { color:#20232b !important; }

/* 我的页面各功能页白底高对比度 */
.ops-item { background:#fff !important; border:1px solid #e8ebf2 !important; box-shadow:0 2px 8px rgba(30,50,90,.04); }
.ops-item-head b { color:#20232b !important; }
.ops-item-head small, .ops-item p, .ops-hint, .ops-tag { color:#6f7688 !important; }
.ops-item p { font-size:12px !important; }
.ops-dot { color:#b17900 !important; border-color:#e9c46a !important; background:#fff7e5; }
.ops-kpis > div { background:#f7f9fd !important; border:1px solid #e8ebf2; }
.ops-kpis small { color:#7a8294 !important; }
.ops-kpis b { color:#b17900 !important; }
.ops-form input { background:#fff !important; border-color:#dbe3ef !important; color:#20232b !important; }
.ops-form input::placeholder { color:#9aa1b0 !important; }
.ops-tabs-mini button, .board-switch button { background:#f7f9fd !important; border-color:#e4e8f0 !important; color:#6f7688 !important; }
.ops-tabs-mini button.on, .board-switch button.on { background:#eaf1ff !important; border-color:#bdd2ff !important; color:#2f6fe8 !important; }
.task-progress { background:#eef1f6 !important; }
.task-progress i { background:#3478f6 !important; }
.task-meta { color:#5f6675 !important; }
.invite-stats > div { background:#f7f9fd !important; border:1px solid #e8ebf2; }
.invite-stats b { color:#b17900 !important; }
.invite-stats span { color:#6f7688 !important; }
.invite-rules { background:#f7f9fd !important; border:1px solid #e8ebf2; }
.invite-rules-title, .invite-list-title { color:#20232b !important; }
.invite-rules p { color:#4f5869 !important; }
.invite-link-box input { background:#fff !important; border-color:#dbe3ef !important; color:#20232b !important; }
.invite-row { border-bottom-color:#eef1f6 !important; }
.invite-row-main b { color:#20232b !important; }
.invite-row-main small, .invite-pending { color:#7a8294 !important; }
.invite-qr-wrap small { color:#6f7688 !important; }
.device-list .kv, .agent-box .kv, .kv { border-bottom-color:#eef1f6 !important; }

.board-row { background:#fff !important; border:1px solid #eef1f6 !important; color:#20232b !important; }
.board-row b { color:#20232b !important; font-weight:600 !important; }
.board-row span:last-child, .board-reward { color:#b17900 !important; }
.board-rank { color:#6f7688 !important; }
.board-rank.top { color:#b17900 !important; }
.board-mine { background:#fff8e8 !important; color:#8a5b00 !important; border:1px solid #f1dfb8; }

/* 彩票卡片使用加拿大28官方图片 */
.wl-game-cover.ca-cover { background:#fff !important; }
.wl-game-cover.ca-cover img { width:100%; height:100%; object-fit:contain; padding:4px; box-sizing:border-box; display:block; }

.wl-game-card .wl-game-cover.ca-cover { width:148px !important; flex-basis:148px !important; height:76px !important; }
.wl-game-cover.ca-cover img { padding:2px !important; }

/* 彩票单卡片：完整加拿大28封面 */
.wl-ca-card { display:block !important; width:100% !important; min-height:0 !important; padding:0 !important; border-radius:10px !important; overflow:hidden; border:1px solid #e8ebf2 !important; background:#fff !important; }
.wl-ca-cover { position:relative; width:100%; aspect-ratio:690 / 240; overflow:hidden; background:#fff; }
.wl-ca-cover > img { width:100%; height:100%; object-fit:cover; display:block; }
.wl-ca-players { position:absolute; left:58%; top:57%; color:#4f73b8; font-size:12px; font-weight:700; white-space:nowrap; letter-spacing:.2px; text-shadow:0 1px 0 rgba(255,255,255,.8); }

.wl-ca-room { position:absolute; left:58%; top:69%; color:#20345f; font-size:15px; font-weight:800; white-space:nowrap; text-shadow:0 1px 0 rgba(255,255,255,.85); }
.wl-ca-players { top:55% !important; }

/* 加拿大28/PG 完整封面字体加大 */
.wl-ca-room { font-size:17px !important; }
.wl-ca-players { font-size:13px !important; }
.wl-ca-cover > img { object-fit:cover; }

/* 我的页面退出登录增强 */
.logout-btn { background:#fff0f3 !important; border:1.5px solid #ef9aa8 !important; color:#d82845 !important; font-weight:700 !important; box-shadow:0 3px 10px rgba(216,40,69,.08); }
.logout-btn:active { background:#ffe0e6 !important; border-color:#e36d80 !important; }

.pg-game-code { color:#8a91a3 !important; font-size:9px !important; }
