/* 黑桃AK娱乐社区 - 网页端全局样式（移动端优先） */

:root {
  /* 黑金主题：近黑底 + 深灰卡 + 香槟金强调 + 红色点缀 */
  --green-deep: #0d0e11;      /* 深色面：顶栏 / 底栏 / 深底卡 */
  --green: #d8b46a;           /* 品牌强调色（数字 / 标题 / 选中态）：香槟金 */
  --green-soft: #1e2024;      /* 深色面渐变亮端 */
  --gold: #c9a45c;
  --gold-light: #e8d5ae;
  --bg: #0b0c0e;              /* 页面底色 */
  --card: #17181b;            /* 卡片 */
  --card-2: #212328;          /* 卡片内嵌次级面（图片占位 / 次级按钮） */
  --line: rgba(255, 255, 255, .09);
  --text: #f2f2f0;
  --muted: #8b8f93;
  --danger: #e05548;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

/* 显示比例锁定：禁止双击 / 双指缩放，禁止横屏字体自动放大 */
html {
  touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: 72px;
}

/* ---------- 顶部栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--green-deep);
  color: #fff;
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 16px;
}
.topbar h1 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
}
.topbar .logo-mini {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  flex: none;
}
/* 显式尺寸：iOS Safari 下 flex 容器内无尺寸的内联 SVG 会坍缩为 0 宽 */
.topbar .logo-mini svg { width: 24px; height: 24px; display: block; }

/* ---------- 俱乐部 LOGO（后台「俱乐部设置」上传；仅登录页大图标与「我的」未登录卡显示，未设置时保持原有图标） ---------- */
[data-site="logo"].site-logo-on { border: none; padding: 0; letter-spacing: 0; background: none; }
.login-head .logo .site-logo { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.me-lg-crown .site-logo { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; display: block; }

/* ---------- 品牌卡 ---------- */
.brand-card {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-soft) 100%);
  color: #fff;
  padding: 22px 20px 20px;
}
.brand-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold-light);
  border: 1px solid rgba(201, 164, 92, 0.6);
  border-radius: 3px;
  padding: 2px 8px;
  margin-bottom: 8px;
}
.brand-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
}
/* 品牌卡：俱乐部名称右侧的 LOGO（后台「俱乐部设置」上传；未设置时整块不占位、不显示） */
.brand-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand-logo { flex: none; width: 36px; height: 36px; }
.brand-logo:empty { display: none; }
.brand-logo .site-logo { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.brand-sub {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 1px;
}
/* 俱乐部地址（后台「俱乐部设置」可填，未设置时整行隐藏） */
.brand-addr {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.brand-addr::before { content: "◈"; font-size: 10px; color: var(--gold-light); }

/* ---------- 我的页 · 黑金会员中心（逐区对齐小程序 pages/me，类名 me-* 为本页专用） ---------- */
.me-wrap { padding: 14px 14px 0; }

/* 未登录卡 */
.me-lg-card {
  background: #17181b; border-radius: 12px;
  text-align: center; padding: 45px 15px 40px;
}
.me-lg-crown { display: inline-flex; width: 66px; height: 66px; }
.me-lg-crown svg { width: 100%; height: 100%; display: block; }
.me-lg-name { font-size: 18px; font-weight: 700; color: #f2f2f0; margin-top: 10px; }
.me-lg-sub { font-size: 12px; color: #8b8f93; margin: 8px 0 17px; line-height: 1.7; }
/* 俱乐部地址（后台「俱乐部设置」可填，未设置时整行隐藏） */
.me-lg-addr { font-size: 12px; color: #8b8f93; margin: -9px 0 17px; letter-spacing: .5px; }
.me-btn-gold {
  display: inline-block; width: 210px; line-height: 2.2;
  background: linear-gradient(135deg, #d8b46a, #b8923f);
  color: #17130a; font-size: 15px; font-weight: 700;
  border-radius: 999px; text-decoration: none;
}

/* 头部（无卡片，直接在黑底上） */
.me-hdr { display: flex; align-items: center; padding: 6px 4px 2px; }
.me-hdr-main { flex: 1; min-width: 0; display: flex; align-items: center; cursor: pointer; }
.me-hdr-avatar {
  width: 54px; height: 54px; border-radius: 50%; flex: none; overflow: hidden;
  background: #232427; border: 1px solid rgba(216, 180, 106, .35);
  display: flex; align-items: center; justify-content: center;
}
.me-hdr-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.me-hdr-avatar svg { width: 28px; height: 28px; display: block; }
.me-hdr-info { flex: 1; min-width: 0; margin-left: 12px; }
.me-hdr-row1 { display: flex; align-items: center; }
.me-hdr-name {
  display: inline-block; font-size: 18px; font-weight: 700; color: #f2f2f0;
  max-width: 140px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
/* 等级小标签（主题色描边胶囊） */
.me-hdr-lvtag {
  margin-left: 7px; flex: none; text-decoration: none;
  border: 1px solid; border-radius: 4px;
  font-size: 10px; font-weight: 700; line-height: 1; padding: 3px 6px; white-space: nowrap;
}
/* 会员码行（金色号码 + 二维码小图标） */
.me-hdr-code { margin-top: 6px; display: flex; align-items: center; text-decoration: none; }
.me-hdr-code-ico svg { width: 14px; height: 14px; display: block; flex: none; }
.me-hdr-code-label { font-size: 12px; color: #8b8f93; }
.me-hdr-code-num { font-size: 13.5px; font-weight: 700; color: #d8b46a; letter-spacing: .5px; }
.me-hdr-code-arr { color: #8b8f93; font-weight: 400; }
/* 右侧大徽章（仅图标，点进等级页） */
.me-hdr-badge { width: 52px; height: 52px; flex: none; margin-left: 10px; text-decoration: none; }
.me-hdr-badge svg { width: 100%; height: 100%; display: block; }

/* 区块金色小标（我的资产 ASSETS） */
.me-sec-label { display: flex; align-items: baseline; margin: 18px 4px 9px; }
.me-sec-cn { font-size: 14px; font-weight: 800; letter-spacing: 1px; color: #d8b46a; }
.me-sec-en { margin-left: 6px; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; color: #6a6e72; }

/* 资产数字卡（三列：金数字上 / 灰标签下） */
.me-asset-card {
  background: linear-gradient(180deg, #1d1e22, #141519);
  border-radius: 12px; padding: 18px 10px 15px;
}
.me-asset-grid { display: flex; }
.me-asset-col {
  flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center;
  border-right: 1px solid rgba(255, 255, 255, .07);
  text-decoration: none; color: inherit;
}
.me-asset-col:last-child { border-right: none; }
.me-asset-num {
  font-size: 22px; font-weight: 800; line-height: 1; color: #d8b46a;
  font-variant-numeric: tabular-nums;
}
.me-asset-lab { font-size: 11.5px; color: #8b8f93; margin-top: 7px; }
/* 资产卡内升级进度条（Levels.progressBar 输出） */
.me-asset-card .lv-bar-wrap { margin: 17px 8px 0; }
.me-asset-card .lv-bar { height: 5px; background: rgba(255, 255, 255, .1); }
.me-asset-card .lv-bar-text { font-size: 10.5px; color: #8b8f93; margin-top: 6px; }
.me-asset-card .lv-bar-text b { color: #d8b46a; }

/* 功能九宫格（图标上 / 文字下） */
.me-grid-card {
  background: #17181b; border-radius: 12px; margin-top: 12px;
  padding: 15px 5px; display: flex;
}
.me-grid-item { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; text-decoration: none; }
.me-grid-ico svg { width: 26px; height: 26px; display: block; }
.me-grid-t { font-size: 11.5px; color: #c9c9c4; margin-top: 7px; }

/* 列表行卡 */
.me-row-card { background: #17181b; border-radius: 12px; margin-top: 12px; overflow: hidden; }
.me-row2 {
  display: flex; align-items: center; padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: 14px; color: #e8e8e5; text-decoration: none;
}
.me-row2:last-child { border-bottom: none; }
.me-row2:active { background: #1f2024; }
.me-row2-ico svg { width: 20px; height: 20px; display: block; flex: none; }
.me-row2-t { flex: 1; min-width: 0; margin-left: 12px; }
.me-row2-arr svg { width: 18px; height: 18px; display: block; flex: none; opacity: .55; }
.me-row-logout .me-row2-t { color: #e05548; }

/* ---------- 首页公告轮播（赛事通知） ---------- */
.notice-sec { margin: 12px 14px 0; }
.notice-banner {
  position: relative; height: 124px; border-radius: 14px; overflow: hidden;
  background: #141519; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.n-slide {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  opacity: 0; transition: opacity .45s ease; text-decoration: none; cursor: pointer;
}
.n-slide.on { opacity: 1; z-index: 1; }
.n-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.n-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 30, 24, 0) 30%, rgba(10, 30, 24, 0.72) 100%);
}
.n-txt {
  position: relative; z-index: 1; width: 100%; padding: 12px 14px;
  display: flex; align-items: baseline; gap: 10px;
}
.n-txt b {
  flex: 1; min-width: 0; color: #fff; font-size: 15px; font-weight: 700;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.n-txt i {
  flex: 0 0 auto; font-style: normal; font-size: 11px;
  color: var(--gold-light, #e8d3a0); white-space: nowrap;
}
.notice-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.notice-dots i {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255, 255, 255, .22); transition: background .3s ease, width .3s ease;
}
.notice-dots i.on { background: var(--gold, #c9a45c); width: 16px; border-radius: 99px; }

/* 公告详情弹窗 */
.n-modal { position: fixed; inset: 0; z-index: 90; display: block; }
.n-mask { position: absolute; inset: 0; background: rgba(10, 22, 18, 0.6); }
.n-sheet {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 100%; max-width: 480px; max-height: 82vh; overflow-y: auto;
  background: var(--card, #fff); border-radius: 18px 18px 0 0; animation: nUp .28s ease;
}
@keyframes nUp { from { transform: translate(-50%, 40px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.n-sheet .n-head { display: block; width: 100%; height: 170px; object-fit: cover; }
.n-sheet .n-pad { padding: 18px 18px 26px; }
.n-sheet h2 { font-size: 18px; font-weight: 800; color: var(--text, #253830); padding-right: 36px; line-height: 1.4; }
.n-sheet .n-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; border: 0;
  background: rgba(10, 30, 24, 0.45); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.n-sheet .n-close svg { width: 16px; height: 16px; }
.n-sheet .n-para { margin-top: 12px; }
.n-sheet .n-para p {
  font-size: 14px; color: var(--text, #253830); line-height: 1.8;
  margin: 0 0 10px; word-break: break-word;
}

/* 规则说明弹窗（纯文字，支持多条） */
.rule-list { margin-top: 14px; }
.rule-list .rule-item + .rule-item { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.rule-list .rule-t { font-size: 15px; font-weight: 800; color: var(--green); margin-bottom: 7px; }
.rule-list p { font-size: 14px; line-height: 1.85; color: var(--text); margin: 0; word-break: break-word; }

/* ---------- 快捷入口 ---------- */
.entries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 14px 0;
}
.entries a {
  background: var(--card);
  border-radius: 12px;
  text-align: center;
  padding: 16px 4px 13px;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(20, 41, 31, 0.06);
  transition: transform 0.15s;
}
.entries a:active { transform: scale(0.96); }
.entries .e-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  border-radius: 10px;
  background: rgba(31, 70, 54, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.entries .e-icon svg { width: 22px; height: 22px; }
.entries .e-name { font-size: 13px; }

/* ---------- 区块标题 ---------- */
.section {
  margin: 22px 14px 0;
}
.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.section-title h2 {
  font-size: 16px;
  font-weight: 600;
  padding-left: 9px;
  border-left: 3px solid var(--gold);
  line-height: 1.2;
}
.section-title a { font-size: 12px; color: var(--muted); text-decoration: none; }

/* ---------- 今日酒水：竖排列表 ---------- */
.featured {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.featured .f-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;          /* 允许内部文字省略，不撑宽卡片 */
  box-sizing: border-box;
  background: var(--card);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 1px 4px rgba(20, 41, 31, 0.06);
  text-decoration: none;
  color: var(--text);
}
.featured .f-card:active { opacity: .92; }
/* 缩略图：固定尺寸，图片一律裁切填充，不会撑破卡片 */
.featured .f-img {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--card-2);
  display: block;
  overflow: hidden;
}
.featured .f-img-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a5f5c;
}
.featured .f-img-empty svg { width: 26px; height: 26px; }
.featured .f-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.featured .f-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.featured .f-spec {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  min-width: 0;
}
/* 规格文字超长时省略 */
.featured .f-spec .f-spec-txt {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 首页卡片上的赠币标签（与酒水单同款 .coin-tag） */
.featured .f-coin { display: flex; align-items: center; }
.featured .f-coin .coin-tag { margin-left: 0; }
.featured .f-price {
  flex: none;
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}
.featured .f-price small { font-size: 11px; font-weight: 400; }

/* ---------- 酒水单页：分类 + 列表 ---------- */
.menu-wrap { display: flex; min-height: calc(100vh - 48px); }
.cats {
  flex: none;
  width: 92px;
  background: #101114;
  padding: 8px 0;
}
.cats .cat {
  display: block;
  padding: 13px 8px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  cursor: pointer;
  position: relative;
}
.cats .cat.on {
  background: var(--bg);
  color: var(--green);
  font-weight: 600;
}
.cats .cat.on::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: var(--gold);
  border-radius: 0 2px 2px 0;
}
.dish-panel { flex: 1; padding: 12px 12px 90px; min-width: 0; }

.dish-item {
  display: flex;
  gap: 10px;
  background: var(--card);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 1px 4px rgba(20, 41, 31, 0.05);
}
.dish-item .d-img {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--card-2);
  cursor: pointer;
}
.dish-item .d-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dish-item .d-name { font-size: 14px; font-weight: 600; cursor: pointer; }
.dish-item .d-spec { font-size: 11px; color: var(--muted); margin-top: 1px; }
.dish-item .d-desc {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dish-item .d-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dish-item .d-price { color: var(--gold); font-weight: 700; font-size: 15px; }
.dish-item .d-price small { font-size: 11px; font-weight: 400; }

/* ---------- 赠币标签（购买赠送游戏币的酒水；纯展示，不可点击） ---------- */
.coin-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fdf7e8 0%, #f4e6c2 100%);
  border: 1px solid rgba(201, 164, 92, .55);
  color: #8a6a1f;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.55;
  vertical-align: 1px;
  white-space: nowrap;
}
.coin-tag.on-dark {
  background: rgba(201, 164, 92, .16);
  border-color: rgba(201, 164, 92, .48);
  color: var(--gold-light);
}
/* 账单/合计里的赠币小字 */
.coin-line { font-size: 11.5px; color: #8a6a1f; font-weight: 700; }
.coin-line em { font-style: normal; }

/* 数量步进器 */
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stepper .btn-minus { background: var(--card-2); color: var(--text); }
.stepper .btn-plus { background: linear-gradient(135deg, #d8b46a, #b8923f); color: #17130a; }
.stepper .num { min-width: 18px; text-align: center; font-size: 14px; font-weight: 600; }

/* ---------- 悬浮购物车栏 ---------- */
.cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 56px;
  margin: 0 auto;
  max-width: 520px;
  padding: 0 14px;
  z-index: 15;
  pointer-events: none;
}
.cart-bar .inner {
  pointer-events: auto;
  background: var(--green-deep);
  border-radius: 26px;
  display: flex;
  align-items: center;
  padding: 6px 6px 6px 14px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(20, 41, 31, 0.35);
}
.cart-bar .c-icon {
  position: relative;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  flex: none;
}
.cart-bar .c-icon svg { width: 24px; height: 24px; display: block; }
.cart-bar .c-icon .badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  background: var(--gold);
  color: #14291f;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.cart-bar .c-total { flex: 1; font-size: 17px; font-weight: 700; }
.cart-bar .c-total small { font-size: 11px; font-weight: 400; opacity: 0.7; margin-left: 6px; }
.cart-bar .c-total small.coin { opacity: 1; color: #f0d79a; font-weight: 700; }
.cart-bar .c-submit {
  background: var(--gold);
  color: #14291f;
  border: none;
  border-radius: 20px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.cart-bar .c-submit:disabled { opacity: 0.45; cursor: default; }

/* ---------- 表单 ---------- */
.form-card {
  background: var(--card);
  border-radius: 12px;
  margin: 16px 14px 0;
  padding: 6px 16px;
  box-shadow: 0 1px 4px rgba(20, 41, 31, 0.06);
}
.form-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.form-row:last-child { border-bottom: none; }
.form-row label { flex: none; width: 76px; font-size: 14px; color: var(--text); }
.form-row input,
.form-row select {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: transparent;
  min-width: 0;
}
.form-row input::placeholder { color: #6a6f6b; }

.btn-primary {
  display: block;
  width: calc(100% - 28px);
  margin: 18px auto 0;
  background: linear-gradient(135deg, #d8b46a 0%, #b8923f 100%);
  color: #17130a;
  border: none;
  border-radius: 24px;
  padding: 13px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
}
.btn-primary:active { opacity: 0.85; }
.btn-primary:disabled { opacity: 0.5; cursor: default; }
.btn-ghost {
  display: block;
  width: calc(100% - 28px);
  margin: 12px auto 0;
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 24px;
  padding: 12px;
  font-size: 15px;
  cursor: pointer;
}

/* ---------- 通用列表卡片（订单/预约） ---------- */
.list-card {
  background: var(--card);
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 14px 16px;
  box-shadow: 0 1px 4px rgba(20, 41, 31, 0.05);
}
.list-card .lc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.list-card .lc-head .st { color: var(--gold); font-weight: 600; }
.list-card .lc-body { padding: 8px 0 4px; font-size: 13px; }
.list-card .lc-line {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
  color: var(--text);
}
.list-card .lc-line .muted { color: var(--muted); }
.list-card .lc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  font-size: 13px;
}
.list-card .lc-foot .total { font-weight: 700; }
.list-card .lc-foot .total em { font-style: normal; color: var(--gold); }
.list-card .lc-foot .pts { color: var(--muted); font-size: 12px; }
.list-card .lc-head .st.ok { color: #b8923f; }
.list-card .lc-head .st.off { color: var(--muted); }
.list-card .lc-head .st.gray { color: var(--muted); }
/* 已核销后「可重新购买」提示（关联酒水已使用，可再次购买续场） */
.list-card .lc-rebuy {
  margin: 0 14px 10px; padding: 9px 12px; border-radius: 10px;
  background: rgba(201, 164, 92, .10); border: 1px dashed rgba(201, 164, 92, .45);
  font-size: 12px; color: #d9c69a; line-height: 1.7;
}
.list-card .lc-rebuy b { color: #b8923f; }

/* 预约到店核销二维码（桌台预约页「我的预约」卡片内） */
.rsv-qr {
  display: flex; align-items: center; gap: 12px;
  margin: 0 14px 12px; padding: 10px 12px; border-radius: 10px;
  background: rgba(201, 164, 92, .10); border: 1px dashed #d4af6a;
}
.rsv-qr .qr-img svg { width: 92px; height: 92px; display: block; }
.rsv-qr .qr-txt { font-size: 12.5px; line-height: 1.8; font-weight: 600; color: var(--text); }
.rsv-qr .qr-txt small {
  display: block; font-size: 11px; font-weight: 400; color: var(--muted);
  margin-top: 3px; word-break: break-all; line-height: 1.6;
}
.list-card .btn-cancel {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--danger);
  border-radius: 16px;
  padding: 6px 16px;
  font-size: 12px;
  cursor: pointer;
}

/* ---------- 我的页 ---------- */
.me-card {
  margin: 16px 14px 0;
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-soft) 100%);
  border-radius: 14px;
  color: #fff;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.me-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
/* 头像内图标必须写死尺寸，否则 iOS Safari 下 flex 容器中的 SVG 不显示 */
.me-avatar svg { width: 28px; height: 28px; display: block; }
.me-card .m-name { font-size: 18px; font-weight: 700; }
.me-card .m-sub { font-size: 12px; color: rgba(255, 255, 255, 0.65); margin-top: 2px; }
.me-card .m-stats { margin-left: auto; display: flex; gap: 18px; text-align: right; }
.me-card .m-stat b { display: block; font-size: 21px; color: var(--gold-light); line-height: 1.2; }
.me-card .m-stat span { font-size: 11px; color: rgba(255, 255, 255, 0.6); }

/* 纵向会员卡：头像/昵称在上，各项余额独占一行 */
.me-card.col { flex-direction: column; align-items: stretch; gap: 0; }
.me-card.col .me-top { display: flex; align-items: center; gap: 14px; }
/* 昵称与会员等级同行：昵称在左、等级徽章靠右 */
.me-card.col .me-top-main { flex: 1; min-width: 0; }
.me-card.col .me-top-row { display: flex; align-items: center; gap: 10px; }
.me-card.col .me-top-row .m-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-card.col .me-lv { margin-left: auto; flex: 0 0 auto; text-decoration: none; }
.me-card.col .m-list { margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.me-card.col .m-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 11px 2px;
}
.me-card.col .m-row + .m-row { border-top: 1px dashed rgba(255, 255, 255, 0.1); }
.me-card.col .m-row span { font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.me-card.col .m-row b { font-size: 22px; color: var(--gold-light); line-height: 1; }
/* 余额数值的单位（分 / PTS / 点） */
.me-card.col .m-row b .u {
  font-size: 12px; font-weight: 600; letter-spacing: .3px;
  color: rgba(255, 255, 255, 0.62); margin-left: 3px;
}
.me-card.col .m-row b .u:empty { display: none; }

/* ---------- 会员等级：徽章 / 进度条 / 等级阶梯 ---------- */
.lv-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; line-height: 1;
  border: 1px solid; border-radius: 999px; padding: 4px 9px 4px 6px;
  vertical-align: middle; white-space: nowrap;
}
.lv-ico { display: inline-flex; align-items: center; justify-content: center; }
.lv-ico svg { width: 100%; height: 100%; display: block; }

.lv-bar-wrap { margin-top: 12px; }
.lv-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.lv-bar i { display: block; height: 100%; border-radius: 99px; transition: width .4s ease; }
.lv-bar-text {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  font-size: 11px; color: var(--muted); margin-top: 7px;
}
.lv-bar-text b { font-weight: 700; font-variant-numeric: tabular-nums; }
.me-card .lv-bar { background: rgba(255, 255, 255, 0.18); }
.me-card .lv-bar-text { color: rgba(255, 255, 255, 0.72); }
.me-card .lv-bar-text b { color: var(--gold-light); }
/* 深色会员卡上的等级徽章：文字用白色更清晰，边框保留各档主题色 */
.me-card .lv-badge {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}
/* 我的页会员卡是大尺寸徽章，图标带投影更立体 */
.me-card.col .me-lv .lv-ico { filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4)); }

/* ---------- 升级进度路径（六级阶梯 + 进度线） ---------- */
.lv-path { padding: 6px 0 2px; }
.lv-path-item { display: flex; align-items: stretch; gap: 14px; }
.lv-path-rail { display: flex; flex-direction: column; align-items: center; flex: 0 0 52px; }
.lv-path-node {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--line); background: #1b1c20;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.lv-path-node svg { width: 44px; height: 44px; display: block; }
.lv-path-line {
  flex: 1 1 auto; width: 3px; min-height: 24px; margin: 5px 0;
  background: var(--line); border-radius: 3px; overflow: hidden;
}
.lv-path-line i { display: block; width: 100%; height: 0; border-radius: 3px; transition: height .5s ease; }
.lv-path-body { flex: 1; min-width: 0; padding: 10px 0 20px; }
.lv-path-item:last-child .lv-path-body { padding-bottom: 4px; }
.lv-path-head { display: flex; align-items: center; gap: 8px; }
.lv-path-head b { font-size: 15px; font-weight: 700; }
.lv-path-body .lv-range { font-size: 12px; color: var(--muted); margin-top: 3px; }
.lv-path-item.on .lv-path-node { box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.18); }
.lv-path-item.todo .lv-path-node svg { filter: grayscale(1); opacity: .5; }
.lv-done { margin-left: auto; font-size: 11px; color: var(--muted); white-space: nowrap; }
.lv-now {
  margin-left: auto; font-size: 11px; color: var(--gold);
  border: 1px solid var(--gold); border-radius: 99px; padding: 3px 9px; white-space: nowrap;
}
.lv-mini { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: 9px; }
.lv-mini i { display: block; height: 100%; border-radius: 99px; transition: width .5s ease; }
.lv-tip { font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.lv-sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px; margin-bottom: 4px;
}
.lv-sec-head .lv-sec-pct { font-size: 12px; font-weight: 700; color: var(--gold); }

.lv-hero { text-align: center; padding: 24px 16px 20px; }
.lv-hero .lv-ico { width: 96px; height: 96px; margin: 0 auto 12px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45)); }
.lv-hero .lv-ico svg { width: 96px; height: 96px; }
.lv-hero .lv-name { font-size: 22px; font-weight: 800; color: var(--gold-light); }
.lv-hero .lv-points { font-size: 12px; color: rgba(255, 255, 255, 0.75); margin-top: 6px; }

.me-group {
  background: var(--card);
  border-radius: 12px;
  margin: 14px 14px 0;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(20, 41, 31, 0.05);
}
.me-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}
.me-row:last-child { border-bottom: none; }
.me-row svg { width: 20px; height: 20px; flex: none; }
.me-row .arrow { margin-left: auto; color: #c2cbc5; }

/* ---------- 登录页 ---------- */
.login-head {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-soft) 100%);
  color: #fff;
  text-align: center;
  padding: 44px 20px 56px;
}
.login-head .logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border: 2px solid rgba(201, 164, 92, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-head .logo svg { width: 34px; height: 34px; }
.login-head .badge {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.login-head .name { font-size: 22px; font-weight: 700; letter-spacing: 2px; }
/* 俱乐部地址（后台「俱乐部设置」可填，未设置时整行隐藏） */
.login-head .addr {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: .5px;
}
.login-body { margin: -26px 14px 0; }
.login-tabs {
  display: flex;
  background: #eef1ef;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 6px;
}
.login-tabs button {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 8px;
  padding: 9px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.login-tabs button.on { background: rgba(216, 180, 106, .18); color: var(--gold); font-weight: 600; box-shadow: none; }
.login-tip { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; }
/* 注册强制勾选：我已阅读并同意《会员服务条款》（未勾选不能注册；《会员服务条款》为可点击链接） */
.agree-row {
  display: flex; align-items: center; gap: 9px;
  margin-top: 14px; cursor: pointer;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.agree-box {
  flex: none; width: 17px; height: 17px; border-radius: 5px;
  border: 1.5px solid var(--muted); background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: #17130a; font-size: 12px; font-weight: 700; line-height: 1;
  transition: background .15s, border-color .15s;
}
.agree-row.on .agree-box { background: linear-gradient(135deg, #d8b46a, #b8923f); border-color: transparent; }
.agree-txt { font-size: 12px; color: var(--muted); line-height: 1.5; }
.agree-txt .terms-link { color: var(--gold); text-decoration: underline; }
.agree-row.shake { animation: agreeShake .4s; }
@keyframes agreeShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}
.terms-lead { font-size: 12.5px; color: var(--muted); line-height: 1.8; margin: 10px 0 0; }
.terms-foot { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.n-sheet .terms-ok { width: 100%; margin: 16px 0 0; }

/* 底部版本号（员工核销工作台入口隐藏在此） */
.ver-bar { text-align: center; margin: 20px 0 4px; }
.ver-bar a { color: var(--muted); font-size: 11px; letter-spacing: .5px; text-decoration: none; }
.ver-bar a:active { opacity: .55; }

/* ---------- 空状态 / 加载 ---------- */
.empty {
  text-align: center;
  padding: 48px 0 32px;
  color: var(--muted);
  font-size: 13px;
}
.empty svg { width: 44px; height: 44px; opacity: 0.4; margin-bottom: 8px; }
.loading { text-align: center; padding: 40px 0; color: var(--muted); font-size: 13px; }

/* ---------- 轻提示 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) translateY(8px);
  background: rgba(20, 41, 31, 0.92);
  color: #fff;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s;
  z-index: 99;
  max-width: 80vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.bad { background: rgba(192, 57, 43, 0.94); }

/* ---------- 底部导航 ---------- */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: #101114;
  border-top: 1px solid var(--line);
  display: flex;
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7px 0 8px;
  text-decoration: none;
  color: #6f7476;
  font-size: 11px;
}
.tabbar a svg { width: 23px; height: 23px; margin-bottom: 2px; }
.tabbar a.on { color: var(--green); font-weight: 600; }
.tabbar .tab-ico { position: relative; }

/* ================= 排行榜 · 黑金殿堂 ================= */
/* 深墨绿 + 香槟金：头图 / 我的排名 / 领奖台 三段用暗底烫金，榜单列表用亮底 */
.rk-hero {
  position: relative;
  overflow: hidden;
  padding: 20px 16px 20px;
  background:
    radial-gradient(120% 78% at 50% -12%, rgba(201, 164, 92, .24) 0%, rgba(201, 164, 92, 0) 58%),
    linear-gradient(160deg, #0b0c0e 0%, #141519 46%, #22242a 100%);
  color: #fff;
}
/* 头图底部鎏金细线 */
.rk-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 213, 174, .8), transparent);
}
/* 四角鎏金描边装饰 */
.rk-hero::before {
  content: '';
  position: absolute;
  inset: 8px 8px auto 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 92, .35), transparent);
}
.rk-hero-head { text-align: center; position: relative; z-index: 1; }
.rk-hero-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 92, .62);
  background: radial-gradient(circle at 50% 26%, rgba(201, 164, 92, .3), rgba(201, 164, 92, .04));
  color: var(--gold-light);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .38), inset 0 0 14px rgba(201, 164, 92, .26);
}
.rk-hero-emblem svg { width: 26px; height: 26px; display: block; }
.rk-hero-head h2 {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2.5px;
  background: linear-gradient(180deg, #fff9ea 0%, #e8d5ae 46%, #c9a45c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.rk-hero-head p {
  font-size: 11.5px;
  letter-spacing: .8px;
  color: rgba(232, 213, 174, .6);
  margin-top: 7px;
}

/* 分段切换：暗底描金胶囊 */
.rk-seg {
  display: flex;
  gap: 4px;
  margin-top: 18px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .32);
  border: 1px solid rgba(201, 164, 92, .32);
  position: relative;
  z-index: 1;
}
.rk-seg button {
  flex: 1;
  border: 0;
  background: transparent;
  color: rgba(232, 213, 174, .66);
  border-radius: 999px;
  padding: 9px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: inherit;
  cursor: pointer;
  transition: color .16s;
}
.rk-seg button.on {
  color: #2a1f08;
  background: linear-gradient(180deg, #f9efcf 0%, #e8d5ae 42%, #d4af37 100%);
  box-shadow: 0 3px 12px rgba(201, 164, 92, .45), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.rk-seg button:active { opacity: .9; }

/* 我的排名：暗底烫金卡，浮在头图与榜单之间 */
.rk-me {
  position: relative;
  margin: -12px 14px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #10231a 0%, #1f4636 100%);
  border: 1px solid rgba(201, 164, 92, .5);
  box-shadow: 0 12px 26px rgba(20, 41, 31, .32), inset 0 0 0 1px rgba(255, 255, 255, .04);
  overflow: hidden;
}
.rk-me::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(85% 130% at 100% 0%, rgba(201, 164, 92, .2), transparent 62%);
  pointer-events: none;
}
.rk-me-top { display: flex; align-items: center; gap: 11px; position: relative; z-index: 1; }
.rk-me-ava {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(201, 164, 92, .55);
  color: var(--gold-light);
}
.rk-me-ava svg { width: 21px; height: 21px; display: block; }
.rk-me-info { min-width: 0; flex: 1; }
.rk-me-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rk-me-sub { font-size: 11px; color: rgba(232, 213, 174, .6); margin-top: 3px; letter-spacing: .5px; }
.rk-me-stats { display: flex; gap: 8px; margin-top: 12px; position: relative; z-index: 1; }
.rk-me-stat {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  border-radius: 11px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid transparent;
  transition: border-color .16s, background .16s;
}
.rk-me-stat.on {
  background: rgba(201, 164, 92, .15);
  border-color: rgba(201, 164, 92, .55);
}
.rk-me-stat b {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.25;
  white-space: nowrap;
}
.rk-me-stat b.none { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .5); }
.rk-me-stat span { font-size: 10.5px; color: rgba(255, 255, 255, .55); }

/* 荣耀三甲：暗底礼台 */
.rk-stage {
  margin: 16px 14px 0;
  padding: 0 10px 14px;
  border-radius: 18px;
  background:
    radial-gradient(92% 58% at 50% 0%, rgba(201, 164, 92, .17), transparent 66%),
    linear-gradient(180deg, #1b1c20 0%, #101114 100%);
  border: 1px solid rgba(201, 164, 92, .28);
  box-shadow: 0 14px 30px rgba(20, 41, 31, .24);
}
.rk-stage-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-light);
}
.rk-stage-title i { width: 28px; height: 1px; }
.rk-stage-title i:first-child { background: linear-gradient(90deg, transparent, rgba(201, 164, 92, .8)); }
.rk-stage-title i:last-child { background: linear-gradient(270deg, transparent, rgba(201, 164, 92, .8)); }

.rk-podium { display: flex; align-items: flex-end; justify-content: center; gap: 6px; }
.rk-pod {
  flex: 1;
  max-width: 116px;
  min-width: 0;
  text-align: center;
  position: relative;
}
/* 冠军金冠（仅第 1 名，占位高度与其它名次对齐时自然向上生长） */
.rk-pod .pod-crown {
  height: 26px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #f0d27a;
  filter: drop-shadow(0 3px 7px rgba(201, 164, 92, .6));
}
.rk-pod .pod-crown svg { width: 28px; height: 28px; display: block; }
.rk-pod .pod-ava {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  border: 2px solid transparent;
  overflow: hidden;
}
.rk-pod .pod-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  margin-top: 9px;
  padding: 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rk-pod .pod-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold-light);
  margin-top: 3px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.rk-pod .pod-val small {
  font-size: 9.5px;
  font-weight: 500;
  color: rgba(232, 213, 174, .55);
  -webkit-text-fill-color: rgba(232, 213, 174, .55);
  margin-left: 2px;
}
/* 阶梯台面：1 > 2 > 3 */
.rk-pod .pod-stand {
  margin-top: 9px;
  height: 38px;
  border-radius: 9px 9px 3px 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  border: 1px solid rgba(255, 255, 255, .13);
  border-bottom: 0;
}
.rk-pod.gold .pod-ava {
  width: 62px;
  height: 62px;
  font-size: 20px;
  border-color: #e8c96a;
  box-shadow: 0 0 0 3px rgba(232, 201, 106, .22), 0 8px 20px rgba(212, 175, 55, .42);
}
.rk-pod.gold .pod-name { font-size: 13.5px; color: #fff9ea; }
.rk-pod.gold .pod-val {
  font-size: 16px;
  background: linear-gradient(180deg, #fff9ea, #e8c96a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.rk-pod.gold .pod-stand {
  height: 62px;
  font-size: 30px;
  color: #241a06;
  border-color: rgba(255, 240, 200, .55);
  background: linear-gradient(180deg, rgba(238, 210, 128, .96) 0%, rgba(207, 170, 82, .58) 58%, rgba(201, 164, 92, .18) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 -8px 22px rgba(212, 175, 55, .3);
}
.rk-pod.silver .pod-ava {
  border-color: #cbd5dc;
  box-shadow: 0 0 0 3px rgba(203, 213, 220, .16), 0 6px 16px rgba(0, 0, 0, .34);
}
.rk-pod.silver .pod-stand {
  height: 46px;
  color: #1f282e;
  border-color: rgba(255, 255, 255, .45);
  background: linear-gradient(180deg, rgba(219, 227, 233, .9) 0%, rgba(174, 185, 194, .5) 58%, rgba(174, 185, 194, .16) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}
.rk-pod.bronze .pod-ava {
  border-color: #d09a5e;
  box-shadow: 0 0 0 3px rgba(208, 154, 94, .16), 0 6px 16px rgba(0, 0, 0, .34);
}
.rk-pod.bronze .pod-stand {
  height: 34px;
  font-size: 17px;
  color: #2a1a0a;
  border-color: rgba(255, 225, 190, .42);
  background: linear-gradient(180deg, rgba(216, 164, 110, .9) 0%, rgba(192, 138, 78, .5) 58%, rgba(192, 138, 78, .16) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 240, 214, .55);
}

/* 4 名起的榜单 */
.rk-board { margin: 18px 14px 0; }
.rk-board-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.rk-board-head .t {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text);
  white-space: nowrap;
}
.rk-board-head .t svg { width: 16px; height: 16px; flex: none; color: var(--gold); }
.rk-board-head .line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(201, 164, 92, .6), transparent); }
.rk-board-head .c { font-size: 11px; color: var(--muted); white-space: nowrap; }

.rk-list {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2px 14px;
  box-shadow: 0 8px 20px rgba(20, 41, 31, .07);
  overflow: hidden;
}
.rk-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.rk-row:last-child { border-bottom: none; }
.rk-row .rk-no {
  flex: none;
  width: 30px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #22242a;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
/* 4 - 10 名：烫金名次底牌 */
.rk-row.hot .rk-no {
  color: #e8d5ae;
  background: rgba(201, 164, 92, .18);
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .45);
}
.rk-row .rk-ava {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(20, 41, 31, .08);
}
.rk-row .rk-name { flex: 1; min-width: 0; }
.rk-row .rk-name .n {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rk-row .rk-name .lv-txt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 3px;
}
.rk-row .rk-name .lv-txt .lv-ico-sm { flex: none; width: 13px; height: 13px; display: inline-flex; }
.rk-row .rk-name .lv-txt .lv-ico-sm svg { width: 100%; height: 100%; display: block; }
.rk-row .rk-val {
  flex: none;
  text-align: right;
  font-size: 15px;
  font-weight: 800;
  color: var(--green);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.rk-row .rk-val.gold { color: #b8902f; }
.rk-row .rk-val small { font-size: 10px; font-weight: 500; color: var(--muted); margin-left: 2px; }
/* 自己所在的名次高亮：左侧鎏金标记 + 淡金渐变 */
.rk-row.is-me {
  margin: 0 -14px;
  padding-left: 14px;
  padding-right: 14px;
  background: linear-gradient(90deg, rgba(201, 164, 92, .16), rgba(201, 164, 92, .02));
  box-shadow: inset 3px 0 0 var(--gold);
}
.rk-row.is-me .rk-no { color: #17130a; background: linear-gradient(180deg, #f0d27a, #c9a45c); }
.rk-row.is-me .rk-name .n { color: var(--gold-light); font-weight: 800; }

/* 空态 / 加载态 */
.rk-empty {
  padding: 26px 0;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.rk-empty svg { width: 40px; height: 40px; opacity: .35; margin-bottom: 6px; }
.rk-stage .rk-empty { color: rgba(232, 213, 174, .55); }
.rk-stage .rk-empty svg { color: rgba(232, 213, 174, .5); }


/* ================= 桌台预约：德州牌桌选座 ================= */
.tt-slot { font-size: 12px; color: var(--muted); font-weight: 600; }

/* 桌台类型筛选 */
.tt-types {
  display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.tt-types::-webkit-scrollbar { display: none; }
.tt-type {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--card); color: var(--text);
  font-size: 13px; padding: 7px 12px; border-radius: 999px;
  font-family: inherit; cursor: pointer; white-space: nowrap;
}
.tt-type b { margin-left: 5px; font-size: 11px; color: var(--muted); font-weight: 700; }
.tt-type.on { background: linear-gradient(135deg, #d8b46a, #b8923f); border-color: #d8b46a; color: #17130a; }
.tt-type.on b { color: var(--gold-light); }

/* 图例 */
.tt-legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); padding: 0 2px 10px; }
.tt-legend span { display: inline-flex; align-items: center; gap: 5px; }
.tt-legend .lg { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.tt-legend .lg.free { background: #2e3a58; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2); }
.tt-legend .lg.taken { background: #a9b5af; }
.tt-legend .lg.mine { background: #2e3a58; box-shadow: 0 0 0 2px #e74c3c; }
.tt-legend .lg.off { background: #aab4ae; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.tt-legend .lg.verified { background: #d8b46a; }

.tt-tip { font-size: 11.5px; color: var(--muted); line-height: 1.7; margin: 6px 2px 0; }

/* 牌桌卡片：与全站一致的浅色卡片（无深色底） */
.tt-card {
  background: var(--card);
  border-radius: 12px; padding: 12px 12px 12px;
  box-shadow: 0 1px 4px rgba(20, 41, 31, .06); margin-bottom: 14px;
}
.tt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 4px 8px; }
.tt-name { font-size: 14px; font-weight: 800; color: var(--text); }
.tt-meta { font-size: 11.5px; color: var(--muted); }

.tt-wrap { position: relative; width: 100%; }

/* 跑道形牌桌：两端半圆 + 上下直边，绿呢台面 + 浅绿粗描边 */
.tt-felt {
  position: absolute; border-radius: 999px;
  background: radial-gradient(ellipse at 50% 40%, #3cb283 0%, #1f9163 56%, #157a52 100%);
  border: 6px solid #7fe3ae;
  box-shadow: 0 0 0 2px rgba(127, 227, 174, .22), 0 6px 16px rgba(20, 41, 31, .16),
    inset 0 0 36px rgba(9, 62, 41, .38);
  overflow: visible;
}
/* 桌面上缘中央信息标签（金框金字，样式参照 Pot 标签） */
.tt-pot {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  max-width: 72%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  border: 1.5px solid rgba(212, 175, 55, .85); color: #f0d27a;
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  border-radius: 6px; padding: 3px 10px; background: rgba(8, 32, 21, .45);
}

/* 座位：深藏青圆 + 座位号（1..N），圆下状态标签 */
.tt-seat {
  position: absolute; transform: translate(-50%, -50%);
  width: var(--tt-seat, 32px); height: var(--tt-seat, 32px);
  border-radius: 50%; padding: 0; border: 0; background: #2e3a58;
  display: flex; align-items: center; justify-content: center;
  font-family: inherit; color: #e8eefc; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .10), 0 2px 6px rgba(20, 41, 31, .22);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
/* 座位号（1..N，纯数字，比位置名放大显示） */
.tt-no {
  font-size: calc(var(--tt-seat, 32px) * 0.42); font-weight: 700; line-height: 1;
  letter-spacing: -.2px;
}
/* 圆下状态标签（可预约 / 已预约 / 我的座位） */
.tt-st {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  margin-top: 4px; font-size: 10px; font-weight: 600; line-height: 1;
  color: var(--muted); white-space: nowrap; pointer-events: none;
}
.tt-seat.taken { cursor: not-allowed; }
/* 已核销（verified）：会员自己的头像（头像图 / 昵称色块兜底），金黄色描边 */
.tt-ava-img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block;
  box-shadow: 0 0 0 2px rgba(201, 164, 92, .95), 0 2px 6px rgba(20, 41, 31, .25);
}
.tt-seat.taken .tt-st { color: #a8b3ad; }
/* 已核销座位：状态文字用金黄色（区别于未核销的灰色） */
.tt-seat.ok .tt-st { color: #d8b46a; }
.tt-seat.ok .tt-ava { box-shadow: 0 0 0 2px rgba(201, 164, 92, .95); }
/* 已预约未核销：灰色模拟人物剪影 */
.tt-seat.pend { background: #a9b5af; }
.tt-person {
  width: 62%; height: 62%; display: block; fill: #f0f4f2;
  pointer-events: none;
}
.tt-seat.mine { box-shadow: 0 0 0 2.5px #e74c3c, 0 4px 12px rgba(231, 76, 60, .42); }
.tt-seat.mine .tt-st { color: #e74c3c; }
.tt-seat.on {
  transform: translate(-50%, -50%) scale(1.12); z-index: 3;
  box-shadow: 0 0 0 3px #ff5f4e, 0 6px 14px rgba(255, 95, 78, .48);
}
.tt-seat.on .tt-st { color: #e74c3c; }

/* 座位上的会员头像（昵称后两字 + 定色圆底） */
.tt-ava {
  width: 100%; height: 100%; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: calc(var(--tt-seat, 32px) * 0.30); font-weight: 700; line-height: 1;
  letter-spacing: -.5px; overflow: hidden;
}
.tt-ava-lg { width: 34px; height: 34px; flex: 0 0 34px; font-size: 12px; }

/* 已选信息 + 提交 */
.tt-submit { margin: 18px 0 0; }
.tt-pick {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 11px 14px; min-height: 58px; margin: 0 14px;
}
.tt-pick-empty { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.tt-pick-empty svg { width: 18px; height: 18px; display: block; }
.tt-pick-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tt-pick-l b { display: block; font-size: 14px; color: var(--text); }
.tt-pick-l small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.tt-pick-clear {
  flex: 0 0 auto; border: none; background: var(--card-2); color: var(--text);
  font-family: inherit; font-size: 12px; padding: 6px 11px; border-radius: 999px; cursor: pointer;
}
.tt-submit .btn-primary { margin-top: 12px; }

/* ---------- 赛事模式桌台（需先购赛事酒水，预约不可取消） ----------
   视觉主题：深蓝台面 + 咖啡色描边（木质围栏），与普通桌的绿呢一眼区分 */
.tt-card.is-match { border: 1px solid rgba(203, 176, 142, .42); background: #1b1c20; box-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.tt-match-tag {
  display: inline-block; margin-left: 6px; vertical-align: 1.5px;
  font-size: 10px; font-weight: 700; letter-spacing: .3px;
  color: #ecd9a8; background: #23406f; border: 1px solid #6b8cc0;
  border-radius: 999px; padding: 1px 7px;
}
/* 购酒水提示条：娱乐桌 = 紫色系（原配色）；赛事桌 = 蓝咖系（见下方 is-match 覆盖） */
.tt-match-bar {
  display: flex; align-items: flex-start; gap: 7px;
  margin: 0 4px 10px; padding: 8px 11px; border-radius: 10px;
  background: rgba(122, 110, 200, .16); border: 1px dashed rgba(160, 150, 220, .5);
  font-size: 11.5px; color: #c3bce6; line-height: 1.6;
}
.tt-match-bar.ok { background: rgba(46, 160, 110, .16); border-color: rgba(120, 220, 170, .45); color: #7fe3ae; }
.tt-match-bar svg { width: 15px; height: 15px; flex: 0 0 15px; display: block; margin-top: 1px; }
.tt-match-bar b { font-weight: 700; }
.tt-match-bar .p { color: #e8c96a; font-weight: 700; }
/* 赛事桌提示条：换成深蓝底调，与深蓝台面呼应 */
.tt-card.is-match .tt-match-bar {
  background: rgba(70, 110, 180, .18); border-color: rgba(130, 170, 220, .45); color: #b6cbe8;
}
.tt-card.is-match .tt-match-bar .p { color: #8a5a34; }

/* 赛事桌台面：深蓝宝石绒 + 咖啡色木质围栏（外沿深咖啡、内沿浅咖啡） */
.tt-card.is-match .tt-felt {
  background: radial-gradient(ellipse at 50% 40%, #2f5fa8 0%, #20406f 58%, #152744 100%);
  border-color: #9a6337;
  box-shadow: 0 0 0 2px #5c3a20, 0 0 0 5px rgba(138, 90, 52, .22),
    0 6px 16px rgba(8, 20, 40, .28), inset 0 0 36px rgba(3, 12, 30, .5);
}
/* 赛事桌桌名标签：深蓝底金字，避免在蓝呢上发灰 */
.tt-card.is-match .tt-pot {
  border-color: rgba(212, 175, 55, .95); color: #f4dc9a;
  background: rgba(9, 22, 45, .62);
}
/* 赛事桌空位：底色提亮 + 浅金环，保证在深蓝台面上依然清晰
   （已预约 pend / 不可预约 off / 我的座位 mine 保持原语义色不动） */
.tt-card.is-match .tt-seat:not(.taken):not(.mine):not(.off) {
  background: #3a4d73;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12),
    0 0 0 2px rgba(201, 164, 92, .58), 0 2px 6px rgba(6, 14, 30, .34);
}

/* 预约时间窗提示（未开放 / 已开赛）：整卡置灰不可约 */
.tt-book-bar {
  display: flex; align-items: flex-start; gap: 7px;
  margin: 0 4px 10px; padding: 8px 11px; border-radius: 10px;
  background: #fdf3dd; border: 1px dashed #e3c986;
  font-size: 11.5px; color: #8a6a1f; line-height: 1.6; font-weight: 600;
}
.tt-book-bar svg { width: 15px; height: 15px; flex: 0 0 15px; display: block; margin-top: 1px; }
/* 预约规则停止：不限预约时间（绿色提示条） */
.tt-book-bar.free { background: #eef7f1; border-color: #b9dfc9; color: #1f6b45; }
/* 开赛后 1 小时宽限期内：仍可预约（金色提示条，显示剩余可约时间） */
.tt-book-bar.grace { background: #fbf6e6; border-color: #d8b46a; color: #7a5c14; }
.tt-card.is-locked .tt-felt { opacity: .45; filter: grayscale(.75); }
.tt-card.is-locked .tt-seat { cursor: not-allowed; }
/* 不可预约的空位：灰色遮罩样式，状态文字改为「不可预约」 */
.tt-seat.off {
  background: #aab4ae; color: #eef2f0; opacity: .78;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12), 0 2px 5px rgba(20, 41, 31, .10);
}
.tt-seat.off .tt-st { color: #98a29c; }
/* 整桌蒙灰遮罩（时间窗外 / 后台预约开关关闭），点击穿透到座位仍可提示原因 */
.tt-off-mask {
  position: absolute; inset: 0; z-index: 2; border-radius: 999px;
  background: rgba(233, 238, 235, .55);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.tt-off-mask b {
  font-size: 12px; font-weight: 800; letter-spacing: 2px; color: #76837c;
  background: rgba(255, 255, 255, .92); border: 1px solid #d3dcd6;
  border-radius: 999px; padding: 6px 16px;
  box-shadow: 0 2px 8px rgba(20, 41, 31, .12);
}

/* 已选信息里的赛事小标签（与卡片上的「赛事」角标同一套蓝咖配色） */
.tt-item-tag {
  display: inline-block; font-size: 10.5px; font-weight: 700;
  color: #ecd9a8; background: #23406f; border: 1px solid #6b8cc0;
  border-radius: 999px; padding: 1px 7px; margin-right: 6px;
}

/* 赛事专用酒水购买弹窗 */
.mp-hero { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.mp-img {
  width: 66px; height: 66px; flex: 0 0 66px; border-radius: 10px;
  object-fit: cover; background: var(--card-2); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
}
.mp-img svg { width: 26px; height: 26px; display: block; }
.mp-info { min-width: 0; }
.mp-info .nm { font-size: 15px; font-weight: 800; color: var(--text); }
.mp-info .sp { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.mp-info .pr { font-size: 15px; font-weight: 800; color: #b8801f; margin-top: 5px; }
.mp-info .pr small { font-size: 11px; font-weight: 700; color: #a8852a; margin-left: 6px; }
.mp-tips {
  margin-top: 14px; padding: 11px 12px; background: rgba(216, 180, 106, .12);
  border-radius: 10px; font-size: 12px; color: #d9c69a; line-height: 1.8;
}
.mp-tips b { color: #e8d5ae; }
.mp-actions { display: flex; gap: 10px; margin-top: 16px; align-items: stretch; }
.mp-actions .btn-primary { flex: 1; width: auto; margin: 0; }
.mp-actions .btn-ghost {
  flex: 0 0 auto; width: auto; display: block; margin: 0;
  border: 1px solid var(--line); background: transparent; color: var(--text);
  border-radius: 12px; padding: 0 20px; font-family: inherit; font-size: 14px; cursor: pointer;
}

/* ================= 会员资料（昵称 / 手机号 / 头像） ================= */
.topbar .tb-back {
  flex: none; width: 28px; height: 28px; margin-left: -6px; margin-right: 6px;
  border: 0; background: transparent; padding: 0; color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.topbar .tb-back svg { width: 20px; height: 20px; display: block; }

.pf-hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-soft) 100%);
  padding: 26px 20px 32px;
  text-align: center;
  color: #fff;
}
.pf-ava {
  width: 78px; height: 78px; margin: 0 auto; border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  border: 2px solid rgba(201, 164, 92, .72);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -.5px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}
.pf-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-ava-tip { font-size: 11.5px; color: rgba(232, 213, 174, .72); margin-top: 10px; letter-spacing: .3px; }

/* 可点击上传的头像：按钮化 + 相机角标 */
.pf-ava-wrap { position: relative; width: 78px; margin: 0 auto; }
.pf-ava-btn {
  cursor: pointer;
  padding: 0;
  font: inherit;
  transition: transform .15s ease;
}
.pf-ava-btn:active { transform: scale(.95); }
.pf-ava-cam {
  position: absolute;
  right: -6px; bottom: -2px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #c9a45c;
  border: 2px solid #12241c;
  display: flex; align-items: center; justify-content: center;
  color: #12241c;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
  pointer-events: none;
}
.pf-ava-cam svg { width: 14px; height: 14px; display: block; }

/* 表单上浮压住深色区，视觉上连成一体 */
.pf-hero + .form-card { margin-top: -18px; position: relative; z-index: 1; }
.pf-hint { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 10px 16px 0; }
/* 昵称每月只能修改 1 次：本月已改过时输入框置灰 + 提示转品牌色 */
.pf-hint.locked { color: var(--green); }
#pfNickname[readonly] { color: var(--muted); }

.pf-note { padding: 14px 16px; }
.pf-note + .pf-note { border-top: 1px solid var(--line); }
.pf-note b { display: block; font-size: 13.5px; color: var(--text); margin-bottom: 5px; }
.pf-note p { font-size: 12.5px; color: var(--muted); line-height: 1.75; margin: 0; }

/* ================= 预约说明条（日期/时段/人数由桌台设定） ================= */
.rsv-note {
  display: flex; align-items: center; gap: 10px;
  margin: 12px 14px 0; padding: 11px 14px;
  background: #f3f7f4; border: 1px solid var(--line); border-radius: 14px;
}
.rsv-note-ico {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--green);
}
.rsv-note-ico svg { width: 17px; height: 17px; display: block; }
.rsv-note-txt { min-width: 0; }
.rsv-note-txt b { display: block; font-size: 13.5px; color: var(--text); }
.rsv-note-txt small { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.6; margin-top: 2px; }

/* 桌台比赛开始时间小标签 */
.tt-time {
  display: inline-block; margin-left: 7px; padding: 1.5px 7px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .2px;
  color: #8a6a22; background: rgba(201, 164, 92, .16);
  border: 1px solid rgba(201, 164, 92, .5); border-radius: 999px;
  vertical-align: 1px;
}

/* 默认会员头像：头像位显示图片时的圆形裁剪（我的页 / 排行榜） */
.me-avatar img,
.rk-pod .pod-ava img,
.rk-row .rk-ava img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* ---------------- 购物车桌号选择（全部酒水桌 + 开放中的德州游戏桌） ---------------- */
.form-row .tbl-pick {
  flex: none;
  margin-left: 8px;
  padding: 5px 13px;
  border: 1px solid rgba(201, 164, 92, .6);
  border-radius: 999px;
  background: rgba(201, 164, 92, .12);
  color: #8a6a22;
  font-size: 12px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}
.form-row .tbl-pick:active { opacity: .8; }

.tbl-mask {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15, 25, 20, .55);
  z-index: 60;
  align-items: flex-end; justify-content: center;
}
.tbl-mask.show { display: flex; }

.tbl-sheet {
  width: 100%; max-width: 520px;
  max-height: 74vh;
  background: var(--card);
  border-radius: 18px 18px 0 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: tbl-up .2s ease-out;
}
@keyframes tbl-up {
  from { transform: translateY(26px); opacity: .5; }
  to   { transform: translateY(0);    opacity: 1; }
}

.tbl-sheet-hd {
  flex: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 16px 12px;
  border-bottom: 1px solid var(--line);
}
.tbl-sheet-hd h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--text); }
.tbl-sheet-hd a { font-size: 13px; color: var(--muted); text-decoration: none; }

.tbl-sheet-bd {
  padding: 4px 16px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.tbl-group { padding: 12px 0 2px; }
.tbl-group-t { font-size: 12.5px; font-weight: 700; color: var(--text); margin-bottom: 9px; }
.tbl-group-t em {
  font-style: normal; margin-left: 6px; padding: 1px 7px;
  font-size: 10.5px; font-weight: 700; color: #8a6a22;
  background: rgba(201, 164, 92, .16);
  border: 1px solid rgba(201, 164, 92, .5);
  border-radius: 999px;
}
.tbl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tbl-chip {
  display: inline-flex; align-items: baseline; gap: 5px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7faf8;
  color: var(--text);
  font-size: 13.5px; font-family: inherit;
  cursor: pointer;
}
.tbl-chip i { font-style: normal; font-size: 11px; color: var(--muted); }
.tbl-chip:active { border-color: var(--gold); background: rgba(201, 164, 92, .12); }
.tbl-chip.ghost { color: var(--muted); border-style: dashed; background: transparent; }
.tbl-empty { padding: 26px 0; text-align: center; font-size: 13px; color: var(--muted); }

/* 桌号行：标签带「选填」小字，避免换行 */
.form-row.tbl-row label { width: auto; flex: none; white-space: nowrap; margin-right: 10px; }
.form-row.tbl-row label i { font-style: normal; font-size: 11px; color: var(--muted); }
