/* ==========================================================
   青禾直播 · Design System v2  「墨玉 Jade Noir」
   ----------------------------------------------------------
   01 设计令牌
   02 基础排版
   03 通用控件
   04 落地页（官网）
   05 直播间大厅
   06 直播间
   07 弹层 / 购物袋 / 优惠券
   08 我的 / 工作台
   09 分享 / 微信引导
   10 响应式
   ========================================================== */

/* ================= 01 设计令牌 ================= */
:root {
  /* 墨（深色面） */
  --night: #070B12;
  --night-1: #0B1119;
  --night-2: #121A26;
  --night-3: #1B2534;
  --ink: #070B12;
  --ink-2: #121A26;

  /* 纸（浅色面） */
  --paper: #F5F7FA;
  --paper-2: #EDF1F6;
  --card: #FFFFFF;

  /* 线 */
  --line: rgba(11, 20, 34, .09);
  --line-soft: rgba(11, 20, 34, .055);
  --line-strong: rgba(11, 20, 34, .14);
  --hair-dark: rgba(255, 255, 255, .09);

  /* 字 */
  --text: #0B1422;
  --text-2: #35435A;
  --muted: #6A798E;
  --faint: #93A1B3;
  --on-dark: #F2F6FA;
  --on-dark-2: rgba(255, 255, 255, .68);
  --on-dark-3: rgba(255, 255, 255, .42);

  /* 玉 */
  --brand: #0BA678;
  --brand-dark: #08835D;
  --brand-light: #3EDDA8;
  --brand-soft: #E9F8F3;
  --brand-ring: rgba(11, 166, 120, .16);
  --jade-glow: rgba(62, 221, 168, .34);

  /* 金（价格 / 高级标签） */
  --gold: #C9A063;
  --gold-light: #E7C89A;
  --gold-soft: #FBF5EA;

  /* 状态 */
  --live: #FF4D64;
  --live-dark: #E03B52;
  --warn: #B45309;
  --danger: #D93A3A;
  --ok: #0BA678;

  /* 圆角 */
  --r-xs: 8px;
  --r-sm: 10px;
  --r-md: 13px;
  --radius: 16px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* 阴影 */
  --sh-xs: 0 1px 2px rgba(9, 17, 29, .06);
  --sh-sm: 0 1px 2px rgba(9, 17, 29, .05), 0 4px 12px -4px rgba(9, 17, 29, .08);
  --shadow: 0 1px 3px rgba(9, 17, 29, .05), 0 10px 28px -10px rgba(9, 17, 29, .12);
  --shadow-lg: 0 2px 8px rgba(9, 17, 29, .06), 0 28px 64px -20px rgba(9, 17, 29, .22);
  --sh-float: 0 1px 1px rgba(9, 17, 29, .04), 0 8px 20px -6px rgba(9, 17, 29, .1), 0 32px 72px -24px rgba(9, 17, 29, .28);
  --sh-brand: 0 6px 18px -6px rgba(11, 166, 120, .45);

  /* 动效 */
  --ease: cubic-bezier(.22, .68, 0, 1);
  --dur: .22s;
}

/* ================= 02 基础排版 ================= */
* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body { height: 100%; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", "SF Pro Text", system-ui, -apple-system, "PingFang SC",
    "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  background: var(--paper);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; }

::selection { background: rgba(62, 221, 168, .3); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 细滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(11, 20, 34, .14);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(11, 20, 34, .26); background-clip: content-box; }

.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* 光晕 */
.glow-a,
.glow-b {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}

/* ================= 03 通用控件 ================= */

.btn-primary {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, #17B583, var(--brand));
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  border: 0; cursor: pointer;
  box-shadow: var(--sh-brand), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), filter var(--dur);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 10px 26px -8px rgba(11, 166, 120, .55), inset 0 1px 0 rgba(255, 255, 255, .24);
}
.btn-primary:active { transform: translateY(0) scale(.992); }
.btn-primary:disabled {
  background: #DCE3EC; color: #93A1B3; box-shadow: none; cursor: not-allowed; transform: none;
}
.btn-primary svg { flex: 0 0 auto; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 14px; font-weight: 500; color: var(--text);
  cursor: pointer;
  transition: var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-ghost:hover { border-color: rgba(11, 166, 120, .4); background: #FBFEFD; color: var(--brand-dark); }
.btn-ghost:active { transform: scale(.99); }

.btn-primary.lg, .btn-ghost.lg { padding: 15px 26px; font-size: 15px; border-radius: 14px; }
.btn-ghost.sm, .btn-primary.sm { padding: 8px 14px; font-size: 13px; border-radius: var(--r-sm); }

.field {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: 14px; outline: 0; transition: var(--dur) var(--ease);
  background: #fff; color: var(--text);
  font-family: inherit;
}
.field::placeholder { color: #A9B5C4; }
.field:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3.5px var(--brand-ring);
}

/* 商城/后台沿用 */
.flash {
  padding: 11px 14px; border-radius: var(--r-sm); font-size: 12.5px;
  border: 1px solid; line-height: 1.6;
}
.flash.ok { background: #E9F8F3; border-color: #C9EEE2; color: #077052; }
.flash.err { background: #FEF2F2; border-color: #F7D4D4; color: #A81E1E; }

.notice-box {
  background: #FBFCFD;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-sm);
  padding: 12px 14px; font-size: 12px; color: #43536A; line-height: 1.75;
}

.tag {
  display: inline-flex; align-items: center;
  font-size: 11px; color: #52627A;
  background: #F2F5F9;
  border: 1px solid var(--line-soft);
  padding: 3px 8px; border-radius: 6px;
  letter-spacing: .01em;
}

.empty {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 56px 24px;
  text-align: center; color: var(--muted);
  background: #fff;
  font-size: 13px;
}

/* 提示条 */
.toast {
  position: fixed; top: 78px; left: 50%; transform: translateX(-50%) translateY(-6px);
  background: rgba(9, 15, 24, .94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #fff;
  font-size: 13px; padding: 10px 18px; border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5);
  z-index: 80;
  opacity: 0; pointer-events: none;
  transition: .26s var(--ease);
  max-width: 86vw; width: max-content;
  text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================= 04 落地页 ================= */

body.landing {
  background: var(--night);
  color: var(--on-dark);
  overflow-x: hidden;
}

.landing ::selection { background: rgba(62, 221, 168, .35); color: #fff; }

/* 顶部 */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 18, .72);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid var(--hair-dark);
}
.site-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 221, 168, .32), transparent);
}
.head-in { display: flex; align-items: center; gap: 28px; height: 68px; }

.head-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.head-nav a {
  font-size: 13.5px; color: var(--on-dark-2);
  padding: 7px 12px; border-radius: 8px;
  transition: var(--dur);
}
.head-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }

.head-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.head-cta .btn-ghost {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
  color: var(--on-dark);
  padding: 8px 14px; font-size: 13px;
}
.head-cta .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .24); }
.head-cta .btn-primary { padding: 8px 16px; font-size: 13px; border-radius: var(--r-sm); }

/* 品牌 */
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(145deg, #123, #0A1520 60%, #0E2A24);
  border: 1px solid rgba(62, 221, 168, .22);
  display: grid; place-items: center;
  flex: 0 0 auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 2px 8px rgba(0, 0, 0, .3);
  overflow: hidden;
}
.brand-mark .brand-logo { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }
.brand-name {
  display: block;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  line-height: 1.2; color: inherit;
}
.brand-sub {
  display: block;
  font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-dark-3); line-height: 1.3; margin-top: 1px;
}
body:not(.landing) .brand-name { color: var(--text); }
body:not(.landing) .brand-sub { color: var(--faint); }

/* Hero */
.hero-wrap {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  background:
    radial-gradient(1000px 560px at 78% -8%, rgba(11, 166, 120, .2), transparent 62%),
    radial-gradient(760px 420px at 8% 12%, rgba(41, 96, 168, .16), transparent 66%),
    radial-gradient(620px 620px at 46% 110%, rgba(62, 221, 168, .1), transparent 70%),
    var(--night);
}

