
    /* 基础重置 */
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", sans-serif; background: #f4f5f7; color: #333; font-size: 14px; }
    a { color: inherit; }

    /* 顶部头部 */
    header {
      background: #2a2a2a; color: #fff; height: 62px; padding: 0 28px;
      display: flex; align-items: center; justify-content: space-between;
      box-shadow: 0 2px 10px rgba(0,0,0,.18); position: sticky; top: 0; z-index: 100;
    }
    .logo { font-size: 20px; font-weight: 700; color: #e5bb92; letter-spacing: 2px; white-space: nowrap; }
    .logo small { color: #cfcfcf; font-weight: 400; font-size: 13px; margin-left: 10px; letter-spacing: 1px; }
    nav.tabs { display: flex; gap: 6px; }
    nav.tabs button {
      background: transparent; border: none; color: #cfcfcf; padding: 8px 18px;
      font-size: 15px; cursor: pointer; border-radius: 6px; transition: all .2s; font-family: inherit;
    }
    nav.tabs button:hover { background: rgba(255,255,255,.1); color: #fff; }
    nav.tabs button.active { background: #ff3b54; color: #fff; }
    .actions { display: flex; gap: 10px; align-items: center; }

    /* 业务线切换器（三业务线 + 全局区，吸顶于 header 之下） */
    .line-switcher {
      background: #fff; border-bottom: 1px solid #e8e8ea; padding: 10px 28px;
      display: flex; align-items: center; gap: 8px;
      position: sticky; top: 62px; z-index: 99;
      box-shadow: 0 2px 8px rgba(0,0,0,.04);
    }
    .line-switcher .ls-label { font-size: 13px; color: #999; margin-right: 6px; white-space: nowrap; }
    .line-switcher button {
      background: #f4f5f7; border: none; color: #555; padding: 7px 22px;
      font-size: 14px; font-weight: 500; cursor: pointer; border-radius: 18px;
      transition: all .2s; font-family: inherit; white-space: nowrap;
    }
    .line-switcher button:hover { background: #eceef1; color: #2a2a2a; }
    .line-switcher button.active { background: #ff3b54; color: #fff; box-shadow: 0 2px 8px rgba(255,59,84,.28); }
    .line-switcher .ls-hint { margin-left: auto; font-size: 12px; color: #bbb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    body.dash-mode .line-switcher { background: #0f1a30; border-bottom-color: rgba(0,212,255,.15); box-shadow: none; }
    body.dash-mode .line-switcher .ls-label { color: #4a6a88; }
    body.dash-mode .line-switcher button { background: rgba(0,212,255,.08); color: #8bb8d8; }
    body.dash-mode .line-switcher button:hover { background: rgba(0,212,255,.16); color: #e6f4ff; }
    body.dash-mode .line-switcher button.active { background: #00d4ff; color: #0a1628; box-shadow: 0 2px 8px rgba(0,212,255,.3); }
    body.dash-mode .line-switcher .ls-hint { color: #4a6a88; }

    /* 站内通知 */
    .notify-wrap { position: relative; }
    .notify-btn { position: relative; padding: 8px 10px; }
    .notify-badge {
      position: absolute; top: -4px; right: -4px;
      background: #ff3b54; color: #fff; font-size: 11px; font-weight: 600;
      min-width: 16px; height: 16px; border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      padding: 0 4px; line-height: 1;
    }
    /* 板块待处理红点角标（售后/提现审核 15s 轮询） */
    .tab-badge {
      display: inline-flex; align-items: center; justify-content: center;
      margin-left: 5px; min-width: 16px; height: 16px; border-radius: 8px;
      background: #ff3b54; color: #fff; font-size: 11px; font-weight: 600;
      padding: 0 4px; line-height: 1; vertical-align: 1px;
    }
    .notify-panel {
      position: absolute; top: calc(100% + 8px); right: 0;
      width: 340px; max-height: 420px; background: #fff;
      border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
      z-index: 999; overflow: hidden; display: flex; flex-direction: column;
    }
    .notify-panel-header {
      display: flex; justify-content: space-between; align-items: center;
      padding: 12px 16px; border-bottom: 1px solid #f0f0f0;
      font-weight: 600; font-size: 14px; color: #2a2a2a;
    }
    .notify-mark-all {
      font-size: 12px; color: #ff3b54; background: none; border: none;
      cursor: pointer; padding: 0;
    }
    .notify-list { overflow-y: auto; flex: 1; }
    .notify-empty { padding: 40px 0; text-align: center; color: #999; font-size: 13px; }
    .notify-item {
      padding: 12px 16px; border-bottom: 1px solid #f5f5f5;
      cursor: pointer; transition: background .15s;
    }
    .notify-item:hover { background: #fafafa; }
    .notify-item.unread .notify-title { font-weight: 600; color: #2a2a2a; }
    .notify-item.read .notify-title { color: #888; }
    .notify-title { font-size: 13px; margin-bottom: 4px; }
    .notify-content { font-size: 12px; color: #666; line-height: 1.5; }
    .notify-time { font-size: 11px; color: #bbb; margin-top: 6px; }
    body.dash-mode .notify-panel { background: #1a2744; border: 1px solid rgba(0,212,255,.2); }
    body.dash-mode .notify-panel-header { border-bottom-color: rgba(0,212,255,.15); color: #00d4ff; }
    body.dash-mode .notify-mark-all { color: #00d4ff; }
    body.dash-mode .notify-item { border-bottom-color: rgba(0,212,255,.08); }
    body.dash-mode .notify-item:hover { background: rgba(0,212,255,.06); }
    body.dash-mode .notify-item.unread .notify-title { color: #e6f4ff; }
    body.dash-mode .notify-item.read .notify-title { color: #6a8ba8; }
    body.dash-mode .notify-content { color: #8bb8d8; }
    body.dash-mode .notify-time { color: #4a6a88; }
    body.dash-mode .notify-empty { color: #4a6a88; }

    /* 按钮 */
    .btn {
      background: #ff3b54; color: #fff; border: none; padding: 8px 18px;
      border-radius: 20px; cursor: pointer; font-size: 14px; transition: all .2s; font-family: inherit;
      white-space: nowrap;
    }
    .btn:hover { background: #e02e44; transform: translateY(-1px); }
    .btn.ghost { background: transparent; border: 1px solid #e5bb92; color: #e5bb92; }
    .btn.ghost:hover { background: #e5bb92; color: #2a2a2a; }
    .btn.small { padding: 4px 12px; font-size: 12px; border-radius: 16px; }
    .btn.line { background: #fff; color: #ff3b54; border: 1px solid #ff3b54; }
    .btn.line:hover { background: #ff3b54; color: #fff; }
    .btn.gray { background: #fff; color: #888; border: 1px solid #ddd; }
    .btn.gray:hover { background: #f5f5f5; color: #555; }

    /* 主区域 */
    main { max-width: 1440px; margin: 24px auto; padding: 0 28px; }
    /* 看板大屏模式：全屏铺满 */
    body.dash-mode { background: #0a1628; }
    body.dash-mode header { background: linear-gradient(90deg, #0a1628, #0d2137); border-bottom: 1px solid rgba(0, 212, 255, .2); height: 48px; }
    body.dash-mode header .logo { color: #00d4ff; text-shadow: 0 0 8px rgba(0, 212, 255, .5); }
    body.dash-mode header .logo::before { background: linear-gradient(180deg, #00d4ff, #66e2ff); }
    body.dash-mode header nav a { color: #8bb8d8; }
    body.dash-mode header nav a.active, body.dash-mode header nav a:hover { background: rgba(0, 212, 255, .15); color: #00f0ff; }
    body.dash-mode main { max-width: none; width: 100%; margin: 0; padding: 0; }
    .panel { display: none; }
    .panel.active { display: block; }
    .panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
    .panel-header h2 { font-size: 18px; color: #2a2a2a; font-weight: 600; }
    .panel-header h2::before { content: ''; display: inline-block; width: 4px; height: 18px; background: #ff3b54; border-radius: 2px; margin-right: 8px; vertical-align: -3px; }

    /* 表格 */
    table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
    th, td { padding: 12px 14px; text-align: left; font-size: 14px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
    th { background: #fafafa; color: #888; font-weight: 600; font-size: 13px; white-space: nowrap; }
    tbody tr:nth-child(even) { background: #fafbfc; }
    tbody tr:hover { background: #fff5f6; }
    td .ops { display: flex; gap: 8px; flex-wrap: nowrap; }
    td img.thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; background: #f0f0f0; }
    .goods-title { font-weight: 600; color: #333; }
    .goods-sub { font-size: 12px; color: #999; margin-top: 2px; }
    .price { color: #ff3b54; font-weight: 600; }
    .old-price { color: #bbb; text-decoration: line-through; font-size: 12px; margin-left: 4px; }

    /* 状态标签 */
    .tag { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 12px; white-space: nowrap; }
    .tag-unpaid { background: #fff3e0; color: #f57c00; }
    .tag-unused { background: #e3f2fd; color: #1976d2; }
    .tag-used { background: #f3e5f5; color: #7b1fa2; }
    .tag-finished { background: #e8f5e9; color: #388e3c; }
    .tag-cash { background: #ffeaea; color: #ff3b54; }
    .tag-discount { background: #fff8e1; color: #f9a825; }
    .tag-gain { background: #e8f5e9; color: #388e3c; }
    .tag-cost { background: #ffebee; color: #c62828; }
    .tag-up { background: #e8f5e9; color: #388e3c; }
    .tag-full { background: #fff3e0; color: #f57c00; }
    .tag-ended { background: #eeeeee; color: #888; }
    .tag-cancelled { background: #ffebee; color: #c62828; }
    .tag-paid { background: #e3f2fd; color: #1976d2; }
    .tag-pending { background: #fff8e1; color: #f9a825; }
    .tag-accepted { background: #e8f5e9; color: #388e3c; }
    .tag-shipped { background: #e0f7fa; color: #00838f; }

    /* 兑换码批量生成结果 */
    .code-list { max-height: 320px; overflow-y: auto; border: 1px solid #f0f0f0; border-radius: 8px; padding: 4px 14px; }
    .code-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px dashed #f0f0f0; }
    .code-row:last-child { border-bottom: none; }

    /* 内联下拉 */
    select.inline-sel { padding: 4px 8px; border-radius: 6px; border: 1px solid #ddd; font-size: 13px; font-family: inherit; cursor: pointer; }

    /* 模态框 */
    .modal-mask {
      display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1000;
      justify-content: center; align-items: center;
    }
    .modal-mask.show { display: flex; }
    .modal {
      background: #fff; border-radius: 12px; width: 600px; max-width: 92vw; max-height: 86vh;
      overflow-y: auto; padding: 24px 28px; box-shadow: 0 16px 48px rgba(0,0,0,.25);
    }
    .modal h3 { font-size: 18px; margin-bottom: 18px; color: #2a2a2a; padding-bottom: 12px; border-bottom: 2px solid #ff3b54; font-weight: 600; }
    .form-row { margin-bottom: 14px; }
    .form-row label { display: block; font-size: 13px; color: #666; margin-bottom: 6px; font-weight: 600; }
    .form-row input, .form-row select, .form-row textarea {
      width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; font-family: inherit; background: #fff;
    }
    .form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: #ff3b54; box-shadow: 0 0 0 2px rgba(255,59,84,.12); }
    .form-row textarea { resize: vertical; min-height: 64px; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .form-grid .full { grid-column: 1 / -1; }
    .modal-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #f0f0f0; }
    .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; }
    .modal-box { background: #fff; border-radius: 16px; width: 500px; max-width: 90vw; max-height: 85vh; overflow: auto; }
    .modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid #f0f0f0; }
    .modal-head h3 { margin: 0; font-size: 18px; }
    .modal-close { font-size: 26px; cursor: pointer; color: #999; line-height: 1; }
    .modal-body { padding: 22px; }
    .modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 22px 18px; }

    /* 商品 SKU 多规格编辑器 */
    .sku-editor { margin-top: 18px; padding: 14px 16px; background: #fff7f8; border: 1px solid #ffd9e0; border-radius: 10px; }
    .sku-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
    .sku-head label { margin: 0; font-weight: 600; color: #d81e3f; font-size: 14px; }
    .sku-table { width: 100%; border-collapse: collapse; }
    .sku-table th { text-align: left; font-size: 12px; color: #999; font-weight: 500; padding: 4px 8px; }
    .sku-table td { padding: 4px 8px; }
    .sku-table input { width: 100%; padding: 7px 9px; border: 1px solid #e3e3e8; border-radius: 7px; font-size: 13px; box-sizing: border-box; }
    .sku-table input:focus { border-color: #ff3b54; outline: none; }
    .sku-empty { text-align: center; color: #bbb; font-size: 12px; padding: 14px 0 !important; }
    .sku-hint { margin-top: 8px; font-size: 12px; color: #b06a75; line-height: 1.5; }

    /* 用户详情抽屉入口开关（复用旧卡片开关样式） */
    .uc-entry { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #666; }
    .uc-entry .entry-state { font-size: 12px; margin-left: auto; margin-right: 10px; color: #aaa; }
    .uc-entry .entry-state.on { color: #34c759; }
    .uc-switch { width: 42px; height: 24px; border-radius: 12px; background: #d8d8d8; position: relative; cursor: pointer; transition: background .2s; flex: none; }
    .uc-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .2s; }
    .uc-switch.on { background: #34c759; }
    .uc-switch.on::after { left: 20px; }

    /* ===== 用户管理（工具条 + 表格 + 分页器） ===== */
    .utoolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
    .utoolbar input.usearch { width: 260px; padding: 8px 12px; border: 1px solid #e5e5e5; border-radius: 8px; font-size: 13px; font-family: inherit; outline: none; }
    .utoolbar input.usearch:focus { border-color: #ff3b54; }
    .utoolbar select { padding: 8px 10px; border: 1px solid #e5e5e5; border-radius: 8px; font-size: 13px; background: #fff; outline: none; font-family: inherit; }
    .ucell-user { display: flex; align-items: center; gap: 10px; }
    .ucell-user img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #f0f0f0; flex-shrink: 0; }
    .ucell-user .uu-name { font-weight: 600; color: #2a2a2a; font-size: 13.5px; }
    .ucell-user .uu-id { font-size: 12px; color: #aaa; margin-top: 1px; }
    .uvip { display: inline-block; font-size: 11px; color: #e5bb92; background: #2a2a2a; padding: 1px 8px; border-radius: 9px; margin-left: 6px; white-space: nowrap; }
    .uvip-exp { font-size: 12px; color: #999; margin-top: 2px; }
    .ust-tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 10px; white-space: nowrap; }
    .ust-ok { color: #17925f; background: #e4f6ee; }
    .ust-ban { color: #d5323f; background: #ffeced; }
    .uops { display: flex; gap: 6px; flex-wrap: wrap; }
    .upager { display: flex; align-items: center; gap: 8px; justify-content: flex-end; margin-top: 14px; font-size: 13px; color: #666; }
    .upager .upg-btn { padding: 5px 12px; border: 1px solid #e0e0e0; border-radius: 7px; background: #fff; cursor: pointer; font-size: 13px; color: #555; font-family: inherit; }
    .upager .upg-btn:hover:not(:disabled) { border-color: #ff3b54; color: #ff3b54; }
    .upager .upg-btn:disabled { opacity: .4; cursor: default; }
    .upager .upg-btn.upg-cur { border-color: #ff3b54; color: #fff; background: #ff3b54; font-weight: 700; }

    /* 用户详情抽屉 */
    .ud-mask { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 600; }
    .ud-mask.show { display: block; }
    .ud-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 720px; max-width: 94vw; background: #f5f6f8; box-shadow: -4px 0 24px rgba(0,0,0,.2); display: flex; flex-direction: column; }
    .ud-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; background: #fff; border-bottom: 1px solid #eee; flex-shrink: 0; }
    .ud-head h3 { margin: 0; font-size: 17px; }
    .ud-close { font-size: 26px; cursor: pointer; color: #999; line-height: 1; background: none; border: none; }
    .ud-close:hover { color: #ff3b54; }
    .ud-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
    .ud-sec { background: #fff; border-radius: 10px; padding: 16px 18px; margin-bottom: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
    .ud-sec h4 { margin: 0 0 12px; font-size: 14px; color: #2a2a2a; border-left: 3px solid #ff3b54; padding-left: 8px; }
    .ud-profile { display: flex; gap: 16px; align-items: center; }
    .ud-profile img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #f0f0f0; flex-shrink: 0; }
    .ud-pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 14px; margin-top: 14px; }
    .ud-pitem .k { color: #999; font-size: 12px; margin-bottom: 2px; }
    .ud-pitem .v { color: #333; font-weight: 600; font-size: 13px; word-break: break-all; }
    .ud-table { width: 100%; border-collapse: collapse; box-shadow: none; border-radius: 0; }
    .ud-table th, .ud-table td { padding: 7px 8px; font-size: 12.5px; }
    .ud-table th { color: #999; font-weight: 500; background: #fafafa; }
    .ud-empty { text-align: center; color: #bbb; font-size: 12.5px; padding: 14px 0; }

    /* 轮播预览 */
    .banner-item { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 10px; padding: 14px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
    .banner-item img { width: 200px; height: 80px; object-fit: cover; border-radius: 8px; background: #f0f0f0; }
    .banner-item .bi-info { flex: 1; }
    .banner-item .bi-link { font-size: 13px; color: #1976d2; word-break: break-all; margin-top: 4px; }
    .banner-item .bi-id { font-size: 12px; color: #aaa; }

    /* ===== 大屏版数据看板 ===== */
    #panel-dashboard.dash-screen { background: linear-gradient(160deg, #0a1628 0%, #0d2137 50%, #112a45 100%); color: #c8ddf2; padding: 20px 32px 16px; min-height: calc(100vh - 48px); }
    #panel-dashboard.dash-screen .panel-header { display: flex; justify-content: center; align-items: center; padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(0, 200, 255, .18); position: relative; }
    #panel-dashboard.dash-screen .panel-header::before, #panel-dashboard.dash-screen .panel-header::after { content: ''; position: absolute; bottom: -1px; width: 14%; height: 1px; background: linear-gradient(90deg, transparent, #00d4ff, transparent); }
    #panel-dashboard.dash-screen .panel-header h2 { font-size: 28px; font-weight: 700; letter-spacing: 6px; color: #ffffff; text-shadow: 0 0 12px rgba(0, 212, 255, .6); background: linear-gradient(90deg, #00d4ff, #66e2ff, #00d4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
    #panel-dashboard.dash-screen .panel-header .btn { position: absolute; right: 0; background: rgba(0, 212, 255, .12); border: 1px solid rgba(0, 212, 255, .4); color: #7fdfff; font-size: 12px; padding: 5px 14px; border-radius: 16px; }
    #panel-dashboard.dash-screen .panel-header .btn:hover { background: rgba(0, 212, 255, .25); }
    .dash-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 12px; }
    .dash-kpi { background: linear-gradient(135deg, rgba(0, 80, 140, .45) 0%, rgba(0, 40, 80, .65) 100%); border: 1px solid rgba(0, 212, 255, .35); border-radius: 8px; padding: 16px 22px; position: relative; overflow: hidden; }
    .dash-kpi::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #00d4ff, #66e2ff, #00d4ff); }
    .dash-kpi-label { font-size: 14px; color: #8bb8d8; letter-spacing: 2px; }
    .dash-kpi-value { font-size: 34px; font-weight: 700; color: #00f0ff; text-shadow: 0 0 14px rgba(0, 240, 255, .5); margin-top: 4px; font-family: 'Consolas', 'Courier New', monospace; }
    .dash-kpi-sub { font-size: 12px; color: #5d8aa8; margin-top: 4px; }
    .dash-kpi-bgbar { position: absolute; right: 0; bottom: 0; width: 60%; height: 100%; opacity: .12; }
    .dash-sub-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 14px; }
    .dash-sub { background: rgba(0, 60, 110, .35); border: 1px solid rgba(0, 212, 255, .2); border-radius: 6px; padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; }
    .dash-sub .ds-label { font-size: 13px; color: #7aa8c8; }
    .dash-sub .ds-value { font-size: 22px; font-weight: 700; color: #4fe2ff; font-family: 'Consolas', monospace; text-shadow: 0 0 8px rgba(79, 226, 255, .4); }
    .dash-sub .ds-unit { font-size: 13px; color: #7aa8c8; margin-left: 4px; font-weight: normal; }
    .dash-main { display: grid; grid-template-columns: 300px 1fr 300px; gap: 16px; margin-bottom: 14px; }
    .dash-main > .dash-box { display: flex; flex-direction: column; min-height: 340px; }
    .dash-main > .dash-box > .dash-box-title { flex-shrink: 0; }
    .dash-bottom { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: stretch; }
    .dash-bottom .dash-box { display: flex; flex-direction: column; min-height: 300px; }
    .dash-bottom .dash-box-title { flex-shrink: 0; }
    .dash-bottom .dash-ring-wrap { justify-content: center; }
    .dash-bottom #dash-hotwords { flex: 1; overflow-y: auto; max-height: 270px; }
    .dash-bottom #dash-hotwords::-webkit-scrollbar { width: 4px; }
    .dash-bottom #dash-hotwords::-webkit-scrollbar-thumb { background: rgba(0,212,255,.3); border-radius: 2px; }
    .dash-box { background: linear-gradient(180deg, rgba(0, 60, 110, .4) 0%, rgba(0, 30, 60, .5) 100%); border: 1px solid rgba(0, 212, 255, .3); border-radius: 6px; padding: 14px 16px; position: relative; }
    .dash-box::before, .dash-box::after { content: ''; position: absolute; width: 12px; height: 12px; border-color: #00d4ff; border-style: solid; }
    .dash-box::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
    .dash-box::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
    .dash-box-title { font-size: 15px; color: #ffffff; font-weight: 600; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid rgba(0, 212, 255, .2); letter-spacing: 2px; }
    .dash-shop-row, .dash-goods-row { display: flex; align-items: center; gap: 6px; padding: 6px 0; line-height: 1.35; }
    .dash-rank { width: 22px; height: 18px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; border-radius: 3px; flex-shrink: 0; color: #fff; }
    .dash-rank.top1 { background: linear-gradient(135deg, #ff6b35, #f7931e); }
    .dash-rank.top2 { background: linear-gradient(135deg, #ff9a44, #ffc107); }
    .dash-rank.top3 { background: linear-gradient(135deg, #00bcd4, #26c6da); }
    .dash-rank.normal { background: rgba(0, 212, 255, .25); color: #8bb8d8; }
    .dash-shop-name, .dash-goods-name { flex: 1; font-size: 12.5px; color: #c8ddf2; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-width: 0; line-height: 1.35; }
    .dash-bar-bg { width: 54px; height: 5px; background: rgba(0, 212, 255, .15); border-radius: 3px; overflow: hidden; flex-shrink: 0; }
    .dash-bar-fill { height: 100%; border-radius: 3px; }
    .dash-bar-fill.c1 { background: linear-gradient(90deg, #ff6b35, #ffc107); }
    .dash-bar-fill.c2 { background: linear-gradient(90deg, #00bcd4, #66e2ff); }
    .dash-bar-fill.c3 { background: linear-gradient(90deg, #7c4dff, #b388ff); }
    .dash-revenue { width: auto; min-width: 42px; font-size: 12px; font-family: 'Consolas', monospace; color: #4fe2ff; text-align: right; flex-shrink: 0; }
    /* 24h 柱状图 */
    .dash-hour-chart { display: flex; align-items: flex-end; gap: 2px; flex: 1; min-height: 150px; padding: 6px 0 0; position: relative; }
    .dash-hour-bar { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; height: 100%; position: relative; }
    .dash-hour-bar .bar { width: 100%; background: linear-gradient(180deg, #00d4ff, #0066aa); border-radius: 2px 2px 0 0; min-height: 1px; box-shadow: 0 0 6px rgba(0, 212, 255, .5); transition: height .4s; }
    .dash-hour-bar .bar-val { font-size: 10px; color: #7fdfff; margin-bottom: 2px; font-family: 'Consolas', monospace; align-self: center; }
    .dash-hour-bar .bar-label { position: absolute; bottom: -14px; font-size: 10px; color: #5d8aa8; align-self: center; }
    .dash-hour-revenue { position: absolute; top: 4px; right: 8px; font-size: 13px; color: #7fdfff; }
    /* 环形图 */
    .dash-ring-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; }
    .dash-ring { width: 140px; height: 140px; flex-shrink: 0; }
    .dash-ring-list { width: 100%; max-height: 110px; overflow-y: auto; }
    .dash-ring-list::-webkit-scrollbar { width: 4px; }
    .dash-ring-list::-webkit-scrollbar-thumb { background: rgba(0,212,255,.3); border-radius: 2px; }
    .dash-ring-item { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; font-size: 12px; color: #c8ddf2; }
    .dash-ring-item .color-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
    .dash-ring-item .pct { font-family: 'Consolas', monospace; color: #4fe2ff; margin-right: 6px; font-size: 11px; }
    .dash-ring-item .cnt { color: #7aa8c8; font-size: 11px; }
    /* 热搜词表 */
    .dash-hot-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
    .dash-hot-table th { text-align: left; padding: 6px 8px; color: #7aa8c8; font-weight: normal; border-bottom: 1px solid rgba(0, 212, 255, .15); background: rgba(0, 60, 110, .3); }
    .dash-hot-table td { padding: 7px 8px; border-bottom: 1px solid rgba(0, 212, 255, .08); color: #c8ddf2; }
    .dash-hot-table td.r { text-align: right; color: #4fe2ff; font-family: 'Consolas', monospace; }

    .empty { text-align: center; padding: 80px 0; color: #bbb; font-size: 14px; background: #fff; border-radius: 10px; }
    .stat { display: inline-flex; gap: 6px; align-items: baseline; }
    .stat b { color: #ff3b54; font-size: 16px; }

    /* ===== 订单卡片 ===== */
    .order-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
    .otype-tabs { display: flex; gap: 0; background: #fff; border-radius: 10px; padding: 4px; box-shadow: 0 1px 6px rgba(0,0,0,.05); }
    .otab { font-size: 13.5px; padding: 7px 18px; border-radius: 8px; cursor: pointer; color: #666; transition: all .15s; user-select: none; white-space: nowrap; }
    .otab:hover { color: #ff3b54; }
    .otab.active { background: #ff3b54; color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(255,59,84,.35); }
    /* 订单筛选栏：允许换行，各控件不被挤压（日期时间框曾因 flex 收缩被压窄导致时间不可见） */
    .osearch { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
    .osearch > select, .osearch > button { flex: none; }
    .osearch input { width: 260px; flex: 1 1 220px; min-width: 180px; padding: 8px 12px; border: 1px solid #e5e5e5; border-radius: 8px; font-size: 13px; font-family: inherit; outline: none; transition: border-color .15s; }
    .osearch input:focus { border-color: #ff3b54; }
    .osearch input.odate { width: 200px; flex: none; min-width: 200px; padding: 7px 8px; color: #333; cursor: pointer; }
    .osearch select { padding: 8px 10px; border: 1px solid #e5e5e5; border-radius: 8px; font-size: 13px; font-family: inherit; background: #fff; outline: none; }
    .osearch select:focus { border-color: #ff3b54; }
    /* 财务/报表筛选行：统一弹性布局与控件尺寸（原 .toolbar 无样式，控件挤在一起、日期框过窄） */
    .toolbar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
    .toolbar select, .toolbar input { padding: 7px 10px; border: 1px solid #e5e5e5; border-radius: 6px; background: #fff; font-size: 13px; font-family: inherit; outline: none; }
    .toolbar select:focus, .toolbar input:focus { border-color: #ff3b54; }
    .toolbar select { min-width: 130px; max-width: 200px; text-overflow: ellipsis; }
    .toolbar input[type=date], .toolbar input[type=datetime-local] { width: 158px; flex: none; }
    .toolbar input[type=number] { width: 110px; flex: none; }
    .order-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
    .ocard { background: #fff; border-radius: 12px; border: 1px solid #f0f0f0; box-shadow: 0 1px 6px rgba(0,0,0,.04); overflow: hidden; transition: box-shadow .2s, transform .2s; }
    .ocard:hover { box-shadow: 0 6px 18px rgba(0,0,0,.09); transform: translateY(-2px); }
    .oc-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #fafafa; border-bottom: 1px solid #f5f5f5; }
    .oc-no { display: flex; align-items: center; gap: 8px; min-width: 0; }
    .oc-id { font-family: 'Consolas', monospace; font-size: 13px; font-weight: 700; color: #333; }
    .otype { flex-shrink: 0; font-size: 11px; padding: 1px 7px; border-radius: 9px; line-height: 17px; }
    .otype.t-physical { color: #b26a00; background: #fff4e0; }
    .otype.t-mall { color: #5b8cff; background: #eef3ff; }
    .otype.t-local { color: #e6435c; background: #ffeef0; }
    .otype.t-tourism { color: #0e9e7e; background: #e6f7f2; }
    .oc-st { display: flex; gap: 6px; flex-shrink: 0; }
    .ostatus { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 10px; line-height: 18px; }
    .os-unpaid { color: #888; background: #f2f3f5; }
    .os-paid { color: #c4700a; background: #fff2dd; }
    .os-unused { color: #2d6fe0; background: #e9f0ff; }
    .os-used { color: #17925f; background: #e4f6ee; }
    .os-shipped { color: #0f8fa8; background: #e2f5fa; }
    .os-finished { color: #3d9c46; background: #e9f7ea; }
    .os-cancel { color: #aaa; background: #f2f3f5; }
    .os-refund { color: #d5323f; background: #ffeced; }
    .os-refunding { color: #ff6b35; background: #fff0e8; }
    .os-rejected { color: #9a9a9a; background: #f2f2f2; }
    .otab-warn { color: #ff6b35; }
    .otab-warn.active { background: #ff6b35; box-shadow: 0 2px 8px rgba(255,107,53,.35); }
    .btn-warn { background: #ff6b35; border-color: #ff6b35; color: #fff; }
    .btn-warn:hover { background: #f45c24; border-color: #f45c24; }
    .oc-reject { color: #d5323f; }
    .oc-body { display: flex; gap: 0; }
    .oc-goods { flex: 1.15; min-width: 0; padding: 10px 14px; border-right: 1px dashed #eee; }
    .oc-item { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
    .oc-item img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: #f6f6f6; }
    .oc-itinfo { flex: 1; min-width: 0; }
    .oc-itname { font-size: 13px; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .oc-itsub { font-size: 12px; color: #999; margin-top: 2px; }
    .oc-itamt { font-size: 13px; font-weight: 600; color: #444; flex-shrink: 0; font-family: 'Consolas', monospace; }
    .oc-more { font-size: 12px; color: #b06000; background: #fff8ec; border-radius: 6px; padding: 4px 10px; display: inline-block; margin-top: 4px; }
    .oc-code { margin-top: 6px; font-size: 12px; color: #8a6a3d; background: #fdf6ea; border: 1px dashed #e8d5ae; border-radius: 6px; padding: 4px 10px; display: inline-block; font-family: 'Consolas', monospace; }
    .oc-info { flex: 1; min-width: 0; padding: 10px 14px; display: flex; flex-direction: column; gap: 3px; }
    .oc-pay { display: flex; align-items: baseline; gap: 8px; }
    .oc-paylabel { font-size: 12px; color: #999; }
    .oc-payval { font-size: 20px; font-weight: 800; color: #ff3b54; font-family: 'Consolas', monospace; }
    .oc-cuts { font-size: 11.5px; color: #b06000; }
    .oc-line { font-size: 12.5px; display: flex; gap: 8px; line-height: 1.5; }
    .oc-k { color: #aaa; flex-shrink: 0; width: 42px; }
    .oc-v { color: #555; word-break: break-all; min-width: 0; }
    .oc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 14px; background: #fcfcfc; border-top: 1px solid #f5f5f5; }
    .oc-times { font-size: 12px; color: #aaa; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
    .oc-countdown { font-size: 12px; color: #ff6b35; background: #fff4ec; border: 1px solid #ffd9bd; border-radius: 4px; padding: 1px 7px; font-weight: 600; }
    .oc-dot { color: #ddd; }
    .oc-foot .ops { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }

    /* ===== 数据看板 ===== */
    .stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
    .stat-card { background: #fff; border-radius: 10px; padding: 16px 18px; box-shadow: 0 2px 10px rgba(0,0,0,.06); border-left: 4px solid #ff3b54; }
    .sc-label { font-size: 13px; color: #999; }
    .sc-value { font-size: 24px; font-weight: 700; color: #2a2a2a; margin-top: 6px; }
    .sc-value.red { color: #ff3b54; }
    .sc-sub { font-size: 12px; color: #bbb; margin-top: 4px; }
    .dash-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
    @media (max-width: 1000px) { .dash-grid { grid-template-columns: 1fr; } }
    .dash-card { background: #fff; border-radius: 10px; padding: 18px 20px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
    .cfg-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
    .cfg-row label { width: 140px; font-size: 13px; color: #666; flex-shrink: 0; text-align: right; }
    .cfg-row input, .cfg-row select, .cfg-row textarea { flex: 1; padding: 8px 12px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 13px; font-family: inherit; }
    .cfg-row textarea { resize: vertical; font-family: monospace; }
    .cfg-row input:focus, .cfg-row select:focus, .cfg-row textarea:focus { outline: none; border-color: #ff3b54; }
    .dash-card h3 { font-size: 15px; color: #555; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; font-weight: 600; }
    .chart { display: flex; align-items: stretch; gap: 12px; height: 190px; padding-top: 6px; }
    .bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; }
    .bar { width: 55%; background: linear-gradient(180deg, #ff839b, #ff3b54); border-radius: 4px 4px 0 0; min-height: 3px; }
    .bar-num { font-size: 12px; color: #666; font-weight: 600; }
    .bar-label { font-size: 11px; color: #aaa; white-space: nowrap; }
    .tg-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #f0f0f0; }
    .tg-row:last-child { border-bottom: none; }
    .tg-title { width: 128px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .tg-bar-wrap { flex: 1; height: 10px; background: #f5f5f5; border-radius: 5px; overflow: hidden; }
    .tg-bar { height: 100%; background: linear-gradient(90deg, #ffe7bc, #f8864a); border-radius: 5px; }
    .tg-num { width: 52px; text-align: right; font-size: 12px; color: #ff3b54; font-weight: 600; }
    .ls-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed #f0f0f0; font-size: 13px; }
    .ls-row:last-child { border-bottom: none; }
    .ls-row .t { flex: 1; margin-right: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .ls-num { font-weight: 600; color: #f57c00; white-space: nowrap; }
    .ls-num.danger { color: #c62828; }

    /* ===== 订单核销 ===== */
    .verify-box { display: flex; gap: 8px; align-items: center; }
    .verify-box input { padding: 7px 14px; border: 1px solid #ddd; border-radius: 16px; font-size: 13px; width: 220px; font-family: inherit; }
    .verify-box input:focus { outline: none; border-color: #ff3b54; box-shadow: 0 0 0 2px rgba(255,59,84,.12); }
    .code { font-family: Consolas, monospace; color: #1976d2; letter-spacing: 1px; }

    /* ===== 跳转页面选择器（下拉直选 + 可编辑输入框 / 可直接选商品详情） ===== */
    .page-pick { display: flex; flex-direction: column; gap: 8px; }
    .page-pick select { background: #fff; }
    .page-pick-goods { border: 1px solid #eee; border-radius: 8px; padding: 10px; background: #fafafa; }
    .page-pick-cat { border: 1px solid #eee; border-radius: 8px; padding: 10px; background: #fafafa; }
    .page-pick-cat select { width: 100%; }
    .page-pick-tip { margin-top: 6px; font-size: 11px; color: #999; }

    /* ===== 媒体上传选择器 ===== */
    .mp-wrap { display: flex; flex-direction: column; gap: 8px; }
    .mp-drop { width: 100%; min-height: 120px; border: 1px dashed #ccc; border-radius: 10px; background: #fafafa; cursor: pointer; transition: all .15s; position: relative; overflow: hidden; }
    .mp-drop:hover, .mp-drop.over { border-color: #ff3b54; background: #fff5f6; }
    .mp-empty { min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
    .mp-plus { font-size: 30px; color: #ccc; line-height: 1; }
    .mp-t { font-size: 12px; color: #aaa; }
    .mp-img { min-height: 120px; display: flex; align-items: center; justify-content: center; }
    .mp-img img { max-width: 100%; max-height: 240px; object-fit: contain; }
    .mp-video { position: relative; min-height: 120px; display: flex; align-items: center; justify-content: center; }
    .mp-video video { max-width: 100%; max-height: 240px; }
    .mp-tag { position: absolute; right: 6px; top: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 10px; z-index: 2; }
    .mp-hint { font-size: 12px; color: #bbb; }
    /* 多图列表选择器的尺寸建议提示（imagelist 字段） */
    .il-hint { font-size: 12px; color: #bbb; margin-top: 4px; }
    /* 带 crop-ratio 的上传框：预览按设定宽高比 cover 居中裁切，与小程序端最终展示效果一致 */
    .mp-wrap[data-crop-ratio] .mp-img { aspect-ratio: var(--mp-ratio); min-height: 0; overflow: hidden; }
    .mp-wrap[data-crop-ratio] .mp-img img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; display: block; }

    /* ===== 简易裁剪弹窗 ===== */
    .crop-mask { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 3000; display: flex; align-items: center; justify-content: center; }
    .crop-modal { background: #fff; border-radius: 14px; padding: 20px; max-width: 92vw; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
    .crop-title { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
    .crop-tip { font-size: 12px; font-weight: 400; color: #999; }
    .crop-stage-wrap { position: relative; display: inline-block; line-height: 0; border-radius: 8px; overflow: hidden; }
    .crop-stage { display: block; }
    .crop-box { position: absolute; border: 2px solid #ff3b54; box-shadow: 0 0 0 9999px rgba(0,0,0,.45); cursor: move; box-sizing: border-box; }
    .crop-box-lb { position: absolute; left: 0; top: 0; background: #ff3b54; color: #fff; font-size: 11px; line-height: 1; padding: 4px 8px; border-radius: 0 0 6px 0; }
    .crop-zoom { display: flex; align-items: center; gap: 10px; margin: 14px 0; font-size: 12px; color: #888; }
    .crop-zoom input[type=range] { flex: 1; accent-color: #ff3b54; }
    .crop-zoom-val { min-width: 40px; text-align: right; color: #333; }
    .crop-btns { display: flex; justify-content: flex-end; gap: 10px; }
    .thumb-empty { background: #f0f0f0; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: #bbb; font-size: 12px; }
    .thumb-video { position: relative; border-radius: 6px; overflow: hidden; background: #000; display: inline-block; vertical-align: middle; }
    .thumb-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
    .thumb-video .mp-tag { right: 2px; bottom: 2px; top: auto; font-size: 10px; padding: 1px 5px; }
    .il-list { display: flex; flex-wrap: wrap; gap: 10px; }
    .il-thumb { position: relative; width: 86px; height: 86px; border-radius: 8px; overflow: hidden; background: #f0f0f0; flex-shrink: 0; }
    .il-thumb img, .il-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
    .il-del { position: absolute; right: 4px; top: 4px; width: 20px; height: 20px; line-height: 18px; text-align: center; background: rgba(0,0,0,.6); color: #fff; border-radius: 50%; cursor: pointer; font-size: 13px; z-index: 2; }
    .il-add { width: 86px; height: 86px; border: 1px dashed #ccc; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; color: #bbb; background: #fafafa; flex-shrink: 0; }
    .il-add:hover, .il-add.over { border-color: #ff3b54; background: #fff5f6; }

    /* ===== 营销中心 ===== */
    .mkt-subnav {
      display: flex; gap: 6px; background: #fff; border-radius: 10px; padding: 6px;
      margin-bottom: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.06); flex-wrap: wrap;
    }
    .mkt-subnav button {
      background: transparent; border: none; color: #666; padding: 8px 22px;
      font-size: 14px; cursor: pointer; border-radius: 8px; transition: all .2s;
      font-family: inherit; white-space: nowrap;
    }
    .mkt-subnav button:hover { background: #fff5f6; color: #ff3b54; }
    .mkt-subnav button.active { background: #ff3b54; color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(255,59,84,.3); }
    /* 营销中心/财务中心：按运营任务心智分组。仅作用于 #mkt-subnav / #finance-subnav，不影响其它复用 .mkt-subnav 的面板 */
    #mkt-subnav, #finance-subnav { flex-direction: column; align-items: stretch; gap: 4px; padding: 10px 12px; }
    #mkt-subnav .mkt-group, #finance-subnav .mkt-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
    #mkt-subnav .mkt-group + .mkt-group, #finance-subnav .mkt-group + .mkt-group { border-top: 1px dashed #eef0f3; padding-top: 8px; margin-top: 4px; }
    #mkt-subnav .mkt-group-label, #finance-subnav .mkt-group-label { font-size: 12px; color: #98a2b3; font-weight: 600; padding: 0 6px 0 2px; white-space: nowrap; }
    .mkt-section { display: none; }
    .mkt-section.active { display: block; animation: mktFade .25s ease; }
    @keyframes mktFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
    .mkt-section .panel-header { margin-bottom: 14px; }
    .mkt-section .panel-header h3 { font-size: 16px; color: #2a2a2a; font-weight: 600; }
    .mkt-section .panel-header h3::before {
      content: ''; display: inline-block; width: 4px; height: 16px; background: #ff3b54;
      border-radius: 2px; margin-right: 8px; vertical-align: -2px;
    }
    .tag-promo {
      background: linear-gradient(90deg, #fff0f3, #ffe4ea); color: #ff3b54;
      border: 1px solid #ffd3de; font-weight: 600; white-space: nowrap;
    }
    .promo-hint {
      margin-top: 14px; padding: 10px 14px; background: #fff8f0; border: 1px dashed #f0c99a;
      border-radius: 8px; font-size: 12.5px; color: #b06a00; line-height: 1.6;
    }
    .promo-hint:empty { display: none; }
    /* 独享活动「可共享优惠」多选组 */
    .stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 12px; padding: 10px 12px; background: #fafafa; border: 1px solid #eee; border-radius: 8px; }
    .stack-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #555; cursor: pointer; }
    .stack-item input { accent-color: #ff3b54; }

    /* ===== 抽奖活动（大转盘/九宫格） ===== */
    #mkt-lottery > * { max-width: 1080px; }
    .lt-card .form-row { margin-bottom: 0; }
    .lt-group + .lt-group { margin-top: 18px; padding-top: 18px; border-top: 1px dashed #f0f0f0; }
    .lt-group-t { font-size: 12.5px; font-weight: 600; color: #999; letter-spacing: .5px; margin-bottom: 12px; }
    .lt-group-t::before {
      content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
      background: #ffd3de; margin-right: 7px; vertical-align: 1px;
    }
    .lt-block-hd { display: flex; align-items: center; gap: 10px; margin: 22px 0 12px; }
    .lt-block-hd h4 { margin: 0; font-size: 15px; color: #2a2a2a; font-weight: 600; }
    .lt-block-hd h4::before {
      content: ''; display: inline-block; width: 4px; height: 15px; background: #ff3b54;
      border-radius: 2px; margin-right: 8px; vertical-align: -2px;
    }
    .lt-block-hd-sub { font-size: 12px; color: #aaa; }
    .lt-block-hd .inline-sel { margin-left: auto; }
    .lt-hd-act { margin-left: auto; display: flex; gap: 8px; align-items: center; }
    .lt-table { table-layout: fixed; }
    .lt-table th { padding: 11px 14px; }
    .lt-table td { padding: 10px 14px; }
    .lt-in, .lt-sel {
      width: 100%; box-sizing: border-box; padding: 7px 10px; border: 1px solid #e3e3e8;
      border-radius: 7px; font-size: 13px; font-family: inherit; color: #333; background: #fff;
    }
    .lt-in:focus, .lt-sel:focus { outline: none; border-color: #ff3b54; box-shadow: 0 0 0 2px rgba(255,59,84,.12); }
    .lt-in:disabled, .lt-sel:disabled { background: #f6f6f8; color: #bbb; cursor: not-allowed; }
    .lt-num, .lt-in.lt-num-in { text-align: right; font-variant-numeric: tabular-nums; }
    .lt-pct {
      display: inline-block; min-width: 56px; text-align: center; padding: 2px 8px; border-radius: 10px;
      font-size: 12px; font-weight: 600; background: #fff0f3; color: #ff3b54; border: 1px solid #ffd3de;
    }
    .lt-pct.zero { background: #f4f4f5; color: #aaa; border-color: #ececec; }
    .lt-muted { color: #bbb; }
    .lt-used { font-weight: 600; color: #2a2a2a; font-variant-numeric: tabular-nums; white-space: nowrap; }
    .lt-empty { text-align: center; color: #bbb; padding: 22px 0 !important; }

    /* ===== 商品搜索选择器（营销活动/秒杀/拼团/首页推荐通用） ===== */
    .gpicker { display: flex; flex-direction: column; }
    .gpk-tag { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #fff5f6; border: 1px solid #ffd3de; border-radius: 8px; margin-bottom: 8px; }
    .gpk-tag .gp-thumb, .gpk-item .gp-thumb { width: 44px; height: 44px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
    .gpk-tag .gp-thumb img, .gpk-tag .gp-thumb video, .gpk-item .gp-thumb img, .gpk-item .gp-thumb video { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
    .gpk-tag .gp-thumb .thumb-empty, .gpk-item .gp-thumb .thumb-empty { border-radius: 6px; }
    .gpk-tag .gpk-tag-x { margin-left: auto; border: none; background: none; font-size: 18px; line-height: 1; color: #b00; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
    .gpk-tag .gpk-tag-x:hover { background: #ffe4ea; }
    .gpk-search { position: relative; }
    .gpk-drop { position: absolute; z-index: 80; left: 0; right: 0; top: calc(100% + 4px); max-height: 280px; overflow-y: auto; background: #fff; border: 1px solid #eee; border-radius: 8px; box-shadow: 0 10px 28px rgba(0,0,0,.14); }
    .gpk-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid #f5f5f5; cursor: pointer; transition: background .15s; }
    .gpk-item:last-child { border-bottom: none; }
    .gpk-item:hover, .gpk-item.sel { background: #fff5f6; }
    .gpk-info { flex: 1; min-width: 0; }
    .gpk-title { font-size: 13px; color: #2a2a2a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .gpk-meta { font-size: 12px; color: #999; margin-top: 2px; }
    .gpk-pick { flex-shrink: 0; font-size: 12px; color: #ff3b54; border: 1px solid #ffb3c1; padding: 4px 10px; border-radius: 12px; }
    .gp-hint { padding: 14px; text-align: center; color: #bbb; font-size: 13px; }
    .gpicker input[data-gp-input] { width: 100%; }

    /* ===== 管理员登录 ===== */
    .login-mask { display: none; position: fixed; inset: 0; z-index: 2000; background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 55%, #3a2430 100%); justify-content: center; align-items: center; }
    .login-mask.show { display: flex; }
    .login-card { width: 380px; max-width: 90vw; background: #fff; border-radius: 14px; padding: 34px 36px 26px; box-shadow: 0 24px 64px rgba(0,0,0,.45); }
    .login-logo { font-size: 24px; font-weight: 700; color: #2a2a2a; text-align: center; letter-spacing: 3px; }
    .login-sub { font-size: 12px; color: #aaa; text-align: center; margin: 8px 0 24px; letter-spacing: 1px; }
    .login-row { margin-bottom: 14px; }
    .login-row label { display: block; font-size: 13px; color: #666; margin-bottom: 6px; font-weight: 600; }
    .login-row input { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; font-family: inherit; }
    .login-row input:focus { outline: none; border-color: #ff3b54; box-shadow: 0 0 0 2px rgba(255,59,84,.12); }
    .login-err { min-height: 18px; font-size: 12px; color: #c62828; margin: 2px 0 8px; }
    .login-btn { width: 100%; padding: 11px 0; font-size: 15px; border-radius: 22px; }
    .login-tip { margin-top: 14px; font-size: 12px; color: #bbb; text-align: center; }

    /* ========= 抖店式商品列表 ========= */
    .card-box { background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
    .g-filter { padding: 0 18px; margin-bottom: 12px; }
    .g-tabs { display: flex; gap: 26px; border-bottom: 1px solid #f0f0f0; }
    .g-tab { position: relative; padding: 14px 2px 10px; font-size: 14px; color: #666; cursor: pointer; }
    .g-tab:hover { color: #ff3b54; }
    .g-tab.active { color: #ff3b54; font-weight: 600; }
    .g-tab.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #ff3b54; border-radius: 2px; }
    .g-filters { display: flex; gap: 10px; align-items: center; padding: 14px 0; flex-wrap: wrap; }
    .g-filters select, .g-filters input { padding: 7px 12px; border: 1px solid #e3e3e3; border-radius: 6px; background: #fff; font-size: 13px; font-family: inherit; }
    /* 分类下拉：限制宽度并省略超长分类名，避免撑破筛选行或文字被截断不美观 */
    .g-filters select { min-width: 132px; max-width: 200px; text-overflow: ellipsis; }
    .g-filters input { width: 240px; }
    .g-list-meta { font-size: 12px; color: #999; margin: 0 2px 8px; }
    .g-table-wrap { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
    .g-table th, .g-table td { font-size: 13px; }
    .g-col-info { min-width: 280px; }
    .g-col-ops { min-width: 130px; }
    .g-col-sort { width: 96px; }
    .g-sort-cell { display: flex; flex-direction: column; align-items: center; gap: 4px; }
    .g-drag-handle { cursor: grab; color: #aaa; font-size: 16px; line-height: 1; padding: 2px 8px; border-radius: 6px; user-select: none; letter-spacing: -2px; }
    .g-drag-handle:hover { color: #ff3b54; background: #fff0f2; }
    .g-drag-handle:active { cursor: grabbing; }
    .g-sort-btns { display: flex; gap: 2px; }
    .g-sb { width: 22px; height: 20px; padding: 0; border: 1px solid #e3e3e3; background: #fff; border-radius: 4px; font-size: 10px; line-height: 1; cursor: pointer; color: #666; }
    .g-sb:hover:not(:disabled) { border-color: #ff3b54; color: #ff3b54; }
    .g-sb:disabled { opacity: .3; cursor: not-allowed; }
    .g-sort-val { font-size: 11px; color: #bbb; font-family: Consolas, Menlo, monospace; }
    .g-table tbody tr.dragging { opacity: .45; background: #fff8f9; }
    .g-table tbody tr.drop-before { box-shadow: inset 0 3px 0 0 #ff3b54; }
    .g-table tbody tr.drop-after { box-shadow: inset 0 -3px 0 0 #ff3b54; }
    .g-mbadge { display: inline-block; font-size: 10px; font-weight: 600; color: #b02a8f; background: #fdeefb; border: 1px solid #f3c4ea; border-radius: 4px; padding: 0 5px; margin-right: 5px; vertical-align: 1px; }
    .ro-input { background: #f7f7f7 !important; color: #999 !important; cursor: not-allowed; }
    .g-info { display: flex; gap: 10px; align-items: center; }
    .g-info img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #f5f5f5; flex: none; }
    .g-info-t { min-width: 0; }
    .g-title { font-weight: 600; color: #333; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
    .g-sub { font-size: 12px; color: #999; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
    .g-spec { font-size: 11px; color: #bbb; margin-top: 3px; }
    .g-id { color: #999; font-size: 12px; font-family: Consolas, Menlo, monospace; white-space: nowrap; }
    .g-price { color: #ff3b54; font-weight: 600; white-space: nowrap; }
    .g-stock-out { color: #ff3b54; font-weight: 600; }
    .g-time { color: #999; font-size: 12px; white-space: nowrap; }
    .g-status-cell { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
    .g-badge { font-size: 11px; padding: 2px 8px; border-radius: 4px; }
    .g-b-on { background: #eafaf0; color: #18a058; }
    .g-b-out { background: #fff4e5; color: #f08c00; }
    .g-b-off { background: #f2f2f2; color: #999; }

    /* ===== 商品管理重构：多维筛选行 + 徽章体系 + 统计栏 ===== */
    .gf-bar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 10px 0; }
    .gf-bar label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #666; }
    .gf-bar select, .gf-bar input { padding: 6px 8px; border: 1px solid #e3e3e3; border-radius: 6px; background: #fff; font-size: 13px; font-family: inherit; min-width: 120px; }
    .gf-bar input[type=datetime-local] { min-width: 170px; }
    .gf-bar input[type=number] { min-width: 90px; }
    .gf-bar-2 { border-top: 1px solid #eef0f3; margin-top: 4px; padding-top: 10px; }
    /* 新徽章体系 */
    .badge-out-of-stock { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 3px; background: #fef0f0; color: #e74c3c; font-weight: 500; }
    .badge-stock-warn   { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 3px; background: #fef5e7; color: #e67e22; font-weight: 500; }
    .badge-in-activity   { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 3px; background: #e8f4fd; color: #3498db; font-weight: 500; }
    .badge-on-sale       { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 3px; background: #e8f7ee; color: #27ae60; font-weight: 500; }
    .badge-off-shelf     { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 3px; background: #f1f3f5; color: #888; font-weight: 500; }
    .badge-member-only   { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 3px; background: #f5eef8; color: #9b59b6; font-weight: 500; }
    /* 商品名称行徽章 */
    .g-title-row { display: flex; flex-wrap: wrap; gap: 4px 4px; align-items: center; }
    .g-title-row .badge-out-of-stock, .g-title-row .badge-stock-warn, .g-title-row .badge-in-activity,
    .g-title-row .badge-on-sale, .g-title-row .badge-off-shelf, .g-title-row .badge-member-only { margin-right: 4px; }
    /* 底部统计栏 */
    .goods-stats-bar { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 10px 16px; background: #f5f7fa; border-top: 1px solid #eef0f3; font-size: 13px; color: #666; margin-top: 6px; border-radius: 0 0 6px 6px; }
    .goods-stats-bar .stat-num { font-weight: 600; color: #333; font-size: 15px; }
    .goods-stats-bar .stat-num.warn { color: #e67e22; }
    .goods-stats-bar .stat-num.danger { color: #e74c3c; }

    .g-switch { position: relative; display: inline-block; width: 38px; height: 20px; flex: none; }
    .g-switch input { opacity: 0; width: 0; height: 0; }
    .g-switch span { position: absolute; inset: 0; background: #d9d9d9; border-radius: 20px; transition: .2s; cursor: pointer; }
    .g-switch span::before { content: ''; position: absolute; width: 16px; height: 16px; left: 2px; top: 2px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
    .g-switch input:checked + span { background: #ff3b54; }
    .g-switch input:checked + span::before { transform: translateX(18px); }

    /* ========= 商品发布抽屉 ========= */
    .ge-mask { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 500; }
    .ge-mask.show { display: block; }
    .ge-drawer { position: absolute; inset: 0 auto 0 0; width: 1080px; max-width: 96vw; background: #f5f6f8; display: flex; flex-direction: column; box-shadow: 4px 0 24px rgba(0,0,0,.2); }
    .ge-head { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 58px; background: #fff; border-bottom: 1px solid #eee; flex: none; }
    .ge-head-l { display: flex; align-items: baseline; gap: 12px; }
    .ge-head h3 { font-size: 17px; font-weight: 600; color: #2a2a2a; }
    .ge-id { font-size: 12px; color: #999; }
    .ge-close { border: none; background: none; font-size: 26px; color: #999; cursor: pointer; line-height: 1; padding: 4px 8px; }
    .ge-close:hover { color: #333; }
    .ge-body { flex: 1; overflow-y: auto; padding: 20px 24px 28px; }
    .ge-foot { flex: none; background: #fff; border-top: 1px solid #eee; padding: 12px 24px; display: flex; justify-content: flex-end; gap: 12px; }
    .ge-sec { background: #fff; border-radius: 10px; margin-bottom: 16px; overflow: hidden; }
    .ge-sec-h { display: flex; align-items: center; gap: 8px; padding: 14px 18px; font-size: 15px; font-weight: 600; color: #2a2a2a; border-bottom: 1px solid #f4f4f4; }
    .ge-sec-h::before { content: ''; width: 4px; height: 16px; background: #ff3b54; border-radius: 2px; }
    .ge-sec-h .ge-sec-tip { font-size: 12px; color: #bbb; font-weight: 400; }
    .ge-sec-b { padding: 18px; }
    .ge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
    .ge-field { display: flex; align-items: flex-start; }
    .ge-field.full { grid-column: 1 / -1; }
    /* 标签宽度自适应内容，避免「限购（件/账号）」「拼团有效期（小时）」等长标签折行 */
    .ge-field > label { width: auto; min-width: 96px; flex: none; padding-top: 8px; font-size: 13px; color: #555; text-align: right; padding-right: 12px; white-space: nowrap; }
    .ge-field .req::before { content: '*'; color: #ff3b54; margin-right: 2px; }
    .ge-field .ctl { flex: 1; min-width: 0; }
    .ge-field input[type=text], .ge-field input[type=number], .ge-field input[type=date],
    .ge-field input[type=datetime-local], .ge-field input[type=month], .ge-field select, .ge-field textarea {
      width: 100%; height: 36px; padding: 0 12px; border: 1px solid #e3e3e3; border-radius: 6px; font-size: 13px; font-family: inherit; background: #fff; color: #1d2129;
    }
    .ge-field textarea { height: auto; padding: 8px 12px; }
    .ge-field input:focus, .ge-field select:focus, .ge-field textarea:focus { outline: none; border-color: #ff3b54; box-shadow: 0 0 0 2px rgba(255,59,84,.1); }
    .ge-field textarea { resize: vertical; min-height: 84px; }
    .ge-hint { font-size: 12px; color: #aaa; margin-top: 5px; }
    .ge-seg { display: flex; gap: 8px; }
    .ge-seg span { padding: 7px 18px; border: 1px solid #e3e3e3; border-radius: 6px; font-size: 13px; cursor: pointer; background: #fff; color: #555; }
    .ge-seg span.on { border-color: #ff3b54; color: #ff3b54; background: #fff5f6; font-weight: 600; }
    .ge-seg.locked span { cursor: not-allowed; opacity: .78; }
    .ge-fld-tip { font-size: 12px; color: #aaa; margin-top: 4px; line-height: 1.4; }
    /* 商家信息库快捷填充（搜索下拉） */
    .ge-shoppick { position: relative; }
    .ge-shoppick-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; background: #fff; border: 1px solid #e8e8e8; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.10); max-height: 260px; overflow-y: auto; }
    .ge-shoppick-item { padding: 9px 12px; cursor: pointer; border-bottom: 1px solid #f5f5f5; display: flex; flex-direction: column; gap: 2px; }
    .ge-shoppick-item:last-child { border-bottom: none; }
    .ge-shoppick-item:hover { background: #fff5f6; }
    .ge-shoppick-item b { font-size: 13px; color: #333; font-weight: 600; }
    .ge-shoppick-item span { font-size: 12px; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ge-shoppick-empty { padding: 12px; font-size: 12px; color: #999; text-align: center; }
    /* 规格名值 */
    .ge-spec-groups { border: 1px solid #f0f0f0; background: #fcfcfd; border-radius: 10px; padding: 12px 14px 14px; margin-bottom: 12px; }
    .ge-sg-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
    .ge-sg-idx { font-size: 12px; font-weight: 600; color: #ff3b54; background: #fff5f6; border: 1px solid #ffdfe2; border-radius: 20px; padding: 2px 10px; }
    .ge-sg-row { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; }
    .ge-sg-label { flex: none; font-size: 12px; color: #86909c; }
    .ge-sg-count { color: #c2c7d0; margin-left: 2px; }
    .ge-sg-name { width: 180px; height: 34px; flex: none; padding: 0 12px; border: 1px solid #e5e6eb; border-radius: 8px; font-size: 13px; color: #1d2129; background: #fff; transition: border-color .15s, box-shadow .15s; }
    .ge-sg-name::placeholder { color: #c2c7d0; }
    .ge-sg-name:hover { border-color: #c9cdd4; }
    .ge-sg-name:focus { outline: none; border-color: #ff3b54; box-shadow: 0 0 0 3px rgba(255,59,84,.08); }
    .ge-sg-vals { flex: 1; min-width: 320px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
    .ge-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff5f6; border: 1px solid #ffdfe2; border-radius: 8px; padding: 5px 8px 5px 12px; font-size: 12px; color: #d5394a; line-height: 1; }
    .ge-chip b { cursor: pointer; color: #f0a2ab; font-weight: 400; font-size: 15px; line-height: 1; width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: all .15s; }
    .ge-chip b:hover { color: #fff; background: #ff3b54; }
    .ge-chip-input { width: 200px; height: 34px; flex: none; padding: 0 12px; border: 1px solid #e5e6eb; border-radius: 8px; font-size: 12px; color: #1d2129; background: #fff; transition: border-color .15s, box-shadow .15s; }
    .ge-chip-input::placeholder { color: #c2c7d0; }
    .ge-chip-input:hover { border-color: #c9cdd4; }
    .ge-chip-input:focus { outline: none; border-color: #ff3b54; box-shadow: 0 0 0 3px rgba(255,59,84,.08); }
    .ge-add-val { flex: none; height: 34px; padding: 0 16px; border: 1px solid #ffdfe2; border-radius: 8px; background: #fff; color: #ff3b54; font-size: 12px; cursor: pointer; transition: all .15s; }
    .ge-add-val:hover { background: #fff5f6; border-color: #ff3b54; }
    .ge-add-val:active { transform: scale(.96); }
    .ge-sg-del { color: #c2c7d0; cursor: pointer; font-size: 12px; transition: color .15s; }
    .ge-sg-del:hover { color: #ff3b54; }
    .ge-add-spec { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border: 1px dashed #dfdfe6; border-radius: 8px; color: #86909c; font-size: 13px; cursor: pointer; margin-top: 10px; background: #fff; transition: all .15s; }
    .ge-add-spec:hover { color: #ff3b54; border-color: #ff3b54; background: #fff5f6; }
    .ge-sku-tip { font-size: 12px; color: #999; margin: 4px 0 10px; }
    .ge-matrix { width: 100%; border-collapse: collapse; border: 1px solid #eee; border-radius: 8px; }
    .ge-matrix th { background: #fafafa; font-size: 12px; color: #888; font-weight: 600; padding: 9px 10px; border-bottom: 1px solid #eee; text-align: left; }
    .ge-matrix td { padding: 8px 10px; border-bottom: 1px solid #f3f3f3; font-size: 13px; vertical-align: middle; }
    .ge-matrix tr:last-child td { border-bottom: none; }
    .ge-matrix input { width: 100%; height: 32px; padding: 0 10px; border: 1px solid #e8e8e8; border-radius: 6px; font-size: 13px; color: #1d2129; transition: border-color .15s, box-shadow .15s; }
    .ge-matrix input:focus { outline: none; border-color: #ff3b54; box-shadow: 0 0 0 3px rgba(255,59,84,.08); }
    .ge-sku-path { color: #333; white-space: normal; word-break: break-all; max-width: 140px; line-height: 1.4; }
    .ge-sku-pic { width: 42px; height: 42px; border-radius: 6px; border: 1px dashed #ddd; background: #fafafa center/cover no-repeat; cursor: pointer; position: relative; flex: none; }
    .ge-sku-pic::after { content: '+图'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #aaa; }
    .ge-sku-pic.has::after { content: ''; }
    /* SKU 卡片式布局 */
    .ge-sku-card { border: 1px solid #ebedf0; border-radius: 10px; margin-bottom: 12px; background: #fff; overflow: hidden; transition: box-shadow .15s; }
    .ge-sku-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
    .ge-sku-card-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fafbfc; border-bottom: 1px solid #f0f0f0; }
    .ge-sku-card-head .ge-sku-path { font-weight: 600; font-size: 14px; color: #1d2129; max-width: none; flex: 1; }
    .ge-sku-card-body { padding: 16px; }
    /* 列宽自适应且不窄于 168px，保证「限购（件/账号）」等标签与输入框完整显示 */
    .ge-sku-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px 16px; }
    .ge-sku-benefits { margin-top: 14px; padding: 14px 16px; background: #f8f9fa; border-radius: 8px; }
    .ge-sku-benefits-title { font-size: 12px; color: #86909c; margin-bottom: 10px; font-weight: 500; }
    .ge-sku-grid .ge-field label { display: block; flex: none; font-size: 12px; color: #86909c; margin-bottom: 6px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ge-sku-grid .ge-field input { width: 100%; height: 34px; padding: 0 10px; border: 1px solid #e3e3e3; border-radius: 6px; font-size: 13px; color: #1d2129; transition: border-color .15s, box-shadow .15s; }
    .ge-sku-grid .ge-field input:focus { outline: none; border-color: #ff3b54; box-shadow: 0 0 0 3px rgba(255,59,84,.08); }
    .ge-sku-grid .ge-field input::placeholder { color: #c9cdd4; }
    /* 返佣/抽佣/积分：行内标签+单选按钮+输入框 */
    .ge-rule-row { display: flex; align-items: center; gap: 8px; }
    .ge-rule-row + .ge-rule-row { margin-top: 10px; }
    .ge-rule-label { font-size: 12px; color: #86909c; min-width: 56px; flex-shrink: 0; }
    .ge-rule-opts { display: flex; gap: 4px; flex-shrink: 0; }
    .ge-rule-opt { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 26px; padding: 0 6px; font-size: 12px; color: #4e5969; cursor: pointer; border: 1px solid #e3e3e3; border-radius: 4px; background: #fff; transition: all .15s; }
    .ge-rule-opt:hover { border-color: #ff3b54; color: #ff3b54; }
    .ge-rule-opt.on { border-color: #ff3b54; color: #ff3b54; background: #fff5f6; }
    .ge-rule-val { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
    .ge-rule-val input { flex: 1; height: 30px; padding: 0 8px; border: 1px solid #e3e3e3; border-radius: 4px; font-size: 12px; min-width: 0; }
    .ge-rule-val input:focus { outline: none; border-color: #ff3b54; box-shadow: 0 0 0 2px rgba(255,59,84,.08); }
    .ge-rule-unit { font-size: 12px; color: #86909c; min-width: 14px; flex-shrink: 0; }
    .ge-batch { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 12px; color: #777; }
    .ge-batch input { width: 110px; padding: 6px 8px; border: 1px solid #e3e3e3; border-radius: 6px; font-size: 12px; }
    .ge-svc { display: flex; flex-wrap: wrap; gap: 10px; }
    .ge-svc .svc-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #555; border: 1px solid #e3e3e3; border-radius: 6px; padding: 6px 12px; cursor: pointer; background: #fff; user-select: none; }
    .ge-svc .svc-chip.on { border-color: #ff3b54; color: #ff3b54; background: #fff5f6; }
    .ge-svc .svc-chip .svc-x { margin-left: 2px; color: #bbb; font-weight: 400; }
    .ge-svc .svc-chip.on .svc-x { color: #ff3b54; }
    .ge-svc-add { display: flex; gap: 8px; margin-top: 12px; }
    /* 产品参数行 */
    .ge-param-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
    .ge-param-row input { height: 34px; padding: 0 10px; border: 1px solid #e3e3e3; border-radius: 6px; font-size: 13px; }
    .ge-param-row input:focus { outline: none; border-color: #ff3b54; }
    .ge-param-name { width: 220px; flex: none; }
    .ge-param-value { flex: 1; }
    .ge-param-del { flex: none; color: #bbb; cursor: pointer; font-size: 12px; }
    .ge-param-del:hover { color: #ff3b54; }
    .ge-svc-add input { flex: 1; max-width: 240px; padding: 7px 10px; border: 1px solid #e3e3e3; border-radius: 6px; font-size: 13px; }
    .ge-radios { display: flex; gap: 18px; align-items: center; }
    .ge-radios label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #555; cursor: pointer; }
    .ge-err { display: none; background: #fff1f0; color: #cf1322; border: 1px solid #ffccc7; border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; }
    .ge-err.show { display: block; }

    /* ========= 分类管理 ========= */
    .cm-tree { margin: 6px 0 16px; border: 1px solid #f0f0f0; border-radius: 8px; overflow: hidden; }
    .cm-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #f5f5f5; font-size: 13px; }
    .cm-row:last-child { border-bottom: none; }
    .cm-row.child { background: #fafbfc; padding-left: 40px; }
    .cm-row .cm-name { flex: 1; }
    .cm-row .cm-sort { color: #aaa; font-size: 12px; }
    .cm-row .cm-off { color: #f08c00; font-size: 12px; }
    .cm-edit-form { background: #fafbfc; border-radius: 8px; padding: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
    .cm-edit-form input, .cm-edit-form select { padding: 7px 10px; border: 1px solid #e3e3e3; border-radius: 6px; font-size: 13px; font-family: inherit; }
    .cm-empty { text-align: center; color: #999; font-size: 13px; padding: 24px 0; }
    /* 订单卡片内赠品行 */
    .oc-item.oc-gift { background: #fff7f0; border: 1px dashed #ffc59c; border-radius: 8px; padding: 6px 8px; }
    .oc-item .gift-flag { display: inline-block; margin-left: 6px; padding: 0 6px; font-size: 11px; line-height: 16px; color: #fff; background: #ff6a00; border-radius: 4px; vertical-align: middle; }
    .oc-item .gift-amt { color: #ff6a00; }

    /* ========= 主题设计 ========= */
    .theme-designer { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
    .theme-designer .dash-card { max-width: none; width: 100%; }
    .td-left { flex: 1 1 460px; min-width: 0; }
    .td-right { flex: 0 0 380px; position: sticky; top: 74px; }
    @media (max-width: 1100px) { .td-right { position: static; } }
    .td-hint { margin: -6px 0 12px; font-size: 12px; color: #999; }
    .preset-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .preset-card { border: 2px solid transparent; border-radius: 10px; padding: 12px 8px 10px; cursor: pointer; text-align: center; background: #fafafa; transition: border-color .15s, transform .15s; }
    .preset-card:hover { transform: translateY(-2px); }
    .preset-card.active { border-color: #333; background: #fff; }
    .preset-card.active .pc-name { font-weight: 600; }
    .pc-dot { display: flex; gap: 4px; justify-content: center; margin-bottom: 8px; }
    .pc-dot i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
    .pc-name { font-size: 12px; color: #333; }
    .token-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
    .token-item { display: flex; align-items: center; gap: 10px; }
    .token-item input[type="color"] { width: 40px; height: 32px; padding: 0; border: 1px solid #eee; border-radius: 6px; background: none; cursor: pointer; flex-shrink: 0; }
    .token-meta { flex: 1; min-width: 0; line-height: 1.3; }
    .token-meta b { display: block; font-size: 13px; }
    .token-meta span { font-size: 11px; color: #999; }
    .token-hex { width: 78px; font-size: 12px; padding: 6px 8px; border: 1px solid #e5e5e5; border-radius: 6px; font-family: inherit; }
    .td-ctrl-row { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; }
    .td-ctrl-row label { width: 96px; font-size: 13px; color: #555; flex-shrink: 0; }
    .td-ctrl-row select { padding: 7px 10px; border: 1px solid #e5e5e5; border-radius: 6px; font-size: 13px; background: #fff; font-family: inherit; }
    .td-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #555; margin: 4px 0 12px; cursor: pointer; }

    /* ===== 图文描述富文本编辑器（需求 13） ===== */
    .rte-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 6px 8px; border: 1px solid #e5e5e5; border-bottom: none; border-radius: 8px 8px 0 0; background: #fafafa; }
    .rte-btn { border: 1px solid transparent; background: transparent; border-radius: 6px; padding: 4px 8px; font-size: 13px; color: #333; cursor: pointer; line-height: 1.4; font-family: inherit; }
    .rte-btn:hover { background: #fff; border-color: #e5e5e5; }
    .rte-btn:disabled { opacity: .5; cursor: default; }
    .rte-sep { width: 1px; height: 16px; background: #e0e0e0; margin: 0 4px; }
    .rte-editor { min-height: 160px; max-height: 420px; overflow-y: auto; border: 1px solid #e5e5e5; border-radius: 0 0 8px 8px; padding: 12px 14px; font-size: 13px; line-height: 1.7; color: #333; background: #fff; outline: none; font-family: inherit; }
    .rte-editor:focus { border-color: var(--primary, #ff3b54); }
    .rte-editor:empty::before { content: attr(data-placeholder); color: #bbb; pointer-events: none; }
    .rte-editor img { max-width: 100%; border-radius: 6px; margin: 6px 0; }
    .rte-editor font[size="4"] { font-size: 16px; font-weight: 600; }
    .rte-editor font[size="5"] { font-size: 19px; font-weight: 700; }
    .nav-colors { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
    .nav-color-slot { display: flex; flex-direction: column; align-items: center; gap: 4px; }
    .nav-color-slot input[type="color"] { width: 36px; height: 36px; padding: 0; border: 1px solid #eee; border-radius: 8px; background: none; cursor: pointer; }
    .nav-color-slot span { font-size: 11px; color: #999; }
    .td-preview-card { padding-bottom: 22px; }
    /* 手机模拟框 */
    .phone-mock { width: 320px; margin: 0 auto; border-radius: 34px; border: 10px solid #1c1c1e; background: #f6f6f6; overflow: hidden; box-shadow: 0 12px 32px rgba(0, 0, 0, .12); font-size: 12px; }
    .pm-top { padding-bottom: 10px; }
    .pm-statusbar { display: flex; justify-content: space-between; padding: 6px 16px 0; font-size: 10px; }
    .pm-navbar { text-align: center; font-size: 15px; font-weight: 600; padding: 10px 0 6px; }
    .pm-banner { margin: 10px 10px 0; height: 64px; border-radius: 10px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: 2px; }
    .pm-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 4px; padding: 12px 10px 14px; background: #fff; margin-top: 10px; border-radius: 0 0 10px 10px; }
    .pm-nav-item { text-align: center; }
    .pm-nav-ico { width: 40px; height: 40px; margin: 0 auto 4px; display: flex; align-items: center; justify-content: center; font-size: 17px; }
    .pm-nav-txt { font-size: 10px; color: #333; }
    .pm-vip { margin: 10px 10px 0; height: 32px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; letter-spacing: 1px; }
    .pm-section { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #333; margin: 14px 12px 8px; }
    .pm-dot { width: 4px; height: 14px; border-radius: 2px; display: inline-block; }
    .pm-goods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 10px; }
    .pm-gcard { background: #fff; border-radius: 10px; overflow: hidden; }
    .pm-gpic { height: 70px; }
    .pm-gname { padding: 6px 8px 2px; font-size: 11px; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pm-gbottom { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 8px; }
    .pm-gprice { font-weight: 700; font-size: 13px; }
    .pm-gbuy { color: #fff; font-size: 11px; padding: 3px 10px; display: inline-block; }
    .pm-tabbar { display: flex; background: #fff; border-top: 1px solid #c8c8c8; margin-top: 14px; }
    .pm-tab { flex: 1; text-align: center; font-size: 10px; color: #999; padding: 4px 0 5px; }
    .pm-tab-ico { width: 22px; height: 22px; margin: 0 auto 1px; background: currentColor; }

  
    /* ===== 主题设计 · 功能入口按钮管理 ===== */
    .td-entry-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
    .td-entry-item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid #eee; border-radius: 10px; background: #fafafa; }
    .td-entry-item.td-entry-off { opacity: .5; }
    .td-entry-ico { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; flex: none; overflow: hidden; }
    .td-entry-ico img { width: 100%; height: 100%; object-fit: cover; }
    .td-entry-meta { flex: 1; min-width: 0; }
    .td-entry-name { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; }
    .td-entry-sub { font-size: 12px; color: #999; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .pm-nav-ico { overflow: hidden; }
    .pm-nav-ico img { width: 100%; height: 100%; object-fit: cover; }

    /* ===== 店铺装修 · 可视化首页编辑器 ===== */
    .decor-wrap { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
    .decor-phone-col { display: flex; gap: 16px; align-items: flex-start; }
    .decor-phone { margin: 0; max-height: 640px; overflow-y: auto; flex: none; }
    .decor-phone::-webkit-scrollbar { width: 0; }
    /* 组件库 */
    .decor-palette { width: 168px; flex: none; background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 12px; }
    .dp-title { font-size: 13px; font-weight: 600; color: #333; margin-bottom: 10px; }
    .dp-title span { font-size: 11px; font-weight: 400; color: #999; }
    .dp-sel-wrap { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: #999; }
    .dp-page-sel { width: 100%; height: 28px; font-size: 12px; color: #333; background: #fff; border: 1px solid #e2e2e2; border-radius: 6px; padding: 0 6px; }
    .dp-page-sel:focus { outline: none; border-color: var(--primary, #ff3b54); }
    .dp-sel-hint { font-size: 11px; color: #999; margin: 4px 0 10px; }
    .dp-grid { display: flex; flex-direction: column; gap: 8px; }
    .dp-item { display: flex; align-items: center; gap: 7px; padding: 9px 10px; border: 1px dashed #ddd; border-radius: 8px; font-size: 12px; color: #333; cursor: grab; background: #fafafa; transition: border-color .15s, background .15s; user-select: none; overflow: hidden; }
    .dp-item:hover { border-color: var(--primary, #ff3b54); background: #fff5f6; }
    .dp-item i { font-style: normal; font-size: 15px; flex: none; width: 17px; text-align: center; line-height: 1; }
    .dp-name { font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    /* 预览模块：悬浮蓝虚线框 + 选中实线 + 浮动工具条 */
    .dc-mod { position: relative; cursor: pointer; transition: outline-color .12s; outline: 2px dashed transparent; outline-offset: -2px; }
    .dc-mod:hover { outline-color: #4096ff; }
    .dc-mod.sel { outline: 2px solid #4096ff; outline-offset: -2px; }
    .dc-mod.off .dc-body { opacity: .38; filter: grayscale(.6); }
    .dc-tag { position: absolute; top: 0; left: 0; z-index: 3; background: #4096ff; color: #fff; font-size: 10px; padding: 2px 7px; border-radius: 0 0 6px 0; opacity: 0; transition: opacity .12s; pointer-events: none; }
    .dc-mod:hover .dc-tag, .dc-mod.sel .dc-tag { opacity: 1; }
    .dc-tools { position: absolute; top: 0; right: 0; z-index: 4; display: none; gap: 3px; background: #fff; border: 1px solid #dbe7ff; border-radius: 8px; padding: 3px; box-shadow: 0 4px 12px rgba(64, 150, 255, .18); }
    .dc-mod:hover .dc-tools, .dc-mod.sel .dc-tools { display: flex; }
    .dc-tools button { width: 22px; height: 22px; border: none; background: #f0f6ff; color: #2f7cf6; border-radius: 5px; font-size: 12px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
    .dc-tools button:hover:not(:disabled) { background: #4096ff; color: #fff; }
    .dc-tools button:disabled { opacity: .35; cursor: not-allowed; }
    .dc-mod.dc-drop-before { box-shadow: 0 -3px 0 0 #4096ff; }
    .dc-mod.dc-drop-after { box-shadow: 0 3px 0 0 #4096ff; }
    /* 预览模块体 */
    .dc-p-banner { margin: 10px 10px 0; height: 96px; border-radius: 10px; background: linear-gradient(90deg, var(--c-pink, #ff8fa3), var(--c-primary, #ff3b54)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: 2px; position: relative; overflow: hidden; }
    .dc-p-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .dc-dots { position: absolute; bottom: 6px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; }
    .dc-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.55); }
    .dc-dots i.on { background: #fff; width: 10px; border-radius: 3px; }
    .dc-p-notice { margin: 10px 10px 0; background: #fff; border-radius: 8px; padding: 8px 10px; font-size: 11px; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .dc-p-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 10px 0; }
    .dc-p-topic { height: 68px; border-radius: 10px; overflow: hidden; background: #eee; }
    .dc-p-topic img { width: 100%; height: 100%; object-fit: cover; }
    .dc-p-topic.dc-ph { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; background: linear-gradient(135deg, var(--c-pink, #ff8fa3), var(--c-primary, #ff3b54)); }
    .dc-p-vip { margin: 10px 10px 0; height: 36px; border-radius: 18px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; color: #fff; font-size: 12px; font-weight: 600; }
    .dc-p-vip span { font-size: 10px; font-weight: 400; opacity: .92; }
    .dc-p-praise { display: flex; gap: 8px; padding: 0 10px; overflow: hidden; }
    .dc-p-praise-card { flex: none; width: 108px; background: #fff; border-radius: 10px; padding: 8px 9px; }
    .dc-p-praise-card b { font-size: 11px; color: #333; display: block; margin-bottom: 3px; }
    .dc-p-praise-card p { margin: 0; font-size: 10px; color: #888; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .dc-p-empty { margin: 0 12px; padding: 10px; background: #fff; border-radius: 8px; font-size: 11px; color: #999; text-align: center; }
    .pm-section small { font-weight: 400; color: #999; font-size: 10px; margin-left: 4px; }
    /* 优惠券包 / 会员权益预览（装修二期） */
    .dc-p-coupons { display: flex; gap: 8px; padding: 0 10px; }
    .dc-p-coupon { flex: 1; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #fff1f0, #ffe3e3); border: 1px dashed #ffb3b3; border-radius: 8px; padding: 7px 9px; }
    .dc-p-coupon-amt { display: flex; align-items: baseline; gap: 4px; }
    .dc-p-coupon-amt b { font-size: 15px; color: var(--primary, #ff3b54); }
    .dc-p-coupon-amt span { font-size: 9px; color: #c96; }
    .dc-p-coupon-btn { font-size: 10px; color: #fff; background: var(--primary, #ff3b54); border-radius: 20px; padding: 2px 9px; }
    .dc-p-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 10px; }
    .dc-p-benefit { background: #fff; border-radius: 8px; padding: 8px 4px; text-align: center; }
    .dc-p-benefit i { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; font-style: normal; font-size: 13px; color: #8a6a2f; }
    .dc-p-benefit b { display: block; font-size: 10px; color: #333; margin-top: 3px; }
    .dc-p-benefit span { display: block; font-size: 9px; color: #999; transform: scale(.9); }
    .dp-item em { font-style: normal; margin-left: auto; font-size: 10px; color: #bbb; white-space: nowrap; }
    /* 右侧配置面板 */
    .decor-conf { flex: 1; min-width: 340px; max-width: 520px; background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 16px; }
    .dc-conf-empty { color: #999; font-size: 13px; text-align: center; padding: 60px 0; line-height: 2; }
    /* 「我的」页常用服务入口 · 装修页内编辑 */
    .dc-svc-box { border: 1px solid #eee; border-radius: 10px; padding: 12px; margin-bottom: 14px; background: #fbfbfc; }
    .dc-svc-head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
    .dc-svc-head b { font-size: 13px; color: #1f2329; }
    .dc-svc-head span { font-size: 11px; color: #999; line-height: 1.5; }
    .dc-svc-row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
    .dc-svc-row input { height: 26px; border: 1px solid #ddd; border-radius: 6px; padding: 0 6px; font-size: 12px; min-width: 0; }
    .dc-svc-row .dc-svc-ic { width: 44px; text-align: center; }
    .dc-svc-row .dc-svc-name { flex: 1; min-width: 70px; }
    .dc-svc-row .dc-svc-page { flex: 1.4; min-width: 90px; }
    .dc-svc-row .dc-svc-color { width: 78px; }
    .dc-svc-row .dc-svc-sort { width: 46px; text-align: center; }
    .dc-svc-on { font-size: 12px; color: #666; white-space: nowrap; display: flex; align-items: center; gap: 3px; }
    .dc-svc-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; }
    .dc-conf-head { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 6px; }
    .dc-conf-ico { font-size: 18px; }
    .dc-conf-hint { font-size: 12px; color: #999; line-height: 1.6; margin-bottom: 12px; }
    .dc-switch { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #333; margin-bottom: 14px; padding: 10px 12px; background: #f7f9fc; border-radius: 8px; cursor: pointer; user-select: none; }
    .dc-switch input { accent-color: var(--primary, #ff3b54); width: 16px; height: 16px; }
    .dc-item { border: 1px solid #eee; border-radius: 10px; padding: 12px; margin-bottom: 12px; background: #fafafa; }
    .dc-item-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: #333; margin-bottom: 10px; }
    .dc-link-row { display: flex; gap: 8px; margin-top: 10px; }
    .dc-link-row input { flex: 1; min-width: 0; border: 1px solid #e5e5e5; border-radius: 8px; padding: 8px 10px; font-size: 12px; color: #333; background: #f6f6f6; }
    .dc-link-preview { margin-top: 6px; font-size: 12px; color: #2f7cf6; }
    .dc-link-preview::before { content: '🔗 '; }
    .decor-conf .form-row { margin-bottom: 10px; }
    .decor-conf .mp-drop { height: auto; aspect-ratio: var(--mp-ratio, auto); }
    /* 链接选择弹窗 */
    .dlp-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 3200; display: flex; align-items: center; justify-content: center; }
    .dlp-modal { width: 560px; max-width: calc(100vw - 48px); background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 48px rgba(0,0,0,.22); }
    .dlp-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #f0f0f0; font-size: 15px; }
    .dlp-x { border: none; background: #f2f2f2; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; color: #666; font-size: 13px; }
    .dlp-x:hover { background: #e5e5e5; }
    .dlp-tabs { display: flex; gap: 4px; padding: 10px 18px 0; }
    .dlp-tabs button { border: 1px solid #e5e5e5; background: #fafafa; color: #666; border-radius: 8px 8px 0 0; border-bottom: none; padding: 8px 14px; font-size: 13px; cursor: pointer; }
    .dlp-tabs button.active { background: #fff; color: var(--primary, #ff3b54); border-color: var(--primary, #ff3b54); font-weight: 600; }
    .dlp-body { border-top: 1px solid #f0f0f0; padding: 14px 18px 18px; }
    .dlp-search input { width: 100%; box-sizing: border-box; border: 1px solid #e5e5e5; border-radius: 8px; padding: 9px 12px; font-size: 13px; }
    .dlp-list { margin-top: 10px; max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
    .dlp-hint { color: #999; font-size: 12px; text-align: center; padding: 20px 0; }
    .dlp-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid #eee; border-radius: 10px; cursor: pointer; transition: border-color .12s, background .12s; }
    .dlp-row:hover { border-color: var(--primary, #ff3b54); background: #fff7f8; }
    .dlp-row.dlp-cat-child { margin-left: 18px; border-left: 3px solid #ffe0e5; }
    .dlp-thumb { width: 40px; height: 40px; flex: none; border-radius: 8px; overflow: hidden; background: #f2f2f2; display: flex; align-items: center; justify-content: center; font-size: 16px; }
    .dlp-thumb img, .dlp-thumb video { width: 100%; height: 100%; object-fit: cover; }
    .dlp-thumb .thumb-empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 11px; }
    .dlp-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
    .dlp-info b { font-size: 13px; color: #333; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .dlp-info span { font-size: 11px; color: #999; }
    .dlp-page { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
    .dlp-page select, .dlp-page input { border: 1px solid #e5e5e5; border-radius: 8px; padding: 9px 12px; font-size: 13px; width: 100%; box-sizing: border-box; }
    .dlp-page .btn { align-self: flex-end; }
    /* 跳转预览卡（测试跳转） */
    .dgp-modal { width: 420px; }
    .dgp-body { display: flex; gap: 14px; padding: 18px; }
    .dgp-pic { width: 120px; height: 120px; flex: none; border-radius: 10px; overflow: hidden; background: #f2f2f2; display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 12px; }
    .dgp-pic img { width: 100%; height: 100%; object-fit: cover; }
    .dgp-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
    .dgp-meta b { font-size: 14px; color: #333; }
    .dgp-meta span { font-size: 12px; color: #999; }
    .dgp-meta p { margin: 4px 0 0; font-size: 12px; color: #666; line-height: 1.6; }

/* ═══ 店铺装修 · 手机预览 1:1 镜像样式 ═══
   基准 = 小程序真实 wxss（预览宽 375px = 750rpx，故全部 rpx 值 ÷2）：
   dmh- 首页 pages/home/index.wxss；dmd- 共享模板 app.wxss dp- 段；dcs- 四页骨架（mall/list/card/my）。
   ⚠ 同步约定：小程序对应 wxss 改动时必须同步本块（见 AGENTS.md §4.4 店铺装修）。 */
#decor-phone { width: 375px; }
#decor-phone .dcs-page { min-height: 320px; padding-bottom: 10px; }
#decor-phone .dcs-page-home { background: #fafafa; }
#decor-phone .dcs-page-mall { background: #f6f6f8; }
#decor-phone .dcs-page-category { background: #f8f8f8; }
#decor-phone .dcs-page-card { background: #f8f8f8; }
#decor-phone .dcs-page-my { background: #f5f5f5; }
#decor-phone .dcs-page-points,
#decor-phone .dcs-page-getcoupon,
#decor-phone .dcs-page-redeem,
#decor-phone .dcs-page-signin,
#decor-phone .dcs-page-transfer,
#decor-phone .dcs-page-leader { background: #fafafa; }
#decor-phone .dcs-drop-hint { margin: 14px 10px; padding: 18px 10px; border: 1.5px dashed #d9a441; border-radius: 10px; text-align: center; font-size: 11px; line-height: 1.8; color: #b4862f; background: #fffdf6; }

/* 渐变占位：dcs-ph = 各页面 ph-0/1/2；dmd-ph = app.wxss dp-ph-0/1/2 */
#decor-phone .dcs-ph-0 { background: linear-gradient(135deg, var(--c-pink-soft), var(--c-primary)); }
#decor-phone .dcs-ph-1 { background: linear-gradient(135deg, #ffb053, #ff7a3c); }
#decor-phone .dcs-ph-2 { background: linear-gradient(135deg, #5b8cff, #7b6cf6); }
#decor-phone .dmd-ph-0 { background: linear-gradient(120deg, var(--c-primary), var(--c-pink)); }
#decor-phone .dmd-ph-1 { background: linear-gradient(120deg, var(--c-gold), var(--c-gold-soft)); }
#decor-phone .dmd-ph-2 { background: linear-gradient(120deg, var(--c-pink-soft), var(--c-primary-soft)); }
#decor-phone .dcs-ad-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
#decor-phone .dcs-ad-ph b { color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.18); }

/* CSS 图标（对齐小程序 ico-*，currentColor） */
#decor-phone .dcs-ico { display: inline-block; vertical-align: middle; flex: none; position: relative; }
#decor-phone .dcs-ico-search { width: 9px; height: 9px; border: 1.5px solid currentColor; border-radius: 50%; }
#decor-phone .dcs-ico-search::after { content: ''; position: absolute; width: 5px; height: 1.5px; background: currentColor; right: -4px; bottom: -2px; transform: rotate(45deg); border-radius: 1px; }
#decor-phone .dcs-ico-horn { width: 12px; height: 11px; background: currentColor; clip-path: polygon(0 30%, 35% 30%, 100% 0, 100% 100%, 35% 70%, 0 70%); }
#decor-phone .dcs-ico-bell { width: 11px; height: 12px; background: currentColor; clip-path: polygon(50% 0, 78% 8%, 90% 34%, 90% 70%, 100% 82%, 100% 88%, 0 88%, 0 82%, 10% 70%, 10% 34%, 22% 8%); }
#decor-phone .dcs-ico-loc { width: 10px; height: 10px; background: currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
#decor-phone .dcs-ico-back { width: 9px; height: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
#decor-phone .dcs-ico-arrow { width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
#decor-phone .dcs-ico-plus { width: 10px; height: 10px; }
#decor-phone .dcs-ico-plus::before, #decor-phone .dcs-ico-plus::after { content: ''; position: absolute; left: 0; top: 4px; width: 10px; height: 2px; background: currentColor; border-radius: 1px; }
#decor-phone .dcs-ico-plus::after { transform: rotate(90deg); }
#decor-phone .dcs-ico-heart::before { content: '♥'; font-size: 12px; line-height: 1; color: currentColor; }

/* ── dmh- 首页镜像（pages/home/index.wxss）── */
#decor-phone .dmh-hd { background: var(--c-pink-soft); }
#decor-phone .dmh-hd-bar { display: flex; align-items: center; padding: 0 12px; height: 44px; }
#decor-phone .dmh-hd-loc { display: flex; align-items: center; gap: 3px; color: #fff; font-size: 14px; margin-right: 9px; }
#decor-phone .dmh-hd-loc-t { max-width: 55px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#decor-phone .dmh-hd-input { flex: 1; display: flex; align-items: center; height: 30px; background: rgba(255,255,255,.94); border-radius: 30px; padding: 0 12px; }
#decor-phone .dmh-hd-ico { margin-right: 6px; color: var(--c-pink-soft); }
#decor-phone .dmh-hd-ph { color: #a8a8a8; font-size: 13px; }
#decor-phone .dmh-hd-msg { position: relative; margin-left: 10px; color: #fff; display: flex; }
#decor-phone .dmh-hd-dot { position: absolute; top: -1px; right: -1px; width: 7px; height: 7px; border-radius: 50%; background: var(--c-primary); border: 1px solid #fff; }
#decor-phone .dmh-wrap { position: relative; z-index: 1; padding: 0 10px; }
#decor-phone .dmh-banner { position: relative; width: 100%; height: 140px; margin-top: 8px; border-radius: 8px; overflow: hidden; background: #f2f2f2; }
#decor-phone .dmh-banner-img { width: 100%; height: 100%; object-fit: cover; display: block; }
#decor-phone .dmh-banner-ph { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 20px; box-sizing: border-box; position: relative; }
#decor-phone .dmh-banner-ph-t { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 1px; text-shadow: 0 1px 4px rgba(0,0,0,.18); }
#decor-phone .dmh-banner-ph-s { color: #fff; font-size: 12px; margin-top: 6px; opacity: .92; }
#decor-phone .dmh-dots { position: absolute; left: 0; right: 0; bottom: 7px; display: flex; justify-content: center; gap: 5px; z-index: 2; }
#decor-phone .dmh-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.5); }
#decor-phone .dmh-dots i.on { background: var(--c-primary); }
#decor-phone .dmh-nav { display: flex; flex-wrap: wrap; padding: 14px 0 4px; margin-top: 8px; background: #fff; border-radius: 8px; }
#decor-phone .dmh-nav-item { width: 25%; display: flex; flex-direction: column; align-items: center; margin-bottom: 12px; }
#decor-phone .dmh-nav-ico { position: relative; width: 44px; height: 44px; border-radius: var(--nav-radius); display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(0,0,0,.08); color: #fff; font-size: 19px; font-weight: 600; overflow: hidden; }
#decor-phone .dmh-nav-ico img { width: 32px; height: 32px; object-fit: contain; }
#decor-phone .dmh-nav-name { margin-top: 6px; font-size: 12px; color: #2a2a2a; }
#decor-phone .dmh-notice { display: flex; align-items: center; height: 32px; margin-top: 8px; padding: 0 10px; background: #f5f5f5; border-radius: 6px; color: #ffb053; }
#decor-phone .dmh-notice-txt { flex: 1; min-width: 0; margin-left: 6px; font-size: 12px; color: #4e4e4e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#decor-phone .dmh-notice-more { flex-shrink: 0; font-size: 11px; color: #ffb053; padding-left: 8px; margin-left: 6px; border-left: 0.5px solid #e0e0e0; }
#decor-phone .dmh-topics { display: flex; justify-content: space-between; margin-top: 12px; }
#decor-phone .dmh-topic { position: relative; width: 48.5%; height: 100px; border-radius: 8px; overflow: hidden; }
#decor-phone .dmh-topic img { width: 100%; height: 100%; object-fit: cover; display: block; }
#decor-phone .dmh-topic-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
#decor-phone .dmh-topic-ph span { color: rgba(255,255,255,.85); font-size: 11px; letter-spacing: 0.5px; margin: 0 10px 23px; }
#decor-phone .dmh-topic-mask { position: absolute; left: 0; right: 0; bottom: 0; height: 45px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.6)); }
#decor-phone .dmh-topic-title { position: absolute; left: 10px; bottom: 9px; color: #fff; font-size: 14px; font-weight: 500; z-index: 2; }
#decor-phone .dmh-sec-head { display: flex; align-items: center; padding: 16px 4px 8px; }
#decor-phone .dmh-sec-bar { width: 3px; height: 15px; background: linear-gradient(180deg, var(--c-pink), var(--c-primary)); border-radius: 3px; margin-right: 8px; }
#decor-phone .dmh-sec-title { font-size: 16px; font-weight: 600; color: #2a2a2a; }
#decor-phone .dmh-sec-sub { margin-left: 7px; font-size: 11px; color: #969696; }
#decor-phone .dmh-goods { display: flex; flex-wrap: wrap; justify-content: space-between; }
#decor-phone .dmh-gcard { width: 48.5%; background: #fff; border-radius: 8px; overflow: hidden; margin-bottom: 9px; }
#decor-phone .dmh-gpic { position: relative; width: 100%; height: 170px; background: #f2f2f2; }
#decor-phone .dmh-gpic img { width: 100%; height: 100%; object-fit: cover; display: block; }
#decor-phone .dmh-goods-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
#decor-phone .dmh-goods-ph span { color: #fff; font-size: 13px; font-weight: 700; padding: 4px 11px; border-radius: 16px; background: rgba(255,255,255,.18); border: 0.5px solid rgba(255,255,255,.3); letter-spacing: 1px; }
#decor-phone .dmh-goods-tag { position: absolute; left: 0; top: 0; padding: 2px 7px; font-size: 10px; color: #fff; background: var(--btn-bg); border-radius: 8px 0 8px 0; }
#decor-phone .dmh-ginfo { padding: 7px 9px 9px; }
#decor-phone .dmh-gname { font-size: 13px; color: #2a2a2a; line-height: 1.4; height: 37px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#decor-phone .dmh-gbtm { display: flex; align-items: baseline; margin-top: 5px; }
#decor-phone .dmh-price { color: var(--c-price); font-size: 16px; font-weight: 700; }
#decor-phone .dmh-price i { font-style: normal; font-size: 0.7em; }
#decor-phone .dmh-price-old { margin-left: 5px; color: #969696; font-size: 0.8em; font-size: 11px; text-decoration: line-through; }
#decor-phone .dmh-gsold { display: block; font-size: 10px; color: #969696; margin-top: 3px; }
#decor-phone .dmh-vip { display: flex; align-items: center; margin-top: 8px; padding: 12px 14px; background: var(--btn-gold-bg); border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,.10); }
#decor-phone .dmh-vip-t { flex-shrink: 0; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0.5px; }
#decor-phone .dmh-vip-s { flex: 1; min-width: 0; margin-left: 8px; color: rgba(255,255,255,.88); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#decor-phone .dmh-vip-arrow { flex-shrink: 0; margin-left: 6px; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1; }
#decor-phone .dmh-praise { width: 100%; white-space: nowrap; overflow-x: auto; }
#decor-phone .dmh-praise-card { display: inline-flex; flex-direction: column; vertical-align: top; width: 150px; margin-right: 8px; padding: 10px 11px; background: #fff; border-radius: 8px; box-sizing: border-box; }
#decor-phone .dmh-praise-name { font-size: 12px; font-weight: 600; color: #2a2a2a; }
#decor-phone .dmh-praise-text { margin-top: 5px; font-size: 12px; color: #666; line-height: 1.5; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#decor-phone .dmh-list-end { text-align: center; color: #b4b4b4; font-size: 11px; padding: 10px 0 5px; }
#decor-phone .dmh-list-more { display: flex; justify-content: center; align-items: center; padding: 5px 0 10px; }
#decor-phone .dmh-more-btn { padding: 7px 18px; margin: 0 6px; font-size: 13px; color: #fff; background: var(--c-primary); border-radius: 999px; }
#decor-phone .dmh-more-ghost { color: var(--c-primary); background: transparent; border: 1px solid var(--c-primary); box-sizing: border-box; }

/* ── dmd- 共享模板镜像（app.wxss dp- 段）── */
#decor-phone .dmd-banner { position: relative; height: 150px; margin: 10px 10px 0; border-radius: var(--radius); overflow: hidden; }
#decor-phone .dmd-banner-img { width: 100%; height: 150px; object-fit: cover; display: block; }
#decor-phone .dmd-banner-ph { width: 100%; height: 150px; display: flex; align-items: center; justify-content: center; }
#decor-phone .dmd-banner-ph-t { color: #fff; font-size: 17px; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.2); }
#decor-phone .dmd-nav { display: flex; flex-wrap: wrap; background: var(--c-card); border-radius: var(--radius); margin: 10px 10px 0; padding: 12px 4px 4px; }
#decor-phone .dmd-nav-item { width: 20%; display: flex; flex-direction: column; align-items: center; margin-bottom: 10px; }
#decor-phone .dmd-nav-ico { width: 44px; height: 44px; border-radius: var(--nav-radius); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
#decor-phone .dmd-nav-ico img { width: 28px; height: 28px; object-fit: contain; }
#decor-phone .dmd-nav-char { font-size: 17px; font-weight: 600; color: var(--nav-text); }
#decor-phone .dmd-nav-name { font-size: 11px; color: #333; margin-top: 4px; }
#decor-phone .dmd-notice { display: flex; align-items: center; background: var(--c-card); border-radius: var(--radius); margin: 10px 10px 0; padding: 8px 10px; }
#decor-phone .dmd-notice-horn { font-size: 13px; margin-right: 6px; flex: none; }
#decor-phone .dmd-notice-txt { flex: 1; min-width: 0; font-size: 12px; color: #8a6a2f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#decor-phone .dmd-topics { display: flex; gap: 8px; margin: 10px 10px 0; }
#decor-phone .dmd-topic { flex: 1; position: relative; height: 110px; border-radius: var(--radius); overflow: hidden; }
#decor-phone .dmd-topic img, #decor-phone .dmd-topic-ph { width: 100%; height: 110px; object-fit: cover; display: block; }
#decor-phone .dmd-topic-mask { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.35)); }
#decor-phone .dmd-topic-title { position: absolute; left: 8px; bottom: 6px; color: #fff; font-size: 13px; font-weight: 600; }
#decor-phone .dmd-sec-head { display: flex; align-items: baseline; margin: 16px 10px 8px; }
#decor-phone .dmd-sec-bar { width: 4px; height: 14px; background: var(--c-primary); border-radius: 2px; margin-right: 6px; align-self: center; }
#decor-phone .dmd-sec-title { font-size: 15px; font-weight: 600; color: #222; }
#decor-phone .dmd-sec-sub { font-size: 11px; color: #999; margin-left: 6px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#decor-phone .dmd-goods { display: flex; flex-wrap: wrap; justify-content: space-between; margin: 0 10px; }
#decor-phone .dmd-gcard { width: calc(50% - 4px); background: var(--c-card); border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; }
#decor-phone .dmd-gpic { position: relative; }
#decor-phone .dmd-gimg, #decor-phone .dmd-gph { width: 100%; height: 171px; object-fit: cover; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
#decor-phone .dmd-gtag { position: absolute; left: 0; top: 0; background: var(--c-primary); color: #fff; font-size: 10px; padding: 2px 7px; border-radius: 0 0 6px 0; }
#decor-phone .dmd-ginfo { padding: 7px 8px 8px; }
#decor-phone .dmd-gname { font-size: 13px; color: #222; line-height: 1.4; min-height: 36px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#decor-phone .dmd-gbtm { display: flex; align-items: baseline; gap: 5px; margin-top: 4px; }
#decor-phone .dmd-gprice { color: var(--c-price); font-weight: 600; font-size: 16px; }
#decor-phone .dmd-gprice i { font-style: normal; font-size: 0.7em; }
#decor-phone .dmd-gold { color: #999; font-size: 11px; text-decoration: line-through; }
#decor-phone .dmd-gsold { font-size: 10px; color: #b0b0b0; }
#decor-phone .dmd-vip { display: flex; align-items: center; gap: 6px; margin: 10px 10px 0; padding: 10px 12px; border-radius: var(--radius); background: var(--btn-gold-bg); }
#decor-phone .dmd-vip-t { color: #2a2a2a; font-size: 14px; font-weight: 700; }
#decor-phone .dmd-vip-s { color: rgba(42,42,42,.75); font-size: 11px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#decor-phone .dmd-vip-arrow { color: #2a2a2a; font-size: 17px; }
#decor-phone .dmd-praise { white-space: nowrap; padding-left: 10px; overflow-x: auto; }
#decor-phone .dmd-praise-card { display: inline-block; width: 130px; background: var(--c-card); border-radius: var(--radius); padding: 8px; margin-right: 7px; white-space: normal; vertical-align: top; }
#decor-phone .dmd-praise-name { display: block; font-size: 12px; color: #333; font-weight: 600; margin-bottom: 4px; }
#decor-phone .dmd-praise-text { display: block; font-size: 11px; color: #888; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#decor-phone .dmd-coupons { display: flex; gap: 8px; margin: 0 10px; }
#decor-phone .dmd-coupon { flex: 1; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, var(--c-primary-soft2), var(--c-primary-soft)); border: 0.5px dashed var(--c-primary); border-radius: var(--radius); padding: 9px 10px; }
#decor-phone .dmd-coupon-amt { display: flex; flex-direction: column; gap: 2px; }
#decor-phone .dmd-coupon-num { color: var(--c-primary); font-size: 17px; font-weight: 700; }
#decor-phone .dmd-coupon-cond { color: #b07a6a; font-size: 10px; }
#decor-phone .dmd-coupon-btn { background: var(--c-primary); color: #fff; font-size: 11px; padding: 4px 11px; border-radius: 999px; flex: none; }
#decor-phone .dmd-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 0 10px; }
#decor-phone .dmd-benefit { background: var(--c-card); border-radius: var(--radius); padding: 10px 4px; text-align: center; }
#decor-phone .dmd-benefit-ico { width: 32px; height: 32px; margin: 0 auto; border-radius: 10px; background: var(--btn-gold-bg); color: #2a2a2a; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
#decor-phone .dmd-benefit-name { display: block; font-size: 12px; color: #333; margin-top: 5px; font-weight: 600; }
#decor-phone .dmd-benefit-desc { display: block; font-size: 9px; color: #999; margin-top: 1px; }

/* ── dcs- 商城页骨架（pages/mall/index.wxss）── */
#decor-phone .dcs-mall-hd { background: linear-gradient(180deg, #f5d98a 0%, #e8c25a 50%, #d4a843 100%); padding: 10px 12px 30px; }
#decor-phone .dcs-mall-search { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.85); border-radius: 16px; padding: 8px 12px; margin-bottom: 8px; color: #b8902a; }
#decor-phone .dcs-mall-search-ph { color: #999; font-size: 13px; }
#decor-phone .dcs-mall-user { display: flex; align-items: center; gap: 10px; }
#decor-phone .dcs-mall-av { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); background: rgba(255,255,255,.28); display: flex; align-items: center; justify-content: center; flex: none; }
#decor-phone .dcs-mall-av b { color: #fff; font-size: 22px; }
#decor-phone .dcs-mall-uinfo { flex: 1; min-width: 0; }
#decor-phone .dcs-mall-uname { color: #3a2a00; font-size: 16px; font-weight: 600; }
#decor-phone .dcs-mall-uname i { font-style: normal; background: rgba(255,255,255,.7); color: #8a6d00; font-size: 10px; padding: 1px 6px; border-radius: 4px; margin-left: 4px; }
#decor-phone .dcs-mall-grow { height: 4px; background: rgba(255,255,255,.4); border-radius: 2px; margin-top: 5px; overflow: hidden; }
#decor-phone .dcs-mall-grow em { display: block; height: 100%; background: #fff; border-radius: 2px; }
#decor-phone .dcs-mall-grow-t { color: #5a4500; font-size: 10px; margin-top: 3px; }
#decor-phone .dcs-mall-adtop { position: relative; height: 150px; margin-top: 10px; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 13px rgba(214,30,64,.22); }
#decor-phone .dcs-mall-adtop img { width: 100%; height: 100%; object-fit: cover; display: block; }
#decor-phone .dcs-mall-points { position: relative; z-index: 3; display: flex; background: #fff; border-radius: 8px; margin: -15px 12px 0; padding: 14px 0; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
#decor-phone .dcs-mall-pc-l, #decor-phone .dcs-mall-pc-r { flex: 1; display: flex; flex-direction: column; align-items: center; }
#decor-phone .dcs-mall-pc-r { border-left: 1px solid #eee; }
#decor-phone .dcs-mall-pc-l b { font-size: 18px; font-weight: 700; color: #ff5000; }
#decor-phone .dcs-mall-pc-r b { font-size: 13px; font-weight: 600; color: #2a2a2a; }
#decor-phone .dcs-mall-pc-l span, #decor-phone .dcs-mall-pc-r span { font-size: 11px; color: #999; margin-top: 2px; }
#decor-phone .dcs-mwrap { position: relative; z-index: 2; padding: 0 10px; }
#decor-phone .dcs-notice { display: flex; align-items: center; height: 36px; margin-top: 10px; padding: 0 11px; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.04); color: var(--c-primary); }
#decor-phone .dcs-notice-txt { flex: 1; min-width: 0; margin-left: 6px; font-size: 12px; color: var(--c-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#decor-phone .dcs-notice-more { flex: none; font-size: 11px; font-weight: 600; color: var(--c-primary); padding: 3px 10px; background: var(--c-primary-soft2); border-radius: 999px; }
#decor-phone .dcs-pz { margin-top: 13px; }
#decor-phone .dcs-pz-head { display: flex; align-items: baseline; padding: 0 4px 8px; }
#decor-phone .dcs-sec-bar { width: 4px; height: 16px; background: linear-gradient(180deg, var(--c-pink), var(--c-primary)); border-radius: 2px; margin-right: 6px; align-self: center; }
#decor-phone .dcs-pz-title { font-size: 16.5px; font-weight: 700; color: #2a2a2a; }
#decor-phone .dcs-pz-sub { font-size: 11px; color: #969696; margin-left: 6px; }
#decor-phone .dcs-pz-cards { display: flex; flex-wrap: wrap; justify-content: space-between; }
#decor-phone .dcs-pz-card { width: 48.6%; box-sizing: border-box; border-radius: 8px; padding: 11px 12px; margin-bottom: 8px; background: linear-gradient(135deg, var(--c-primary-soft2), var(--c-primary-soft)); }
#decor-phone .dcs-pz-tag { display: inline-block; padding: 2px 8px; font-size: 10px; color: #fff; font-weight: 600; border-radius: 4px; margin-bottom: 6px; background: linear-gradient(90deg, var(--c-pink), var(--c-primary)); }
#decor-phone .dcs-pz-name { font-size: 13.5px; font-weight: 600; color: #2a2a2a; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#decor-phone .dcs-pz-rule { font-size: 11px; margin-top: 4px; color: var(--c-primary); }
#decor-phone .dcs-pz-free_freight { background: linear-gradient(135deg, #eef6ff, #e4efff); }
#decor-phone .dcs-pz-free_freight .dcs-pz-tag { background: linear-gradient(90deg, #5b8cff, #3d6fff); }
#decor-phone .dcs-pz-free_freight .dcs-pz-rule { color: #3d6fff; }
#decor-phone .dcs-pz-double_points { background: linear-gradient(135deg, #fff7e8, #ffefd2); }
#decor-phone .dcs-pz-double_points .dcs-pz-tag { background: var(--btn-gold-bg); }
#decor-phone .dcs-pz-double_points .dcs-pz-rule { color: #d6841f; }
#decor-phone .dcs-pz-buy_gift { background: linear-gradient(135deg, #f0fff6, #ddf7e8); }
#decor-phone .dcs-pz-buy_gift .dcs-pz-tag { background: linear-gradient(90deg, #2bc48a, #14a872); }
#decor-phone .dcs-pz-buy_gift .dcs-pz-rule { color: #14a872; }
#decor-phone .dcs-groupon { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 14px 15px; border-radius: 10px; background: linear-gradient(90deg, var(--c-primary), var(--c-pink-soft)); box-shadow: 0 4px 10px var(--c-primary-shadow); }
#decor-phone .dcs-ge-name { font-size: 17px; font-weight: 700; color: #fff; }
#decor-phone .dcs-ge-sub { font-size: 11px; color: #ffe3ea; margin-top: 3px; }
#decor-phone .dcs-ge-go { font-size: 13px; color: var(--c-primary); font-weight: 600; background: #fff; padding: 6px 14px; border-radius: 999px; flex: none; }
#decor-phone .dcs-admid { display: flex; margin-top: 10px; overflow-x: auto; }
#decor-phone .dcs-admid-item { width: 177px; height: 42px; flex: none; margin-right: 8px; border-radius: 9px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); background: #fff; }
#decor-phone .dcs-admid-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
#decor-phone .dcs-kill { margin-top: 10px; background: #fff; border-radius: 10px; padding: 12px 0 14px; }
#decor-phone .dcs-kill-head { display: flex; align-items: baseline; padding: 0 12px 11px; }
#decor-phone .dcs-kill-title { font-size: 16px; font-weight: 700; color: var(--c-primary); }
#decor-phone .dcs-kill-cd { margin-left: 8px; padding: 3px 8px; background: #2a2a2a; color: #fff; font-size: 11px; border-radius: 4px; }
#decor-phone .dcs-kill-more { margin-left: auto; font-size: 11.5px; color: #969696; }
#decor-phone .dcs-kill-scroll { display: flex; padding: 0 12px; overflow-x: auto; }
#decor-phone .dcs-kill-item { width: 90px; flex: none; margin-right: 10px; }
#decor-phone .dcs-kill-pic { width: 90px; height: 90px; border-radius: 7px; background: #f7f7f7; overflow: hidden; display: flex; align-items: center; justify-content: center; }
#decor-phone .dcs-kill-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
#decor-phone .dcs-kill-ph { width: 100%; height: 100%; }
#decor-phone .dcs-kill-price { font-size: 16px; font-weight: 700; color: var(--c-primary); margin-top: 6px; }
#decor-phone .dcs-kill-price i { font-style: normal; font-size: 10px; }
#decor-phone .dcs-kill-old { font-size: 10px; color: #969696; text-decoration: line-through; }
#decor-phone .dcs-kill-prog { height: 6px; background: var(--c-primary-soft); border-radius: 3px; margin-top: 6px; overflow: hidden; }
#decor-phone .dcs-kill-prog em { display: block; height: 100%; background: linear-gradient(90deg, #ffb053, var(--c-primary)); border-radius: 3px; }
#decor-phone .dcs-kill-sold { font-size: 9px; color: var(--c-primary); margin-top: 3px; }
#decor-phone .dcs-sec-head { display: flex; align-items: baseline; padding: 15px 4px 9px; }
#decor-phone .dcs-sec-title { font-size: 16px; font-weight: 600; color: #2a2a2a; }
#decor-phone .dcs-sec-sub { font-size: 11px; color: #969696; margin-left: 6px; }
#decor-phone .dcs-goods { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 8px; }
#decor-phone .dcs-gcard { width: calc(50% - 4px); background: #fff; border-radius: 10px; overflow: hidden; margin-bottom: 8px; box-shadow: 0 3px 12px rgba(0,0,0,.05); }
#decor-phone .dcs-gpic { position: relative; width: 100%; height: 170px; background: #f7f7f7; }
#decor-phone .dcs-gpic img { width: 100%; height: 100%; object-fit: cover; display: block; }
#decor-phone .dcs-goods-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
#decor-phone .dcs-goods-ph span { color: #fff; font-size: 13px; font-weight: 700; padding: 4px 11px; border-radius: 16px; background: rgba(255,255,255,.18); }
#decor-phone .dcs-gtag { position: absolute; left: 0; top: 0; padding: 3px 9px; background: var(--btn-bg); color: #fff; font-size: 10px; font-weight: 600; border-radius: 0 0 8px 0; z-index: 2; }
#decor-phone .dcs-gfav { position: absolute; top: 7px; right: 7px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.28); display: flex; align-items: center; justify-content: center; color: #fff; z-index: 2; }
#decor-phone .dcs-gpic-mask { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.25)); }
#decor-phone .dcs-ginfo { padding: 8px 9px 10px; }
#decor-phone .dcs-gname { font-size: 13.5px; font-weight: 500; color: #2a2a2a; line-height: 1.4; height: 38px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#decor-phone .dcs-gbtm { display: flex; align-items: baseline; margin-top: 5px; }
#decor-phone .dcs-gprice { font-size: 18px; font-weight: 700; color: var(--c-primary); }
#decor-phone .dcs-gprice i { font-style: normal; font-size: 11px; }
#decor-phone .dcs-gold { font-size: 10px; color: #b4b4b4; text-decoration: line-through; margin-left: 5px; }
#decor-phone .dcs-gadd { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--c-pink), var(--c-primary)); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px var(--c-primary-shadow); align-self: center; }
#decor-phone .dcs-gsold { font-size: 10px; color: #9a9aa0; margin-top: 4px; }
#decor-phone .dcs-feedad { width: 100%; display: flex; background: #fff; border-radius: 10px; padding: 9px; margin-bottom: 10px; box-sizing: border-box; box-shadow: 0 3px 12px rgba(0,0,0,.05); }
#decor-phone .dcs-feedad-pic { width: 110px; height: 85px; border-radius: 7px; overflow: hidden; background: #f2f2f2; flex: none; display: flex; align-items: center; justify-content: center; }
#decor-phone .dcs-feedad-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
#decor-phone .dcs-feedad-info { flex: 1; min-width: 0; margin-left: 11px; display: flex; flex-direction: column; }
#decor-phone .dcs-feedad-title { font-size: 14px; font-weight: 600; color: #2a2a2a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#decor-phone .dcs-feedad-go { font-size: 12px; font-weight: 600; color: var(--c-primary); margin-top: auto; }
#decor-phone .dcs-list-end { display: flex; align-items: center; justify-content: center; gap: 8px; color: #b4b4b8; font-size: 11px; padding: 14px 0 7px; }
#decor-phone .dcs-list-end i { width: 30px; height: 0.5px; background: #dcdce0; }

/* ── dcs- 分类页骨架（pages/list/search_list.wxss）── */
#decor-phone .dcs-cs { background: var(--c-pink); }
#decor-phone .dcs-cs-bar { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 44px; color: #fff; }
#decor-phone .dcs-cs-input { flex: 1; display: flex; align-items: center; gap: 6px; height: 30px; background: rgba(255,255,255,.95); border-radius: 30px; padding: 0 12px; color: var(--c-pink); }
#decor-phone .dcs-cs-ph { color: #a8a8a8; font-size: 13px; }
#decor-phone .dcs-cbody { display: flex; align-items: stretch; }
#decor-phone .dcs-cside { width: 90px; flex: none; background: #f8f8f8; }
#decor-phone .dcs-citem { position: relative; height: 54px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #2a2a2a; }
#decor-phone .dcs-citem.on { background: #fff; color: var(--c-pink); font-weight: 600; }
#decor-phone .dcs-citem.on::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 20px; background: var(--c-pink); border-radius: 2px; }
#decor-phone .dcs-cright { flex: 1; min-width: 0; background: #f8f8f8; }
#decor-phone .dcs-subbar { display: flex; overflow-x: auto; background: #fff; border-bottom: 0.5px solid #f0f0f0; padding: 8px 8px 0; }
#decor-phone .dcs-sub { flex: none; padding: 5px 11px; margin: 0 4px 8px; font-size: 12px; color: #555; background: #f4f4f4; border-radius: 14px; }
#decor-phone .dcs-sub.on { color: #fff; background: var(--c-pink); font-weight: 600; }
#decor-phone .dcs-sortbar { display: flex; height: 44px; background: #fff; border-bottom: 0.5px solid #f0f0f0; padding: 0 12px; }
#decor-phone .dcs-sort { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 13px; color: #787878; }
#decor-phone .dcs-sort.on { color: var(--c-pink); font-weight: 600; }
#decor-phone .dcs-grows { padding: 8px 10px 0; }
#decor-phone .dcs-grow { display: flex; background: #fff; border-radius: 8px; padding: 10px; margin-bottom: 9px; }
#decor-phone .dcs-grow-pic { position: relative; width: 100px; height: 100px; border-radius: 6px; overflow: hidden; background: #f2f2f2; flex: none; display: flex; align-items: center; justify-content: center; }
#decor-phone .dcs-grow-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
#decor-phone .dcs-grow-info { flex: 1; min-width: 0; margin-left: 10px; display: flex; flex-direction: column; }
#decor-phone .dcs-grow-name { font-size: 14px; color: #2a2a2a; line-height: 1.4; height: 39px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#decor-phone .dcs-grow-sub { font-size: 11px; color: #969696; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#decor-phone .dcs-grow-sold { font-size: 10px; color: #b4b4b4; margin-top: 4px; }
#decor-phone .dcs-grow-btm { margin-top: auto; display: flex; align-items: baseline; }
#decor-phone .dcs-grow-price { font-size: 14px; font-weight: 500; color: var(--c-price); }
#decor-phone .dcs-grow-price i { font-style: normal; font-size: 0.7em; }
#decor-phone .dcs-grow-add { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; background: var(--c-primary); color: #fff; display: flex; align-items: center; justify-content: center; align-self: center; }

/* ── dcs- 会员福利页骨架（pages/card/index.wxss）── */
#decor-phone .dcs-cardtop { background: #fff9ea; padding: 12px 12px 14px; }
#decor-phone .dcs-cbox { background: #fff9ea; border: 0.5px solid #f3c39f; border-radius: 10px; box-shadow: 0 4px 12px rgba(248,134,74,.18); padding: 14px; }
#decor-phone .dcs-cbox-main { display: flex; align-items: center; }
#decor-phone .dcs-cbox-av { width: 55px; height: 55px; border-radius: 50%; border: 2px solid #f3c39f; background: linear-gradient(135deg, #ffe7bc, #f8864a); display: flex; align-items: center; justify-content: center; flex: none; }
#decor-phone .dcs-cbox-av b { color: #fff; font-size: 22px; font-weight: 700; }
#decor-phone .dcs-cbox-u { flex: 1; min-width: 0; margin-left: 12px; }
#decor-phone .dcs-cbox-namerow { display: flex; align-items: center; }
#decor-phone .dcs-cbox-name { font-size: 17px; font-weight: 600; color: #2a2a2a; }
#decor-phone .dcs-cbox-level { font-style: normal; margin-left: 7px; padding: 1px 8px; background: var(--c-gold); color: #2a2a2a; font-size: 10px; border-radius: 4px; }
#decor-phone .dcs-cbox-vip { font-style: normal; margin-left: 5px; padding: 1px 7px; background: var(--btn-gold-bg); color: #2a2a2a; font-size: 10px; font-weight: 600; border-radius: 4px; }
#decor-phone .dcs-cbox-line { font-size: 11px; color: #896033; margin-top: 4px; }
#decor-phone .dcs-cbox-grow { margin-top: 14px; }
#decor-phone .dcs-cbox-grow-top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
#decor-phone .dcs-cbox-grow-top span:first-child { color: #896033; }
#decor-phone .dcs-cbox-grow-top span:last-child { color: #2a2a2a; font-weight: 500; }
#decor-phone .dcs-cbox-grow-bar { height: 8px; background: #f0e0c0; border-radius: 8px; margin-top: 7px; overflow: hidden; }
#decor-phone .dcs-cbox-grow-bar em { display: block; height: 100%; background: var(--btn-gold-bg); border-radius: 8px; }
#decor-phone .dcs-cbox-grow-tip { font-size: 10px; color: #b8946a; margin-top: 6px; }
#decor-phone .dcs-lv-ladder { display: flex; margin-top: 11px; }
#decor-phone .dcs-lv-node { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; }
#decor-phone .dcs-lv-node::before { content: ''; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: #ecdcc4; z-index: 0; }
#decor-phone .dcs-lv-node:first-child::before { display: none; }
#decor-phone .dcs-lv-node.reached::before { background: #f0b56d; }
#decor-phone .dcs-lv-dot { width: 22px; height: 22px; border-radius: 50%; background: #ecdcc4; color: #a98a63; font-size: 11px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
#decor-phone .dcs-lv-node.reached .dcs-lv-dot { background: linear-gradient(135deg, #ffe7bc, #f0a451); color: #8a5a22; font-weight: 700; }
#decor-phone .dcs-lv-node.cur .dcs-lv-dot { box-shadow: 0 0 0 3px rgba(240,164,81,.22); }
#decor-phone .dcs-lv-name { margin-top: 5px; font-size: 10px; color: #a98a63; }
#decor-phone .dcs-lv-node.reached .dcs-lv-name { color: #8a5a22; font-weight: 600; }
#decor-phone .dcs-lv-node.cur .dcs-lv-name { color: #e5772e; }
#decor-phone .dcs-lv-th { margin-top: 2px; font-size: 9px; color: #c2a783; }
#decor-phone .dcs-ctabs { display: flex; background: #fff; padding: 0 12px; border-bottom: 0.5px solid #f0f0f0; }
#decor-phone .dcs-ct-item { flex: 1; text-align: center; padding: 11px 0; position: relative; }
#decor-phone .dcs-ct-item span { font-size: 14px; color: #9b9b9b; }
#decor-phone .dcs-ct-item.on span { color: #2a2a2a; font-weight: 600; }
#decor-phone .dcs-ct-item.on::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 3px; background: linear-gradient(270deg, #ffe7bc, #f8864a); border-radius: 3px; }
#decor-phone .dcs-cpane { padding: 0 12px; }
#decor-phone .dcs-csec { display: inline-flex; flex-direction: column; padding: 14px 0 8px; }
#decor-phone .dcs-csec span { font-size: 15px; font-weight: 600; color: #2a2a2a; }
#decor-phone .dcs-csec::after { content: ''; width: 28px; height: 3px; background: linear-gradient(270deg, #ffe7bc, #f8864a); border-radius: 3px; margin-top: 5px; }
#decor-phone .dcs-cp { display: flex; align-items: stretch; background: #fff; border-radius: 8px; overflow: hidden; margin-bottom: 9px; }
#decor-phone .dcs-cp-left { width: 100px; flex: none; background: linear-gradient(135deg, #ffe7bc, #f8864a); display: flex; align-items: baseline; justify-content: center; padding: 18px 0; box-sizing: border-box; }
#decor-phone .dcs-cp-left b { font-size: 30px; font-weight: 700; color: #2a2a2a; }
#decor-phone .dcs-cp-left span { font-size: 12px; color: #2a2a2a; margin-left: 2px; }
#decor-phone .dcs-cp-right { flex: 1; min-width: 0; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; }
#decor-phone .dcs-cp-name { font-size: 14px; font-weight: 500; color: #2a2a2a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#decor-phone .dcs-cp-scope { font-size: 11px; color: #969696; margin-top: 4px; }
#decor-phone .dcs-cp-thr { font-size: 10px; color: var(--c-price); margin-top: 3px; }
#decor-phone .dcs-cp-valid { font-size: 10px; color: #b4b4b4; margin-top: 3px; }
#decor-phone .dcs-cp-use { align-self: center; margin-right: 12px; padding: 6px 12px; background: #2a2a2a; color: #ffdfbc; font-size: 12px; border-radius: 999px; flex: none; }
#decor-phone .dcs-cempty { text-align: center; padding: 40px 0; color: #b4b4b4; font-size: 13px; }
#decor-phone .dcs-cempty-ico { width: 50px; height: 50px; margin: 0 auto 10px; border-radius: 50%; background: repeating-linear-gradient(45deg, #f0e0c0, #f0e0c0 5px, #fff9ea 5px, #fff9ea 10px); }
#decor-phone .dcs-plans { display: flex; gap: 8px; padding: 8px 12px; background: #2a2a2a; }
#decor-phone .dcs-plan { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 6px 0; border-radius: 8px; border: 1px solid rgba(240,210,136,.3); }
#decor-phone .dcs-plan.on { border-color: #f0d288; background: rgba(240,210,136,.14); }
#decor-phone .dcs-plan-name { font-size: 12px; color: #ffdfbc; }
#decor-phone .dcs-plan-price { font-size: 17px; font-weight: 700; color: #f0d288; line-height: 1.3; }
#decor-phone .dcs-plan-days { font-size: 10px; color: #b9b0a2; }
#decor-phone .dcs-cfoot { height: 55px; display: flex; align-items: center; padding: 0 12px; background: #2a2a2a; box-shadow: 0 -2px 8px rgba(0,0,0,.08); box-sizing: border-box; }
#decor-phone .dcs-cfoot-info { flex: 1; display: flex; align-items: baseline; }
#decor-phone .dcs-cfoot-info b { font-size: 20px; font-weight: 700; color: #f0d288; }
#decor-phone .dcs-cfoot-info span { font-size: 11px; color: #ffdfbc; margin-left: 3px; }
#decor-phone .dcs-cfoot-btn { flex: none; padding: 9px 24px; background: var(--btn-gold-bg); color: #2a2a2a; font-size: 14px; font-weight: 600; border-radius: 999px; }

/* ── dcs- 我的页骨架（pages/my/index.wxss）── */
#decor-phone .dcs-myhd { background: linear-gradient(180deg, #1e1e1e, #2a2a2a); padding: 6px 16px 28px; }
#decor-phone .dcs-mh-top { display: flex; align-items: center; justify-content: flex-end; }
#decor-phone .dcs-mh-right { display: flex; align-items: center; gap: 10px; }
#decor-phone .dcs-mh-notify { position: relative; padding: 4px; color: #fff; display: flex; }
#decor-phone .dcs-mh-badge { position: absolute; top: -2px; right: -6px; min-width: 14px; height: 14px; padding: 0 3px; background: var(--c-primary); color: #fff; font-size: 9px; font-style: normal; border-radius: 7px; display: flex; align-items: center; justify-content: center; line-height: 1; box-sizing: border-box; }
#decor-phone .dcs-mh-set { padding: 3px 10px; border: 0.5px solid rgba(240,210,136,.5); border-radius: 999px; color: #f0d288; font-size: 11px; }
#decor-phone .dcs-mh-user { display: flex; align-items: center; margin-top: 8px; }
#decor-phone .dcs-mh-av { width: 55px; height: 55px; border-radius: 50%; border: 2px solid #fff; background: var(--c-gold); display: flex; align-items: center; justify-content: center; flex: none; }
#decor-phone .dcs-mh-av b { color: #fff; font-size: 23px; font-weight: 600; }
#decor-phone .dcs-mh-uinfo { flex: 1; min-width: 0; margin-left: 12px; }
#decor-phone .dcs-mh-namerow { display: flex; align-items: center; }
#decor-phone .dcs-mh-name { color: #fff; font-size: 18px; font-weight: 600; }
#decor-phone .dcs-mh-lvbadge { font-style: normal; margin-left: 7px; padding: 1.5px 7px; background: #c9a35b; color: #fff; font-size: 10px; border-radius: 999px; font-weight: 600; }
#decor-phone .dcs-mh-vtag { font-style: normal; margin-left: 7px; padding: 1px 6px; background: var(--btn-gold-bg); color: #2a2a2a; font-size: 10px; font-weight: 600; border-radius: 4px; }
#decor-phone .dcs-mh-uid { font-size: 10px; color: #dca86b; margin-top: 4px; letter-spacing: 0.5px; }
#decor-phone .dcs-mh-sub { font-size: 11px; color: #dca86b; margin-top: 4px; }
#decor-phone .dcs-mh-arrow { color: #dca86b; }
#decor-phone .dcs-mybody { position: relative; z-index: 2; margin-top: -18px; padding: 0 12px; }
#decor-phone .dcs-assets { display: flex; align-items: center; background: #fff; border-radius: 8px; padding: 15px 0; }
#decor-phone .dcs-asset { flex: 1; display: flex; flex-direction: column; align-items: center; }
#decor-phone .dcs-asset b { font-size: 20px; font-weight: 700; color: var(--c-gold); line-height: 1.2; }
#decor-phone .dcs-asset span { font-size: 11px; color: #969696; margin-top: 4px; }
#decor-phone .dcs-asset-div { width: 0.5px; height: 28px; background: #f0f0f0; }
#decor-phone .dcs-block { background: #fff; border-radius: 8px; margin-top: 10px; padding: 4px 14px; }
#decor-phone .dcs-block-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 0 8px; }
#decor-phone .dcs-block-title { font-size: 15px; font-weight: 600; color: #2a2a2a; }
#decor-phone .dcs-block-more { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #969696; }
#decor-phone .dcs-os-row { display: flex; padding: 4px 0 12px; }
#decor-phone .dcs-os { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; }
#decor-phone .dcs-os-icow { position: relative; width: 40px; height: 40px; }
#decor-phone .dcs-os-ico { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 600; background: #f2f2f2; overflow: hidden; }
#decor-phone .dcs-os-ico img { width: 28px; height: 28px; object-fit: contain; }
#decor-phone .dcs-os-badge { position: absolute; right: -9px; top: -6px; min-width: 16px; height: 16px; padding: 0 4px; background: var(--c-primary); color: #fff; font-size: 10px; border-radius: 999px; display: flex; align-items: center; justify-content: center; border: 1px solid #fff; box-sizing: border-box; }
#decor-phone .dcs-os-name { font-size: 11px; color: #2a2a2a; margin-top: 6px; white-space: nowrap; }
#decor-phone .dcs-svc-grid { display: flex; flex-wrap: wrap; padding: 4px 0 10px; }
#decor-phone .dcs-svc { width: 25%; display: flex; flex-direction: column; align-items: center; padding: 11px 0; box-sizing: border-box; }
#decor-phone .dcs-svc-ico { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 17px; font-weight: 600; background: #f2f2f2; overflow: hidden; }
#decor-phone .dcs-svc-ico img { width: 30px; height: 30px; object-fit: contain; }
#decor-phone .dcs-svc-name { font-size: 11px; color: #2a2a2a; margin-top: 7px; white-space: nowrap; }

/* 商品维度订单筛选提示条 */
.order-goods-chip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; padding: 8px 12px; background: #f0f7ff; border: 1px solid #d6e8ff; border-radius: 6px; font-size: 13px; color: #35658f; }
.order-goods-chip b { color: #1f4e79; }

/* 商品数据统计弹窗 */
.gs-head { display: flex; align-items: center; gap: 12px; padding: 12px; background: #f7f9fc; border-radius: 8px; }
.gs-head img { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; background: #eee; flex: none; }
.gs-title { font-size: 15px; font-weight: 600; color: #222; }
.gs-meta { margin-top: 6px; font-size: 12px; color: #888; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gs-ranges { display: flex; gap: 8px; margin: 14px 0; flex-wrap: wrap; align-items: center; }
/* 自定义时间段：两个日期时间框 + 查询，与 tab 行同宽对齐 */
.gs-custom { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: -4px 0 14px; padding: 10px 12px; background: #f7f8fa; border-radius: 8px; }
.gs-custom input[type=datetime-local] { width: 190px; flex: none; padding: 7px 8px; border: 1px solid #e3e3e3; border-radius: 6px; font-size: 13px; font-family: inherit; color: #1d2129; background: #fff; outline: none; }
.gs-custom input[type=datetime-local]:focus { border-color: #ff3b54; }
.gs-custom-sep { color: #86909c; font-size: 13px; }
.gs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.gs-cell { padding: 12px 14px; background: #f7f9fc; border-radius: 8px; }
.gs-value { font-size: 20px; font-weight: 700; color: #222; line-height: 1.2; }
.gs-label { margin-top: 6px; font-size: 12px; color: #888; }
.gs-note { margin-top: 14px; font-size: 12px; color: #999; line-height: 1.7; }

/* ======== 利润分析板块 ======== */
.toolbar-hint { margin-left: auto; font-size: 12px; color: #888; }

/* 核心数据卡片 */
.profit-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
@media (max-width: 1100px) { .profit-cards { grid-template-columns: repeat(2, 1fr); } }
.profit-card {
  background: #fff; border-radius: 8px; padding: 16px 18px;
  border: 1px solid #f0f0f0; position: relative;
}

/* ── 装修预览：我的入口功能页镜像（rpx÷2，对齐小程序对应页 wxss） ── */
#decor-phone .dcp-tabs { display: flex; background: #fff; height: 44px; position: sticky; top: 0; z-index: 3; box-shadow: 0 2px 8px rgba(0,0,0,.03); }
#decor-phone .dcp-tab { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #585858; position: relative; cursor: pointer; }
#decor-phone .dcp-tab.on { color: var(--c-primary); font-weight: 600; }
#decor-phone .dcp-tab.on::after { content: ''; position: absolute; bottom: 4px; left: 50%; width: 24px; height: 3px; margin-left: -12px; border-radius: 2px; background: var(--c-primary); }
#decor-phone .dcp-empty { text-align: center; padding: 48px 0; }
#decor-phone .dcp-e-ico { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; background: var(--c-primary-soft); display: flex; align-items: center; justify-content: center; }
#decor-phone .dcp-e-ico::after { content: ''; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--c-pink-soft); }
#decor-phone .dcp-e-txt { font-size: 13px; color: #b4b4b4; }
#decor-phone .dcp-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; border-radius: 6px; }
#decor-phone .dcp-ph span { font-size: 12px; color: #fff; background: rgba(0,0,0,.18); padding: 3px 10px; border-radius: 999px; }
#decor-phone .dcp-ph-0 { background: linear-gradient(135deg, var(--c-pink-soft), var(--c-primary)); }
#decor-phone .dcp-ph-1 { background: linear-gradient(135deg, #ffb053, #ff7a3c); }
#decor-phone .dcp-ph-2 { background: linear-gradient(135deg, #5b8cff, #7b6cf6); }

/* 积分商城 */
#decor-phone .dcp-pts-hd { height: 100px; background: linear-gradient(135deg, #f0d288, var(--c-gold)); display: flex; justify-content: space-between; padding: 14px 16px 0; overflow: hidden; }
#decor-phone .dcp-pts-label { font-size: 12px; color: rgba(255,255,255,.85); }
#decor-phone .dcp-pts-num { font-size: 32px; font-weight: 700; color: #fff; line-height: 1.15; text-shadow: 0 2px 4px rgba(0,0,0,.08); }
#decor-phone .dcp-pts-r { text-align: right; }
#decor-phone .dcp-pts-title { font-size: 16px; font-weight: 600; color: #2a2a2a; }
#decor-phone .dcp-pts-rule { margin-top: 4px; font-size: 12px; color: rgba(42,42,42,.8); }
#decor-phone .dcp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px; box-sizing: border-box; }
#decor-phone .dcp-cell { width: auto; min-width: 0; background: #fff; border-radius: 8px; padding: 8px; box-sizing: border-box; }
#decor-phone .dcp-cell-pic { width: 100%; aspect-ratio: 1 / 1; height: auto; border-radius: 6px; overflow: hidden; background: #f5f5f5; }
#decor-phone .dcp-cell-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
#decor-phone .dcp-cell-title { font-size: 13px; color: #2a2a2a; line-height: 1.35; margin-top: 6px; height: 36px; overflow: hidden; }
#decor-phone .dcp-cell-stock { font-size: 11px; color: #969696; margin-top: 2px; }
#decor-phone .dcp-cell-btm { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
#decor-phone .dcp-cell-pt { font-size: 11px; color: var(--c-gold); }
#decor-phone .dcp-cell-pt b { font-size: 19px; }
#decor-phone .dcp-cell-btn { font-size: 12px; color: #fff; padding: 5px 11px; border-radius: 999px; background: var(--btn-bg); }

/* 领券中心 */
#decor-phone .dcp-cp-hd { height: 110px; background: linear-gradient(135deg, #ffe7bc 0%, #f8864a 70%, var(--c-primary) 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; }
#decor-phone .dcp-cp-hd-title { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 2px; }
#decor-phone .dcp-cp-hd-sub { margin-top: 4px; font-size: 12px; color: rgba(42,42,42,.8); }
#decor-phone .dcp-cpn-list { padding: 12px; }
#decor-phone .dcp-cpn { display: flex; min-height: 120px; margin-bottom: 12px; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(248,134,74,.12); }
#decor-phone .dcp-cpn-l { width: 120px; flex: none; background: linear-gradient(135deg, #ffe7bc, #f8864a); display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
#decor-phone .dcp-cpn-amt { color: var(--c-price); font-size: 16px; }
#decor-phone .dcp-cpn-amt b { font-size: 38px; line-height: 1; }
#decor-phone .dcp-cpn-cond { margin-top: 6px; font-size: 11px; color: rgba(42,42,42,.8); }
#decor-phone .dcp-cpn-dot { position: absolute; right: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fafafa; }
#decor-phone .dcp-cpn-dot.t { top: -5px; }
#decor-phone .dcp-cpn-dot.b { bottom: -5px; }
#decor-phone .dcp-cpn-r { flex: 1; min-width: 0; padding: 12px 14px 30px; position: relative; border-left: 1px dashed #f0d288; }
#decor-phone .dcp-cpn-namerow { display: flex; align-items: center; gap: 5px; }
#decor-phone .dcp-cpn-tag { font-size: 10px; color: var(--c-primary); background: var(--c-primary-soft); border-radius: 3px; padding: 1px 5px; flex: none; }
#decor-phone .dcp-cpn-name { font-size: 15px; font-weight: 500; color: #2a2a2a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#decor-phone .dcp-cpn-shop { margin-top: 6px; font-size: 12px; color: #dca86b; }
#decor-phone .dcp-cpn-scope { margin-top: 3px; font-size: 12px; color: #787878; }
#decor-phone .dcp-cpn-stock { margin-top: 3px; font-size: 11px; color: var(--c-pink); }
#decor-phone .dcp-cpn-btn { position: absolute; right: 12px; bottom: 12px; font-size: 13px; color: #fff; padding: 5px 14px; border-radius: 999px; background: var(--btn-bg); }

/* 兑换中心 */
#decor-phone .dcp-rd-intro { margin: 12px; background: #fff; border-radius: 8px; padding: 14px; }
#decor-phone .dcp-rd-head { display: flex; align-items: center; gap: 6px; margin-bottom: 9px; }
#decor-phone .dcp-rd-head i { width: 3px; height: 15px; border-radius: 2px; background: linear-gradient(180deg, var(--c-pink), var(--c-primary)); }
#decor-phone .dcp-rd-head b { font-size: 15px; color: #2a2a2a; }
#decor-phone .dcp-rd-row { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #585858; margin-top: 9px; }
#decor-phone .dcp-rd-row i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
#decor-phone .dcp-rd-code { margin: 12px; padding: 24px 20px; background: #fff; border-radius: 8px; text-align: center; }
#decor-phone .dcp-rd-code-label { font-size: 16px; font-weight: 600; color: #2a2a2a; }
#decor-phone .dcp-rd-input { margin: 14px auto 0; width: 250px; height: 55px; line-height: 55px; border-radius: 8px; border: 1px solid var(--c-pink-soft); background: var(--c-primary-soft2); font-size: 22px; font-weight: 600; letter-spacing: 4px; color: var(--c-primary); }
#decor-phone .dcp-rd-btn { margin: 16px auto 0; width: 230px; height: 44px; line-height: 44px; border-radius: 999px; background: #d8d8d8; color: #fff; font-size: 15px; font-weight: 600; }
#decor-phone .dcp-rd-tip { text-align: center; margin-top: 20px; font-size: 11px; color: #b4b4b4; }

/* 签到中心 */
#decor-phone .dcp-sg-hd { padding: 16px 16px 24px; background: linear-gradient(135deg, #f0d288 0%, var(--c-gold) 100%); }
#decor-phone .dcp-sg-row { display: flex; align-items: center; justify-content: space-between; }
#decor-phone .dcp-sg-label { font-size: 13px; color: rgba(255,255,255,.9); }
#decor-phone .dcp-sg-days { font-size: 36px; font-weight: 700; color: #fff; line-height: 1.1; }
#decor-phone .dcp-sg-days b { font-weight: 700; }
#decor-phone .dcp-sg-btn { padding: 8px 22px; border-radius: 999px; background: var(--c-primary); color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 3px 8px var(--c-primary-shadow); }
#decor-phone .dcp-sg-sub { margin-top: 8px; font-size: 12px; color: rgba(42,42,42,.8); }
#decor-phone .dcp-sg-cal { margin: -12px 12px 12px; padding: 14px 12px; background: #fff; border-radius: 8px; position: relative; z-index: 2; }
#decor-phone .dcp-sg-cal-title { text-align: center; font-size: 14px; font-weight: 600; color: #2a2a2a; }
#decor-phone .dcp-sg-week { display: flex; margin-top: 12px; }
#decor-phone .dcp-sg-week span { flex: 1; text-align: center; font-size: 11px; color: #969696; }
#decor-phone .dcp-sg-days { display: flex; flex-wrap: wrap; margin-top: 8px; }
#decor-phone .dcp-sg-day { width: 14.285%; height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; color: #585858; border-radius: 4px; position: relative; }
#decor-phone .dcp-sg-day.blank { visibility: hidden; }
#decor-phone .dcp-sg-day.signed { background: #fff9ea; color: var(--c-gold); font-weight: 600; }
#decor-phone .dcp-sg-day.signed i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-gold); margin-top: 2px; }
#decor-phone .dcp-sg-day.today { box-shadow: inset 0 0 0 1px var(--c-primary); color: var(--c-primary); font-weight: 700; }
#decor-phone .dcp-sg-card { margin: 0 12px 12px; padding: 14px 12px; background: #fff; border-radius: 8px; }
#decor-phone .dcp-sg-card-t { font-size: 14px; font-weight: 600; color: #2a2a2a; }
#decor-phone .dcp-sg-recent { display: flex; justify-content: space-between; margin-top: 12px; }
#decor-phone .dcp-sg-rc { display: flex; flex-direction: column; align-items: center; gap: 4px; }
#decor-phone .dcp-sg-rc-day { font-size: 11px; color: #969696; }
#decor-phone .dcp-sg-rc-dot { width: 8px; height: 8px; border-radius: 50%; background: #e0e0e0; }
#decor-phone .dcp-sg-rc-dot.on { background: #f0d288; }
#decor-phone .dcp-sg-rc-st { font-size: 10px; color: #b4b4b4; }
#decor-phone .dcp-sg-rc-st.on { color: var(--c-gold); }
#decor-phone .dcp-sg-rule { display: flex; align-items: flex-start; gap: 6px; margin-top: 8px; font-size: 13px; color: #585858; line-height: 1.6; }
#decor-phone .dcp-sg-rule i { width: 6px; height: 6px; border-radius: 50%; background: #f0d288; flex: none; margin-top: 6px; }

/* 转赠中心 */
#decor-phone .dcp-ot-tip { padding: 6px 12px 10px; font-size: 11px; color: #969696; line-height: 1.6; }
#decor-phone .dcp-ot-list { padding: 0 12px; }
#decor-phone .dcp-ot-card { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 8px; padding: 12px; margin-bottom: 10px; }
#decor-phone .dcp-ot-pic { width: 66px; height: 66px; flex: none; border-radius: 6px; overflow: hidden; background: #f2f2f2; }
#decor-phone .dcp-ot-main { flex: 1; min-width: 0; }
#decor-phone .dcp-ot-title { font-size: 14px; font-weight: 600; color: #2a2a2a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#decor-phone .dcp-ot-sub { margin-top: 4px; font-size: 11px; color: #969696; }
#decor-phone .dcp-ot-state { display: inline-block; margin-top: 5px; font-size: 11px; color: var(--c-primary); background: var(--c-pink-soft); padding: 2px 7px; border-radius: 999px; }
#decor-phone .dcp-ot-pay { font-size: 15px; font-weight: 700; color: var(--c-price); }
#decor-phone .dcp-ot-seg { display: flex; gap: 3px; margin: 10px 12px 0; padding: 3px; background: #f2f2f2; border-radius: 999px; }
#decor-phone .dcp-ot-seg span { flex: 1; text-align: center; padding: 7px 0; font-size: 13px; color: #666; border-radius: 999px; cursor: pointer; }
#decor-phone .dcp-ot-seg span.on { background: #fff; color: var(--c-primary); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.06); }

/* 我的组局 */
#decor-phone .dcp-ld-hero { height: 130px; background: linear-gradient(135deg, var(--c-pink-soft) 0%, var(--c-primary) 78%, #ff2f4a 100%); position: relative; overflow: hidden; }
#decor-phone .dcp-ld-main { padding: 22px 18px 0; color: #fff; }
#decor-phone .dcp-ld-title { font-size: 22px; font-weight: 700; letter-spacing: 1px; text-shadow: 0 2px 6px rgba(0,0,0,.12); }
#decor-phone .dcp-ld-sub { margin-top: 5px; font-size: 12px; color: rgba(255,255,255,.92); }
#decor-phone .dcp-ld-tags { display: flex; gap: 6px; margin-top: 10px; }
#decor-phone .dcp-ld-tags span { font-size: 10px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.2); border: 0.5px solid rgba(255,255,255,.4); color: #fff; }
#decor-phone .dcp-ld-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; }
#decor-phone .dcp-ld-chip { padding: 5px 14px; border-radius: 999px; font-size: 12px; color: #585858; background: #fff; border: 0.5px solid #ececec; }
#decor-phone .dcp-ld-chip.on { color: #fff; border-color: transparent; background: var(--btn-bg); }
#decor-phone .dcp-ld-list { padding: 0 12px; }
#decor-phone .dcp-ld-card { background: #fff; border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
#decor-phone .dcp-ld-cover { height: 198px; background: #f2f2f2; position: relative; }
#decor-phone .dcp-ld-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
#decor-phone .dcp-ld-st { position: absolute; top: 8px; right: 8px; font-size: 11px; color: #fff; padding: 2px 8px; border-radius: 999px; background: linear-gradient(90deg, var(--c-pink), var(--c-primary)); }
#decor-phone .dcp-ld-body { padding: 10px 12px 12px; }
#decor-phone .dcp-ld-ctitle { font-size: 15px; font-weight: 600; color: #2a2a2a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#decor-phone .dcp-ld-row { margin-top: 7px; font-size: 12px; color: #585858; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#decor-phone .dcp-ld-bar { display: flex; align-items: center; gap: 8px; margin-top: 9px; }

/* ================= 店铺装修三期：编辑器增强 ================= */
.decor-head-bar { flex-wrap: wrap; gap: 8px; }
.decor-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dc-dirty { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #d46b08; background: #fff7e6; border: 1px solid #ffd591; border-radius: 999px; padding: 3px 10px; }
.dc-save-state { font-size: 12px; color: #8c8c8c; }
.dc-save-state.ok { color: #389e0d; }
.dc-save-state.err { color: #cf1322; }

/* 组件库：搜索 / 分组 / 模板入口 */
.decor-palette .dp-search { margin: 6px 10px 8px; }
.decor-palette .dp-search input { width: 100%; height: 32px; border: 1px solid #e5e7eb; border-radius: 8px; padding: 0 10px; font-size: 12px; outline: none; background: #fafbfc; }
.decor-palette .dp-search input:focus { border-color: #4096ff; background: #fff; }
.decor-palette .dp-group-name { margin: 10px 12px 4px; font-size: 11px; color: #98a2b3; letter-spacing: 1px; }
.decor-palette .dp-empty-q { padding: 30px 12px; text-align: center; color: #98a2b3; font-size: 12px; }
.decor-palette .dp-tpl-entry { display: flex; flex-direction: column; gap: 6px; padding: 10px 2px 14px; }
.decor-palette .dp-tpl-entry .btn { width: 100%; white-space: nowrap; }

/* 配置面板工具条 / 样式面板 */
.dc-conf-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px dashed #eceef2; }
.dc-conf-pos { margin-left: auto; font-size: 11px; color: #98a2b3; }
.dc-style-panel { margin-top: 14px; border: 1px solid #eceef2; border-radius: 10px; background: #fafbfc; overflow: hidden; }
.dc-style-panel > summary { padding: 9px 12px; font-size: 13px; font-weight: 600; cursor: pointer; user-select: none; list-style: none; }
.dc-style-panel > summary::-webkit-details-marker { display: none; }
.dc-style-panel > summary em { font-style: normal; font-weight: 400; font-size: 11px; color: #98a2b3; margin-left: 6px; }
.dc-style-panel[open] > summary { border-bottom: 1px solid #eceef2; background: #fff; }
.dc-style-panel .form-row { padding: 0 12px; }
.dc-style-panel .dc-switch { margin: 8px 12px; }
.dc-color { width: 34px; height: 30px; padding: 0 2px; border: 1px solid #e5e7eb; border-radius: 6px; background: #fff; cursor: pointer; flex: none; }
.dc-unit { font-size: 11px; color: #98a2b3; flex: none; }
.dc-style-foot { display: flex; align-items: center; gap: 10px; padding: 8px 12px 12px; }
.dc-style-tip { font-size: 11px; color: #b0b7c3; }

/* 模块工具条 / 拖拽态 */
.dc-drag-handle { cursor: grab; padding: 0 4px; color: #98a2b3; font-size: 12px; user-select: none; }
.dc-mod.dragging { opacity: .45; transform: scale(.99); }
.dc-mod.dc-drop-before { box-shadow: 0 -3px 0 0 #4096ff, 0 0 0 1px #91caff; }
.dc-mod.dc-drop-after { box-shadow: 0 3px 0 0 #4096ff, 0 0 0 1px #91caff; }

/* 本地草稿恢复条 */
.dc-draft-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 9px 12px; border-radius: 10px; background: #fffbe6; border: 1px solid #ffe58f; font-size: 12px; color: #874d00; }
.dc-draft-bar .btn { flex: none; }

/* Toast */
.dc-toast { position: fixed; left: 50%; bottom: 42px; transform: translateX(-50%); z-index: 99999; padding: 10px 18px; border-radius: 10px; background: rgba(23, 26, 33, .92); color: #fff; font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: opacity .4s, transform .4s; }
.dc-toast.err { background: rgba(190, 29, 45, .94); }
.dc-toast.out { opacity: 0; transform: translateX(-50%) translateY(6px); }

/* 弹窗（版本 / 模板 / 复制页） */
.dc-modal-mask { position: fixed; inset: 0; z-index: 9990; background: rgba(15, 18, 24, .45); display: flex; align-items: center; justify-content: center; padding: 20px; }
.dc-modal { width: 560px; max-width: 100%; max-height: 82vh; display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: 0 24px 64px rgba(0,0,0,.22); overflow: hidden; }
.dc-modal.wide { width: 880px; }
.dc-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #f0f1f4; font-size: 15px; }
.dc-modal-hint { padding: 10px 18px 2px; font-size: 12px; color: #8a93a3; }
.dc-ver-list, .dc-copy-list, .dc-tpl-grid { padding: 12px 18px 18px; overflow: auto; }
.dc-ver-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #f0f1f4; }
.dc-ver-at { width: 128px; flex: none; font-size: 12px; color: #8a93a3; }
.dc-ver-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.dc-ver-info b { font-size: 13px; color: #1f2430; }
.dc-ver-info span { font-size: 11px; color: #98a2b3; }
.dc-ver-empty { padding: 28px 6px; text-align: center; color: #98a2b3; font-size: 12px; }
.dc-copy-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed #f0f1f4; }
.dc-copy-row b { font-size: 13px; color: #1f2430; }
.dc-copy-row span { display: block; font-size: 11px; color: #98a2b3; margin-top: 2px; }
.dc-tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dc-tpl-card { border: 1px solid #eceef2; border-radius: 12px; padding: 12px; background: #fcfdff; display: flex; flex-direction: column; gap: 8px; }
.dc-tpl-top { display: flex; align-items: center; justify-content: space-between; }
.dc-tpl-top b { font-size: 14px; color: #1f2430; }
.dc-tpl-top em { font-style: normal; font-size: 10px; color: #d46b08; background: #fff7e6; border-radius: 999px; padding: 2px 8px; }
.dc-tpl-desc { font-size: 12px; color: #7a8394; line-height: 1.5; min-height: 54px; }
.dc-tpl-mods { display: flex; flex-wrap: wrap; gap: 4px; }
.dc-tpl-mods span { font-size: 10px; color: #475467; background: #f2f4f7; border-radius: 999px; padding: 2px 7px; }
.dc-tpl-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.dc-tpl-foot span { font-size: 11px; color: #98a2b3; }

/* 预览镜像：公共样式挂点（与小程序一致） */
#decor-phone .dc-body { transition: background .15s; box-sizing: border-box; }
#decor-phone .dc-body.dc-anim-fade-up { animation: dcFadeUp .5s ease both; }
#decor-phone .dc-body.dc-anim-zoom { animation: dcZoom .45s ease both; }
@keyframes dcFadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes dcZoom { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
#decor-phone .dc-body.dc-head-center .dmh-sec-head,
#decor-phone .dc-body.dc-head-center .dmd-sec-head { justify-content: center; }
#decor-phone .dc-body.dc-head-center .dmh-sec-sub,
#decor-phone .dc-body.dc-head-center .dmd-sec-sub { flex: none; margin-left: 8px; }
#decor-phone .dc-body.dc-head-hide .dmh-sec-head,
#decor-phone .dc-body.dc-head-hide .dmd-sec-head { display: none; }
#decor-phone .dc-body .dmh-sec-title,
#decor-phone .dc-body .dmd-sec-title { color: var(--dp-tc, #222); }

/* 预览镜像：单图广告 */
#decor-phone .dmh-imagead, #decor-phone .dmd-imagead { position: relative; margin: 10px; border-radius: 10px; overflow: hidden; background: #f4f5f7; }
#decor-phone .dmh-imagead-img, #decor-phone .dmd-imagead-img { display: block; width: 100%; object-fit: cover; }
#decor-phone .dmh-imagead-ph, #decor-phone .dmd-imagead-ph { display: flex; align-items: center; justify-content: center; font-size: 11px; color: #b0b7c3; }
#decor-phone .dmh-imagead-t, #decor-phone .dmd-imagead-t { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; font-size: 15px; font-weight: 600; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%); }

/* 预览镜像：图文宫格 */
#decor-phone .dmh-gridnav, #decor-phone .dmd-gridnav { display: flex; flex-wrap: wrap; padding: 0 5px; }
#decor-phone .dmh-gridnav-item, #decor-phone .dmd-gridnav-item { padding: 5px; box-sizing: border-box; }
#decor-phone .dmh-gridnav.cols-2 .dmh-gridnav-item, #decor-phone .dmd-gridnav.cols-2 .dmd-gridnav-item { width: 50%; }
#decor-phone .dmh-gridnav.cols-3 .dmh-gridnav-item, #decor-phone .dmd-gridnav.cols-3 .dmd-gridnav-item { width: 33.333%; }
#decor-phone .dmh-gridnav.cols-4 .dmh-gridnav-item, #decor-phone .dmd-gridnav.cols-4 .dmd-gridnav-item { width: 25%; }
#decor-phone .dmh-gridnav-pic, #decor-phone .dmd-gridnav-pic { height: 74px; border-radius: 6px; overflow: hidden; background: #f4f5f7; }
#decor-phone .dmh-gridnav-pic img, #decor-phone .dmd-gridnav-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
#decor-phone .dmh-gridnav-t, #decor-phone .dmd-gridnav-t { margin-top: 5px; font-size: 11px; line-height: 1.35; color: #344054; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 预览镜像：搜索入口 */
#decor-phone .dmh-search, #decor-phone .dmd-search { display: flex; align-items: center; gap: 7px; margin: 10px; height: 36px; padding: 0 12px; border-radius: 999px; background: var(--c-card, #fff); border: 0.5px solid #eef0f4; box-sizing: border-box; }
#decor-phone .dmh-search-ph, #decor-phone .dmd-search-ph { font-size: 12px; color: #98a2b3; }
.dcs-ico { display: inline-block; position: relative; flex: none; }
.dcs-ico-search { width: 13px; height: 13px; border: 1.6px solid #98a2b3; border-radius: 50%; }
.dcs-ico-search::after { content: ''; position: absolute; width: 6px; height: 1.6px; background: #98a2b3; transform: rotate(45deg); right: -4px; bottom: -1px; border-radius: 2px; }

/* 预览镜像：留白 / 分割线 */
#decor-phone .dmh-spacer-line, #decor-phone .dmd-spacer-line { height: 1px; }

/* 预览镜像：限时抢购 */
#decor-phone .dmh-countdown, #decor-phone .dmd-countdown { display: flex; align-items: center; justify-content: space-between; margin: 10px; padding: 12px 14px; border-radius: 12px; color: #fff; background: linear-gradient(90deg, var(--c-primary, #ff3b54), var(--c-pink, #ff7aa2)); box-shadow: 0 6px 16px rgba(255, 45, 85, .18); }
#decor-phone .dmh-countdown-t, #decor-phone .dmd-countdown-t { font-size: 16px; font-weight: 700; letter-spacing: .5px; }
#decor-phone .dmh-countdown-s, #decor-phone .dmd-countdown-s { margin-top: 2px; font-size: 11px; color: rgba(255,255,255,.85); }
#decor-phone .dmh-countdown-time, #decor-phone .dmd-countdown-time { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.2); letter-spacing: .5px; }
#decor-phone .dcp-ld-bar-in { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--c-pink), var(--c-primary)); min-width: 6px; }
#decor-phone .dcp-ld-bar-t { font-size: 11px; color: #969696; flex: none; }
#decor-phone .dcp-ld-btm { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
#decor-phone .dcp-ld-price { font-size: 13px; color: var(--c-price); }
#decor-phone .dcp-ld-price b { font-size: 20px; }
#decor-phone .dcp-ld-price em { font-style: normal; font-size: 11px; color: #969696; margin-left: 2px; }
#decor-phone .dcp-ld-remain { font-size: 11px; color: var(--c-pink); }
.profit-card.pc-profit { border-left: 4px solid #ff3b54; }
.profit-card.pc-gross { border-left: 4px solid #1890ff; }
.profit-card.pc-refund { border-left: 4px solid #faad14; }
.profit-card.pc-merchant { border-left: 4px solid #52c41a; }
.profit-card.pc-commission { border-left: 4px solid #722ed1; }
.profit-card.pc-coupon { border-left: 4px solid #13c2c2; }
.profit-card.pc-member { border-left: 4px solid #eb2f96; }
.profit-card.pc-fee { border-left: 4px solid #fa541c; }
.profit-card .pc-label { font-size: 12px; color: #888; display: flex; align-items: center; gap: 6px; }
.profit-card .pc-value { font-size: 26px; font-weight: 700; margin-top: 6px; color: #222; line-height: 1.2; }
.profit-card .pc-value.negative { color: #ff3b54; }
.profit-card .pc-compare { margin-top: 8px; font-size: 12px; color: #888; }
.profit-card .pc-compare .up { color: #ff3b54; }
.profit-card .pc-compare .down { color: #52c41a; }
.profit-card .pc-rate { font-size: 12px; color: #888; margin-top: 4px; }
.profit-card.pc-profit .pc-value { font-size: 32px; }

/* 折线图容器 */
.profit-chart-wrap { background: #fff; border-radius: 8px; padding: 16px 18px; border: 1px solid #f0f0f0; }
.profit-chart-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; font-size: 12px; color: #666; padding-left: 4px; }
.profit-chart-legend .lg-item { display: flex; align-items: center; gap: 5px; }
.profit-chart-legend .lg-dot { width: 10px; height: 3px; border-radius: 2px; }
.profit-chart { width: 100%; height: 320px; overflow-x: auto; }
.profit-chart svg { min-width: 600px; width: 100%; height: 100%; display: block; }
.profit-chart .pc-grid { stroke: #eee; stroke-width: 1; }
.profit-chart .pc-axis { stroke: #bbb; stroke-width: 1; font-size: 11px; fill: #888; }
.profit-chart .pc-line { fill: none; stroke-width: 2; }
.profit-chart .pc-dot { stroke-width: 1; fill: #fff; }

/* 利润明细表 td 颜色 */
#tbody-profit tr td:last-child { font-weight: 600; }
#tbody-profit tr td.p-neg { color: #ff3b54; }

/* ======== SKU 拖拽排序 ======== */
.ge-sku-card { transition: box-shadow .15s ease, transform .15s ease; }
.ge-sku-card.dragging { opacity: .4; box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.ge-sku-card.drop-before { border-top: 3px solid #ff3b54; }
.ge-sku-card.drop-after { border-bottom: 3px solid #ff3b54; }
.ge-sku-drag {
  cursor: grab; font-size: 18px; color: #ccc; user-select: none;
  padding: 0 6px; line-height: 1;
}
.ge-sku-drag:active { cursor: grabbing; color: #888; }
.ge-sku-move { margin-left: auto; display: flex; gap: 2px; opacity: .5; }
.ge-sku-card:hover .ge-sku-move { opacity: 1; }
.ge-sku-btn-up, .ge-sku-btn-dn {
  border: 1px solid #eee; background: #fafafa; color: #888;
  width: 22px; height: 22px; font-size: 10px; cursor: pointer;
  border-radius: 3px; line-height: 1; padding: 0;
}
.ge-sku-btn-up:hover, .ge-sku-btn-dn:hover { background: #fff5f6; color: #ff3b54; border-color: #ff3b54; }
.ge-sku-btn-up:disabled, .ge-sku-btn-dn:disabled { opacity: .25; cursor: not-allowed; }

/* ===== 积分商品弹窗（四类履约 + 商品搜索直选） ===== */
.pgm { display: flex; flex-direction: column; gap: 14px; }
.pgm-sec { border: 1px solid #eef0f3; border-radius: 8px; padding: 12px 14px; background: #fff; }
.pgm-sec[hidden] { display: none; }
.pgm-h { display: flex; align-items: baseline; gap: 6px; font-weight: 600; font-size: 13px; color: #222; margin-bottom: 10px; }
.pgm-h b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%; background: #ff3b54; color: #fff;
  font-size: 11px; font-weight: 600;
}
.pgm-h span { font-weight: 400; font-size: 11px; color: #999; }
.pgm-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.pgm-type {
  display: flex; flex-direction: column; gap: 3px; cursor: pointer;
  border: 1px solid #e6e8eb; border-radius: 8px; padding: 10px 12px; background: #fafbfc;
  transition: all .15s;
}
.pgm-type:hover { border-color: #ffb3bc; background: #fff8f9; }
.pgm-type.on { border-color: #ff3b54; background: #fff2f4; box-shadow: 0 0 0 1px #ff3b54 inset; }
.pgm-type-n { font-size: 13px; font-weight: 600; color: #222; }
.pgm-type.on .pgm-type-n { color: #ff3b54; }
.pgm-type-d { font-size: 11px; color: #999; }
.pgm-picked { margin-top: 10px; border: 1px dashed #e0e4e9; border-radius: 8px; padding: 10px 12px; background: #fcfdfe; }
.pgm-picked[hidden] { display: none; }
.pgm-picked-t { font-size: 11px; color: #999; margin-bottom: 6px; }
.pgm-picked-row { display: flex; align-items: center; gap: 10px; }
.pgm-picked-pic img { border-radius: 6px; object-fit: cover; }
.pgm-picked-info { min-width: 0; }
.pgm-picked-name { font-size: 13px; font-weight: 600; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pgm-picked-meta { font-size: 11px; color: #888; margin-top: 3px; }
.pgm-ok, .pgm-warn { margin-top: 8px; font-size: 11px; line-height: 1.6; border-radius: 6px; padding: 5px 8px; }
.pgm-ok { background: #effaf3; color: #1a9c60; }
.pgm-warn { background: #fff7e8; color: #b7791f; }
.pgm-finance { border-radius: 8px; background: #f6f8fb; border: 1px solid #e6ebf2; padding: 12px 14px; }
.pgm-finance-t { font-size: 12px; font-weight: 600; color: #33507a; margin-bottom: 6px; }
.pgm-finance ul { margin: 0; padding-left: 18px; }
.pgm-finance li { font-size: 11px; color: #6b7a90; line-height: 1.8; }
.pgm-finance b { color: #33507a; }

/* ================= 运营分析中心（第一期） ================= */
.an-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;padding:10px 12px;background:#fff;border:1px solid #e8edf5;border-radius:8px}
.an-range,.an-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.an-label{font-size:12px;color:#7a8699;margin-right:2px}
.an-chip{border:1px solid #dde5f0;background:#fff;color:#5b6b82;border-radius:14px;padding:3px 12px;font-size:12px;cursor:pointer}
.an-chip:hover{border-color:#2f7bff;color:#2f7bff}
.an-chip.active{background:#2f7bff;border-color:#2f7bff;color:#fff}
.an-date{border:1px solid #dde5f0;border-radius:6px;padding:3px 8px;font-size:12px;color:#3c4a5e;background:#fff}
.an-select{border:1px solid #dde5f0;border-radius:6px;padding:4px 8px;font-size:12px;color:#3c4a5e;background:#fff}
.an-sep{color:#98a2b3;font-size:12px}
.an-note{flex:1;min-width:240px;font-size:11px;color:#98a2b3;text-align:right}
.an-window-hint{font-size:12px;color:#7a8699;margin-right:10px}
.an-subnav{display:flex;gap:4px;border-bottom:1px solid #e8edf5;margin-bottom:14px;flex-wrap:wrap}
.an-subnav button{background:none;border:none;padding:9px 16px;font-size:14px;color:#5b6b82;cursor:pointer;border-bottom:2px solid transparent}
.an-subnav button:hover{color:#2f7bff}
.an-subnav button.active{color:#2f7bff;border-bottom-color:#2f7bff;font-weight:600}
.an-section{display:none}
.an-section.active{display:block}
.an-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(168px,1fr));gap:10px;margin-bottom:14px}
.an-kpi{background:#fff;border:1px solid #e8edf5;border-left:3px solid #2f7bff;border-radius:8px;padding:12px 14px}
.an-kpi-warn{border-left-color:#ff8a3d;background:#fffdf9}
.an-kpi-label{font-size:12px;color:#7a8699}
.an-kpi-value{font-size:22px;font-weight:700;color:#1f2d3d;margin:6px 0 2px;font-variant-numeric:tabular-nums;line-height:1.2}
.an-kpi-sub{font-size:11px;color:#98a2b3;min-height:14px}
.an-grid2{display:grid;grid-template-columns:1.35fr 1fr;gap:14px;margin-bottom:14px}
.an-card{background:#fff;border:1px solid #e8edf5;border-radius:8px;padding:14px 16px;margin-bottom:14px}
.an-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;flex-wrap:wrap}
.an-card-head .an-card-title{margin-bottom:0}
.an-card-title{font-size:14px;font-weight:600;color:#1f2d3d;margin-bottom:10px}
.an-card-title .an-sub,.an-sub{font-size:11px;color:#98a2b3;font-weight:400}
.an-search{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.an-search input{border:1px solid #dde5f0;border-radius:6px;padding:5px 9px;font-size:12px;min-width:180px}
.an-search select{border:1px solid #dde5f0;border-radius:6px;padding:5px 8px;font-size:12px}
.an-chart-wrap{width:100%;overflow:hidden}
.an-legend{display:flex;gap:16px;font-size:11px;color:#7a8699;margin-top:4px}
.an-dot{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:4px}
.an-dot-gmv{background:#2f7bff}
.an-dot-order{background:#ffb020}
.an-dot-refund{background:#ff6b6b}
.an-table-wrap{overflow:auto;max-width:100%}
.an-table{width:100%;border-collapse:collapse;font-size:12px}
.an-table th{background:#f7f9fc;color:#7a8699;font-weight:500;text-align:left;padding:8px 10px;white-space:nowrap;border-bottom:1px solid #e8edf5}
.an-table td{padding:8px 10px;border-bottom:1px solid #f2f5fa;color:#3c4a5e;vertical-align:top}
.an-table tbody tr:hover{background:#fafcff}
.an-table-mini th,.an-table-mini td{padding:6px 8px}
.an-table-compact{max-height:360px;overflow:auto}
.an-bar-row{display:flex;align-items:center;gap:8px;margin:6px 0}
.an-bar-name{width:76px;flex:none;font-size:12px;color:#5b6b82;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.an-bar{flex:1;height:8px;background:#f2f5fa;border-radius:4px;overflow:hidden}
.an-bar>div{height:100%;background:linear-gradient(90deg,#2f7bff,#7fb0ff);border-radius:4px}
.an-bar-val{width:92px;flex:none;text-align:right;font-size:12px;color:#3c4a5e}
.an-ring-wrap{display:flex;align-items:center;gap:14px}
.an-ring{width:120px;height:120px;flex:none}
.an-ring-list{flex:1;min-width:0}
.an-ring-item{display:flex;justify-content:space-between;font-size:12px;padding:3px 0;gap:8px}
.an-ring-name{color:#5b6b82;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.an-ring-name i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:6px}
.an-ring-val{color:#1f2d3d;font-variant-numeric:tabular-nums;flex:none}
.an-funnel-row{display:flex;align-items:center;gap:8px;margin:7px 0}
.an-funnel-name{width:64px;font-size:12px;color:#5b6b82;flex:none}
.an-funnel-bar{flex:1;height:18px;background:#f2f5fa;border-radius:4px;overflow:hidden}
.an-funnel-bar>div{height:100%;background:linear-gradient(90deg,#2f7bff,#8ec5ff)}
.an-funnel-val{width:120px;text-align:right;font-size:12px;color:#1f2d3d;flex:none}
.an-funnel-val em{font-style:normal;color:#98a2b3;margin-left:4px}
.an-compare{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
.an-cmp{border:1px solid #f0f4fa;border-radius:8px;padding:10px 12px;background:#fafcff}
.an-cmp-label{font-size:11px;color:#98a2b3}
.an-cmp-value{font-size:18px;font-weight:600;color:#1f2d3d;margin:4px 0;font-variant-numeric:tabular-nums}
.an-cmp-change{font-size:11px}
.an-cmp-change span{color:#98a2b3;margin-left:4px}
.an-cmp-change.up{color:#12b76a}
.an-cmp-change.down{color:#f04438}
.an-seg-row{display:flex;flex-wrap:wrap;gap:8px}
.an-seg{display:flex;flex-direction:column;gap:2px;align-items:flex-start;min-width:92px;border:1px solid #e2e9f3;background:#fff;border-radius:8px;padding:8px 12px;cursor:pointer;font-size:12px;color:#5b6b82}
.an-seg b{font-size:18px;color:#1f2d3d;font-variant-numeric:tabular-nums}
.an-seg:hover{border-color:#9cc0ff}
.an-seg.active{border-color:#2f7bff;box-shadow:0 0 0 2px rgba(47,123,255,.13)}
.an-seg-clear{border-style:dashed;color:#98a2b3;justify-content:center}
.an-seg-badge{display:inline-block;padding:2px 8px;border-radius:10px;font-size:11px;background:#eef2f7;color:#5b6b82;white-space:nowrap}
.seg-high{background:#fff1e6;color:#d96a0b}
.seg-potential{background:#e8f4ff;color:#1f6feb}
.seg-new{background:#e9f9f1;color:#0f9f6e}
.seg-low{background:#f3f4f6;color:#6b7280}
.seg-sleep{background:#f5f0ff;color:#7a4ddb}
.seg-churn{background:#ffeded;color:#d92d20}
.seg-none{background:#f3f4f6;color:#6b7280}
.an-tag{display:inline-block;padding:1px 7px;border-radius:9px;font-size:11px}
.an-tag.green{background:#e9f9f1;color:#0f9f6e}
.an-tag.gray{background:#f3f4f6;color:#6b7280}
.an-tag.orange{background:#fff4ed;color:#d96a0b}
.an-tag.blue{background:#eaf2ff;color:#2f7bff}
.an-vip{font-style:normal;background:linear-gradient(90deg,#ffb020,#ff8a3d);color:#fff;font-size:10px;border-radius:8px;padding:1px 6px;margin-left:6px}
.an-danger{color:#f04438}
.an-user-cell{display:flex;align-items:center;gap:8px}
.an-avatar-sm{width:30px;height:30px;border-radius:50%;background:#eef3fb;color:#5b6b82;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:none;font-size:12px}
.an-avatar-img{width:100%;height:100%;object-fit:cover}
.an-user-name{color:#1f2d3d;font-weight:500}
.an-top-row{display:flex;align-items:center;gap:8px;padding:7px 0;border-bottom:1px dashed #f0f4fa;font-size:12px}
.an-top-row:last-child{border-bottom:none}
.an-rank{width:18px;height:18px;line-height:18px;text-align:center;border-radius:5px;background:#f2f5fa;color:#7a8699;flex:none;font-size:11px}
.an-rank.hot{background:#2f7bff;color:#fff}
.an-top-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3c4a5e}
.an-top-val{flex:none;color:#1f2d3d;font-variant-numeric:tabular-nums}
.an-empty{padding:18px;text-align:center;color:#98a2b3;font-size:12px}
.an-loading{padding:24px;text-align:center;color:#98a2b3;font-size:12px}
.an-error{padding:18px;text-align:center;color:#f04438;font-size:12px}
.an-pager-info{font-size:12px;color:#98a2b3;margin-right:8px}
.an-drawer{position:fixed;top:0;right:-580px;width:580px;max-width:94vw;height:100vh;background:#fff;z-index:1001;box-shadow:-6px 0 24px rgba(15,35,70,.12);transition:right .22s ease;display:flex;flex-direction:column}
.an-drawer.show{right:0}
.an-drawer .ud-head{padding:14px 18px;border-bottom:1px solid #eef2f7;display:flex;justify-content:space-between;align-items:center}
.an-drawer .ud-body{padding:16px 18px;overflow-y:auto;flex:1}
.an-profile-head{display:flex;gap:12px;align-items:center}
.an-avatar-lg{width:52px;height:52px;border-radius:50%;background:#eef3fb;display:flex;align-items:center;justify-content:center;overflow:hidden;flex:none;font-size:18px;color:#5b6b82}
.an-avatar-lg img{width:100%;height:100%;object-fit:cover}
.an-profile-name{font-size:16px;font-weight:600;color:#1f2d3d}
.an-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.an-badge{font-size:11px;background:#f2f5fa;border-radius:8px;padding:1px 7px;color:#5b6b82}
.an-risk{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.an-risk span{background:#fff4ed;color:#d96a0b;border:1px solid #ffe0c7;border-radius:6px;padding:2px 8px;font-size:11px}
.an-risk span.danger{background:#ffeded;color:#d92d20;border-color:#ffd3d0}
.an-detail-title{font-size:13px;font-weight:600;color:#1f2d3d;margin:16px 0 8px;padding-left:8px;border-left:3px solid #2f7bff}
.an-mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.an-mini-grid>div{background:#fafcff;border:1px solid #f0f4fa;border-radius:6px;padding:8px 10px;font-size:11px;color:#98a2b3}
.an-mini-grid b{display:block;font-size:13px;color:#1f2d3d;margin-top:3px;font-weight:600;word-break:break-all}
@media (max-width:1100px){.an-grid2{grid-template-columns:1fr}.an-note{text-align:left}.an-mini-grid{grid-template-columns:repeat(2,1fr)}}
