/* ============================================================
   炭火江湖 · 深夜烧烤 — iOS 26 风格深色小程序演示
   ============================================================ */
:root {
  --bg: #0B0806;
  --bg2: #141009;
  --card: #1B1510;
  --card2: #241C14;
  --line: rgba(255, 235, 210, .08);
  --ember: #FF6B2C;
  --ember2: #FFB347;
  --flame: #FF3D00;
  --neon: #FF5A4E;
  --gold: #F5C86B;
  --text: #F7EFE5;
  --sub: #A6968A;
  --dim: #6E6156;
  --green: #30D158;
  --blue: #0A84FF;
  --red: #FF453A;
  --spring: cubic-bezier(.32, .72, 0, 1);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --tab-h: 78px;
  --nav-h: 88px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  background: #060403;
  color: var(--text);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font-family: inherit; }
img { display: block; }
svg { width: 24px; height: 24px; fill: none; }
::-webkit-scrollbar { width: 0; height: 0; }

/* ---------- 桌面氛围舞台 ---------- */
.ambient { position: fixed; inset: 0; overflow: hidden; pointer-events: none; }
.ambient-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.ambient-glow.g1 { width: 560px; height: 560px; left: -140px; bottom: -180px; background: radial-gradient(circle, rgba(255, 80, 20, .35), transparent 65%); animation: breathe 7s ease-in-out infinite; }
.ambient-glow.g2 { width: 480px; height: 480px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(255, 150, 50, .22), transparent 65%); animation: breathe 9s ease-in-out infinite reverse; }
.ambient-word {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 200px; font-weight: 900; letter-spacing: .1em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 120, 50, .07);
}
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .45; } 50% { transform: scale(1.12); opacity: .65; } }

.stage { position: relative; height: 100%; height: 100dvh; display: flex; align-items: center; justify-content: center; gap: 72px; }
.stage-caption { display: none; max-width: 300px; }
.stage-caption .cap-logo { font-size: 52px; margin-bottom: 18px; filter: drop-shadow(0 0 24px rgba(255, 107, 44, .6)); }
.stage-caption h1 { font-size: 40px; font-weight: 900; letter-spacing: .04em; }
.stage-caption h1 span { display: block; font-size: 15px; font-weight: 500; color: var(--sub); margin-top: 10px; letter-spacing: .12em; }
.stage-caption p { margin-top: 22px; font-size: 14px; line-height: 1.9; color: var(--sub); }
.stage-caption .cap-hint { margin-top: 34px; font-size: 12px; color: var(--dim); border-left: 2px solid var(--ember); padding-left: 12px; }

/* ---------- 手机机身 ---------- */
.device { position: relative; width: 100%; height: 100%; }
.screen {
  position: relative; width: 100%; height: 100%;
  background: var(--bg); overflow: hidden;
  display: flex; flex-direction: column;
}
@media (min-width: 760px) {
  .stage-caption { display: block; }
  .device {
    width: 402px; height: min(874px, 94vh); flex: none;
    background: #000; border-radius: 58px; padding: 9px;
    box-shadow: 0 0 0 1px #2c2c30, 0 40px 120px rgba(0, 0, 0, .8), 0 0 90px rgba(255, 90, 30, .12);
  }
  .screen { border-radius: 49px; }
}

/* ---------- 状态栏 / 灵动岛 / 导航 ---------- */
.statusbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 60;
  height: 44px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px 0 32px; font-size: 15px; font-weight: 600;
  pointer-events: none; color: var(--text);
}
.sb-icons { display: flex; align-items: center; gap: 6px; }
.sb-icons svg { width: auto; height: 11px; }

.island {
  position: absolute; top: 10px; left: 50%; z-index: 70;
  transform: translateX(-50%) scale(.6); transform-origin: top center;
  height: 34px; min-width: 120px; max-width: calc(100% - 190px);
  background: #000; border-radius: 20px;
  display: flex; align-items: center; gap: 8px; padding: 0 16px;
  opacity: 0; pointer-events: none;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .5s var(--spring), opacity .3s;
  white-space: nowrap; overflow: hidden;
}
.island.show { opacity: 1; transform: translateX(-50%) scale(1); }
.island-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); flex: none; box-shadow: 0 0 10px var(--ember); animation: dotPulse 1.2s ease-in-out infinite; }
.island-text { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
@keyframes dotPulse { 50% { transform: scale(1.4); opacity: .7; } }

.navbar {
  position: absolute; top: 44px; left: 0; right: 0; z-index: 50;
  height: 44px; display: flex; align-items: center;
  padding: 0 14px;
  background: rgba(11, 8, 6, 0);
  transition: background .25s, backdrop-filter .25s;
}
.navbar.scrolled {
  background: rgba(14, 10, 7, .78);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 .5px 0 var(--line);
}
.screen:has(.navbar.scrolled) .statusbar {
  background: rgba(14, 10, 7, .78);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
}
.nav-back {
  width: 34px; height: 34px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .15s;
}
.nav-back:active { transform: scale(.9); }
.nav-back svg { width: 19px; height: 19px; }
.navbar.pushed .nav-back { display: flex; }
.nav-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 16px; font-weight: 700; letter-spacing: .02em;
  opacity: 0; transition: opacity .25s;
  max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.navbar.scrolled .nav-title, .navbar.pushed .nav-title { opacity: 1; }
.capsule {
  margin-left: auto; display: flex; align-items: center;
  height: 30px; padding: 0 4px; border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  border: .5px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.cap-dots { font-size: 13px; letter-spacing: 1.5px; padding: 0 10px 2px 8px; line-height: 1; }
.cap-sep { width: .5px; height: 16px; background: rgba(255, 255, 255, .18); }
.cap-circle { width: 30px; display: flex; justify-content: center; }
.cap-circle i { width: 14px; height: 14px; border: 1.6px solid var(--text); border-radius: 50%; position: relative; }
.cap-circle i::after { content: ""; position: absolute; inset: 3.4px; background: var(--text); border-radius: 50%; }

/* ---------- 页面容器 ---------- */
.pages { position: absolute; inset: 0; }
.page {
  position: absolute; inset: 0; display: none; flex-direction: column;
  background: var(--bg);
}
.page.active { display: flex; }
.page .scroll {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: calc(var(--nav-h) + 8px) 16px 0;
  overscroll-behavior: contain;
}
.push-page { z-index: 47; transform: translateX(100%); }
.push-page.active { display: flex; animation: pushIn .48s var(--spring) forwards; }
.push-page.leaving { animation: pushOut .4s var(--spring) forwards; }
@keyframes pushIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes pushOut { from { transform: translateX(0); } to { transform: translateX(100%); } }
.page.dimmed::after {
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35);
  pointer-events: none; animation: fadeIn .4s;
}
@keyframes fadeIn { from { opacity: 0; } }

.card-rise { animation: rise .6s var(--spring) backwards; }
.card-rise:nth-child(2) { animation-delay: .05s; }
.card-rise:nth-child(3) { animation-delay: .1s; }
.card-rise:nth-child(4) { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.safe-bottom { height: calc(var(--tab-h) + 26px); flex: none; }
.demo-note { text-align: center; font-size: 11px; color: var(--dim); padding: 18px 0 4px; letter-spacing: .05em; }

/* ---------- TabBar ---------- */
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 45;
  height: var(--tab-h); display: flex;
  padding: 6px 8px 22px;
  background: rgba(16, 12, 8, .82);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 -.5px 0 var(--line);
}
.tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--dim); font-size: 10.5px; font-weight: 600;
  position: relative; transition: color .2s; padding-top: 4px;
}
.tab svg { width: 25px; height: 25px; transition: transform .3s var(--spring); }
.tab.active { color: var(--ember); }
.tab.active svg { transform: translateY(-1px) scale(1.06); filter: drop-shadow(0 0 10px rgba(255, 107, 44, .55)); }
.tab:active svg { transform: scale(.86); }
.tab-badge {
  position: absolute; top: -2px; right: calc(50% - 22px);
  min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px;
  background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; font-style: normal;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 69, 58, .5);
}
.tab-badge.show { display: flex; }
.tab-badge.bump { animation: bump .45s var(--spring); }
.tab-dot {
  position: absolute; top: 2px; right: calc(50% - 16px);
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  display: none; box-shadow: 0 0 8px rgba(255, 69, 58, .8);
}
.tab-dot.show { display: block; animation: dotPulse 1.4s infinite; }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
.home-indicator {
  position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
  width: 134px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .32);
  z-index: 80; pointer-events: none;
}

