/* ===========================================================================
   门店会员端 H5（手机优先）—— 黑钻（高级黑）主题
   想换配色：只改下面这一组变量即可，其它地方不要写死颜色。
   =========================================================================== */
:root {
  /* 底：黑钻那种"近黑但不死黑"的层次 */
  --bg: #0a0b0e;
  --bg-2: #07080a;
  --surface: #14161b;
  --surface-2: #1a1d23;
  --ink: #f3f4f6;
  --ink-2: #cbd0d8;
  --muted: #868d97;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);

  /* 金属银：主按钮（黑卡上的亮面） */
  --metal-a: #fbfcfd;
  --metal-b: #c4cad3;
  --metal-ink: #0b0c0f;

  /* 香槟金：数字、名次这类"要亮一下"的地方 */
  --gold: #d8b978;
  --gold-dim: rgba(216, 185, 120, 0.16);

  --ok: #6ee7b7;
  --ok-dim: rgba(110, 231, 183, 0.14);
  --danger: #f6a4a0;
  --danger-dim: rgba(248, 113, 113, 0.14);

  --r-lg: 18px;
  --r-md: 13px;
  --r-sm: 10px;
  --sh-1: 0 1px 0 rgba(255, 255, 255, 0.03);
  --sh-2: 0 24px 48px -32px rgba(0, 0, 0, 0.9);
  --gap: 14px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  background-image: radial-gradient(130% 60% at 50% -10%, #171a21 0%, var(--bg) 52%, var(--bg) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: none;
}
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.hint { color: var(--muted); font-size: 12.5px; margin: 10px 2px; }

button {
  font: inherit;
  color: var(--ink-2);
  cursor: pointer;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r-md);
  min-height: 42px;
  padding: 10px 14px;
  font-weight: 500;
  transition: filter 0.12s ease, background 0.12s ease, opacity 0.12s ease;
}
button:active { filter: brightness(1.12); }
button:disabled { opacity: 0.45; }

/* 主按钮：黑卡上的金属亮面（黑钻那套里最"贵"的一颗元素） */
button.primary {
  background: linear-gradient(180deg, var(--metal-a), var(--metal-b));
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--metal-ink);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px -16px rgba(255, 255, 255, 0.5);
}
button.ghost { background: rgba(255, 255, 255, 0.03); }
button.big { width: 100%; min-height: 48px; font-size: 16px; }

.order-pay-actions { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 8px; }

input, textarea, select {
  font: inherit;
  color: var(--ink);
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  min-height: 44px;
}
textarea { min-height: 0; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--gold-dim); border-color: var(--gold); }
input::placeholder, textarea::placeholder { color: #6f7681; }

.row { display: flex; gap: 8px; align-items: stretch; }
.row + .row { margin-top: 8px; }
.row input, .row textarea { flex: 1 1 auto; min-width: 0; }
.row button { flex: 0 0 auto; white-space: nowrap; }

/* ---------------------------------------------------------------- 登录 */
.login-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  background: radial-gradient(120% 70% at 50% 0%, #1b1f27 0%, #0a0b0e 60%, #07080a 100%);
}
.login-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, #191c22 0%, #12141a 100%);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: 26px 20px 22px;
  box-shadow: var(--sh-2);
}
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--metal-a), var(--metal-b));
  color: var(--metal-ink); display: grid; place-items: center; font-size: 23px;
  margin-bottom: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.login-card h1 { font-size: 21px; font-weight: 700; margin: 0 0 4px; letter-spacing: 0.01em; }
.login-optional { margin: 12px 0 10px; line-height: 1.5; }
#login-back-btn { margin-top: 10px; }
.signup {
  background: rgba(216, 185, 120, 0.1); border: 1px solid rgba(216, 185, 120, 0.35); color: #e6cf9f;
  border-radius: var(--r-md); padding: 10px 12px; font-size: 13px; margin: 14px 0 0;
}
.dev { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
#site-phone { margin: 12px 0 0; text-align: center; }
.legal-consent {
  margin-top: 16px;
  padding: 12px 13px;
  border: 1px solid rgba(216, 185, 120, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}
.legal-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
  cursor: pointer;
}
.legal-check input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--metal-a);
}
.legal-check a { color: #e6cf9f; text-decoration: none; }
.legal-check a:active { text-decoration: underline; }
#legal-meta { margin: 7px 0 0 26px; font-size: 10.8px; line-height: 1.5; }
.legal-dlg { z-index: 90; }
.legal-box {
  width: min(560px, 100%);
  max-height: min(88vh, 760px);
  max-height: min(88dvh, 760px);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-align: left;
}
.legal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 17px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.legal-head .dlg-title { margin: 0; }
.legal-head p { margin: 5px 0 0; }
.legal-head button { flex: 0 0 auto; }
.legal-close-x {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-2);
  font-size: 22px;
  line-height: 1;
}
.legal-content {
  min-height: 0;
  overflow-y: auto;
  padding: 16px 17px 22px;
  -webkit-overflow-scrolling: touch;
  text-align: left;
}
.legal-content h4 {
  margin: 20px 0 7px;
  font-size: 14px;
  color: var(--ink);
}
.legal-content h4:first-child { margin-top: 0; }
.legal-content p { margin: 0 0 9px; color: #c9ccd3; font-size: 13px; line-height: 1.78; }
.legal-content ul { margin: 4px 0 10px; padding-left: 1.45em; text-align: left; }
.legal-content li { margin: 3px 0; color: #c9ccd3; font-size: 13px; line-height: 1.72; }
.legal-intro {
  padding: 12px 13px;
  margin-bottom: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  text-align: left;
}
.legal-intro p { margin: 3px 0; color: var(--muted); }
.legal-confirm {
  margin-top: 18px;
  padding: 12px 13px;
  border: 1px solid rgba(216, 185, 120, 0.27);
  border-radius: 12px;
  background: rgba(216, 185, 120, 0.075);
}
.legal-confirm p { margin: 3px 0; color: #e6cf9f; }
.legal-foot {
  padding: 10px 17px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(15, 17, 22, 0.98);
}
.legal-foot button { margin: 0; }
.legal-agree { display: flex; flex-direction: column; gap: 9px; }
.legal-agree-check {
  display: flex; align-items: flex-start; gap: 9px;
  color: #d9dce2; font-size: 13px; line-height: 1.55;
}
.legal-agree-check input {
  width: 18px; height: 18px; min-height: 0; flex: 0 0 18px;
  margin: 2px 0 0; padding: 0; accent-color: #d8b978;
}
.legal-agree-hint { margin: 0; color: var(--danger); font-size: 12.5px; }

/* ---------------------------------------------------------------- 顶栏 */
/* 顶部会员身份栏不在普通页面展示（扫码落座页仍按原流程使用落座卡） */
#view-app > .appbar { display: none !important; }
/* “我的座位”只在扫码落座页显示；首页和其它标签页都不再作为公共浮层出现 */
body:not(.scan-mode) #seat-card { display: none !important; }
.appbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(env(safe-area-inset-top) + 12px) 16px 12px;
  background: linear-gradient(180deg, rgba(20, 23, 29, 0.98), rgba(12, 13, 17, 0.94));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  color: #fff;
}
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-2); }
.who-text { min-width: 0; }
.who-name { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-store { font-size: 11.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.login-pill {
  min-height: 34px; padding: 6px 14px; border-radius: 999px;
  border-color: rgba(216, 185, 120, 0.45); color: var(--gold);
  background: rgba(216, 185, 120, 0.08); font-size: 12.5px; font-weight: 700;
}
.icon-btn {
  width: 36px; height: 36px; min-height: 0; padding: 0;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05); color: var(--ink);
}
.icon-btn svg { width: 19px; height: 19px; }

/* ---------------------------------------------------------------- 内容 */
.content { padding: var(--gap) 14px calc(78px + env(safe-area-inset-bottom)); }

.section-title { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; margin: 20px 2px 8px; }
.section-title:first-child { margin-top: 2px; }

.banner {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: var(--gap); padding: 11px 13px; border-radius: var(--r-md);
  background: var(--danger-dim); border: 1px solid rgba(248, 113, 113, 0.3);
  color: var(--danger); font-size: 13px; font-weight: 500;
}
.banner-text { flex: 1; min-width: 0; line-height: 1.55; }
.banner-close {
  flex: 0 0 auto; width: 24px; min-height: 0; height: 24px; padding: 0;
  border: 0; background: transparent; color: currentColor; opacity: .62;
  font-size: 20px; font-weight: 400; line-height: 22px; text-align: center;
}
.banner-close:active { opacity: 1; transform: none; }
.banner.ok { background: var(--ok-dim); border-color: rgba(110, 231, 183, 0.3); color: var(--ok); }
.banner.banner-action { cursor: pointer; }
.banner.banner-action .banner-text { text-decoration: underline; text-underline-offset: 3px; }

/* 手上的票：黑卡上一颗金色数字 */
.stat-card {
  position: relative;
  background: linear-gradient(150deg, #1c2027 0%, #101216 60%, #0c0d11 100%);
  border: 1px solid var(--line-2);
  color: #fff; border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-2);
  margin-bottom: var(--gap); overflow: hidden;
}
.stat-card::after {
  content: ''; position: absolute; inset: 0 auto auto 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
}
.stat-num { font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--gold); }
.stat-num span { font-size: 13px; font-weight: 500; margin-left: 6px; color: var(--muted); }
.stat-label { font-size: 12.5px; color: var(--muted); margin-top: 7px; }

.total-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--gap); }
.chip {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 13px; font-size: 12.5px; color: var(--muted); box-shadow: var(--sh-1);
}
.chip b { font-size: 15px; color: var(--gold); margin-left: 3px; font-weight: 700; }
.chip.on { color: var(--gold); border-color: var(--gold); background: var(--gold-dim); }
.item > div.order-acts { flex-direction: row; align-items: center; gap: 6px; }

