
  :root {
    --gold: #C9A253;
    --gold-deep: #A8842F;
    --gold-soft: #F7F0E1;
    --gold-line: #EADFC4;
    --ink: #1C1C1E;
    --ink-2: #4A4A50;
    --ink-3: #8A8A92;
    --line: #ECECEE;
    --bg: #FFFFFF;
    --bg-2: #FAFAFB;
    --red: #C0392B;
    --shadow: 0 1px 2px rgba(16,16,20,.04), 0 8px 24px rgba(16,16,20,.05);
  }
  * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 88px;
  }
  img { max-width: 100%; height: auto; display: block; }
  button { font-family: inherit; font-size: inherit; cursor: pointer; border: none; background: none; }
  input, select, textarea { font-family: inherit; font-size: 15px; }

  /* ---------- 顶部 ---------- */
  .topbar {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .topbar-inner {
    max-width: 720px; margin: 0 auto;
    padding: 12px 18px 10px;
    display: flex; align-items: center; gap: 12px;
  }
  .brand { display: flex; align-items: center; gap: 9px; }
  .brand-mark {
    width: 28px; height: 28px; border-radius: 9px;
    background: linear-gradient(140deg, #E2C079 0%, var(--gold) 55%, var(--gold-deep) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .5px;
    box-shadow: 0 2px 8px rgba(201,162,83,.32);
  }
  .brand-name { font-size: 15px; font-weight: 600; letter-spacing: .2px; }

  /* ---------- 页头 ---------- */
  .hero {
    max-width: 720px; margin: 0 auto;
    padding: 26px 18px 6px;
  }
  .hero h1 {
    margin: 0 0 6px;
    font-size: clamp(24px, 6vw, 32px);
    font-weight: 700;
    letter-spacing: -.4px;
  }
  .hero p { margin: 0; color: var(--ink-3); font-size: 13.5px; }

  /* 首页大 logo（顾客端门户，%ARABICA 式居中构图） */
  body.admin-mode .hero-home { display: none; }
  body.home-mode .hero-admin { display: none; }
  .hero-home { text-align: center; padding: 34px 18px 2px; }
  .hh-stage { display: inline-flex; flex-direction: column; align-items: center; }
  .hh-mark {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, #F3E5C2, #D8B976);
    border: 1px solid #C9A253;
    color: #4A3A20; font-size: 30px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(201,162,83,.30), inset 0 0 0 3px rgba(255,255,255,.5);
  }
  .hh-word {
    margin-top: 10px;
    font-size: 26px; font-weight: 700; letter-spacing: 7px; text-indent: 7px;
    color: var(--ink);
  }
  .hh-en {
    margin-top: 2px;
    font-size: 10px; letter-spacing: 4.5px; text-indent: 4.5px;
    color: var(--gold-deep); font-weight: 600;
  }
  .hh-sub { margin: 10px 0 0; color: var(--ink-3); font-size: 12.5px; letter-spacing: 1px; }

  /* ---------- 概览 ---------- */
  .stats {
    max-width: 720px; margin: 18px auto 0;
    padding: 0 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .stat {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 12px;
    text-align: center;
  }
  .stat-num {
    display: block;
    font-size: clamp(19px, 5vw, 24px);
    font-weight: 700;
    letter-spacing: -.5px;
    color: var(--gold-deep);
    font-variant-numeric: tabular-nums;
  }
  .stat-label { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ink-3); }

  /* ---------- 英文副标（主标下方小字） ---------- */
  .bi { display: block; margin-top: 1px; line-height: 1.3; }
  .bi-en {
    display: block;
    font-size: 9px;
    letter-spacing: .7px;
    color: var(--ink-4, #A79E8C);
    font-weight: 500;
    text-transform: none;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
  /* 深色背景上的英文（tabs 选中 / 大卡） */
  .tab.on .bi-en { color: rgba(122,108,86,.75); }
  .hcard-big .bi-en { color: var(--ink-4, #A79E8C); }
  .stat .bi { margin-top: 3px; }

  /* ---------- 分段控件 ---------- */
  .tabs {
    max-width: 720px; margin: 22px auto 0;
    padding: 0 18px;
  }
  .tabs-inner {
    display: flex; gap: 4px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 4px;
  }
  .tab {
    flex: 1; text-align: center;
    padding: 7px 6px 6px;
    border-radius: 10px;
    font-size: 13.5px; font-weight: 500;
    line-height: 1.25;
    color: var(--ink-2);
    transition: background .18s, color .18s, box-shadow .18s;
  }
  .tab .bi { margin-top: 2px; }
  .tab .bi-en { font-size: 8px; letter-spacing: .3px; }
  .tab.on {
    background: #fff;
    color: var(--ink);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,.07);
  }

  /* ---------- 主体 ---------- */
  main { max-width: 720px; margin: 0 auto; padding: 18px 18px 0; }
  .panel { display: none; }
  .panel.on { display: block; animation: fade .22s ease; }
  @keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

  /* ---------- 首页：问候 + 三入口宫格 ---------- */
  .hello {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg-2); border: 1px solid var(--line);
    border-radius: 14px; padding: 12px 14px;
  }
  .hello-ava {
    width: 38px; height: 38px; border-radius: 50%; flex: none;
    background: linear-gradient(135deg, #F3E5C2, #D8B976);
    border: 1px solid #C9A253; color: #4A3A20;
    font-size: 17px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }
  .hello-txt { flex: 1; min-width: 0; }
  .hello-hi { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }
  .hello-meta { margin: 1px 0 0; font-size: 11.5px; color: var(--ink-3); }
  .hello-go {
    flex: none; border: 1px solid #C9A253; color: var(--gold-deep);
    background: #FDFBF4; border-radius: 999px;
    font-size: 12px; font-weight: 600; padding: 6px 12px;
  }
  .home-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    margin-top: 12px;
  }
  .hcard {
    text-align: left;
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    padding: 10px 12px 14px;
    display: flex; flex-direction: column;
    box-shadow: 0 2px 10px rgba(60,45,20,.06);
    transition: transform .18s, box-shadow .18s;
    animation: fade .3s ease backwards;
  }
  .hcard:nth-child(2) { animation-delay: .06s; }
  .hcard:nth-child(3) { animation-delay: .12s; }
  .hcard:active { transform: scale(.98); }
  .hcard-big { grid-row: span 2; padding-bottom: 18px; }
  .h-fig {
    display: block; width: 100%;
    border-radius: 12px; overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #F9F4E9;
    margin-bottom: 10px;
  }
  .hcard-big .h-fig { aspect-ratio: 4 / 4.6; }
  .h-fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .h-kicker {
    font-size: 10.5px; letter-spacing: 2px; text-indent: 2px;
    color: var(--gold-deep); font-weight: 600;
  }
  .h-title { margin-top: 2px; font-size: 17px; font-weight: 700; color: var(--ink); }
  .hcard-big .h-title { font-size: 19px; }
  .h-sub {
    margin-top: 6px; font-size: 12px; line-height: 1.55;
    color: var(--ink-3);
  }
  .h-cta {
    margin-top: 10px;
    align-self: flex-start;
    background: #2B2418; color: #F3E5C2;
    border-radius: 999px; padding: 7px 16px;
    font-size: 12.5px; font-weight: 600; letter-spacing: 1px;
  }
  .hcard-big .h-cta { margin-top: auto; }
  .home-note {
    margin: 14px 2px 0; text-align: center;
    font-size: 11.5px; color: var(--ink-3); letter-spacing: .3px;
  }

  .sec-title {
    display: flex; align-items: baseline; justify-content: space-between;
    margin: 4px 0 12px;
  }
  .sec-title h2 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.2px; }
  .sec-title span { font-size: 12.5px; color: var(--ink-3); }

  /* ---------- 可替换图标位 ---------- */
  .sec-ico {
    display: inline-flex; align-items: center; justify-content: center;
    flex: 0 0 30px; width: 30px; height: 30px;
    margin-right: 9px; vertical-align: -9px;
    border-radius: 9px; overflow: hidden;
    background: var(--gold-soft); border: 1px solid var(--gold-line);
    color: var(--gold-deep);
  }
  .sec-ico svg { width: 17px; height: 17px; display: block; }
  .sec-ico.custom img { width: 100%; height: 100%; object-fit: cover; display: block; }

  /* ---------- 兑换商品 ---------- */
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  @media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); } }
  .card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 15px;
    display: flex; flex-direction: column; gap: 10px;
    transition: border-color .18s, box-shadow .18s, transform .18s;
  }
  .card:active { transform: scale(.985); }
  .card:hover { border-color: var(--gold-line); box-shadow: var(--shadow); }
  .card-top { display: flex; align-items: flex-start; gap: 10px; }
  .thumb {
    flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px;
    background: linear-gradient(145deg, var(--gold-soft), #FDFBF6);
    border: 1px solid var(--gold-line);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700; color: var(--gold-deep);
  }
  .card-name { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.1px; }
  .card-cat { margin: 2px 0 0; font-size: 11.5px; color: var(--ink-3); }
  .card-desc {
    margin: 0; font-size: 12.5px; color: var(--ink-2);
    min-height: 34px;
  }
  .card-foot {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; padding-top: 10px;
    border-top: 1px dashed var(--line);
  }
  .pts { display: flex; align-items: baseline; gap: 3px; }
  .pts b {
    font-size: 18px; font-weight: 700; color: var(--gold-deep);
    font-variant-numeric: tabular-nums; letter-spacing: -.4px;
  }
  .pts i { font-style: normal; font-size: 11.5px; color: var(--ink-3); }
  .btn {
    padding: 7px 15px; border-radius: 9px;
    background: var(--ink); color: #fff;
    font-size: 13px; font-weight: 500;
    transition: opacity .18s;
  }
  .btn:active { opacity: .78; }
  .btn:disabled { background: #EDEDEF; color: var(--ink-3); cursor: not-allowed; }
  .btn.gold { background: linear-gradient(140deg, #D6B36A, var(--gold-deep)); }
  .stock-off { font-size: 12px; color: var(--ink-3); }

  /* ---------- 筛选 ---------- */
  .filters {
    display: flex; gap: 8px; overflow-x: auto;
    padding: 0 0 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .chip {
    flex: 0 0 auto;
    padding: 6px 13px; border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff; color: var(--ink-2);
    font-size: 13px; white-space: nowrap;
    transition: all .16s;
  }
  .chip.on {
    background: var(--gold-soft);
    border-color: var(--gold-line);
    color: var(--gold-deep);
    font-weight: 600;
  }

  /* ---------- 表单 ---------- */
  .form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
  }
  .field { margin-bottom: 15px; }
  .field:last-of-type { margin-bottom: 20px; }
  .field label {
    display: block; margin-bottom: 6px;
    font-size: 13px; font-weight: 500; color: var(--ink-2);
  }
  .field label em { font-style: normal; color: var(--gold-deep); margin-left: 2px; }
  .field input, .field select, .field textarea {
    width: 100%; padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--bg-2);
    color: var(--ink);
    outline: none;
    transition: border-color .16s, background .16s, box-shadow .16s;
    -webkit-appearance: none; appearance: none;
  }
  .field select {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A8A92' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 34px;
  }
  .field textarea { min-height: 76px; resize: vertical; }
  .field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201,162,83,.13);
  }
  .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .submit {
    width: 100%; padding: 13px;
    border-radius: 12px;
    background: linear-gradient(140deg, #2A2A2E, #111114);
    color: #fff; font-size: 15px; font-weight: 600;
    letter-spacing: .3px;
    transition: opacity .18s;
  }
  .submit:active { opacity: .82; }
  .submit:disabled { background: #EDEDEF; color: var(--ink-3); cursor: not-allowed; }

  /* ---------- 独享空间（包场） ---------- */
  .pv-hero {
    position: relative;
    padding: 22px 20px 20px;
    border-radius: 16px;
    border: 1px solid var(--gold-line);
    background:
      radial-gradient(120% 90% at 100% 0%, rgba(201,162,83,.16) 0%, rgba(201,162,83,0) 62%),
      linear-gradient(165deg, #FCFAF5, #F6F2E9);
    overflow: hidden;
  }
  .pv-hero::after {
    content: ''; position: absolute; right: -30px; bottom: -38px;
    width: 132px; height: 132px; border-radius: 50%;
    border: 1.4px solid rgba(201,162,83,.28);
    box-shadow: inset 0 0 0 12px rgba(255,255,255,.5), inset 0 0 0 13.4px rgba(201,162,83,.16);
    pointer-events: none;
  }
  .pv-kicker {
    display: block; font-size: 9.5px; font-weight: 700;
    letter-spacing: .34em; color: #B79A5C; margin-bottom: 7px;
  }
  .pv-hero h2 {
    margin: 0 0 7px; font-size: 21px; font-weight: 700;
    letter-spacing: -.3px; color: var(--ink);
  }
  .pv-hero p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.62; max-width: 92%; }

  .pv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .pv-card {
    padding: 14px 13px 13px;
    border-radius: 13px;
    border: 1px solid var(--line);
    background: linear-gradient(172deg, #FFFFFF, #FCFBF8);
    box-shadow: 0 1px 2px rgba(16,16,20,.03);
  }
  .pv-ico {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; margin-bottom: 9px;
    border-radius: 10px;
    background: var(--gold-soft);
    border: 1px solid var(--gold-line);
    color: var(--gold-deep);
  }
  .pv-ico svg { width: 17px; height: 17px; }
  .pv-card h4 { margin: 0 0 4px; font-size: 13.5px; font-weight: 700; letter-spacing: -.1px; }
  .pv-card p { margin: 0; font-size: 11.5px; color: var(--ink-3); line-height: 1.55; }

  .pv-scenes { display: flex; flex-wrap: wrap; gap: 8px; }
  .pv-scenes span {
    padding: 6px 13px; border-radius: 999px;
    font-size: 12.5px; color: var(--gold-deep);
    background: var(--gold-soft);
    border: 1px solid var(--gold-line);
  }
  .pv-note {
    margin: 14px 0 0; font-size: 11.5px; color: var(--ink-3);
    line-height: 1.6; text-align: center;
  }

  /* ---------- 会员列表 ---------- */
  .mlist { display: flex; flex-direction: column; gap: 10px; }
  .mrow {
    display: flex; align-items: center; gap: 13px;
    background: #fff; border: 1px solid var(--line);
    border-radius: 14px; padding: 13px 15px;
  }
  .avatar {
    flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
    background: var(--gold-soft); color: var(--gold-deep);
    border: 1px solid var(--gold-line);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 600;
  }
  img.avatar-img { object-fit: cover; display: block; background: var(--gold-soft); }
  .mname { font-size: 14.5px; font-weight: 600; }
  .msub { font-size: 12px; color: var(--ink-3); margin-top: 1px; }
  .mright { margin-left: auto; text-align: right; }
  .lv {
    display: inline-block; padding: 2px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 600;
    background: var(--gold-soft); color: var(--gold-deep);
    border: 1px solid var(--gold-line);
  }
  .mpts { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
  .mpts b { color: var(--gold-deep); font-weight: 700; font-variant-numeric: tabular-nums; }

  /* ---------- 状态 ---------- */
  .state {
    text-align: center; padding: 44px 16px;
    color: var(--ink-3); font-size: 13.5px;
  }
  .state .ico {
    width: 44px; height: 44px; margin: 0 auto 12px;
    border-radius: 14px; background: var(--bg-2);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--ink-3);
  }
  .skeleton { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
  .sk {
    height: 148px; border-radius: 16px;
    background: linear-gradient(100deg, #F4F4F6 30%, #FAFAFB 50%, #F4F4F6 70%);
    background-size: 220% 100%;
    animation: shine 1.3s infinite linear;
  }
  @keyframes shine { from { background-position: 120% 0; } to { background-position: -120% 0; } }

  /* ---------- Toast / 弹层 ---------- */
  .toast {
    position: fixed; left: 50%; bottom: 96px;
    transform: translate(-50%, 16px);
    background: rgba(28,28,30,.94);
    color: #fff; font-size: 13.5px;
    padding: 10px 18px; border-radius: 11px;
    opacity: 0; pointer-events: none;
    transition: opacity .22s, transform .22s;
    z-index: 90; max-width: 82vw; text-align: center;
    backdrop-filter: blur(6px);
  }
  .toast.on { opacity: 1; transform: translate(-50%, 0); }

  .mask {
    position: fixed; inset: 0; z-index: 80;
    background: rgba(20,20,24,.42);
    backdrop-filter: blur(2px);
    display: none; align-items: flex-end; justify-content: center;
  }
  .mask.on { display: flex; }
  .sheet {
    width: 100%; max-width: 720px;
    background: #fff;
    border-radius: 22px 22px 0 0;
    padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
    animation: rise .24s cubic-bezier(.2,.8,.3,1);
  }
  @keyframes rise { from { transform: translateY(28px); opacity: .6; } to { transform: none; opacity: 1; } }
  .sheet h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; letter-spacing: -.3px; }
  .sheet .sub { margin: 0 0 16px; font-size: 13px; color: var(--ink-3); }
  .sheet-pts {
    display: flex; align-items: baseline; gap: 6px;
    background: var(--gold-soft);
    border: 1px solid var(--gold-line);
    border-radius: 13px; padding: 14px 16px; margin-bottom: 18px;
  }
  .sheet-pts b { font-size: 26px; font-weight: 700; color: var(--gold-deep); letter-spacing: -.6px; }
  .sheet-pts span { font-size: 13px; color: var(--gold-deep); }
  .sheet-actions { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; }
  .btn-ghost {
    padding: 12px; border-radius: 12px;
    border: 1px solid var(--line); background: #fff;
    color: var(--ink-2); font-size: 15px; font-weight: 500;
  }

  /* ---------- 隐形会员验证弹层 ---------- */
  .authmask { z-index: 92; }
  .auth-seal {
    width: 40px; height: 40px; margin-bottom: 12px;
    border-radius: 13px;
    background: linear-gradient(140deg, #E2C079 0%, var(--gold) 55%, var(--gold-deep) 100%);
    color: #fff; font-size: 17px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 12px rgba(201,162,83,.34);
  }
  .auth-field { margin-bottom: 13px; }
  .auth-field label {
    display: block; margin-bottom: 6px;
    font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  }
  .auth-field input {
    width: 100%; padding: 13px 14px;
    border: 1px solid var(--line); border-radius: 12px;
    background: #fff; color: var(--ink);
    font-size: 15px; outline: none;
    transition: border-color .16s, box-shadow .16s;
  }
  .auth-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,83,.13); }
  .auth-tip {
    margin: 0 0 14px; min-height: 17px;
    font-size: 12.5px; color: #C0392B;
  }
  .auth-tip.ok { color: #2F7D54; }
  .auth-go { background: linear-gradient(140deg, #D6B36A, var(--gold-deep)); }
  .auth-foot {
    margin: 13px 0 0; text-align: center;
    font-size: 11px; color: var(--ink-3); line-height: 1.6;
  }
  .auth-field[hidden] { display: none; }

  /* ---------- 登录态小标签 ---------- */
  .authbadge {
    position: fixed; right: 14px; top: 10px; z-index: 50;
    display: none; align-items: center; gap: 6px;
    padding: 5px 8px 5px 6px;
    border-radius: 999px;
    border: 1px solid var(--gold-line);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(16,16,20,.06);
  }
  .authbadge.on { display: flex; }
  .ab-ico {
    width: 20px; height: 20px; border-radius: 999px;
    background: linear-gradient(140deg, #E2C079, var(--gold-deep));
    color: #fff; font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
  }
  .ab-txt { font-size: 11.5px; font-weight: 600; color: var(--ink-2); max-width: 104px;
            overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ab-out {
    padding: 2px 7px; border-radius: 999px;
    border: 1px solid var(--line); background: #fff;
    color: var(--ink-3); font-size: 10.5px;
  }

  /* ---- 生日特权横幅（数据驱动，店主可编辑） ---- */
  #perkBanner { display: none; margin: 12px 0 2px; }
  .perk-main {
    position: relative;
    display: flex; gap: 12px; align-items: flex-start;
    background: linear-gradient(135deg, #F8F0DE, #F0E1C0 55%, #E8D4A6);
    border: 1px solid var(--gold-line); border-radius: 16px;
    padding: 14px 52px 14px 14px;
  }
  .perk-seal {
    flex: 0 0 auto;
    width: 42px; height: 42px; border-radius: 13px;
    background: linear-gradient(140deg, #D6B36A, #A8842F);
    color: #fff; font-size: 21px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 14px rgba(168, 132, 47, .28);
  }
  .perk-name { font-size: 15px; color: var(--ink); letter-spacing: .5px; }
  .perk-desc { margin: 4px 0 0; font-size: 12px; color: var(--ink-2); line-height: 1.65; }
  .perk-edit {
    position: absolute; right: 10px; top: 10px;
    padding: 4px 12px; border-radius: 999px;
    border: 1px solid var(--gold); background: #fff;
    color: var(--gold-deep); font-size: 11px;
  }
  .perk-form {
    margin-top: 8px; padding: 12px;
    background: #FBF7EF; border: 1px dashed var(--gold-line); border-radius: 12px;
    display: grid; gap: 10px;
  }
  .perk-form[hidden] { display: none; }
  .perk-field { display: grid; gap: 5px; min-width: 0; }
  .perk-field label { font-size: 11.5px; color: var(--ink-2); }
  .perk-field input, .perk-field textarea {
    width: 100%; box-sizing: border-box;
    border: 1px solid var(--line); border-radius: 10px;
    padding: 9px 12px; font-size: 14px; background: #fff;
    font-family: inherit;
  }
  .perk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .perk-actions { display: flex; gap: 10px; justify-content: flex-end; }
  .perk-actions .perk-save {
    background: linear-gradient(140deg, #D6B36A, #A8842F);
    color: #fff; border: 0; border-radius: 10px;
    padding: 9px 22px; font-size: 13px;
  }

  /* ---- 店主：上架会员视频管理卡 ---- */
  #rewardTools { display: none; margin: 12px 0 2px; }
  .admin-tools {
    background: #fff; border: 1px solid var(--gold-line); border-radius: 16px;
    padding: 14px; display: grid; gap: 10px;
  }
  .at-head { display: flex; flex-direction: column; gap: 2px; }
  .at-head b { font-size: 14px; color: var(--ink); }
  .at-head span { font-size: 11.5px; color: var(--ink-3); }
  .rv-submit {
    background: linear-gradient(140deg, #D6B36A, #A8842F);
    color: #fff; border: 0; border-radius: 10px;
    padding: 11px 0; font-size: 14px;
  }

  /* ---- 商品卡：双通道按钮组 + 视频卡 ---- */
  .buy-group { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
  .buy-group .btn { padding: 8px 12px; font-size: 12px; }
  .btn.gold-alt { background: #fff; color: var(--gold-deep); border: 1.5px solid var(--gold); }
  .card-video .thumb { background: linear-gradient(140deg, #2A2A30, #141418); color: var(--gold); }

  /* ---- 图文卡片：上图下文小模块（两列），点卡进详情层 ---- */
  .reward-card { padding: 0; gap: 0; overflow: hidden; cursor: pointer; }
  .figure {
    position: relative; width: 100%; aspect-ratio: 1 / 1;
    background: linear-gradient(150deg, #F9F4E9, #F1E7D2);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
  }
  .card-video .figure { background: linear-gradient(150deg, #2A2620, #171410); border-bottom-color: #2A2620; }
  .figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .fig-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(20, 18, 14, .42);
    border: 1.5px solid rgba(255, 255, 255, .85);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
    pointer-events: none;
  }
  .fig-play::after {
    content: ''; display: block; margin-left: 4px;
    border-style: solid; border-width: 7px 0 7px 12px;
    border-color: transparent transparent transparent #fff;
  }
  .fig-badge {
    position: absolute; left: 8px; top: 8px;
    padding: 2px 8px; border-radius: 999px;
    background: rgba(20, 18, 14, .55); color: #F3E5C2;
    font-size: 10px; letter-spacing: 1.2px;
  }
  .reward-card:active { transform: scale(.97); }
  .reward-body { padding: 9px 11px 11px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
  .reward-card .card-name {
    font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .reward-card .card-cat, .reward-card .card-desc { display: none; }
  .reward-card .card-foot { margin-top: auto; padding-top: 7px; border-top: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
  .reward-card .pts b { font-size: 16px; }
  .mini-tag {
    display: inline-flex; align-items: center;
    padding: 3px 10px; border-radius: 999px;
    font-size: 10.5px; letter-spacing: .5px;
    background: linear-gradient(140deg, #D6B36A, #A8842F); color: #FFF8E8;
  }
  .mini-tag.off { background: #EFEDE8; color: var(--ink-3); }
  .mini-tag.alt { background: #fff; color: var(--gold-deep); border: 1px solid var(--gold); }
  @media (max-width: 480px) {
    .buy-group .btn { padding: 8px 9px; font-size: 11.5px; }
  }

  /* ---- 好礼详情层（二代叠加：点小卡进入） ----
     z=78：低于确认层(80)/会员层(92)/播放器(94)，详情之上可继续弹确认 */
  .dmask { z-index: 78; }
  .dsheet {
    padding: 0 0 16px; max-height: 88vh; overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .d-hero {
    position: relative; width: 100%; aspect-ratio: 4 / 3;
    background: linear-gradient(150deg, #F9F4E9, #F1E7D2);
    overflow: hidden;
  }
  .card-video-hero { background: linear-gradient(150deg, #2A2620, #171410); }
  .d-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .d-hero .fig-play { width: 54px; height: 54px; }
  .d-hero .fig-play::after { border-width: 9px 0 9px 15px; margin-left: 5px; }
  .d-close {
    position: absolute; right: 10px; top: 10px;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(20, 18, 14, .5); color: #fff;
    font-size: 16px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
  }
  .d-body { padding: 13px 16px 0; display: flex; flex-direction: column; gap: 7px; }
  .d-name { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.2px; }
  .d-cat { font-size: 11.5px; color: var(--ink-3); }
  .d-desc { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.7; }
  .d-price { display: flex; align-items: baseline; gap: 12px; padding: 10px 0 2px; }
  .d-price .pts b { font-size: 24px; }
  .d-cash { font-size: 15px; font-weight: 700; color: var(--gold-deep); }
  .d-actions { display: grid; gap: 9px; margin-top: 6px; }
  .d-actions .buy-group { justify-content: stretch; }
  .d-actions .buy-group .btn { flex: 1; padding: 11px 0; font-size: 14px; justify-content: center; }
  .d-actions .btn { width: 100%; padding: 12px 0; font-size: 14.5px; }

  /* ---- 欢迎横滑弹窗（开场后弹出，三卡直达） ---- */
  .pmask { z-index: 96; align-items: center; }
  .pwrap { width: 100%; max-width: 720px; }
  .ptrack {
    display: flex; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 6px 9%; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .ptrack::-webkit-scrollbar { display: none; }
  .pcard {
    flex: 0 0 82%; scroll-snap-align: center;
    background: #FFFEFB;
    border: 1px solid var(--gold-line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(20, 16, 8, .35);
    display: flex; flex-direction: column;
  }
  .p-art {
    position: relative; aspect-ratio: 16 / 10;
    background: linear-gradient(155deg, #F9F3E6, #F0E4CB);
    overflow: hidden;
  }
  .p-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .p-art::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
  }
  .p-body { padding: 18px 18px 20px; text-align: center; display: flex; flex-direction: column; gap: 7px; align-items: center; }
  .p-kicker { font-size: 11px; letter-spacing: 3px; color: var(--gold-deep); }
  .p-title { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: 1px; color: var(--ink); }
  .p-sub { margin: 0 0 6px; font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
  .p-go {
    padding: 10px 34px; border-radius: 999px;
    background: linear-gradient(140deg, #2E2A24, #191612);
    color: #EFDDB2; font-size: 13.5px; letter-spacing: 2px;
    box-shadow: 0 6px 16px rgba(20, 16, 8, .25);
  }
  .p-go:active { opacity: .85; }
  .pdots { display: flex; justify-content: center; gap: 7px; padding: 14px 0 4px; }
  .pdots i {
    width: 18px; height: 3.5px; border-radius: 999px;
    background: rgba(255, 255, 255, .45); transition: background .2s, width .2s;
  }
  .pdots i.on { background: #F3E5C2; width: 26px; }
  .pclose {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; margin: 10px auto 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff; font-size: 17px; line-height: 1;
  }
  @media (max-width: 480px) { .pcard { flex-basis: 84%; } }

  /* ---- 会员视频播放弹层 ---- */
  .vmask { z-index: 94; }
  .vsheet { padding: 16px 16px 12px; }
  .v-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
  .v-head h3 { font-size: 16px; }
  .video-body {
    background: #141418; border-radius: 14px;
    min-height: 200px; max-height: 58vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .video-body video { width: 100%; height: auto; max-height: 58vh; display: block; }
  .v-hint { color: #B9A77E; font-size: 13px; padding: 40px 16px; text-align: center; }
  .v-foot { margin: 10px 0 0; font-size: 11px; color: var(--ink-3); text-align: center; }
  @media (max-width: 480px) {
    .perk-row { grid-template-columns: 1fr; }
  }

  .foot {
    max-width: 720px; margin: 30px auto 0;
    padding: 18px; text-align: center;
    font-size: 11.5px; color: #B4B4BA;
  }

  /* ============================================================
     开场动画（品牌字星群从小缓缓长大、向外生长 → 字迹化开 → 金焰与 MURAGE → 渐出）
     时间轴约 7.6 秒：0.2s 起字标错峰亮起并放大（约 5s 长到最大）/
     5.1s 字群化散 / 5.4s 金焰浮现 / 5.8s 蓝字并行 /
     6.7s 英文一行 / 7.0s 朱印 / 7.6s 整体退场
     ============================================================ */
  .intro {
    position: fixed; inset: 0; z-index: 200;
    background: #0E0E10;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .55s ease, visibility .55s;
  }
  .intro.gone { opacity: 0; visibility: hidden; pointer-events: none; }
  .intro-inner { text-align: center; }

  /* 舞台：火苗与品牌共用一个视觉中心 */
  .intro-stage {
    position: relative;
    width: 330px; height: 322px;
    margin: 0 auto 6px;
  }

  /* 阶段一：品牌字星群 —— 还原海报构图，从小缓缓长大、向外生长
     时长：0.2s 起错峰亮起 → 5.1s 长到最大 → 5.1s 起化散 → 6.0s 清空 */
  .intro-glyphs { position: absolute; inset: 0; pointer-events: none; }
  .intro-glyphs .g {
    position: absolute;
    width: var(--w); height: 0;
    padding-bottom: calc(var(--w) / var(--ar));
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%) scale(var(--s0));
    opacity: 0;
    will-change: transform, opacity;
    animation: gIn .65s ease var(--t) forwards,
               gFly 4.9s cubic-bezier(.24,.5,.36,1) var(--t) forwards,
               gOut 1.5s ease 5.1s forwards;
  }
  @keyframes gIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  /* 由远及近：放大 + 沿各自方向向外生长 + 轻微旋转 */
  @keyframes gFly {
    from { transform: translate(-50%, -50%) scale(var(--s0)) rotate(0deg); }
    to   { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(var(--s1)) rotate(var(--rz)); }
  }
  @keyframes gOut {
    from { opacity: 1; }
    to   { opacity: 0; }
  }
  /* 位置 = 海报原构图；--s1 越大 = 越近 */
  .intro-glyphs .g1 { left:20.13%; top:20.35%; --w:17.56%; --ar:0.8799; --t:.18s; --s0:.40; --s1:2.55; --dx:-98px; --dy:-97px; --rz:-6deg; background-image:url("https://workbuddy-space-static.codebuddy.work/image/xlkEHbykl6RtuH3MghWZu2.png"); }
  .intro-glyphs .g2 { left:55.43%; top:12.13%; --w:14.67%; --ar:2.0800; --t:.30s; --s0:.40; --s1:1.95; --dx:15px; --dy:-110px; --rz:4deg; background-image:url("https://workbuddy-space-static.codebuddy.work/image/gQfSFrgD4BLnaPqxruiGER.png"); }
  .intro-glyphs .g3 { left:54.94%; top:34.03%; --w:8.18%; --ar:0.7785; --t:.44s; --s0:.40; --s1:1.60; --dx:11px; --dy:-38px; --rz:-3deg; background-image:url("https://workbuddy-space-static.codebuddy.work/image/ISSYycICvvOTn4IIz6xotF.png"); }
  .intro-glyphs .g4 { left:79.44%; top:43.51%; --w:9.66%; --ar:0.7965; --t:.36s; --s0:.40; --s1:1.80; --dx:72px; --dy:-16px; --rz:5deg; background-image:url("https://workbuddy-space-static.codebuddy.work/image/3MjLREtLUcu5ebj2AUBDXa.png"); }
  .intro-glyphs .g5 { left:46.33%; top:50.39%; --w:21.72%; --ar:1.1365; --t:.24s; --s0:.40; --s1:2.35; --dx:-11px; --dy:2px; --rz:2.5deg; background-image:url("https://workbuddy-space-static.codebuddy.work/image/vKIuRHUQlRGsfBI2yyWsQl.png"); }
  .intro-glyphs .g6 { left:19.92%; top:76.69%; --w:10.79%; --ar:1.1333; --t:.50s; --s0:.40; --s1:2.00; --dx:-86px; --dy:76px; --rz:-4deg; background-image:url("https://workbuddy-space-static.codebuddy.work/image/dXr4m0L918pYsQU5PilrCx.png"); }
  .intro-glyphs .g7 { left:73.62%; top:86.35%; --w:23.55%; --ar:2.1830; --t:.36s; --s0:.40; --s1:2.25; --dx:72px; --dy:112px; --rz:5deg; background-image:url("https://workbuddy-space-static.codebuddy.work/image/xG816o9DVnKeck2WVBG3fO.png"); }
  .intro-glyphs .g8 { left:97.78%; top:45.84%; --w:4.44%; --ar:0.0663; --t:.56s; --s0:.40; --s1:1.50; --dx:38px; --dy:-6px; --rz:-2.5deg; background-image:url("https://workbuddy-space-static.codebuddy.work/image/BO1JkGRVS0SxsSROC4HAc8.png"); }

  /* 阶段二：品牌浮现 —— 金焰先起，MURAGE 蓝字并行 */
  .intro-brand {
    position: absolute; left: 50%; top: 47%;
    width: 318px; height: 207px;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  .intro-flame, .intro-logo {
    position: absolute; left: 0; top: 0;
    width: 100%; height: 100%;
  }
  .intro-flame {
    opacity: 0;
    animation: flameIn 1.15s cubic-bezier(.2,.8,.3,1) 5.4s forwards;
  }
  .intro-logo {
    opacity: 0;
    animation: logoIn 1.05s ease 5.8s forwards;
  }
  @keyframes flameIn {
    0%   { opacity: 0; transform: scale(.86); filter: blur(7px); }
    100% { opacity: 1; transform: scale(1); filter: blur(0); }
  }
  @keyframes logoIn {
    0%   { opacity: 0; transform: translateY(14px); }
    100% { opacity: 1; transform: none; }
  }

  /* 收尾：英文一行 + 朱印 */
  .intro-en {
    font-size: 10.5px; letter-spacing: .58em;
    color: rgba(216,181,107,.72);
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp .8s ease 6.7s forwards;
    padding-left: .58em;
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: none; }
  }

  .intro-seal {
    position: absolute; left: 50%; bottom: 62px;
    transform: translateX(-50%);
    width: 34px; height: 34px; border-radius: 6px;
    background: #B23A34;
    color: #fff; font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    animation: sealIn .55s cubic-bezier(.2,.8,.3,1) 7s forwards;
  }
  @keyframes sealIn {
    from { opacity: 0; transform: translateX(-50%) scale(.6) rotate(-12deg); }
    to { opacity: 1; transform: translateX(-50%) scale(1) rotate(0); }
  }
  .intro-skip {
    position: absolute; right: 20px; top: 22px;
    color: rgba(255,255,255,.42); font-size: 12px;
    letter-spacing: .1em;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px; padding: 5px 13px;
    opacity: 0;
    animation: fadeUp .6s ease .55s forwards;
    background: none;
  }
  body.intro-lock { overflow: hidden; }

  @media (max-width: 400px) {
    .intro-stage { transform: scale(.86); }
  }

  /* ============================================================
     座位预约 · U 型吧台
     ============================================================ */
  .bksec { margin-bottom: 20px; }
  .bksec > h3 {
    margin: 0 0 3px; font-size: 15px; font-weight: 600; letter-spacing: -.15px;
  }
  .bksec > p { margin: 0 0 11px; font-size: 12.5px; color: var(--ink-3); }

  /* 营业信息条 */
  .dawn {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px; margin-bottom: 16px;
    background: var(--gold-soft);
    border: 1px solid var(--gold-line);
    border-radius: 12px;
  }
  .dawn svg { flex: 0 0 auto; }
  .dawn p { margin: 0; font-size: 12.5px; color: var(--gold-deep); line-height: 1.45; }
  .dawn b { font-weight: 700; font-variant-numeric: tabular-nums; }

  /* ---------- U 型吧台 ---------- */
  /* 日期轴 */
  .date-rail {
    display: flex; gap: 8px; overflow-x: auto;
    padding: 2px 0 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .date-rail::-webkit-scrollbar { display: none; }
  .dcard {
    flex: 0 0 auto; width: 62px;
    padding: 9px 4px 8px;
    border-radius: 13px;
    border: 1px solid var(--line);
    background: #fff;
    text-align: center;
    scroll-snap-align: start;
    transition: all .16s;
  }
  .dcard .dw { display: block; font-size: 10.5px; color: var(--ink-3); }
  .dcard .dd {
    display: block; margin: 2px 0 1px;
    font-size: 18px; font-weight: 700; letter-spacing: -.6px;
    font-variant-numeric: tabular-nums;
  }
  .dcard .dm { display: block; font-size: 10px; color: var(--ink-3); }
  .dcard.on {
    background: var(--ink); border-color: var(--ink);
  }
  .dcard.on .dw, .dcard.on .dd, .dcard.on .dm { color: #fff; }
  .dcard.on .dw, .dcard.on .dm { color: rgba(255,255,255,.62); }

  .ucounter {
    position: relative;
    margin: 4px 0 10px;
    padding: 16px 30px 26px;
    background: linear-gradient(170deg, #FCFAF5, #F7F4EC);
    border: 1px solid var(--gold-line);
    border-radius: 18px;
    overflow: hidden;
  }
  /* 吧台内圈：木色扶手围出 U 形（开口朝上，两臂基本对称） */
  .ucore {
    position: absolute;
    left: 15%; right: 15%; top: 6%; bottom: 21%;
    border: 2px solid var(--gold-line);
    border-top: none;
    border-radius: 0 0 40px 40px;
    background: rgba(255,255,255,.62);
    pointer-events: none;
  }
  .ucore::after {
    content: '吧台';
    position: absolute; left: 50%; top: 44%;
    transform: translate(-50%, -50%);
    font-size: 10.5px; letter-spacing: .34em;
    color: #C4B48C;
    padding-left: .34em;
  }
  /* 分区标签（按手绘图）：A1/A2 在左、A7 在右、A3/A4 在底边下方 */
  .ztag {
    position: absolute; z-index: 2;
    font-style: normal;
    font-size: 9px; font-weight: 700; letter-spacing: .05em;
    color: #A8842F; background: rgba(255,255,255,.92);
    border: 1px solid var(--gold-line); border-radius: 5px;
    padding: 1px 5px;
    pointer-events: none;
    font-variant-numeric: tabular-nums;
  }
  .zt1 { left: 2px;  top: 23%; transform: translateY(-50%); }   /* 1-3 散客 */
  .zt2 { left: 2px;  top: 68%; transform: translateY(-50%); }   /* 4-5 可预约 */
  .zt7 { right: 2px; top: 68%; transform: translateY(-50%); }   /* 12-13 可预约 */
  .zt7b { right: 2px; top: 35%; transform: translateY(-50%); }  /* 14 非预约 */
  .zt3 { left: 25%;  bottom: 2px; }                             /* 6-8 可预约 */
  .zt4 { right: 25%; bottom: 2px; }                             /* 9-11 可预约 */
  .ztag.mut { color: #A39B8B; border-color: #DDD6C6; background: #FAF8F2; }
  .useats {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(6, auto);
    gap: 6px;
  }
  /* 座位排布（按手绘图）：左臂 1-5、底边 6-11、右臂 12-13 */
  .useats .seat[data-seat="1"]  { grid-area: 1 / 1; }
  .useats .seat[data-seat="2"]  { grid-area: 2 / 1; }
  .useats .seat[data-seat="3"]  { grid-area: 3 / 1; }
  .useats .seat[data-seat="4"]  { grid-area: 4 / 1; }
  .useats .seat[data-seat="5"]  { grid-area: 5 / 1; }
  .useats .seat[data-seat="6"]  { grid-area: 6 / 1; }
  .useats .seat[data-seat="7"]  { grid-area: 6 / 2; }
  .useats .seat[data-seat="8"]  { grid-area: 6 / 3; }
  .useats .seat[data-seat="9"]  { grid-area: 6 / 4; }
  .useats .seat[data-seat="10"] { grid-area: 6 / 5; }
  .useats .seat[data-seat="11"] { grid-area: 6 / 6; }
  .useats .seat[data-seat="12"] { grid-area: 5 / 7; }
  .useats .seat[data-seat="13"] { grid-area: 4 / 7; }
  .useats .seat[data-seat="14"] { grid-area: 3 / 7; }

  .seat {
    padding: 8px 2px 7px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    text-align: center;
    transition: all .16s;
  }
  .seat .sn {
    display: block; font-size: 12px; font-weight: 700;
    letter-spacing: -.2px; font-variant-numeric: tabular-nums;
  }
  .seat .sd { display: block; font-size: 9.5px; color: var(--ink-3); margin-top: 1px; }

  /* 包间：2–3 人席（平面图 + 可预约，与座位同一套四态） */
  .roomslot { margin: 8px 0 10px; }
  .room {
    width: 100%; display: flex; align-items: center; gap: 14px;
    padding: 11px 14px; border-radius: 14px;
    border: 1px solid var(--gold-line);
    background: linear-gradient(170deg, #FCFAF5, #F7F4EC);
    text-align: left; transition: all .16s;
    font: inherit; color: inherit;
  }
  .room:hover { border-color: var(--gold); }
  .room.on {
    background: linear-gradient(150deg, #F3E3BE, #E4CD92);
    border-color: var(--gold);
  }
  .room.taken { background: #F1EFE9; opacity: .82; }
  .room.mine { border-color: var(--gold-deep); }
  .rplan {
    position: relative; flex: 0 0 76px;
    width: 76px; height: 46px;
    border: 1.6px solid var(--gold); border-radius: 8px;
    background: rgba(255,255,255,.75);
  }
  .rdoor { position: absolute; right: 16px; bottom: -2px; width: 16px; height: 3px; background: #FCFAF5; }
  .rdoor::after {
    content: ''; position: absolute; left: -9px; bottom: 0;
    width: 9px; height: 9px;
    border: 1.2px solid var(--gold);
    border-top: none; border-right: none;
    border-radius: 0 0 0 9px;
  }
  .rtable {
    position: absolute; left: 50%; top: 50%;
    width: 18px; height: 18px; transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #F3E8CC; border: 1.5px solid var(--gold-deep);
  }
  .rchair {
    position: absolute; width: 10px; height: 5px;
    border-radius: 2.5px;
    background: var(--gold-soft); border: 1px solid var(--gold-line);
  }
  .rc1 { top: 3px; left: 50%; transform: translateX(-50%); }
  .rc2 { left: 4px; top: 50%; transform: translateY(-50%); width: 5px; height: 10px; }
  .rc3 { right: 4px; top: 50%; transform: translateY(-50%); width: 5px; height: 10px; }
  .rmeta { flex: 1; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
  .rname { font-size: 14px; font-weight: 700; letter-spacing: .02em; }
  .rcap { font-size: 10.5px; color: var(--ink-3); }
  .rst { flex: 0 0 auto; font-size: 11px; font-weight: 700; color: var(--gold-deep); }
  .room.taken .rst { color: var(--ink-3); font-weight: 500; }

  .seat.na {
    background: #F5F3EE; border-style: dashed; border-color: #DDD8CB;
    cursor: default; box-shadow: none;
  }
  .seat.na .sn { color: #B9B1A1; }
  .seat.na .sd { color: #C6BFAF; }
  .seat:hover:not(:disabled) { border-color: var(--gold); }
  .seat.on {
    background: linear-gradient(150deg, #F3E3BE, #E4CD92);
    border-color: var(--gold);
    box-shadow: 0 3px 12px rgba(201,162,83,.3);
    transform: translateY(-1px);
  }
  .seat.on .sn { color: #6E5215; }
  .seat.on .sd { color: #8A6B22; }
  .seat.taken {
    background: #F4F4F6; border-color: var(--line);
    cursor: pointer;
  }
  .seat.taken .sn { color: #B9B9C0; text-decoration: line-through; }
  .seat.taken .sd { color: #C2C2C8; }
  .seat.mine { background: var(--gold-soft); border-color: var(--gold); }
  .seat.mine .sn { color: var(--gold-deep); }
  .seat:disabled { cursor: not-allowed; }

  /* 图例 */
  .ulegend {
    display: flex; flex-wrap: wrap; gap: 14px;
    justify-content: center;
    margin: 0 0 14px;
    font-size: 11px; color: var(--ink-3);
  }
  .ulegend span { display: inline-flex; align-items: center; gap: 5px; }
  .ulegend i {
    width: 11px; height: 11px; border-radius: 3px; display: inline-block;
    border: 1px solid var(--line); background: #fff;
  }
  .ulegend i.on { background: linear-gradient(150deg, #F3E3BE, #E4CD92); border-color: var(--gold); }
  .ulegend i.taken { background: #F4F4F6; border-color: #DEDEE3; }
  .ulegend i.mine { background: var(--gold-soft); border-color: var(--gold); }
  .ulegend i.na { background: #F5F3EE; border: 1px dashed #DDD8CB; }

  /* 名额条 */
  .bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
  .bar-wrap { flex: 1; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
  .bar-fill {
    height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, #DFC07F, var(--gold-deep));
    transition: width .32s ease;
  }
  .bar-fill.full { background: linear-gradient(90deg, #C0392B, #96281B); }
  .bar-txt {
    font-size: 12px; color: var(--ink-3);
    font-variant-numeric: tabular-nums; white-space: nowrap;
  }
  .bar-txt b { color: var(--gold-deep); font-weight: 700; font-size: 14px; }
  .bar-txt.full b { color: var(--red); }

  /* 时段（自选开始时间） */
  .slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 8px; margin-bottom: 4px;
  }
  .slot {
    padding: 9px 4px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: #fff; color: var(--ink-2);
    text-align: center;
    transition: all .16s;
  }
  .slot .st {
    display: block; font-size: 14px; font-weight: 600;
    font-variant-numeric: tabular-nums; letter-spacing: -.2px;
  }
  .slot .se { display: block; font-size: 10px; color: var(--ink-3); margin-top: 1px; }
  .slot.on {
    background: var(--gold-soft);
    border-color: var(--gold);
    color: var(--gold-deep);
  }
  .slot.on .st { color: var(--gold-deep); font-weight: 700; }
  .slot.on .se { color: var(--gold-deep); }
  .slot:disabled { opacity: .34; cursor: not-allowed; }

  /* 摘要 */
  .summary {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 15px; margin: 4px 0 16px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 13px;
  }
  .summary .sclock { flex: 0 0 auto; }
  .summary .stime {
    font-size: 17px; font-weight: 700; letter-spacing: -.4px;
    font-variant-numeric: tabular-nums;
  }
  .summary .ssub { font-size: 11.5px; color: var(--ink-3); margin-top: 1px; }
  .summary .sleft { margin-left: auto; text-align: right; }
  .summary .sleft b {
    font-size: 17px; font-weight: 700; color: var(--gold-deep);
    font-variant-numeric: tabular-nums;
  }
  .summary .sleft.full b { color: var(--red); }
  .summary .sleft.wait b { color: #A9761B; }
  .summary .sleft.wait span { color: #A9761B; }
  .summary .sleft span { display: block; font-size: 11px; color: var(--ink-3); }

  /* 预约列表 */
  .blist { display: flex; flex-direction: column; gap: 10px; }
  .brow {
    display: flex; align-items: center; gap: 13px;
    background: #fff; border: 1px solid var(--line);
    border-radius: 14px; padding: 12px 15px;
  }
  .bseat {
    flex: 0 0 46px;
    display: flex; align-items: center; justify-content: center;
    height: 34px; border-radius: 9px;
    background: var(--gold-soft); border: 1px solid var(--gold-line);
    color: var(--gold-deep);
    font-size: 12.5px; font-weight: 700;
    font-variant-numeric: tabular-nums;
  }
  .bname { font-size: 14.5px; font-weight: 600; }
  .bsub { font-size: 12px; color: var(--ink-3); margin-top: 1px; }
  .bstat {
    margin-left: auto; flex: 0 0 auto;
    display: inline-block; padding: 2px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 600;
    background: var(--bg-2); color: var(--ink-2);
    border: 1px solid var(--line);
    white-space: nowrap;
  }
  .bstat.s0 { background: var(--gold-soft); color: var(--gold-deep); border-color: var(--gold-line); }
  .bstat.s1 { background: #EAF6EF; color: #2F7D54; border-color: #CFE9DA; }
  .bstat.s2 { background: #F4F4F6; color: var(--ink-3); border-color: var(--line); }
  .bstat.s3 { background: #FDF3E3; color: #A9761B; border-color: #F0DCB6; }
  .bstat.s4 { background: #EAF6EF; color: #2F7D54; border-color: #CFE9DA; }

  .bgroup {
    margin: 18px 0 8px;
    font-size: 12px; font-weight: 600; color: var(--ink-3);
    letter-spacing: .3px;
  }
  .bgroup:first-child { margin-top: 0; }

  @media (max-width: 640px) {
    .skeleton { grid-template-columns: 1fr; }
    .stats { gap: 8px; }
    .stat { padding: 12px 6px; }
    .row2 { grid-template-columns: 1fr; }
    .tab { font-size: 13px; padding: 9px 4px; }
    .slots { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); }
    .ucounter { padding: 12px 26px 24px; }
    .useats { gap: 4px; }
    .seat { padding: 6px 1px 5px; border-radius: 8px; }
    .seat .sn { font-size: 11px; }
    .seat .sd { font-size: 8.5px; }
    .ztag { font-size: 8px; padding: 1px 4px; }
    .bseat { flex-basis: 40px; height: 30px; font-size: 11.5px; }
    .pv-grid { grid-template-columns: 1fr; }
    .pv-hero { padding: 18px 16px 17px; }
    .pv-hero h2 { font-size: 19px; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  }

  /* ---------- 店主端「预约通知」设置卡 ---------- */
  .notify-panel {
    border: 1px solid var(--gold-line);
    background: linear-gradient(180deg, #FFFDF8 0%, #fff 100%);
    border-radius: 14px; padding: 16px; margin: 0 0 20px;
  }
  .np-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
  .np-head h3 { margin: 0; font-size: 15.5px; font-weight: 600; }
  .np-state { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
  .np-state.on { color: #2E7D4F; font-weight: 600; }
  .np-state.warn { color: var(--red); font-weight: 600; }
  .np-tip { margin: 0 0 14px; font-size: 12.5px; color: var(--ink-3); line-height: 1.7; }
  .np-tip b { color: var(--gold-deep); }
  .np-field { display: flex; flex-direction: column; gap: 6px; }
  .np-field label { font-size: 12.5px; color: var(--ink-2); font-weight: 500; }
  .np-field input {
    width: 100%; padding: 10px 12px; border-radius: 10px;
    border: 1px solid var(--line); background: #fff; font-size: 13px;
    color: var(--ink);
  }
  .np-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
  .np-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .np-actions button { padding: 9px 16px; font-size: 13.5px; border-radius: 10px; }
  .np-actions .submit { padding: 9px 20px; }
  .np-help { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }
  .np-help summary { cursor: pointer; color: var(--gold-deep); font-weight: 500; }
  .np-help ol { margin: 8px 0 6px; padding-left: 20px; line-height: 1.8; }
  .np-help b { color: var(--ink-2); }
  .np-help p { margin: 4px 0 0; }

  /* ---------- 店主端新预约弹窗 ---------- */
  .nt-mask {
    position: fixed; inset: 0; z-index: 96;
    background: rgba(20,20,24,.46);
    backdrop-filter: blur(3px);
    display: none; align-items: center; justify-content: center; padding: 18px;
  }
  .nt-mask.on { display: flex; }
  .nt-card {
    width: 100%; max-width: 400px; max-height: 86vh; overflow: auto;
    background: #fff; border-radius: 18px;
    box-shadow: 0 18px 50px rgba(16,16,20,.26);
    animation: ntIn .26s cubic-bezier(.2,.7,.3,1);
  }
  @keyframes ntIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
  .nt-head {
    padding: 16px 18px 14px;
    background: linear-gradient(140deg, #E2C079 0%, var(--gold) 55%, var(--gold-deep) 100%);
    color: #fff;
  }
  .nt-head .nt-kicker { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .88; }
  .nt-head h3 { margin: 4px 0 0; font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
  .nt-head .nt-time { margin-top: 4px; font-size: 12px; opacity: .9; }
  .nt-body { padding: 6px 18px 4px; }
  .nt-row { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
  .nt-row:last-child { border-bottom: none; }
  .nt-k { flex: 0 0 74px; color: var(--ink-3); font-size: 13px; }
  .nt-v { flex: 1; color: var(--ink); word-break: break-all; font-weight: 500; }
  .nt-foot { display: flex; gap: 10px; padding: 14px 18px 18px; }
  .nt-foot button { flex: 1; padding: 12px; border-radius: 12px; font-size: 14.5px; font-weight: 500; }
  .nt-count { margin-left: auto; font-size: 12px; opacity: .9; }

  /* ============================================================
     店主后台（/admin）：顶栏导航 + 密钥门禁
     ============================================================ */
  .admin-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
  .an-tag { font-size: 12px; letter-spacing: .1em; color: var(--gold-deep); font-weight: 500; }
  .admin-nav .btn-ghost { padding: 5px 12px; font-size: 12.5px; text-decoration: none; }

  /* 未通过密钥校验时：只显示门禁卡片，其余内容全部隐藏 */
  .gate-locked > *:not(.admingate) { display: none !important; }
  .admingate {
    position: fixed; inset: 0; z-index: 900;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-2); padding: 24px;
  }
  .ag-card {
    width: 100%; max-width: 340px; background: var(--bg);
    border: 1px solid var(--line); border-radius: 18px;
    padding: 30px 22px 26px; text-align: center; box-shadow: var(--shadow);
  }
  .ag-seal {
    width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 15px;
    background: linear-gradient(140deg, #D6B36A, var(--gold-deep));
    color: #20180C; font-size: 23px; font-weight: 600;
    display: flex; align-items: center; justify-content: center;
  }
  .ag-title { margin: 0 0 4px; font-size: 19px; font-weight: 600; color: var(--ink); }
  .ag-sub { margin: 0 0 20px; font-size: 12.5px; color: var(--ink-3); }
  .ag-label { display: block; text-align: left; font-size: 12.5px; color: var(--ink-3); margin: 0 0 6px; }
  .ag-input {
    width: 100%; padding: 12px 14px; border-radius: 12px;
    border: 1px solid var(--line); background: var(--bg-2);
    color: var(--ink); font-size: 15px; letter-spacing: .04em;
  }
  .ag-input:focus { outline: none; border-color: var(--gold); }
  .ag-tip { margin: 10px 0 16px; font-size: 12px; color: var(--ink-3); text-align: left; min-height: 16px; line-height: 1.6; }
  .ag-card .submit { width: 100%; }
  .ag-back { display: block; margin-top: 14px; font-size: 12.5px; color: var(--gold-deep); text-decoration: none; }