/* ---------- 首页 ---------- */
.hero {
  position: relative; height: 250px; border-radius: 24px; overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .5);
}
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroPan 22s ease-in-out infinite alternate; }
@keyframes heroPan { from { transform: scale(1.06) translateX(-6px); } to { transform: scale(1.12) translateX(6px); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 8, 6, .25) 0%, rgba(11, 8, 6, 0) 34%, rgba(11, 8, 6, .88) 100%); }
.smoke {
  position: absolute; bottom: 34%; width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 245, 235, .16), transparent 68%);
  filter: blur(9px); pointer-events: none;
  animation: smokeUp 7s ease-in-out infinite;
}
.smoke.s1 { left: 16%; }
.smoke.s2 { left: 46%; animation-delay: 2.4s; animation-duration: 8.5s; }
.smoke.s3 { left: 72%; animation-delay: 4.2s; animation-duration: 6.4s; }
@keyframes smokeUp {
  0% { transform: translateY(26px) scale(.6); opacity: 0; }
  22% { opacity: .85; }
  100% { transform: translateY(-130px) scale(1.7); opacity: 0; }
}
.embers { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ember-p {
  position: absolute; bottom: 18%; width: 4px; height: 4px; border-radius: 50%;
  background: var(--ember2); box-shadow: 0 0 8px 2px rgba(255, 140, 50, .55);
  animation: emberFly linear infinite;
}
@keyframes emberFly {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translate(var(--dx, 14px), -170px) scale(.2); opacity: 0; }
}
.hero-top { position: absolute; top: 14px; left: 14px; }
.open-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .03em;
  background: rgba(10, 8, 6, .55); padding: 6px 12px; border-radius: 20px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: .5px solid rgba(255, 180, 90, .25); color: var(--ember2);
}
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: dotPulse 1.6s infinite; }
.hero-info { position: absolute; left: 18px; right: 18px; bottom: 16px; }
.hero-neon {
  font-size: 42px; font-weight: 900; letter-spacing: .1em; line-height: 1.1;
  color: #FFE9D6;
  text-shadow: 0 0 6px rgba(255, 120, 60, .9), 0 0 22px rgba(255, 80, 30, .65), 0 0 46px rgba(255, 60, 20, .4);
  animation: neonFlicker 5s linear infinite;
}
@keyframes neonFlicker {
  0%, 100% { opacity: 1; } 3% { opacity: .82; } 5% { opacity: 1; }
  42% { opacity: 1; } 43% { opacity: .7; } 44% { opacity: 1; } 76% { opacity: .9; } 77% { opacity: 1; }
}
.hero-sub { font-size: 10.5px; letter-spacing: .3em; color: rgba(255, 220, 190, .75); margin-top: 6px; font-weight: 600; }
.hero-meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12px; color: rgba(255, 240, 225, .85); font-weight: 600; }
.hm-score { display: inline-flex; align-items: center; gap: 3px; color: var(--gold); }
.hm-score .ic-star { width: 13px; height: 13px; }

.notice {
  display: flex; align-items: center; gap: 10px; margin-top: 14px;
  background: var(--card); border-radius: 14px; padding: 10px 12px;
  border: .5px solid var(--line); overflow: hidden;
}
.notice-tag {
  flex: none; font-size: 10.5px; font-weight: 800; color: var(--ember);
  background: rgba(255, 107, 44, .14); padding: 3px 8px; border-radius: 6px;
}
.notice-marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.notice-track { display: flex; gap: 34px; white-space: nowrap; animation: marquee 22s linear infinite; font-size: 12.5px; color: var(--sub); width: max-content; }
@keyframes marquee { to { transform: translateX(-50%); } }