.list {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-1); overflow: hidden;
}
.list:empty { display: none; }
.item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; }
.item > div:first-child { flex: 1 1 auto; min-width: 0; }
/* 只有"右边那一列"才靠右：单列内容（公告 / 名人堂）不能被当成右列 */
.item > div:last-child:not(:first-child) { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.item .title { font-size: 15px; font-weight: 600; color: var(--ink); }
.item .sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.item .qty { font-size: 19px; font-weight: 800; color: var(--gold); white-space: nowrap; line-height: 1.2; }
.item .qty small { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.item .notice-cover {
  display: block; width: 100%; margin-top: 10px; border-radius: var(--r-sm);
  max-height: 150px; object-fit: cover; background: var(--surface-2);
}

.badge { display: inline-block; font-size: 11.5px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: var(--gold-dim); color: var(--gold); font-weight: 600; }
.badge.gray { background: rgba(255, 255, 255, 0.06); color: var(--muted); font-weight: 500; }
.badge.green { background: var(--ok-dim); color: var(--ok); }

.empty {
  text-align: center; color: var(--muted); font-size: 13px; line-height: 1.7;
  padding: 30px 18px; background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--line-2); border-radius: var(--r-lg);
}

/* 表单块（改资料） */
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; margin-bottom: var(--gap); box-shadow: var(--sh-1); }
.sheet-title { font-size: 15px; font-weight: 700; margin: 0; }
.sheet .hint { margin: 6px 0 0; }
.field { display: block; margin-top: 12px; }
.field > span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.inline-check { display: flex; gap: 9px; align-items: flex-start; margin-top: 14px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.inline-check input { width: 18px; height: 18px; min-height: 0; flex: 0 0 auto; margin: 1px 0 0; }
.name-edit-row { display: flex; gap: 8px; align-items: stretch; }
.name-edit-row input { flex: 1 1 auto; min-width: 0; }
.name-edit-row .name-random { flex: 0 0 auto; min-width: 72px; padding: 0 14px; }
.avatar-edit { display: flex; align-items: center; gap: 12px; }
.avatar-edit-preview { width: 76px; height: 76px; flex: 0 0 76px; border-radius: 50%; display: grid; place-items: center; background-color: var(--surface-2); background-size: cover; background-position: center; border: 1px solid rgba(216,185,120,.7); box-shadow: 0 0 0 3px rgba(216,185,120,.10), inset 0 0 18px rgba(0,0,0,.45); color: var(--gold); font-size: 24px; font-weight: 700; overflow: hidden; }
.avatar-edit-preview.has-photo { color: transparent; }
.avatar-edit-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; }
.avatar-edit-actions button { min-height: 38px; padding: 7px 12px; }
.avatar-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 12px; max-height: 272px; overflow: auto; padding: 2px; }
.avatar-choice { min-height: 0; padding: 0; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-2); background-color: var(--surface-2); background-size: cover; background-position: center; }
.avatar-choice.on { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(216,185,120,.28), 0 0 18px rgba(216,185,120,.18); }
.avatar-url-advanced { margin-top: 12px; }
.avatar-url-advanced summary { color: var(--muted); font-size: 12.5px; cursor: pointer; padding: 4px 0; }
.avatar-url-advanced input { margin-top: 8px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg button { min-height: 42px; padding: 8px 6px; }
.seg button.on { color: #0b0c0f; background: linear-gradient(180deg, var(--gold), #b8934f); border-color: rgba(255,240,200,.6); font-weight: 700; box-shadow: 0 0 0 2px rgba(216,185,120,.12); }

/* 补手机号 */
.prompt {
  background: linear-gradient(180deg, rgba(216, 185, 120, 0.1), rgba(216, 185, 120, 0.04));
  border: 1px solid rgba(216, 185, 120, 0.28);
  border-radius: var(--r-lg); padding: 14px; margin-bottom: var(--gap);
}
.prompt-text { font-size: 13px; color: #e5cf9f; margin: 0 0 10px; line-height: 1.6; }
.prompt input { background: rgba(0, 0, 0, 0.25); }

/* 扫码就座：客人扫座位码进来第一眼要看到的东西 */
.seat {
  border-radius: var(--r-lg); padding: 16px; margin-bottom: var(--gap);
  background: linear-gradient(150deg, #1d2129 0%, #12141a 62%, #0d0f13 100%);
  border: 1px solid var(--line-2);
  color: #fff; box-shadow: var(--sh-2);
}
.seat.ok { background: linear-gradient(150deg, #143128 0%, #0f2019 65%, #0b1712 100%); border-color: rgba(110, 231, 183, 0.32); }
.seat.shut { background: linear-gradient(150deg, #23262c 0%, #16181d 100%); }
.seat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.seat-head-right { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.seat-close { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line-2);
  border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--ink-2); font-size: 18px; line-height: 1;
  font-family: inherit; cursor: pointer; padding: 0; }
.seat-close:active { transform: scale(0.94); }
.seat-table { font-size: 20px; font-weight: 700; }
.seat-state { font-size: 11.5px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line-2); white-space: nowrap; font-weight: 600; color: var(--ink-2); }
.seat.ok .seat-state { color: var(--ok); border-color: rgba(110, 231, 183, 0.35); background: rgba(110, 231, 183, 0.12); }
.seat-line { margin: 9px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.seat-line b { font-size: 16px; color: var(--gold); }
.seat-actions { margin-top: 13px; }
.seat-actions .primary { width: 100%; }
.seat-actions > button { width: 100%; }
.seat-actions > button + button { margin-top: 8px; }
.seat-hint { margin: 10px 0 0; font-size: 12px; color: var(--muted); line-height: 1.6; }

/* 首次入场选票：先把客人账户里有什么票摊开，默认方案直接标出来 */
.seat-tickets {
  margin-top: 12px; padding: 11px 12px;
  border: 1px solid rgba(216, 185, 120, 0.22);
  border-radius: var(--r-md);
  background: rgba(216, 185, 120, 0.055);
}
.seat-tickets-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px; flex-wrap: wrap;
}
.seat-tickets-title-wrap { display: flex; align-items: baseline; gap: 7px; }
.seat-tickets-title { font-size: 13px; font-weight: 600; color: var(--ink); }
.seat-tickets-count { font-size: 11.5px; color: var(--gold); }
.seat-tickets-note { font-size: 11.5px; color: var(--muted); }
.seat-ticket-list { margin-top: 5px; max-height: 220px; overflow-y: auto; }
.seat-ticket-empty { padding: 11px 0 4px; font-size: 12px; color: var(--muted); }
.seat-ticket-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.seat-ticket-row:first-child { border-top: 0; }
.seat-ticket-row.used {
  margin: 0 -6px; padding: 9px 6px; border-radius: 9px;
  background: rgba(216, 185, 120, 0.09);
}
.seat-ticket-main { flex: 1 1 auto; min-width: 0; }
.seat-ticket-name {
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.seat-ticket-meta { margin-top: 3px; font-size: 11.5px; color: var(--muted); }
.seat-ticket-pick {
  flex: 0 0 auto; padding: 4px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
  color: var(--muted); border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.035);
}
.seat-ticket-row.used .seat-ticket-pick {
  color: var(--gold); border-color: rgba(216, 185, 120, 0.42);
  background: rgba(216, 185, 120, 0.12);
}
.seat-ticket-credit {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  margin-top: 8px; padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 11.5px; color: var(--muted);
}
.seat-ticket-credit-amount { color: var(--ink); font-size: 12px; }
.seat-ticket-credit-note { margin-left: auto; color: var(--muted); }

/* 本场门票：票面、余额、最终结果各出现一次；按钮区只留一个主操作 */
.seat-entry {
  margin-top: 10px; padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.035);
}
.seat-entry-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
}
.seat-entry-title { font-size: 13px; font-weight: 600; color: var(--ink); }
.seat-entry-battle {
  min-width: 0; font-size: 11.5px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.seat-entry-demand {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; margin-top: 10px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.seat-entry-demand-text { min-width: 0; }
.seat-entry-kicker { font-size: 10.5px; color: var(--muted); }
.seat-entry-ticket-name {
  margin-top: 2px; font-size: 13.5px; font-weight: 600; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.seat-entry-price { flex: 0 0 auto; font-size: 22px; line-height: 1; color: var(--gold); }
.seat-entry-breakdown { padding: 7px 0 2px; }
.seat-entry-line {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; padding: 3px 0; font-size: 11.5px; color: var(--muted);
}
.seat-entry-line b { font-weight: 600; color: var(--ink-2); }
.seat-entry-result {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-top: 8px; padding: 9px 10px;
  border-radius: 9px; background: rgba(255, 255, 255, 0.045);
  font-size: 11.5px; color: var(--muted);
}
.seat-entry-result b { text-align: right; font-size: 12.5px; }
.seat-entry-result.exact b { color: var(--ok); }
.seat-entry-result.overflow b { color: var(--gold); }
.seat-entry-result.short b { color: var(--danger); }

.seat-more {
  display: flex; align-items: stretch; flex-wrap: wrap; gap: 8px;
  margin-top: 11px; padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.seat-more button.choice {
  flex: 1 1 132px; width: auto; min-height: 36px; padding: 6px 9px;
  border: 1px solid var(--line-2); border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  color: var(--ink-2); font-size: 11.5px; font-weight: 500; line-height: 1.3;
  white-space: pre-line;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.seat-more button.choice:active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}
.seat-more button.link {
  flex: 0 0 auto; align-self: center; width: auto; min-height: 0; padding: 2px 0 2px 3px;
  border: 0; border-radius: 0; background: transparent;
  color: rgba(134, 141, 151, 0.9); font-size: 10.5px; line-height: 1.45;
  text-decoration: underline; text-underline-offset: 3px;
}
.seat-more button.link:active { color: var(--ink-2); }

/* 复活抵扣：门槛 / 余额 / 票，客人可自己勾选 */
.rebuy-value {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-2);
}
.rebuy-head {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.rebuy-lots { margin-top: 10px; }
.rebuy-lot {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.rebuy-lot:first-child { border-top: 0; }
.rebuy-lot-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink);
}
.rebuy-lot input[type='checkbox'] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}
.rebuy-qty {
  flex: 0 0 58px;
  width: 58px;
  padding: 7px 6px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.rebuy-qty:disabled { opacity: .45; }
.rebuy-summary {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--gold-soft, var(--gold));
}

/* 扫码进来只做一件事：看这张桌、这个位子。完整首页从左上的「主页」再进。 */
.scan-home {
  position: fixed; z-index: 50;
  top: calc(env(safe-area-inset-top) + 12px); left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 8px 13px 8px 10px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(12, 14, 18, 0.84); color: var(--ink-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, 0.9);
}
.scan-home svg { width: 17px; height: 17px; }
.scan-home span { font-size: 13px; font-weight: 600; }

body.scan-mode .appbar,
body.scan-mode .tabbar { display: none !important; }
body.scan-mode .content {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(env(safe-area-inset-top) + 70px) 18px calc(env(safe-area-inset-bottom) + 24px);
}
body.scan-mode #panel-home { display: none !important; }
body.scan-mode #seat-card { margin: 0; }
body.scan-mode #banner { margin-bottom: 14px; }
body.scan-detail #seat-card { display: none !important; }

/* ------------------------------------------------- 等待页 / 提醒页（整屏） */
.wait {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center;
  padding: calc(env(safe-area-inset-top) + 32px) 26px calc(env(safe-area-inset-bottom) + 32px);
  background: radial-gradient(120% 60% at 50% 8%, #191d24 0%, #0a0b0e 58%, #07080a 100%);
}
.wait-ring { position: relative; width: 190px; height: 190px; margin-bottom: 2px; }
.wait-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 6; }
.ring-bar {
  fill: none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(216, 185, 120, 0.45));
  transition: stroke-dashoffset 1s linear;
}
.wait-count-wrap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.wait-count {
  font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff, #9aa2ad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.wait-unit { font-size: 11.5px; color: var(--muted); }
.wait-title { font-size: 23px; font-weight: 700; margin: 6px 0 0; letter-spacing: 0.01em; }
.wait-seat { margin: 0; font-size: 15px; font-weight: 600; color: var(--gold); }
.wait-tip { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 320px; }
.wait-actions { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }

/* ---------------------------------------------------------------- 底部标签栏 */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; background: rgba(10, 11, 14, 0.9);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tab {
  flex: 1 1 0; min-width: 0; min-height: 0;
  border: 0; background: none; border-radius: 0;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 0 8px; color: var(--muted); font-size: 11px; font-weight: 500;
}
.tab svg { width: 22px; height: 22px; }
.tab.active { color: var(--gold); }
.tab.active span { font-weight: 700; }

/* 电脑 / 平板打开（或者调试时）不要拉满整屏：居中的一列，像手机那样 */
.profile-nudge {
  position: fixed; left: 0; right: 0; z-index: 31;
  bottom: calc(56px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px;
  max-width: 560px; margin: 0 auto;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(216, 185, 120, 0.18), rgba(216, 185, 120, 0.08));
  border-top: 1px solid rgba(216, 185, 120, 0.38);
  border-bottom: 1px solid rgba(216, 185, 120, 0.18);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.profile-nudge-text { flex: 1 1 auto; min-width: 0; font-size: 12.5px; line-height: 1.4; color: var(--gold); }
.profile-nudge button { flex: 0 0 auto; padding: 7px 14px; font-size: 12.5px; }
body.scan-mode .profile-nudge { display: none !important; }

/* 电脑 / 平板打开（或者调试时）不要拉满整屏：居中的一列，像手机那样 */
@media (min-width: 640px) {
  body { background: var(--bg-2); }
  .appbar, .content, .tabbar { max-width: 560px; margin-left: auto; margin-right: auto; }
  .appbar { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .wait, .login-wrap { max-width: 560px; margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .scan-home { left: calc(50% - 266px); }
}


/* ===========================================================================
   首页：会员卡 / 票卡 / 服务格子 / 门店卡 / 公告 —— 视觉照「黑钻」那套来
   =========================================================================== */

/* ---- 会员卡 ---- */
.mcard {
  position: relative;
  overflow: hidden;
  background: linear-gradient(152deg, #1e2129 0%, #12141a 62%);
  border: 1px solid rgba(216, 185, 120, 0.34);
  border-radius: var(--r-lg);
  padding: 15px 15px 13px;
  margin-bottom: var(--gap);
}
.mcard::after {
  content: "";
  position: absolute;
  right: -46px; top: -58px;
  width: 168px; height: 168px;
  background: radial-gradient(circle, rgba(216, 185, 120, 0.15), transparent 66%);
  pointer-events: none;
}
.mc-crown {
  position: absolute; right: 8px; top: 7px;
  width: 82px; height: auto;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 2px 10px rgba(216, 185, 120, 0.28));
  pointer-events: none;
}
.mc-row { display: flex; align-items: center; gap: 12px; position: relative; }
.mc-avatar {
  width: 50px; height: 50px; flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-2);
  background: linear-gradient(140deg, #40454f, #22252b);
}
.mc-avatar-fallback {
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700; color: #a9b0ba;
}
.mc-who { min-width: 0; }
.mc-name { display: flex; align-items: center; gap: 7px; }
.mc-name b { font-size: 17px; font-weight: 700; }
.mc-tag {
  font-size: 10px; font-weight: 700; color: var(--metal-ink);
  background: linear-gradient(150deg, var(--gold), #b08d4c);
  border-radius: 5px; padding: 2px 6px;
}
.mc-code {
  margin-top: 6px; padding: 0;
  background: none; border: 0;
  color: var(--muted); font: inherit; font-size: 11.5px;
  text-align: left;
}
.mc-code b { color: var(--gold); letter-spacing: 0.06em; font-size: 12.5px; }
.mc-nums {
  display: flex;
  margin-top: 14px; padding-top: 11px;
  border-top: 1px solid rgba(216, 185, 120, 0.16);
  position: relative;
}
.mc-num { flex: 1 1 0; text-align: center; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.mc-num b { display: block; font-size: 19px; font-weight: 800; color: var(--gold); }
.mc-num span { display: block; font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.mc-num .mc-num-top { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 0; }
.mc-num .mc-eye { display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; margin-top: 0; color: var(--muted); opacity: .7; cursor: pointer; }
.mc-num .mc-eye svg { width: 15px; height: 15px; }
.mc-num .mc-eye .mc-eye-on { display: none; }
.mc-num .mc-eye.is-open { opacity: 1; color: var(--gold); }
.mc-num .mc-eye.is-open .mc-eye-off { display: none; }
.mc-num .mc-eye.is-open .mc-eye-on { display: block; }
.mc-num-link {
  appearance: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mc-num-link:active { opacity: .7; }
.mc-ticket-block {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(216, 185, 120, 0.16);
}
.mc-ticket-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.mc-ticket-heading::before,
.mc-ticket-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 185, 120, 0.42), transparent);
}
.mc-ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px 4px;
  margin-top: 9px;
}
.mc-ticket-tile {
  appearance: none;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0 2px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mc-ticket-tile:active { opacity: .7; }
.mc-ticket-tile b {
  display: block;
  color: var(--gold);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
}
.mc-ticket-tile span {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.mc-ticket-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 3px 0 1px;
  color: var(--muted);
  font-size: 10.5px;
  text-align: center;
}

/* ---- 分区标题 ---- */
.home-sec {
  font-size: 14px; font-weight: 700;
  margin: 0 0 10px;
  display: flex; align-items: baseline; gap: 7px;
}
.home-sec i {
  font-style: normal; font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.2em; color: #6f7885;
}

/* ---- 两列格子 ---- */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: var(--gap);
}
.gcard {
  position: relative;
  min-height: 82px;
  padding: 13px 42px 13px 14px;
  text-align: left;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
}
.gcard:active { background: var(--surface-2); }
.gcard h4 { margin: 0; font-size: 14.5px; font-weight: 700; }
.gcard h4 .gnum { color: var(--gold); }
.gcard p { margin: 7px 0 0; font-size: 11.5px; color: var(--muted); }
.gcard .gico {
  position: absolute; right: 11px; bottom: 9px;
  font-size: 24px; line-height: 1; opacity: 0.9;
}
.gcard.hi {
  border-color: rgba(216, 185, 120, 0.4);
  background: linear-gradient(160deg, #1c1f27, #131519);
}
.gcard.hi h4 { color: #f0dcae; }

/* ---- 门店卡 ---- */
.store-card {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 14px;
  margin-bottom: var(--gap);
}
.store-main { flex: 1 1 auto; min-width: 0; }
.store-nm { font-size: 13.5px; font-weight: 700; }
.store-ad { font-size: 11px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.store-act { display: flex; gap: 6px; flex: 0 0 auto; }
.store-btn {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: 50px; padding: 6px 0;
  background: none; border: 0;
  color: var(--gold); font: inherit; font-size: 10.5px;
  cursor: pointer;
}
.store-btn b { font-size: 18px; font-weight: 400; line-height: 1; }

/* ---- 首页公告 ---- */
.home-notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
}
.hn-head {
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: 12px; color: var(--muted);
}
.hn-item { margin-top: 9px; }
.hn-title { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.hn-sub { font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.link {
  background: none; border: 0; padding: 0;
  color: var(--gold); font: inherit; font-size: 12.5px;
  cursor: pointer;
}

/* ---- 「我的」---- */
.mine-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 15px;
  margin-bottom: var(--gap);
}
.mine-who { min-width: 0; }
.mine-name { font-size: 16.5px; font-weight: 700; }
.mine-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: var(--gap);
}
.mine-row {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 14px 15px;
  background: none; border: 0; border-top: 1px solid var(--line);
  color: var(--ink); font: inherit; font-size: 14.5px; text-align: left;
  cursor: pointer;
}
.mine-row:first-child { border-top: 0; }
.mine-row:active { background: var(--surface-2); }
.mine-row span { flex: 0 0 auto; font-weight: 600; }
.mine-row em {
  flex: 1 1 auto; font-style: normal; text-align: right;
  font-size: 12px; color: var(--muted);
}
.mine-row i { flex: 0 0 auto; font-style: normal; color: var(--muted); font-size: 15px; }
.mine-row.danger span { color: var(--danger); }
#panel-mine .staff-login-row { opacity: .72; }
#panel-mine .staff-login-row .mine-ico { color: var(--muted); }
#staff-login-dlg .dlg-box { text-align: left; }
#staff-login-dlg .dlg-title { margin-bottom: 4px; }
#staff-login-msg { min-height: 18px; color: var(--danger); }

.back-link {
  background: none; border: 0; padding: 0 0 10px;
  color: var(--muted); font: inherit; font-size: 13.5px;
  cursor: pointer;
}

/* ---- 弹层（会员码 / 呼叫服务）---- */
.dlg {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(2px);
}
.dlg-box {
  width: 100%; max-width: 340px;
  background: linear-gradient(160deg, #1c1f27, #12141a);
  border: 1px solid rgba(216, 185, 120, 0.28);
  border-radius: var(--r-lg);
  padding: 20px 18px 16px;
  text-align: center;
}
.dlg-title { margin: 0; font-size: 15.5px; font-weight: 700; }
.dlg-box .muted { display: block; margin-top: 9px; line-height: 1.6; }
.dlg-big {
  font-size: 30px; font-weight: 800; letter-spacing: 0.06em;
  color: var(--gold); margin: 14px 0 0;
}
.dlg-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.dlg-actions .big { width: 100%; }

/* 统一确认弹窗：所有客人侧确认都走这里，标题由业务场景决定 */
.app-dialog { z-index: 90; }
.app-dialog-box { max-width: 336px; padding-top: 24px; text-align: center; }
.app-dialog-box::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin: -6px auto 15px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(216, 185, 120, .45);
}
.app-dialog .dlg-title {
  color: var(--gold);
  font-size: 17px;
  letter-spacing: .04em;
}
.app-dialog-message {
  margin: 13px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-line;
}
.app-dialog .dlg-actions { margin-top: 20px; }

/* 就座确认：桌位是主角，扣票规则单独一行说清楚 */
.seat-confirm-place {
  margin: 15px 0 0; font-size: 21px; font-weight: 800;
  color: var(--gold); letter-spacing: 0.02em;
}
.seat-confirm-ticket {
  margin: 13px 0 0; padding: 10px 12px;
  border-radius: var(--r-md); background: rgba(216, 185, 120, 0.08);
  border: 1px solid rgba(216, 185, 120, 0.2);
  font-size: 13px; line-height: 1.65; color: var(--ink-2);
}

/* 多出金额加购门票：两个选择必须一眼看懂，票种只列能买的 */
#overflow-dlg .dlg-box { text-align: left; max-width: 360px; max-height: 88vh; overflow-y: auto; }
#overflow-dlg .dlg-title { text-align: center; }
.overflow-options { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.overflow-option {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--surface-2);
  cursor: pointer;
}
.overflow-option.selected {
  border-color: rgba(216, 185, 120, 0.7);
  background: rgba(216, 185, 120, 0.09);
}
.overflow-option input {
  flex: 0 0 auto; width: 18px; height: 18px;
  margin-top: 2px; accent-color: var(--gold);
}
.overflow-option-main { flex: 1 1 auto; min-width: 0; }
.overflow-option-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.overflow-option-meta { margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.overflow-option-pay { margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--gold); }

/* 客人自助登记美团 / 抖音券：弹层里要放得下平台、票种、拍照和备注 */
#voucher-dlg .dlg-box { text-align: left; max-width: 360px; max-height: 88vh; overflow-y: auto; }
#voucher-dlg .dlg-title { text-align: center; }
#voucher-dlg .field > span { color: var(--muted); }
#voucher-dlg .voucher-shot {
  width: 100%; max-height: 220px; object-fit: contain;
  margin-top: 10px; border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2);
}
#voucher-dlg #voucher-photo-btn { width: 100%; }
#voucher-dlg #voucher-msg { min-height: 0; }

/* ---------- 会员码：那张给荷官扫的二维码 ---------- */
.qr-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  margin: 2px 0 10px;
  padding: 10px;
  border-radius: var(--r-md);
  /* 二维码必须在浅底上才扫得出来 —— 黑钻主题在这里破一次例 */
  background: #ffffff;
  color: #6f7681;
  font-size: 13px;
}
.qr-frame.loading { color: #6f7681; }
.qr-frame canvas { display: block; width: 100%; max-width: 224px; height: auto; }

/* 一行一个按钮的那种列表（碎片兑换）：按钮别撑得跟整行一样高 */
.item > div:last-child:not(:first-child) > button { min-height: 34px; padding: 6px 14px; font-size: 13px; }

/* ===========================================================================
   P0 / P1：首屏决策信息 + 黑钻视觉
   金色只落在空位、价格、名次和会员身份这些需要客人马上看见的地方。
   =========================================================================== */
.today-hero {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 4px 2px 12px;
}
.today-store { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.today-store-name {
  font-size: 20px; font-weight: 700; letter-spacing: 0.01em; color: #f7f8fa;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.today-status {
  align-self: flex-start; display: inline-flex; align-items: center;
  min-height: 22px; padding: 2px 9px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255,255,255,.035); color: var(--muted);
  font-size: 10.5px; font-weight: 500; line-height: 1.4;
}
.today-status.open { color: #a7f3d0; border-color: rgba(110,231,183,.35); background: rgba(110,231,183,.09); }
.today-status.closed { color: #f2b8b5; border-color: rgba(246,164,160,.28); background: rgba(246,164,160,.07); }
.today-phone {
  display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto;
  min-height: 36px; padding: 6px 11px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.035);
  color: var(--ink-2); font-size: 11.5px;
}
.today-phone svg { width: 15px; height: 15px; }

.today-card {
  position: relative; margin-bottom: var(--gap); padding: 16px 15px 14px;
  overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 20px;
  background:
    radial-gradient(120% 90% at 92% 0%, rgba(216,185,120,.12), transparent 46%),
    linear-gradient(155deg, #1b1e25 0%, #111319 56%, #0c0d11 100%);
  box-shadow: 0 24px 52px -34px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.06);
}
.today-card { scroll-margin-top: 74px; }
.today-card.is-flash { animation: todayFlash 1.15s ease; }
@keyframes todayFlash {
  0%, 100% { border-color: rgba(216,185,120,.28); box-shadow: 0 22px 44px -30px rgba(0,0,0,.9); }
  28% { border-color: rgba(216,185,120,.72); box-shadow: 0 0 0 3px rgba(216,185,120,.10),0 22px 44px -30px rgba(0,0,0,.9); }
}
.today-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
}
.today-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.today-card-head > div { min-width: 0; }
.today-card-head b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.today-card-head span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.today-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1px;
  margin-top: 14px; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--line);
}
.today-stat { min-width: 0; padding: 11px 4px 9px; text-align: center; background: rgba(10,12,16,.7); }
.today-stat b {
  display: block; min-height: 24px; color: var(--gold); font-size: 17px;
  font-weight: 800; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.today-stat span { display: block; margin-top: 3px; color: var(--muted); font-size: 9.5px; white-space: nowrap; }
.today-current {
  display: flex; flex-direction: column; gap: 3px; margin-top: 12px;
  padding: 0 2px; color: var(--ink-2); font-size: 12px; line-height: 1.5;
}
.today-current > span:first-child { font-weight: 600; }
.today-tables { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: 12px; }
.today-table {
  min-height: 0; padding: 10px 11px; text-align: left;
  border: 1px solid var(--line); border-radius: 11px;
  background: rgba(255,255,255,.025); color: var(--ink-2);
}
.today-table-top { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.today-table-top b {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--ink); font-size: 12.5px;
}
.today-table-top span { flex: 0 0 auto; color: var(--muted); font-size: 9.5px; }
.today-table-sub {
  margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  color: var(--muted); font-size: 10px;
}
.today-table.state-open { border-color: rgba(110,231,183,.25); }
.today-table.state-open .today-table-top span { color: var(--ok); }
.today-table.state-running { border-color: rgba(216,185,120,.32); background: rgba(216,185,120,.055); }
.today-table.state-running .today-table-top span { color: var(--gold); }
.today-table.state-preparing { border-style: dashed; }
.today-table.state-full { opacity: .67; }
.today-table.state-idle { opacity: .56; }

.my-status-card {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px;
  margin-bottom: var(--gap); overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--line);
}
.my-status-cell {
  min-height: 0; padding: 10px 7px; border: 0; border-radius: 0;
  background: rgba(20,22,27,.96); text-align: left;
}
.my-status-cell span { display: block; color: var(--muted); font-size: 9.5px; font-weight: 400; }
.my-status-cell b {
  display: block; margin-top: 4px; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; color: var(--ink); font-size: 11.5px; font-weight: 600;
}
.primary-actions { margin-bottom: var(--gap); }
.scan-cta {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 70px;
  padding: 12px 15px; border: 1px solid rgba(255,255,255,.78); border-radius: 18px;
  background: linear-gradient(145deg, #fbfcfd 0%, #d4d9df 46%, #b9c0c9 100%);
  color: #0a0b0e; text-align: left;
  box-shadow: inset 0 1px 0 #fff, 0 18px 36px -26px rgba(255,255,255,.68);
}
.scan-cta-icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px;
  border-radius: 13px; background: #0b0c10; color: #fff;
}
.scan-cta-icon svg { width: 22px; height: 22px; }
.scan-cta > span:last-child { min-width: 0; }
.scan-cta b { display: block; font-size: 17px; font-weight: 800; letter-spacing: .01em; }
.scan-cta em { display: block; margin-top: 3px; color: #3e444d; font-size: 11px; font-style: normal; font-weight: 500; }
.home-seat-entry { margin: 10px 0 14px; }
.quick-two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 8px; }
.quick-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 8px 10px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.035); color: var(--ink-2); font-size: 12.5px;
}
.quick-btn svg { width: 17px; height: 17px; color: var(--gold); }

.schedule-list {
  overflow: hidden; margin-bottom: 8px; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--surface);
}
.schedule-row {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 58px;
  padding: 10px 12px; border: 0; border-top: 1px solid var(--line);
  border-radius: 0; background: transparent; text-align: left;
}
.schedule-row:first-child { border-top: 0; }
.schedule-time { flex: 0 0 50px; color: var(--gold); font-size: 11px; font-weight: 700; line-height: 1.35; white-space: nowrap; }
.schedule-main { flex: 1 1 auto; min-width: 0; }
.schedule-main b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 13px; }
.schedule-main em { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 10.5px; font-style: normal; }
.schedule-row > i { flex: 0 0 auto; color: var(--muted); font-size: 17px; font-style: normal; }
.wide-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; min-height: 43px; margin-bottom: var(--gap); padding: 8px 13px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.025);
  color: var(--ink-2); font-size: 12.5px; text-align: left;
}
.wide-link span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 10.5px; }

.battle-card {
  padding: 14px 14px 12px; border: 1px solid var(--line); border-top-color: rgba(255,255,255,.12);
  background: linear-gradient(165deg, rgba(28,31,38,.96), rgba(18,20,25,.96));
}
.list > .battle-card { border-top: 1px solid var(--line); }
.list > .battle-card:first-child { border-top: 0; }
.battle-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.battle-title-wrap { min-width: 0; flex: 1 1 auto; }
.battle-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 15px; font-weight: 700; }
.battle-sub { margin-top: 4px; color: var(--muted); font-size: 10.5px; line-height: 1.45; }
.battle-status {
  flex: 0 0 auto; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--muted); font-size: 9.5px; font-weight: 600; white-space: nowrap;
}
.battle-status.s1, .battle-status.s2 { color: var(--gold); border-color: rgba(216,185,120,.4); background: var(--gold-dim); }
.battle-status.s3 { color: #a7f3d0; border-color: rgba(110,231,183,.3); background: rgba(110,231,183,.08); }
.battle-status.s4 { color: var(--muted); opacity: .7; }
.battle-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 12px; }
.battle-fact { min-width: 0; padding: 8px 9px; border: 1px solid rgba(255,255,255,.055); border-radius: 9px; background: rgba(0,0,0,.16); }
.battle-fact span { display: block; color: var(--muted); font-size: 9.5px; }
.battle-fact b { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); font-size: 11.5px; font-weight: 600; }
.battle-time, .battle-hint { margin-top: 9px; color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.battle-hint { color: #cdb886; }
.battle-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); }
.battle-actions > button { min-height: 34px; padding: 5px 12px; font-size: 11.5px; }
.battle-disabled { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 10px; border: 1px dashed var(--line-2); border-radius: 9px; color: var(--muted); font-size: 10.5px; }