/* 网格纹理 */
.hero-wrap::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(900px 520px at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(900px 520px at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero2 {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: .02em;
  color: #B7F3DF;
  background: rgba(11, 166, 120, .12);
  border: 1px solid rgba(62, 221, 168, .24);
  padding: 6px 13px 6px 11px;
  border-radius: 999px;
  margin-bottom: 26px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(62, 221, 168, .2);
  animation: pulse 2.2s infinite;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 600;
  color: #fff;
}
.hero-copy h1 .grad {
  background: linear-gradient(96deg, #7BF3CE 0%, #3EDDA8 38%, #C9A063 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy > p {
  font-size: 16px; line-height: 1.85;
  color: var(--on-dark-2);
  max-width: 40em;
  margin: 0 0 34px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn-ghost {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .15);
  color: #EAF1F8;
}
.hero-cta .btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); }

/* 数据条 */
.trust-row {
  display: flex; flex-wrap: wrap; gap: 0;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--hair-dark);
}
.trust-row > div {
  padding: 0 30px;
  border-left: 1px solid var(--hair-dark);
}
.trust-row > div:first-child { padding-left: 0; border-left: 0; }
.trust-row b {
  display: block;
  font-size: 26px; font-weight: 600; letter-spacing: -.025em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.trust-row span { font-size: 12px; color: var(--on-dark-3); letter-spacing: .01em; }

/* --- Hero 视觉：产品复刻 --- */
.hero-art { position: relative; }

.hero-art::before {
  content: "";
  position: absolute; inset: -14% -8%;
  background: radial-gradient(closest-side, rgba(62, 221, 168, .22), transparent 72%);
  filter: blur(40px);
  z-index: 0;
}

.mock {
  position: relative; z-index: 1;
  border-radius: 20px;
  background: linear-gradient(170deg, rgba(30, 42, 58, .96), rgba(10, 16, 24, .98));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .4),
    0 40px 100px -32px rgba(0, 0, 0, .85),
    inset 0 1px 0 rgba(255, 255, 255, .13);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.mock:hover { transform: perspective(1400px) rotateY(0deg) rotateX(0deg); }

.mock-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .025);
}
.mock-bar i {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}
.mock-bar i:nth-child(1) { background: #FF5F57; opacity: .8; }
.mock-bar i:nth-child(2) { background: #FEBC2E; opacity: .8; }
.mock-bar i:nth-child(3) { background: #28C840; opacity: .8; }
.mock-url {
  flex: 1; margin-left: 8px;
  height: 22px; border-radius: 6px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .06);
  display: flex; align-items: center; padding: 0 9px;
  font-size: 10px; color: var(--on-dark-3); letter-spacing: .02em;
}

.mock-body { display: grid; grid-template-columns: 1fr 128px; }

.mock-stage {
  position: relative;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(120% 100% at 30% 0%, #1D3B4E 0%, #0C1721 58%, #070C12 100%);
  overflow: hidden;
}
.mock-stage::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(closest-side at 62% 38%, rgba(62, 221, 168, .2), transparent 68%),
    linear-gradient(180deg, transparent 46%, rgba(4, 8, 13, .9));
}
.mock-live {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .06em; color: #fff;
  background: var(--live);
  padding: 3px 7px; border-radius: 5px;
  box-shadow: 0 2px 8px rgba(255, 77, 100, .5);
}
.mock-live i { width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }

.mock-cap {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3;
}
.mock-cap b { display: block; font-size: 12px; color: #fff; font-weight: 600; margin-bottom: 3px; }
.mock-cap span { font-size: 10px; color: rgba(255, 255, 255, .6); }

.mock-chat {
  border-left: 1px solid rgba(255, 255, 255, .07);
  padding: 10px 9px;
  display: flex; flex-direction: column; gap: 7px;
  background: rgba(7, 11, 18, .55);
}
.mock-msg { display: flex; gap: 5px; align-items: flex-start; }
.mock-msg .av {
  width: 15px; height: 15px; border-radius: 50%; flex: 0 0 auto;
  background: rgba(255, 255, 255, .13);
  font-size: 7px; color: rgba(255, 255, 255, .8);
  display: grid; place-items: center;
}
.mock-msg .tx {
  font-size: 8.5px; line-height: 1.5; color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .07);
  padding: 3px 6px; border-radius: 5px;
  border-top-left-radius: 2px;
}
.mock-msg.hi .av { background: rgba(62, 221, 168, .22); color: #9BF7DA; }
.mock-msg.hi .tx { background: rgba(11, 166, 120, .3); color: #DFFBF2; }

.mock-shop {
  position: absolute; z-index: 4; right: 142px; bottom: 16px;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px 7px 7px;
  border-radius: 10px;
  background: rgba(16, 23, 33, .92);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.mock-shop .th {
  width: 30px; height: 30px; border-radius: 7px;
  background: linear-gradient(135deg, #24525F, #16333B);
  display: grid; place-items: center;
  font-size: 13px;
}
.mock-shop .in { min-width: 0; }
.mock-shop b { display: block; font-size: 9.5px; color: #fff; white-space: nowrap; font-weight: 500; }
.mock-shop em {
  display: block; font-size: 11px; font-style: normal; font-weight: 700;
  color: var(--gold-light); letter-spacing: -.01em;
}
.mock-shop u {
  text-decoration: none; font-size: 8.5px;
  background: var(--brand); color: #fff;
  padding: 3px 6px; border-radius: 4px; font-weight: 600;
}

/* 特性条 */
.marquee {
  border-top: 1px solid var(--hair-dark);
  border-bottom: 1px solid var(--hair-dark);
  background: rgba(255, 255, 255, .018);
  overflow: hidden;
}
.marquee-in {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
  padding: 20px 28px;
}
.marquee-in span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--on-dark-3);
  letter-spacing: .02em;
  white-space: nowrap;
}
.marquee-in svg { color: rgba(62, 221, 168, .6); flex: 0 0 auto; }

/* 通用区块（深色） */
.dark-sec { padding: 92px 0; position: relative; }
.dark-sec.alt { background: linear-gradient(180deg, #070B12, #0A1119); }

.sec-head { max-width: 660px; margin: 0 0 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 16px;
}
.sec-kicker::before {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-light));
}
.sec-head.center .sec-kicker::before { display: none; }
.sec-head h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.22;
  letter-spacing: -.028em;
  font-weight: 600;
  color: #fff;
}
.sec-head p {
  margin: 0;
  font-size: 14.5px; line-height: 1.85;
  color: var(--on-dark-2);
}

/* 功能矩阵 */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  border: 1px solid rgba(255, 255, 255, .085);
  transition: var(--dur) var(--ease);
  overflow: hidden;
}
.feat::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px 220px at 50% -20%, rgba(62, 221, 168, .14), transparent 70%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.feat:hover {
  transform: translateY(-3px);
  border-color: rgba(62, 221, 168, .3);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .7);
}
.feat:hover::after { opacity: 1; }

.feat-ico {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(62, 221, 168, .1);
  border: 1px solid rgba(62, 221, 168, .2);
  color: var(--brand-light);
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09);
}
.feat h3 {
  margin: 0 0 8px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -.01em;
  color: #fff;
}
.feat p {
  margin: 0; font-size: 13px; line-height: 1.8;
  color: var(--on-dark-2);
}
.feat ul {
  margin: 14px 0 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.feat li {
  font-size: 11px; color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .07);
  padding: 3px 8px; border-radius: 5px;
}

/* 对比表 */
.cmp-wrap {
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .1);
  overflow: hidden;
  background: linear-gradient(170deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9);
}
.cmp {
  width: 100%; border-collapse: collapse;
  font-size: 13.5px;
}
.cmp th, .cmp td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.cmp thead th {
  font-size: 12px; font-weight: 500;
  color: var(--on-dark-3);
  letter-spacing: .04em;
  background: rgba(0, 0, 0, .22);
  padding-top: 16px; padding-bottom: 16px;
}
.cmp thead th.mine {
  color: #DFFBF2;
  background: linear-gradient(180deg, rgba(11, 166, 120, .22), rgba(11, 166, 120, .08));
  position: relative;
}
.cmp thead th.mine::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-light), transparent);
}
.cmp tbody td { color: var(--on-dark-2); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody td:first-child { color: #fff; font-weight: 500; width: 26%; }
.cmp tbody td.mine {
  color: #EAFBF5; font-weight: 500;
  background: rgba(11, 166, 120, .07);
  border-left: 1px solid rgba(62, 221, 168, .1);
  border-right: 1px solid rgba(62, 221, 168, .1);
}
.cmp .no { color: rgba(255, 255, 255, .34); }
.cmp .yes { display: inline-flex; align-items: center; gap: 6px; }
.cmp .yes svg { color: var(--brand-light); flex: 0 0 auto; }

/* 三步 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .08);
}
.step-n {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--brand-light);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.step h4 { margin: 0 0 8px; font-size: 15px; color: #fff; font-weight: 600; }
.step p { margin: 0; font-size: 13px; color: var(--on-dark-2); line-height: 1.8; }

/* 交付清单 */
.deliver {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
}
.dlist { display: grid; gap: 0; }
.ditem {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair-dark);
}
.ditem:first-child { padding-top: 0; }
.ditem:last-child { border-bottom: 0; }
.ditem .ck {
  width: 22px; height: 22px; border-radius: 7px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: rgba(62, 221, 168, .14);
  border: 1px solid rgba(62, 221, 168, .26);
  color: var(--brand-light);
  margin-top: 2px;
}
.ditem b { display: block; font-size: 14px; color: #fff; font-weight: 500; margin-bottom: 3px; }
.ditem span { font-size: 12.5px; color: var(--on-dark-3); line-height: 1.7; }

.dcard {
  border-radius: var(--r-xl);
  padding: 34px 30px;
  background:
    radial-gradient(360px 220px at 80% 0%, rgba(201, 160, 99, .16), transparent 66%),
    linear-gradient(170deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9);
}
.dcard .lbl {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 14px;
}
.dcard h3 { margin: 0 0 10px; font-size: 22px; color: #fff; font-weight: 600; letter-spacing: -.02em; }
.dcard p { margin: 0 0 24px; font-size: 13px; color: var(--on-dark-2); line-height: 1.8; }
.dcard .kv { display: flex; justify-content: space-between; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; }
.dcard .kv span { color: var(--on-dark-3); }
.dcard .kv b { color: #fff; font-weight: 500; }
.dcard .btn-primary { width: 100%; margin-top: 22px; }

/* CTA */
.cta-band {
  position: relative;
  padding: 88px 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(11, 166, 120, .24), transparent 68%),
    var(--night);
  border-top: 1px solid var(--hair-dark);
}
.cta-band h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -.03em; font-weight: 600; color: #fff;
}
.cta-band p { margin: 0 auto 32px; max-width: 46em; font-size: 14.5px; color: var(--on-dark-2); line-height: 1.85; }
.cta-band .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* 直播间列表（深色区） */
.rooms-sec { padding: 0 0 88px; }
.rooms-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hair-dark);
}
.rooms-head h2 { margin: 0 0 4px; font-size: 22px; color: #fff; font-weight: 600; letter-spacing: -.02em; }
.rooms-head .sub { font-size: 12.5px; color: var(--on-dark-3); }
.rooms-head .cnt {
  font-size: 12px; color: var(--on-dark-3);
  display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

.room-card {
  position: relative;
  background: linear-gradient(170deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .022));
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.room-card:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 221, 168, .34);
  box-shadow: 0 28px 56px -26px rgba(0, 0, 0, .9), 0 0 0 1px rgba(62, 221, 168, .1);
}