.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.quick {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  background: var(--card); border: .5px solid var(--line); border-radius: 18px;
  padding: 14px 4px 12px; font-size: 12px; font-weight: 600; position: relative;
  transition: transform .18s var(--spring), background .2s;
}
.quick:active { transform: scale(.93); background: var(--card2); }
.q-ic { width: 42px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.q-ic svg { width: 22px; height: 22px; }
.q1 { background: rgba(10, 132, 255, .16); color: #6FB6FF; }
.q2 { background: rgba(255, 107, 44, .16); color: var(--ember); }
.q3 { background: rgba(245, 200, 107, .14); color: var(--gold); }
.q4 { background: rgba(48, 209, 88, .14); color: var(--green); }
.q-badge {
  font-style: normal; font-size: 9px; font-weight: 700; color: var(--sub);
  background: rgba(255, 255, 255, .06); padding: 2px 6px; border-radius: 8px;
  max-width: 92%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.q-badge.hot { color: var(--ember); background: rgba(255, 107, 44, .14); }

.sec-head { display: flex; align-items: baseline; gap: 8px; margin: 24px 2px 12px; }
.sec-head h2 { font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.sec-sub { font-size: 11.5px; color: var(--dim); }
.sec-more { margin-left: auto; font-size: 12px; color: var(--sub); display: flex; align-items: center; gap: 2px; }
.sec-more svg { width: 13px; height: 13px; }

.sig-scroll { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; }
.sig-card {
  flex: none; width: 158px; scroll-snap-align: start;
  background: var(--card); border: .5px solid var(--line); border-radius: 20px;
  overflow: hidden; transition: transform .18s var(--spring);
}
.sig-card:active { transform: scale(.96); }
.sig-img-wrap { position: relative; height: 118px; overflow: hidden; }
.sig-img { width: 100%; height: 100%; object-fit: cover; }
.sig-tag {
  position: absolute; top: 8px; left: 8px; font-size: 9.5px; font-weight: 800;
  background: linear-gradient(135deg, var(--flame), var(--ember)); color: #fff;
  padding: 3px 7px; border-radius: 7px; box-shadow: 0 3px 10px rgba(255, 61, 0, .4);
}
.sig-body { padding: 10px 12px 12px; }
.sig-name { font-size: 14px; font-weight: 700; }
.sig-desc { font-size: 10.5px; color: var(--dim); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sig-foot { display: flex; align-items: center; margin-top: 9px; }
.sig-price { font-size: 16px; font-weight: 800; color: var(--ember); }
.sig-price small { font-size: 10px; font-weight: 600; color: var(--dim); margin-left: 2px; }
.sig-add {
  margin-left: auto; width: 27px; height: 27px; border-radius: 50%;
  background: linear-gradient(135deg, var(--flame), var(--ember));
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 4px 12px rgba(255, 80, 20, .4); transition: transform .15s var(--spring);
}
.sig-add:active { transform: scale(.82); }
.sig-add svg { width: 15px; height: 15px; }

.combo {
  position: relative; margin-top: 18px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(120deg, #2A1408, #1E0F06 55%, #241206);
  border: .5px solid rgba(255, 140, 60, .28);
  padding: 18px; display: flex; align-items: center;
  box-shadow: 0 12px 34px rgba(255, 80, 20, .1);
}
.combo-glow { position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 120, 40, .3), transparent 70%); filter: blur(10px); animation: breathe 5s infinite; pointer-events: none; }
.combo-left { flex: 1; position: relative; }
.combo-tag { font-size: 10px; font-weight: 800; color: var(--gold); letter-spacing: .14em; }
.combo h3 { font-size: 21px; font-weight: 900; margin-top: 5px; }
.combo p { font-size: 11px; color: var(--sub); line-height: 1.7; margin-top: 6px; }
.combo-price { display: flex; align-items: baseline; gap: 8px; margin-top: 9px; }
.combo-price b { font-size: 26px; font-weight: 900; color: var(--ember); }
.combo-price s { font-size: 12px; color: var(--dim); }
.combo-save { font-size: 10px; font-weight: 800; color: #fff; background: var(--red); padding: 2.5px 7px; border-radius: 7px; }
.combo-btn {
  position: relative; flex: none; display: flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, var(--flame), var(--ember));
  color: #fff; font-size: 13px; font-weight: 800;
  padding: 11px 15px; border-radius: 22px;
  box-shadow: 0 8px 22px rgba(255, 70, 20, .45);
  transition: transform .16s var(--spring);
}
.combo-btn:active { transform: scale(.92); }
.combo-btn svg { width: 14px; height: 14px; }

.reviews { display: flex; flex-direction: column; gap: 10px; }
.review { background: var(--card); border: .5px solid var(--line); border-radius: 18px; padding: 14px; }
.rv-head { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.rv-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--card2); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.rv-stars { margin-left: auto; color: var(--gold); font-size: 10px; letter-spacing: 1px; }
.review p { font-size: 12.5px; color: #D8CBBE; line-height: 1.75; margin-top: 9px; }
.rv-tag { display: inline-block; font-size: 10px; color: var(--ember2); background: rgba(255, 179, 71, .1); padding: 3px 8px; border-radius: 8px; margin-top: 9px; }

.store-card { margin-top: 22px; background: var(--card); border: .5px solid var(--line); border-radius: 18px; overflow: hidden; }
.store-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
.store-row + .store-row { box-shadow: inset 0 .5px 0 var(--line); }
.store-row > svg { width: 20px; height: 20px; color: var(--ember); flex: none; }
.store-row div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.store-row b { font-size: 13.5px; font-weight: 700; }
.store-row span { font-size: 11px; color: var(--dim); }
.row-arrow { width: 15px !important; height: 15px !important; color: var(--dim) !important; }
.slogan { text-align: center; font-size: 12px; letter-spacing: .4em; color: var(--dim); padding: 28px 0 6px; }

/* ---------- 点单页 ---------- */
.menu-head { padding: calc(var(--nav-h) + 2px) 16px 10px; flex: none; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 9px 12px;
}
.search-box > svg { width: 16px; height: 16px; color: var(--dim); flex: none; }
.search-box input {
  flex: 1; background: none; border: 0; outline: 0; color: var(--text);
  font-size: 14px; min-width: 0;
}
.search-box input::placeholder { color: var(--dim); }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-clear { display: none; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.14); align-items: center; justify-content: center; }
.search-clear.show { display: flex; }
.search-clear svg { width: 10px; height: 10px; color: var(--sub); }

.menu-body { flex: 1; display: flex; min-height: 0; }
.cat-rail {
  width: 86px; flex: none; overflow-y: auto; background: rgba(255, 255, 255, .025);
  padding: 6px 0 calc(var(--tab-h) + 84px);
}
.cat-item {
  width: 100%; padding: 15px 6px; display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--sub); position: relative;
  transition: background .2s, color .2s; text-align: center; line-height: 1.3;
}
.cat-item .cat-emoji { font-size: 19px; filter: grayscale(.6); transition: filter .2s; }
.cat-item.active { background: var(--bg); color: var(--text); font-weight: 800; }
.cat-item.active .cat-emoji { filter: none; }
.cat-item.active::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3.5px; height: 22px; border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--ember), var(--flame));
  box-shadow: 0 0 10px rgba(255, 107, 44, .6);
}
.cat-count { font-size: 9px; color: var(--dim); font-weight: 600; }
.menu-scroll { flex: 1; overflow-y: auto; padding: 4px 14px calc(var(--tab-h) + 96px); overscroll-behavior: contain; }
.menu-sec-head { display: flex; align-items: baseline; gap: 7px; padding: 14px 2px 10px; position: sticky; top: 0; background: linear-gradient(180deg, var(--bg) 78%, transparent); z-index: 2; }
.menu-sec-head h3 { font-size: 16px; font-weight: 800; }
.menu-sec-head span { font-size: 10.5px; color: var(--dim); }

