    :root {
      --bg: #f0f2f5;
      --panel: #fff;
      --text: #1f2937;
      --muted: #666;
      --text3: #999;
      --line: #e5e7eb;
      --brand: #e53935;
      --brand-dark: #c62828;
      --brand-soft: #ffebee;
      --ok: #2e7d32;
      --warn: #e65100;
      --live: #d32f2f;
      --shadow: 0 2px 8px rgba(0,0,0,.06);
      --radius: 10px;
      --phone-w: 375px;
      --phone-h: 780px;
      --anno-width: 420px;
      --anno-teal: #26c6da;
      --anno-teal-dark: #00838f;
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
      font-size: 13px; color: var(--text); background: var(--bg);
      height: 100vh; overflow: hidden; display: flex; flex-direction: row;
    }
    button, input { font: inherit; color: inherit; }
    button { cursor: pointer; }
    .hidden { display: none !important; }

    .proto-stage {
      flex: 1 1 auto; min-width: 0; height: 100vh;
      display: flex; flex-direction: column; overflow: hidden; position: relative;
      background: linear-gradient(160deg, #eceff1 0%, #e3e8ef 100%);
    }
    .stage-bar {
      flex: 0 0 auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
      padding: 12px 20px; background: #fff; border-bottom: 1px solid var(--line);
    }
    .stage-bar h1 { margin: 0; font-size: 15px; font-weight: 700; }
    .stage-bar .sub { color: var(--muted); font-size: 12px; }
    .demo-box {
      margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
      font-size: 12px; color: var(--muted);
    }
    .demo-box select, .demo-box button {
      height: 30px; padding: 0 10px; border: 1px solid #d0d0d0; border-radius: 6px; background: #fff;
    }
    .demo-box button.primary { background: var(--brand); border-color: var(--brand); color: #fff; }

    .stage-body {
      flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center;
      padding: 24px; overflow: auto;
    }

    /* Phone frame */
    .phone {
      width: var(--phone-w); height: var(--phone-h); background: #111;
      border-radius: 36px; padding: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.22);
      position: relative; flex-shrink: 0;
    }
    .phone-inner {
      width: 100%; height: 100%; background: #f5f5f5; border-radius: 28px;
      overflow: hidden; position: relative; display: flex; flex-direction: column;
    }
    .status-bar {
      flex: 0 0 28px; display: flex; align-items: center; justify-content: space-between;
      padding: 0 16px; font-size: 11px; font-weight: 600; background: transparent; z-index: 5;
    }
    .page { display: none; flex: 1; min-height: 0; flex-direction: column; overflow: hidden; position: relative; }
    .page.active { display: flex; }

    #toast {
      position: absolute; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(12px);
      background: rgba(0,0,0,.78); color: #fff; padding: 10px 16px; border-radius: 8px;
      opacity: 0; pointer-events: none; z-index: 80; transition: .2s; max-width: 86%; text-align: center;
    }
    #toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

    /* 直播中 · 全局浮窗（白圆 FAB，右侧悬浮）
       须压过 .anno-anchor { position:relative }，否则会落到文档流左侧 */
    .room-back-float,
    #roomBackFloat.room-back-float {
      position: absolute !important;
      right: 10px !important;
      left: auto !important;
      top: 50%;
      transform: translateY(-50%);
      z-index: 38;
      display: none;
      width: 46px;
      height: 46px;
      padding: 0;
      border: none;
      background: none;
      box-shadow: none;
    }
    .room-back-float.show,
    #roomBackFloat.room-back-float.show { display: block !important; }
    #roomBackFloat > .anno-drop {
      position: absolute;
      top: -10px;
      left: -10px;
      right: auto;
      z-index: 3;
      transform: scale(.85);
      transform-origin: left top;
    }
    .room-back-float .rbf-close {
      position: absolute;
      top: -7px;
      right: -7px;
      left: auto;
      z-index: 2;
      width: 20px;
      height: 20px;
      border: 1px solid #e8e8e8;
      border-radius: 50%;
      background: #fff;
      color: #666;
      font-size: 14px;
      font-weight: 600;
      line-height: 1;
      cursor: pointer;
      display: grid;
      place-items: center;
      padding: 0;
      box-shadow: 0 1px 6px rgba(0, 0, 0, .16);
    }
    .room-back-float .rbf-close:hover { background: #f5f5f5; color: #333; }
    .room-back-float .rbf-main {
      position: relative;
      z-index: 1;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: #fff;
      box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1px;
      padding: 5px 4px 4px;
      border: none;
      cursor: pointer;
      color: #333;
    }
    .room-back-float .rbf-main:active { transform: scale(.96); }
    .room-back-float .rbf-icon {
      position: relative;
      width: 22px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #e53935;
      flex-shrink: 0;
    }
    .room-back-float .rbf-icon svg {
      width: 20px;
      height: 20px;
      display: block;
    }
    .room-back-float .rbf-txt {
      font-size: 9px;
      line-height: 1.1;
      color: #666;
      font-weight: 500;
      letter-spacing: 0;
      white-space: nowrap;
    }
    .room-back-float .live-dot {
      position: absolute;
      top: 0;
      right: -1px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #e53935;
      border: 1.5px solid #fff;
      animation: room-float-pulse 1.4s ease-in-out infinite;
      flex-shrink: 0;
    }
    @keyframes room-float-pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: .65; transform: scale(.85); }
    }

    /* —— 我的 —— */
    .mine-scroll { flex: 1; overflow-y: auto; padding-bottom: 64px; background: #f2f3f5; }
    .mine-nav {
      display: flex; align-items: center; justify-content: center; height: 44px;
      background: #fff; position: relative; font-size: 16px; font-weight: 600;
    }
    .mine-nav .nav-icons {
      position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
      display: flex; gap: 10px; color: #666;
    }
    .mine-hero {
      margin: 0; padding: 16px 14px 20px; background: linear-gradient(135deg, #ef5350, #e53935 55%, #c62828);
      color: #fff; position: relative;
    }
    .mine-hero .user-row { display: flex; align-items: center; gap: 12px; }
    .avatar {
      width: 56px; height: 56px; border-radius: 50%; background: #fff; color: #e53935;
      display: grid; place-items: center; font-weight: 800; font-size: 18px; flex-shrink: 0;
      border: 2px solid rgba(255,255,255,.5);
    }
    .user-meta .name { font-size: 15px; font-weight: 700; }
    .user-meta .id { font-size: 12px; opacity: .85; margin-top: 2px; }
    .stats-row {
      display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; text-align: center;
    }
    .stats-row .n { font-size: 18px; font-weight: 700; }
    .stats-row .l { font-size: 11px; opacity: .9; margin-top: 2px; }
    .vip-bar {
      margin: -10px 12px 0; background: linear-gradient(90deg, #3a3228, #5c4a32);
      color: #f0d9a0; border-radius: 8px; padding: 10px 12px; display: flex;
      align-items: center; justify-content: space-between; font-size: 12px;
      position: relative; z-index: 1; box-shadow: var(--shadow);
    }
    .vip-bar .btn-mini {
      border: 1px solid #c9a66b; color: #f0d9a0; background: transparent;
      border-radius: 12px; padding: 2px 10px; font-size: 11px;
    }
    .card {
      margin: 12px; background: #fff; border-radius: var(--radius); padding: 12px;
      box-shadow: var(--shadow);
    }
    .card-hd {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 12px; font-weight: 600; font-size: 14px;
    }
    .card-hd .more { color: var(--text3); font-size: 12px; font-weight: 400; border: 0; background: none; }
    .order-icons {
      display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; text-align: center;
    }
    .order-icons .ico {
      width: 36px; height: 36px; margin: 0 auto 4px; border-radius: 50%;
      background: #f5f5f5; display: grid; place-items: center; font-size: 16px; color: #555;
    }
    .order-icons .lab { font-size: 11px; color: #555; }
    .func-grid {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; text-align: center;
    }
    .func-item { border: 0; background: transparent; padding: 0; cursor: default; }
    .func-item.live { cursor: pointer; }
    .func-item .fi {
      width: 40px; height: 40px; margin: 0 auto 6px; border-radius: 10px;
      background: #f3f4f6; display: grid; place-items: center; font-size: 18px; color: #666;
      position: relative;
    }
    .func-item.live .fi {
      background: linear-gradient(135deg, #ff7043, #e53935); color: #fff;
      box-shadow: 0 4px 10px rgba(229,57,53,.35);
    }
    .func-item .fl { font-size: 11px; color: #444; line-height: 1.3; }
    .func-item.live .fl { color: var(--brand); font-weight: 600; }

    .tabbar {
      position: absolute; left: 0; right: 0; bottom: 0; height: 56px;
      background: #fff; border-top: 1px solid #eee;
      display: grid; grid-template-columns: repeat(4, 1fr); z-index: 20;
    }
    .tabbar button {
      border: 0; background: transparent; display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 2px; color: #888; font-size: 10px;
    }
    .tabbar button.on { color: var(--brand); }
    .tabbar .ti { font-size: 18px; line-height: 1; }

    /* —— 顶栏 / 直播中心 / 我的收益 —— */
    .nav-back {
      display: flex; align-items: center; height: 44px; padding: 0 12px;
      background: #fff; border-bottom: 1px solid #f0f0f0; flex-shrink: 0;
      font-size: 16px; font-weight: 600; position: relative;
    }
    .nav-back .back {
      position: absolute; left: 8px; border: 0; background: transparent;
      font-size: 20px; width: 36px; height: 36px; color: #333;
    }
    .nav-back .title { margin: 0 auto; }
    .phone-inner.dark-chrome .status-bar { color: #fff; }
    .live-center-page {
      background: linear-gradient(180deg, #3a1f5c 0%, #1a1028 42%, #0d0a14 100%);
      color: #fff;
    }
    .live-center-page .nav-back {
      background: transparent; border: 0; color: #fff;
    }
    .live-center-page .nav-back .back { color: #fff; }
    .lc-earn-btn {
      align-self: flex-start; margin: 4px 14px 10px;
      height: 32px; padding: 0 14px; border-radius: 16px;
      border: 0; background: rgba(0,0,0,.35); color: #fff;
      font-size: 13px; display: inline-flex; align-items: center; gap: 6px;
      backdrop-filter: blur(4px); cursor: pointer; position: relative;
    }
    .lc-earn-btn .ico { font-size: 14px; opacity: .9; }
    .list-scroll {
      flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; padding: 0 12px 16px;
      scrollbar-width: none; -ms-overflow-style: none;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      touch-action: pan-y;
      cursor: grab;
    }
    .list-scroll.is-dragging { cursor: grabbing; }
    .list-scroll::-webkit-scrollbar { width: 0; height: 0; display: none; }
    .list-scroll.anno-anchor { overflow-x: hidden; overflow-y: auto; }
    .live-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    }
    .lc-card {
      border: 0; padding: 0; border-radius: 12px; overflow: hidden;
      background: #2a1840; color: #fff; text-align: left; cursor: pointer;
      position: relative; aspect-ratio: 3 / 4; min-height: 196px;
      display: flex; flex-direction: column;
    }
    .lc-card.living {
      background-size: cover; background-position: center;
    }
    .lc-card.living::before {
      content: ""; position: absolute; inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.05) 40%, rgba(0,0,0,.72) 100%);
      pointer-events: none;
    }
    .lc-card .lc-status {
      position: absolute; left: 8px; top: 8px; z-index: 2;
      font-size: 11px; font-weight: 500; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4);
    }
    .lc-card .lc-viewers {
      position: absolute; right: 8px; top: 8px; z-index: 2;
      font-size: 12px; font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.45);
    }
    .lc-card .lc-foot {
      position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
      display: flex; align-items: center; gap: 8px;
      padding: 8px 10px; background: rgba(0,0,0,.42);
    }
    .lc-card .lc-av {
      width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
      background: #5c6bc0; color: #fff; font-size: 12px; font-weight: 700;
      display: grid; place-items: center; flex-shrink: 0; border: 1px solid rgba(255,255,255,.35);
      background-size: cover; background-position: center;
    }
    .lc-card .lc-meta { min-width: 0; flex: 1; }
    .lc-card .lc-name {
      font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .lc-card .lc-id {
      margin-top: 1px; font-size: 10px; opacity: .85;
      display: flex; align-items: center; gap: 4px;
    }
    .lc-card .lc-copy {
      border: 0; background: transparent; color: #fff; padding: 0; line-height: 1;
      font-size: 11px; opacity: .9; cursor: pointer; display: inline;
    }
    .lc-card.soon {
      background: linear-gradient(160deg, #3d2460 0%, #2a1848 100%);
      align-items: center; justify-content: center; padding: 28px 12px 16px;
    }
    .lc-card.soon .lc-soon-av {
      width: 56px; height: 56px; border-radius: 50%; margin: 8px auto 12px;
      background: #5c6bc0; color: #fff; font-size: 20px; font-weight: 700;
      display: grid; place-items: center; border: 2px solid rgba(255,255,255,.35);
      position: relative; z-index: 1; flex-shrink: 0;
      background-size: cover; background-position: center;
    }
    .lc-card.soon .lc-soon-title {
      position: relative; z-index: 1; text-align: center;
      font-size: 14px; font-weight: 700; margin-bottom: 8px;
      padding: 0 4px; line-height: 1.35;
    }
    .lc-card.soon .lc-soon-time {
      position: relative; z-index: 1; text-align: center;
      font-size: 11px; color: rgba(255,255,255,.78); line-height: 1.4;
    }
    .lc-card.ended {
      background-size: cover; background-position: center;
    }
    .lc-card.ended::before {
      content: ""; position: absolute; inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.12) 42%, rgba(0,0,0,.78) 100%);
      pointer-events: none;
    }
    .lc-card.ended .lc-status { opacity: .92; }
    .lc-card.ended .lc-id { font-size: 10px; opacity: .78; }
    .empty-tip { text-align: center; color: var(--text3); padding: 48px 16px; }
    .live-center-page .empty-tip { color: rgba(255,255,255,.55); }

    .earnings-page {
      background: linear-gradient(180deg, #3a1f5c 0%, #1a1028 38%, #0d0a14 100%);
      color: #fff;
    }
    .earnings-page .nav-back {
      background: transparent; border: 0; color: #fff;
    }
    .earnings-page .nav-back .back { color: #fff; }
    .earn-tabs {
      display: flex; gap: 10px; padding: 4px 14px 12px; flex-shrink: 0;
      position: relative;
    }
    .earn-tabs > button[data-tab] {
      flex: 1; height: 36px; border: 0; border-radius: 18px;
      background: rgba(255,255,255,.12); color: #fff; font-size: 14px; font-weight: 600;
    }
    .earn-tabs > button[data-tab].on {
      background: linear-gradient(90deg, #9b5cff, #7b3fe4);
    }
    .earn-subtabs {
      display: flex; gap: 28px; padding: 0 18px 8px; flex-shrink: 0;
      font-size: 14px; color: rgba(255,255,255,.55);
    }
    .earn-subtabs button {
      border: 0; background: transparent; color: inherit; padding: 6px 0;
      position: relative; font-weight: 500;
    }
    .earn-subtabs button.on {
      color: #fff; font-weight: 700;
    }
    .earn-subtabs button.on::after {
      content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
      width: 28px; height: 3px; border-radius: 2px; background: #9b5cff;
    }
    .earn-total {
      padding: 4px 16px 10px; font-size: 14px; color: rgba(255,255,255,.92); flex-shrink: 0;
    }
    .earn-total .amt { font-weight: 700; margin-left: 4px; }
    .earn-scroll {
      flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; padding: 0 12px 16px;
      scrollbar-width: none; -ms-overflow-style: none;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      touch-action: pan-y;
      cursor: grab;
    }
    .earn-scroll.is-dragging { cursor: grabbing; }
    .earn-scroll::-webkit-scrollbar { width: 0; height: 0; display: none; }
    .earn-scroll.anno-anchor { overflow-x: hidden; overflow-y: auto; }
    .earn-card {
      background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
      border-radius: 12px; padding: 12px; margin-bottom: 10px;
    }
    .earn-card .ec-top {
      display: flex; align-items: flex-start; gap: 10px;
    }
    .earn-card .ec-av {
      width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
      background: #5c6bc0; color: #fff; font-size: 14px; font-weight: 700;
      display: grid; place-items: center; border: 1.5px solid rgba(155,92,255,.65);
    }
    .earn-card .ec-user { min-width: 0; flex: 1; }
    .earn-card .ec-name { font-size: 14px; font-weight: 700; }
    .earn-card .ec-id {
      display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 10px;
      background: rgba(0,0,0,.28); font-size: 11px; color: rgba(255,255,255,.65);
    }
    .earn-card .ec-amt {
      font-size: 16px; font-weight: 700; color: #fff; flex-shrink: 0; padding-top: 2px;
    }
    .earn-card .ec-rows {
      margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.62); line-height: 1.7;
    }
    .earn-card .ec-rows .lab { color: rgba(255,255,255,.45); margin-right: 6px; }
    .earn-card.invite .ec-rows { margin-top: 12px; }

    /* —— 主播工作台 —— */
    .anchor-page {
      background: linear-gradient(180deg, #3a1f5c 0%, #1a1028 38%, #0d0a14 100%);
      color: #fff;
    }
    .anchor-page .nav-back { background: transparent; border: 0; color: #fff; flex-shrink: 0; }
    .anchor-page .nav-back .back { color: #fff; }
    .anchor-scroll {
      flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; padding: 0 14px 20px;
      scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      touch-action: pan-y;
    }
    .anchor-scroll::-webkit-scrollbar { width: 0; height: 0; display: none; }
    /* 覆盖 .anno-anchor 的 overflow:visible，否则数据分析等内容无法纵向滚动 */
    .anchor-scroll.anno-anchor { overflow-x: hidden; overflow-y: auto; }
    /* 开播列表 / 直播历史：列表区独立上下滑动 */
    .anchor-list-scroll {
      flex: 1 1 auto;
      min-height: 0;
      overflow-x: hidden;
      overflow-y: auto;
      padding: 0 14px 24px;
      scrollbar-width: none;
      -ms-overflow-style: none;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      touch-action: pan-y;
    }
    .anchor-list-scroll::-webkit-scrollbar { width: 0; height: 0; display: none; }
    .anchor-list-scroll.anno-anchor { overflow-x: hidden; overflow-y: auto; }
    .anchor-home-fixed {
      flex-shrink: 0;
      padding: 0 14px;
    }
    .ah-profile {
      display: flex; align-items: center; gap: 12px; padding: 8px 2px 16px;
    }
    .ah-av {
      width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
      background: #5c6bc0 center/cover no-repeat; color: #fff; font-size: 20px; font-weight: 700;
      display: grid; place-items: center; border: 2px solid rgba(255,255,255,.35);
    }
    .ah-meta { min-width: 0; flex: 1; }
    .ah-name { font-size: 17px; font-weight: 700; }
    .ah-id { margin-top: 4px; font-size: 12px; color: rgba(255,255,255,.65); }
    .ah-phone {
      display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 12px;
      background: linear-gradient(90deg, #9b5cff, #7b3fe4); font-size: 11px; font-weight: 600;
    }
    .ah-nav {
      display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px;
    }
    .ah-nav-card {
      border: 0; border-radius: 12px; padding: 14px 12px;
      background: rgba(255,255,255,.08); color: #fff; text-align: left; cursor: pointer;
      display: flex; align-items: center; gap: 10px;
    }
    .ah-nav-ico {
      width: 40px; height: 40px; border-radius: 10px;
      background: linear-gradient(135deg, #9b5cff, #6a3de8);
      display: grid; place-items: center; font-size: 18px; flex-shrink: 0;
    }
    .ah-nav-lab { font-size: 14px; font-weight: 700; }
    .ah-tabs {
      display: flex; gap: 28px; margin-bottom: 12px; position: relative;
    }
    .ah-tabs > button[data-tab] {
      flex: 0 0 auto; height: 38px; border: 0; border-radius: 0; padding: 0 2px;
      background: none; color: rgba(255,255,255,.55); font-size: 15px; font-weight: 500;
      position: relative; cursor: pointer;
    }
    .ah-tabs > button[data-tab].on {
      background: none; color: #fff; font-weight: 800;
    }
    .ah-tabs > button[data-tab].on::after {
      content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 2px;
      width: 28px; height: 3px; border-radius: 2px; background: #3b82f6;
    }
    .ah-session {
      display: flex; gap: 10px; align-items: center;
      background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
      border-radius: 12px; padding: 10px; margin-bottom: 10px;
    }
    .ah-thumb {
      width: 72px; height: 72px; border-radius: 8px; flex-shrink: 0; position: relative;
      background-size: cover; background-position: center;
    }
    .ah-thumb .badge {
      position: absolute; left: 4px; top: 4px; font-size: 10px; padding: 1px 5px;
      border-radius: 3px; background: rgba(0,0,0,.55); color: #fff;
    }
    .ah-thumb .badge.ended { background: rgba(80,80,80,.85); }
    .ah-sinfo { min-width: 0; flex: 1; }
    .ah-stitle { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ah-stime { margin-top: 4px; font-size: 11px; color: rgba(255,255,255,.6); }
    .ah-scountdown { margin-top: 4px; font-size: 12px; color: #c9b8ff; }
    .ah-sacts { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
    .ah-sacts .btn {
      min-width: 56px; height: 28px; border: 0; border-radius: 14px;
      font-size: 12px; font-weight: 600; padding: 0 12px; cursor: pointer;
    }
    .ah-sacts .btn-go { background: linear-gradient(90deg, #9b5cff, #7b3fe4); color: #fff; }
    .ah-sacts .btn-cancel { background: rgba(255,255,255,.14); color: #fff; }
    .ah-hist {
      display: flex; gap: 12px; margin-bottom: 22px; position: relative; padding-left: 4px;
    }
    .ah-hist::before {
      content: ""; position: absolute; left: 15px; top: 28px; bottom: -14px; width: 0;
      border-left: 1px dashed rgba(255,255,255,.35);
    }
    .ah-hist:last-child::before { display: none; }
    .ah-hist-dot {
      width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
      background: rgba(255,255,255,.22);
      display: grid; place-items: center; font-size: 14px; z-index: 1; color: #fff;
    }
    .ah-hist:first-child .ah-hist-dot {
      background: linear-gradient(135deg, #9b5cff, #6a3de8);
    }
    .ah-hist-body { flex: 1; min-width: 0; }
    .ah-hist-time { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
    .ah-hist-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: 13px;
      color: rgba(255,255,255,.78); line-height: 1.5; margin-bottom: 12px;
    }
    .ah-hist-thumb {
      width: 120px; height: 160px; border-radius: 8px;
      background-size: cover; background-position: center; position: relative;
      cursor: pointer; border: 0; padding: 0; display: block;
    }
    .ah-hist-thumb::after {
      content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
      width: 36px; height: 36px; border-radius: 50%;
      background: rgba(255,255,255,.95);
      box-shadow: 0 2px 8px rgba(0,0,0,.3);
    }
    .ah-hist-thumb::before {
      content: ""; position: absolute; left: 50%; top: 50%; z-index: 1;
      transform: translate(-42%, -50%);
      border-style: solid; border-width: 7px 0 7px 12px;
      border-color: transparent transparent transparent #5c6bc0;
    }
    .ah-hist-title {
      font-size: 13px; font-weight: 600; margin: 0 0 14px; opacity: .85;
    }
    /* 直播回放 */
    .replay-page {
      background: #0a0a0a; color: #fff; display: none; flex-direction: column;
      height: 100%; position: relative;
    }
    .replay-page.active { display: flex; }
    .replay-nav {
      flex-shrink: 0; height: 44px; display: flex; align-items: center; justify-content: center;
      position: relative; background: rgba(0,0,0,.85); z-index: 2;
    }
    .replay-nav .title { font-size: 16px; font-weight: 600; }
    .replay-nav .close {
      position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
      width: 32px; height: 32px; border: 0; background: transparent; color: #fff;
      font-size: 22px; cursor: pointer; line-height: 1;
    }
    .replay-stage {
      flex: 1; min-height: 0; position: relative; background: #111;
      display: flex; align-items: center; justify-content: center; overflow: hidden;
    }
    .replay-cover {
      position: absolute; inset: 0;
      background-size: cover; background-position: center;
      filter: brightness(.85);
    }
    .replay-controls {
      position: absolute; left: 0; right: 0; bottom: 0;
      padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
      background: linear-gradient(transparent, rgba(0,0,0,.72));
      display: flex; align-items: center; gap: 8px; z-index: 2;
    }
    .replay-controls .btn-play {
      width: 28px; height: 28px; border: 0; background: transparent; color: #fff;
      font-size: 16px; cursor: pointer; flex-shrink: 0; padding: 0;
    }
    .replay-controls .t {
      font-size: 12px; color: #fff; flex-shrink: 0; font-variant-numeric: tabular-nums;
      min-width: 36px;
    }
    .replay-controls .bar-wrap {
      flex: 1; height: 20px; display: flex; align-items: center; cursor: pointer;
    }
    .replay-controls .bar {
      width: 100%; height: 3px; background: rgba(255,255,255,.35); border-radius: 2px; position: relative;
    }
    .replay-controls .bar-fill {
      position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
      background: #fff; border-radius: 2px;
    }
    .replay-controls .bar-knob {
      position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%;
      background: #fff; transform: translate(-50%, -50%); left: 0%;
    }
    .replay-controls .btn-fs {
      width: 28px; height: 28px; border: 0; background: transparent; color: #fff;
      font-size: 14px; cursor: pointer; flex-shrink: 0; padding: 0;
    }
    .aa-metrics {
      display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
      background: rgba(255,255,255,.06); border-radius: 12px; padding: 12px; margin-bottom: 14px;
    }
    .aa-metrics .m { text-align: center; padding: 6px 4px; }
    .aa-metrics .lab { font-size: 11px; color: rgba(255,255,255,.55); }
    .aa-metrics .val { margin-top: 4px; font-size: 16px; font-weight: 700; }
    .aa-range {
      display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px;
    }
    .aa-range button {
      height: 28px; padding: 0 10px; border: 0; border-radius: 14px;
      background: rgba(255,255,255,.1); color: rgba(255,255,255,.75); font-size: 12px;
    }
    .aa-range button.on { background: #9b5cff; color: #fff; font-weight: 600; }
    .aa-funnel {
      background: rgba(255,255,255,.05); border-radius: 12px; padding: 12px; margin-bottom: 12px;
    }
    .aa-funnel h4 {
      margin: 0 0 10px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px;
    }
    .aa-funnel .info-tip {
      display: inline-grid; place-items: center; width: 16px; height: 16px;
      border-radius: 50%; background: rgba(155,92,255,.35); color: #e0d4ff; font-size: 11px; font-weight: 700;
      cursor: help;
    }
    .aa-funnel .funnel-insight {
      display: flex; align-items: center; gap: 8px;
      background: rgba(25,118,210,.2); border: 1px solid rgba(145,213,255,.35); border-radius: 8px;
      padding: 8px 10px; margin-bottom: 12px; font-size: 12px; color: #9ecbff;
    }
    .aa-funnel .funnel-insight .ico {
      width: 16px; height: 16px; border-radius: 50%; background: #1976d2; color: #fff;
      font-size: 11px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0;
    }
    .aa-funnel .conv-funnel {
      display: flex; align-items: center; justify-content: center; gap: 10px;
      min-height: 160px; padding: 4px 0; flex-wrap: wrap;
    }
    .aa-funnel .conv-funnel-body { display: flex; align-items: stretch; gap: 8px; }
    .aa-funnel .conv-funnel-stages {
      display: flex; flex-direction: column; align-items: center; gap: 6px; width: 200px;
    }
    .aa-funnel .conv-funnel-stages .stage {
      height: 40px; display: grid; place-items: center; color: #fff;
      font-size: 12px; font-weight: 500; border-radius: 4px;
    }
    .aa-funnel .conv-funnel-stages .stage:nth-child(1) {
      width: 100%; background: linear-gradient(90deg, #64b5f6, #1976d2);
      clip-path: polygon(4% 0, 96% 0, 88% 100%, 12% 100%);
    }
    .aa-funnel .conv-funnel-stages .stage:nth-child(2) {
      width: 72%; background: linear-gradient(90deg, #4db6ac, #00897b);
      clip-path: polygon(6% 0, 94% 0, 86% 100%, 14% 100%);
    }
    .aa-funnel .conv-funnel-stages .stage:nth-child(3) {
      width: 44%; background: linear-gradient(90deg, #ffb74d, #f57c00);
      clip-path: polygon(8% 0, 92% 0, 84% 100%, 16% 100%);
    }
    .aa-funnel .conv-funnel-step-rates {
      display: flex; flex-direction: column; justify-content: space-between;
      padding: 30px 0; min-width: 64px;
    }
    .aa-funnel .step-rate {
      display: flex; align-items: center; gap: 4px; color: #b794ff;
      font-size: 12px; font-weight: 600; white-space: nowrap;
    }
    .aa-funnel .step-rate .bracket {
      width: 12px; height: 18px; border: 2px solid #b794ff;
      border-left: 0; border-radius: 0 4px 4px 0; flex-shrink: 0;
    }
    .aa-funnel .step-rate .arrow-down {
      width: 0; height: 0;
      border-left: 4px solid transparent; border-right: 4px solid transparent;
      border-top: 6px solid #b794ff; flex-shrink: 0;
    }
    .aa-funnel .conv-funnel-arrow {
      display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
      color: #b794ff; font-size: 11px; text-align: center; max-width: 72px;
      align-self: stretch; padding: 6px 0;
    }
    .aa-funnel .conv-funnel-arrow .line {
      flex: 1; width: 2px; min-height: 60px; background: #b794ff; position: relative;
    }
    .aa-funnel .conv-funnel-arrow .line::before,
    .aa-funnel .conv-funnel-arrow .line::after {
      content: ""; position: absolute; left: 50%; transform: translateX(-50%);
      border-left: 4px solid transparent; border-right: 4px solid transparent;
    }
    .aa-funnel .conv-funnel-arrow .line::before { top: -2px; border-bottom: 6px solid #b794ff; }
    .aa-funnel .conv-funnel-arrow .line::after { bottom: -2px; border-top: 6px solid #b794ff; }
    .aa-audience {
      background: rgba(255,255,255,.05); border-radius: 12px; padding: 12px; margin-bottom: 12px;
    }
    .aa-audience h4 { margin: 0 0 10px; font-size: 13px; font-weight: 600; }
    .aa-audience .audience-chart-area {
      height: 160px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; position: relative;
      background:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 100% 20%,
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 10% 100%,
        rgba(0,0,0,.15);
    }
    .aa-audience .audience-chart-line {
      position: absolute; inset: 20px 12px 24px 28px;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120' preserveAspectRatio='none'%3E%3Cpolyline fill='none' stroke='%2364b5f6' stroke-width='2' points='0,100 40,90 80,95 120,70 160,75 200,50 240,55 280,35 320,40 360,20 400,30'/%3E%3Cpolyline fill='none' stroke='%23ef9a9a' stroke-width='2' points='0,110 40,100 80,105 120,85 160,90 200,70 240,75 280,60 320,65 360,50 400,55'/%3E%3Cpolyline fill='none' stroke='%23ffb74d' stroke-width='2' points='0,105 40,98 80,100 120,92 160,88 200,80 240,78 280,70 320,72 360,65 400,60'/%3E%3C/svg%3E") center/100% 100% no-repeat;
    }
    .aa-audience .audience-chart-y {
      position: absolute; left: 6px; top: 6px; bottom: 20px; display: flex;
      flex-direction: column; justify-content: space-between; color: rgba(255,255,255,.45); font-size: 10px;
    }
    .aa-audience .audience-chart-x {
      position: absolute; left: 28px; right: 12px; bottom: 4px;
      display: flex; justify-content: space-between; color: rgba(255,255,255,.45); font-size: 10px;
    }
    .aa-audience .audience-legend {
      display: flex; justify-content: center; gap: 14px; margin-top: 10px; font-size: 11px; color: rgba(255,255,255,.65);
    }
    .aa-audience .audience-legend span::before {
      content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
      margin-right: 5px; vertical-align: middle;
    }
    .aa-audience .audience-legend .c1::before { background: #64b5f6; }
    .aa-audience .audience-legend .c2::before { background: #ef9a9a; }
    .aa-audience .audience-legend .c3::before { background: #ffb74d; }
    .ao-summary {
      display: flex; justify-content: space-between; gap: 24px;
      padding: 8px 4px 16px; font-size: 13px;
    }
    .ao-summary > div { flex: 1; min-width: 0; }
    .ao-summary .lab {
      color: rgba(255,255,255,.55); display: block; margin-bottom: 8px;
      font-size: 13px; font-weight: 500;
    }
    .ao-summary .val { font-size: 22px; font-weight: 700; letter-spacing: .2px; color: #fff; white-space: nowrap; }
    .ao-tabs {
      display: flex; gap: 12px; margin-bottom: 14px;
    }
    .ao-tabs button {
      flex: 1; height: 40px; border: 0; border-radius: 10px;
      background: rgba(255,255,255,.12); color: rgba(255,255,255,.75);
      font-size: 14px; font-weight: 600;
    }
    .ao-tabs button.on {
      background: linear-gradient(90deg, #a855f7, #ec4899);
      color: #fff;
    }
    .ao-card {
      background: rgba(255,255,255,.08); border-radius: 12px;
      padding: 14px; margin-bottom: 12px;
    }
    .ao-no {
      font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 12px;
    }
    .ao-goods {
      display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
    }
    .ao-gimg {
      width: 64px; height: 64px; border-radius: 8px; flex-shrink: 0;
      background: #3d2460 center/cover no-repeat;
    }
    .ao-gmeta { flex: 1; min-width: 0; }
    .ao-gname {
      font-size: 14px; line-height: 1.4; color: #fff;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .ao-qty { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,.5); }
    .ao-rows {
      margin-top: 14px; display: flex; flex-direction: column; gap: 10px;
    }
    .ao-rows .row { display: flex; flex-direction: column; gap: 4px; }
    .ao-rows .lab { font-size: 13px; color: rgba(255,255,255,.88); }
    .ao-rows .v { font-size: 14px; color: #fff; font-weight: 600; }
    .ao-rows .reward { color: #d946ef; }
    .ap-goods-card {
      display: flex; gap: 12px; background: rgba(255,255,255,.06);
      border-radius: 12px; padding: 12px; margin: 8px 0 20px;
    }
    .ap-goods-card img, .ap-goods-card .img {
      width: 88px; height: 88px; border-radius: 8px; flex-shrink: 0;
      background: #3d2460 center/cover no-repeat;
    }
    .ap-goods-card .nm { font-size: 14px; font-weight: 600; line-height: 1.4; }
    .ap-goods-card .price { margin-top: 10px; font-size: 18px; font-weight: 700; }
    .ap-goods-card .qty { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,.55); text-align: right; }
    .al-stage {
      flex: 1; min-height: 0; position: relative;
      background: linear-gradient(180deg, #2a1a3a, #120c1c);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      color: rgba(255,255,255,.55); font-size: 14px; gap: 8px;
    }
    .al-stage .ico { font-size: 40px; opacity: .7; }
    .al-dock {
      flex-shrink: 0; padding: 14px 16px 22px; display: flex; gap: 10px;
      background: #0d0a14;
    }
    .al-dock .btn {
      flex: 1; height: 44px; border: 0; border-radius: 22px; font-weight: 700; font-size: 15px;
    }
    .al-dock .btn-start { background: linear-gradient(90deg, #9b5cff, #7b3fe4); color: #fff; }
    .al-dock .btn-end { background: #c62828; color: #fff; }
    .al-dock .btn-ghost { background: rgba(255,255,255,.12); color: #fff; }

    /* 主播 H5 中控（对齐截图布局） */
    .host-live-page { background: #1a1028; color: #fff; }
    .host-live-page .hl-stage {
      flex: 1; min-height: 0; position: relative;
      background:
        radial-gradient(ellipse at 50% 35%, rgba(255,200,180,.18), transparent 55%),
        linear-gradient(180deg, #2a1a3a 0%, #1a1028 45%, #120c1c 100%);
      overflow: hidden;
    }
    .host-live-page .hl-stage::before {
      content: "直播画面"; position: absolute; left: 50%; top: 38%;
      transform: translate(-50%, -50%); font-size: 13px; color: rgba(255,255,255,.28);
      letter-spacing: .2em; pointer-events: none; z-index: 1;
    }
    .host-live-page .hl-stage.cam-off::before { content: "摄像头已关闭"; }
    .host-live-page .hl-stage.pending::before { content: "点击「开始直播」开播"; }
    .host-live-page .hl-stage.ended::before { content: "本场已结束"; }
    .host-live-page .hl-stage.has-video::before { content: none; }
    .host-live-page .hl-stage.living-sim::before { content: "直播中"; }
    .host-live-page.show-end .hl-stage,
    .host-live-page.show-end .hl-dock,
    .host-live-page.show-end .hl-start-bar { display: none !important; }
    .host-live-page.show-end .hl-end-page { display: flex; }
    .hl-video {
      position: absolute; inset: 0; width: 100%; height: 100%;
      object-fit: cover; z-index: 0; background: #000; display: none;
    }
    .host-live-page .hl-stage.has-video .hl-video { display: block; }
    .hl-media { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: row; }
    .hl-pane { flex: 1; min-width: 0; position: relative; overflow: hidden; }
    .hl-pane-host .hl-video {
      position: absolute; inset: 0; width: 100%; height: 100%;
      object-fit: cover; display: none; background: #111;
    }
    .host-live-page .hl-stage.has-video .hl-pane-host .hl-video { display: block; }
    .hl-pane-guest {
      display: none; background: linear-gradient(180deg, #1b4332, #081c15);
      align-items: center; justify-content: center; flex-direction: column;
    }
    .host-live-page .hl-stage.mic-split .hl-pane-guest { display: flex; }
    .hl-guest-voice { text-align: center; padding: 12px; z-index: 1; }
    .hl-guest-voice .g-av {
      width: 48px; height: 48px; border-radius: 8px; margin: 0 auto;
      background: rgba(255,255,255,.15); display: grid; place-items: center;
      font-size: 18px; font-weight: 700;
    }
    .hl-guest-voice .g-nm { font-size: 12px; margin-top: 6px; font-weight: 600; }
    .hl-guest-video {
      position: absolute; inset: 0; width: 100%; height: 100%;
      object-fit: cover; display: none; background: #081c15;
    }
    .hl-pane-guest.video-on .hl-guest-video { display: block; }
    .hl-pane-guest.video-on .hl-guest-voice { display: none; }
    .hl-live-title { display: none !important; }
    .hl-top {
      position: absolute; left: 0; right: 0; top: 0; z-index: 6;
      display: flex; align-items: center; gap: 8px; padding: 8px 10px;
    }
    .hl-back {
      width: 32px; height: 32px; border: 0; border-radius: 50%;
      background: rgba(0,0,0,.35); color: #fff; font-size: 18px; line-height: 1;
    }
    .hl-host {
      display: flex; align-items: center; gap: 8px;
      background: rgba(0,0,0,.35); border-radius: 20px; padding: 4px 10px 4px 4px;
      min-width: 0;
    }
    .hl-host .av {
      width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
      background: #5c6bc0 center/cover; flex-shrink: 0;
    }
    .hl-host .nm { font-size: 12px; font-weight: 700; white-space: nowrap; max-width: 84px; overflow: hidden; text-overflow: ellipsis; }
    .hl-top-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
    .hl-close {
      width: 32px; height: 32px; border: 0; border-radius: 50%;
      background: rgba(0,0,0,.35); color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
    }
    .hl-viewers {
      display: none; align-items: center; gap: 4px;
      background: rgba(0,0,0,.35); border-radius: 16px; padding: 4px 8px;
      font-size: 12px; font-weight: 600; border: 0; color: #fff; cursor: pointer;
    }
    .hl-viewers.show { display: flex; }
    .hl-viewers .avs { display: flex; }
    .hl-viewers .avs span {
      width: 22px; height: 22px; border-radius: 50%; margin-left: -6px;
      background: #7e57c2; font-size: 10px; display: grid; place-items: center;
      border: 1px solid rgba(255,255,255,.4);
    }
    .hl-viewers .avs span:first-child { margin-left: 0; }
    .hl-stats-btn {
      position: absolute; right: 10px; top: 52px; z-index: 6;
      height: 28px; padding: 0 10px; border-radius: 14px; border: 0;
      background: rgba(0,0,0,.4); color: #fff; font-size: 12px;
      display: none; align-items: center; gap: 4px; cursor: pointer;
    }
    .hl-stats-btn.show { display: inline-flex; }
    .hl-chat {
      position: absolute; left: 10px; bottom: 64px; right: 100px; z-index: 5;
      height: 38%; max-height: 38%;
      overflow-x: hidden; overflow-y: auto;
      scrollbar-width: none; -ms-overflow-style: none;
      pointer-events: auto;
      touch-action: pan-y;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      cursor: grab;
      user-select: none;
      -webkit-user-select: none;
    }
    .hl-chat.is-dragging { cursor: grabbing; }
    .hl-chat::-webkit-scrollbar { width: 0; height: 0; display: none; }
    .hl-chat-list {
      display: flex; flex-direction: column; gap: 6px; justify-content: flex-end;
      min-height: 100%;
    }
    .hl-chat .chat-line { align-self: flex-start; max-width: 100%; }
    .hl-chat .chat-pill {
      display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px;
      background: rgba(0,0,0,.42); border-radius: 12px; padding: 5px 9px;
      font-size: 12px; line-height: 1.45; color: #fff;
    }
    .hl-chat .chat-pill--block { flex-direction: column; align-items: flex-start; }
    .hl-chat .chat-pill-head { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
    .hl-chat .chat-av {
      width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
      display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff;
    }
    .hl-chat .chat-tag {
      font-size: 10px; padding: 1px 6px; border-radius: 8px; flex-shrink: 0;
    }
    .hl-chat .chat-tag.tag-host { background: rgba(239,154,154,.25); color: #ffab91; }
    .hl-chat .chat-tag.tag-fan { background: rgba(255,255,255,.12); color: #ce93d8; }
    .hl-chat .chat-user { font-weight: 600; color: #fff; }
    .hl-chat .chat-text { color: rgba(255,255,255,.95); word-break: break-word; }
    .hl-chat .prod-share {
      display: flex; align-items: center; gap: 6px; width: 100%; margin-top: 4px;
      padding: 6px 8px; background: rgba(255,255,255,.12); border-radius: 8px; font-size: 11px;
    }
    .hl-chat .prod-share .thumb {
      width: 36px; height: 36px; border-radius: 6px; flex-shrink: 0;
      display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #7c4dff; background: #fff;
    }
    .hl-start-bar {
      display: none; flex-shrink: 0; justify-content: center; padding: 0 16px 10px;
      background: rgba(0,0,0,.55);
    }
    .hl-start-bar.show { display: flex; }
    .hl-start-bar .btn-start-live {
      min-width: 168px; height: 44px; border: 0; border-radius: 22px;
      background: linear-gradient(90deg, #9b5cff, #7b3fe4); color: #fff;
      font-size: 15px; font-weight: 700; cursor: pointer;
    }
    .hl-dock {
      flex-shrink: 0; display: flex; align-items: center; gap: 8px;
      padding: 10px 12px 16px; background: rgba(0,0,0,.55);
    }
    .hl-dock .input-wrap {
      flex: 1; height: 36px; border-radius: 18px;
      background: rgba(255,255,255,.15); display: flex; align-items: center; gap: 6px;
      padding: 0 10px 0 12px; min-width: 0;
    }
    .hl-dock .input-tag {
      flex-shrink: 0; width: 18px; height: 18px; opacity: .75;
      background: no-repeat center/contain;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Ccircle cx='7' cy='7' r='1.5' fill='%23fff' stroke='none'/%3E%3C/svg%3E");
    }
    .hl-dock .input-pill {
      flex: 1; min-width: 0; height: 36px; border-radius: 0; border: 0;
      background: transparent; color: #fff; padding: 0; font-size: 13px;
    }
    .hl-dock .input-pill::placeholder { color: rgba(255,255,255,.5); }
    .hl-dock .dock-ico, .hl-dock .dock-cart {
      width: 36px; height: 36px; border-radius: 50%; border: 0;
      background: rgba(255,255,255,.15); color: #fff; font-size: 16px;
      display: grid; place-items: center; flex-shrink: 0; cursor: pointer;
    }
    .hl-dock .dock-cart { background: linear-gradient(135deg,#9b5cff,#7b3fe4); }
    .hl-dock .dock-mic {
      min-width: 36px; height: 36px; border: 0; background: transparent; color: #fff;
      font-size: 10px; font-weight: 600; flex-shrink: 0; padding: 0 2px; line-height: 1.1;
      display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
      cursor: pointer;
    }
    .hl-dock .dock-mic .mic-ico { font-size: 15px; line-height: 1; }
    .hl-dock .dock-mic.on { color: #81c784; }
    .hl-dock .dock-mic.pending { color: #ffb74d; }
    .hl-stats-pop {
      display: none; position: absolute; right: 10px; top: 88px; z-index: 20;
      width: 280px; background: rgba(40,24,64,.96); border-radius: 12px;
      padding: 12px; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.35);
    }
    .hl-stats-pop.show { display: block; }
    .hl-stats-pop .hd {
      display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px;
    }
    .hl-stats-pop .row { display: flex; gap: 12px; font-size: 11px; color: rgba(255,255,255,.65); flex-wrap: wrap; }
    .hl-stats-pop .row .v { display: block; margin-top: 4px; font-size: 15px; font-weight: 700; color: #fff; }
    .hl-stats-pop .grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 10px 8px; margin-top: 12px;
      font-size: 11px; color: rgba(255,255,255,.55); text-align: left;
    }
    .hl-stats-pop .grid .v { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; color: #fff; }
    .hl-stats-pop .x {
      border: 0; background: transparent; color: #fff; font-size: 16px; line-height: 1; cursor: pointer;
    }
    .hl-more-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 8px; padding: 8px 12px 28px; text-align: center;
    }
    .hl-more-grid button {
      border: 0; background: transparent; color: #fff; cursor: pointer; padding: 0;
    }
    .hl-more-grid button:disabled { opacity: .4; pointer-events: none; }
    .hl-more-grid .ico {
      width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 8px;
      background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 22px;
    }
    .hl-more-grid .ico.c-share { color: #ce93d8; }
    .hl-more-grid .ico.c-goods { color: #ff9800; }
    .hl-more-grid .ico.c-coupon { color: #ffeb3b; }
    .hl-more-grid .ico.c-cam { color: #69f0ae; }
    .hl-more-grid .ico.c-mic { color: #40c4ff; }
    .hl-more-grid .ico.c-link { color: #ea80fc; }
    .hl-more-grid .lab { font-size: 12px; opacity: .9; }
    .hl-more-grid button.off .ico { opacity: .45; }
    .hl-end-page {
      display: none; flex: 1; flex-direction: column; align-items: center;
      background: #000; color: #fff; position: relative; padding: 56px 24px 40px; min-height: 0;
    }
    .hl-end-page .end-close {
      position: absolute; right: 14px; top: 14px; width: 36px; height: 36px;
      border: 0; border-radius: 50%; background: transparent; color: #fff;
      font-size: 22px; line-height: 1; cursor: pointer;
    }
    .hl-end-page .end-title {
      margin-top: 48px; font-size: 22px; font-weight: 700; text-align: center;
    }
    .hl-end-page .end-dur {
      margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.55); text-align: center;
    }
    .hl-end-page .end-card {
      margin-top: 36px; width: 100%; max-width: 320px;
      background: #1c1c1e; border-radius: 12px; padding: 22px 18px;
    }
    .hl-end-page .end-card .lab { font-size: 12px; color: rgba(255,255,255,.45); }
    .hl-end-page .end-card .val { margin-top: 8px; font-size: 28px; font-weight: 700; }
    .hl-end-page .end-card .sub { margin-top: 8px; font-size: 12px; color: rgba(255,255,255,.45); }
    .hg-card {
      display: flex; gap: 10px; background: rgba(255,255,255,.06);
      border-radius: 12px; padding: 10px; margin-bottom: 10px; align-items: flex-start;
    }
    .hg-card .pic {
      width: 64px; height: 64px; border-radius: 8px; flex-shrink: 0; position: relative;
      background: #3d2460;
    }
    .hg-card .badge {
      position: absolute; left: 0; top: 0; font-size: 9px; padding: 2px 4px;
      background: #7b3fe4; border-radius: 4px 0 4px 0; color: #fff;
    }
    .hg-card .body { flex: 1; min-width: 0; }
    .hg-card .name { font-size: 13px; font-weight: 600; line-height: 1.3; }
    .hg-card .sale { margin-top: 6px; font-size: 11px; color: rgba(255,255,255,.55); }
    .hg-card .price { margin-top: 2px; font-size: 13px; font-weight: 700; color: #ffb74d; }
    .hg-card .stock { margin-top: 2px; font-size: 11px; color: #8fd19e; }
    .hg-card .acts { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
    .hg-card .acts button {
      min-width: 56px; height: 28px; border-radius: 14px; border: 0;
      font-size: 11px; font-weight: 600; padding: 0 10px; cursor: pointer;
      background: rgba(155,92,255,.25); color: #e1d0ff;
    }
    .hg-card .acts button.primary { background: linear-gradient(90deg,#9b5cff,#7b3fe4); color: #fff; }
    .hg-card .acts button.stock-btn { line-height: 1.25; height: auto; min-height: 28px; padding: 4px 10px; }
    .hg-card .acts button.stock-btn .sub { display: block; font-size: 9px; color: rgba(255,255,255,.45); margin-top: 1px; font-weight: 500; }

    /* ===== 门店库存抽屉（手机通讯录卡片）===== */
    #hostStockSheet .host-stock-sheet {
      height: 75%; max-height: 75%; min-height: 75%;
      background: #fff; color: #1a1a1a;
      display: flex; flex-direction: column; overflow: hidden;
      border-radius: 16px 16px 0 0;
    }
    #hostStockSheet .host-stock-hd {
      background: #1a1028; color: #fff;
      border-bottom: 0; flex-shrink: 0; position: relative;
    }
    #hostStockSheet .host-stock-hd .x { color: #fff; }
    #hostStockSheet .host-stock-top {
      background: #1a1028; color: #fff; flex-shrink: 0;
      padding: 0 14px 12px; position: relative;
    }
    #hostStockSheet .host-stock-name {
      font-size: 16px; font-weight: 700; color: #fff;
      padding: 2px 0 10px; line-height: 1.3;
    }
    #hostStockSheet .host-stock-top .goods-search {
      background: rgba(255,255,255,.12);
    }
    #hostStockSheet .host-stock-list {
      flex: 1 1 auto; min-height: 0;
      overflow-x: hidden; overflow-y: auto;
      background: #f5f5f7;
      padding: 12px;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      position: relative;
      box-sizing: border-box;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    #hostStockSheet .host-stock-list::-webkit-scrollbar { width: 0; height: 0; display: none; }
    #hostStockSheet .host-stock-list > .anno-drop {
      top: 10px; right: 10px; left: auto; z-index: 3;
    }
    /* 门店卡片：logo + 名称 + 库存状态 + 电话（勿用 .phone，会撞上机框样式） */
    #hostStockSheet .hs-card {
      display: flex; align-items: center; gap: 12px;
      background: #fff; border-radius: 12px;
      padding: 14px; margin-bottom: 10px;
      box-shadow: 0 1px 3px rgba(0,0,0,.06);
      box-sizing: border-box;
      width: 100%;
    }
    #hostStockSheet .hs-card:last-child { margin-bottom: 4px; }
    #hostStockSheet .hs-card .av {
      width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: 16px; font-weight: 700; color: #fff;
    }
    #hostStockSheet .hs-card .info { flex: 1; min-width: 0; }
    #hostStockSheet .hs-card .name-row {
      display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    }
    #hostStockSheet .hs-card .nm {
      font-size: 15px; font-weight: 600; color: #222; line-height: 1.3;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
    }
    #hostStockSheet .hs-card .st {
      flex-shrink: 0; font-size: 11px; font-weight: 600; line-height: 1;
      padding: 4px 8px; border-radius: 4px;
      background: #e8f5e9; color: #2e7d32;
    }
    #hostStockSheet .hs-card .st.out {
      background: #ffebee; color: #e53935;
    }
    #hostStockSheet .hs-card .hs-tel {
      margin-top: 8px; font-size: 12px; color: #999; line-height: 1.3;
    }
    #hostStockSheet .hs-empty {
      text-align: center; padding: 48px 16px; color: #999; font-size: 13px;
    }

    .hv-row {
      display: flex; align-items: center; gap: 10px; padding: 10px 0;
      border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .hv-row .av {
      width: 40px; height: 40px; border-radius: 50%; background: #5c6bc0;
      display: grid; place-items: center; font-weight: 700; flex-shrink: 0;
    }
    .hv-row .nm { flex: 1; font-size: 14px; font-weight: 600; }
    .hv-row .acts { display: flex; gap: 6px; }
    .hv-row .acts button {
      height: 28px; padding: 0 10px; border-radius: 14px; border: 0;
      background: linear-gradient(90deg,#9b5cff,#7b3fe4); color: #fff; font-size: 12px; font-weight: 600;
    }
    .hc-issue-btn {
      height: 32px; padding: 0 14px; border-radius: 16px; border: 0;
      background: linear-gradient(90deg,#9b5cff,#7b3fe4); color: #fff; font-size: 12px; font-weight: 700;
    }
    .hc-issue-btn:disabled { opacity: .45; }
    .hc-issue-btn.stop { background: linear-gradient(90deg,#ff8a3d,#f4632a); }

    .confirm-mask {
      display: none; position: absolute; inset: 0; z-index: 80;
      background: rgba(0,0,0,.55); align-items: center; justify-content: center; padding: 24px;
    }
    .confirm-mask.show { display: flex; }
    .confirm-box {
      width: 100%; max-width: 280px; background: #2a1840; border-radius: 14px;
      padding: 20px 16px 14px; color: #fff; text-align: center;
    }
    .confirm-box h3 { margin: 0 0 8px; font-size: 16px; }
    .confirm-box p { margin: 0 0 16px; font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.45; }
    /* 确认弹窗：可选信息图标（仅 withIcon 的确认显示） */
    .confirm-box .confirm-hd { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; }
    .confirm-box .confirm-hd h3 { margin: 0; }
    .confirm-box .confirm-ico {
      display: inline-flex; width: 22px; height: 22px; border-radius: 50%;
      background: #1976d2; color: #fff; font-size: 14px; font-weight: 700; font-style: normal;
      align-items: center; justify-content: center; flex-shrink: 0;
    }
    .confirm-box .confirm-ico[hidden] { display: none; }
    .confirm-box .acts { display: flex; gap: 10px; }
    .confirm-box .acts button {
      flex: 1; height: 40px; border: 0; border-radius: 20px; font-weight: 600;
    }
    .confirm-box .acts .ok { background: linear-gradient(90deg, #9b5cff, #7b3fe4); color: #fff; }
    .confirm-box .acts .cancel { background: rgba(255,255,255,.12); color: #fff; }
    #mineFuncCard .func-item.anchor-entry { position: relative; }
    #mineFuncCard .func-item.anchor-entry > .anno-drop {
      top: -2px; right: calc(50% - 28px); left: auto;
    }

    /* —— 预告 —— */
    .preview-page { background: #111; color: #fff; }
    .preview-cover {
      flex: 1; min-height: 0; background-size: cover; background-position: center;
      position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    }
    .preview-cover::after {
      content: ""; position: absolute; inset: 0;
      background: linear-gradient(transparent 40%, rgba(0,0,0,.75));
    }
    .preview-info { position: relative; z-index: 1; padding: 20px 16px 24px; }
    .preview-info .st { display: inline-block; background: #1976d2; padding: 2px 8px; border-radius: 4px; font-size: 11px; margin-bottom: 8px; }
    .preview-info h2 { margin: 0 0 8px; font-size: 20px; }
    .preview-info .row { font-size: 13px; opacity: .9; margin-bottom: 4px; }
    .preview-actions {
      display: flex; gap: 10px; padding: 12px 16px 20px; background: #111; flex-shrink: 0;
    }
    .preview-actions .btn {
      flex: 1; height: 44px; border-radius: 22px; border: 0; font-weight: 600;
    }
    .preview-actions .btn-share { background: #333; color: #fff; }

    /* —— 直播间（对齐参考截图） —— */
    .room-page { background: #1a1028; color: #fff; }
    .room-stage {
      flex: 1; min-height: 0; position: relative;
      background:
        radial-gradient(ellipse at 50% 35%, rgba(255,200,180,.18), transparent 55%),
        linear-gradient(180deg, #2a1a3a 0%, #1a1028 45%, #120c1c 100%);
      overflow: hidden;
    }
    .room-stage::before {
      content: "直播画面"; position: absolute; left: 50%; top: 38%;
      transform: translate(-50%, -50%); font-size: 13px; color: rgba(255,255,255,.28);
      letter-spacing: .2em; pointer-events: none; z-index: 1;
    }
    .room-stage.has-live-frame::before { content: none; }
    .room-stage.cam-off::before { content: "主播已关闭摄像头"; }
    .room-stage.wait-frame::before { content: "等待主播画面…"; }
    .room-live-frame {
      position: absolute; inset: 0; width: 100%; height: 100%;
      object-fit: cover; object-position: center; z-index: 0;
      display: none; background: #120c1c;
      pointer-events: none;
    }
    .room-stage.has-live-frame .room-live-frame { display: block; }
    .room-media {
      position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: row;
    }
    .room-pane { flex: 1; min-width: 0; position: relative; overflow: hidden; }
    .room-pane-host .room-live-frame {
      position: absolute; inset: 0; width: 100%; height: 100%;
      object-fit: cover; object-position: center; display: none;
      background: #120c1c; pointer-events: none;
    }
    .room-stage.has-live-frame .room-pane-host .room-live-frame { display: block; }
    .room-pane-guest {
      display: none; background: linear-gradient(180deg, #1b4332 0%, #081c15 100%);
      align-items: center; justify-content: center;
    }
    .room-stage.mic-split .room-pane-guest { display: flex; }
    .room-stage.mic-split .room-media { flex-direction: row; }
    .room-guest-voice { text-align: center; padding: 12px; z-index: 1; }
    .room-guest-voice .g-av {
      width: 56px; height: 56px; border-radius: 8px; margin: 0 auto;
      background: rgba(255,255,255,.15); display: grid; place-items: center;
      font-size: 22px; font-weight: 700; color: #fff;
    }
    .room-guest-voice .g-nm { font-size: 13px; margin-top: 8px; font-weight: 600; color: #fff; }
    .room-guest-video {
      position: absolute; inset: 0; width: 100%; height: 100%;
      object-fit: cover; display: none; background: #081c15;
    }
    .room-pane-guest.video-on .room-guest-video { display: block; }
    .room-pane-guest.video-on .room-guest-voice { display: none; }
    .room-mic-bar-mask {
      position: absolute; inset: 0; z-index: 45; display: none;
      align-items: flex-end; justify-content: center;
      background: rgba(0,0,0,.35); padding-bottom: 12px;
    }
    .room-mic-bar-mask.show { display: flex; }
    .room-mic-toolbar {
      display: flex; align-items: center; justify-content: center; gap: 14px;
      padding: 10px 16px; border-radius: 28px;
      background: rgba(40,40,48,.92); backdrop-filter: blur(8px);
    }
    .room-mic-toolbar .rmb-btn {
      width: 44px; height: 44px; border-radius: 50%; border: 0;
      background: rgba(255,255,255,.12); color: #fff; font-size: 18px;
      display: grid; place-items: center; cursor: pointer; flex-shrink: 0;
    }
    .room-mic-toolbar .rmb-btn.on { background: #fff; color: #222; }
    .room-mic-toolbar .rmb-btn.off { opacity: .55; }
    .room-mic-toolbar .rmb-btn.rmb-hang {
      background: #e53935; color: #fff; font-size: 16px;
    }
    .room-mic-toolbar .rmb-btn.rmb-collapse { font-size: 14px; opacity: .8; }
    .room-mic-end-sheet {
      background: #fff; color: #333; border-radius: 12px 12px 0 0;
      padding: 0; overflow: hidden;
    }
    .room-mic-end-sheet button {
      display: block; width: 100%; height: 52px; border: 0; background: #fff;
      font-size: 16px; cursor: pointer;
    }
    .room-mic-end-sheet .btn-end { color: #e53935; font-weight: 600; border-bottom: 1px solid #eee; }
    .room-mic-end-sheet .btn-cancel { color: #333; }
    .room-top {
      position: absolute; left: 0; right: 0; top: 0; z-index: 5;
      padding: 6px 10px 0; display: flex; align-items: center; gap: 6px;
    }
    .room-back {
      width: 28px; height: 28px; border: 0; background: transparent; color: #fff;
      font-size: 22px; line-height: 1; flex-shrink: 0; padding: 0;
    }
    .room-host {
      display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,.4);
      border-radius: 22px; padding: 3px 10px 3px 3px; min-width: 0; flex: 1; max-width: 52%;
    }
    .room-host .av {
      width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
      border: 1.5px solid rgba(255,255,255,.5); object-fit: cover; background: #fff;
    }
    .room-host .nm { font-size: 12px; font-weight: 600; white-space: nowrap; min-width: 0; }
    .room-top-right {
      margin-left: auto; display: flex; align-items: center; gap: 6px; flex-shrink: 0;
      border: 0; padding: 0; background: transparent; color: inherit; cursor: pointer;
      font: inherit;
    }
    .room-top-right:active { opacity: .85; }
    .viewer-avs { display: flex; align-items: center; }
    .viewer-avs span,
    .viewer-avs img {
      width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5);
      margin-left: -6px; font-size: 9px; display: grid; place-items: center; font-weight: 700;
      object-fit: cover; flex-shrink: 0;
    }
    .viewer-avs span:first-child,
    .viewer-avs img:first-child { margin-left: 0; }
    .viewer-avs span:nth-child(1) { background: #42a5f5; }
    .viewer-avs span:nth-child(2) { background: #ef5350; }
    .viewer-avs span:nth-child(3) { background: #7e57c2; }
    .viewer-count {
      background: rgba(80,80,90,.65); border-radius: 12px; padding: 3px 8px;
      font-size: 11px; font-weight: 600;
    }
    .coupon-icon {
      position: absolute; left: 10px; top: 52px; z-index: 5;
      width: 44px; height: 44px; border: 0; padding: 0;
      background: transparent; cursor: pointer;
      display: grid; place-items: center;
      filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
    }
    .coupon-icon-visual {
      position: relative; width: 40px; height: 40px;
      display: grid; place-items: center;
    }
    .coupon-icon-ticket {
      width: 34px; height: 28px;
      background: linear-gradient(180deg, #ff8a4c 0%, #ff5722 45%, #e53935 100%);
      border-radius: 5px;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,.35),
        0 2px 0 #c62828;
      display: grid; place-items: center;
      position: relative;
      clip-path: polygon(
        0 0, 100% 0, 100% 38%, 94% 42%, 94% 58%, 100% 62%,
        100% 100%, 0 100%, 0 62%, 6% 58%, 6% 42%, 0 38%
      );
    }
    .coupon-icon-ticket::before {
      content: "券"; color: #fff; font-size: 15px; font-weight: 800;
      line-height: 1; text-shadow: 0 0 6px rgba(255,255,255,.65), 0 1px 2px rgba(183,28,28,.45);
      letter-spacing: 0;
    }
    .coupon-icon-spark {
      position: absolute; color: #fff; font-size: 7px; line-height: 1;
      text-shadow: 0 0 4px rgba(255,255,255,.9); pointer-events: none;
      animation: couponSpark 1.6s ease-in-out infinite;
    }
    .coupon-icon-spark.s1 { left: 1px; top: 4px; animation-delay: 0s; }
    .coupon-icon-spark.s2 { right: 0; top: 10px; font-size: 5px; animation-delay: .4s; }
    .coupon-icon-spark.s3 { left: 3px; bottom: 5px; font-size: 6px; animation-delay: .8s; }
    @keyframes couponSpark {
      0%, 100% { opacity: .45; transform: scale(.85); }
      50% { opacity: 1; transform: scale(1.15); }
    }
    .room-chat {
      position: absolute; left: 10px; bottom: 8px; right: 10px;
      height: 42%; max-height: 42%;
      overflow-x: hidden; overflow-y: auto;
      z-index: 4;
      scrollbar-width: none; -ms-overflow-style: none;
      pointer-events: auto;
      touch-action: pan-y;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
      cursor: grab;
      user-select: none;
      -webkit-user-select: none;
    }
    .room-chat.is-dragging { cursor: grabbing; }
    .room-chat::-webkit-scrollbar { width: 0; height: 0; display: none; }
    .room-chat-list {
      display: flex; flex-direction: column; justify-content: flex-end;
      min-height: 100%; gap: 6px;
    }
    .room-chat .chat-line { align-self: flex-start; max-width: 100%; }
    .room-chat .chat-pill {
      display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px;
      background: rgba(0,0,0,.42); border-radius: 12px; padding: 5px 9px;
      font-size: 12px; line-height: 1.45; color: #fff;
    }
    .room-chat .chat-pill--block { flex-direction: column; align-items: flex-start; }
    .room-chat .chat-pill-head { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
    .room-chat .chat-av {
      width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
      display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff;
    }
    .room-chat .chat-tag {
      font-size: 10px; padding: 1px 6px; border-radius: 8px; flex-shrink: 0;
    }
    .room-chat .chat-tag.tag-host { background: rgba(239,154,154,.25); color: #ffab91; }
    .room-chat .chat-tag.tag-fan { background: rgba(255,255,255,.12); color: #ce93d8; }
    .room-chat .chat-user { font-weight: 600; color: #fff; }
    .room-chat .chat-text { color: rgba(255,255,255,.95); word-break: break-word; }
    .room-chat .prod-share {
      display: flex; align-items: center; gap: 6px; width: 100%; margin-top: 4px;
      padding: 6px 8px; background: rgba(255,255,255,.12); border-radius: 8px; font-size: 11px;
    }
    .room-chat .prod-share .thumb {
      width: 36px; height: 36px; border-radius: 6px; flex-shrink: 0;
      display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #7c4dff; background: #fff;
    }
    .room-dock {
      flex: 0 0 58px; background: transparent; display: flex; align-items: center;
      gap: 8px; padding: 6px 10px 12px; z-index: 6; position: relative;
    }
    .dock-emoji-wrap { position: relative; flex-shrink: 0; }
    .room-emoji-panel {
      position: absolute; bottom: calc(100% + 8px); right: -8px;
      width: 260px; background: rgba(32, 28, 40, .96); border: 1px solid rgba(255,255,255,.12);
      border-radius: 12px; padding: 10px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px;
      max-height: 160px; overflow-x: hidden; overflow-y: auto;
      box-shadow: 0 8px 24px rgba(0,0,0,.45); z-index: 20;
      scrollbar-width: none; -ms-overflow-style: none;
    }
    .room-emoji-panel::-webkit-scrollbar { display: none; }
    .room-emoji-panel[hidden] { display: none; }
    .room-emoji-panel button {
      border: 0; background: transparent; font-size: 20px; line-height: 1;
      padding: 6px; border-radius: 6px; cursor: pointer;
    }
    .room-emoji-panel button:hover { background: rgba(255,255,255,.1); }
    .room-dock .input-pill {
      flex: 1; height: 36px; border-radius: 18px; border: 0; background: rgba(0,0,0,.4);
      color: #fff; padding: 0 14px; outline: none; font-size: 13px;
    }
    .room-dock .input-pill::placeholder { color: rgba(255,255,255,.45); }
    .dock-ico {
      width: 34px; height: 34px; border: 0; background: transparent; color: #fff;
      font-size: 18px; flex-shrink: 0; padding: 0; line-height: 1;
    }
    .dock-cart {
      width: 40px; height: 40px; border-radius: 50%; border: 0;
      background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff;
      font-size: 18px; flex-shrink: 0; box-shadow: 0 4px 12px rgba(109,40,217,.45);
      position: relative;
    }
    .dock-cart .dot {
      position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px;
      background: #e53935; border-radius: 8px; font-size: 10px; line-height: 16px;
      padding: 0 4px; font-weight: 700;
    }
    .dock-mic {
      min-width: 40px; height: 34px; border: 0; background: transparent; color: #fff;
      font-size: 11px; font-weight: 600; flex-shrink: 0; padding: 0 4px; line-height: 1.1;
      display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
      position: relative;
    }
    .dock-mic .mic-ico { font-size: 16px; line-height: 1; }
    .dock-mic.on { color: #81c784; }
    .dock-mic.pending { color: #ffb74d; }
    .dock-mic .mic-badge {
      position: absolute; top: -4px; right: -2px; min-width: 16px; height: 16px;
      background: #e53935; border-radius: 8px; font-size: 10px; line-height: 16px;
      padding: 0 4px; font-weight: 700; color: #fff; display: none;
    }
    .dock-mic .mic-badge.show { display: block; }
    .mic-switch-row {
      display: flex; align-items: center; justify-content: space-between;
      padding: 10px 0 14px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 12px;
    }
    .mic-switch-row .lab { font-size: 14px; font-weight: 600; }
    .mic-switch {
      position: relative; width: 44px; height: 24px; border-radius: 12px; border: 0;
      background: #555; cursor: pointer; padding: 0; flex-shrink: 0;
    }
    .mic-switch.on { background: #4caf50; }
    .mic-switch::after {
      content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px;
      border-radius: 50%; background: #fff; transition: left .15s;
    }
    .mic-switch.on::after { left: 22px; }
    .room-mic-actions { display: flex; flex-direction: column; gap: 10px; padding: 8px 0 4px; }
    .room-mic-actions .btn-act {
      height: 44px; border: 0; border-radius: 22px; font-weight: 600; font-size: 15px; cursor: pointer;
    }
    .room-mic-actions .btn-danger { background: #e53935; color: #fff; }
    .room-mic-actions .btn-cancel { background: rgba(255,255,255,.12); color: #fff; }
    .voice-mic-badge {
      position: absolute; right: 10px; bottom: 72px; z-index: 8;
      max-width: 140px; padding: 8px 10px; border-radius: 8px;
      background: rgba(0,0,0,.65); color: #fff; font-size: 12px; line-height: 1.35;
      display: none;
    }
    .voice-mic-badge.show { display: block; }
    .voice-mic-badge .tit { font-size: 10px; opacity: .75; margin-bottom: 2px; }
    .voice-mic-badge .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    /* Sheets */
    .sheet-mask {
      position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: 40;
      display: none; align-items: flex-end;
    }
    .sheet-mask.show { display: flex; }
    .sheet {
      width: 100%; max-height: 75%; background: #fff; border-radius: 16px 16px 0 0;
      color: var(--text); display: flex; flex-direction: column; overflow: hidden;
      animation: sheetUp .2s ease;
    }
    /* 商品列表 / 优惠券：固定占可视区 75%（不用仅 max-height，避免内容少时高度缩回去） */
    #goodsSheet .sheet,
    #couponSheet .sheet {
      height: 75%;
      max-height: 75%;
      min-height: 75%;
      width: 100%;
      box-sizing: border-box;
      align-self: flex-end;
    }
    @keyframes sheetUp { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
    .sheet-hd {
      display: flex; align-items: center; justify-content: space-between;
      padding: 14px 16px; border-bottom: 1px solid #f0f0f0; font-weight: 700; font-size: 15px;
      flex-shrink: 0;
    }
    .sheet-hd .x { border: 0; background: transparent; font-size: 20px; color: #999; width: 32px; }
    .sheet-bd {
      flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto;
      padding: 12px 16px 20px;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none; -ms-overflow-style: none;
      overscroll-behavior: contain;
    }
    .sheet-bd::-webkit-scrollbar { width: 0; height: 0; display: none; }

    /* 商品面板 · 深色对齐截图 */
    .goods-sheet-dark {
      background: linear-gradient(180deg, #3d2a6b 0%, #2a1a4a 40%, #1e1238 100%);
      color: #fff; border-radius: 18px 18px 0 0;
    }
    .goods-sheet-dark .sheet-handle {
      width: 36px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.28);
      margin: 10px auto 8px; flex-shrink: 0;
    }
    .goods-toolbar {
      display: flex; align-items: center; gap: 8px; padding: 0 14px 10px; flex-shrink: 0;
    }
    .goods-search {
      flex: 1; height: 34px; border-radius: 17px; background: rgba(255,255,255,.12);
      display: flex; align-items: center; padding: 0 4px 0 12px; gap: 6px;
    }
    .goods-search input {
      flex: 1; border: 0; background: transparent; color: #fff; outline: none; font-size: 12px; min-width: 0;
    }
    .goods-search input::placeholder { color: rgba(255,255,255,.4); }
    .goods-search .sbtn {
      height: 26px; padding: 0 12px; border: 0; border-radius: 13px;
      background: transparent; color: #ce93d8; font-size: 12px; font-weight: 600;
    }
    .goods-order-btn {
      border: 0; background: transparent; color: #fff; font-size: 11px;
      display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 2px;
    }
    .goods-order-btn .oi { font-size: 18px; line-height: 1; }
    .goods-sheet-dark .sheet-bd { padding: 0 14px 16px; }
    .goods-row {
      display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08);
      align-items: center; cursor: pointer;
    }
    .goods-row.soldout { opacity: .45; filter: grayscale(.55); }
    .goods-row .gimg {
      width: 72px; height: 72px; border-radius: 8px; background: #fff;
      display: grid; place-items: center; font-weight: 700; color: #7c4dff; flex-shrink: 0;
      position: relative; font-size: 16px;
    }
    .goods-row .gimg .badges {
      position: absolute; left: 0; top: 0; z-index: 1;
      display: flex; align-items: stretch; max-width: 100%;
    }
    .goods-row .gimg .idx {
      background: #ff7043; color: #fff;
      font-size: 11px; font-weight: 700; min-width: 18px; text-align: center;
      padding: 1px 5px; border-radius: 8px 0 6px 0; line-height: 16px;
    }
    .goods-row .ginfo { flex: 1; min-width: 0; }
    .goods-row .gn {
      font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #fff;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .goods-row .gsales { font-size: 11px; color: rgba(255,255,255,.55); margin-bottom: 4px; }
    .goods-row .gp { color: #fff; font-weight: 800; font-size: 15px; }
    .goods-row .go { color: rgba(255,255,255,.35); text-decoration: line-through; font-size: 11px; margin-left: 6px; }
    .goods-row .gb {
      height: 32px; padding: 0 14px; border-radius: 16px; border: 0;
      background: linear-gradient(90deg, #a78bfa, #7c4dff); color: #fff;
      font-size: 13px; font-weight: 700; flex-shrink: 0;
    }
    .goods-row .gb:disabled { background: #555; color: #aaa; }

    /* 直播商品详情（沿用商城结构） */
    .gd-page { background: #f5f5f5; position: relative; min-height: 0; }
    .gd-scroll { flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; padding-bottom: 8px; }
    .gd-scroll.anno-anchor { overflow-x: hidden; overflow-y: auto; }
    .gd-hero {
      position: relative; height: 280px; background: #eceff1;
      display: grid; place-items: center;
      font-size: 64px; font-weight: 800; color: #90a4ae;
    }
    .gd-hero.soldout { filter: grayscale(.55); opacity: .7; }
    /* 返回 / 分享：相对详情页固定，不随内容滚动 */
    .gd-fixed-nav {
      position: absolute; top: 10px; left: 12px; right: 12px;
      display: flex; justify-content: space-between; align-items: center;
      z-index: 12; pointer-events: none;
    }
    .gd-fixed-nav button {
      pointer-events: auto;
      height: 32px; min-width: 32px; padding: 0 10px; border-radius: 16px; border: 0;
      background: rgba(255,255,255,.92); font-size: 14px; color: #333;
      box-shadow: 0 1px 4px rgba(0,0,0,.12);
    }
    .gd-fixed-nav button.back { width: 32px; padding: 0; font-size: 20px; line-height: 32px; }
    .gd-live-card {
      display: none; /* V1.02：去掉直播活动卡片 */
    }
    .gd-body { background: #fff; padding: 14px 16px 12px; margin-bottom: 8px; }
    .gd-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
    .gd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
    .gd-price .live-tag, .spec-sheet .live-tag {
      display: inline-block; font-size: 11px; font-weight: 700; color: #fff;
      background: var(--brand); border-radius: 3px; padding: 1px 5px; line-height: 1.4;
      vertical-align: middle; position: relative; top: -2px;
    }
    .gd-price .now { color: var(--brand); font-size: 24px; font-weight: 800; }
    .gd-price .old { color: #bbb; text-decoration: line-through; font-size: 13px; }
    .gd-meta { font-size: 12px; color: #999; white-space: nowrap; }
    .gd-name { font-size: 16px; font-weight: 700; line-height: 1.4; margin-top: 8px; }
    .gd-row {
      background: #fff; padding: 12px 16px; display: flex; align-items: center; gap: 10px;
      border-bottom: 1px solid #f5f5f5; font-size: 13px;
    }
    .gd-row .lab { color: #999; width: 36px; flex-shrink: 0; }
    .gd-row .val { flex: 1; min-width: 0; color: #333; }
    .gd-coupon-tags { display: flex; flex-wrap: wrap; gap: 6px; }
    .gd-coupon-tags span {
      border: 1px solid #e53935; color: #e53935; font-size: 11px;
      padding: 1px 6px; border-radius: 2px;
    }
    .gd-row .arrow { color: #ccc; }
    .gd-store {
      background: #fff; margin: 8px 0; padding: 12px 16px;
      display: flex; align-items: center; gap: 10px;
    }
    .gd-store .av {
      width: 40px; height: 40px; border-radius: 6px; background: #eee;
      display: grid; place-items: center; font-size: 18px;
    }
    .gd-store .nm { font-size: 14px; font-weight: 600; }
    .gd-store .sc { font-size: 12px; color: #ff8f00; }
    .gd-store .in {
      margin-left: auto; height: 28px; padding: 0 12px; border-radius: 14px;
      border: 0; background: var(--brand); color: #fff; font-size: 12px;
    }
    .gd-desc { background: #fff; padding: 14px 16px; font-size: 13px; color: #555; line-height: 1.7; }
    .gd-desc h4 { margin: 0 0 8px; font-size: 14px; color: #333; }
    .gd-soldout-bar {
      display: none; flex-shrink: 0; background: #616161; color: #fff;
      text-align: center; padding: 8px; font-size: 13px;
    }
    .gd-soldout-bar.show { display: block; }
    .gd-dock {
      flex-shrink: 0; display: flex; align-items: stretch; gap: 0;
      background: #fff; border-top: 1px solid #eee; height: 52px;
      position: relative; z-index: 8;
    }
    .gd-dock .home {
      width: 64px; border: 0; background: #fff; font-size: 11px; color: #666;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
    }
    .gd-dock .home .ico { font-size: 18px; line-height: 1; }
    .gd-dock .buy {
      flex: 1; border: 0; background: #e53935; color: #fff; font-size: 15px; font-weight: 700;
    }
    .gd-dock .buy:disabled { background: #9e9e9e; }
    /* 直播未开始 / 已结束：按钮置灰但仍可点（点击 Toast 提示原因） */
    .gd-dock .buy.blocked { background: #9e9e9e; }

    .mall-home-ph {
      flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
      padding: 32px; text-align: center; background: #fff;
    }
    .mall-home-ph h3 { margin: 0 0 8px; font-size: 16px; }
    .mall-home-ph p { margin: 0; color: #999; font-size: 13px; line-height: 1.5; }

    /* 规格选择弹窗固定占可视区 60% */
    #specSheet .sheet.spec-sheet {
      height: 60%;
      max-height: 60%;
    }
    #specSheet .sheet-bd { flex: 1; min-height: 0; overflow-y: auto; }
    .spec-sheet .spec-top { display: flex; gap: 12px; margin-bottom: 14px; }
    .spec-sheet .spec-img {
      width: 88px; height: 88px; border-radius: 8px; background: #f5f5f5;
      display: grid; place-items: center; font-size: 28px; font-weight: 800; color: #90a4ae; flex-shrink: 0;
    }
    .spec-sheet .spec-price { color: var(--brand); font-size: 20px; font-weight: 800; }
    .spec-sheet .spec-old { color: #bbb; text-decoration: line-through; font-size: 13px; margin-left: 4px; }
    .spec-sheet .spec-old { color: #bbb; text-decoration: line-through; font-size: 12px; margin-left: 6px; }
    .spec-qty { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 13px; color: #666; }
    .spec-qty .stepper { display: flex; align-items: center; border: 1px solid #eee; border-radius: 4px; }
    .spec-qty .stepper button {
      width: 28px; height: 28px; border: 0; background: #fafafa; font-size: 16px;
    }
    .spec-qty .stepper span { min-width: 28px; text-align: center; }
    .spec-lab { font-weight: 700; margin: 8px 0; }
    .spec-opts { display: flex; flex-wrap: wrap; gap: 8px; }
    .spec-opts button {
      padding: 6px 14px; border-radius: 16px; border: 1px solid #eee; background: #f5f5f5; font-size: 13px;
    }
    .spec-opts button.on { background: #fff; border-color: #e53935; color: #e53935; }
    .spec-opts button:disabled { opacity: .45; }
    .spec-buy {
      width: 100%; height: 44px; margin-top: 16px; border: 0; border-radius: 22px;
      background: #e53935; color: #fff; font-size: 15px; font-weight: 700;
    }
    .spec-buy:disabled { background: #9e9e9e; }

    /* 我的订单 · 对齐原商城 + 直播标 */
    .mo-page { background: #f5f5f5; }
    .mo-search {
      display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff;
      flex-shrink: 0;
    }
    .mo-search .box {
      flex: 1; display: flex; align-items: center; gap: 6px; height: 34px;
      background: #f5f5f5; border-radius: 17px; padding: 0 12px;
    }
    .mo-search .box .ico { color: #bbb; font-size: 13px; }
    .mo-search input {
      flex: 1; border: 0; outline: none; background: transparent; font-size: 13px; color: #333;
    }
    .mo-search input::placeholder { color: #bbb; }
    .mo-search .go {
      flex-shrink: 0; height: 34px; padding: 0 14px; border: 0; border-radius: 17px;
      background: var(--brand); color: #fff; font-size: 13px; font-weight: 600;
    }
    .mo-tabs {
      display: flex; background: #fff; border-bottom: 1px solid #f0f0f0; flex-shrink: 0;
    }
    .mo-tabs button {
      flex: 1; height: 42px; border: 0; background: transparent; font-size: 13px; color: #666;
      position: relative; padding: 0;
    }
    .mo-tabs button.on { color: var(--brand); font-weight: 600; }
    .mo-tabs button.on::after {
      content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
      width: 28px; height: 2px; background: var(--brand); border-radius: 1px;
    }
    .mo-list { flex: 1; overflow-y: auto; padding: 10px 0 16px; background: #f5f5f5; }
    .mo-list.anno-anchor { position: relative; }
    .mo-empty {
      text-align: center; color: #999; font-size: 13px; padding: 48px 16px;
    }
    .mo-card {
      background: #fff; margin: 0 0 10px; padding: 12px 14px 10px; cursor: pointer;
    }
    .mo-card .shop-hd {
      display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
    }
    .mo-card .shop-av {
      width: 22px; height: 22px; border-radius: 50%; background: #eceff1;
      display: grid; place-items: center; font-size: 11px; color: #789; flex-shrink: 0;
      overflow: hidden;
    }
    .mo-card .shop-name {
      flex: 1; min-width: 0; font-size: 13px; font-weight: 600;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      display: flex; align-items: center; gap: 6px;
    }
    .mo-live-tag {
      display: inline-block; flex-shrink: 0;
      background: #ffebee; color: var(--brand);
      font-size: 10px; padding: 1px 5px; border-radius: 3px; font-weight: 600; line-height: 1.4;
    }
    .mo-card .st {
      flex-shrink: 0; font-size: 13px; color: var(--brand); font-weight: 600;
    }
    .mo-goods {
      display: flex; gap: 10px; align-items: flex-start;
    }
    .mo-goods .thumb {
      width: 72px; height: 72px; border-radius: 6px; background: #f5f5f5; flex-shrink: 0;
      display: grid; place-items: center; font-weight: 700; color: #e53935; font-size: 20px;
    }
    .mo-goods .meta { flex: 1; min-width: 0; }
    .mo-goods .nm {
      font-size: 14px; font-weight: 600; line-height: 1.35;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .mo-goods .sp { font-size: 12px; color: #999; margin-top: 4px; }
    .mo-goods .right {
      flex-shrink: 0; text-align: right; font-size: 13px; color: #333; line-height: 1.4;
    }
    .mo-goods .right .qty { color: #999; font-size: 12px; margin-top: 2px; }
    .mo-sum {
      display: flex; align-items: center; justify-content: space-between;
      margin-top: 12px; font-size: 12px; color: #999;
    }
    .mo-sum .total { color: #333; }
    .mo-sum .total b { font-size: 14px; font-weight: 700; }
    .mo-actions {
      display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px;
      margin-top: 12px; padding-top: 4px;
    }
    .mo-actions button {
      height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid #ddd;
      background: #fff; font-size: 12px; color: #333;
    }
    .mo-actions button.primary {
      border-color: var(--brand); color: var(--brand); font-weight: 600;
    }

    /* 订单详情 · 对齐原商城 + 直播字段 */
    .od-page { background: #f5f5f5; }
    #orderDetailRoot {
      flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative;
    }
    .od-hero {
      background: linear-gradient(180deg, #e53935 0%, #ef5350 100%);
      color: #fff; padding: 8px 16px 20px; flex-shrink: 0; position: relative;
    }
    .od-hero .nav {
      display: flex; align-items: center; height: 40px; position: relative;
    }
    .od-hero .back {
      width: 36px; height: 36px; border: 0; background: transparent; color: #fff;
      font-size: 28px; line-height: 1; padding: 0; position: absolute; left: 0;
    }
    .od-hero .title {
      flex: 1; text-align: center; font-size: 16px; font-weight: 600;
    }
    .od-hero .st-main { font-size: 22px; font-weight: 700; margin-top: 8px; }
    .od-hero .st-sub { font-size: 12px; opacity: .88; margin-top: 6px; }
    .od-scroll { flex: 1; overflow-y: auto; padding: 10px 12px 80px; margin-top: -6px; }
    .od-card {
      background: #fff; border-radius: 10px; padding: 14px; margin-bottom: 10px;
    }
    .od-addr { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
    .od-addr .pin { font-size: 18px; color: #999; flex-shrink: 0; margin-top: 2px; }
    .od-addr .txt { flex: 1; min-width: 0; }
    .od-addr .line1 { font-size: 14px; font-weight: 700; line-height: 1.4; }
    .od-addr .line2 { font-size: 12px; color: #888; margin-top: 6px; }
    .od-addr .arr { color: #ccc; font-size: 16px; align-self: center; }
    .od-shop {
      display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; font-weight: 600;
    }
    .od-shop .av {
      width: 22px; height: 22px; border-radius: 50%; background: #eceff1;
      display: grid; place-items: center; font-size: 11px; color: #789;
    }
    .od-shop .nm { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
    .od-shop .st { color: var(--brand); font-weight: 600; font-size: 13px; }
    .od-goods { display: flex; gap: 10px; }
    .od-goods .img {
      width: 72px; height: 72px; border-radius: 6px; background: #f5f5f5; flex-shrink: 0;
      display: grid; place-items: center; font-weight: 700; color: #e53935; font-size: 18px;
    }
    .od-goods .meta { flex: 1; min-width: 0; }
    .od-goods .gn { font-size: 14px; font-weight: 600; }
    .od-goods .sp { font-size: 12px; color: #999; margin: 4px 0 8px; }
    .od-goods .pr { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
    .od-goods .qty { margin-left: auto; color: #999; font-size: 12px; font-weight: 400; }
    .od-btns {
      display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 14px;
    }
    .od-btns button {
      height: 30px; padding: 0 12px; border-radius: 4px; border: 1px solid #ddd;
      background: #fff; font-size: 12px; color: #333;
    }
    .od-bill .row, .od-meta .row {
      display: flex; justify-content: space-between; align-items: flex-start;
      padding: 8px 0; font-size: 13px; color: #333; gap: 12px;
    }
    .od-bill .row .lab, .od-meta .row .lab { color: #666; flex-shrink: 0; }
    .od-bill .row .val, .od-meta .row .val {
      text-align: right; word-break: break-all;
    }
    .od-bill .row .neg { color: var(--brand); }
    .od-bill .row .paid { font-weight: 700; font-size: 15px; }
    .od-meta .copy {
      display: inline-block; margin-left: 6px; padding: 0 6px; height: 20px; line-height: 20px;
      border: 1px solid #ddd; border-radius: 3px; font-size: 11px; color: #888; background: #fff;
      vertical-align: middle; cursor: pointer;
    }
    .od-dock {
      position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
      display: flex; justify-content: flex-end; gap: 8px;
      padding: 10px 14px 14px; background: #fff; border-top: 1px solid #f0f0f0;
    }
    .od-dock button {
      height: 36px; padding: 0 18px; border-radius: 18px; border: 1px solid #ddd;
      background: #fff; font-size: 13px; color: #333;
    }
    .od-dock button.primary {
      border: 0; background: var(--brand); color: #fff; font-weight: 600;
    }
    .od-hero.theme-blue {
      background: linear-gradient(180deg, #4a90e2 0%, #5ba3f5 100%);
    }

    /* 订单支付 · 对齐原商城 */
    .pay-page { background: #f5f5f5; }
    .pay-scroll { flex: 1; overflow-y: auto; padding: 12px; }
    .pay-card {
      background: #fff; border-radius: 12px; padding: 20px 16px; margin-bottom: 12px;
    }
    .pay-timer {
      text-align: center; font-size: 13px; color: #666; margin-bottom: 16px;
    }
    .pay-timer .sec { color: #ff6a3c; font-weight: 700; margin-left: 2px; }
    .pay-amount {
      text-align: center; color: #222; font-weight: 700; line-height: 1;
    }
    .pay-amount .sym { font-size: 22px; margin-right: 2px; vertical-align: 6px; }
    .pay-amount .int { font-size: 40px; letter-spacing: -1px; }
    .pay-amount .dec { font-size: 22px; }
    .pay-method {
      display: flex; align-items: center; gap: 10px; padding: 4px 0;
    }
    .pay-method .ico {
      width: 36px; height: 36px; border-radius: 8px; background: #fff3e0;
      display: grid; place-items: center; font-size: 18px; flex-shrink: 0;
    }
    .pay-method .txt { flex: 1; min-width: 0; font-size: 14px; color: #333; font-weight: 600; }
    .pay-method .check {
      width: 22px; height: 22px; border-radius: 50%; background: #1989fa;
      color: #fff; font-size: 13px; display: grid; place-items: center; flex-shrink: 0;
    }
    .pay-dock {
      flex-shrink: 0; padding: 12px 16px 20px; background: transparent;
    }
    .pay-dock .confirm {
      width: 100%; height: 48px; border: 0; border-radius: 24px;
      background: #1989fa; color: #fff; font-size: 16px; font-weight: 700;
    }
    .pay-live-hint {
      margin-top: 10px; font-size: 11px; color: #999; text-align: center; line-height: 1.4;
    }

    /* 支付成功 · 对齐原商城 */
    .ps-page { background: #fff; }
    #paySuccessRoot {
      flex: 1; min-height: 0; display: flex; flex-direction: column;
    }
    .ps-hero {
      background: #4a90e2; color: #fff; padding: 28px 20px 32px;
      border-radius: 0 0 20px 20px; text-align: center; flex-shrink: 0;
      position: relative;
    }
    .ps-hero .ok {
      width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff;
      display: inline-grid; place-items: center; font-size: 18px; margin-bottom: 10px;
    }
    .ps-hero .ttl { font-size: 20px; font-weight: 700; }
    .ps-hero .acts {
      display: flex; gap: 12px; justify-content: center; margin-top: 20px;
    }
    .ps-hero .acts button {
      min-width: 110px; height: 36px; padding: 0 18px; border-radius: 18px;
      border: 1px solid rgba(255,255,255,.85); background: transparent;
      color: #fff; font-size: 14px;
    }
    .ps-body {
      flex: 1; display: flex; flex-direction: column; align-items: center;
      padding: 36px 24px 24px; text-align: center;
    }
    .ps-illus {
      width: 160px; height: 120px; border-radius: 12px; background: #f0f4f8;
      display: grid; place-items: center; color: #b0bec5; font-size: 48px; margin-bottom: 16px;
    }
    .ps-tip { font-size: 13px; color: #bbb; margin-bottom: 20px; }
    .ps-browse {
      height: 36px; padding: 0 28px; border-radius: 18px; border: 1px solid #4a90e2;
      background: #fff; color: #4a90e2; font-size: 14px;
    }

    /* 优惠券卡片 · 对齐直播间展开截图：左面值 | 虚线撕口 | 右信息+按钮 */
    .coupon-card {
      position: relative; border-radius: 10px; margin-bottom: 12px;
      background: #fff5f2; color: var(--text); overflow: visible;
    }
    .coupon-card.expired { filter: grayscale(1); opacity: .72; }
    .coupon-card.used { filter: grayscale(.35); opacity: .88; }
    .coupon-card .coupon-exp-badge {
      position: absolute; left: 0; top: 0; z-index: 2;
      background: #bdbdbd; color: #fff; font-size: 10px; padding: 2px 8px;
      border-radius: 10px 0 8px 0;
    }
    .coupon-card .coupon-used-badge {
      position: absolute; left: 0; top: 0; z-index: 2;
      background: #9e9e9e; color: #fff; font-size: 10px; padding: 2px 8px;
      border-radius: 10px 0 8px 0;
    }
    .coupon-card-inner {
      display: flex; align-items: stretch; min-height: 88px;
    }
    .coupon-card-face {
      width: 92px; flex-shrink: 0;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      padding: 12px 6px;
    }
    .coupon-card-val {
      color: #ff5a37; font-size: 26px; font-weight: 800; line-height: 1.1;
      letter-spacing: -0.5px;
    }
    .coupon-card-val small { font-size: 13px; font-weight: 700; margin-right: 1px; }
    .coupon-card-threshold {
      font-size: 12px; color: #ff5a37; margin-top: 6px; text-align: center; font-weight: 500;
    }
    .coupon-card-divider {
      position: relative; width: 0; flex-shrink: 0; margin: 10px 0;
      border-left: 1px dashed #ffcbb8;
    }
    .coupon-card-divider::before,
    .coupon-card-divider::after {
      content: ""; position: absolute; left: -6px; width: 12px; height: 12px;
      border-radius: 50%; background: #fff;
    }
    .coupon-card-divider::before { top: -16px; }
    .coupon-card-divider::after { bottom: -16px; }
    .coupon-card-body {
      flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px;
      padding: 12px 10px 12px 12px;
    }
    .coupon-card-meta { flex: 1; min-width: 0; }
    .coupon-card-name {
      font-size: 14px; font-weight: 700; color: #333; line-height: 1.35;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .coupon-card-valid {
      font-size: 11px; color: #888; margin-top: 10px; line-height: 1.35;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .coupon-card-btn {
      flex-shrink: 0; height: 28px; padding: 0 12px; border-radius: 14px;
      border: 0; font-size: 12px; font-weight: 600; white-space: nowrap;
    }
    .coupon-card-btn.claim {
      background: #ff5a37; color: #fff;
    }
    .coupon-card-btn.use {
      background: #fff; color: #ff5a37; border: 1px solid #ff5a37;
    }
    .coupon-card-btn.expired {
      background: #e0e0e0; color: #999; pointer-events: none;
    }
    .coupon-card-btn.used {
      background: #e0e0e0; color: #999; pointer-events: none;
    }
    .coupon-sheet .sheet-bd { background: #f7f7f7; }
    .coupon-sheet .sheet-handle {
      width: 36px; height: 4px; background: #e0e0e0; border-radius: 2px;
      margin: 8px auto 0; flex-shrink: 0;
    }

    /* 发券推送 / 领券成功弹窗 */
    .coupon-modal-mask {
      position: absolute; inset: 0; z-index: 55;
      background: rgba(0,0,0,.55);
      display: none; align-items: center; justify-content: center;
      padding: 24px 16px 40px;
    }
    .coupon-modal-mask.show { display: flex; }
    .coupon-modal-wrap { width: 100%; max-width: 300px; position: relative; }
    .coupon-modal-panel {
      background: linear-gradient(180deg, #ede7f6 0%, #fff 55%);
      border-radius: 16px; padding: 16px 16px 18px; text-align: center;
      animation: couponModalIn .22s ease;
    }
    @keyframes couponModalIn {
      from { transform: scale(.9); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }
    .coupon-modal-panel .cm-close-top {
      position: absolute; right: 10px; top: 10px; width: 28px; height: 28px;
      border: 0; background: transparent; color: #999; font-size: 20px; line-height: 1;
    }
    .coupon-modal-panel .cm-title {
      font-size: 17px; font-weight: 800; color: #4a148c; margin: 10px 0 14px;
    }
    .coupon-modal-panel.cm-issue,
    .coupon-modal-panel.cm-success { padding-top: 20px; }
    .coupon-modal-panel.cm-issue .cm-title,
    .coupon-modal-panel.cm-success .cm-title { margin: 4px 0 14px; }
    .coupon-modal-card {
      display: flex; border-radius: 10px; overflow: hidden; min-height: 68px;
      border: 2px solid #ce93d8; text-align: left; background: #fff;
    }
    .coupon-modal-card .cm-left {
      width: 84px; flex-shrink: 0; display: flex; flex-direction: column;
      align-items: center; justify-content: center; padding: 8px 4px;
    }
    .coupon-modal-card .cm-amt {
      color: #e53935; font-size: 22px; font-weight: 800; line-height: 1.1;
    }
    .coupon-modal-card .cm-amt small { font-size: 12px; font-weight: 700; }
    .coupon-modal-card .cm-th { font-size: 11px; color: #e53935; margin-top: 4px; }
    .coupon-modal-card .cm-right {
      flex: 1; min-width: 0; background: linear-gradient(135deg, #7e57c2, #ec407a);
      padding: 10px 12px; color: #fff; display: flex; flex-direction: column; justify-content: center;
    }
    .coupon-modal-card .cm-name {
      font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .coupon-modal-card .cm-valid { font-size: 10px; opacity: .88; margin-top: 6px; line-height: 1.35; }
    .coupon-modal-panel .cm-primary {
      width: 100%; height: 42px; border: 0; border-radius: 21px; margin-top: 16px;
      background: linear-gradient(90deg, #7c4dff, #448aff); color: #fff;
      font-size: 15px; font-weight: 700;
    }
    .coupon-modal-close-out {
      display: block; margin: 14px auto 0; width: 36px; height: 36px;
      border-radius: 50%; border: 2px solid rgba(255,255,255,.85);
      background: rgba(0,0,0,.28); color: #fff; font-size: 18px; line-height: 1; padding: 0;
    }

    /* 直播商品详情分享 · 仅复制链接（对齐截图） */
    .goods-share-sheet {
      background: #fff; color: #222; max-height: none; border-radius: 16px 16px 0 0;
      padding: 28px 16px 36px; position: relative;
    }
    .goods-share-sheet .gs-close {
      position: absolute; top: 12px; right: 14px; width: 28px; height: 28px;
      border: 0; background: transparent; color: #999; font-size: 22px; line-height: 1;
      cursor: pointer; padding: 0;
    }
    .goods-share-sheet .gs-channels {
      display: flex; justify-content: center; align-items: flex-start; padding-top: 8px;
    }
    .goods-share-sheet .gs-ch {
      border: 0; background: transparent; padding: 0;
      display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer;
    }
    .goods-share-sheet .gs-ch .ico {
      width: 56px; height: 56px; border-radius: 50%;
      background: #ff6a00; color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: 22px; box-shadow: 0 2px 8px rgba(255,106,0,.28);
    }
    .goods-share-sheet .gs-ch .lab {
      font-size: 13px; color: #333; line-height: 1.3; text-align: center;
    }
    #goodsShareLinkText { display: none; }

    /* 分享面板 · 对齐截图：微信好友 / 生成海报 / 复制链接（不含朋友圈） */
    .share-sheet-light {
      background: #fff; color: #222; max-height: none; border-radius: 16px 16px 0 0;
      padding: 18px 16px 12px;
    }
    .share-sheet-light .share-title {
      text-align: center; font-size: 16px; font-weight: 700; margin: 0 0 18px; color: #111;
    }
    .share-sheet-light .share-channels {
      display: flex; justify-content: space-around; align-items: flex-start; gap: 8px;
      padding: 0 4px 8px;
    }
    .share-sheet-light .share-ch {
      flex: 1; max-width: 88px; border: 0; background: transparent; padding: 0;
      display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer;
    }
    .share-sheet-light .share-ch .ico {
      width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center;
      justify-content: center; font-size: 22px; color: #fff;
    }
    .share-sheet-light .share-ch .ico.wx { background: #07c160; }
    .share-sheet-light .share-ch .ico.poster { background: #3b82f6; }
    .share-sheet-light .share-ch .ico.link { background: #e8f0fe; color: #2563eb; border: 1px solid #c7d7fe; }
    .share-sheet-light .share-ch .lab {
      font-size: 12px; color: #333; line-height: 1.3; text-align: center;
    }
    .share-sheet-light .share-cancel {
      width: 100%; height: 48px; border: 0; background: transparent; color: #333;
      font-size: 16px; margin-top: 10px; border-top: 1px solid #f0f0f0;
    }
    .share-sheet-light .share-hint {
      font-size: 11px; color: #999; text-align: center; margin: 10px 0 0; line-height: 1.4;
    }
    #shareLinkText { display: none; }
    .share-poster-mask {
      position: absolute; inset: 0; z-index: 60; background: rgba(0,0,0,.55);
      display: none; align-items: center; justify-content: center; padding: 24px;
    }
    .share-poster-mask.show { display: flex; }
    .share-poster-card {
      width: 260px; background: #fff; border-radius: 12px; overflow: hidden;
      box-shadow: 0 8px 28px rgba(0,0,0,.25);
    }
    .share-poster-card .ph {
      height: 140px; background: linear-gradient(135deg,#7c4dff,#ce93d8);
      display: flex; align-items: flex-end; padding: 12px; color: #fff; font-size: 14px; font-weight: 600;
    }
    .share-poster-card .pb { padding: 14px; text-align: center; }
    .share-poster-card .qr {
      width: 96px; height: 96px; margin: 0 auto 10px; border: 1px dashed #bbb;
      display: flex; align-items: center; justify-content: center; font-size: 11px; color: #666; background: #fafafa;
    }
    .share-poster-card .tip { font-size: 12px; color: #888; margin-bottom: 12px; }
    .share-poster-card .btn-row { display: flex; gap: 8px; }
    .share-poster-card .btn-row button {
      flex: 1; height: 36px; border-radius: 8px; border: 0; font-size: 13px; cursor: pointer;
    }
    .share-poster-card .btn-row .pri { background: #07c160; color: #fff; }
    .share-poster-card .btn-row .ghost { background: #f3f3f3; color: #333; }

    /* 微信好友分享卡片预览（对齐会话内左文右图） */
    .wx-share-mask {
      position: absolute; inset: 0; z-index: 61; background: rgba(0,0,0,.45);
      display: none; align-items: center; justify-content: center; padding: 20px;
    }
    .wx-share-mask.show { display: flex; }
    .wx-share-preview {
      width: 280px; background: #ededed; border-radius: 12px; padding: 16px 12px 14px;
      box-shadow: 0 8px 28px rgba(0,0,0,.22);
    }
    .wx-share-preview .wx-hd {
      text-align: center; font-size: 13px; font-weight: 600; color: #111; margin-bottom: 14px;
    }
    .wx-share-preview .wx-row { display: flex; align-items: flex-start; gap: 8px; }
    .wx-share-preview .wx-av {
      width: 36px; height: 36px; border-radius: 4px; background: #4a90e2; flex-shrink: 0;
    }
    .wx-share-preview .wx-card {
      flex: 1; min-width: 0; background: #fff; border-radius: 4px; padding: 10px;
      display: flex; align-items: center; gap: 10px;
      box-shadow: 0 1px 1px rgba(0,0,0,.06);
    }
    .wx-share-preview .wx-txt { flex: 1; min-width: 0; }
    .wx-share-preview .wx-title {
      font-size: 14px; font-weight: 600; color: #111; line-height: 1.35;
      display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .wx-share-preview .wx-desc {
      margin-top: 4px; font-size: 12px; color: #888; line-height: 1.3;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .wx-share-preview .wx-cover {
      width: 48px; height: 48px; border-radius: 2px; flex-shrink: 0;
      background: linear-gradient(135deg,#7c4dff,#ce93d8);
    }
    .wx-share-preview .wx-actions {
      margin-top: 14px; display: flex; gap: 8px;
    }
    .wx-share-preview .wx-actions button {
      flex: 1; height: 36px; border: 0; border-radius: 8px; font-size: 13px; cursor: pointer;
    }
    .wx-share-preview .wx-actions .pri { background: #07c160; color: #fff; }
    .wx-share-preview .wx-actions .ghost { background: #fff; color: #333; }

    /* 会员直播结束页（分享/扫码进入已结束） */
    .member-end-page {
      flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
      padding: 32px; background: #1a1028; color: #fff; text-align: center;
    }
    .member-end-page .end-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
    .member-end-page .end-sub { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 24px; }
    .member-end-page .btn {
      height: 40px; padding: 0 24px; border: 0; border-radius: 20px;
      background: var(--brand); color: #fff; font-weight: 600; cursor: pointer;
    }

    /* 提交订单 · 沿用商城提交订单页 */
    .co-page { background: #f2f2f2; }
    .co-scroll { flex: 1; overflow-y: auto; padding: 10px 12px 12px; }
    .co-card {
      background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px;
    }
    .co-addr { display: flex; align-items: center; gap: 10px; cursor: pointer; }
    .co-addr .pin { font-size: 20px; color: #e53935; flex-shrink: 0; }
    .co-addr .txt { flex: 1; min-width: 0; }
    .co-addr .line1 { font-size: 14px; font-weight: 700; line-height: 1.4; }
    .co-addr .line2 { font-size: 12px; color: #888; margin-top: 4px; }
    .co-addr .arr { color: #ccc; font-size: 16px; }
    .co-shop { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
    .co-shop .av {
      width: 22px; height: 22px; border-radius: 50%; background: #eceff1;
      display: grid; place-items: center; font-size: 11px; color: #789;
    }
    .co-goods { display: flex; gap: 10px; }
    .co-goods .img {
      width: 72px; height: 72px; border-radius: 8px; background: #f5f5f5; flex-shrink: 0;
      display: grid; place-items: center; font-weight: 700; color: #e53935; font-size: 18px;
    }
    .co-goods .meta { flex: 1; min-width: 0; }
    .co-goods .nm { font-size: 14px; font-weight: 600; }
    .co-goods .sp { font-size: 12px; color: #999; margin: 4px 0 8px; }
    .co-price-row { display: flex; align-items: center; gap: 6px; }
    .co-price-row .yen { color: #e53935; font-weight: 800; font-size: 16px; }
    .co-live-tag {
      font-size: 10px; color: #e53935; border: 1px solid #e53935; border-radius: 3px;
      padding: 0 4px; line-height: 16px; font-weight: 600;
    }
    .co-qty {
      margin-left: auto; display: flex; align-items: center; gap: 8px; color: #999;
    }
    .co-qty button {
      width: 22px; height: 22px; border-radius: 50%; border: 0; background: #eceff1;
      color: #888; font-size: 16px; line-height: 1; padding: 0;
    }
    .co-qty .n { min-width: 14px; text-align: center; color: #333; font-size: 13px; }
    .co-msg {
      display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 10px;
      border-top: 1px solid #f5f5f5; font-size: 13px;
    }
    .co-msg .lab { color: #333; flex-shrink: 0; }
    .co-msg input {
      flex: 1; border: 0; outline: none; background: transparent; font-size: 13px; color: #333;
    }
    .co-msg input::placeholder { color: #bbb; }
    .co-row {
      display: flex; align-items: center; justify-content: space-between;
      padding: 12px 0; font-size: 14px; cursor: pointer;
    }
    .co-row + .co-row { border-top: 1px solid #f5f5f5; }
    .co-row .lab { color: #333; }
    .co-row .val { color: #999; display: flex; align-items: center; gap: 4px; }
    .co-row .arr { color: #ccc; }
    .co-radio {
      width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #ccc; background: #fff;
    }
    .co-radio.on { border-color: #e53935; box-shadow: inset 0 0 0 4px #e53935; }
    .co-bill .row {
      display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: #333;
    }
    .co-bill .row .neg { color: #e53935; }
    .co-dock {
      flex-shrink: 0; display: flex; align-items: center; justify-content: space-between;
      padding: 8px 12px 12px 16px; background: #fff; border-top: 1px solid #f0f0f0;
    }
    .co-dock .sum .lab { font-size: 13px; color: #333; }
    .co-dock .sum .yen { color: #e53935; font-size: 22px; font-weight: 800; }
    .co-dock .hint { font-size: 11px; color: #999; margin-top: 2px; }
    .co-dock .pay-btn {
      height: 44px; padding: 0 28px; border: 0; border-radius: 22px;
      background: #e53935; color: #fff; font-size: 16px; font-weight: 700;
    }
    .order-coupon-opt {
      display: flex; align-items: center; justify-content: space-between; gap: 10px;
      padding: 12px 14px; border-bottom: 1px solid #f0f0f0; cursor: pointer;
    }
    .order-coupon-opt.disabled { opacity: .55; cursor: not-allowed; }
    .order-coupon-opt.selected { background: #fff3f0; }
    .order-coupon-opt .oc-name { font-size: 14px; font-weight: 600; }
    .order-coupon-opt .oc-sub { font-size: 11px; color: #999; margin-top: 4px; }
    .order-coupon-opt .oc-check { color: #e53935; font-weight: 700; flex-shrink: 0; }

    /* 提交订单 · 可用优惠券抽屉（对齐原商城） */
    #orderCouponSheet .sheet {
      height: 70%;
      max-height: 70%;
      min-height: 52%;
      background: #f5f5f5;
    }
    #orderCouponSheet .sheet-hd {
      justify-content: center; position: relative; background: #fff;
      border-bottom: 1px solid #f0f0f0;
    }
    #orderCouponSheet .sheet-hd .x {
      position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    }
    #orderCouponSheet .sheet-bd {
      padding: 12px 12px 8px; background: #f5f5f5;
    }
    #orderCouponSheet .sheet-ft {
      flex-shrink: 0; padding: 10px 16px 16px; background: #fff;
      border-top: 1px solid #f0f0f0;
    }
    #orderCouponSheet .sheet-ft .confirm-btn {
      width: 100%; height: 44px; border: 0; border-radius: 22px;
      background: #1976d2; color: #fff; font-size: 16px; font-weight: 600;
    }
    .oc-pick-card {
      display: flex; align-items: center; gap: 10px;
      background: #fff; border-radius: 10px; padding: 14px 12px;
      margin-bottom: 10px; cursor: pointer;
    }
    .oc-pick-card.disabled { opacity: .5; cursor: not-allowed; }
    .oc-pick-face {
      flex-shrink: 0; min-width: 96px; max-width: 120px;
      color: #e53935; font-size: 15px; font-weight: 700; line-height: 1.35;
    }
    .oc-pick-meta { flex: 1; min-width: 0; }
    .oc-pick-name {
      font-size: 14px; font-weight: 600; color: #333;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .oc-pick-valid {
      font-size: 12px; color: #999; margin-top: 6px; line-height: 1.35;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    .oc-pick-none {
      display: flex; align-items: center; justify-content: space-between;
      background: #fff; border-radius: 10px; padding: 14px 12px;
      margin-bottom: 10px; cursor: pointer; font-size: 14px; color: #333;
    }
    .oc-pick-none .oc-pick-radio,
    .oc-pick-card .oc-pick-radio {
      width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #ccc;
      flex-shrink: 0; box-sizing: border-box; background: #fff;
    }
    .oc-pick-card.on .oc-pick-radio,
    .oc-pick-none.on .oc-pick-radio {
      border-color: #1976d2; box-shadow: inset 0 0 0 5px #1976d2;
    }
    .oc-pick-empty {
      text-align: center; color: #999; font-size: 13px; padding: 28px 12px;
    }

    /* 拦截 */
    .block-page {
      flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
      padding: 32px; background: #fff; text-align: center;
    }
    .block-page .ico { font-size: 48px; margin-bottom: 12px; }
    .block-page h3 { margin: 0 0 8px; font-size: 16px; }
    .block-page p { margin: 0 0 20px; color: var(--muted); line-height: 1.5; }
    .block-page .btn {
      height: 40px; padding: 0 24px; border: 0; border-radius: 20px;
      background: var(--brand); color: #fff; font-weight: 600;
    }

    /* 水滴标注：默认靠右上，避开可点击控件 */
    .anno-anchor { position: relative; overflow: visible; }
    /* 直播中浮窗挂载了 anno-anchor，但必须保持 absolute 贴右侧 */
    #roomBackFloat.anno-anchor {
      position: absolute !important;
      right: 10px !important;
      left: auto !important;
      overflow: visible;
    }
    .page:not(.active) .anno-drop { display: none; }
    .sheet-mask:not(.show) .anno-drop { display: none; }
    /* 分享弹层打开时隐藏底层页面水滴，避免与分享标注混点 */
    #phoneInner:has(#shareSheet.show) .page.active .anno-drop,
    #phoneInner:has(#goodsShareSheet.show) .page.active .anno-drop,
    #phoneInner:has(#sharePosterMask.show) .page.active .anno-drop,
    #phoneInner:has(#wxShareMask.show) .page.active .anno-drop,
    #phoneInner:has(#roomMoreSheet.show) .page-room-drops,
    #phoneInner:has(#roomAudienceSheet.show) .page-room-drops,
    #phoneInner:has(#hostMoreSheet.show) .page-host-live-drops,
    #phoneInner:has(#hostStockSheet.show) .page-host-live-drops,
    #phoneInner:has(#hostGoodsSheet.show) .page-host-live-drops,
    #phoneInner:has(#hostCouponSheet.show) .page-host-live-drops,
    #phoneInner:has(#hostAudienceSheet.show) .page-host-live-drops,
    #phoneInner:has(#hostMicSheet.show) .page-host-live-drops {
      display: none !important;
    }
    .anno-drop {
      position: absolute; top: 8px; right: 8px; left: auto; z-index: 12;
      width: 26px; height: 26px; padding: 0; border: 0; background: none;
      cursor: pointer; outline: none;
    }
    .anno-drop::before {
      content: ''; position: absolute; inset: 0;
      background: var(--anno-teal);
      border-radius: 50% 50% 50% 4px;
      transform: rotate(-45deg);
      box-shadow: 0 2px 8px rgba(0, 131, 143, .35);
      transition: transform .15s, box-shadow .15s, background .15s;
    }
    .anno-drop:hover::before { transform: rotate(-45deg) scale(1.08); background: #00acc1; }
    .anno-drop.active::before {
      background: var(--anno-teal-dark);
      box-shadow: 0 0 0 3px rgba(38, 198, 218, .45);
    }
    .anno-drop .num {
      position: relative; z-index: 1;
      display: flex; align-items: center; justify-content: center;
      width: 100%; height: 100%;
      color: #fff; font-size: 11px; font-weight: 700; line-height: 1;
      pointer-events: none;
    }
    /* 直播间：水滴贴右侧安全区，不挡主播信息/公屏/底部栏 */
    .page-room-drops {
      position: absolute; right: 4px; top: 52px; bottom: 76px; width: 28px;
      z-index: 15; pointer-events: none; display: none; flex-direction: column;
      justify-content: space-between; align-items: center;
    }
    #page-room.active .page-room-drops { display: flex; }
    .page-room-drops .anno-drop {
      position: relative; top: auto; right: auto; left: auto;
      pointer-events: auto; flex-shrink: 0;
    }
    .page-room-drops .anno-drop[data-anno-id="2"] { margin-top: auto; margin-bottom: auto; }
    .page-host-live-drops {
      position: absolute; right: 4px; top: 48px; bottom: 110px; width: 28px;
      z-index: 15; pointer-events: none; display: none; flex-direction: column;
      justify-content: space-between; align-items: center;
    }
    #page-anchorLive.active:not(.show-end) .page-host-live-drops { display: flex; }
    .page-host-live-drops .anno-drop {
      position: relative; top: auto; right: auto; left: auto;
      pointer-events: auto; flex-shrink: 0;
    }
    #hlEndPage > .anno-drop {
      top: 14px; left: 14px; right: auto; z-index: 6;
    }
    #page-anchorLive:not(.show-end) #hlEndPage > .anno-drop { display: none; }
    #page-anchorLive.show-end #hlEndPage > .anno-drop { display: grid; }
    .preview-actions.anno-anchor { position: relative; }
    .preview-actions > .anno-drop { top: -32px; right: 12px; left: auto; }
    #mineFuncCard .func-item.live {
      position: relative;
    }
    #mineFuncCard .func-item.live > .anno-drop {
      top: -2px; right: calc(50% - 28px); left: auto;
    }
    #liveListWrap > .anno-drop { top: 4px; right: 4px; }
    #btnMyEarnings > .anno-drop { top: -8px; right: -8px; left: auto; }
    #earnMainTabs > .anno-drop {
      top: -6px; right: 4px; left: auto;
      flex: none; width: 26px; height: 26px;
      border-radius: 0; background: none;
    }
    #earnScroll > .anno-drop { top: 4px; right: 4px; left: auto; }
    #goodsDetailBody > .anno-drop, #mallOrderList > .anno-drop { top: 8px; right: 8px; left: auto; }
    .sheet > .anno-drop { top: 12px; right: 48px; left: auto; }
    .block-page > .anno-drop { top: 16px; right: 16px; left: auto; }
    .anno-sidebar {
      position: relative;
      flex: 0 0 var(--anno-width);
      width: var(--anno-width);
      height: 100vh;
      z-index: 50;
      background: #fff;
      border-left: 1px solid #b2ebf2;
      box-shadow: -4px 0 16px rgba(0, 0, 0, .06);
      display: flex; flex-direction: column;
      overflow: hidden;
      transition: flex-basis .22s ease, width .22s ease;
    }
    .anno-sidebar.collapsed {
      flex-basis: 0 !important; width: 0 !important; border-left: 0; box-shadow: none;
    }
    .anno-resizer {
      position: absolute; left: 0; top: 0; bottom: 0; width: 4px; cursor: col-resize; z-index: 2;
    }
    .anno-hd {
      flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
      padding: 14px 16px; border-bottom: 1px solid #e0f7fa; background: #e0f7fa;
    }
    .anno-hd h2 { margin: 0; font-size: 15px; color: var(--anno-teal-dark); }
    .anno-hd .close-x {
      width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer;
      color: #00838f; font-size: 18px; border-radius: 6px;
    }
    .anno-body { flex: 1; overflow-y: auto; padding: 16px; }
    .anno-item { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid #f0f0f0; }
    .anno-item.active { background: #e0f7fa; margin: 0 -16px 18px; padding: 12px 16px 14px; border-radius: 0; }
    .anno-item h3 {
      margin: 0 0 8px; font-size: 14px; display: flex; align-items: center; gap: 8px;
    }
    .anno-item h3 .n {
      width: 22px; height: 22px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg);
      background: var(--anno-teal); color: #fff; display: grid; place-items: center;
      font-size: 11px; flex-shrink: 0;
    }
    .anno-item h3 .n span { transform: rotate(45deg); display: block; font-weight: 700; }
    .anno-item p { margin: 0 0 8px; color: var(--muted); line-height: 1.55; font-size: 12px; }
    .anno-tbl { width: 100%; border-collapse: collapse; font-size: 12px; margin: 8px 0; }
    .anno-tbl th, .anno-tbl td {
      border: 1px solid #e0e0e0; padding: 6px 8px; text-align: left; vertical-align: top;
    }
    .anno-tbl th { background: #f5f5f5; font-weight: 600; white-space: nowrap; }
    .anno-tbl tr.delta-row td,
    .anno-tbl th.delta-cell,
    .anno-tbl td.delta-cell {
      background: #e3f2fd !important;
      color: #0d47a1;
      font-weight: 600;
    }
    .anno-tbl tr.delta-row td:first-child {
      box-shadow: inset 3px 0 0 #1976d2;
    }
    .delta-label {
      display: inline-block;
      padding: 0 6px;
      border-radius: 4px;
      background: #e3f2fd;
      color: #0d47a1;
      font-weight: 700;
    }
    .rev-new {
      color: #6d28d9;
      background: #f3e8ff;
      font-weight: 600;
    }
    .anno-tbl tr.rev-row td {
      background: #f3e8ff !important;
      color: #6d28d9;
      font-weight: 600;
    }
    .anno-tbl tr.rev-row td:first-child {
      box-shadow: inset 3px 0 0 #7c3aed;
    }
    .anno-tab {
      position: fixed; right: 0; top: 50%; transform: translateY(-50%);
      writing-mode: vertical-rl; letter-spacing: .12em;
      background: var(--anno-teal); color: #fff; border: 0; border-radius: 8px 0 0 8px;
      padding: 16px 8px; z-index: 60; font-size: 12px; font-weight: 600;
      box-shadow: -2px 0 8px rgba(0,131,143,.25);
    }
    .anno-sidebar:not(.collapsed) ~ .anno-tab,
    body:has(.anno-sidebar:not(.collapsed)) .anno-tab { display: none; }
    .invite-log {
      margin-top: 8px; padding: 8px 10px; background: #fff8e1; border-radius: 6px;
      font-size: 11px; color: #795548; max-height: 120px; overflow-y: auto;
    }