.room-cover {
  aspect-ratio: 16 / 9;
  position: relative;
  display: grid; place-items: center;
  overflow: hidden;
  background: #0C1420;
}
.room-cover img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  transition: transform .5s var(--ease);
}
.room-card:hover .room-cover img { transform: scale(1.045); }
.room-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 13, .12) 0%, transparent 32%, rgba(4, 8, 13, .82) 100%);
  pointer-events: none;
}
.room-cover .initial {
  font-size: 58px; font-weight: 600;
  color: rgba(255, 255, 255, .14);
  letter-spacing: -.05em;
  user-select: none;
}

.cover-tone-0 { background: linear-gradient(140deg, #0E2E3E, #123C4A 55%, #0A2028); }
.cover-tone-1 { background: linear-gradient(140deg, #0F3329, #0B5240 55%, #072A21); }
.cover-tone-2 { background: linear-gradient(140deg, #241F3C, #37305A 55%, #191432); }
.cover-tone-3 { background: linear-gradient(140deg, #3B2620, #54342A 55%, #2A1A14); }
.cover-tone-4 { background: linear-gradient(140deg, #202934, #33404F 55%, #161D25); }
.cover-tone-5 { background: linear-gradient(140deg, #2C2818, #47401F 55%, #1E1B10); }

.badge-live {
  position: absolute; top: 11px; left: 11px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; color: #fff;
  background: var(--live);
  padding: 4px 9px; border-radius: 6px;
  letter-spacing: .08em;
  box-shadow: 0 4px 12px -2px rgba(255, 77, 100, .6);
}
.badge-live .pulse {
  width: 5px; height: 5px; border-radius: 50%; background: #fff;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.78); }
}

.badge-off {
  position: absolute; top: 11px; left: 11px; z-index: 3;
  font-size: 10px; color: rgba(255, 255, 255, .72);
  background: rgba(6, 10, 16, .55);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 4px 9px; border-radius: 6px;
  letter-spacing: .04em;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

.cover-viewers {
  position: absolute; right: 11px; bottom: 11px; z-index: 3;
  font-size: 11px; color: rgba(255, 255, 255, .9);
  background: rgba(6, 11, 18, .5);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 3px 8px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-variant-numeric: tabular-nums;
}

.room-info { padding: 15px 17px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.room-title {
  font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; margin: 0;
  color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.room-speaker { font-size: 12px; color: var(--on-dark-3); display: flex; align-items: center; gap: 6px; }
.room-speaker::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(62, 221, 168, .7);
}
.room-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.room-tags .tag {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .62);
}

.room-foot {
  margin-top: auto; padding-top: 13px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; color: var(--on-dark-3);
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.room-foot .go {
  color: var(--brand-light); font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap .2s;
}
.room-card:hover .room-foot .go { gap: 8px; }

/* 页脚 */
.foot-dark {
  border-top: 1px solid var(--hair-dark);
  padding: 44px 0 38px;
  background: #05080D;
}
.foot-in {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.foot-brand { max-width: 320px; }
.foot-brand p { margin: 12px 0 0; font-size: 12.5px; color: var(--on-dark-3); line-height: 1.8; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-col h5 {
  margin: 0 0 12px; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255, 255, 255, .38); font-weight: 500;
}
.foot-col a {
  display: block; font-size: 12.5px; color: var(--on-dark-2);
  padding: 4px 0; transition: var(--dur);
}
.foot-col a:hover { color: #fff; }
.foot-btm {
  margin-top: 34px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 11.5px; color: rgba(255, 255, 255, .3);
}

/* ================= 05 通用导航（内页） ================= */
.nav {
  height: 62px;
  display: flex; align-items: center; gap: 14px;
  padding: 0 24px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 30;
}
.nav-spacer { flex: 1; }
.nav-link {
  font-size: 13px; color: var(--muted);
  padding: 7px 12px; border-radius: var(--r-xs);
  transition: var(--dur);
}
.nav-link:hover { color: var(--text); background: rgba(11, 20, 34, .05); }

.nav-btn {
  font-size: 13px; font-weight: 600;
  padding: 9px 16px; border-radius: var(--r-sm);
  background: linear-gradient(180deg, #17B583, var(--brand));
  color: #fff;
  box-shadow: var(--sh-brand);
  transition: var(--dur);
}
.nav-btn:hover { filter: brightness(1.05); }

/* ================= 06 直播间 ================= */

body.room-page {
  background: #060A10;
  color: var(--on-dark);
}

.room-top {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 24px;
  background: rgba(7, 11, 18, .82);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--hair-dark);
  position: sticky; top: 0; z-index: 20;
}
.room-top .title {
  font-size: 14px; font-weight: 500; color: var(--on-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.room-top .sep { color: rgba(255, 255, 255, .22); }
.room-top .meta { font-size: 12px; color: var(--on-dark-3); display: flex; align-items: center; gap: 6px; }
.room-top .nav-link { color: var(--on-dark-2); }
.room-top .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.room-top .brand-name { color: #fff; }

.viewer-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--on-dark-2);
  padding: 4px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .07);
  font-variant-numeric: tabular-nums;
}
.viewer-chip b { color: #fff; font-weight: 600; }

.room-layout {
  max-width: 1380px; margin: 0 auto;
  padding: 20px 24px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 384px;
  gap: 20px;
  align-items: start;
}

.stage-card {
  background: linear-gradient(180deg, #0C1218, #090E14);
  border: 1px solid var(--hair-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}

.video-shell {
  position: relative;
  background: #05090E;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.video-shell video {
  width: 100%; height: 100%; display: block;
  object-fit: contain; background: #05090E;
}

.video-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: radial-gradient(120% 100% at 50% 0%, rgba(23, 42, 62, .55), rgba(4, 8, 13, .94));
  color: #fff; text-align: center; padding: 24px;
  z-index: 2;
}
.video-overlay .ov-title { font-size: 15px; font-weight: 600; margin-bottom: 5px; letter-spacing: -.01em; }
.video-overlay .ov-desc { font-size: 12.5px; color: rgba(255, 255, 255, .5); max-width: 34ch; line-height: 1.7; margin: 0 auto; }
.video-overlay .ov-icon {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: grid; place-items: center; margin: 0 auto 16px;
}

.controls {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 8px;
  padding: 34px 14px 12px;
  background: linear-gradient(180deg, rgba(4, 8, 13, 0), rgba(4, 8, 13, .88));
  z-index: 3;
  transition: opacity .24s;
}
.ctrl {
  width: 32px; height: 32px; border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; display: grid; place-items: center;
  cursor: pointer; transition: var(--dur);
}
.ctrl:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .2); }
.ctrl-time { font-size: 11.5px; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.ctrl-spacer { flex: 1; }
.live-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  color: #fff;
  background: rgba(255, 77, 100, .92);
  padding: 4px 9px; border-radius: 5px;
  box-shadow: 0 3px 10px rgba(255, 77, 100, .4);
}

.stage-meta { padding: 20px 22px 22px; }
.stage-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.stage-title {
  font-size: 19px; font-weight: 600; letter-spacing: -.02em;
  margin: 0 0 9px; color: #fff;
}
.stage-sub { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--on-dark-3); flex-wrap: wrap; }

.speaker { display: inline-flex; align-items: center; gap: 7px; color: var(--on-dark-2); }
.speaker .av {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(140deg, rgba(62, 221, 168, .28), rgba(11, 166, 120, .16));
  border: 1px solid rgba(62, 221, 168, .3);
  color: #B7F3DF;
  font-size: 11px; display: grid; place-items: center; font-weight: 600;
}

.announce {
  margin-top: 16px; padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-left: 2px solid var(--brand-light);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .035);
  font-size: 13px; color: var(--on-dark-2);
  display: flex; gap: 10px; align-items: flex-start;
  line-height: 1.7;
}
.announce b { font-weight: 600; color: var(--brand-light); flex: 0 0 auto; font-size: 12px; }

.stage-tags { display: flex; gap: 6px; margin-top: 15px; flex-wrap: wrap; }
.stage-tags .tag {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .6);
}

/* 聊天 */
.chat {
  background: linear-gradient(180deg, #0B1119, #080D14);
  border: 1px solid var(--hair-dark);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
  overflow: hidden;
  height: calc(100vh - 108px);
  min-height: 520px;
  position: sticky; top: 74px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}

.chat-head {
  padding: 11px 13px;
  border-bottom: 1px solid var(--hair-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.tabs {
  display: inline-flex; gap: 2px;
  background: rgba(255, 255, 255, .055);
  padding: 3px; border-radius: 9px;
}
.tab {
  border: 0; background: none; cursor: pointer;
  font-size: 12.5px; color: var(--on-dark-3);
  padding: 6px 11px; border-radius: 7px;
  transition: var(--dur);
}
.tab:hover { color: var(--on-dark-2); }
.tab.active {
  background: rgba(255, 255, 255, .1); color: #fff; font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}
.tab .cnt { font-size: 11px; color: inherit; opacity: .55; margin-left: 3px; }

.conn { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--on-dark-3); }
.conn .dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.conn.on .dot { background: var(--brand-light); box-shadow: 0 0 0 3px rgba(62, 221, 168, .16); }
.conn.off .dot { background: var(--live); }

.chat-body {
  flex: 1; overflow-y: auto;
  padding: 14px 13px 6px;
  display: flex; flex-direction: column; gap: 11px;
  scroll-behavior: smooth;
}
.chat-body::-webkit-scrollbar { width: 5px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); border-radius: 3px; }

.msg { display: flex; gap: 8px; align-items: flex-start; max-width: 100%; }
.avatar {
  width: 28px; height: 28px; border-radius: 9px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .76);
  font-size: 11.5px; font-weight: 500;
  display: grid; place-items: center; flex: 0 0 auto;
}
.avatar.brand {
  background: linear-gradient(140deg, rgba(62, 221, 168, .26), rgba(11, 166, 120, .14));
  border-color: rgba(62, 221, 168, .3);
  color: #A9F5DF;
}
.msg-body { min-width: 0; }
.msg-meta { display: flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(255, 255, 255, .36); margin-bottom: 4px; }
.msg-meta .nick { color: rgba(255, 255, 255, .66); font-weight: 500; }
.msg-text {
  display: inline-block;
  font-size: 13.5px; line-height: 1.6;
  background: rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .92);
  padding: 7px 11px; border-radius: 11px;
  border-top-left-radius: 4px;
  word-break: break-word; white-space: pre-wrap;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, .05);
}
.msg.mine { flex-direction: row-reverse; }
.msg.mine .msg-body { text-align: right; }
.msg.mine .msg-meta { justify-content: flex-end; }
.msg.mine .msg-text {
  background: linear-gradient(180deg, rgba(23, 181, 131, .95), rgba(11, 166, 120, .95));
  color: #fff;
  border-radius: 11px; border-top-right-radius: 4px;
  border-color: rgba(62, 221, 168, .3);
  text-align: left;
  box-shadow: 0 4px 14px -6px rgba(11, 166, 120, .6);
}
.msg.private .msg-text { background: rgba(255, 247, 236, .95); color: #7C4A12; border-color: rgba(255, 255, 255, .2); }

.sys {
  align-self: center; max-width: 92%;
  font-size: 11.5px; color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .05);
  border-radius: 999px;
  padding: 4px 12px; text-align: center;
}

.chat-empty {
  margin: auto; text-align: center; color: rgba(255, 255, 255, .34);
  font-size: 12.5px; line-height: 1.9; padding: 20px;
}

.online-wrap { padding: 8px 4px; }
.online-title { font-size: 11px; color: rgba(255, 255, 255, .34); padding: 6px 8px; letter-spacing: .06em; }
.online-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: var(--r-xs); cursor: pointer;
  transition: var(--dur);
}
.online-item:hover { background: rgba(255, 255, 255, .06); }
.online-item .avatar { width: 26px; height: 26px; border-radius: 50%; }
.online-item .name { font-size: 13px; color: var(--on-dark); }
.online-item .hint { margin-left: auto; font-size: 11px; color: var(--brand-light); opacity: 0; transition: var(--dur); }
.online-item:hover .hint { opacity: 1; }

.compose {
  border-top: 1px solid var(--hair-dark);
  padding: 10px 12px 12px;
  background: rgba(9, 14, 20, .9);
  position: relative;
}
.target-chip {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: #A9F5DF;
  background: rgba(62, 221, 168, .12);
  border: 1px solid rgba(62, 221, 168, .24);
  padding: 4px 8px; border-radius: 7px; margin-bottom: 8px;
  width: fit-content;
}
.target-chip button { border: 0; background: none; cursor: pointer; color: inherit; padding: 0 0 0 2px; font-size: 13px; line-height: 1; }

.compose-box {
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 12px;
  padding: 8px 11px 6px;
  transition: var(--dur);
  background: rgba(255, 255, 255, .055);
}
.compose-box:focus-within {
  border-color: rgba(62, 221, 168, .5);
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 0 0 3px rgba(62, 221, 168, .1);
}
.compose-box textarea {
  width: 100%; border: 0; outline: 0; resize: none;
  font: inherit; font-size: 13.5px; line-height: 1.55;
  max-height: 84px; min-height: 22px;
  color: #fff; background: transparent;
}
.compose-box textarea::placeholder { color: rgba(255, 255, 255, .35); }

.compose-actions { display: flex; align-items: center; gap: 6px; padding-top: 4px; }
.icon-btn {
  border: 0; background: none; cursor: pointer;
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; color: rgba(255, 255, 255, .55);
  transition: var(--dur);
}
.icon-btn:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.counter { margin-left: auto; font-size: 11px; color: rgba(255, 255, 255, .3); font-variant-numeric: tabular-nums; }

.send-btn {
  border: 0; cursor: pointer;
  background: linear-gradient(180deg, #17B583, var(--brand));
  color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: 9px;
  transition: var(--dur);
  box-shadow: 0 4px 14px -6px rgba(11, 166, 120, .7);
}
.send-btn:hover { filter: brightness(1.06); }
.send-btn:disabled { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .34); box-shadow: none; cursor: not-allowed; }

.emoji-pop {
  position: absolute; left: 12px; right: 12px; bottom: 96px;
  background: rgba(16, 23, 34, .98);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-md); padding: 8px;
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .8);
  z-index: 6;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.emoji-pop button {
  border: 0; background: none; cursor: pointer;
  font-size: 19px; padding: 6px 0; border-radius: 7px; line-height: 1;
}
.emoji-pop button:hover { background: rgba(255, 255, 255, .1); }

.notice {
  margin: 0 12px 10px;
  padding: 9px 11px;
  border-radius: var(--r-xs);
  font-size: 12px;
  background: rgba(255, 246, 233, .96);
  color: var(--warn);
  border: 1px solid #F7E5C9;
  line-height: 1.6;
}

/* ================= 07 弹层 / 购物袋 ================= */

.modal-mask {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(3, 6, 10, .62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: grid; place-items: center;
  padding: 20px;
  animation: maskIn .2s ease;
}
@keyframes maskIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  width: 100%; max-width: 384px;
  max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 22px;
  padding: 26px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06);
  animation: modalIn .26s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.modal h3 { margin: 0 0 7px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.modal p { margin: 0 0 18px; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.modal .btn-primary { width: 100%; justify-content: center; margin-top: 16px; }
.modal-hint { font-size: 11.5px; color: #9AA8BA; margin-top: 12px; text-align: center; line-height: 1.6; }

/* ==========================================================
   视频画面内购物组件（对标抖音/视频号小黄车）
   ========================================================== */

/* 小黄车：竖向毛玻璃胶囊，挂视频右下角 */
.shop-fab {
  position: absolute; right: 12px; bottom: 54px; z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: 52px; padding: 10px 0 8px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(10, 16, 24, .55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff; cursor: pointer;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: var(--dur);
  animation: shopFabIn .28s var(--ease);
}
.shop-fab:hover { border-color: rgba(62, 221, 168, .5); background: rgba(10, 16, 24, .74); }
@keyframes shopFabIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.shop-fab .sf-ic { position: relative; display: grid; place-items: center; }
.shop-fab b {
  position: absolute; top: -7px; right: -10px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  background: var(--live); color: #fff; font-size: 10px; line-height: 17px; text-align: center;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(10, 16, 24, .6);
}
.shop-fab .sf-txt { font-size: 10px; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .92); }

/* 「讲解中」商品卡：视频左下角，多商品自动轮换 */
.live-card {
  position: absolute; left: 12px; bottom: 54px; z-index: 5;
  display: flex; align-items: center; gap: 9px;
  max-width: min(340px, calc(100% - 82px));
  padding: 6px 8px 6px 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(10, 16, 24, .62);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: #fff; cursor: pointer;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .75);
  animation: shopFabIn .28s var(--ease);
  transition: var(--dur);
}
.live-card:hover { border-color: rgba(62, 221, 168, .4); background: rgba(10, 16, 24, .78); }
.live-card.selling { border-color: rgba(255, 77, 100, .45); }
.live-card-thumb {
  position: relative; width: 46px; height: 46px; border-radius: 9px; overflow: hidden;
  background: rgba(255, 255, 255, .08); flex: 0 0 auto;
}
.live-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live-card-thumb > span { display: grid; place-items: center; width: 100%; height: 100%; font-size: 9px; color: rgba(255, 255, 255, .5); }
.lc-live-badge {
  position: absolute; left: 0; top: 0; z-index: 1;
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 5px 2px 4px;
  border-radius: 9px 0 8px 0;
  background: linear-gradient(90deg, #FF3B5C, #FF6B3D);
  color: #fff; font-size: 8.5px; font-weight: 700; letter-spacing: .04em; line-height: 1.2;
}
.lc-live-badge i { width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: lcPulse 1.1s infinite; }
@keyframes lcPulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.live-card-info { flex: 1; min-width: 0; }
.live-card-name {
  font-size: 12px; font-weight: 600; line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.live-card-row { display: flex; align-items: baseline; gap: 5px; margin-top: 2px; }
.live-card-price {
  color: #F2C57C; font-size: 14.5px; font-weight: 800; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.live-card-row s { font-size: 10px; color: rgba(255, 255, 255, .45); }
.live-card-sold { font-size: 10px; color: rgba(255, 255, 255, .55); }
.live-card-buy {
  flex: 0 0 auto; border: 0; border-radius: 999px;
  padding: 7px 13px; cursor: pointer;
  font-size: 11.5px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #17D69B, #0BA678);
  box-shadow: 0 4px 14px -2px rgba(11, 166, 120, .55);
  transition: var(--dur);
}
.live-card-buy:hover { filter: brightness(1.08); }
.live-card-buy:disabled { background: rgba(255, 255, 255, .16); box-shadow: none; color: rgba(255, 255, 255, .5); cursor: not-allowed; }
.live-card-switch { display: flex; align-items: center; gap: 3px; flex: 0 0 auto; }
.lc-dot {
  width: 19px; height: 19px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .14); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: var(--dur);
}
.lc-dot:hover { background: rgba(255, 255, 255, .28); }
.lc-idx { font-size: 9.5px; font-weight: 600; color: rgba(255, 255, 255, .75); min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }

/* 购物袋弹出层 */
.shop-sheet {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
  background: #fff; border-radius: 22px 22px 0 0;
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .45);
  max-height: 66vh; display: flex; flex-direction: column;
  animation: sheetUp .26s var(--ease);
  overflow: hidden;
}
@keyframes sheetUp { from { transform: translateY(18px); opacity: .5; } to { transform: none; opacity: 1; } }

.shop-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.shop-head::before {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 4px; border-radius: 99px; background: rgba(11, 20, 34, .12);
}
.shop-head b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.shop-head span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.shop-close {
  width: 28px; height: 28px; border-radius: 50%;
  border: 0; background: rgba(11, 20, 34, .06);
  color: var(--muted); font-size: 17px; line-height: 1;
  cursor: pointer; flex: 0 0 auto;
  transition: var(--dur);
}
.shop-close:hover { background: rgba(11, 20, 34, .12); color: var(--text); }

.shop-list {
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 14px calc(env(safe-area-inset-bottom) + 16px);
  display: flex; flex-direction: column; gap: 9px;
}

.shop-item {
  display: flex; gap: 11px; padding: 10px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff;
  transition: var(--dur);
  cursor: pointer;
  align-items: center;
}
.shop-item:hover { border-color: rgba(11, 166, 120, .3); background: #FCFEFD; }
.shop-item .thumb {
  width: 64px; height: 64px; border-radius: 10px; overflow: hidden;
  background: #F1F5FA; flex: 0 0 auto;
  position: relative;
}
.shop-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop-item .body { flex: 1; min-width: 0; }
.shop-item .t {
  font-size: 13.5px; font-weight: 600; line-height: 1.4; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.shop-item .s { font-size: 11px; color: var(--muted); }
.shop-item .p {
  margin-left: auto; text-align: right; flex: 0 0 auto;
  padding-left: 6px;
}
.shop-item .p b {
  display: block; color: #B8763A; font-size: 15px; font-weight: 700;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.shop-item .p s { display: block; font-size: 11px; color: #A9B6C7; }
.shop-item .buy {
  border: 0; border-radius: 999px;
  background: linear-gradient(180deg, #17B583, var(--brand));
  color: #fff; font-size: 11.5px; font-weight: 600;
  padding: 6px 13px; cursor: pointer;
  box-shadow: var(--sh-brand);
  flex: 0 0 auto;
}
.shop-badge {
  position: absolute; top: 6px; left: 6px;
  font-size: 9px; font-weight: 700; color: #fff;
  background: var(--live); padding: 2px 5px; border-radius: 4px;
  letter-spacing: .04em;
}

/* 优惠券 */
.shop-coupon-btn {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid rgba(201, 160, 99, .34);
  background: var(--gold-soft);
  color: #96692C;
  font-size: 11.5px; font-weight: 600;
  padding: 5px 10px; border-radius: 999px; cursor: pointer;
  transition: var(--dur);
}
.shop-coupon-btn:hover { background: #F8EFDF; }
.shop-coupon-btn b { font-size: 11px; }

.coupon-bar {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 11px 14px 3px;
  scrollbar-width: none;
}
.coupon-bar::-webkit-scrollbar { display: none; }

.cp-card {
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, #FFF8EC, #FFFDF9);
  border: 1px solid #F3E2C6;
  min-width: 236px;
  position: relative;
}
.cp-face {
  font-size: 13px; font-weight: 700; color: #C4551F; white-space: nowrap;
  min-width: 54px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.cp-face.sm { font-size: 12px; min-width: 48px; }
.cp-meta { flex: 1; min-width: 0; }
.cp-meta b {
  display: block; font-size: 12px; font-weight: 600; color: #6B3F0B;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cp-meta span {
  display: block; font-size: 10.5px; color: #A9906C;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cp-claim {
  flex: 0 0 auto; border: none; border-radius: 999px; padding: 5px 12px;
  background: linear-gradient(180deg, #E4572E, #D0451F); color: #fff;
  font-size: 11.5px; font-weight: 600; cursor: pointer;
}
.cp-claim[disabled] { background: #EDE4D6; color: #A9906C; cursor: default; }

.buy-coupon { border-top: 1px solid var(--line-soft); }
.cp-open {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  border: none; background: none; padding: 12px 0;
  font-size: 13px; cursor: pointer; color: var(--text);
}
.cp-open .cp-picked { color: #C4551F; font-size: 12.5px; font-weight: 600; }
.cp-pick { display: flex; flex-direction: column; gap: 6px; padding: 0 0 10px; }
.cp-opt {
  display: flex; align-items: center; gap: 8px; padding: 9px 11px;
  border: 1px solid var(--line); border-radius: var(--r-xs);
  font-size: 12.5px; cursor: pointer;
  transition: var(--dur);
}
.cp-opt.on { border-color: #E9B778; background: #FFF9F0; }
.cp-opt.off { opacity: .5; }
.cp-opt input { accent-color: #E4572E; }
.cp-opt .cp-txt { flex: 1; min-width: 0; }
.cp-opt .cp-txt b { display: block; font-size: 12.5px; font-weight: 600; }
.cp-opt .cp-txt em { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); }

.buy-total {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 12px 0 2px; border-top: 1px solid var(--line-soft); font-size: 13px;
}
.bt-price { display: flex; align-items: baseline; gap: 7px; }
.bt-price b { color: #C4551F; font-size: 20px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bt-price s { color: #A9B6C7; font-size: 12px; }

.cp-modal-list { display: flex; flex-direction: column; gap: 8px; max-height: 46vh; overflow-y: auto; margin-bottom: 10px; }
.cp-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid #F3E2C6; border-radius: var(--r-sm); background: #FFFCF6;
}
.cp-empty { padding: 26px 0; text-align: center; font-size: 12.5px; color: var(--muted); }

/* 下单弹层 */
.buy-modal { max-width: 404px; }
.buy-head { display: flex; gap: 13px; padding-bottom: 15px; border-bottom: 1px solid var(--line-soft); }
.buy-cover {
  width: 76px; height: 76px; border-radius: 12px; overflow: hidden;
  background: #F1F5FA; flex: 0 0 auto;
}
.buy-cover img { width: 100%; height: 100%; object-fit: cover; }
.buy-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.buy-title { font-size: 14px; font-weight: 600; line-height: 1.45; }
.buy-price { display: flex; align-items: baseline; gap: 7px; }
.buy-price b { color: #C4551F; font-size: 21px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.buy-price s { color: #A9B6C7; font-size: 12px; }
.buy-stock { font-size: 11.5px; color: var(--muted); }

.buy-qty {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; font-size: 13px;
  border-bottom: 1px solid var(--line-soft);
}
.qty-ctl {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 9px; overflow: hidden;
}
.qty-ctl button {
  width: 32px; height: 32px; border: 0; background: #F8FAFC;
  color: var(--text); font-size: 16px; cursor: pointer; line-height: 1;
  transition: var(--dur);
}
.qty-ctl button:hover { background: #EFF3F8; }
.qty-ctl b {
  min-width: 42px; text-align: center; font-size: 14px; font-weight: 600;
  font-variant-numeric: tabular-nums;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  padding: 6px 0;
}

.receiver { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.receiver .field { font-size: 13px; padding: 10px 12px; }

.pay-keys {
  background: #F8FAFC; border: 1px dashed var(--line-strong);
  border-radius: var(--r-sm); padding: 12px;
  font-size: 12.5px; line-height: 1.9;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  word-break: break-all; color: #1B2738;
  margin-top: 4px;
}

/* 商品详情 */
.detail-modal { max-width: 440px; padding: 0; overflow: hidden; position: relative; }
.detail-close {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(6, 10, 16, .5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}
.detail-gallery { position: relative; background: #F1F5FA; }
.detail-strip {
  display: flex; overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  aspect-ratio: 1 / 1;
}
.detail-strip::-webkit-scrollbar { display: none; }
.detail-strip img {
  flex: 0 0 100%; width: 100%; height: 100%;
  object-fit: cover; scroll-snap-align: center;
}
.detail-count {
  position: absolute; right: 12px; bottom: 12px;
  font-size: 11px; color: #fff;
  background: rgba(6, 10, 16, .5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 3px 9px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
  border: 1px solid rgba(255, 255, 255, .14);
}
.detail-info { padding: 16px 20px 6px; }
.detail-info > b { display: block; font-size: 16px; font-weight: 600; line-height: 1.45; letter-spacing: -.01em; }
.detail-price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.detail-price b { color: #C4551F; font-size: 23px; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.detail-price s { color: #A9B6C7; font-size: 12.5px; }
.detail-price span { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.detail-body { padding: 0 20px; max-height: 46vh; overflow-y: auto; }
.detail-text { font-size: 13px; line-height: 1.85; color: var(--text-2); padding: 8px 0 2px; white-space: pre-wrap; }
.detail-long img { width: 100%; display: block; border-radius: 8px; margin-top: 8px; }
.detail-none { padding: 24px 20px; text-align: center; font-size: 12.5px; color: var(--muted); }
.detail-modal .btn-primary { margin: 14px 20px calc(env(safe-area-inset-bottom) + 18px); width: calc(100% - 40px); justify-content: center; }

/* 微信引导 */
.wx-guide {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 8, 13, .86);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  animation: wx-fade .25s ease;
}
@keyframes wx-fade { from { opacity: 0; } to { opacity: 1; } }
.wx-arrow-wrap {
  position: absolute; top: 12px; right: 16px;
  text-align: center; color: #fff;
  animation: wx-bounce 1.1s ease-in-out infinite;
}
@keyframes wx-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.wx-tip { margin-top: 2px; font-size: 14px; line-height: 1.65; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.wx-tip b { font-weight: 600; }

.wx-card {
  position: absolute; left: 50%; top: 52%;
  transform: translate(-50%, -50%);
  width: min(320px, 84vw);
  background: #fff; border-radius: 20px;
  padding: 26px 22px 18px;
  text-align: center;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.wx-title { font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: #12191F; }
.wx-card p { margin: 11px 0 19px; font-size: 12.5px; line-height: 1.75; color: #5A6675; }
.wx-copy {
  display: block; width: 100%; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #17B583, var(--brand)); color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 13px 0; border-radius: 12px;
  box-shadow: var(--sh-brand);
}
.wx-close {
  display: block; width: 100%; margin-top: 10px; padding: 10px 0;
  border: 0; background: none; cursor: pointer;
  font-size: 12.5px; color: var(--muted);
}

/* 分享 */
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--text);
  font-size: 12.5px; padding: 7px 12px; border-radius: var(--r-sm);
  cursor: pointer; white-space: nowrap; flex: 0 0 auto;
  transition: var(--dur);
}
.share-btn:hover { border-color: rgba(11, 166, 120, .4); color: var(--brand-dark); }
.share-btn:active { transform: scale(.96); }
.share-btn svg { color: var(--brand); }
body.room-page .share-btn,
body.landing .share-btn {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  color: var(--on-dark);
}
body.room-page .share-btn:hover,
body.landing .share-btn:hover { background: rgba(255, 255, 255, .11); color: #fff; }
body.room-page .share-btn svg,
body.landing .share-btn svg { color: var(--brand-light); }

/* ================= 08 我的 / 工作台 ================= */

.my-page { max-width: 640px; margin: 0 auto; padding: 26px 16px 56px; }
.my-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.my-head h1 { font-size: 21px; margin: 0; font-weight: 600; letter-spacing: -.02em; }

.my-tabs {
  display: flex; gap: 4px; margin-bottom: 14px;
  background: rgba(11, 20, 34, .045);
  padding: 4px; border-radius: 11px;
}
.my-tab {
  flex: 1; text-align: center; padding: 8px 4px; border-radius: 8px;
  font-size: 12.5px; border: 1px solid transparent;
  background: none; color: var(--muted); cursor: pointer;
  transition: var(--dur);
}
.my-tab:hover { color: var(--text); }
.my-tab.on {
  background: #fff; color: var(--text); font-weight: 600;
  box-shadow: var(--sh-xs);
}

.my-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 15px 16px; margin-bottom: 11px;
  box-shadow: var(--sh-xs);
  transition: var(--dur);
}
.my-card:hover { box-shadow: var(--sh-sm); }
.my-card .top { display: flex; gap: 12px; }
.my-card .thumb {
  width: 60px; height: 60px; border-radius: 11px; overflow: hidden;
  background: #F1F5FA; flex: 0 0 auto;
}
.my-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.my-card .t { font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.my-card .s { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.my-card .amt { margin-left: auto; text-align: right; white-space: nowrap; }
.my-card .amt b { color: #C4551F; font-size: 15.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.my-card .amt s { display: block; color: #A9B6C7; font-size: 11px; }

.my-card .foot {
  display: flex; align-items: center; gap: 8px; margin-top: 12px;
  padding-top: 12px; border-top: 1px dashed var(--line);
}
.my-card .foot .st { font-size: 11.5px; color: var(--muted); }
.my-card .foot .sp { margin-left: auto; }

.my-btn {
  border: 1px solid var(--line-strong); background: #fff; border-radius: var(--r-xs);
  font-size: 12px; padding: 6px 12px; cursor: pointer; color: var(--text);
  transition: var(--dur);
}
.my-btn:hover { border-color: rgba(11, 166, 120, .4); color: var(--brand-dark); }
.my-btn.primary {
  background: linear-gradient(180deg, #17B583, var(--brand));
  border-color: transparent; color: #fff; font-weight: 600;
  box-shadow: 0 4px 12px -4px rgba(11, 166, 120, .5);
}
.my-btn:disabled { opacity: .45; }

.pickup-box {
  margin-top: 12px; padding: 12px 14px; border-radius: var(--r-sm);
  background: linear-gradient(135deg, #E9F8F3, #F7FDFB);
  border: 1px dashed #B9E8D8;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.pickup-box .lab { font-size: 11.5px; color: var(--brand-dark); }
.pickup-box .code {
  font-size: 21px; font-weight: 700; letter-spacing: .16em;
  font-family: ui-monospace, Menlo, monospace;
  color: #077052;
  font-variant-numeric: tabular-nums;
}
.pickup-box.done { background: #F4F7FB; border-color: var(--line); }
.pickup-box.done .code { color: #9AA8BA; text-decoration: line-through; }

.trace-list { margin-top: 11px; border-top: 1px dashed var(--line); padding-top: 9px; }
.trace-item { display: flex; gap: 10px; padding: 7px 0; font-size: 12px; }
.trace-item .tm { color: #A9B6C7; white-space: nowrap; font-size: 11px; font-variant-numeric: tabular-nums; }
.trace-item:first-child .ctx { color: var(--brand-dark); font-weight: 500; }

/* 工作台 */
.wb-page { max-width: 720px; margin: 0 auto; padding: 20px 16px 56px; }
.wb-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.wb-head h1 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.wb-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.wb-kpi > div {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 14px 12px; box-shadow: var(--sh-xs);
}
.wb-kpi b {
  display: block; font-size: 20px; font-weight: 700; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; line-height: 1.25;
}
.wb-kpi span { font-size: 11px; color: var(--muted); }

/* ================= 09 响应式 ================= */

@media (max-width: 1080px) {
  .hero2 { grid-template-columns: 1fr; gap: 48px; padding-top: 0; }
  .hero-wrap { padding: 56px 0 68px; }
  .hero-art { max-width: 620px; }
  .mock { transform: none; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .deliver { grid-template-columns: 1fr; gap: 34px; }
  .room-layout { grid-template-columns: minmax(0, 1fr); }
  .chat { height: 66vh; min-height: 420px; position: static; }
  .head-nav { display: none; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .site-head .head-in { height: 58px; gap: 12px; }
  .head-cta .btn-ghost { display: none; }
  .brand-sub { display: none; }
  .brand-name { white-space: nowrap; font-size: 14px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 9px; }

  .hero-wrap { padding: 40px 0 52px; }
  .hero-copy h1 { font-size: 32px; letter-spacing: -.03em; }
  .hero-copy > p { font-size: 14px; line-height: 1.8; }
  .hero-cta .btn-primary, .hero-cta .btn-ghost { flex: 1 1 auto; justify-content: center; }
  .trust-row { margin-top: 34px; padding-top: 20px; }
  .trust-row > div { padding: 0 16px; }
  .trust-row > div:first-child { padding-left: 0; }
  .trust-row b { font-size: 20px; }
  .trust-row span { font-size: 11px; }

  .dark-sec { padding: 56px 0; }
  .sec-head { margin-bottom: 32px; }
  .feat-grid { grid-template-columns: 1fr; gap: 12px; }
  .feat { padding: 22px 20px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .cmp-wrap { overflow-x: auto; }
  .cmp { min-width: 520px; font-size: 12.5px; }
  .cmp th, .cmp td { padding: 12px 14px; }
  .rooms-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .room-grid { grid-template-columns: 1fr; gap: 14px; }

  .nav { padding: 0 14px; height: 56px; gap: 8px; }
  .nav-hide-sm { display: none; }
  .nav-btn { white-space: nowrap; padding: 8px 13px; }

  .room-top { padding: 10px 14px; }
  .room-top .sep, .room-top .hide-sm, .room-top .share-txt { display: none; }
  .room-top .title { min-width: 0; }
  .viewer-chip { white-space: nowrap; }
  .room-layout { padding: 0 0 20px; gap: 0; }
  .stage-card { border-radius: 0; border-left: 0; border-right: 0; }

  .foot-in { flex-direction: column; gap: 26px; }
  .foot-cols { gap: 40px; }
  .foot-btm { flex-direction: column; gap: 6px; }

  .toast { top: auto; bottom: 96px; }
  .shop-sheet { max-height: 72vh; }
  .wb-kpi { gap: 8px; }
  .wb-kpi b { font-size: 17px; }
}

/* ==========================================================
   H5 直播间：抖音式全屏（视频铺满、聊天浮在画面上、输入固定底部）
   ========================================================== */

@media (max-width: 720px) {
  body.room-page.room-douyin { overflow: hidden; height: 100%; }

  body.room-douyin .room-layout {
    position: fixed; inset: 0;
    display: flex; flex-direction: column;
    align-items: stretch;
    padding: 0; max-width: none;
  }

  body.room-douyin .stage-card {
    position: relative; flex: 0 0 auto; width: 100%;
    border: 0; border-radius: 0; box-shadow: none;
    background: #05090F;
  }
  body.room-douyin .video-shell {
    position: relative; inset: auto;
    width: 100%; aspect-ratio: 16 / 9; height: auto;
    background: #05090F;
  }
  body.room-douyin .video-shell video { object-fit: contain; }
  body.room-douyin .video-overlay { background: radial-gradient(120% 100% at 50% 30%, rgba(23, 42, 62, .5), rgba(5, 9, 15, .88)); }
  body.room-douyin .video-overlay .ov-desc { max-width: 26ch; }

  body.room-douyin .room-top {
    position: absolute; top: 0; left: 0; right: 0;
    z-index: 24;
    background: linear-gradient(180deg, rgba(4, 8, 14, .74), rgba(4, 8, 14, 0));
    border-bottom: 0;
    color: #fff;
    padding: calc(env(safe-area-inset-top) + 10px) 12px 26px;
    gap: 8px;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  body.room-douyin .room-top .hide-sm,
  body.room-douyin .room-top .sep,
  body.room-douyin .room-top .share-txt { display: none; }
  body.room-douyin .room-top .brand-name,
  body.room-douyin .room-top .title { color: #fff; font-size: 13px; }
  body.room-douyin .room-top .brand-mark { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .22); }
  body.room-douyin .room-top .viewer-chip { color: rgba(255, 255, 255, .88); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .16); }
  body.room-douyin .room-top .share-btn {
    background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .24);
    color: #fff; padding: 7px 9px;
  }
  body.room-douyin .room-top .share-btn svg { color: #fff; }

  body.room-douyin .controls {
    position: absolute; left: 0; right: 0;
    bottom: 0; z-index: 6;
    padding: 22px 10px 8px;
  }
  body.room-douyin .ctrl { width: 34px; height: 34px; }

  /* 视频内购物组件：小屏收紧 */
  body.room-douyin .shop-fab { right: 10px; bottom: 50px; width: 48px; padding: 8px 0 7px; }
  body.room-douyin .shop-fab .sf-txt { font-size: 9.5px; }
  body.room-douyin .live-card { left: 10px; bottom: 50px; gap: 7px; padding: 5px 7px 5px 5px; border-radius: 11px; max-width: calc(100% - 74px); }
  body.room-douyin .live-card-thumb { width: 40px; height: 40px; }
  body.room-douyin .live-card-name { font-size: 11.5px; }
  body.room-douyin .live-card-price { font-size: 13.5px; }
  body.room-douyin .live-card-sold, body.room-douyin .live-card-row s { display: none; }
  body.room-douyin .live-card-buy { padding: 6px 11px; font-size: 11px; }

  body.room-douyin .stage-meta {
    position: absolute; z-index: 7;
    top: calc(env(safe-area-inset-top) + 50px);
    left: 10px; right: 10px;
    padding: 0;
  }
  body.room-douyin .stage-title-row, body.room-douyin .stage-tags { display: none; }
  body.room-douyin .announce {
    margin: 0;
    background: rgba(8, 14, 23, .58);
    border: 1px solid rgba(255, 255, 255, .14);
    border-left: 2px solid var(--brand-light);
    color: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 7px 11px;
    font-size: 12px;
    gap: 6px;
    align-items: center;
  }
  body.room-douyin .announce b { color: var(--brand-light); }
  body.room-douyin .announce span {
    overflow: hidden; text-overflow: ellipsis;
    white-space: nowrap; flex: 1;
  }

  body.room-douyin .chat {
    position: relative; left: auto; right: auto; top: auto; bottom: auto;
    z-index: 22;
    flex: 1 1 0; height: auto; min-height: 0;
    background: linear-gradient(180deg, #05090F 0%, #0C141E 14%, #0C141E 100%);
    border: 0; border-radius: 0; box-shadow: none;
  }
  body.room-douyin .chat-head { border-bottom: 0; padding: 4px 12px 2px; }
  body.room-douyin .tabs { background: rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  body.room-douyin .tab { color: rgba(255, 255, 255, .74); padding: 7px 12px; font-size: 12.5px; }
  body.room-douyin .tab.active { background: rgba(255, 255, 255, .94); color: #101A2B; }
  body.room-douyin .tab .cnt { color: inherit; opacity: .55; }
  body.room-douyin .conn { color: rgba(255, 255, 255, .6); }
  body.room-douyin .conn .dot { background: rgba(255, 255, 255, .4); }
  body.room-douyin .conn.on .dot { background: #35E0AE; }

  body.room-douyin .chat-body { padding: 10px 12px 4px; -webkit-overflow-scrolling: touch; }
  body.room-douyin .chat-body::-webkit-scrollbar { width: 3px; }
  body.room-douyin .chat-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .22); }

  body.room-douyin .msg-text {
    background: rgba(8, 14, 23, .52);
    color: #fff;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: 13px;
  }
  body.room-douyin .msg.mine .msg-text { background: rgba(11, 166, 120, .95); color: #fff; }
  body.room-douyin .msg.private .msg-text { background: rgba(255, 248, 238, .95); color: #7C4A12; border-color: rgba(255, 255, 255, .2); }
  body.room-douyin .msg-meta { color: rgba(255, 255, 255, .5); }
  body.room-douyin .msg-meta .nick { color: rgba(255, 255, 255, .85); }
  body.room-douyin .avatar { background: rgba(255, 255, 255, .2); color: #fff; }
  body.room-douyin .avatar.brand { background: rgba(53, 224, 174, .26); color: #B9FFEB; }
  body.room-douyin .sys { background: rgba(8, 14, 23, .5); color: rgba(255, 255, 255, .74); }
  body.room-douyin .chat-empty { color: rgba(255, 255, 255, .58); }
  body.room-douyin .online-wrap { padding: 4px 2px; }
  body.room-douyin .online-title { color: rgba(255, 255, 255, .55); }
  body.room-douyin .online-item .name { color: #fff; }
  body.room-douyin .online-item .hint { color: #7FE3C4; }
  body.room-douyin .online-item:active { background: rgba(255, 255, 255, .1); }

  body.room-douyin .notice { background: rgba(255, 246, 233, .95); }

  body.room-douyin .compose {
    background: rgba(10, 16, 24, .8);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 8px 10px calc(env(safe-area-inset-bottom) + 8px);
  }
  body.room-douyin .compose-box {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .16);
    border-radius: 999px;
    padding: 6px 12px 6px;
  }
  body.room-douyin .compose-box:focus-within { border-color: rgba(53, 224, 174, .55); box-shadow: 0 0 0 3px rgba(53, 224, 174, .12); }
  body.room-douyin .compose-box textarea { color: #fff; font-size: 13.5px; }
  body.room-douyin .compose-box textarea::placeholder { color: rgba(255, 255, 255, .48); }
  body.room-douyin .counter { color: rgba(255, 255, 255, .42); }
  body.room-douyin .icon-btn { color: rgba(255, 255, 255, .68); }
  body.room-douyin .icon-btn:active { background: rgba(255, 255, 255, .12); }
  body.room-douyin .send-btn { border-radius: 999px; padding: 7px 16px; }
  body.room-douyin .send-btn:disabled { background: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .5); }
  body.room-douyin .target-chip {
    background: rgba(53, 224, 174, .16); border-color: rgba(53, 224, 174, .32);
    color: #B9FFEB;
  }
  body.room-douyin .emoji-pop {
    left: 10px; right: 10px; bottom: calc(env(safe-area-inset-bottom) + 92px);
    background: rgba(16, 24, 34, .96); border-color: rgba(255, 255, 255, .12);
  }
  body.room-douyin .emoji-pop button:hover,
  body.room-douyin .emoji-pop button:active { background: rgba(255, 255, 255, .1); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ================= 10 进场动画 ================= */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.rise { animation: riseIn .6s var(--ease) both; }
.rise-1 { animation-delay: .06s; }
.rise-2 { animation-delay: .12s; }
.rise-3 { animation-delay: .18s; }
.rise-4 { animation-delay: .24s; }

/* ================= 11 商品详情 / 购物车（正常商城流程） ================= */

/* 商品列表：加购 + 购买 */
.shop-item .acts {
  display: flex; flex-direction: column; gap: 6px;
  flex: 0 0 auto;
}
.shop-item .acts .add {
  border: 1px solid rgba(11, 166, 120, .34);
  background: #fff; color: #0B8A66;
  font-size: 11px; font-weight: 600;
  padding: 5px 11px; border-radius: 999px; cursor: pointer;
  transition: var(--dur);
}
.shop-item .acts .add:hover { background: #EAF8F3; }
.shop-item .acts button:disabled { opacity: .45; cursor: not-allowed; }
.shop-item .acts .buy { box-shadow: none; }

/* 详情页服务说明 + 底部操作条 */
.detail-serv {
  display: flex; flex-wrap: wrap; gap: 12px;
  padding: 0 20px 12px;
  font-size: 11px; color: var(--muted);
}
.detail-serv span { display: inline-flex; align-items: center; gap: 4px; }
.detail-serv span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--brand);
}

.detail-modal { display: flex; flex-direction: column; max-height: 90vh; }
.detail-modal .detail-body { flex: 1; min-height: 0; max-height: none; }
.detail-actions {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 16px calc(env(safe-area-inset-bottom) + 14px);
  border-top: 1px solid var(--line-soft);
  background: #fff;
}
.da-cart {
  position: relative; width: 42px; height: 42px; flex: 0 0 auto;
  border-radius: 12px; border: 1px solid var(--line);
  background: #F8FAFC; color: #41506B;
  display: grid; place-items: center; cursor: pointer;
  transition: var(--dur);
}
.da-cart:hover { background: #EFF3F8; }
.da-cart b {
  position: absolute; top: -5px; right: -5px;
  min-width: 17px; height: 17px; padding: 0 4px;
  line-height: 17px; border-radius: 999px;
  background: var(--live); color: #fff;
  font-size: 9.5px; font-weight: 700; text-align: center;
}
.da-add, .da-buy {
  flex: 1; height: 42px; border-radius: 12px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: var(--dur);
}
.da-add { border: 1px solid rgba(11, 166, 120, .42); background: #F1FBF7; color: #0B8A66; }
.da-add:hover { background: #E5F7EF; }
.da-buy {
  border: 0; color: #fff;
  background: linear-gradient(135deg, #17D69B, #0BA678);
  box-shadow: 0 10px 24px -12px rgba(11, 166, 120, .9);
}
.da-buy:hover { filter: brightness(1.06); }
.da-add:disabled, .da-buy:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* 购物车入口高亮 */
.shop-coupon-btn.has {
  border-color: rgba(11, 166, 120, .4);
  background: #EFFAF6; color: #0B8A66;
}

/* 购物车弹层 */
.cart-sheet {
  position: fixed; z-index: 70; left: 0; right: 0; bottom: 0;
  background: #fff; border-radius: 22px 22px 0 0;
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .45);
  max-height: 74vh; display: flex; flex-direction: column;
  animation: sheetUp .26s var(--ease);
  overflow: hidden;
}
.cart-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  flex: 0 0 auto;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.cart-head::before {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 34px; height: 4px; border-radius: 99px; background: rgba(11, 20, 34, .12);
}
.cart-head b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.cart-head span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

.cart-list {
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 9px;
}
.cart-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff;
}
.ci-check { display: grid; place-items: center; flex: 0 0 auto; }
.ci-check input { width: 16px; height: 16px; accent-color: var(--brand); }
.ci-thumb {
  width: 56px; height: 56px; border-radius: 10px; overflow: hidden;
  background: #F1F5FA; flex: 0 0 auto;
  display: grid; place-items: center;
  font-size: 10px; color: var(--muted);
}
.ci-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ci-meta { flex: 1; min-width: 0; }
.ci-name {
  font-size: 13px; font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ci-price {
  margin-top: 4px; font-size: 14px; font-weight: 700; color: #B8763A;
  font-variant-numeric: tabular-nums;
}
.ci-price s { margin-left: 6px; font-size: 11px; font-weight: 400; color: #A9B6C7; }
.qty-ctl.sm button { width: 26px; height: 26px; font-size: 14px; }
.qty-ctl.sm b { min-width: 30px; padding: 4px 0; font-size: 13px; }
.ci-del {
  border: 0; background: none; color: #B3BFCE;
  font-size: 18px; line-height: 1; cursor: pointer; padding: 2px 4px;
}
.ci-del:hover { color: var(--live); }
.cart-empty { padding: 42px 0; text-align: center; font-size: 12.5px; color: var(--muted); }

.cart-foot {
  display: flex; align-items: center; gap: 10px;
  flex: 0 0 auto;
  padding: 12px 14px calc(env(safe-area-inset-bottom) + 12px);
  border-top: 1px solid var(--line-soft);
  background: #fff;
}
.cart-all { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.cart-all input { width: 16px; height: 16px; accent-color: var(--brand); }
.cart-sum { margin-left: auto; font-size: 12px; color: var(--muted); }
.cart-sum b {
  font-size: 18px; font-weight: 700; color: #C4551F;
  margin-left: 4px; font-variant-numeric: tabular-nums;
}
.cart-checkout {
  border: 0; border-radius: 999px; padding: 10px 18px;
  font-size: 13.5px; font-weight: 700; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #17D69B, #0BA678);
  box-shadow: var(--sh-brand);
}
.cart-checkout:hover { filter: brightness(1.06); }

/* 确认订单：多商品明细 */
.buy-goods {
  display: flex; flex-direction: column; gap: 8px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  max-height: 32vh; overflow-y: auto;
}
.bg-row { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.bg-thumb {
  width: 36px; height: 36px; border-radius: 8px; overflow: hidden;
  background: #F1F5FA; flex: 0 0 auto;
}
.bg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bg-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bg-qty { color: var(--muted); flex: 0 0 auto; }
.bg-price {
  min-width: 64px; text-align: right; font-weight: 700; color: #B8763A;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 520px) {
  .cart-sheet { max-height: 80vh; }
  .detail-actions { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .da-add, .da-buy { font-size: 13.5px; }
  /* 顶栏收紧：防止 390px 下横向溢出触发手机浏览器整体缩放（会把底部按钮挤出可视区） */
  .room-top { gap: 7px; padding: 10px 10px; }
  .room-top .brand-name { font-size: 13px; }
  .room-top .viewer-chip { padding: 4px 7px; gap: 4px; }
  .room-top .nav-link { white-space: nowrap; padding: 4px 6px; }
  body, html { overflow-x: hidden; }
}

/* ================= 12 白底弹层文字颜色 =================
   直播间 body 是暗色主题（color: var(--on-dark) 浅色），
   白底弹层若不显式设深色文字会出现「白底白字」几乎不可读 */
.modal,
.cart-sheet,
.shop-sheet { color: var(--text); }
.modal .field,
.modal textarea,
.cart-sheet .field { color: var(--text); background: #fff; }
.cart-sheet .cart-all,
.cart-sheet .cart-sum { color: var(--muted); }