.dish { display: flex; gap: 12px; padding: 11px 0; position: relative; }
.dish + .dish { box-shadow: inset 0 .5px 0 var(--line); }
.dish-img-wrap { position: relative; width: 92px; height: 92px; flex: none; border-radius: 16px; overflow: hidden; cursor: pointer; }
.dish-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.dish-img-wrap:active .dish-img { transform: scale(1.08); }
.dish-flag {
  position: absolute; left: 0; bottom: 0; font-size: 8.5px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, var(--flame), rgba(255, 61, 0, .55));
  padding: 2.5px 7px 2.5px 5px; border-radius: 0 8px 0 0;
}
.dish-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dish-name { font-size: 15px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.dish-name .fav-dot { color: var(--red); font-size: 10px; }
.dish-desc { font-size: 11px; color: var(--dim); line-height: 1.5; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dish-meta { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 10px; color: var(--dim); }
.dish-meta .tag { color: var(--ember2); background: rgba(255, 179, 71, .1); padding: 1.5px 6px; border-radius: 5px; font-weight: 700; }
.dish-meta .tag.green { color: var(--green); background: rgba(48, 209, 88, .1); }
.dish-bottom { display: flex; align-items: flex-end; margin-top: auto; padding-top: 6px; }
.price { font-size: 17px; font-weight: 800; color: var(--ember); }
.price small { font-size: 10.5px; font-weight: 600; color: var(--dim); }
.price .yen { font-size: 11.5px; }
.min-hint { font-size: 9.5px; color: var(--dim); margin-left: 6px; margin-bottom: 2px; }
.dish-ctrl { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.add-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--flame), var(--ember)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 80, 20, .4);
  transition: transform .16s var(--spring);
}
.add-btn:active { transform: scale(.8); }
.add-btn svg { width: 15px; height: 15px; }
.stepper { display: flex; align-items: center; gap: 9px; }
.step-btn {
  width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: transform .14s var(--spring);
}
.step-btn:active { transform: scale(.8); }
.step-btn svg { width: 14px; height: 14px; }
.step-btn.minus { border: 1.2px solid rgba(255, 107, 44, .55); color: var(--ember); }
.step-btn.plus { background: linear-gradient(135deg, var(--flame), var(--ember)); color: #fff; box-shadow: 0 3px 10px rgba(255, 80, 20, .35); }
.step-num { font-size: 15px; font-weight: 700; min-width: 18px; text-align: center; }
.step-num.pop { animation: bump .35s var(--spring); }
.menu-empty { text-align: center; padding: 70px 20px; color: var(--dim); font-size: 13px; }
.menu-empty .big { font-size: 40px; display: block; margin-bottom: 14px; }

/* ---------- 购物车栏 ---------- */
.cartbar {
  position: absolute; left: 12px; right: 12px; bottom: calc(var(--tab-h) + 10px); z-index: 46;
  height: 58px; border-radius: 30px; display: none; align-items: center;
  background: rgba(30, 22, 15, .92);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  border: .5px solid rgba(255, 150, 70, .22);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .55);
  padding: 0 6px 0 8px;
  animation: cartIn .45s var(--spring);
}
.cartbar.show { display: flex; }
@keyframes cartIn { from { transform: translateY(80px); opacity: 0; } }
.cart-ic {
  position: relative; width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--flame), var(--ember));
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 6px 18px rgba(255, 70, 20, .5);
  transition: transform .16s var(--spring);
}
.cart-ic:active { transform: scale(.9); }
.cart-ic svg { width: 22px; height: 22px; }
.cart-ic.empty { background: #3A2E24; box-shadow: none; color: var(--dim); }
.cart-badge {
  position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  border: 2px solid #1E160F;
}
.cart-badge.bump { animation: bump .45s var(--spring); }
.cart-info { flex: 1; min-width: 0; padding: 0 12px; }
.cart-total { font-size: 17px; font-weight: 800; }
.cart-total small { font-size: 11px; color: var(--dim); font-weight: 600; }
.cart-total .saved { font-size: 10px; color: var(--green); font-weight: 700; margin-left: 6px; }
.cart-hint { font-size: 10px; color: var(--dim); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-hint.hl { color: var(--ember2); }
.cart-go {
  flex: none; height: 44px; padding: 0 24px; border-radius: 23px;
  background: linear-gradient(135deg, var(--flame), var(--ember));
  color: #fff; font-size: 15px; font-weight: 800;
  box-shadow: 0 6px 16px rgba(255, 70, 20, .4);
  transition: transform .16s var(--spring), opacity .2s;
}
.cart-go:active { transform: scale(.94); }
.cart-go:disabled { background: #3A2E24; color: var(--dim); box-shadow: none; }

/* ---------- 排队页 ---------- */
.queue-now {
  position: relative; text-align: center; border-radius: 24px; padding: 26px 18px 22px;
  background: linear-gradient(160deg, #221408, #170E07);
  border: .5px solid rgba(255, 140, 60, .25); overflow: hidden;
}
.qn-label { font-size: 11.5px; letter-spacing: .3em; color: var(--sub); font-weight: 700; }
.qn-number {
  font-size: 64px; font-weight: 900; letter-spacing: .04em; line-height: 1.15; margin-top: 4px;
  color: var(--ember2);
  text-shadow: 0 0 14px rgba(255, 150, 60, .7), 0 0 40px rgba(255, 90, 30, .4);
  font-variant-numeric: tabular-nums;
}
.qn-sub { font-size: 12.5px; color: var(--sub); margin-top: 4px; }
.qn-sub b { color: var(--text); font-size: 14px; }
.qn-wave { display: flex; justify-content: center; gap: 5px; margin-top: 16px; height: 18px; align-items: flex-end; }
.qn-wave i { width: 4px; border-radius: 2px; background: linear-gradient(180deg, var(--ember), var(--flame)); animation: wave 1.1s ease-in-out infinite; }
.qn-wave i:nth-child(1) { height: 8px; } .qn-wave i:nth-child(2) { height: 15px; animation-delay: .12s; }
.qn-wave i:nth-child(3) { height: 18px; animation-delay: .24s; } .qn-wave i:nth-child(4) { height: 13px; animation-delay: .36s; }
.qn-wave i:nth-child(5) { height: 7px; animation-delay: .48s; }
@keyframes wave { 50% { transform: scaleY(.45); opacity: .6; } }

.queue-take { margin-top: 14px; background: var(--card); border: .5px solid var(--line); border-radius: 20px; padding: 18px 16px; }
.queue-take h3 { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.queue-tip { font-size: 10.5px; color: var(--dim); text-align: center; margin-top: 12px; line-height: 1.6; }

.seg { position: relative; display: flex; background: rgba(255, 255, 255, .06); border-radius: 11px; padding: 3px; margin-bottom: 14px; }
.seg-btn {
  flex: 1; position: relative; z-index: 1; padding: 8px 4px; border-radius: 9px;
  font-size: 13.5px; font-weight: 700; color: var(--sub); transition: color .25s;
  display: flex; flex-direction: column; gap: 1px; align-items: center;
}
.seg-btn span { font-size: 9.5px; font-weight: 500; opacity: .75; }
.seg-btn.active { color: var(--text); }
.seg-thumb {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / 3);
  background: rgba(255, 255, 255, .14); border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  transition: transform .35s var(--spring);
}
.seg[data-n="2"] .seg-thumb { width: calc((100% - 6px) / 2); }

.btn-primary {
  width: 100%; height: 50px; border-radius: 15px;
  background: linear-gradient(135deg, var(--flame), var(--ember));
  color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .04em;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  box-shadow: 0 10px 26px rgba(255, 70, 20, .35);
  transition: transform .16s var(--spring), opacity .2s;
}
.btn-primary:active { transform: scale(.97); }
.btn-primary:disabled { opacity: .45; box-shadow: none; }
.btn-primary svg { width: 19px; height: 19px; }
.btn-ghost {
  width: 100%; height: 46px; border-radius: 14px; font-size: 14.5px; font-weight: 700;
  background: rgba(255, 255, 255, .07); color: var(--text);
  transition: transform .16s var(--spring), background .2s;
}
.btn-ghost:active { transform: scale(.97); background: rgba(255, 255, 255, .12); }
.btn-ghost.danger { color: var(--red); background: rgba(255, 69, 58, .1); }

.queue-ticket { margin-top: 14px; border-radius: 22px; overflow: hidden; border: .5px solid rgba(255, 150, 70, .3); background: linear-gradient(150deg, #2A1808, #1B1007); position: relative; }
.qt-inner { padding: 20px 18px; position: relative; }
.qt-top { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; color: var(--sub); font-weight: 600; }
.qt-type { background: rgba(255, 179, 71, .14); color: var(--ember2); padding: 3px 9px; border-radius: 8px; font-weight: 800; }
.qt-number { font-size: 52px; font-weight: 900; color: var(--text); margin-top: 8px; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.qt-number small { font-size: 13px; color: var(--sub); font-weight: 600; margin-left: 8px; letter-spacing: 0; }
.qt-ahead { font-size: 13px; color: var(--sub); margin-top: 2px; }
.qt-ahead b { color: var(--ember2); font-size: 17px; }
.qt-progress { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); margin-top: 16px; overflow: hidden; }
.qt-progress i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--flame), var(--ember2)); box-shadow: 0 0 10px rgba(255, 140, 50, .6); transition: width .8s var(--ease); }
.qt-perk { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 11.5px; color: var(--sub); }
.qt-perk b { color: var(--ember2); }
.qt-perk .perk-ic { font-size: 16px; }
.qt-perk.done { color: var(--green); }
.qt-perk.done b { color: var(--green); }
.qt-actions { display: flex; gap: 10px; padding: 0 18px 18px; }
.qt-actions > * { flex: 1; width: auto; white-space: nowrap; }
.qt-actions .btn-ghost { height: 42px; font-size: 13.5px; }
.qt-called {
  margin: 0 18px 18px; border-radius: 14px; padding: 14px;
  background: rgba(48, 209, 88, .12); border: .5px solid rgba(48, 209, 88, .4);
  color: var(--green); font-size: 14.5px; font-weight: 800; text-align: center;
  animation: calledGlow 1.6s ease-in-out infinite;
}
@keyframes calledGlow { 50% { box-shadow: 0 0 24px rgba(48, 209, 88, .35); } }
.queue-ticket.called { border-color: rgba(48, 209, 88, .5); }
.queue-ticket.called .qt-number { color: var(--green); text-shadow: 0 0 18px rgba(48, 209, 88, .5); }
.qt-tear { position: absolute; left: 0; right: 0; height: 0; border-top: 1.5px dashed rgba(255, 255, 255, .14); }

.queue-perks { margin-top: 14px; background: var(--card); border: .5px solid var(--line); border-radius: 20px; padding: 6px 16px; }
.perk { display: flex; gap: 12px; align-items: center; padding: 13px 0; }
.perk + .perk { box-shadow: inset 0 .5px 0 var(--line); }
.perk > span { font-size: 22px; }
.perk b { font-size: 13.5px; }
.perk p { font-size: 11px; color: var(--dim); margin-top: 2px; }

/* ---------- 我的 ---------- */
.profile-head { display: flex; align-items: center; gap: 14px; padding: 8px 2px 18px; }
.pf-avatar {
  width: 62px; height: 62px; border-radius: 50%; font-size: 30px;
  background: linear-gradient(135deg, #3A2008, #241206);
  border: 1.5px solid rgba(255, 150, 70, .4);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px rgba(255, 100, 40, .25);
}
.pf-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pf-info b { font-size: 20px; font-weight: 800; }
.pf-info span { font-size: 11.5px; color: var(--dim); }
.pf-badge { font-size: 10px; font-weight: 800; color: var(--gold); background: rgba(245, 200, 107, .12); border: .5px solid rgba(245, 200, 107, .35); padding: 4px 10px; border-radius: 12px; }

.member-card {
  position: relative; border-radius: 22px; padding: 18px; overflow: hidden; cursor: pointer;
  background: linear-gradient(120deg, #34200C, #20130A 60%, #2A1A0C);
  border: .5px solid rgba(245, 200, 107, .3);
  transition: transform .18s var(--spring);
}
.member-card:active { transform: scale(.98); }
.mc-flame { position: absolute; right: -30px; bottom: -50px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 130, 40, .28), transparent 70%); filter: blur(8px); animation: breathe 6s infinite; }
.mc-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: .06em; }
.mc-top svg { width: 20px; height: 20px; opacity: .8; }
.mc-balance { display: flex; align-items: baseline; gap: 2px; margin-top: 10px; font-size: 16px; font-weight: 700; color: var(--gold); }
.mc-balance b { font-size: 38px; font-weight: 900; font-variant-numeric: tabular-nums; }
.mc-recharge { margin-left: auto; font-size: 12px; font-weight: 800; color: #2A1808; background: linear-gradient(135deg, var(--gold), #E8B45A); padding: 7px 13px; border-radius: 16px; display: flex; align-items: center; gap: 2px; }
.mc-recharge svg { width: 12px; height: 12px; }
.mc-sub { font-size: 10.5px; color: rgba(245, 200, 107, .6); margin-top: 10px; }

.pf-stats { display: flex; margin-top: 14px; background: var(--card); border: .5px solid var(--line); border-radius: 18px; padding: 14px 0; }
.pf-stats button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.pf-stats button + button { box-shadow: inset .5px 0 0 var(--line); }
.pf-stats b { font-size: 20px; font-weight: 800; }
.pf-stats span { font-size: 11px; color: var(--dim); }

.order-list { display: flex; flex-direction: column; gap: 10px; }
.order-item { background: var(--card); border: .5px solid var(--line); border-radius: 16px; padding: 13px 14px; cursor: pointer; transition: transform .16s var(--spring); }
.order-item:active { transform: scale(.98); }
.oi-top { display: flex; align-items: center; font-size: 12px; color: var(--dim); }
.oi-status { margin-left: auto; font-weight: 800; font-size: 11px; padding: 2.5px 8px; border-radius: 8px; }
.oi-status.doing { color: var(--ember); background: rgba(255, 107, 44, .12); }
.oi-status.ready { color: var(--green); background: rgba(48, 209, 88, .12); }
.oi-status.done { color: var(--dim); background: rgba(255, 255, 255, .06); }
.oi-items { font-size: 13px; font-weight: 600; margin-top: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oi-bottom { display: flex; align-items: center; margin-top: 7px; font-size: 11.5px; color: var(--dim); }
.oi-bottom b { margin-left: auto; font-size: 14px; color: var(--text); }

.ios-group { margin-top: 20px; background: var(--card); border: .5px solid var(--line); border-radius: 16px; overflow: hidden; }
.ios-row {
  width: 100%; display: flex; align-items: center; gap: 11px;
  padding: 14px 16px; font-size: 14.5px; font-weight: 600; text-align: left;
  transition: background .15s;
}
.ios-row:active { background: rgba(255, 255, 255, .05); }
.ios-row + .ios-row { box-shadow: inset 0 .5px 0 var(--line); }
.row-ic { width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .06); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.ios-row .row-arrow { margin-left: auto; }

.empty-state { text-align: center; padding: 30px 16px; color: var(--dim); font-size: 12.5px; background: var(--card); border: .5px dashed rgba(255,255,255,.12); border-radius: 16px; }
.empty-state .big { font-size: 34px; display: block; margin-bottom: 10px; }
.empty-state button { margin-top: 12px; color: var(--ember); font-weight: 800; font-size: 13px; }

/* ---------- 订单火候页 ---------- */
.op-hero { text-align: center; padding: 6px 0 4px; }
.op-no-label { font-size: 11.5px; letter-spacing: .3em; color: var(--sub); font-weight: 700; }
.op-no { display: inline-block; padding: 0 20px; border-radius: 20px; font-size: 56px; font-weight: 900; color: var(--ember2); text-shadow: 0 0 16px rgba(255, 150, 60, .6), 0 0 44px rgba(255, 90, 30, .35); line-height: 1.2; font-variant-numeric: tabular-nums; }
.op-no.ready { color: var(--green); text-shadow: 0 0 16px rgba(48, 209, 88, .6), 0 0 44px rgba(48, 209, 88, .3); animation: calledGlow 1.6s infinite; }
.op-mode { font-size: 12.5px; color: var(--sub); margin-top: 2px; }
.op-mode b { color: var(--text); }

.grill-stage { position: relative; margin: 18px auto 6px; width: 100%; max-width: 330px; }
.grill-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 30px rgba(255, 80, 20, .18)); }
.coal { animation: coalGlow 2.2s ease-in-out infinite; }
.coal.c2 { animation-delay: .5s; } .coal.c3 { animation-delay: 1.1s; } .coal.c4 { animation-delay: .8s; } .coal.c5 { animation-delay: 1.6s; }
@keyframes coalGlow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.grill-smoke { animation: gSmoke 4.5s ease-in-out infinite; opacity: 0; }
.grill-smoke.gs2 { animation-delay: 1.5s; } .grill-smoke.gs3 { animation-delay: 3s; }
@keyframes gSmoke { 0% { transform: translateY(8px); opacity: 0; } 30% { opacity: .5; } 100% { transform: translateY(-34px); opacity: 0; } }
.grill-spark { animation: sparkFly 1.8s linear infinite; opacity: 0; }
.grill-spark.sp2 { animation-delay: .6s; } .grill-spark.sp3 { animation-delay: 1.2s; }
@keyframes sparkFly { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(6px, -40px); opacity: 0; } }
.grill-flip { transform-origin: 165px 96px; animation: flip 3.4s ease-in-out infinite; }
@keyframes flip { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-2.5deg) translateY(-2px); } }
.grill-stage.idle .grill-flip, .grill-stage.idle .grill-spark { animation-play-state: paused; }
.grill-stage.idle .coal { animation: none; opacity: .3; }