.ticket-card { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-top: 1px solid var(--line); background: linear-gradient(100deg, rgba(255,255,255,.022), transparent); }
.ticket-card:first-child { border-top: 0; }
.ticket-card.expired { opacity: .55; }
.ticket-main { flex: 1 1 auto; min-width: 0; }
.ticket-title { display: flex; align-items: center; gap: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 14px; font-weight: 600; }
.ticket-state { flex: 0 0 auto; padding: 1px 6px; border-radius: 999px; background: var(--ok-dim); color: var(--ok); font-size: 9px; font-weight: 600; }
.ticket-card.expired .ticket-state { background: rgba(255,255,255,.06); color: var(--muted); }
.ticket-meta { margin-top: 5px; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.ticket-right { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.ticket-qty { color: var(--gold); font-size: 20px; line-height: 1; }
.ticket-right .chip { min-height: 29px; padding: 3px 9px; font-size: 10.5px; }
.empty-actions { display: flex; flex-direction: column; gap: 8px; margin-top: -6px; margin-bottom: var(--gap); }
/* ---- 点单 / 榜单 ---- */
.order-lock { padding:18px 16px; margin-bottom:var(--gap); border:1px solid rgba(216,185,120,.26); border-radius:var(--r-lg); background:radial-gradient(100% 120% at 100% 0%,rgba(216,185,120,.12),transparent 60%),var(--surface); text-align:left; }
.order-lock b { display:block; font-size:16px; color:var(--gold); }
.order-lock p { margin:7px 0 14px; color:var(--muted); font-size:12px; line-height:1.65; }
.order-lock button { width:100%; }
.order-acts { display:flex; align-items:center; gap:6px; }
.order-cart-bar { position:fixed; left:12px; right:12px; bottom:calc(58px + env(safe-area-inset-bottom)); z-index:28; display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid rgba(255,255,255,.16); border-radius:16px; background:rgba(18,20,25,.94); backdrop-filter:blur(16px); box-shadow:0 18px 42px -22px #000; }
.order-cart-bar>div { flex:1 1 auto; min-width:0; display:flex; align-items:baseline; gap:4px; }
.order-cart-bar b { color:var(--gold); font-size:17px; }
.order-cart-bar span { color:var(--muted); font-size:10.5px; }
.order-cart-bar em { margin-left:auto; color:var(--ink); font-size:15px; font-style:normal; font-weight:700; }
.order-cart-bar button { flex:0 0 auto; min-height:38px; padding:6px 15px; font-size:12.5px; }
.board-mine { position:sticky; top:calc(env(safe-area-inset-top) + 64px); z-index:8; display:flex; align-items:center; gap:10px; margin:0 0 12px; padding:10px 12px; border:1px solid rgba(216,185,120,.28); border-radius:var(--r-md); background:rgba(20,22,27,.94); backdrop-filter:blur(12px); }
.board-mine span { color:var(--muted); font-size:11px; }
.board-mine b { color:var(--gold); font-size:17px; }
.board-mine em { margin-left:auto; color:var(--ink-2); font-size:11px; font-style:normal; }
.board-switch { display:grid; grid-template-columns:1fr 1fr; gap:4px; margin:0 0 var(--gap); padding:4px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.025); }
.board-switch button { min-height:38px; border:0; border-radius:10px; background:transparent; color:var(--muted); font-size:12.5px; font-weight:600; }
.board-switch button.on { color:#1b1408; background:linear-gradient(145deg,#e7cc91,#b78b45); box-shadow:0 6px 18px -12px rgba(216,185,120,.8); }
.kill-board-mine { border-color:rgba(190,78,65,.38); background:linear-gradient(115deg,rgba(30,16,15,.96),rgba(18,19,23,.96)); }
.kill-board-mine b { color:#f0b1a7; }
.kill-rank-row .title { display:flex; align-items:center; gap:7px; }
.kill-rank-row .title::before { content:'✦'; color:#c75b4f; font-size:11px; text-shadow:0 0 12px rgba(220,76,62,.6); }
.kill-rank-row .kill-count { color:#e8a79b; font-size:17px; text-shadow:0 0 18px rgba(210,70,54,.24); }
.scan-box,.info-box { position:relative; max-width:380px; text-align:left; }
.scan-box { padding-top:22px; }
.scan-box>.legal-close-x,.info-box>.legal-close-x { position:absolute; top:12px; right:12px; }
.scan-box>.dlg-title,.info-box>.dlg-title { padding-right:38px; }
.scan-box>.dlg-title { margin-top:2px; }
.scan-box .dlg-actions { margin-top:13px; }
.scan-manual { margin-top:15px; padding-top:3px; border-top:1px solid var(--line); }
.scan-manual .primary { margin-top:12px; }
.scan-browser-tip { margin:12px 0 0; padding:9px 10px; border:1px solid rgba(216,185,120,.22); border-radius:10px; background:rgba(216,185,120,.07); color:#d3c194; font-size:10.8px; line-height:1.6; }
.info-box { max-height:88vh; max-height:88dvh; overflow-y:auto; }
#info-dlg .dlg-box { max-height: 88vh; display: flex; flex-direction: column; }
#info-dlg .info-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.info-content { margin-top:12px; }
.info-line { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:9px 0; border-top:1px solid var(--line); font-size:12px; line-height:1.55; }
.info-line:first-child { border-top:0; }
.info-line span { flex:0 0 72px; color:var(--muted); }
.info-line b { flex:1 1 auto; color:var(--ink-2); text-align:right; font-weight:600; word-break:break-all; }
.balance-summary { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:12px 13px; border:1px solid rgba(216,185,120,.24); border-radius:12px; background:rgba(216,185,120,.06); }
.balance-summary span { color:var(--muted); font-size:11px; }
.balance-summary b { color:var(--gold); font-size:24px; line-height:1.1; letter-spacing:-.02em; }
.balance-list { margin-top:12px; }
.balance-row { display:flex; align-items:center; gap:12px; padding:11px 0; border-top:1px solid var(--line); }
.balance-row:first-child { border-top:0; }
.balance-row-main { min-width:0; flex:1 1 auto; }
.balance-row-head { display:flex; align-items:center; gap:7px; min-width:0; }
.balance-row-head b { overflow:hidden; color:var(--ink-2); font-size:12.5px; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }
.balance-kind { flex:0 0 auto; padding:2px 6px; border:1px solid rgba(216,185,120,.24); border-radius:999px; font-size:9px; line-height:1.45; }
.balance-kind-recharge { color:#e8c982; border-color:rgba(216,185,120,.38); background:rgba(216,185,120,.09); }
.balance-kind-gift { color:#8dd8ae; border-color:rgba(141,216,174,.32); background:rgba(141,216,174,.08); }
.balance-kind-deduct { color:#e2a1a1; border-color:rgba(226,161,161,.32); background:rgba(226,161,161,.08); }
.balance-kind-refund { color:#a8bfe0; border-color:rgba(168,191,224,.32); background:rgba(168,191,224,.08); }
.balance-kind-adjust { color:#d7b7e8; border-color:rgba(215,183,232,.32); background:rgba(215,183,232,.08); }
.balance-kind-reversal { color:#e0b7a8; border-color:rgba(224,183,168,.32); background:rgba(224,183,168,.08); }
.balance-row-meta { display:block; margin-top:4px; color:var(--muted); font-size:10.5px; line-height:1.5; word-break:break-all; }
.balance-amount { flex:0 0 auto; font-size:14px; font-weight:700; font-variant-numeric:tabular-nums; }
.balance-in { color:#8dd8ae; }
.balance-out { color:#e2a1a1; }
.menu-sheet { margin-top: 6px; }
.menu-tabs { display: flex; gap: 8px; margin: 4px 0 10px; }
.menu-tab {
  flex: 1 1 0; border: 1px solid var(--line); border-radius: 999px; background: transparent;
  color: var(--muted); padding: 9px 10px; font: inherit; font-size: 12px; font-weight: 600;
}
.menu-tab.on { border-color: var(--gold); background: rgba(212, 175, 55, .12); color: var(--gold); }
.pkg-card {
  display: flex; gap: 12px; padding: 12px; margin-top: 10px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02);
}
.pkg-img { width: 92px; height: 92px; flex: 0 0 auto; border-radius: 12px; object-fit: cover; background: #111; }
.pkg-body { min-width: 0; flex: 1 1 auto; }
.pkg-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pkg-head b { color: var(--ink-2); font-size: 14px; }
.pkg-price { color: var(--gold); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pkg-line { margin-top: 5px; color: var(--ink-2); font-size: 11px; line-height: 1.55; }
.pkg-note { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.menu-cat { margin: 13px 0 3px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.menu-cat:first-child { margin-top: 4px; }
.menu-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.menu-row-main { min-width: 0; flex: 1 1 auto; }
.menu-row-main b { display: block; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.menu-row-main span { display: block; margin-top: 3px; color: var(--muted); font-size: 10.5px; line-height: 1.5; word-break: break-all; }
.menu-row-price { flex: 0 0 auto; color: var(--gold); font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.menu-row-right { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.menu-step { display: flex; align-items: center; gap: 6px; }
.menu-step b { min-width: 18px; text-align: center; color: var(--ink-2); font-size: 13px; font-variant-numeric: tabular-nums; }
.menu-step-btn {
  width: 28px; height: 28px; min-height: 28px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--ink-2);
  font-size: 16px; line-height: 1;
}
.menu-step-btn:disabled { opacity: .35; }
.menu-redeem-bar {
  position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 10px;
  margin-top: 12px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px; background: rgba(18, 20, 25, .96); backdrop-filter: blur(16px);
}
.menu-redeem-bar.hidden { display: none; }
.menu-redeem-bar > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.menu-redeem-bar b { color: var(--gold); font-size: 15px; font-variant-numeric: tabular-nums; }
.menu-redeem-bar span { color: var(--muted); font-size: 10.5px; line-height: 1.45; }
.menu-redeem-bar button { flex: 0 0 auto; min-height: 40px; padding: 8px 18px; font-size: 13px; }
.menu-redeem-bar button:disabled { opacity: .45; }
.info-note { margin:0 0 8px; padding:10px 11px; border:1px solid var(--line); border-radius:10px; background:rgba(255,255,255,.03); color:var(--muted); font-size:11px; line-height:1.65; }
#phone-dlg .dlg-box { text-align:left; }
#phone-dlg .dlg-title { margin-bottom:6px; }
.dlg-actions button.link.big,button.link.big { width:100%; min-height:44px; padding:8px 12px; border:1px solid var(--line-2); border-radius:var(--r-md); background:rgba(255,255,255,.025); color:var(--ink-2); font-size:13px; font-weight:500; }.moment-toast { position:fixed; top:calc(env(safe-area-inset-top) + 68px); left:50%; z-index:100; display:flex; align-items:center; gap:10px; width:min(340px,calc(100vw - 32px)); padding:11px 13px; border:1px solid rgba(216,185,120,.4); border-radius:14px; background:rgba(16,18,23,.96); box-shadow:0 20px 44px -24px #000; transform:translate(-50%,-12px); opacity:0; pointer-events:none; transition:opacity .22s ease,transform .22s ease; }
.moment-toast.show { opacity:1; transform:translate(-50%,0); }
.moment-icon { display:grid; place-items:center; width:34px; height:34px; flex:0 0 34px; border-radius:50%; border:1px solid rgba(216,185,120,.4); background:var(--gold-dim); color:var(--gold); font-size:17px; }
.moment-toast b { display:block; color:var(--ink); font-size:12.5px; }
.moment-toast p { margin:2px 0 0; color:var(--muted); font-size:10.5px; line-height:1.45; }
.member-dlg { padding:16px; background:rgba(0,0,0,.78); backdrop-filter:blur(4px); }
.member-card-box { position:relative; width:min(390px,100%); max-height:92vh; max-height:92dvh; overflow-y:auto; padding:18px 16px 14px; border:1px solid rgba(216,185,120,.42); border-radius:24px; background:radial-gradient(120% 70% at 86% -8%,rgba(216,185,120,.2),transparent 46%),linear-gradient(140deg,#1d2027 0%,#101218 54%,#090a0d 100%); box-shadow:0 32px 70px -28px #000,inset 0 1px 0 rgba(255,255,255,.08); }
.member-card-box::before { content:''; position:absolute; inset:0 0 auto; height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent); }
.member-close { position:absolute; top:12px; right:12px; z-index:2; display:grid; place-items:center; width:34px; height:34px; min-height:34px; padding:0; border-radius:50%; border:1px solid rgba(255,255,255,.18); background:rgba(0,0,0,.22); color:var(--ink-2); font-size:22px; line-height:1; }
.member-hero { position:relative; display:flex; align-items:center; gap:12px; min-height:76px; padding:4px 40px 12px 2px; }
.member-avatar { width:58px; height:58px; flex:0 0 58px; border-radius:50%; object-fit:cover; border:1px solid rgba(216,185,120,.55); box-shadow:0 0 0 3px rgba(216,185,120,.08); background:linear-gradient(140deg,#444a54,#20232a); }
.member-avatar-fallback { display:grid; place-items:center; color:#d8c08c; font-size:23px; font-weight:700; }
.member-who { min-width:0; flex:1 1 auto; }
.member-level { display:inline-block; padding:2px 7px; border-radius:4px; background:linear-gradient(150deg,#e2c78e,#aa8648); color:#17120a; font-size:9.5px; font-weight:800; letter-spacing:.04em; }
.member-name { margin:6px 0 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#fff; font-size:21px; font-weight:700; }
.member-benefits { margin:4px 0 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#b9ad91; font-size:10.5px; }
.member-crown { position:absolute; top:-4px; right:-1px; color:rgba(216,185,120,.78); font-size:39px; line-height:1; transform:rotate(9deg); text-shadow:0 0 20px rgba(216,185,120,.28); }.member-code-panel { padding:13px 14px 11px; border:1px solid rgba(216,185,120,.25); border-radius:18px; background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018)); }
.member-code-head { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:9px; color:var(--ink-2); font-size:11px; }
.member-code-head b { color:var(--gold); font-size:10.5px; font-weight:600; }
.member-qr { min-height:214px; margin:0; padding:12px; border-radius:12px; box-shadow:0 12px 28px -20px rgba(0,0,0,.8); }
.member-qr canvas { max-width:224px; }
.member-hint { margin:10px 0 0; color:var(--ink-2); font-size:11px; line-height:1.55; text-align:center; }
.member-code-tip { margin:3px 0 0; color:var(--muted); font-size:9.5px; text-align:center; }
.member-safe-note { margin-top:10px; color:#716b60; font-size:9.5px; line-height:1.5; text-align:center; }
.wait-extra-actions { width:100%; max-width:340px; }
.wait-seat-picks { display:flex; flex-wrap:wrap; justify-content:center; gap:7px; margin-bottom:9px; }
.wait-seat-picks button { min-height:36px; padding:5px 12px; border:1px solid rgba(216,185,120,.3); border-radius:999px; background:rgba(216,185,120,.08); color:var(--gold); font-size:11px; }
.wait-extra-row { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:8px; }
.wait-extra-row button { width:100%; min-height:40px; font-size:12px; }
.rebuy-adjust { width:100%; min-height:38px; margin-top:8px; border:1px solid var(--line-2); background:rgba(255,255,255,.025); color:var(--ink-2); font-size:11.5px; }
@media (min-width:680px) { .content { max-width:560px; margin:0 auto; } .scan-cta { min-height:74px; } }
@media (max-width:360px) { .today-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } .today-table-top { align-items:flex-start; flex-direction:column; gap:2px; } .battle-facts { grid-template-columns:1fr; } .member-card-box { padding-left:13px; padding-right:13px; } }

/* 收尾补丁：快捷服务用小卡片，抵扣余额标签保持一行可读 */
.home-grid.compact { gap:8px; }
.home-grid.compact .gcard { min-height:70px; padding-top:11px; padding-bottom:11px; }
.home-grid.compact .gcard h4 { font-size:13.5px; }
.home-grid.compact .gcard p { margin-top:4px; font-size:10.5px; }
.seat-ticket-credit-label { color:var(--muted); white-space:nowrap; }

/* ------------------------------------------------------------ 最新战绩 / 分享卡 */
.latest-result { margin: 0 0 var(--gap); }
.latest-result.hidden { display: none; }
.lr-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 185, 120, 0.32);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(216, 185, 120, 0.14), transparent 58%),
    linear-gradient(160deg, rgba(31, 28, 22, 0.98), rgba(14, 15, 18, 0.98));
  box-shadow: 0 18px 38px -28px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 239, 197, 0.06);
}
.lr-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 226, 164, 0.66), transparent);
  pointer-events: none;
}
.lr-card.tier-1 { border-color: rgba(232, 194, 122, 0.52); box-shadow: 0 18px 40px -28px #000, 0 0 26px rgba(216, 185, 120, 0.10); }
.lr-card.tier-2 { border-color: rgba(223, 232, 239, 0.42); }
.lr-card.tier-3 { border-color: rgba(229, 164, 124, 0.42); }
.lr-main { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 14px 14px 12px; }
.lr-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(216, 185, 120, 0.54);
  background: linear-gradient(145deg, #383329, #121319);
  box-shadow: 0 0 0 3px rgba(216, 185, 120, 0.07);
  color: var(--gold);
  font-size: 19px;
  font-weight: 800;
}
.lr-avatar-fallback { font-family: 'Songti SC', 'Noto Serif SC', STSong, SimSun, serif; }
.lr-copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lr-kicker { overflow: hidden; color: var(--gold); font: 9.5px/1.2 Consolas, 'Courier New', monospace; letter-spacing: 0.10em; text-overflow: ellipsis; white-space: nowrap; }
.lr-title { overflow: hidden; color: var(--ink); font-size: 14px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.lr-meta { overflow: hidden; color: var(--muted); font-size: 10.5px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.lr-reward { display: block; color: #e8c27a; font-size: 9.5px; line-height: 1.4; overflow-wrap: anywhere; }
.lr-rank { flex: 0 0 auto; min-width: 54px; padding-left: 10px; border-left: 1px solid rgba(216, 185, 120, 0.18); display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.lr-rank b { color: var(--gold); font: 800 20px/1 'Songti SC', 'Noto Serif SC', STSong, SimSun, serif; white-space: nowrap; }
.lr-rank span { color: var(--muted); font-size: 9px; line-height: 1; white-space: nowrap; }
.lr-card.tier-2 .lr-rank b { color: #e5edf4; }
.lr-card.tier-3 .lr-rank b { color: #efb088; }
.lr-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-top: 1px solid rgba(216, 185, 120, 0.20);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(216, 185, 120, 0.16), rgba(216, 185, 120, 0.07));
  color: var(--gold);
  text-align: left;
}
.lr-share b { flex: 0 0 auto; font-size: 12.5px; font-weight: 800; letter-spacing: 0.02em; }
.lr-share span { min-width: 0; overflow: hidden; color: #a79a82; font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.record-share-btn {
  min-height: 28px;
  padding: 3px 9px;
  border-color: rgba(216, 185, 120, 0.30);
  border-radius: 999px;
  background: rgba(216, 185, 120, 0.08);
  color: var(--gold);
  font-size: 10.5px;
  white-space: nowrap;
}
@media (max-width: 360px) {
  .lr-main { gap: 9px; padding: 12px 12px 10px; }
  .lr-avatar { flex-basis: 42px; width: 42px; height: 42px; }
  .lr-rank { min-width: 48px; padding-left: 8px; }
  .lr-rank b { font-size: 18px; }
  .lr-share { padding: 0 12px; }
  .lr-share span { font-size: 9px; }
}

/* ------------------------------------------------------------ 荣誉页（底图 + 动态数据层） */
#panel-honor,
#panel-player {
  padding-top: 8px;
}

.honor-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1152 / 2048;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: #140d22;
  isolation: isolate;
}

.honor-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  z-index: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.honor-avatar {
  position: absolute;
  left: 9.32%;
  top: 5.66%;
  width: 18.34%;
  height: 10.9%;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 50%;
  z-index: 2;
  background: #211435;
}

.honor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.honor-text {
  position: absolute;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffe6a8;
  font-weight: 800;
  letter-spacing: .01em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .75);
  z-index: 2;
}

.honor-text b {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 800;
  line-height: 1.1;
}

.honor-name {
  left: 43.2%;
  top: 6.02%;
  width: 28%;
  height: 3.2%;
  font-size: clamp(13px, 4vw, 21px);
}

.honor-id {
  left: 40.4%;
  top: 10.12%;
  width: 30%;
  height: 2.8%;
  font-size: clamp(12px, 3.8vw, 20px);
}

.honor-points {
  left: 50.2%;
  top: 13.88%;
  width: 20%;
  height: 3%;
  font-size: clamp(13px, 4vw, 21px);
}

.honor-follow {
  position: absolute;
  left: 74.3%;
  top: 12.42%;
  width: 18.2%;
  height: 4.9%;
  min-height: 0;
  padding: 0 2px;
  line-height: 1;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(255, 232, 176, .9);
  background: linear-gradient(180deg, #f7d487 0%, #cf9337 52%, #a3641f 100%);
  color: #3b1b00;
  font-size: clamp(11px, 3.3vw, 16px);
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 247, 214, .55);
  z-index: 3;
}

.honor-follow.is-on {
  color: #f0d7a4;
  background: linear-gradient(180deg, #4a3218 0%, #2a1708 100%);
  border-color: rgba(216, 185, 120, .75);
}

.honor-follow.is-on::before {
  content: "✓";
  margin-right: .32em;
  font-size: .95em;
  color: #e6c47f;
}

.honor-follow:disabled {
  opacity: .92;
  font-size: clamp(9px, 2.7vw, 13px);
}

.honor-cell {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffe6a8;
  font-weight: 800;
  font-size: clamp(13px, 4.3vw, 21px);
  line-height: 1;
  letter-spacing: .04em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
  z-index: 2;
  pointer-events: none;
}

.honor-cell b {
  font-weight: 800;
}

/* 个人详情底图 */
.p-top-1 { left: 10.16%; top: 42.49%; width: 20.90%; height: 3.44%; }
.p-top-2 { left: 39.45%; top: 42.49%; width: 22.20%; height: 3.44%; }
.p-top-3 { left: 69.99%; top: 42.49%; width: 20.77%; height: 3.44%; }
.p-mtt-1 { left: 12.04%; top: 69.30%; width: 18.29%; height: 2.67%; }
.p-mtt-2 { left: 41.80%; top: 69.30%; width: 17.97%; height: 2.67%; }
.p-mtt-3 { left: 71.09%; top: 69.30%; width: 17.77%; height: 2.67%; }
.p-sng-1 { left: 12.11%; top: 94.07%; width: 18.23%; height: 2.60%; }
.p-sng-2 { left: 41.86%; top: 94.07%; width: 17.90%; height: 2.60%; }
.p-sng-3 { left: 71.09%; top: 94.07%; width: 17.84%; height: 2.60%; }

/* 我的荣誉底图 */
.mh-top-1 { left: 10.48%; top: 42.05%; width: 20.57%; height: 3.52%; }
.mh-top-2 { left: 39.52%; top: 42.05%; width: 22.07%; height: 3.52%; }
.mh-top-3 { left: 69.92%; top: 42.05%; width: 20.51%; height: 3.52%; }
.mh-mtt-1 { left: 12.30%; top: 69.12%; width: 18.16%; height: 2.71%; }
.mh-mtt-2 { left: 41.86%; top: 69.12%; width: 18.03%; height: 2.71%; }
.mh-mtt-3 { left: 71.03%; top: 69.12%; width: 17.71%; height: 2.71%; }
.mh-sng-1 { left: 12.43%; top: 93.85%; width: 18.03%; height: 2.53%; }
.mh-sng-2 { left: 41.93%; top: 93.85%; width: 17.90%; height: 2.53%; }
.mh-sng-3 { left: 71.03%; top: 93.85%; width: 17.64%; height: 2.53%; }

#panel-mine .mine-latest:not(.hidden) {
  margin-top: 10px;
}

#panel-mine .mine-group:first-of-type {
  margin-top: 12px;
}


/* Home v2 2026-10-31: follow the black-gold member page layout */
.home-brand { align-items: flex-start; padding: 2px 2px 8px; }
.home-brand .today-store { gap: 4px; }
.home-brand .today-store-name { color: var(--gold); font-size: 25px; font-weight: 800; letter-spacing: .04em; line-height: 1.15; text-shadow: 0 0 26px rgba(216,185,120,.24); }
.home-brand-en { font-size: 9px; letter-spacing: .38em; color: rgba(216,185,120,.5); }
.home-brand .today-status { margin-top: 6px; }
.home-brand .today-phone { margin-top: 2px; }

.home-banner { position: relative; display: block; width: 100%; min-height: 156px; margin: 6px 0 4px; padding: 18px 16px 34px; overflow: hidden; border: 0; border-radius: 20px; text-align: left; color: var(--ink); background: transparent; box-shadow: none; touch-action: pan-y; user-select: none; }
.home-banner::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,.055) 46%, transparent 58%); }
.home-banner::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 13px; height: 1px; background: linear-gradient(90deg, rgba(216,185,120,.5), rgba(216,185,120,0)); }
.hb-glow { position: absolute; width: 180px; height: 180px; right: -40px; top: -70px; border-radius: 50%; pointer-events: none; filter: blur(6px); background: radial-gradient(circle, rgba(216,185,120,.35), transparent 65%); }
.hb-suits { position: absolute; right: 10px; bottom: -6px; display: flex; gap: 2px; line-height: 1; opacity: .13; pointer-events: none; }
.hb-suits i { font-style: normal; font-size: 56px; color: #f0dcae; }
.hb-suits i:last-child { margin-top: -22px; font-size: 44px; color: #e0b6a0; transform: rotate(-12deg); }
.hb-copy { position: relative; display: block; max-width: 78%; }
.hb-tag { display: inline-block; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(216,185,120,.35); background: rgba(216,185,120,.10); color: #e8cf9d; font-size: 9.5px; letter-spacing: .14em; }
.hb-copy b { display: block; overflow: hidden; max-height: 57px; margin-top: 11px; font-size: 22px; line-height: 1.28; font-weight: 800; letter-spacing: .02em; color: #fbf4e4; text-shadow: 0 2px 18px rgba(0,0,0,.55); }
.hb-copy em { display: block; overflow: hidden; max-height: 37px; margin-top: 8px; font-style: normal; font-size: 11.5px; line-height: 1.6; color: rgba(240,230,210,.7); }
.hb-more { position: absolute; right: 16px; bottom: 10px; font-size: 10.5px; color: var(--gold); letter-spacing: .04em; }
.home-sec { margin: 20px 0 10px; color: var(--gold); font-size: 13.5px; letter-spacing: .02em; align-items: center; }
.home-sec::before { content: ""; width: 3px; height: 13px; border-radius: 2px; flex: 0 0 3px; background: linear-gradient(180deg, var(--gold), rgba(216,185,120,.3)); }
.home-sec i { color: rgba(216,185,120,.42); font-size: 9px; letter-spacing: .2em; }
.home-banner + .home-sec { margin-top: 6px; }
.drink-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drink-card { position: relative; min-height: 96px; padding: 14px 52px 13px 14px; text-align: left; overflow: hidden; border-radius: 15px; border: 1px solid rgba(216,185,120,.28); background: linear-gradient(158deg,#1a1c21,#111216 70%); }
.drink-card h4 { display: flex; align-items: baseline; gap: 7px; margin: 0; font-size: 14px; font-weight: 700; color: #f0dcae; }
.drink-card h4 b { font-size: 21px; color: var(--gold); }
.drink-card p { margin: 8px 0 0; font-size: 10.5px; color: var(--muted); }
.drink-ico { position: absolute; right: 11px; bottom: 11px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(216,185,120,.18); background: rgba(216,185,120,.06); color: var(--gold); }
.drink-ico svg { width: 24px; height: 24px; }
.service-hub { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); gap: 10px; }
/* 酒水菜单大卡关闭时（餐饮类目未通过）：两块小卡并排铺满，避免左侧空洞 */
.service-hub.no-large { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.service-hub.no-large .service-side { display: contents; }
.service-hub.no-large .service-tile-small { min-height: 118px; }
.service-side { display: grid; gap: 10px; }
.service-tile { position: relative; display: flex; overflow: hidden; text-align: left; border: 1px solid rgba(216,185,120,.30); border-radius: 16px; background: radial-gradient(120% 100% at 88% 12%,rgba(216,185,120,.13),transparent 52%),linear-gradient(145deg,#1b1d22 0%,#111217 56%,#0b0c0f 100%); box-shadow: 0 18px 32px -28px rgba(0,0,0,.95),inset 0 1px 0 rgba(255,255,255,.055); color: var(--ink); transition: transform .16s ease,border-color .16s ease; }
.service-tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg,transparent 34%,rgba(255,255,255,.045) 46%,transparent 58%); }
.service-tile:active { transform: scale(.985); border-color: rgba(216,185,120,.52); }
.service-tile-large { min-height: 196px; padding: 18px 16px 16px; }
.service-tile-small { min-height: 93px; padding: 13px 12px; }
.service-tile-large::after { content: ""; position: absolute; right: -42px; bottom: -52px; width: 150px; height: 150px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle,rgba(216,185,120,.16),transparent 68%); }
.service-copy { position: relative; z-index: 1; display: flex; flex-direction: column; max-width: 61%; }
.service-tile-large .service-copy { max-width: 100%; }
.service-copy b { color: #f5e9cf; font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: .02em; }
.service-tile-large .service-copy b { font-size: 22px; }
.service-copy em { margin-top: 6px; color: var(--muted); font-size: 10.5px; font-style: normal; line-height: 1.5; }
.service-art { position: absolute; right: 7px; bottom: 6px; z-index: 0; display: grid; place-items: center; color: #d8b978; filter: drop-shadow(0 10px 18px rgba(0,0,0,.55)); }
.service-art svg { display: block; width: 100%; height: 100%; }
.service-art-menu { right: 5%; bottom: 2%; width: 58%; height: 72%; }
.service-art-live,.service-art-vip { width: 56px; height: 56px; }
.service-art-live { right: 5px; bottom: 4px; display: block; object-fit: contain; }
.service-more { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.service-more-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 52px; padding: 7px 3px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.022); color: var(--ink-2); font-size: 10.5px; line-height: 1.2; }
.service-more-btn svg { width: 18px; height: 18px; color: var(--gold); opacity: .82; }
.service-more-btn em { color: var(--gold); font-style: normal; font-weight: 700; }
.service-more-btn:active { background: rgba(216,185,120,.08); border-color: rgba(216,185,120,.35); }
.gcard .gico { display: grid; place-items: center; width: 28px; height: 28px; right: 11px; bottom: 10px; color: var(--gold); opacity: .75; }
.gcard .gico svg { width: 26px; height: 26px; }
.store-btn svg { width: 18px; height: 18px; }

/* v2 density pass: keep the primary scan action above the fold */
.home-brand .today-store { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 5px 8px; }
.home-brand .today-store-name { font-size: 22px; }
.home-brand .today-status { margin-top: 0; }
.home-banner { min-height: 148px; padding: 15px 16px 32px; }
.hb-copy b { margin-top: 9px; font-size: 21px; max-height: 54px; }
.hb-copy em { margin-top: 6px; max-height: 34px; }
.home-sec { margin: 15px 0 9px; }
.mcard { padding: 13px 14px 12px; }
.mc-avatar { width: 46px; height: 46px; }
.mc-nums { margin-top: 11px; padding-top: 9px; }
.mc-num b { font-size: 18px; }
.my-status-cell { padding: 8px 7px; }
.drink-card { min-height: 88px; padding: 13px 50px 12px 13px; }
.drink-ico { width: 34px; height: 34px; }
.scan-cta { min-height: 64px; padding: 10px 14px; }
.scan-cta b { font-size: 16px; }
.service-tile-large { min-height: 182px; padding: 16px 14px 14px; }
.service-tile-small { min-height: 86px; }
.service-copy b { font-size: 17px; }
.service-tile-large .service-copy b { font-size: 20px; }
.service-art-live,.service-art-vip { width: 50px; height: 50px; }
.service-more-btn { min-height: 48px; font-size: 10px; }
.home-brand .today-store-name { font-size: 21px; }
.home-brand .today-status { min-height: 20px; padding: 1px 8px; font-size: 10px; }
.home-banner { min-height: 142px; padding: 14px 16px 30px; }
.hb-copy b { margin-top: 8px; font-size: 20px; line-height: 1.25; max-height: 50px; }
.hb-copy em { margin-top: 5px; max-height: 18px; }
.home-sec { margin: 13px 0 8px; }
.mcard { padding: 12px 13px 11px; }
.mc-num b { font-size: 17px; }
.drink-card { min-height: 80px; padding: 12px 46px 11px 13px; }
.drink-card p { margin-top: 6px; }
.scan-cta { min-height: 62px; }
.home-brand { padding-bottom: 4px; }
.home-sec { margin: 12px 0 7px; }
.mc-nums { margin-top: 9px; padding-top: 8px; }
.drink-card { min-height: 76px; }
.home-brand { padding-bottom: 2px; }
.home-sec { margin-bottom: 6px; }

/* 公告轮播：图片横幅 + 圆点 + 可点详情 */
.home-banner { padding: 0; height: auto; min-height: 168px; min-height: clamp(152px, 44vw, 220px); aspect-ratio: 16 / 9; background: linear-gradient(140deg, #221a10 0%, #14110d 46%, #0a0a0b 100%); }
.home-banner::before, .home-banner::after { display: none; }
.hb-slides { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.hb-slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: #0a0b0e; overflow: hidden; text-align: left; opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.hb-slide.is-active { opacity: 1; pointer-events: auto; }
.hb-slide:active { filter: none; }
.hb-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hb-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(0,0,0,.58)); }
.hb-more { position: absolute; right: 12px; bottom: 24px; z-index: 2; padding: 4px 9px; border: 1px solid rgba(216,185,120,.35); border-radius: 999px; background: rgba(0,0,0,.45); color: #f0dcae; font-size: 10.5px; letter-spacing: .04em; }
.hb-dots { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 3; display: flex; justify-content: center; gap: 5px; }
.hb-dot { width: 5px; height: 5px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.38); }
.hb-dot.is-active { width: 14px; border-radius: 3px; background: var(--gold); }
.hb-slide.is-text { padding: 15px 16px; background: radial-gradient(120% 140% at 88% 6%, rgba(216,185,120,.30), transparent 46%), radial-gradient(90% 120% at 10% 100%, rgba(122,79,33,.34), transparent 58%), linear-gradient(140deg,#221a10 0%,#14110d 46%,#0a0a0b 100%); }
.hb-text-tag { display: inline-block; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(216,185,120,.35); background: rgba(216,185,120,.10); color: #e8cf9d; font-size: 9.5px; letter-spacing: .14em; }
.hb-text-title { display: block; overflow: hidden; max-height: 54px; margin-top: 9px; color: #fbf4e4; font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: .02em; }
.hb-text-sub { display: block; overflow: hidden; max-height: 18px; margin-top: 5px; color: rgba(240,230,210,.7); font-size: 11.5px; line-height: 1.6; }
.notice-detail-img { display: block; width: 100%; margin-bottom: 12px; border-radius: 12px; background: #0a0b0e; }
.notice-detail-body { white-space: pre-wrap; color: var(--ink-2); font-size: 14px; line-height: 1.8; }

/* 首页收口：今日赛况换成实景图，呼叫服务改为右下角悬浮入口 */
.service-art-live { width: 60px; height: 60px; }
.service-art-menu, .service-art-vip { display: block; object-fit: contain; }
.service-art-vip { width: 60px; height: 60px; right: 4px; bottom: 3px; }
#panel-home:not(.hidden) { padding-bottom: 46px; }

/* 店内服务：对齐参考图的舒展排版 */
.home-sec { font-size: clamp(15.5px, 1.7vw, 17px); letter-spacing: 0.02em; }
.home-sec i { color: rgba(216, 185, 120, 0.58); font-size: clamp(10px, 1.1vw, 11.5px); }
.service-hub { grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr); gap: 12px; align-items: stretch; }
.service-side { height: 100%; grid-template-rows: 1fr 1fr; gap: 12px; }
.service-tile {
  border-color: rgba(216, 185, 120, 0.38);
  border-radius: 18px;
  background:
    radial-gradient(120% 100% at 88% 12%, rgba(216, 185, 120, 0.16), transparent 54%),
    linear-gradient(145deg, #211d16 0%, #15130f 55%, #0c0c0d 100%);
}
.service-tile-large { min-height: 0; aspect-ratio: 0.9; padding: 17px 16px 14px; }
.service-tile-small { min-height: 0; padding: 14px 12px; }
.service-copy b { font-size: clamp(20px, 2.2vw, 22px); }
.service-tile-large .service-copy b { font-size: clamp(21px, 2.6vw, 26px); }
.service-copy em { margin-top: 7px; font-size: clamp(12px, 1.35vw, 13.5px); }
.service-art-menu {
  left: auto; right: 9%; top: clamp(75px, 12.5vw, 122px); bottom: auto;
  width: clamp(92px, 10.8vw, 104px); height: auto;
  object-fit: contain;
  transform: none;
}
.service-art-live, .service-art-vip {
  top: 50%; bottom: auto; right: 8%;
  width: clamp(56px, 7.6vw, 74px); height: clamp(56px, 7.6vw, 74px);
  transform: translateY(-50%);
}
.home-call-float {
  position: fixed; right: 16px;
  bottom: calc(74px + env(safe-area-inset-bottom));
  z-index: 35;
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 48px; padding: 0 15px 0 13px;
  border: 1px solid rgba(216, 185, 120, 0.55);
  border-radius: 999px;
  background: linear-gradient(150deg, rgba(46, 38, 24, 0.97), rgba(16, 17, 21, 0.98));
  color: var(--gold);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.9), 0 0 22px rgba(216, 185, 120, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.home-call-float svg { width: 19px; height: 19px; }
.home-call-float:active { transform: scale(0.96); }
@media (min-width: 640px) {
  .home-call-float { right: calc(50% - 264px); }
}
@media (max-width: 360px) {
  .home-call-float { right: 12px; min-height: 46px; padding: 0 13px 0 11px; font-size: 12px; }
  .mc-crown { width: 72px; top: 8px; right: 6px; }
  .service-copy b { font-size: 18px; }
  .service-tile-large .service-copy b { font-size: 20px; }
  .service-art-live, .service-art-vip { width: 56px; height: 56px; }
  .service-art-menu { width: 82px; height: auto; top: 74px; }
}

/* ---------------------------------------------------------------- ranking v3 assets */
#panel-board { --rank-gold: #e8c477; --rank-gold-bright: #f6dc9e; --rank-ink: #f5eee2; --rank-muted: #8c7e68; }
.board-switch { margin-bottom: 9px; border-color: rgba(201,162,96,.20); background: rgba(22,17,12,.72); box-shadow: inset 0 1px 0 rgba(255,255,255,.035); }
.board-switch button { min-height: 40px; border-radius: 11px; }
.board-switch button.on { color: #1b1408; background: linear-gradient(145deg,#f1d99f 0%,#d2a85d 52%,#9a7338 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 8px 20px -14px rgba(232,196,119,.9); }
.board-heading { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 58px; padding: 1px 0 0; }
.board-heading-copy { min-width: 0; text-align: center; }
.board-heading-title {
  margin: 0;
  color: #f6dc9e;
  font-family: "Songti SC", "Noto Serif SC", STSong, SimSun, serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .10em;
  text-shadow: 0 1px 0 rgba(74,46,10,.85), 0 0 20px rgba(232,196,119,.30);
}
.board-heading-sub { margin: 4px 0 0; color: #a99a7d; font: 9px/1.2 Consolas, "Courier New", monospace; letter-spacing: .18em; white-space: nowrap; }
.board-laurel { width: 24px; height: 48px; flex: 0 0 auto; object-fit: contain; opacity: .90; filter: drop-shadow(0 0 8px rgba(232,196,119,.18)); }
.board-laurel-right { width: 27px; }
.board-season { margin: -1px 8px 12px; color: var(--rank-muted); font-size: 10.5px; line-height: 1.55; letter-spacing: .025em; text-align: center; }
.board-podium { position: relative; display: grid; grid-template-columns: minmax(0,.93fr) minmax(0,1.24fr) minmax(0,.93fr); align-items: end; gap: 3px; min-height: 232px; margin: 0 0 13px; padding: 17px 5px 3px; overflow: hidden; border: 1px solid rgba(201,162,96,.28); border-radius: 21px; background: radial-gradient(88% 58% at 50% 4%, rgba(232,196,119,.19), transparent 68%), radial-gradient(70% 50% at 50% 100%, rgba(122,79,33,.22), transparent 70%), linear-gradient(165deg, rgba(37,29,21,.94), rgba(16,16,19,.97) 62%, rgba(9,10,12,.99)); box-shadow: 0 24px 48px -34px rgba(0,0,0,.98), inset 0 1px 0 rgba(255,240,201,.08); isolation: isolate; }
.board-podium::before { content: ""; position: absolute; z-index: 0; top: -60px; left: 50%; width: 230px; height: 230px; border-radius: 50%; transform: translateX(-50%); pointer-events: none; background: radial-gradient(circle, rgba(246,220,158,.20), rgba(232,196,119,.06) 40%, transparent 70%); }
.board-podium::after { content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none; opacity: .22; background: repeating-linear-gradient(112deg, transparent 0 20px, rgba(255,255,255,.03) 20px 21px, transparent 21px 42px); }
.kill-board-podium { border-color: rgba(190,78,65,.34); background: radial-gradient(88% 58% at 50% 4%, rgba(190,78,65,.16), transparent 68%), radial-gradient(70% 50% at 50% 100%, rgba(94,40,31,.20), transparent 70%), linear-gradient(165deg, rgba(35,23,21,.96), rgba(16,16,19,.97) 62%, rgba(9,10,12,.99)); }
.kill-board-podium::before { background: radial-gradient(circle, rgba(214,119,101,.18), rgba(190,78,65,.05) 40%, transparent 70%); }
.podium-spot { --podium: #e8c477; --podium-soft: rgba(232,196,119,.30); position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0; height: 214px; padding-bottom: 1px; animation: podiumRise .46s cubic-bezier(.2,.72,.22,1) both; }
.podium-runnerup { --podium: #d9d5cf; --podium-soft: rgba(217,213,207,.26); animation-delay: .04s; }
.podium-third { --podium: #cd8e66; --podium-soft: rgba(205,142,102,.27); animation-delay: .08s; }
.podium-champion { --podium: #f1d18a; --podium-soft: rgba(246,220,158,.42); height: 232px; }
.podium-champion::before { content: ""; position: absolute; z-index: 0; left: 50%; top: 1px; width: 196px; height: 196px; transform: translateX(-50%); pointer-events: none; opacity: .82; background: repeating-conic-gradient(from 0deg, rgba(246,220,158,.34) 0deg .75deg, transparent .75deg 9deg); -webkit-mask-image: radial-gradient(circle, transparent 0 36%, #000 47%, transparent 73%); mask-image: radial-gradient(circle, transparent 0 36%, #000 47%, transparent 73%); animation: podiumRays 20s linear infinite; }
.podium-stack { position: relative; z-index: 2; display: flex; width: 100%; min-width: 0; flex-direction: column; align-items: center; }
.podium-ring { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 62px; height: 62px; overflow: hidden; border: 1.5px solid var(--podium); border-radius: 50%; background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.075), rgba(18,16,14,.86) 58%, rgba(8,9,11,.98) 100%); box-shadow: 0 0 0 3px rgba(255,255,255,.025), 0 0 18px var(--podium-soft), inset 0 0 18px rgba(0,0,0,.62); }
.podium-champion .podium-ring { width: 82px; height: 82px; border-width: 2px; box-shadow: 0 0 0 4px rgba(246,220,158,.08), 0 0 24px rgba(246,220,158,.55), 0 0 44px rgba(232,196,119,.22), inset 0 0 22px rgba(0,0,0,.66); }
.podium-avatar { display: block; width: 76%; height: 88%; object-fit: contain; object-position: center bottom; margin-bottom: -1px; filter: drop-shadow(0 3px 5px rgba(0,0,0,.38)); }
.podium-champion .podium-avatar { width: 78%; height: 90%; }
.podium-crown { position: absolute; z-index: 3; top: -14px; left: 50%; width: 43px; height: auto; transform: translateX(-50%) rotate(-2deg); object-fit: contain; filter: drop-shadow(0 3px 7px rgba(0,0,0,.64)) drop-shadow(0 0 8px rgba(246,220,158,.32)); }
.podium-name { display: block; width: 100%; margin-top: 7px; padding: 0 3px; overflow: hidden; color: var(--rank-ink); font-size: 10.5px; font-weight: 700; line-height: 1.3; text-align: center; text-overflow: ellipsis; text-shadow: 0 2px 10px rgba(0,0,0,.75); white-space: nowrap; }
.podium-champion .podium-name { margin-top: 8px; color: #fff6e3; font-size: 13px; letter-spacing: .02em; }
.podium-metric { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin-top: 3px; color: var(--podium); font-weight: 800; line-height: 1; text-shadow: 0 2px 12px rgba(0,0,0,.52); }
.podium-metric b { font: inherit; color: inherit; font-variant-numeric: tabular-nums; }
.podium-metric small { color: #9c8b6d; font-size: 9px; font-weight: 600; }
.podium-champion .podium-metric { margin-top: 4px; color: var(--rank-gold-bright); font-size: 24px; text-shadow: 0 0 18px rgba(232,196,119,.34); }
.podium-runnerup .podium-metric { color: #e8e5df; font-size: 18px; }
.podium-third .podium-metric { color: #efb38c; font-size: 18px; }
.podium-champion .podium-metric small { color: #b9a57c; font-size: 10px; }
.kill-board-podium .podium-champion .podium-metric { color: #f0b1a7; text-shadow: 0 0 18px rgba(214,92,73,.34); }
.kill-board-podium .podium-runnerup .podium-metric, .kill-board-podium .podium-third .podium-metric { color: #e8a79b; }
.podium-base { position: relative; z-index: 2; display: block; width: 100%; height: auto; margin-top: -2px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 8px 10px rgba(0,0,0,.38)); }
.podium-champion .podium-base { width: 106%; max-width: none; }
.board-list-head { display: flex; align-items: center; gap: 10px; margin: 12px 3px 8px; color: #8c7e68; font: 9px/1.2 Consolas, "Courier New", monospace; letter-spacing: .18em; }
.board-list-head i { flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, rgba(201,162,96,.28), transparent); }
.kill-board-list-head span { color: #c38275; }
.board-list { border-color: rgba(201,162,96,.20); border-radius: 17px; background: linear-gradient(180deg, rgba(28,24,19,.88), rgba(15,16,19,.96)); box-shadow: 0 18px 38px -32px rgba(0,0,0,.96), inset 0 1px 0 rgba(255,240,201,.035); }
.board-list .item { padding: 12px 13px; }
.rank-row { gap: 10px; }
.rank-no { width: 27px; flex: 0 0 27px; color: #8c7e68; font: 11px/1 Consolas, "Courier New", monospace; letter-spacing: .04em; text-align: center; }
.rank-person { flex: 1 1 auto; min-width: 0; }
.rank-person .title { overflow: hidden; font-size: 14px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.rank-person .sub { overflow: hidden; font-size: 10.5px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.rank-score { display: flex !important; flex: 0 0 auto !important; flex-direction: row !important; align-items: baseline; justify-content: flex-end; gap: 2px; min-width: 48px; margin-left: 2px; }
.rank-score b { color: var(--rank-gold); font-size: 19px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.rank-score small { color: #8c7e68; font-size: 9.5px; font-weight: 500; }
.kill-board-list .rank-no { color: #9b665d; }
.kill-board-list .rank-score b { color: #e8a79b; font-size: 18px; text-shadow: 0 0 16px rgba(210,70,54,.20); }
.kill-board-list .rank-score small { color: #9b665d; }
.board-hall-title { margin-top: 22px; }
.tab .tab-icon { display: block; width: 23px; height: 22px; object-fit: contain; opacity: .45; filter: grayscale(1) brightness(1.55); transition: opacity .18s ease, filter .18s ease, transform .18s ease; }
.tab.active .tab-icon { opacity: 1; filter: sepia(1) saturate(4.2) hue-rotate(352deg) brightness(1.16) drop-shadow(0 0 7px rgba(216,185,120,.42)); transform: translateY(-1px) scale(1.04); }
@keyframes podiumRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes podiumRays { to { transform: translateX(-50%) rotate(360deg); } }
@media (max-width: 360px) {
  .board-heading-title { font-size: 22px; }
  .board-laurel { width: 21px; height: 43px; }
  .board-laurel-right { width: 23px; }
  .board-podium { min-height: 220px; padding-left: 2px; padding-right: 2px; }
  .podium-spot { height: 203px; }
  .podium-champion { height: 220px; }
  .podium-ring { width: 57px; height: 57px; }
  .podium-champion .podium-ring { width: 76px; height: 76px; }
  .podium-champion .podium-metric { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .podium-spot, .podium-champion::before { animation: none; }
}
.podium-runnerup { grid-column: 1; }
.podium-champion { grid-column: 2; }
.podium-third { grid-column: 3; }

/* ---------------------------------------------------------------- ranking v4：颁奖台层级 */
#panel-board { position: relative; }
.board-hero { position: relative; margin: -4px 0 6px; padding: 0 0 2px; isolation: isolate; }
.board-hero::before { content: ""; position: absolute; z-index: -1; top: -28px; left: 0; width: 100%; height: 170px; pointer-events: none; background: radial-gradient(ellipse at 50% 18%, rgba(232,196,119,.18), rgba(232,196,119,.055) 35%, transparent 68%); }
.board-hero::after { content: ""; position: absolute; z-index: -1; top: 6px; left: 50%; width: 1px; height: 125px; transform: translateX(-50%); pointer-events: none; background: linear-gradient(180deg, rgba(255,239,190,.50), rgba(232,196,119,.10) 62%, transparent); box-shadow: 0 0 20px rgba(232,196,119,.28); }
.board-heading { min-height: 76px; gap: 12px; padding: 2px 0 0; }
.board-heading-copy { flex: 0 1 auto; }
.board-heading-title { color: #f2d189; font-size: 29px; font-weight: 900; line-height: 1; letter-spacing: .13em; text-shadow: 0 2px 0 #5a3710, 0 0 15px rgba(246,220,158,.30), 0 10px 30px rgba(0,0,0,.72); }
.board-heading-sub { margin-top: 8px; color: #d1bb8d; font-size: 10px; font-weight: 700; letter-spacing: .24em; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.board-laurel { width: 31px; height: 61px; opacity: .96; filter: drop-shadow(0 0 10px rgba(232,196,119,.26)) drop-shadow(0 4px 4px rgba(0,0,0,.35)); }
.board-laurel-right { width: 34px; }
.board-switch { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(300px, 88%); margin: 2px auto 10px; padding: 4px; border: 1px solid rgba(232,196,119,.28); border-radius: 999px; background: linear-gradient(180deg, rgba(54,47,38,.96), rgba(25,22,19,.98)); box-shadow: 0 10px 24px -16px #000, inset 0 1px 0 rgba(255,247,223,.09), inset 0 -1px 0 rgba(0,0,0,.55); }
.board-switch::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(110deg, rgba(255,255,255,.04), transparent 38%, transparent 70%, rgba(255,255,255,.025)); }
.board-switch button { position: relative; min-height: 34px; border-radius: 999px; color: #a99c88; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; }
.board-switch button.on { color: #31200b; background: radial-gradient(120% 150% at 50% 0%, #fff3c9 0%, #e6c57d 42%, #bd914e 100%); box-shadow: 0 0 20px rgba(232,196,119,.28), inset 0 1px 0 rgba(255,255,255,.75), inset 0 -1px 0 rgba(86,49,10,.34); }
.board-season { margin: 0 auto 12px; max-width: 92%; color: #897c68; font-size: 9.5px; line-height: 1.5; letter-spacing: .04em; }
.board-podium { grid-template-columns: minmax(0,.92fr) minmax(0,1.23fr) minmax(0,.92fr); gap: 0; min-height: 292px; margin: 0 0 12px; padding: 31px 6px 7px; border-color: rgba(232,196,119,.26); border-radius: 20px; background: radial-gradient(58% 44% at 50% 2%, rgba(255,230,163,.30), transparent 72%), radial-gradient(42% 38% at 50% 46%, rgba(232,196,119,.10), transparent 78%), linear-gradient(112deg, transparent 29%, rgba(255,255,255,.035) 44%, transparent 58%), linear-gradient(166deg, #30271d 0%, #1c1916 44%, #0c0d10 100%); box-shadow: 0 26px 50px -34px #000, inset 0 1px 0 rgba(255,244,213,.12), inset 0 -1px 0 rgba(0,0,0,.72); }
.board-podium::before { top: -78px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(255,237,184,.30), rgba(232,196,119,.075) 37%, transparent 69%); }
.board-podium::after { opacity: .18; background: repeating-linear-gradient(112deg, transparent 0 24px, rgba(255,255,255,.05) 24px 25px, transparent 25px 50px); }
.wine-board-podium { border-color: rgba(211,169,101,.31); background: radial-gradient(58% 44% at 50% 2%, rgba(255,214,150,.27), transparent 72%), radial-gradient(48% 38% at 50% 52%, rgba(192,127,69,.12), transparent 76%), linear-gradient(112deg, transparent 29%, rgba(255,255,255,.035) 44%, transparent 58%), linear-gradient(166deg, #33271d 0%, #1d1815 46%, #0c0d10 100%); }
.wine-board-podium::before { background: radial-gradient(circle, rgba(244,194,126,.27), rgba(181,116,63,.06) 39%, transparent 70%); }
.podium-spot { height: 238px; justify-content: flex-end; overflow: visible; }
.podium-champion { height: 266px; }
.podium-champion::before { top: -2px; width: 238px; height: 238px; opacity: .94; background: repeating-conic-gradient(from 0deg, rgba(255,229,163,.40) 0deg .7deg, transparent .7deg 8.5deg); }
.podium-stack { overflow: visible; }
.podium-ring { width: 72px; height: 72px; margin-top: 0; border: 2px solid var(--podium); background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.12), rgba(20,17,13,.92) 55%, rgba(7,8,10,1)); box-shadow: 0 0 0 4px rgba(255,255,255,.025), 0 0 0 6px var(--podium-soft), 0 0 25px var(--podium-soft), inset 0 0 22px rgba(0,0,0,.72); }
.podium-ring::before { content: ""; position: absolute; inset: -11px; z-index: -1; border: 1px solid rgba(255,242,206,.24); border-radius: 50%; box-shadow: 0 0 20px var(--podium-soft); }
.podium-ring::after { content: ""; position: absolute; top: 5px; left: 13px; width: 26%; height: 17%; border-radius: 50%; transform: rotate(-28deg); background: linear-gradient(180deg, rgba(255,255,255,.42), transparent); filter: blur(1px); pointer-events: none; }
.podium-champion .podium-ring { width: 94px; height: 94px; margin-top: 23px; border-width: 2.5px; box-shadow: 0 0 0 4px rgba(255,239,192,.08), 0 0 0 7px rgba(246,220,158,.16), 0 0 28px rgba(255,226,148,.62), 0 0 60px rgba(232,196,119,.25), inset 0 0 24px rgba(0,0,0,.72); }
.podium-avatar { width: 78%; height: 89%; margin-bottom: -1px; object-fit: contain; object-position: center bottom; }
.podium-avatar.has-photo { width: 100%; height: 100%; margin: 0; border-radius: 50%; object-fit: cover; }
.podium-champion .podium-avatar { width: 79%; height: 90%; }
.podium-champion .podium-avatar.has-photo { width: 100%; height: 100%; }
.podium-crown { top: -36px; width: 65px; filter: drop-shadow(0 5px 8px rgba(0,0,0,.62)) drop-shadow(0 0 12px rgba(255,222,137,.48)); }
.podium-ribbon { --ribbon-a: #f9e7b4; --ribbon-b: #c99747; --ribbon-edge: #604014; position: relative; z-index: 5; display: flex; align-items: center; justify-content: center; width: 115%; min-height: 27px; margin-top: -9px; padding: 3px 12px 4px; overflow: visible; color: #37220b; background: linear-gradient(180deg, var(--ribbon-a) 0%, #ecd092 35%, var(--ribbon-b) 100%); clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0 50%); filter: drop-shadow(0 4px 5px rgba(0,0,0,.45)); }
.podium-ribbon::before, .podium-ribbon::after { content: ""; position: absolute; z-index: -1; top: 15px; width: 31%; height: 18px; background: linear-gradient(180deg, var(--ribbon-b), var(--ribbon-edge)); }
.podium-ribbon::before { left: -4%; transform: skewX(-24deg); clip-path: polygon(0 0,100% 13%,82% 100%,0 100%); }
.podium-ribbon::after { right: -4%; transform: skewX(24deg); clip-path: polygon(0 13%,100% 0,100% 100%,18% 100%); }
.podium-runnerup .podium-ribbon { --ribbon-a: #f4f0e8; --ribbon-b: #aaa9a8; --ribbon-edge: #55565a; }
.podium-third .podium-ribbon { --ribbon-a: #f4cfb0; --ribbon-b: #bd7955; --ribbon-edge: #6b3827; }
.podium-champion .podium-ribbon { width: 120%; min-height: 31px; margin-top: -8px; --ribbon-a: #fff0bc; --ribbon-b: #d9a34f; --ribbon-edge: #704312; filter: drop-shadow(0 5px 7px rgba(0,0,0,.50)) drop-shadow(0 0 8px rgba(255,224,144,.22)); }
.podium-name { display: block; width: 100%; overflow: hidden; color: #37220b; font-size: 11px; font-weight: 800; line-height: 1.25; text-align: center; text-overflow: ellipsis; text-shadow: 0 1px 0 rgba(255,255,255,.38); white-space: nowrap; }
.podium-champion .podium-name { font-size: 14px; letter-spacing: .02em; }
.podium-metric { position: relative; z-index: 4; margin-top: 5px; color: var(--podium); font-size: 24px; line-height: .92; text-shadow: 0 2px 3px rgba(0,0,0,.66), 0 0 18px var(--podium-soft); transform: translateY(-7px); }
.podium-metric b { font-family: Georgia, "Times New Roman", serif; font-weight: 800; }
.podium-metric small { margin-left: 1px; color: #ad946d; font-size: 9px; font-weight: 700; }
.podium-champion .podium-metric { margin-top: 5px; color: #ffe39c; font-size: 33px; }
.podium-runnerup .podium-metric { color: #eeeae2; font-size: 25px; }
.podium-third .podium-metric { color: #f1b58d; font-size: 25px; }
.podium-champion .podium-metric small { color: #d0b47a; }
.podium-spark { position: absolute; z-index: 6; color: #fff0b6; font-style: normal; font-size: 11px; line-height: 1; text-shadow: 0 0 7px #ffdc83, 0 0 15px rgba(255,208,103,.75); animation: rankTwinkle 2.8s ease-in-out infinite; }
.podium-spark::before { content: "✦"; }
.spark-one { top: 29px; left: 9%; font-size: 13px; }
.spark-two { top: 74px; right: 7%; font-size: 8px; animation-delay: -.8s; }
.spark-three { top: 112px; left: 4%; font-size: 7px; animation-delay: -1.6s; }
.podium-base { z-index: 3; width: 108%; margin-top: -4px; filter: drop-shadow(0 10px 10px rgba(0,0,0,.44)); }
.podium-champion .podium-base { width: 123%; margin-top: -5px; filter: drop-shadow(0 10px 15px rgba(0,0,0,.50)) drop-shadow(0 0 10px rgba(232,196,119,.13)); }
.board-list-head { margin: 13px 4px 8px; color: #a18d6d; font-size: 9px; letter-spacing: .22em; }
.board-list-head i { background: linear-gradient(90deg, rgba(232,196,119,.36), transparent); }
.board-list { overflow: hidden; border-color: rgba(232,196,119,.20); border-radius: 19px; background: linear-gradient(180deg, rgba(34,29,24,.92), rgba(18,17,17,.98)); box-shadow: 0 22px 42px -34px #000, inset 0 1px 0 rgba(255,243,210,.045); }
.board-list .item { min-height: 64px; padding: 9px 13px; }
.board-row { display: flex; align-items: center; gap: 10px; border-bottom-color: rgba(232,196,119,.075) !important; }
.board-list .item:first-child { background: linear-gradient(90deg, rgba(232,196,119,.07), rgba(232,196,119,.015) 38%, transparent 72%); }
.rank-medal { position: relative; display: flex; align-items: center; justify-content: center; flex: 0 0 35px; width: 35px; height: 34px; isolation: isolate; }
.rank-medal::before, .rank-medal::after { content: ""; position: absolute; z-index: -1; top: 3px; width: 13px; height: 28px; background: url("assets/rank/laurel-left.png") center/contain no-repeat; opacity: .78; filter: sepia(1) saturate(.6) brightness(1.38); }
.rank-medal::before { left: -1px; }
.rank-medal::after { right: -1px; transform: scaleX(-1); }
.rank-no { position: relative; z-index: 1; width: auto; color: #e2c98f; font-family: Georgia, "Times New Roman", serif; font-size: 12px; font-weight: 800; line-height: 1; letter-spacing: 0; text-align: center; text-shadow: 0 1px 5px #000; }
.rank-avatar { display: flex; align-items: flex-end; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; overflow: hidden; border: 1px solid rgba(232,196,119,.38); border-radius: 50%; background: radial-gradient(circle at 50% 28%, rgba(255,244,210,.16), rgba(35,28,19,.74) 58%, rgba(9,10,12,.98)); box-shadow: 0 0 0 3px rgba(232,196,119,.045), inset 0 0 15px rgba(0,0,0,.68); }
.rank-avatar-img { display: block; width: 78%; height: 89%; object-fit: contain; object-position: center bottom; }
.rank-avatar-img.has-photo { width: 100%; height: 100%; object-fit: cover; }
.rank-person { gap: 1px; }
.rank-person .title { color: #f1e7d5; font-size: 15px; font-weight: 700; line-height: 1.35; letter-spacing: .015em; }
.rank-person .sub { margin-top: 2px; color: #7f715d; font-size: 9.5px; line-height: 1.35; }
.rank-score { min-width: 55px; gap: 2px; }
.rank-score b { color: #eac77d; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 800; line-height: 1; text-shadow: 0 2px 5px #000, 0 0 17px rgba(232,196,119,.11); }
.rank-score small { color: #91806a; font-size: 9.5px; }
.kill-board-list .rank-no, .kill-board-list .rank-score b { color: #eda99b; }
.wine-board-list .rank-no, .wine-board-list .rank-score b { color: #e8c078; }
.wine-board-mine { border-color: rgba(211,169,101,.34); background: linear-gradient(115deg, rgba(34,25,18,.96), rgba(18,19,23,.96)); }
.wine-board-mine b { color: #f0cc88; }
@keyframes rankTwinkle { 0%,100% { opacity: .35; transform: scale(.78) rotate(0deg); } 50% { opacity: 1; transform: scale(1.18) rotate(18deg); } }
@media (max-width: 360px) {
  .board-heading { min-height: 70px; gap: 9px; }
  .board-heading-title { font-size: 26px; }
  .board-laurel { width: 26px; height: 54px; }
  .board-laurel-right { width: 29px; }
  .board-switch { width: min(282px, 90%); }
  .board-podium { min-height: 272px; padding-top: 29px; }
  .podium-spot { height: 221px; }
  .podium-champion { height: 248px; }
  .podium-ring { width: 64px; height: 64px; }
  .podium-champion .podium-ring { width: 84px; height: 84px; margin-top: 22px; }
  .podium-champion .podium-metric { font-size: 30px; }
  .podium-metric { font-size: 22px; }
  .podium-name { font-size: 10.5px; }
  .podium-champion .podium-name { font-size: 13px; }
  .rank-avatar { flex-basis: 44px; width: 44px; height: 44px; }
  .rank-person .title { font-size: 14px; }
  .rank-score b { font-size: 23px; }
}
@media (max-width: 335px) {
  .board-heading-title { font-size: 24px; }
  .board-laurel { width: 23px; height: 49px; }
  .board-switch { width: min(264px, 94%); }
  .board-podium { min-height: 258px; padding-left: 3px; padding-right: 3px; }
  .podium-spot { height: 210px; }
  .podium-champion { height: 238px; }
  .podium-ring { width: 58px; height: 58px; }
  .podium-champion .podium-ring { width: 78px; height: 78px; }
  .podium-crown { width: 56px; top: -31px; }
  .podium-ribbon { width: 112%; padding-left: 8px; padding-right: 8px; }
  .podium-champion .podium-ribbon { width: 116%; }
  .rank-medal { flex-basis: 31px; width: 31px; }
  .rank-medal::before, .rank-medal::after { width: 11px; height: 24px; }
  .rank-avatar { flex-basis: 40px; width: 40px; height: 40px; }
  .rank-person .title { font-size: 13px; }
  .rank-score { min-width: 49px; }
  .rank-score b { font-size: 21px; }
}

/* ---------------------------------------------------------------- ranking v5：周期与冠军压台 */
.board-period-switch { position: relative; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 24px; width: max-content; max-width: 88%; margin: 2px auto 10px; padding: 0 4px; }
.board-period-switch button { position: relative; min-width: 36px; min-height: 26px; padding: 1px 1px 7px; border: 0; border-radius: 0; background: transparent; color: #827562; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; }
.board-period-switch button::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px; border-radius: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #f1d18a 28%, #fff0bd 72%, transparent); box-shadow: 0 0 9px rgba(255,220,135,.52); transition: width .18s ease; }
.board-period-switch button.on { color: #f3d794; text-shadow: 0 0 12px rgba(232,196,119,.36); }
.board-period-switch button.on::after { width: 23px; }
.podium-runnerup, .podium-third { z-index: 1; }
.podium-champion { z-index: 6; }
.podium-champion .podium-stack { z-index: 9; }
.podium-champion .podium-ring { width: 104px; height: 104px; overflow: visible; margin-top: 26px; border-width: 3px; background: radial-gradient(circle at 50% 31%, rgba(255,255,255,.15), rgba(35,23,11,.92) 52%, rgba(8,8,9,1)); box-shadow: 0 0 0 4px rgba(255,239,192,.09), 0 0 0 8px rgba(246,220,158,.15), 0 0 34px rgba(255,222,135,.72), 0 0 72px rgba(232,196,119,.30), inset 0 0 26px rgba(0,0,0,.74); animation: championRingPulse 2.8s ease-in-out infinite; }
.podium-ring { overflow: visible; }
.podium-avatar { position: relative; z-index: 2; }
.podium-halo { position: absolute; z-index: -1; inset: -17px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255,231,165,.18), rgba(255,213,111,.08) 46%, transparent 72%); box-shadow: 0 0 28px rgba(255,218,132,.22), inset 0 0 22px rgba(255,220,137,.10); }
.podium-halo::before { content: ""; position: absolute; inset: -19px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255,228,158,.42) 0deg 1deg, transparent 1deg 15deg); -webkit-mask-image: radial-gradient(circle, transparent 0 43%, #000 49%, transparent 72%); mask-image: radial-gradient(circle, transparent 0 43%, #000 49%, transparent 72%); opacity: .52; animation: haloSpin 16s linear infinite; }
.podium-champion .podium-halo { inset: -22px; background: radial-gradient(circle, rgba(255,238,186,.30), rgba(255,207,99,.12) 43%, transparent 73%); box-shadow: 0 0 36px rgba(255,215,117,.42), 0 0 70px rgba(232,196,119,.20), inset 0 0 26px rgba(255,229,157,.16); animation: championHaloPulse 2.6s ease-in-out infinite; }
.podium-champion .podium-halo::before { inset: -25px; opacity: .80; animation-duration: 12s; }
.podium-champion::before { top: -8px; width: 268px; height: 268px; opacity: 1; background: repeating-conic-gradient(from 12deg, rgba(255,235,175,.46) 0deg .8deg, transparent .8deg 7.8deg); animation-duration: 14s; }
.podium-champion .podium-ribbon { width: 132%; min-height: 32px; }
.podium-champion .podium-base { z-index: 7; width: 158%; max-width: none; filter: drop-shadow(0 12px 15px rgba(0,0,0,.56)) drop-shadow(0 0 15px rgba(255,207,101,.22)) saturate(1.08) brightness(1.04); }
.podium-runnerup .podium-base, .podium-third .podium-base { filter: drop-shadow(0 8px 9px rgba(0,0,0,.48)) saturate(.92) brightness(.91); }
.podium-crown-wrap { position: absolute; z-index: 12; top: -43px; left: 50%; width: 78px; height: 42px; transform: translateX(-50%); animation: crownHover 2.9s ease-in-out infinite; }
.podium-crown-wrap::before { content: ""; position: absolute; z-index: -1; inset: -20px -17px -18px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,239,184,.48), rgba(255,208,94,.17) 43%, transparent 72%); filter: blur(2px); animation: crownAura 2.1s ease-in-out infinite; }
.podium-crown-wrap::after { content: ""; position: absolute; z-index: -1; top: 50%; left: 50%; width: 108px; height: 108px; transform: translate(-50%,-50%); background: repeating-conic-gradient(from 0deg, rgba(255,234,172,.34) 0deg 1deg, transparent 1deg 18deg); -webkit-mask-image: radial-gradient(circle, transparent 0 24%, #000 34%, transparent 69%); mask-image: radial-gradient(circle, transparent 0 24%, #000 34%, transparent 69%); animation: crownRaySpin 18s linear infinite; }
.podium-crown { position: relative; top: auto; left: auto; display: block; width: 100%; height: 100%; transform: none; object-fit: contain; filter: drop-shadow(0 5px 7px rgba(0,0,0,.66)) drop-shadow(0 0 10px rgba(255,224,137,.82)) drop-shadow(0 0 22px rgba(255,196,64,.38)); }
.podium-spark { font-size: 15px; filter: drop-shadow(0 0 7px #ffdc83) drop-shadow(0 0 16px rgba(255,201,86,.76)); }
.spark-one { top: 16px; left: 2%; }
.spark-two { top: 62px; right: 0; }
.spark-three { top: 126px; left: -2%; }
.spark-four { top: 43px; right: 15%; font-size: 8px; animation-delay: -1.1s; }
@keyframes championRingPulse { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.13); } }
@keyframes championHaloPulse { 0%,100% { opacity: .62; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.045); } }
@keyframes haloSpin { to { transform: rotate(360deg); } }
@keyframes crownHover { 0%,100% { transform: translateX(-50%) translateY(0) scale(1); } 50% { transform: translateX(-50%) translateY(-3px) scale(1.025); } }
@keyframes crownAura { 0%,100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes crownRaySpin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@media (max-width: 360px) {
  .board-period-switch { gap: 21px; }
  .podium-champion .podium-ring { width: 94px; height: 94px; margin-top: 25px; }
  .podium-champion .podium-base { width: 154%; }
  .podium-champion .podium-ribbon { width: 128%; }
  .podium-crown-wrap { top: -39px; width: 70px; height: 38px; }
  .podium-champion .podium-halo { inset: -18px; }
}
@media (max-width: 335px) {
  .board-period-switch { gap: 17px; }
  .podium-champion .podium-ring { width: 86px; height: 86px; margin-top: 24px; }
  .podium-champion .podium-base { width: 150%; }
  .podium-champion .podium-ribbon { width: 124%; }
  .podium-crown-wrap { top: -35px; width: 62px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .podium-champion .podium-ring,
  .podium-halo,
  .podium-champion .podium-halo,
  .podium-crown-wrap,
  .podium-crown-wrap::before,
  .podium-crown-wrap::after,
  .podium-spark { animation: none; }
}

/* ---------------------------------------------------------------- ranking v6：效果图对齐 */
.board-podium {
  min-height: 306px;
  padding: 30px 5px 7px;
  background:
    radial-gradient(46% 70% at 50% 18%, rgba(255,232,174,.20), transparent 72%),
    linear-gradient(90deg, transparent 0 29.3%, rgba(255,224,157,.075) 29.3% 29.55%, transparent 29.55% 70.45%, rgba(255,224,157,.075) 70.45% 70.7%, transparent 70.7%),
    repeating-linear-gradient(104deg, transparent 0 41px, rgba(255,236,189,.035) 41px 42px, transparent 42px 84px),
    linear-gradient(166deg, #33291e 0%, #1b1816 46%, #0b0c0f 100%);
  box-shadow:
    0 28px 54px -34px #000,
    inset 0 1px 0 rgba(255,244,213,.14),
    inset 0 -30px 54px -44px rgba(255,207,99,.62),
    inset 0 -1px 0 rgba(0,0,0,.76);
}
.board-podium::before {
  top: -66px;
  width: 340px;
  height: 330px;
  background:
    linear-gradient(180deg, rgba(255,244,208,.13), transparent 42%),
    radial-gradient(ellipse at 50% 26%, rgba(255,239,190,.31), rgba(244,195,92,.105) 42%, transparent 71%);
}
.board-podium::after {
  opacity: .27;
  background:
    linear-gradient(108deg, transparent 24%, rgba(255,237,187,.055) 38%, transparent 51%),
    repeating-linear-gradient(104deg, transparent 0 28px, rgba(255,255,255,.035) 28px 29px, transparent 29px 58px);
}
.kill-board-podium {
  background:
    radial-gradient(46% 70% at 50% 18%, rgba(255,205,154,.17), transparent 72%),
    linear-gradient(90deg, transparent 0 29.3%, rgba(232,152,113,.075) 29.3% 29.55%, transparent 29.55% 70.45%, rgba(232,152,113,.075) 70.45% 70.7%, transparent 70.7%),
    repeating-linear-gradient(104deg, transparent 0 41px, rgba(255,213,174,.032) 41px 42px, transparent 42px 84px),
    linear-gradient(166deg, #34231e 0%, #1c1717 46%, #0b0c0f 100%);
}
.kill-board-podium::before {
  background:
    linear-gradient(180deg, rgba(255,226,194,.11), transparent 42%),
    radial-gradient(ellipse at 50% 26%, rgba(255,207,166,.27), rgba(206,103,73,.09) 42%, transparent 71%);
}
.podium-runnerup,
.podium-third { z-index: 2; }
.podium-runnerup::after,
.podium-third::after {
  content: ";
  position: absolute;
  z-index: -1;
  top: 25px;
  bottom: 3px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,228,164,.20) 28%, rgba(255,228,164,.06) 80%, transparent);
}
.podium-runnerup::after { right: -2px; }
.podium-third::after { left: -2px; }
.podium-champion { z-index: 5; height: 272px; }
.podium-champion::before {
  top: -21px;
  width: 294px;
  height: 294px;
  opacity: .92;
  background:
    repeating-conic-gradient(from 10deg, rgba(255,237,180,.52) 0deg .75deg, transparent .75deg 7.2deg),
    radial-gradient(circle, rgba(255,241,195,.18), transparent 57%);
  animation-duration: 17s;
}
.podium-champion .podium-ring {
  width: 110px;
  height: 110px;
  margin-top: 20px;
  border-color: #ffe7a2;
  box-shadow:
    0 0 0 3px rgba(255,239,192,.11),
    0 0 0 8px rgba(246,220,158,.17),
    0 0 30px rgba(255,226,148,.84),
    0 0 70px rgba(255,193,68,.40),
    inset 0 0 24px rgba(0,0,0,.68);
}
.podium-champion .podium-ring::before {
  inset: -14px;
  border-color: rgba(255,242,206,.32);
}
.podium-champion .podium-halo {
  inset: -25px;
  background: radial-gradient(circle, rgba(255,243,201,.38), rgba(255,207,99,.14) 43%, transparent 72%);
  box-shadow: 0 0 42px rgba(255,215,117,.54), 0 0 84px rgba(232,196,119,.24), inset 0 0 28px rgba(255,229,157,.20);
}
.podium-champion .podium-halo::before {
  inset: -29px;
  opacity: .90;
}
.podium-crown-wrap {
  top: 4px;
  width: 94px;
  height: 51px;
  animation-duration: 3.4s;
}
.podium-crown-wrap::before {
  inset: -28px -26px -25px;
  background: radial-gradient(ellipse, rgba(255,245,210,.62), rgba(255,211,99,.24) 42%, transparent 72%);
  filter: blur(3px);
  animation-duration: 2.6s;
}
.podium-crown-wrap::after {
  width: 148px;
  height: 148px;
  background: repeating-conic-gradient(from 0deg, rgba(255,237,180,.42) 0deg .8deg, transparent .8deg 15deg);
  animation-duration: 20s;
}
.podium-crown {
  filter:
    drop-shadow(0 5px 7px rgba(0,0,0,.68))
    drop-shadow(0 0 9px rgba(255,245,208,.96))
    drop-shadow(0 0 22px rgba(255,203,77,.76))
    drop-shadow(0 0 42px rgba(255,177,34,.34));
  animation: crownGlow 2.4s ease-in-out infinite;
}
.podium-champion .podium-ribbon {
  width: 136%;
  min-height: 32px;
  filter:
    drop-shadow(0 5px 7px rgba(0,0,0,.52))
    drop-shadow(0 0 10px rgba(255,224,144,.30));
}
.podium-champion .podium-name {
  color: #3a2308;
  text-shadow: 0 1px 0 rgba(255,255,255,.50), 0 2px 4px rgba(91,49,7,.32);
}
.podium-champion .podium-metric {
  font-size: 34px;
  text-shadow: 0 2px 4px rgba(0,0,0,.66), 0 0 20px rgba(255,216,119,.52);
}
.podium-runnerup .podium-base { transform: translateX(-10px); }
.podium-third .podium-base { transform: translateX(10px); }
.podium-champion .podium-base {
  width: 168%;
  filter:
    drop-shadow(0 13px 16px rgba(0,0,0,.60))
    drop-shadow(0 0 9px rgba(255,213,117,.36))
    drop-shadow(0 0 26px rgba(255,185,45,.20))
    saturate(1.10) brightness(1.06);
}
.podium-runnerup .podium-base,
.podium-third .podium-base {
  filter: drop-shadow(0 8px 9px rgba(0,0,0,.52)) saturate(.88) brightness(.86);
}
.podium-spark { font-size: 16px; }
.spark-one { top: 15px; left: 3%; }
.spark-two { top: 57px; right: 3%; }
.spark-three { top: 122px; left: 2%; }
.spark-four { top: 35px; right: 17%; }
.spark-five { top: 91px; left: 15%; font-size: 8px; animation-delay: -2.1s; }
.spark-six { top: 151px; right: 14%; font-size: 10px; animation-delay: -1.35s; }
@keyframes crownGlow {
  0%, 100% { filter: drop-shadow(0 5px 7px rgba(0,0,0,.68)) drop-shadow(0 0 9px rgba(255,245,208,.88)) drop-shadow(0 0 20px rgba(255,203,77,.66)) drop-shadow(0 0 38px rgba(255,177,34,.28)); }
  50% { filter: drop-shadow(0 5px 7px rgba(0,0,0,.68)) drop-shadow(0 0 13px rgba(255,250,224,1)) drop-shadow(0 0 29px rgba(255,215,103,.92)) drop-shadow(0 0 52px rgba(255,177,34,.44)); }
}
@media (max-width: 360px) {
  .board-podium { min-height: 292px; padding-top: 28px; }
  .podium-champion { height: 258px; }
  .podium-champion .podium-ring { width: 100px; height: 100px; margin-top: 19px; }
  .podium-champion .podium-base { width: 166%; }
  .podium-champion .podium-ribbon { width: 132%; }
  .podium-champion .podium-metric { font-size: 32px; }
  .podium-crown-wrap { top: 4px; width: 86px; height: 47px; }
  .podium-crown-wrap::after { width: 134px; height: 134px; }
  .spark-three, .spark-six { display: none; }
}
@media (max-width: 335px) {
  .board-podium { min-height: 278px; padding-top: 26px; }
  .podium-champion { height: 246px; }
  .podium-champion .podium-ring { width: 92px; height: 92px; margin-top: 18px; }
  .podium-champion .podium-base { width: 164%; }
  .podium-champion .podium-ribbon { width: 128%; }
  .podium-champion .podium-metric { font-size: 30px; }
  .podium-runnerup .podium-base { transform: translateX(-8px); }
  .podium-third .podium-base { transform: translateX(8px); }
  .podium-crown-wrap { top: 3px; width: 78px; height: 43px; }
  .podium-crown-wrap::after { width: 120px; height: 120px; }
  .spark-five, .spark-six { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .podium-crown { animation: none; }
}

/* ---------------------------------------------------------------- ranking v7：按 375 设计稿复刻 */
.board-heading { min-height: 64px; gap: 8px; padding: 0; }
.board-heading-title { font-size: 31px; }
.board-switch { width: min(286px, 86%); margin: 1px auto 7px; padding: 3px; }
.board-switch button { min-height: 34px; }
.board-season { margin: 0 auto 7px; font-size: 9.5px; line-height: 1.4; }
.board-period-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 214px;
  max-width: 76%;
  margin: 3px auto 11px;
  padding: 4px;
  border: 1px solid rgba(232,196,119,.24);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(56,46,36,.92), rgba(29,25,21,.96));
  box-shadow: 0 10px 24px -18px #000, inset 0 1px 0 rgba(255,246,219,.10);
}
.board-period-switch button {
  min-width: 0;
  min-height: 27px;
  padding: 0 3px;
  border-radius: 999px;
  color: #d8cbb1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.board-period-switch button::after { display: none; }
.board-period-switch button.on {
  color: #2b2115;
  background: radial-gradient(120% 140% at 50% 0%, #fffdf4 0%, #f7edda 55%, #e6d2aa 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,.28), inset 0 1px 0 #fff;
  text-shadow: none;
}
.board-podium {
  min-height: 228px;
  padding: 18px 6px 2px;
  background:
    linear-gradient(180deg, rgba(255,235,184,.08), transparent 31%),
    radial-gradient(38% 50% at 50% 12%, rgba(255,225,155,.12), transparent 74%),
    linear-gradient(90deg, transparent 0 30.2%, rgba(255,228,166,.055) 30.2% 30.45%, transparent 30.45% 69.55%, rgba(255,228,166,.055) 69.55% 69.8%, transparent 69.8%),
    repeating-linear-gradient(104deg, transparent 0 44px, rgba(255,236,189,.022) 44px 45px, transparent 45px 90px),
    linear-gradient(166deg, #2e251d 0%, #1a1715 48%, #0a0b0e 100%);
  box-shadow: 0 26px 52px -36px #000, inset 0 1px 0 rgba(255,244,213,.10), inset 0 -1px 0 rgba(0,0,0,.72);
}
.board-podium::before {
  top: -44px;
  width: 292px;
  height: 268px;
  background:
    linear-gradient(180deg, rgba(255,243,203,.10), transparent 48%),
    radial-gradient(ellipse at 50% 29%, rgba(255,232,173,.22), rgba(234,184,90,.055) 45%, transparent 72%);
}
.board-podium::after {
  opacity: .18;
  background: repeating-linear-gradient(104deg, transparent 0 30px, rgba(255,255,255,.032) 30px 31px, transparent 31px 60px);
}
.kill-board-podium {
  background:
    linear-gradient(180deg, rgba(255,224,190,.07), transparent 31%),
    radial-gradient(38% 50% at 50% 12%, rgba(255,209,170,.11), transparent 74%),
    linear-gradient(90deg, transparent 0 30.2%, rgba(240,157,118,.05) 30.2% 30.45%, transparent 30.45% 69.55%, rgba(240,157,118,.05) 69.55% 69.8%, transparent 69.8%),
    repeating-linear-gradient(104deg, transparent 0 44px, rgba(255,214,176,.02) 44px 45px, transparent 45px 90px),
    linear-gradient(166deg, #30211d 0%, #1b1616 48%, #0a0b0e 100%);
}
.kill-board-podium::before {
  background:
    linear-gradient(180deg, rgba(255,229,205,.08), transparent 48%),
    radial-gradient(ellipse at 50% 29%, rgba(255,212,176,.20), rgba(200,98,70,.05) 45%, transparent 72%);
}
.podium-spot {
  position: relative;
  display: block;
  height: 180px;
  overflow: visible;
}
.podium-runnerup { --podium: #ece9e2; --podium-deep: #7b7d82; --podium-soft: rgba(236,233,226,.26); }
.podium-third { --podium: #e6a37f; --podium-deep: #783f2e; --podium-soft: rgba(230,163,127,.25); }
.podium-champion { --podium: #ffe29a; --podium-deep: #8a5714; --podium-soft: rgba(255,222,135,.34); }
.podium-champion { height: 208px; }
.podium-champion::before {
  top: -8px;
  width: 224px;
  height: 224px;
  opacity: .70;
  background: repeating-conic-gradient(from 8deg, rgba(255,235,175,.38) 0deg .65deg, transparent .65deg 8.5deg);
  animation-duration: 20s;
}
.podium-stack {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.podium-ring {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  margin-top: 0;
  border-width: 2px;
  border-color: var(--podium);
  box-shadow: 0 0 0 2px rgba(255,255,255,.025), 0 0 0 5px var(--podium-soft), 0 0 18px var(--podium-soft), inset 0 0 16px rgba(0,0,0,.66);
}
.podium-ring::before {
  inset: -5px;
  border: 0;
  background: conic-gradient(from 210deg, var(--podium-deep), var(--podium) 17%, #fff8dc 29%, var(--podium) 42%, var(--podium-deep) 57%, var(--podium) 74%, #fff8dc 86%, var(--podium-deep));
  -webkit-mask-image: radial-gradient(circle, transparent 0 78%, #000 80% 100%);
  mask-image: radial-gradient(circle, transparent 0 78%, #000 80% 100%);
  box-shadow: none;
  opacity: .92;
}
.podium-champion .podium-ring {
  width: 78px;
  height: 78px;
  margin-top: 11px;
  border-width: 3px;
  box-shadow: 0 0 0 3px rgba(255,239,192,.07), 0 0 0 6px rgba(246,220,158,.13), 0 0 24px rgba(255,226,148,.58), 0 0 48px rgba(255,193,68,.20), inset 0 0 20px rgba(0,0,0,.68);
}
.podium-champion .podium-ring::before {
  inset: -7px;
  -webkit-mask-image: radial-gradient(circle, transparent 0 84%, #000 86% 100%);
  mask-image: radial-gradient(circle, transparent 0 84%, #000 86% 100%);
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(255,220,134,.55));
}
.podium-champion .podium-halo {
  inset: -16px;
  background: radial-gradient(circle, rgba(255,240,193,.30), rgba(255,207,99,.09) 44%, transparent 72%);
  box-shadow: 0 0 28px rgba(255,215,117,.38), 0 0 56px rgba(232,196,119,.16);
}
.podium-champion .podium-halo::before { inset: -20px; opacity: .62; }
.podium-avatar { width: 79%; height: 90%; }
.podium-champion .podium-avatar { width: 79%; height: 90%; }
.podium-crown-wrap {
  top: 1px;
  width: 68px;
  height: 31px;
}
.podium-crown-wrap::before {
  inset: -18px -16px -15px;
  background: radial-gradient(ellipse, rgba(255,242,199,.48), rgba(255,211,99,.14) 44%, transparent 72%);
  filter: blur(2px);
}
.podium-crown-wrap::after {
  width: 100px;
  height: 100px;
  background: repeating-conic-gradient(from 0deg, rgba(255,237,180,.30) 0deg .7deg, transparent .7deg 17deg);
}
.podium-crown {
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.62)) drop-shadow(0 0 7px rgba(255,245,208,.82)) drop-shadow(0 0 16px rgba(255,203,77,.46));
}
.podium-ribbon {
  width: 94%;
  height: auto;
  min-height: 0;
  aspect-ratio: 340 / 94;
  margin-top: -7px;
  padding: 0 10px;
  clip-path: none;
  background: url("assets/rank/ribbon-runnerup.png") center / 100% 100% no-repeat;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.44));
}
.podium-third .podium-ribbon { aspect-ratio: 366 / 98; background-image: url("assets/rank/ribbon-third.png"); }
.podium-champion .podium-ribbon {
  width: 70%;
  min-height: 0;
  aspect-ratio: 340 / 94;
  margin-top: -7px;
  padding: 0 9px;
  background-image: url("assets/rank/ribbon-champion.png");
  filter: drop-shadow(0 4px 5px rgba(0,0,0,.46)) drop-shadow(0 0 7px rgba(255,224,144,.18));
}
.podium-ribbon::before,
.podium-ribbon::after { display: none; }
.podium-name {
  color: #34200a;
  font-size: 10.5px;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255,255,255,.36);
}
.podium-champion .podium-name {
  color: #34200a;
  font-size: 12.5px;
  text-shadow: 0 1px 0 rgba(255,255,255,.40);
}
.podium-metric {
  margin-top: 4px;
  font-size: 22px;
  transform: none;
  text-shadow: 0 2px 3px rgba(0,0,0,.62), 0 0 16px var(--podium-soft);
}
.podium-champion .podium-metric { margin-top: 4px; font-size: 29px; }
.podium-runnerup .podium-metric,
.podium-third .podium-metric { font-size: 22px; }
.podium-base {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 0;
  width: 102%;
  margin: 0;
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 9px rgba(0,0,0,.46)) saturate(.92) brightness(.92);
}
.podium-champion .podium-base {
  z-index: 7;
  width: 112%;
  filter: drop-shadow(0 9px 12px rgba(0,0,0,.50)) drop-shadow(0 0 8px rgba(255,213,117,.18)) saturate(1.05) brightness(1.02);
}
.podium-runnerup .podium-base,
.podium-third .podium-base { transform: translateX(-50%); }
.podium-spark { font-size: 13px; }
.spark-one { top: 16px; left: 12%; }
.spark-two { top: 51px; right: 10%; }
.spark-three { top: 93px; left: 8%; }
.spark-four { top: 34px; right: 22%; }
.spark-five { top: 79px; left: 19%; font-size: 7px; }
.spark-six { top: 111px; right: 17%; font-size: 8px; }
@keyframes crownGlow {
  0%, 100% { filter: drop-shadow(0 3px 4px rgba(0,0,0,.62)) drop-shadow(0 0 7px rgba(255,245,208,.80)) drop-shadow(0 0 16px rgba(255,203,77,.44)); }
  50% { filter: drop-shadow(0 3px 4px rgba(0,0,0,.62)) drop-shadow(0 0 10px rgba(255,250,224,.98)) drop-shadow(0 0 23px rgba(255,215,103,.70)); }
}
@media (max-width: 360px) {
  .board-heading { min-height: 60px; }
  .board-podium { min-height: 220px; padding-top: 17px; }
  .podium-spot { height: 172px; }
  .podium-champion { height: 200px; }
  .podium-ring { width: 53px; height: 53px; }
  .podium-champion .podium-ring { width: 74px; height: 74px; margin-top: 10px; }
  .podium-crown-wrap { width: 64px; height: 29px; }
  .podium-champion .podium-base { width: 114%; }
  .podium-champion .podium-metric { font-size: 28px; }
  .podium-metric { font-size: 21px; }
}
@media (max-width: 335px) {
  .board-heading { min-height: 56px; }
  .board-podium { min-height: 210px; padding-top: 16px; }
  .podium-spot { height: 164px; }
  .podium-champion { height: 192px; }
  .podium-ring { width: 50px; height: 50px; }
  .podium-champion .podium-ring { width: 70px; height: 70px; margin-top: 9px; }
  .podium-crown-wrap { width: 60px; height: 27px; }
  .podium-champion .podium-base { width: 116%; }
  .podium-champion .podium-name { font-size: 12px; }
  .podium-champion .podium-metric { font-size: 26px; }
  .podium-runnerup .podium-metric,
  .podium-third .podium-metric { font-size: 20px; }
  .spark-five, .spark-six { display: none; }
}

/* ---------------------------------------------------------------- 排行榜 v5：黑金素材包 */
#panel-board {
  --rb-gold: #e8c477;
  --rb-gold-2: #f6e0a7;
  --rb-ink: #f4ecdd;
  --rb-muted: #9b8a70;
  margin: calc(-1 * var(--gap)) -14px 0;
}
.rb-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1536 / 2730;
  overflow: hidden;
  background: #0a0910 url("assets/rank/board-mobile-v5.jpg") center / 100% 100% no-repeat;
  color: var(--rb-ink);
  --u: min(1vw, 5.6px);
  isolation: isolate;
}
html.rb-avatars-only .rb-plate { display: none !important; }
.rb-tabs {
  position: absolute;
  left: 50%;
  top: 2.8%;
  width: 68%;
  height: 5%;
  z-index: 8;
  display: grid;
  grid-template-columns: 1.06fr 1fr 1fr;
  gap: calc(var(--u) * .3);
  overflow: hidden;
  padding: calc(var(--u) * .45);
  border: 1px solid rgba(216, 185, 120, .24);
  border-radius: 999px;
  background: linear-gradient(180deg, #1b1622, #100d15);
  box-shadow: inset 0 0 calc(var(--u) * 2.4) rgba(0, 0, 0, .72);
  transform: translateX(-50%);
}
.rb-tabs button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #d9cdb8;
  font-size: calc(var(--u) * 3.5);
  font-weight: 800;
  letter-spacing: .02em;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .82);
}
.rb-tabs button.on {
  color: #2a1706;
  background: linear-gradient(100deg, #fff0bd 0%, #ecc979 35%, #d8a64f 68%, #b47b2e 100%);
  border-radius: 999px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 0 calc(var(--u) * 2.5) rgba(232, 196, 119, .35);
}
.rb-periods {
  position: absolute;
  left: auto;
  right: 4.6%;
  top: 10.05%;
  width: 15%;
  height: 3.4%;
  z-index: 8;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(232, 196, 119, .56);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(94, 82, 111, .8) 0%, rgba(45, 38, 58, .74) 58%, rgba(27, 23, 35, .7) 100%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 calc(var(--u) * 1.6) rgba(0, 0, 0, .45), 0 0 calc(var(--u) * 1.8) rgba(232, 196, 119, .16);
}
.rb-periods::after {
  content: "▾";
  position: absolute;
  right: 11%;
  top: 50%;
  z-index: 2;
  color: #e8c477;
  font-size: calc(var(--u) * 2.45);
  line-height: 1;
  pointer-events: none;
  transform: translateY(-52%);
}
.rb-period-label {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
}
.rb-period-caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.rb-period-select {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0 18% 0 8%;
  border: 0;
  border-radius: 999px;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: #f7dda2;
  font-size: calc(var(--u) * 2.5);
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
  text-align-last: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
  cursor: pointer;
}
.rb-period-select:focus-visible { outline: 1px solid rgba(255, 231, 174, .72); outline-offset: -2px; }
.rb-period-select option { color: #1b130d; background: #f9edcf; font-weight: 700; }
.rb-season {
  position: absolute;
  left: 70.9%;
  right: auto;
  top: 10.35%;
  z-index: 6;
  width: 23.3%;
  margin: 0;
  overflow: hidden;
  color: #a8977c;
  font-size: calc(var(--u) * 1.75);
  line-height: 1.1;
  letter-spacing: .04em;
  text-align: right;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px #000;
  white-space: nowrap;
  display: none;
}
.rb-view {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.rb-view > * { pointer-events: auto; }
.rb-view.hidden { display: none !important; }
.rb-podium {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.rb-top {
  position: absolute;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.rb-top-1 { left: 50.65%; top: 25.05%; width: 25.7%; }
.rb-top-2 { left: 18.16%; top: 27.47%; width: 19.5%; }
.rb-top-3 { left: 82.81%; top: 28.20%; width: 19.7%; }
.rb-top-avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #07060a;
}
.rb-top-avatar.is-default { opacity: 1; }
.rb-avatar-btn {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
  pointer-events: auto;
  cursor: pointer;
}
.rb-avatar-btn:active { filter: brightness(1.12); }
.rb-avatar-btn:disabled { opacity: 1; cursor: default; }
.rb-avatar-btn:focus-visible { outline: 2px solid rgba(255, 230, 170, .9); outline-offset: 2px; }
.rb-avatar-btn > img { pointer-events: none; }
.rb-plate {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  text-align: center;
  transform: translateX(-50%);
}
.rb-plate::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100%;
  aspect-ratio: 340 / 94;
  background: url("assets/rank/ribbon-champion.png") center / 100% 100% no-repeat;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .45));
}
.rb-plate-2::before { background-image: url("assets/rank/ribbon-runnerup.png"); }
.rb-plate-3::before {
  aspect-ratio: 366 / 98;
  background-image: url("assets/rank/ribbon-third.png");
}
.rb-plate-1 { left: 50.65%; top: 28.85%; width: 30%; height: 11.15%; }
.rb-plate-2 { left: 18.23%; top: 30.1%; width: 25%; height: 10.1%; }
.rb-plate-3 { left: 82.62%; top: 30.05%; width: 25%; height: 10.1%; }
.rb-plate-pill {
  position: absolute;
  inset: 0;
  display: block;
  overflow: visible;
}
.rb-plate-name {
  position: absolute;
  left: 0;
  right: 0;
  top: 12%;
  overflow: hidden;
  color: #3a250e;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: calc(var(--u) * 3.35);
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  letter-spacing: .01em;
  text-shadow: 0 1px 0 rgba(255, 249, 230, .70), 0 2px 3px rgba(0, 0, 0, .26);
  white-space: nowrap;
}
.rb-plate-1 .rb-plate-name {
  top: 10%;
  font-size: calc(var(--u) * 3.55);
  color: #3a250e;
}
.rb-plate-1 .rb-plate-score {
  top: 74%;
}
.rb-plate-2 .rb-plate-name,
.rb-plate-3 .rb-plate-name {
  color: #3a250e;
  font-size: calc(var(--u) * 2.75);
  text-shadow: 0 1px 0 rgba(255, 249, 230, .66), 0 2px 3px rgba(0, 0, 0, .26);
}
.rb-plate-score {
  position: absolute;
  left: 0;
  right: 0;
  top: 69%;
  color: #ffe1a0;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: calc(var(--u) * 3.1);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .9);
}
.rb-plate-2 .rb-plate-score { color: #ffe1a0; font-size: calc(var(--u) * 3.05); }
.rb-plate-3 .rb-plate-score { color: #ffe1a0; font-size: calc(var(--u) * 3.05); }
.rb-list-wrap {
  position: absolute;
  left: 2.4%;
  top: 43.38%;
  width: 95.2%;
  height: 54.3%;
  z-index: 4;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rb-list-wrap::-webkit-scrollbar { display: none; }
.rb-list {
  display: flex;
  flex-direction: column;
  gap: calc(var(--u) * 1.28);
}
.rb-row {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  height: calc(var(--u) * 12.7);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.rb-row::after { content: none; }
.rb-no {
  display: none;
}
.rb-avatar {
  position: absolute;
  left: calc(var(--u) * 13.7);
  top: 50%;
  z-index: 2;
  width: calc(var(--u) * 10.3);
  height: calc(var(--u) * 10.3);
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  transform: translateY(-50%);
}
.rb-avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.rb-avatar-img.is-default { opacity: 1; }
.rb-person {
  position: absolute;
  left: calc(var(--u) * 25.25);
  right: calc(var(--u) * 12);
  top: 50%;
  overflow: hidden;
  color: #f3eadb;
  font-size: calc(var(--u) * 3.15);
  font-weight: 700;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
  white-space: nowrap;
  transform: translateY(-50%);
}
.rb-value {
  position: absolute;
  right: calc(var(--u) * 9.0);
  top: 50%;
  color: #f1d08a;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: calc(var(--u) * 3.65);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 calc(var(--u) * 1.6) rgba(232, 196, 119, .25);
  white-space: nowrap;
  transform: translateY(-50%);
}
.rb-value small {
  margin-left: calc(var(--u) * .35);
  color: #b7a17a;
  font-family: inherit;
  font-size: calc(var(--u) * 2.2);
  font-weight: 700;
}
.rb-mine {
  position: absolute;
  left: 2.4%;
  top: 90.55%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 1.7);
  width: 95.2%;
  height: 7.2%;
  padding: 0 calc(var(--u) * 2.2);
  overflow: hidden;
  border: 1px solid rgba(216, 185, 120, .18);
  border-radius: calc(var(--u) * 2.2);
  background:
    radial-gradient(130% 200% at 0% 0%, rgba(255, 255, 255, .06), transparent 42%),
    linear-gradient(100deg, #2a2235 0%, #201929 38%, #16111d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -1px 0 rgba(0, 0, 0, .48);
}
.rb-mine::before {
  content: "";
  flex: 0 0 auto;
  width: calc(var(--u) * .75);
  height: 58%;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6dfa4, #b9853d);
  box-shadow: 0 0 calc(var(--u) * 1.4) rgba(232, 196, 119, .4);
}
.rb-mine-label {
  flex: 0 0 auto;
  color: #e9dcc4;
  font-size: calc(var(--u) * 2.85);
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}
.rb-mine b {
  flex: 0 0 auto;
  color: #f0cf8a;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: calc(var(--u) * 2.95);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rb-mine-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: #cdbfa8;
  font-size: calc(var(--u) * 2.75);
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rb-mine em {
  flex: 0 0 auto;
  color: #f1d79d;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: calc(var(--u) * 2.9);
  font-style: normal;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rb-mine.is-empty b,
.rb-mine.is-empty em { color: #8f8069; }
.rb-mine,
.rb-hall { display: none !important; }

/* ---------------------------------------------------------------- 榜单玩家详情 */
#panel-player { min-height: 70vh; }
.player-back { display: inline-flex; align-items: center; min-height: 34px; margin-bottom: 8px; color: #d9c79f; }
.player-state {
  margin: 18vh auto 0;
  color: #a99a7e;
  font-size: 13px;
  text-align: center;
}
.player-state-error { color: var(--danger); }
.pp {
  --pp-gold: #e8c477;
  --pp-gold-bright: #ffe9b3;
  --pp-muted: #9f907a;
  padding-bottom: 10px;
}
.pp-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 18px 20px;
  border: 1px solid rgba(232, 196, 119, .28);
  border-radius: 22px;
  background:
    radial-gradient(100% 72% at 50% 0%, rgba(116, 71, 148, .48), transparent 68%),
    radial-gradient(80% 58% at 0% 100%, rgba(232, 196, 119, .12), transparent 68%),
    linear-gradient(160deg, #241b31 0%, #17121f 55%, #100d15 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 22px 42px -32px #000;
  text-align: center;
}
.pp-hero::before {
  content: "";
  position: absolute;
  inset: 0 12% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 231, 178, .78), transparent);
}
.pp-avatar-ring {
  width: 94px;
  height: 94px;
  margin: 0 auto 12px;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff0bd 0%, #e2ba6a 34%, #9d6e2d 70%, #604017 100%);
  box-shadow: 0 0 0 5px rgba(232, 196, 119, .07), 0 14px 28px -18px #000, 0 0 22px rgba(232, 196, 119, .16);
}
.pp-avatar {
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid #17121f;
  border-radius: 50%;
  object-fit: cover;
  background: #08060b;
}
.pp-avatar.is-default { opacity: .92; }
.pp-name {
  margin: 0;
  overflow: hidden;
  color: #fff8ea;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .01em;
  text-overflow: ellipsis;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
  white-space: nowrap;
}
.pp-id {
  margin: 5px 0 0;
  color: var(--pp-muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.pp-id b { color: #c6b594; font-weight: 700; }
.pp-period { margin: 17px 0 0; color: #b9a98d; font-size: 12.5px; }
.pp-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 3px;
  color: var(--pp-gold-bright);
  line-height: 1;
  text-shadow: 0 2px 14px rgba(232, 196, 119, .30);
}
.pp-score span { font-size: 24px; line-height: 1; }
.pp-score b {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 38px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
.pp-meta { margin: 10px 0 0; color: #887b68; font-size: 11.5px; }
.pp-section-title {
  margin: 20px 2px 9px;
  color: #cfc2ab;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.pp-medal-total {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 15px 8px 13px;
  border: 1px solid rgba(232, 196, 119, .16);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(73, 52, 92, .52), rgba(28, 22, 37, .84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.pp-medal-total-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}
.pp-medal-total-item + .pp-medal-total-item { border-left: 1px solid rgba(255, 255, 255, .07); }
.pp-medal-total-item b {
  color: #fff7e7;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.pp-medal-total-item small { color: #8f816e; font-size: 10.5px; }
.pp-medal {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 2px solid rgba(255, 255, 255, .58);
  border-radius: 50%;
  color: #342208;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, .58), inset 0 -3px 4px rgba(86, 50, 0, .34), 0 4px 9px rgba(0, 0, 0, .32);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .44);
}
.pp-medal::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 11px;
  height: 9px;
  border: 2px solid rgba(255, 255, 255, .38);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  transform: translateX(-50%);
}
.pp-medal-1 { background: radial-gradient(circle at 35% 27%, #fff1a8, #e7b73b 48%, #9c6810 100%); }
.pp-medal-2 { background: radial-gradient(circle at 35% 27%, #f5f7fa, #b8c0c9 48%, #6f7781 100%); }
.pp-medal-3 { background: radial-gradient(circle at 35% 27%, #ffd0a7, #c7814d 48%, #7b4220 100%); }
.pp-categories { display: flex; flex-direction: column; gap: 10px; }
.pp-category {
  padding: 14px 15px 13px;
  border: 1px solid rgba(232, 196, 119, .13);
  border-radius: 14px;
  background:
    radial-gradient(100% 120% at 0% 0%, rgba(255, 255, 255, .035), transparent 48%),
    linear-gradient(145deg, #241c30 0%, #18131f 66%, #120e18 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.pp-category-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pp-category-head b { min-width: 0; overflow: hidden; color: #f5ead6; font-size: 15px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.pp-category-head span { flex: 0 0 auto; color: #8f816e; font-size: 11px; font-variant-numeric: tabular-nums; }
.pp-category-medals { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.pp-medal-line { display: inline-flex; align-items: center; gap: 6px; color: #f3eadb; font-size: 14px; font-variant-numeric: tabular-nums; }
.pp-medal-line .pp-medal { width: 24px; height: 24px; flex-basis: 24px; border-width: 1.5px; font-size: 10px; }
.pp-medal-line .pp-medal::before { top: -5px; width: 8px; height: 6px; border-width: 1px; }
.pp-medal-line b { min-width: 11px; font-weight: 800; }
.pp-empty { margin: 20px 0; color: #8f816e; font-size: 12.5px; text-align: center; }
.rb-empty {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 60%;
  z-index: 6;
  margin: 0;
  color: #9d8d74;
  font-size: calc(var(--u) * 2.9);
  line-height: 1.7;
  text-align: center;
}
.rb-hall { margin: 18px 0 0; }
.rb-hall .board-hall-title { color: #b9a27a; }
.rb-hall .list {
  border-color: rgba(216, 185, 120, .14);
  background: linear-gradient(180deg, #14111a, #0e0c13);
}.rb-row-empty {
  background: transparent;
  box-shadow: none;
}
.rb-row-empty .rb-avatar { box-shadow: none; }
.rb-row-empty .rb-avatar-img { opacity: 1; }
.rb-person-empty { color: #6f6252; font-weight: 600; text-shadow: none; }
.rb-value-empty { color: #6f6252; font-family: inherit; font-weight: 600; text-shadow: none; }.rb-list-fade {
  display: none;
}
/* ---------------------------------------------------------------- 我的 v2：黑金会员档案 */
#panel-mine {
  --mine-gold: #e8c477;
  --mine-gold-soft: #dcbd80;
  --mine-line: rgba(232, 196, 119, 0.20);
}
#panel-mine .mine-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  padding: 18px 18px 0;
  border: 1px solid rgba(232, 196, 119, 0.36);
  border-radius: 20px;
  background:
    radial-gradient(120% 92% at 90% -10%, rgba(232, 196, 119, 0.22), transparent 54%),
    radial-gradient(90% 84% at 0% 100%, rgba(122, 79, 33, 0.26), transparent 62%),
    linear-gradient(155deg, #221c14 0%, #151318 48%, #0b0b0e 100%);
  box-shadow: 0 26px 48px -34px #000, inset 0 1px 0 rgba(255, 238, 194, 0.10);
}
#panel-mine .mine-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 229, 164, 0.82), transparent);
  pointer-events: none;
}
#panel-mine .mine-hero::after {
  content: "♠";
  position: absolute;
  right: 12px;
  top: 2px;
  color: rgba(232, 196, 119, 0.06);
  font: 96px/1 Georgia, 'Times New Roman', serif;
  pointer-events: none;
}
#panel-mine .mine-kicker {
  position: relative;
  z-index: 1;
  display: block;
  color: rgba(232, 196, 119, 0.60);
  font: 9px/1 Consolas, 'Courier New', monospace;
  letter-spacing: 0.28em;
}
#panel-mine .mine-hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 13px;
}
#panel-mine .mine-avatar-ring {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f9e8b8 0%, #dfb768 36%, #9b6d2d 68%, #503716 100%);
  box-shadow: 0 0 0 4px rgba(232, 196, 119, 0.07), 0 14px 26px -18px #000;
}
#panel-mine .mc-avatar {
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid #100f0d;
  border-radius: 50%;
  object-fit: cover;
  background: radial-gradient(circle at 34% 24%, #3a3226, #17151a 72%);
}
#panel-mine .mc-avatar-fallback {
  display: grid;
  place-items: center;
  color: #e9c986;
  font: 700 27px/1 'Songti SC', 'Noto Serif SC', STSong, SimSun, serif;
  text-shadow: 0 1px 10px rgba(232, 196, 119, 0.28);
}
#panel-mine .mine-who { min-width: 0; flex: 1 1 auto; }
#panel-mine .mine-name-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
#panel-mine .mine-name {
  overflow: hidden;
  color: #fbf2df;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}
#panel-mine .mine-vip {
  flex: 0 0 auto;
  padding: 2px 6px;
  border-radius: 4px;
  background: linear-gradient(150deg, #f6e2ae, #d3a75b 58%, #a47535);
  color: #1d1306;
  font: 800 8px/1.45 Consolas, 'Courier New', monospace;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
#panel-mine .mine-store {
  margin-top: 7px;
  overflow: hidden;
  color: #a99a80;
  font-size: 11px;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#panel-mine .mine-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 17px -18px 0;
  border-top: 1px solid rgba(232, 196, 119, 0.18);
  background: linear-gradient(180deg, rgba(232, 196, 119, 0.055), rgba(232, 196, 119, 0.01));
}
#panel-mine .mine-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 66px;
  padding: 11px 4px 13px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}
#panel-mine .mine-stat + .mine-stat { border-left: 1px solid rgba(232, 196, 119, 0.14); }
#panel-mine .mine-stat:active { background: rgba(232, 196, 119, 0.08); }
#panel-mine .mine-stat b {
  color: #eecb86;
  font: 800 19px/1.1 'Songti SC', 'Noto Serif SC', STSong, SimSun, serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#panel-mine .mine-stat span { color: #978a74; font-size: 10px; letter-spacing: 0.08em; }
#panel-mine .mine-group { margin-top: 18px; }
#panel-mine .mine-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px 2px;
  color: #dcc089;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
#panel-mine .mine-group-title::before {
  content: "";
  flex: 0 0 3px;
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: linear-gradient(180deg, #f5dfa6, rgba(232, 196, 119, 0.22));
  box-shadow: 0 0 8px rgba(232, 196, 119, 0.30);
}
#panel-mine .mine-group-title i {
  margin-left: auto;
  color: rgba(232, 196, 119, 0.34);
  font: 500 8.5px/1 Consolas, 'Courier New', monospace;
  font-style: normal;
  letter-spacing: 0.24em;
}
#panel-mine .mine-list {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(232, 196, 119, 0.19);
  border-radius: 16px;
  background:
    radial-gradient(100% 60% at 100% 0%, rgba(232, 196, 119, 0.055), transparent 58%),
    linear-gradient(165deg, #17161a, #101013 72%);
  box-shadow: 0 18px 34px -30px #000, inset 0 1px 0 rgba(255, 255, 255, 0.035);
}
#panel-mine .mine-row {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 58px;
  padding: 10px 14px;
  border: 0;
  border-top: 1px solid rgba(232, 196, 119, 0.10);
  border-radius: 0;
  background: transparent;
  color: #e9e2d4;
  font: inherit;
  text-align: left;
}
#panel-mine .mine-row:first-child { border-top: 0; }
#panel-mine .mine-row:active { background: linear-gradient(90deg, rgba(232, 196, 119, 0.11), rgba(232, 196, 119, 0.025)); }
#panel-mine .mine-ico {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(232, 196, 119, 0.21);
  border-radius: 10px;
  background: radial-gradient(circle at 30% 20%, rgba(232, 196, 119, 0.16), rgba(232, 196, 119, 0.035));
  color: #dfbd7d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
#panel-mine .mine-ico svg { width: 17px; height: 17px; }
#panel-mine .mine-row-main {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
#panel-mine .mine-row-main b {
  overflow: hidden;
  color: #efe7d7;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#panel-mine .mine-row-main em {
  flex: 0 0 auto;
  overflow: hidden;
  color: #8f8677;
  font-size: 10.5px;
  font-style: normal;
  line-height: 1.4;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#panel-mine .mine-chev {
  flex: 0 0 auto;
  color: rgba(232, 196, 119, 0.50);
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 1;
}
#panel-mine .mine-row.danger .mine-row-main b { color: #e5a49b; }
#panel-mine .mine-row.danger .mine-ico {
  border-color: rgba(229, 164, 155, 0.22);
  background: rgba(229, 164, 155, 0.06);
  color: #d9958c;
}

@media (max-width: 360px) {
  #panel-mine .mine-hero { padding: 16px 15px 0; }
  #panel-mine .mine-hero-main { gap: 11px; }
  #panel-mine .mine-avatar-ring { flex-basis: 68px; width: 68px; height: 68px; }
  #panel-mine .mine-name { font-size: 18px; }
  #panel-mine .mine-stats { margin-left: -15px; margin-right: -15px; }
  #panel-mine .mine-stat b { font-size: 17px; }
  #panel-mine .mine-row { padding: 9px 12px; }
}
/* ---------------------------------------------------------------- 员工入口（荷官 / 店长 / 老板） */
#tab-work {
  color: #d8b978;
}
#tab-work svg {
  filter: drop-shadow(0 0 5px rgba(216, 185, 120, 0.22));
}
#tab-work:active { filter: brightness(1.18); }

/* ---------------------------------------------------------------- 今日赛况 */
#panel-today, #panel-follows { padding-bottom: 12px; }
.today-head, .follows-head {
  position: relative;
  margin: 2px 2px 14px;
}
.today-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.today-kicker {
  margin: 0 0 4px;
  color: rgba(216, 185, 120, .76);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}
.today-title {
  margin: 0;
  color: #fff8ea;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}
.today-refresh {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 14px;
  border-color: rgba(216, 185, 120, .34);
  border-radius: 999px;
  color: #e7cf9f;
  background: rgba(216, 185, 120, .08);
  font-size: 12.5px;
  font-weight: 700;
}
.today-follow-banner {
  margin-bottom: 13px;
  padding: 12px 13px;
  overflow: hidden;
  border: 1px solid rgba(216, 185, 120, .25);
  border-radius: 16px;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(216, 185, 120, .15), transparent 46%),
    linear-gradient(145deg, #211b18 0%, #151217 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.today-follow-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
}
.today-follow-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #77d6a7;
  box-shadow: 0 0 0 3px rgba(119, 214, 167, .12), 0 0 11px rgba(119, 214, 167, .5);
}
.today-follow-head b { color: #f2e5ca; font-size: 13px; font-weight: 700; }
.today-follow-head em { margin-left: auto; color: #9c8f7c; font-size: 11px; font-style: normal; }
.today-follow-list { display: flex; flex-direction: column; gap: 7px; }
.today-follow-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 50px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
  text-align: left;
}
.today-follow-item.is-playing { border-color: rgba(216, 185, 120, .24); background: rgba(216, 185, 120, .075); }
.today-follow-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(216, 185, 120, .5);
  border-radius: 50%;
  object-fit: cover;
  background: #0b0b0e;
}
.today-follow-copy { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.today-follow-copy b {
  overflow: hidden;
  color: #fff5e4;
  font-size: 13.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.today-follow-copy em { color: #c5b18d; font-size: 11.5px; font-style: normal; }
.today-follow-arrow { margin-left: auto; color: rgba(232, 196, 119, .55); font-size: 20px; line-height: 1; }

.today-loading, .today-empty {
  margin: 11vh 12px 0;
  color: #9b8f7c;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}
.today-body { animation: today-fade .22s ease both; }
@keyframes today-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.today-table-chips {
  display: flex;
  gap: 8px;
  margin: 0 -14px 13px;
  padding: 1px 14px 3px;
  overflow-x: auto;
  scrollbar-width: none;
}
.today-table-chips::-webkit-scrollbar { display: none; }
.today-table-chip {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 104px;
  min-height: 55px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 13px;
  background: linear-gradient(150deg, #181b21, #101216);
  text-align: left;
}
.today-table-chip b { color: #d9d2c4; font-size: 14px; font-weight: 800; white-space: nowrap; }
.today-table-chip em { color: #7e8590; font-size: 10.5px; font-style: normal; white-space: nowrap; }
.today-table-chip.is-live em { color: #a9c9b6; }
.today-table-chip.is-active {
  border-color: rgba(240, 204, 130, .75);
  background: linear-gradient(155deg, #f1d79b 0%, #d8b978 44%, #a77d3c 100%);
  box-shadow: 0 8px 20px -14px rgba(232, 196, 119, .82), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.today-table-chip.is-active b { color: #21180b; }
.today-table-chip.is-active em { color: rgba(44, 31, 13, .72); font-weight: 600; }

.today-battle-card {
  margin-bottom: 12px;
  padding: 15px 15px 13px;
  overflow: hidden;
  border: 1px solid rgba(216, 185, 120, .20);
  border-radius: 18px;
  background:
    radial-gradient(110% 120% at 100% 0%, rgba(115, 76, 144, .25), transparent 50%),
    linear-gradient(150deg, #1d1a24 0%, #121116 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.today-battle-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.today-battle-title { min-width: 0; }
.today-battle-tag {
  display: inline-block;
  margin-bottom: 4px;
  color: #b79c6b;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
}
.today-battle-title h2 {
  margin: 0;
  overflow: hidden;
  color: #fff7e8;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.today-status {
  flex: 0 0 auto;
  padding: 4px 9px;
  border: 1px solid rgba(216, 185, 120, .28);
  border-radius: 999px;
  color: #e5cf9f;
  background: rgba(216, 185, 120, .08);
  font-size: 10.5px;
  font-weight: 700;
}
.today-status.s4 { border-color: rgba(110, 231, 183, .28); color: #79d8ac; background: rgba(110, 231, 183, .07); }
.today-battle-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 12px;
  background: rgba(255, 255, 255, .055);
}
.today-meta-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 9px 10px;
  background: rgba(12, 12, 16, .78);
}
.today-meta-item span { flex: 0 0 auto; color: #7f776d; font-size: 10.5px; }
.today-meta-item b {
  overflow: hidden;
  color: #ead9b7;
  font-size: 11.5px;
  font-weight: 700;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.today-seat-card {
  padding: 14px 13px 13px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 19px;
  background:
    radial-gradient(100% 55% at 50% 0%, rgba(216, 185, 120, .06), transparent 55%),
    linear-gradient(160deg, #17191f 0%, #0f1014 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}
.today-seat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.today-seat-head h2 { margin: 0; color: #f4ead7; font-size: 16px; font-weight: 800; }
.today-seat-head p { margin: 3px 0 0; color: #867e73; font-size: 11px; }
.today-seat-count {
  flex: 0 0 auto;
  padding: 4px 9px;
  border: 1px solid rgba(216, 185, 120, .22);
  border-radius: 999px;
  color: #dcc694;
  background: rgba(216, 185, 120, .07);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.today-seat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.today-seat {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 108px;
  padding: 9px 5px 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 14px;
  background: rgba(255, 255, 255, .028);
  text-align: center;
}
.today-seat-no {
  position: absolute;
  top: 5px;
  left: 7px;
  color: #696d75;
  font-size: 9px;
  font-weight: 600;
}
.today-seat-avatar { position: relative; width: 50px; height: 50px; margin-top: 4px; }
.today-seat-img {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(216, 185, 120, .56);
  border-radius: 50%;
  object-fit: cover;
  background: #09090c;
  box-shadow: 0 0 0 3px rgba(216, 185, 120, .07);
}
.today-seat-me {
  position: absolute;
  right: -7px;
  bottom: -2px;
  padding: 1px 5px;
  border: 1px solid rgba(255, 244, 218, .55);
  border-radius: 999px;
  color: #21180b;
  background: #e6c986;
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1.45;
}
.today-seat-name {
  display: block;
  width: 100%;
  overflow: hidden;
  color: #dcd4c6;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.today-seat.is-player { border-color: rgba(216, 185, 120, .16); background: linear-gradient(160deg, rgba(216, 185, 120, .07), rgba(255, 255, 255, .025)); }
.today-seat.is-me { border-color: rgba(240, 204, 130, .65); box-shadow: inset 0 0 18px rgba(216, 185, 120, .09); }
.today-seat.is-empty { border-style: dashed; border-color: rgba(255, 255, 255, .09); }
.today-seat-empty-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: 2px;
  border: 1px dashed rgba(216, 185, 120, .25);
  border-radius: 50%;
  color: rgba(216, 185, 120, .42);
  font-size: 19px;
  font-weight: 300;
}
.today-seat.is-empty .today-seat-name { color: #6f737b; font-weight: 500; }
.today-seat-empty { margin: 11px 0 0; color: #7d7468; font-size: 11.5px; text-align: center; }

/* 落座后的本桌详情：复用今日赛况的座位卡片，多一个关注按钮 */
#table-view-dlg .dlg-box { position: relative; max-width: 380px; max-height: 88vh; overflow-y: auto; text-align: left; }
#table-view-dlg .dlg-title { text-align: center; }
#table-view-dlg .legal-close-x { position: absolute; top: 12px; right: 12px; }
.table-view-seats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 13px; }
.table-view-seats .today-seat { min-height: 132px; }
.tv-follow {
  width: auto; height: auto; min-height: 0;
  margin-top: 2px; padding: 4px 11px;
  border: 1px solid rgba(216, 185, 120, .4); border-radius: 999px;
  background: rgba(216, 185, 120, .1); color: #e8cd9a;
  font-size: 10.5px; font-weight: 700; line-height: 1.4;
}
.tv-follow.is-on { border-color: rgba(255, 255, 255, .14); background: transparent; color: #8f8779; }
.tv-follow:disabled { opacity: .6; }

.today-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 13px; }
.today-action-btn {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
}
.today-action-btn.primary {
  border-color: rgba(255, 240, 200, .56);
  color: #21180b;
  background: linear-gradient(180deg, #f2dca9 0%, #d6b674 48%, #b68a46 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), 0 14px 28px -22px rgba(232, 196, 119, .8);
}
.today-action-btn.is-disabled { color: #77736b; background: rgba(255, 255, 255, .035); }
.today-action-hint { margin: -1px 2px 0; color: #7d7468; font-size: 10.5px; text-align: center; }

/* ---------------------------------------------------------------- 我的关注 */
.follows-sub { margin: 6px 0 0; color: #8b8275; font-size: 12px; line-height: 1.65; }
.follows-live {
  margin: 0 0 13px;
  padding: 12px 11px 8px;
  border: 1px solid rgba(216, 185, 120, .34);
  border-radius: 17px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(216, 185, 120, .13), transparent 55%),
    linear-gradient(150deg, #211d26, #121116);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.follows-live-head { display: flex; align-items: center; gap: 7px; padding: 0 2px 8px; }
.follows-live-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #73d2a2;
  box-shadow: 0 0 8px rgba(115, 210, 162, .8);
  animation: follows-live-pulse 1.8s ease-in-out infinite;
}
.follows-live-head b { color: #f0d9a7; font-size: 13px; letter-spacing: .04em; }
.follows-live-head em { margin-left: auto; color: #b79f73; font-size: 10.5px; font-style: normal; }
.follows-live-list { display: flex; flex-direction: column; gap: 6px; }
.follows-live-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 8px;
  border: 1px solid rgba(255, 255, 255, .055);
  border-radius: 13px;
  background: rgba(255, 255, 255, .035);
  text-align: left;
}
.follows-live-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(216, 185, 120, .45);
  border-radius: 50%;
  object-fit: cover;
  background: #09090c;
}
.follows-live-copy { display: flex; flex: 1 1 auto; flex-direction: column; gap: 2px; min-width: 0; }
.follows-live-copy b { overflow: hidden; color: #fff3dd; font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.follows-live-copy em { color: #e0c48d; font-size: 11px; font-style: normal; }
.follows-live-battle { overflow: hidden; color: #8d8576; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.follows-live-go {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(216, 185, 120, .38);
  border-radius: 999px;
  color: #e4c98f;
  font-size: 10.5px;
  white-space: nowrap;
}
@keyframes follows-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.8); }
}
@media (prefers-reduced-motion: reduce) {
  .follows-live-dot { animation: none; }
}
.follow-search-card {
  margin-bottom: 13px;
  padding: 14px;
  border: 1px solid rgba(216, 185, 120, .20);
  border-radius: 17px;
  background:
    radial-gradient(110% 120% at 0% 0%, rgba(216, 185, 120, .10), transparent 48%),
    linear-gradient(150deg, #1b1920, #111116);
}
.follow-search-card h2, .follows-list-head h2 {
  margin: 0 0 9px;
  color: #ead9b7;
  font-size: 14px;
  font-weight: 800;
}
.follow-search-card .row { gap: 8px; }
.follow-search-card input { flex: 1 1 auto; min-width: 0; }
.follow-search-card .row button { flex: 0 0 74px; min-height: 44px; padding: 8px 10px; }
.follows-scan { margin-top: 9px; min-height: 43px; font-size: 13.5px; }
.follow-search-hint { margin: 8px 2px 0; color: #776f64; font-size: 10.5px; line-height: 1.55; }
.follow-search-result { margin-bottom: 13px; }
.follow-search-result-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  border: 1px solid rgba(216, 185, 120, .34);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(216, 185, 120, .10), rgba(255, 255, 255, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.follow-search-avatar {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid rgba(216, 185, 120, .55);
  border-radius: 50%;
  object-fit: cover;
  background: #09090c;
}
.follow-search-copy { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; gap: 2px; }
.follow-search-copy b { overflow: hidden; color: #fff6e5; font-size: 15px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.follow-search-copy em { color: #968873; font-size: 11px; font-style: normal; }
.follow-search-actions { display: flex; flex: 0 0 auto; flex-direction: column; gap: 5px; }
.follows-list-head { display: flex; align-items: center; justify-content: space-between; margin: 2px 2px 9px; }
.follows-list-head h2 { margin: 0; }
.follows-list-head span { margin-left: 4px; color: #d9bc7e; font-family: Arial, "Microsoft YaHei", sans-serif; font-variant-numeric: tabular-nums; }
.follows-list { display: flex; flex-direction: column; gap: 9px; }
.follow-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: linear-gradient(150deg, #191b21 0%, #101116 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}
.follow-card-main {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 68px;
  padding: 11px 13px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}
.follow-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid rgba(216, 185, 120, .42);
  border-radius: 50%;
  object-fit: cover;
  background: #09090c;
}
.follow-copy { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; gap: 2px; }
.follow-copy b { overflow: hidden; color: #f3ead9; font-size: 14.5px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.follow-copy em { color: #7d776e; font-size: 10.5px; font-style: normal; }
.follow-status { display: inline-flex; align-items: center; gap: 5px; color: #8d8478; font-size: 11px; }
.follow-status.is-playing { color: #d8bd87; }
.follow-status.is-playing::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #73d2a2; box-shadow: 0 0 7px rgba(115, 210, 162, .7); }
.follow-card-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-top: 1px solid rgba(255, 255, 255, .065); background: rgba(255, 255, 255, .04); }
.follow-btn {
  min-height: 39px;
  padding: 6px 5px;
  border: 0;
  border-radius: 0;
  background: #121318;
  color: #a79b87;
  font-size: 11.5px;
  font-weight: 600;
}
.follow-btn.go { color: #dbc188; }
.follow-btn.danger { color: #bd8f88; }
.follow-btn.primary, .follow-btn.is-on {
  border: 1px solid rgba(216, 185, 120, .38);
  border-radius: 10px;
  color: #21180b;
  background: linear-gradient(180deg, #ead29b, #c69d5a);
  font-weight: 800;
}
.follow-btn.is-on { color: #d9c79f; background: rgba(216, 185, 120, .08); }

.pp-follow-btn {
  min-width: 122px;
  min-height: 39px;
  margin-top: 13px;
  padding: 7px 18px;
  border-color: rgba(232, 196, 119, .46);
  border-radius: 999px;
  color: #21180b;
  background: linear-gradient(180deg, #f2dca9, #cba767);
  font-size: 13px;
  font-weight: 800;
}
.pp-follow-btn.is-on {
  color: #dcc79d;
  background: rgba(232, 196, 119, .08);
}
.pp-follow-hint { margin: 7px 0 0; color: #796f60; font-size: 10px; line-height: 1.5; }
#follow-remark-input { margin-top: 12px; }

@media (max-width: 360px) {
  .today-title { font-size: 24px; }
  .today-seat-grid { gap: 7px; }
  .today-seat { min-height: 101px; }
  .today-seat-avatar, .today-seat-img { width: 45px; height: 45px; }
  .today-seat-name { font-size: 10.5px; }
  .follow-card-actions { grid-template-columns: 1fr 1fr; }
  .follow-card-actions .follow-btn:first-child { grid-column: span 2; }
}

/* 荷官邀请申请 */
#staff-apply-dlg .dlg-box { text-align: left; }
#staff-apply-dlg .dlg-title { margin-bottom: 4px; }
#staff-apply-result .apply-ok { font-size: 15px; font-weight: 700; color: var(--ink); margin: 8px 0 4px; }
#staff-apply-result .apply-note { font-size: 13px; color: var(--muted); line-height: 1.7; }


/* 首页主动提醒：被淘汰可复活 / 即将进入 ANTE 需补码 */
.guest-alert { margin: 12px 0 4px; padding: 14px 16px; border-radius: 14px; display: flex;
  flex-direction: column; gap: 7px; border: 1px solid rgba(212,175,55,.42);
  background: linear-gradient(160deg, rgba(54,42,20,.92), rgba(22,18,12,.96));
  box-shadow: 0 10px 26px rgba(0,0,0,.32); }
.guest-alert.rebuy { border-color: rgba(226,146,102,.52);
  background: linear-gradient(160deg, rgba(72,36,22,.94), rgba(26,16,11,.96)); }
.guest-alert.ante { border-color: rgba(124,176,224,.52);
  background: linear-gradient(160deg, rgba(24,44,64,.94), rgba(12,19,27,.96)); }
.guest-alert b { font-size: 15px; color: #f4dfae; line-height: 1.45; }
.guest-alert.rebuy b { color: #ffd4b8; }
.guest-alert.ante b { color: #cfe6ff; }
.guest-alert span { font-size: 12px; color: rgba(244,239,226,.68); }
.guest-alert .primary { align-self: flex-start; margin-top: 3px; padding: 8px 18px; font-size: 13px; }
.guest-alert.hidden { display: none; }

/* 会员充值档位：只给三个固定按钮，避免客人手输金额 */
.recharge-tiers { margin: 0 0 6px; }
/* 充值先选支付方式：两张卡片，选中金边高亮 */
.recharge-label { margin: 15px 0 7px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.recharge-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.recharge-method {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  padding: 12px 12px 11px; border: 1px solid var(--line-2); border-radius: 12px;
  background: rgba(255,255,255,.03); color: var(--ink-2); text-align: left; cursor: pointer;
}
.recharge-method b { font-size: 13.5px; font-weight: 700; }
.recharge-method span { color: var(--muted); font-size: 10.5px; line-height: 1.45; }
.recharge-method.active {
  border-color: rgba(216,185,120,.72);
  background: linear-gradient(150deg, rgba(216,185,120,.17), rgba(216,185,120,.05));
  box-shadow: inset 0 0 0 1px rgba(216,185,120,.14);
}
.recharge-method.active b { color: var(--gold); }
.recharge-method:active { transform: scale(.985); }
.recharge-method.is-disabled { opacity: .45; cursor: default; }
.recharge-tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.recharge-tier {
  min-width: 0;
  padding: 15px 2px;
  border: 1px solid #e0d6b8;
  border-radius: 12px;
  background: #fffdf7;
  color: #8a6a1f;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
  white-space: nowrap;
  cursor: pointer;
}
.recharge-tier:active { transform: scale(.98); }
.recharge-tier[disabled] { opacity: .55; cursor: default; }

/* 关注公众号提醒：只弹一次；二维码做成独立金边卡片，长按识别更清楚 */
.follow-prompt { padding: 2px 2px 0; text-align: center; }
.follow-eyebrow {
  display: inline-block; padding: 4px 10px; border: 1px solid rgba(216,185,120,.28);
  border-radius: 999px; background: rgba(216,185,120,.08); color: #d8b978;
  font-size: 9.5px; font-weight: 700; letter-spacing: .13em;
}
.follow-qr-frame {
  position: relative; width: min(232px, 68vw); margin: 14px auto 13px; padding: 10px;
  border: 1px solid rgba(216,185,120,.72); border-radius: 20px;
  background: linear-gradient(145deg, #fffdf8 0%, #f4ead7 55%, #e8d8b9 100%);
  box-shadow: 0 18px 38px -18px rgba(0,0,0,.72), 0 0 0 5px rgba(216,185,120,.07),
    inset 0 1px 0 rgba(255,255,255,.95);
}
.follow-qr-frame::before {
  content: ""; position: absolute; inset: 5px; border: 1px solid rgba(154,115,56,.18);
  border-radius: 15px; pointer-events: none;
}
.follow-qr { position: relative; display: block; width: 100%; height: auto; border-radius: 11px; }
.follow-pointer {
  position: absolute; right: -13px; bottom: -13px; z-index: 4;
  width: 66px; height: 66px; overflow: hidden; border-radius: 50%;
  border: 1px solid rgba(154,115,56,.35); background: #fffdf8;
  box-shadow: 0 10px 22px -10px rgba(0,0,0,.6);
  pointer-events: none;
  transform-origin: 55% 62%; animation: followTap 1.7s ease-in-out infinite;
}
.follow-pointer img {
  position: absolute; left: 50%; top: 50%;
  width: 92px; height: 92px; transform: translate(-50%,-50%);
}
@keyframes followTap {
  0%, 100% { transform: translateY(0) scale(1); }
  42% { transform: translateY(3px) scale(.95); }
  62% { transform: translateY(1px) scale(.98); }
}
.follow-hold-tip {
  margin: 3px 0 12px; color: #e8cf9d; font-size: 11.5px;
  font-weight: 700; letter-spacing: .1em;
}
@media (max-width: 360px) {
  .follow-pointer { right: -9px; bottom: -9px; width: 58px; height: 58px; }
  .follow-pointer img { width: 82px; height: 82px; }
}
.follow-title { display: block; color: #f3dfb0; font-size: 17px; font-weight: 800; letter-spacing: .02em; }
.follow-desc { margin: 7px 0 11px; color: rgba(244,239,226,.66); font-size: 12.5px; line-height: 1.6; }
.follow-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.follow-tag {
  padding: 4px 9px; border: 1px solid rgba(216,185,120,.22); border-radius: 999px;
  background: rgba(216,185,120,.06); color: rgba(240,220,174,.9); font-size: 10.5px;
}
.follow-note { margin: 13px 0 0; color: rgba(244,239,226,.4); font-size: 10.5px; }

.pkg-buy { margin-top: 8px; width: 100%; min-height: 34px; padding: 6px 10px; border-radius: 10px;
  border: 1px solid var(--gold); background: rgba(212,175,55,.14); color: var(--gold);
  font: inherit; font-size: 12px; font-weight: 700; }
.pkg-buy:disabled { opacity: .5; }
.asset-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.asset-main { flex: 1 1 auto; min-width: 0; }
.asset-main b { display: block; color: var(--ink-2); font-size: 12.5px; }
.asset-main span { display: block; margin-top: 3px; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.asset-take { flex: 0 0 auto; min-height: 30px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.05); color: var(--ink-2);
  font: inherit; font-size: 11.5px; font-weight: 600; }

/* 未登录首页：登录取（参照 LION BAR），登录后整块隐藏 */
.guest-login { margin: 0; }
.guest-login .home-sec { margin-top: 16px; }
.guest-login-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 214px;
  padding: 24px 20px;
  overflow: hidden;
  border: 1px solid rgba(216, 185, 120, 0.34);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 120% at 100% 100%, rgba(216, 185, 120, 0.16), transparent 58%),
    linear-gradient(150deg, #1e2129 0%, #101218 70%);
  margin-bottom: var(--gap);
}
.guest-login-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 74%);
  pointer-events: none;
}
.gl-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 64%;
}
.gl-welcome { color: #e8c477; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; }
.gl-copy h3 { margin: 8px 0 0; color: #fff; font-size: 30px; line-height: 1.15; letter-spacing: 0.01em; }
.gl-copy p { margin: 8px 0 18px; color: rgba(243, 230, 200, 0.66); font-size: 12.5px; line-height: 1.5; }
.gl-wx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 190px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffe27a, #f6c62c);
  color: #17120a;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(246, 198, 44, 0.22);
  cursor: pointer;
}
.gl-wx-btn svg { width: 24px; height: 24px; flex: 0 0 auto; }
.gl-wx-btn:active { transform: scale(0.985); }
.gl-crown {
  position: absolute;
  right: -10px;
  bottom: 4px;
  width: 150px;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
  pointer-events: none;
  filter: drop-shadow(0 6px 18px rgba(216, 185, 120, 0.3));
}
@media (max-width: 380px) {
  .guest-login-card { min-height: 192px; padding: 20px 16px; }
  .gl-copy { max-width: 66%; }
  .gl-copy h3 { font-size: 26px; }
  .gl-wx-btn { min-width: 0; width: 100%; padding: 0 18px; font-size: 16.5px; }
  .gl-crown { width: 126px; right: -14px; bottom: 2px; }
}

/* 缺票时的套餐推荐：放在「只买门票」之前，但不抢主按钮 */
.seat-pkg-head { margin: 14px 0 8px; font-size: 12px; font-weight: 700; color: var(--ink-2); letter-spacing: .02em; }
.seat-pkg-card { width: 100%; margin-bottom: 8px; padding: 12px 14px;
  border: 1px solid rgba(214,178,106,.3); border-radius: 14px;
  background: rgba(214,178,106,.07); color: inherit; text-align: left; }
.seat-pkg-top { display: flex; align-items: center; gap: 12px; }
.seat-pkg-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.seat-pkg-main b { font-size: 14px; color: var(--ink); }
.seat-pkg-main em { font-style: normal; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.seat-pkg-main i { font-style: normal; font-size: 11px; color: #e0a35a; }
.seat-pkg-price { flex: 0 0 auto; font-size: 15px; font-weight: 800; color: #e8c477; }
.seat-pkg-step { display: flex; align-items: center; gap: 8px; margin-top: 10px; white-space: nowrap; }
.seat-pkg-step-label { flex: 0 0 auto; font-size: 11.5px; color: var(--muted); }
.seat-pkg-counter { display: inline-flex; align-items: center; flex: 0 0 auto;
  border: 1px solid rgba(214, 178, 106, .32); border-radius: 999px; background: rgba(0, 0, 0, .22); }
.seat-pkg-step-btn { width: 30px; height: 28px; min-height: 28px; padding: 0; border: 0; border-radius: 0;
  background: transparent; color: var(--ink-2); font-size: 15px; line-height: 1; box-shadow: none; }
.seat-pkg-step-btn:disabled { opacity: .32; }
.seat-pkg-qty { min-width: 24px; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.seat-pkg-total { margin-left: auto; flex: 0 0 auto; font-size: 11.5px; color: var(--muted); }
.seat-pkg-total b { font-size: 14px; color: #e8c477; }

/* 小程序审核版：会员充值入口收起时，右侧今日赛况铺满；底部合规说明只在小程序显示 */
.service-hub.no-vip .service-side { grid-template-rows: 1fr; }
.mp-compliance { margin: 16px 6px 4px; font-size: 11px; line-height: 1.7; color: rgba(255,255,255,.42); text-align: center; }
.rb-tabs.no-kills { grid-template-columns: 1fr 1fr; }

/* ---------- 审核模式：只保留门店会员服务（body.review-mode） ---------- */
body.review-mode.hide-member .mc-nums,
body.review-mode.hide-member .mc-ticket-block,
body.review-mode #site-signup,
body.review-mode #mine-latest-result,
body.review-mode #mine-notify-btn,
body.review-mode #profile-nudge,
body.review-mode #board-view-switch [data-board-view="kills"],
body.review-mode #board-view-switch [data-board-view="wine"] { display: none !important; }

body.review-mode.hide-announce #home-hero-banner,
body.review-mode.hide-menu #home-service-title,
body.review-mode.hide-menu .service-hub,
body.review-mode.hide-live .home-seat-entry,
body.review-mode.hide-live #today-battle-card,
body.review-mode.hide-live #today-actions,
body.review-mode.hide-live #today-follow-banner,
body.review-mode.hide-honor #mine-honor-btn,
body.review-mode.hide-honor #mine-follows-btn,
body.review-mode.hide-honor #mine-assets-btn,
body.review-mode.hide-honor #mine-services-group { display: none !important; }

body.review-mode #review-store-card { display: block !important; }
.review-store .rs-card { background: #15171c; border: 1px solid rgba(214,178,106,.18); border-radius: 16px; padding: 16px; }
.review-store .rs-name { font-size: 18px; font-weight: 600; color: #f5efe2; margin-bottom: 10px; }
.review-store .rs-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #9aa0ad; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.05); }
.review-store .rs-row b { color: #e9e4d8; font-weight: 500; text-align: right; }
.review-store .rs-actions { display: flex; gap: 10px; margin-top: 14px; }
.review-store .rs-btn { flex: 1; height: 42px; border-radius: 12px; border: 1px solid rgba(214,178,106,.35); background: transparent; color: #e9e4d8; font-size: 14px; }
.review-store .rs-btn.primary { background: #d6b26a; color: #1a1a1a; border-color: #d6b26a; }
.review-store .rs-wide {
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 10px;
  padding: 11px 34px 11px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  background: rgba(214, 178, 106, .08);
  border: 1px solid rgba(214, 178, 106, .35);
  border-radius: 12px;
}
.review-store .rs-wide::after {
  content: '›';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #d6b26a;
  font-size: 18px;
  line-height: 1;
}
.review-store .rs-wide b { display: block; font-size: 14px; font-weight: 600; color: #f0e7d2; }
.review-store .rs-wide em { display: block; margin-top: 3px; font-size: 12px; font-style: normal; color: #8b909c; }
.review-store .rs-note { margin: 14px 0 0; font-size: 12px; color: #7b8190; line-height: 1.6; }

.today-reserve { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.today-reserve-hint { font-size: 12px; color: #8b909c; text-align: center; }

/* 桌台预约列表 */
#today-table-chips { display: none; }
.today-table-list { display: flex; flex-direction: column; gap: 12px; margin: 12px 0 4px; }
.tt-card { border: 1px solid rgba(214,178,106,.22); background: #141416; border-radius: 16px; padding: 14px 16px; }
.tt-card.is-active { border-color: #d6b26a; }
.tt-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tt-name { font-size: 20px; color: #f3ecdd; }
.tt-state { font-size: 12px; padding: 4px 10px; border-radius: 8px; border: 1px solid rgba(214,178,106,.45); color: #d6b26a; }
.tt-state.is-live { color: #9aa0ad; border-color: rgba(255,255,255,.18); }
.tt-free { margin: 10px 0 12px; font-size: 13px; color: #9aa0ad; }
.tt-btn { width: 100%; height: 44px; border-radius: 12px; border: none; background: #d6b26a; color: #1a1a1a; font-size: 15px; font-weight: 600; }

/* 桌台预约只展示列表，不再展开 3x3 座位详情 */
.today-seat-card { display: none !important; }
