/* ==========================================================================
   2026 培育钻石产业大会 · 晚宴餐券系统
   设计令牌：钻蓝 #0f4c81 + 海报亮蓝 #1e63e9，移动优先（375px 起）
   ========================================================================== */
:root {
  --brand: #0f4c81;
  --brand-2: #1e63e9;
  --brand-3: #4f8cf7;
  --cyan: #22d3ee;
  --ink: #0d1b2a;
  --ink-2: #2b3a4d;
  --muted: #77869b;
  --line: #e3ecf8;
  --bg: #eef3fb;
  --card: #ffffff;
  --ok: #16a34a;
  --ok-bg: #e9f9ef;
  --warn: #d97706;
  --warn-bg: #fff7e8;
  --danger: #dc2626;
  --danger-bg: #fdeeee;
  --info-bg: #eef5ff;
  --radius: 18px;
  --shadow: 0 2px 8px rgba(15, 76, 129, .06), 0 12px 28px -18px rgba(15, 76, 129, .35);
  --grad: linear-gradient(135deg, #1a5ce0 0%, #0f4c81 100%);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: #dfe7f4;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--brand-2); text-decoration: none; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 16px; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* 手机外壳：桌面居中，移动端满屏 */
.app {
  max-width: 460px; margin: 0 auto; min-height: 100vh;
  background: var(--bg); position: relative; overflow-x: hidden;
  box-shadow: 0 0 60px rgba(13, 27, 42, .18);
}
.app.wide { max-width: 1180px; }

/* ---------------- 顶部 ---------------- */
.hero { position: relative; background: #0f4c81; }
.hero-bg { width: 100%; height: 200px; object-fit: cover; object-position: center 32%; opacity: .95; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 40, 90, .10) 0%, rgba(10, 40, 90, .55) 100%);
}
.hero-in { position: absolute; left: 0; right: 0; bottom: 14px; padding: 0 18px; color: #fff; z-index: 2; }

/* 浅色英雄区：与大会主视觉（浅蓝天空 + 深蓝标题）一致 */
.hero.light {
  background: #cfe2ff url("/assets/hero-bg.jpg") center 60% / cover no-repeat;
  min-height: 214px; display: flex; align-items: flex-end;
}
.hero.light::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(238, 243, 251, .72) 58%, var(--bg) 100%);
}
.hero.light .hero-in { position: relative; bottom: auto; width: 100%; color: var(--ink); padding: 0 18px 12px; }
.hero.light .hero-logo { width: 40px; height: 34px; object-fit: contain; margin-bottom: 4px; }
.hero.light .hero-title-img { width: 100%; max-width: 306px; height: auto; display: block; margin: 0 0 2px; }
.hero.light h1 { color: var(--brand); font-size: 20px; letter-spacing: 1px; }
.hero.light .sub { color: #3f5a7a; opacity: 1; }
.hero.light .slogan {
  display: flex; align-items: center; gap: 8px; margin-top: 4px;
  font-size: 12px; color: var(--brand-2); letter-spacing: 3px; font-weight: 600;
}
.hero.light .slogan::before { content: ''; width: 18px; height: 2px; background: var(--brand-3); }

/* 深色英雄区 */
.hero.dark .hero-logo { width: 38px; height: 32px; object-fit: contain; filter: brightness(0) invert(1); opacity: .95; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 2px; padding: 3px 9px; border-radius: 20px;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(6px);
}
.hero h1 { font-size: 19px; line-height: 1.35; margin: 8px 0 2px; font-weight: 700; letter-spacing: .5px; }
.hero .sub { font-size: 12px; opacity: .82; letter-spacing: .3px; }

/* 页面标题条（后台用） */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.topbar .logo { width: 30px; height: 26px; object-fit: contain; }
.topbar .t { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.topbar .s { font-size: 11px; color: var(--muted); }
.topbar .grow { flex: 1; }

/* ---------------- 卡片 ---------------- */
.wrap { padding: 14px; }
.card {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; margin-bottom: 14px;
}
.card-hd {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px 6px; font-size: 15px; font-weight: 700;
}
.card-hd .sub { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: auto; }
.card-bd { padding: 10px 16px 16px; }
.card-bd.tight { padding: 0; }
.divider { height: 1px; background: var(--line); margin: 12px 0; }

/* ---------------- 表单 ---------------- */
.field { margin-bottom: 14px; }
.field label {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--ink-2); font-weight: 600; margin-bottom: 6px;
}
.field label .req { color: var(--danger); }
.input {
  width: 100%; height: 50px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fbfdff;
  font-size: 16px; color: var(--ink); outline: none; transition: border-color .15s, background .15s;
}
.input:focus { border-color: var(--brand-2); background: #fff; box-shadow: 0 0 0 3px rgba(30, 99, 233, .1); }
.input.err { border-color: var(--danger); background: #fffafa; }
.input::placeholder { color: #b3c0d2; }
.field .err-tip { display: none; font-size: 12px; color: var(--danger); margin-top: 6px; }
.field .err-tip.show { display: block; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.field .hint.good { color: var(--ok); }
.field .hint.warn { color: var(--warn); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 48px; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink-2); font-size: 15px; font-weight: 600;
  cursor: pointer; transition: transform .08s, opacity .15s, box-shadow .15s;
  min-width: 44px;
}
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--grad); color: #fff; border: none; box-shadow: 0 8px 20px -10px rgba(30, 99, 233, .8); }
.btn-ok { background: var(--ok); color: #fff; border: none; }
.btn-danger { background: #fff; color: var(--danger); border-color: #f6c9c9; }
.btn-ghost { background: #f4f8ff; border-color: transparent; color: var(--brand-2); }
.btn-block { width: 100%; }
.btn-lg { height: 52px; font-size: 16px; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; font-weight: 500; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-row { display: flex; gap: 10px; }
.btn-row .btn { flex: 1; }

/* 底部吸底 */
.sticky-bar {
  position: sticky; bottom: 0; z-index: 25;
  padding: 12px 16px calc(12px + var(--safe-b));
  background: linear-gradient(180deg, rgba(238, 243, 251, 0) 0%, var(--bg) 28%);
}

/* ---------------- 徽标 ---------------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  height: 22px; padding: 0 8px; border-radius: 6px;
  font-size: 11px; font-weight: 600; line-height: 1; white-space: nowrap;
}
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.danger { background: var(--danger-bg); color: var(--danger); }
.badge.info { background: var(--info-bg); color: var(--brand-2); }
.badge.gray { background: #eef1f6; color: #7a8798; }
.badge.gold { background: #fdf6e3; color: #a16207; }

/* ---------------- 信息行 ---------------- */
.kv { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; font-size: 14px; }
.kv .k { color: var(--muted); flex: none; }
.kv .v { color: var(--ink); font-weight: 600; text-align: right; }
.kv + .kv { border-top: 1px dashed #eef2f8; }

/* ---------------- 三段进度 ---------------- */
.steps { display: flex; align-items: center; margin: 8px 0 4px; }
.step { flex: 1; text-align: center; position: relative; font-size: 11px; color: var(--muted); }
.step .dot {
  width: 22px; height: 22px; margin: 0 auto 6px; border-radius: 50%;
  border: 2px solid #d7e2f2; background: #fff; color: #b9c6d8;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
  position: relative; z-index: 2;
}
.step.done .dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.step.now .dot { background: #fff; border-color: var(--brand-2); color: var(--brand-2); box-shadow: 0 0 0 4px rgba(30, 99, 233, .12); }
.step.done, .step.now { color: var(--ink-2); font-weight: 600; }
.step::before {
  content: ''; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: #e2eaf6;
}
.step:first-child::before { display: none; }
.step.done::before { background: #bfe6cd; }

/* ---------------- 结果大屏（核销） ---------------- */
.result {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 30px; color: #fff; text-align: center;
}
.result.ok { background: linear-gradient(160deg, #17915a 0%, #0d6b40 100%); }
.result.bad { background: linear-gradient(160deg, #e04848 0%, #a51c1c 100%); }
.result.warn { background: linear-gradient(160deg, #e0a83a 0%, #a86a0b 100%); }
.result .icon { font-size: 72px; line-height: 1; margin-bottom: 10px; }
.result h2 { font-size: 34px; margin: 0 0 6px; letter-spacing: 2px; font-weight: 800; }
.result .who { font-size: 26px; font-weight: 700; margin: 12px 0 2px; }
.result .meta { font-size: 15px; opacity: .92; }
.result .table {
  margin-top: 18px; padding: 10px 26px; border-radius: 14px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3);
  font-size: 40px; font-weight: 800; letter-spacing: 2px;
}
.result .reason { margin-top: 16px; font-size: 15px; line-height: 1.7; opacity: .95; max-width: 320px; }
.result .close { position: absolute; top: 18px; right: 18px; font-size: 14px; opacity: .8; }

/* ---------------- 九宫格 ---------------- */
.grid9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cell {
  background: #fff; border-radius: 14px; padding: 12px 8px 10px; text-align: center;
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.cell .n { font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.cell .l { font-size: 11px; color: var(--muted); margin-top: 3px; }
.cell .d { font-size: 10px; color: var(--muted); margin-top: 2px; height: 12px; }
.cell.hl { background: linear-gradient(160deg, #f3f8ff, #fff); border-color: #cfe0fb; }
.cell .n.ok { color: var(--ok); }
.cell .n.bad { color: var(--danger); }
.cell .n.brand { color: var(--brand); }
.cell .n.warn { color: var(--warn); }
.cell.bad-border { border-color: #f3c2c2; }

.check-row {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px;
  font-size: 11px; color: var(--muted);
}
.check-row .ck { padding: 3px 7px; border-radius: 6px; background: #f2f7ef; color: #3a7a4d; }
.check-row .ck.bad { background: var(--danger-bg); color: var(--danger); font-weight: 700; }

/* 比率 */
.rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.rate { background: #f7faff; border-radius: 12px; padding: 10px 8px; text-align: center; }
.rate .v { font-size: 20px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.rate .l { font-size: 11px; color: var(--muted); }
.rate .f { font-size: 10px; color: #a3b0c2; margin-top: 2px; }

/* ---------------- 漏斗 ---------------- */
.funnel { display: flex; flex-direction: column; gap: 8px; }
.fn-row { display: flex; align-items: center; gap: 10px; }
.fn-bar { height: 30px; border-radius: 8px; background: var(--grad); position: relative; min-width: 40px; transition: width .4s; }
.fn-bar span { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: #fff; font-size: 13px; font-weight: 700; }
.fn-label { width: 72px; font-size: 12px; color: var(--muted); flex: none; }
.fn-rate { width: 52px; text-align: right; font-size: 12px; color: var(--brand); font-weight: 700; flex: none; }

/* ---------------- 列表 ---------------- */
.row {
  display: flex; align-items: center; gap: 10px; padding: 13px 16px;
  border-bottom: 1px solid #f1f5fb;
}
.row:last-child { border-bottom: none; }
.row .main { flex: 1; min-width: 0; }
.row .name { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.row .meta { font-size: 12px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .right { text-align: right; flex: none; }
.row .right .t { font-size: 13px; font-weight: 700; color: var(--brand); }
.row .right .s { font-size: 11px; color: var(--muted); }
.row .chev { flex: none; color: #c3cfdd; font-size: 18px; line-height: 1; margin-left: -2px; }

/* 审核卡片 */
.rcard {
  background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(15, 76, 129, .06); border: 1px solid #eef3fa;
}
.rcard .hd { display: flex; align-items: flex-start; gap: 8px; }
.rcard .nm { font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.rcard .og { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.rcard .mt { font-size: 11.5px; color: var(--muted); margin-top: 6px; display: flex; gap: 10px; flex-wrap: wrap; }
.rcard .ops { display: flex; gap: 8px; margin-top: 12px; }
.rcard .ops .btn { flex: 1; height: 48px; font-size: 15px; }
.rcard.sel { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(30, 99, 233, .1); }

/* ---------------- 分段控件 ---------------- */
.seg { display: flex; gap: 6px; background: #eaf0f9; padding: 4px; border-radius: 12px; overflow-x: auto; }
.seg button {
  flex: 1; border: none; background: transparent; padding: 8px 6px; border-radius: 9px;
  font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; min-width: 62px;
}
.seg button.on { background: #fff; color: var(--brand); box-shadow: 0 1px 4px rgba(15, 76, 129, .12); }

/* ---------------- 底部标签栏 ---------------- */
.tabbar {
  position: sticky; bottom: 0; z-index: 30; display: flex;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 6px 4px calc(6px + var(--safe-b));
}
.tabbar button {
  flex: 1; border: none; background: transparent; padding: 6px 2px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--muted); font-size: 10.5px; font-weight: 600;
}
.tabbar button .ico { font-size: 19px; line-height: 1; }
.tabbar button.on { color: var(--brand-2); }
.tabbar button .dot-abs {
  position: absolute; transform: translate(14px, -2px); width: 7px; height: 7px;
  background: var(--danger); border-radius: 50%;
}

/* ---------------- 凭证 ---------------- */
.pass { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px -18px rgba(15, 76, 129, .5); }
.pass-hd {
  background: linear-gradient(135deg, #1a5ce0, #0f4c81); color: #fff;
  padding: 16px; position: relative; overflow: hidden;
}
.pass-hd::after {
  content: ''; position: absolute; right: -40px; top: -50px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(255,255,255,.25), transparent 65%);
}
.pass-hd .top { display: flex; align-items: center; gap: 8px; }
.pass-hd .top img { width: 26px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); opacity: .95; }
.pass-hd .org { font-size: 11px; letter-spacing: 1px; opacity: .85; }
.pass-hd h2 { font-size: 17px; margin: 10px 0 4px; font-weight: 700; line-height: 1.4; }
.pass-hd .when { font-size: 13px; opacity: .95; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pass-hd .when b { font-size: 15px; }

.pass-body { padding: 16px; }
.pass-table { text-align: center; padding: 4px 0 14px; border-bottom: 1px dashed #dfe8f5; }
.pass-table .l { font-size: 12px; color: var(--muted); letter-spacing: 3px; }
.pass-table .v { font-size: 46px; font-weight: 800; letter-spacing: 4px; color: var(--brand); line-height: 1.1; }
.pass-table .z { font-size: 12px; color: var(--muted); }

.code-box { text-align: center; padding: 16px 0 6px; }
.code-label { font-size: 12px; color: var(--muted); letter-spacing: 2px; }
.code-val {
  font-size: 27px; font-weight: 800; letter-spacing: 6px; color: var(--ink);
  font-family: ui-monospace, Menlo, Consolas, monospace; margin-top: 6px;
}
.qr-wrap {
  width: 200px; height: 200px; margin: 12px auto 6px; padding: 8px;
  background: #fff; border-radius: 12px; border: 1px solid var(--line);
  position: relative;
}
.qr-wrap img { width: 100%; height: 100%; }
.qr-wrap.dim img { opacity: .18; filter: grayscale(1); }
.qr-stamp {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: var(--muted); letter-spacing: 2px; transform: rotate(-16deg);
}
.watermark {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  font-size: 13px; color: rgba(15, 76, 129, .07); line-height: 44px; transform: rotate(-22deg);
}

/* ---------------- 提示条 ---------------- */
.alert {
  display: flex; gap: 8px; padding: 11px 13px; border-radius: 12px;
  font-size: 13px; line-height: 1.6; margin-bottom: 12px;
}
.alert.info { background: var(--info-bg); color: #1a4b8f; }
.alert.ok { background: var(--ok-bg); color: #14663a; }
.alert.warn { background: var(--warn-bg); color: #8a5a06; }
.alert.danger { background: var(--danger-bg); color: #96201f; }

/* ---------------- 弹层 ---------------- */
.mask {
  position: fixed; inset: 0; z-index: 70; background: rgba(11, 24, 40, .45);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fadeIn .18s ease;
}
.mask.center { align-items: center; padding: 24px; }
.sheet {
  width: 100%; max-width: 460px; background: #fff; border-radius: 20px 20px 0 0;
  padding: 18px 16px calc(18px + var(--safe-b)); max-height: 86vh; overflow-y: auto;
  animation: slideUp .22s cubic-bezier(.2, .8, .3, 1);
}
.mask.center .sheet { border-radius: 18px; padding: 18px; animation: pop .18s ease; }
.sheet h3 { margin: 0 0 4px; font-size: 17px; }
.sheet .sub { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
@keyframes slideUp { from { transform: translateY(24px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* 选项按钮组（不发券原因） */
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts button {
  padding: 9px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: #fff; font-size: 14px; color: var(--ink-2);
}
.opts button.on { border-color: var(--brand-2); color: var(--brand-2); background: #f3f8ff; font-weight: 600; }

/* Toast */
.toast {
  position: fixed; left: 50%; top: 18%; transform: translateX(-50%);
  background: rgba(13, 27, 42, .9); color: #fff; padding: 10px 16px;
  border-radius: 10px; font-size: 14px; z-index: 95; max-width: 80vw;
  animation: pop .16s ease;
}

/* 空态 */
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty .ico { font-size: 40px; opacity: .35; margin-bottom: 8px; }
.empty p { margin: 0; font-size: 13px; }

/* 表格（大屏/台账） */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th, .tbl td { padding: 9px 10px; text-align: left; border-bottom: 1px solid #f0f4fa; white-space: nowrap; }
.tbl th { color: var(--muted); font-weight: 600; font-size: 12px; background: #f8fbff; position: sticky; top: 0; }

/* 桌面端放大 */
@media (min-width: 760px) {
  .app { margin-top: 0; }
  .grid9 .cell .n { font-size: 32px; }
}

/* 打印（纸质名单兜底） */
@media print {
  body { background: #fff; }
  .tabbar, .sticky-bar, .topbar .btn { display: none; }
}

/* ============ 桌位管理 ============ */
.seat-sum { display: flex; gap: 6px; }
.seat-sum .sm {
  flex: 1; text-align: center; padding: 8px 2px;
  background: #f7faff; border-radius: 10px;
}
.seat-sum .sm b { display: block; font-size: 19px; color: var(--brand); font-variant-numeric: tabular-nums; line-height: 1.2; }
.seat-sum .sm span { font-size: 10.5px; color: var(--muted); }

.seat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr));
  gap: 7px; padding-top: 12px;
}
.scell {
  position: relative; border-radius: 10px; padding: 9px 4px 8px;
  text-align: center; cursor: pointer; border: 1px solid #dbe4f0;
  background: #fff; transition: transform .12s, box-shadow .12s;
  -webkit-tap-highlight-color: transparent;
}
.scell:active { transform: scale(.95); }
.scell .no { font-size: 13.5px; font-weight: 800; color: var(--brand); line-height: 1.1; }
.scell .cnt { font-size: 10.5px; color: var(--muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.scell .lk {
  position: absolute; top: -5px; right: -3px;
  font-size: 8.5px; background: #d9b26a; color: #fff;
  padding: 1px 4px; border-radius: 5px; font-weight: 700;
}
.scell.empty  { background: #fff; }
.scell.h50    { background: #eff6ff; border-color: #cfe2ff; }
.scell.h80    { background: #fef9e7; border-color: #f6e2b4; }
.scell.h80 .no { color: #b45309; }
.scell.full   { background: #1e63e9; border-color: #1e63e9; }
.scell.full .no, .scell.full .cnt { color: #fff; }

.legend {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed #e6eefb;
  font-size: 10.5px; color: var(--muted);
}
.legend span { display: flex; align-items: center; gap: 4px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* 桌位详情：成员列表 */
.tmates { display: flex; flex-direction: column; gap: 7px; }
.tm {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 11px; background: #f8fbff; border-radius: 10px;
}
.tm .nm { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.tm .nm .bd {
  font-size: 9.5px; font-weight: 600; padding: 1px 5px; border-radius: 4px;
  background: #dbeafe; color: #1e40af; margin-left: 4px; vertical-align: 1px;
}
.tm .og { font-size: 11px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