.op-status-line { text-align: center; font-size: 14.5px; font-weight: 700; color: var(--ember2); min-height: 22px; }
.op-count { text-align: center; font-size: 12px; color: var(--sub); margin-top: 5px; }
.op-count b { color: var(--text); font-size: 15px; font-variant-numeric: tabular-nums; }

.steps { display: flex; margin: 20px 0 6px; position: relative; }
.steps::before { content: ""; position: absolute; top: 13px; left: 10%; right: 10%; height: 2px; background: rgba(255, 255, 255, .09); border-radius: 1px; }
.steps-fill { position: absolute; top: 13px; left: 10%; height: 2px; background: linear-gradient(90deg, var(--flame), var(--ember2)); border-radius: 1px; box-shadow: 0 0 8px rgba(255, 130, 50, .7); transition: width .8s var(--ease); }
.step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; position: relative; z-index: 1; }
.step i {
  width: 27px; height: 27px; border-radius: 50%; font-style: normal;
  background: #241C14; border: 1.5px solid rgba(255, 255, 255, .14);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--dim); transition: all .3s;
}
.step span { font-size: 10px; color: var(--dim); font-weight: 600; transition: color .3s; }
.step.done i { background: rgba(255, 107, 44, .18); border-color: var(--ember); color: var(--ember); }
.step.done span { color: var(--sub); }
.step.now i {
  background: linear-gradient(135deg, var(--flame), var(--ember)); border-color: transparent; color: #fff;
  box-shadow: 0 0 0 5px rgba(255, 107, 44, .15), 0 0 18px rgba(255, 107, 44, .6);
  animation: stepPulse 1.6s ease-in-out infinite;
}
.step.now span { color: var(--ember2); font-weight: 800; }
@keyframes stepPulse { 50% { box-shadow: 0 0 0 8px rgba(255, 107, 44, .07), 0 0 24px rgba(255, 107, 44, .8); } }

.op-card { background: var(--card); border: .5px solid var(--line); border-radius: 18px; padding: 15px 16px; margin-top: 16px; }
.op-card h4 { font-size: 13px; font-weight: 800; color: var(--sub); margin-bottom: 11px; letter-spacing: .04em; }
.op-line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13.5px; }
.op-line img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.op-line .ol-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.op-line .ol-name small { display: block; font-size: 10px; color: var(--dim); font-weight: 500; }
.op-line .ol-qty { color: var(--dim); font-size: 12px; }
.op-line .ol-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.op-sum { margin-top: 10px; padding-top: 11px; box-shadow: inset 0 .5px 0 var(--line); font-size: 12.5px; color: var(--sub); }
.op-sum .row { display: flex; justify-content: space-between; padding: 3px 0; }
.op-sum .row.disc { color: var(--green); }
.op-sum .row.total { color: var(--text); font-weight: 800; font-size: 15px; padding-top: 8px; }
.op-sum .row.total b { color: var(--ember); font-size: 19px; }
.op-actions { display: flex; gap: 10px; margin-top: 18px; }
.op-actions > * { flex: 1; }
.op-meta { text-align: center; font-size: 10.5px; color: var(--dim); margin-top: 16px; line-height: 1.8; }

/* ---------- 弹层 ---------- */
.sheet-backdrop {
  position: absolute; inset: 0; z-index: 90; background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.sheet-backdrop.show { opacity: 1; pointer-events: auto; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 95;
  max-height: 88%; display: flex; flex-direction: column;
  background: #191310; border-radius: 26px 26px 0 0;
  transform: translateY(105%);
  transition: transform .5s var(--spring);
  box-shadow: 0 -18px 60px rgba(0, 0, 0, .6);
  border-top: .5px solid rgba(255, 255, 255, .1);
}
.sheet.open { transform: translateY(0); }
.sheet.dragging { transition: none; }
.sheet-grabber { padding: 9px 0 5px; display: flex; justify-content: center; cursor: grab; touch-action: none; flex: none; }
.sheet-grabber i { width: 38px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.sheet-content { overflow-y: auto; padding: 4px 18px calc(24px + env(safe-area-inset-bottom, 0px)); overscroll-behavior: contain; }
.sheet-title { font-size: 18px; font-weight: 800; text-align: center; padding: 4px 0 14px; }
.sheet-close { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; z-index: 2; }
.sheet-close svg { width: 13px; height: 13px; color: var(--sub); }

/* 菜品详情 */
.is-img-wrap { position: relative; border-radius: 20px; overflow: hidden; height: 210px; margin-bottom: 14px; }
.is-img { width: 100%; height: 100%; object-fit: cover; }
.is-fav {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(10, 8, 6, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: transform .2s var(--spring);
}
.is-fav:active { transform: scale(.85); }
.is-fav svg { width: 18px; height: 18px; }
.is-fav.on { color: var(--red); }
.is-fav.on svg { fill: var(--red); }
.is-name { font-size: 21px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.is-name .tag { font-size: 9.5px; font-weight: 800; color: var(--ember); background: rgba(255, 107, 44, .14); padding: 3px 8px; border-radius: 7px; }
.is-desc { font-size: 13px; color: var(--sub); line-height: 1.7; margin-top: 7px; }
.is-meta { display: flex; gap: 12px; font-size: 11px; color: var(--dim); margin-top: 9px; }
.spice-title { font-size: 13px; font-weight: 800; margin: 16px 0 9px; display: flex; align-items: center; gap: 6px; }
.spice-title small { font-weight: 500; color: var(--dim); font-size: 10.5px; }
.spice-row { display: flex; gap: 7px; flex-wrap: wrap; }
.spice-opt {
  padding: 8px 13px; border-radius: 12px; font-size: 12.5px; font-weight: 700;
  background: rgba(255, 255, 255, .06); color: var(--sub); border: 1px solid transparent;
  transition: all .2s;
}
.spice-opt small { display: block; font-size: 9px; font-weight: 500; opacity: .7; margin-top: 1px; }
.spice-opt.active { background: rgba(255, 107, 44, .16); color: var(--ember); border-color: rgba(255, 107, 44, .5); }
.is-footer { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.is-price { font-size: 26px; font-weight: 900; color: var(--ember); }
.is-price small { font-size: 12px; color: var(--dim); font-weight: 600; }
.is-add { flex: 1; height: 50px; border-radius: 15px; background: linear-gradient(135deg, var(--flame), var(--ember)); color: #fff; font-size: 15.5px; font-weight: 800; box-shadow: 0 8px 22px rgba(255, 70, 20, .35); transition: transform .16s var(--spring); }
.is-add:active { transform: scale(.96); }

/* 购物车弹层 */
.cs-head { display: flex; align-items: center; padding-bottom: 12px; }
.cs-head b { font-size: 17px; font-weight: 800; }
.cs-clear { margin-left: auto; font-size: 12px; color: var(--dim); display: flex; align-items: center; gap: 4px; }
.cs-clear svg { width: 14px; height: 14px; }
.cs-line { display: flex; align-items: center; gap: 11px; padding: 11px 0; }
.cs-line + .cs-line { box-shadow: inset 0 .5px 0 var(--line); }
.cs-line img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.cs-info { flex: 1; min-width: 0; }
.cs-name { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-spice { font-size: 10.5px; color: var(--dim); margin-top: 2px; }
.cs-price { font-size: 14.5px; font-weight: 800; color: var(--ember); margin-top: 3px; }
.cs-price small { font-size: 10px; color: var(--dim); font-weight: 500; }
.cs-empty { text-align: center; padding: 40px 0 30px; color: var(--dim); font-size: 13px; }
.cs-empty .big { font-size: 42px; display: block; margin-bottom: 12px; }
.cs-promo { margin-top: 12px; background: rgba(255, 107, 44, .08); border: .5px dashed rgba(255, 140, 60, .4); border-radius: 12px; padding: 10px 12px; font-size: 11.5px; color: var(--ember2); line-height: 1.6; }

/* 结算 */
.co-sec { margin-top: 18px; }
.co-title { font-size: 13px; font-weight: 800; color: var(--sub); margin-bottom: 10px; }
.table-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.table-cell {
  padding: 11px 4px; border-radius: 12px; text-align: center;
  background: rgba(255, 255, 255, .06); font-size: 14px; font-weight: 700; color: var(--sub);
  border: 1px solid transparent; transition: all .18s;
}
.table-cell small { display: block; font-size: 9px; font-weight: 500; opacity: .7; margin-top: 2px; }
.table-cell.active { background: rgba(255, 107, 44, .16); color: var(--ember); border-color: rgba(255, 107, 44, .55); }
.table-cell.busy { opacity: .32; pointer-events: none; }
.pickup-input {
  width: 100%; background: rgba(255, 255, 255, .06); border: 1px solid transparent; border-radius: 12px;
  padding: 13px 14px; color: var(--text); font-size: 15px; outline: 0; letter-spacing: .2em;
}
.pickup-input:focus { border-color: rgba(255, 107, 44, .5); }
.note-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 18px; font-size: 12.5px; font-weight: 600; background: rgba(255, 255, 255, .06); color: var(--sub); border: 1px solid transparent; transition: all .18s; }
.chip.active { background: rgba(255, 107, 44, .16); color: var(--ember); border-color: rgba(255, 107, 44, .5); }
.co-row { display: flex; align-items: center; padding: 13px 0; font-size: 14px; }
.co-row + .co-row { box-shadow: inset 0 .5px 0 var(--line); }
.co-row .lbl { color: var(--sub); font-size: 13px; }
.co-row .val { margin-left: auto; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.co-row .val svg { width: 14px; height: 14px; color: var(--dim); }
.co-row .val.green { color: var(--green); }
.pay-opt { display: flex; align-items: center; gap: 11px; width: 100%; padding: 13px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid transparent; margin-bottom: 8px; transition: all .18s; text-align: left; }
.pay-opt .pay-ic { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.pay-opt b { font-size: 14px; display: block; }
.pay-opt small { font-size: 10.5px; color: var(--dim); }
.pay-opt .radio { margin-left: auto; width: 21px; height: 21px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); flex: none; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.pay-opt.active { border-color: rgba(255, 107, 44, .55); background: rgba(255, 107, 44, .1); }
.pay-opt.active .radio { border-color: var(--ember); background: var(--ember); }
.pay-opt.active .radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.pay-opt.disabled { opacity: .4; pointer-events: none; }
.co-submit { margin-top: 20px; }
.co-total-line { display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; margin-top: 16px; font-size: 12.5px; color: var(--sub); }
.co-total-line b { font-size: 25px; font-weight: 900; color: var(--ember); }
.co-total-line .disc-tag { color: var(--green); font-size: 11px; font-weight: 700; }

/* 抽签 */
.sign-stage { text-align: center; padding: 8px 0 4px; }
.sign-tube { position: relative; width: 130px; height: 150px; margin: 42px auto 14px; }
.tube-body {
  position: absolute; bottom: 0; left: 15px; right: 15px; height: 108px;
  background: linear-gradient(90deg, #6B4A26, #8A6236 30%, #5C3E20 70%, #6B4A26);
  border-radius: 10px 10px 16px 16px;
  box-shadow: inset 0 -14px 24px rgba(0, 0, 0, .4), 0 14px 30px rgba(0, 0, 0, .5);
}
.tube-body::before { content: "签"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 900; color: rgba(255, 220, 170, .85); text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.tube-rim { position: absolute; bottom: 100px; left: 10px; right: 10px; height: 14px; border-radius: 7px; background: linear-gradient(90deg, #7A5530, #9A7040, #6B4A26); box-shadow: 0 3px 8px rgba(0,0,0,.4); }
.sign-stick {
  position: absolute; bottom: 104px; left: 50%; width: 13px; height: 66px; margin-left: -6.5px;
  background: linear-gradient(90deg, #E8D5B0, #D9C294); border-radius: 4px 4px 0 0;
  transform: translateY(46px); transition: transform .7s var(--spring);
  box-shadow: 0 -3px 10px rgba(0,0,0,.3);
}
.sign-stick::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 16px; background: var(--flame); border-radius: 4px 4px 0 0; }
.sign-tube.shaking { animation: shake .5s ease-in-out 2; }
.sign-tube.drawn .sign-stick { transform: translateY(-18px); }
@keyframes shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-7deg); } 75% { transform: rotate(7deg); } }
.sign-result { min-height: 118px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.sign-text { font-size: 24px; font-weight: 900; letter-spacing: .1em; color: var(--gold); opacity: 0; transform: translateY(10px); transition: all .5s var(--spring) .2s; }
.sign-sub { font-size: 12px; color: var(--sub); opacity: 0; transition: opacity .5s .4s; }
.sign-result.show .sign-text, .sign-result.show .sign-sub { opacity: 1; transform: none; }
.sign-coupon {
  display: flex; align-items: center; gap: 10px; margin-top: 6px;
  background: rgba(255, 107, 44, .1); border: .5px dashed rgba(255, 140, 60, .5);
  border-radius: 14px; padding: 11px 16px; opacity: 0; transform: scale(.9); transition: all .45s var(--spring) .55s;
}
.sign-result.show .sign-coupon { opacity: 1; transform: none; }
.sign-coupon b { font-size: 22px; color: var(--ember); font-weight: 900; }
.sign-coupon span { font-size: 12px; color: var(--sub); text-align: left; line-height: 1.5; }
.sign-btn { margin-top: 16px; }
.sign-used { font-size: 12px; color: var(--dim); margin-top: 12px; }

/* 充值 */
.rc-opt { display: flex; align-items: center; width: 100%; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1.5px solid transparent; margin-bottom: 10px; transition: all .18s; text-align: left; }
.rc-opt b { font-size: 20px; font-weight: 900; }
.rc-opt .rc-gift { margin-left: 10px; font-size: 11px; font-weight: 800; color: var(--gold); background: rgba(245, 200, 107, .12); padding: 3px 9px; border-radius: 9px; }
.rc-opt small { margin-left: auto; font-size: 11px; color: var(--dim); }
.rc-opt.active { border-color: rgba(245, 200, 107, .6); background: rgba(245, 200, 107, .08); }
.rc-note { font-size: 10.5px; color: var(--dim); text-align: center; margin-top: 12px; line-height: 1.7; }

/* 优惠券 */
.coupon-card { display: flex; align-items: stretch; background: linear-gradient(120deg, #2A1808, #1E1207); border: .5px solid rgba(255, 150, 70, .3); border-radius: 16px; overflow: hidden; margin-bottom: 10px; position: relative; }
.coupon-card::before, .coupon-card::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #191310; left: 87px; }
.coupon-card::before { top: -7px; } .coupon-card::after { bottom: -7px; }
.cc-left { width: 94px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1.5px dashed rgba(255, 255, 255, .15); padding: 14px 0; }
.cc-amount { font-size: 26px; font-weight: 900; color: var(--ember); }
.cc-amount small { font-size: 12px; }
.cc-cond { font-size: 9.5px; color: var(--dim); margin-top: 2px; }
.cc-info { flex: 1; padding: 13px 14px; display: flex; flex-direction: column; justify-content: center; }
.cc-info b { font-size: 13.5px; }
.cc-info span { font-size: 10.5px; color: var(--dim); margin-top: 3px; }
.cc-btn { align-self: center; margin-right: 12px; flex: none; font-size: 11.5px; font-weight: 800; color: var(--ember); border: 1px solid rgba(255, 107, 44, .55); padding: 6px 12px; border-radius: 14px; }
.cc-btn.used { color: var(--dim); border-color: rgba(255,255,255,.15); }
.coupon-empty { text-align: center; color: var(--dim); font-size: 12.5px; padding: 30px 0; }
.coupon-empty .big { font-size: 38px; display: block; margin-bottom: 10px; }

/* 关于 / 收藏 / 辣度档案 */
.about-hero { border-radius: 18px; overflow: hidden; height: 150px; margin-bottom: 14px; position: relative; }
.about-hero img { width: 100%; height: 100%; object-fit: cover; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(25, 19, 16, .9)); }
.about-story { font-size: 13px; color: var(--sub); line-height: 2; }
.about-story b { color: var(--ember2); }
.about-sign { text-align: right; font-size: 12px; color: var(--dim); margin-top: 14px; font-style: italic; }
.fav-line { display: flex; align-items: center; gap: 11px; padding: 10px 0; }
.fav-line + .fav-line { box-shadow: inset 0 .5px 0 var(--line); }
.fav-line img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.fav-line b { flex: 1; font-size: 14px; }
.fav-line .price { font-size: 15px; }

/* 动作面板 / 确认 */
.action-sheet { padding-bottom: 6px; }
.as-group { background: rgba(255, 255, 255, .06); border-radius: 16px; overflow: hidden; margin-bottom: 10px; }
.as-btn { width: 100%; padding: 16px; font-size: 16px; font-weight: 600; color: var(--blue); text-align: center; }
.as-btn + .as-btn { box-shadow: inset 0 .5px 0 var(--line); }
.as-btn.danger { color: var(--red); }
.as-btn.plain { color: var(--text); }
.as-title { padding: 13px; font-size: 12px; color: var(--dim); text-align: center; }
.as-cancel { width: 100%; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .1); font-size: 16px; font-weight: 800; }

/* Toast */
.toast {
  position: absolute; left: 50%; bottom: calc(var(--tab-h) + 90px); z-index: 120;
  transform: translateX(-50%) translateY(16px);
  background: rgba(28, 22, 17, .92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: .5px solid rgba(255, 255, 255, .1);
  color: var(--text); font-size: 13.5px; font-weight: 600;
  padding: 12px 20px; border-radius: 22px; max-width: 82%;
  text-align: center; opacity: 0; pointer-events: none;
  transition: all .35s var(--spring);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 飞入购物车 */
.fly-layer { position: absolute; inset: 0; z-index: 110; pointer-events: none; overflow: hidden; }
.fly-item { position: absolute; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }

/* 纸屑火星 */
.confetti { position: absolute; width: 6px; height: 6px; border-radius: 2px; pointer-events: none; z-index: 115; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; }
}