/* 烬穹网页版 - 深色「战术面板」视觉体系
   原则：方正硬朗、克制不夸张；用层次/留白/数据建立信任，而非高饱和渐变 */
:root {
  /* V10 荧光明黄主色：#FFCE00 为价签黄，#FFD84D 为浅黄过渡色，#E9FF3D 为荧光点缀 */
  --primary: #FFCE00;
  --primary-dark: #A87B00;
  --primary-light: #FFD84D;
  --gold: #f5a623;
  --accent: #E9FF3D;
  --grad-primary: linear-gradient(135deg, #D9A600 0%, #FFF07A 100%);
  --grad-hero: linear-gradient(135deg, #17181D 0%, #2B2C26 52%, #FFCE00 100%);

  --bg-app: #EDEBE3;
  --bg-page: #F7F6F1;
  --bg-card: #ffffff;
  --bg-card-2: #FCFBF6;
  --bg-input: #F4F2EA;
  --bg-elev: #ffffff;

  /* 文字加深：对比度更足，玩家一眼看清价格与状态 */
  --text-primary: #1A1B20;
  --text-secondary: #4F5049;
  --text-muted: #85837A;

  --border: #E4E1D6;
  --border-strong: #CFCBBB;
  --line-soft: rgba(60,52,26,.08);

  --success: #0f9d58;
  --danger: #e02d24;
  --warning: #d9860b;
  --cyan: #D9A600;

  --radius: 3px;
  --radius-lg: 5px;
  --shadow: 0 8px 26px rgba(55,48,24,.15);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; min-height: 100%; }
body {
  background: var(--bg-app);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
img { display: block; }

/* 面板：极淡的顶部暖光 + 几乎不可见的网格，像一块设备屏，不吵 */
#phone {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  overflow-x: hidden;
  background:
    radial-gradient(120% 60% at 50% -14%, rgba(255,206,0,.13), transparent 62%),
    var(--bg-page);
  box-shadow: 0 0 0 1px rgba(0,0,0,.035), 0 24px 70px rgba(58,52,30,.14);
}
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 50px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
}
.app-header.hidden { display: none; }
.header-left {
  position: absolute;
  left: 8px;
  top: 0;
  height: 50px;
  display: flex;
  align-items: center;
  color: var(--primary);
  font-size: 22px;
  background: none;
  border: 0;
  padding: 0 10px;
}
.header-right {
  position: absolute;
  right: 12px;
  top: 0;
  height: 50px;
  display: flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
  padding: 0 8px;
  height: 22px;
  top: 14px;
  border-radius: 2px;
}
.app-main { min-height: calc(100vh - 50px); padding-bottom: 12px; }
.app-main.with-tabbar { padding-bottom: 76px; }

/* 底部 TabBar —— 方形图标盒 */
.tabbar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  min-height: 62px;
  background: #ffffff;
  border-top: 1px solid var(--border);
  z-index: 60;
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar.show { display: flex; }
.tabbar-item {
  flex: 1;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 11px;
}
.tabbar-item.active { color: var(--primary); font-weight: 700; }
.tab-icon-box {
  width: 30px; height: 30px; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  background: #eef2f8; border: 1px solid var(--border-strong);
  transition: background .2s, border-color .2s;
}
.tab-icon-box svg { width: 18px; height: 18px; stroke: #8B887A; fill: none; transition: stroke .2s; }
.tabbar-item.active .tab-icon-box { background: rgba(255,190,0,.14); border-color: rgba(255,190,0,.55); }
.tabbar-item.active .tab-icon-box svg { stroke: var(--primary); }
.tab-label { line-height: 1; }

/* 通用布局 —— 方正卡片，顶部一道内高光 */
.container { padding: 10px; min-height: calc(100vh - 60px); }
.card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-card) 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 10px;
  box-shadow: inset 0 1px 0 rgba(0,0,0,.035), var(--shadow);
}
.page-header { padding: 15px 10px 10px; text-align: center; }
.page-title { font-size: 18px; font-weight: 700; margin-bottom: 5px; letter-spacing: .5px; }
.page-subtitle { font-size: 12px; color: var(--text-secondary); }
.divider { height: 1px; background: var(--border); margin: 10px 0; }

/* 按钮 —— 直角、轻微立体按压感 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  transition: filter .18s, transform .1s;
}
.btn:active { filter: brightness(.92); transform: translateY(1px); }
.btn:disabled { opacity: .38; cursor: default; pointer-events: none; }
.btn-primary { background: linear-gradient(180deg, var(--primary-light), var(--primary-dark)); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 3px 0 #A87B00; }
.btn-outline { background: transparent; border: 1px solid var(--border-strong); color: var(--text-secondary); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-success { background: linear-gradient(180deg, #55d495, #2c9d64); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 3px 0 #1f7c4d; }
.btn-danger { background: linear-gradient(180deg, #f56a6a, #d63a3a); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 3px 0 #a82a2a; }
.btn-gold { background: linear-gradient(180deg, #ffcb63, #d99418); color: #241a08; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 3px 0 #a86f0c; }
.btn-sm { min-height: 30px; padding: 0 12px; font-size: 12px; border-radius: 2px; letter-spacing: 0; }
.btn-block { width: 100%; }
.btn-disabled { opacity: .4; pointer-events: none; }

/* 标签 —— 方形描边，克制 */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  border: 1px solid transparent;
}
.tag-primary { background: rgba(255,190,0,.12); color: var(--primary-light); border-color: rgba(255,190,0,.3); }
.tag-success { background: rgba(70,197,132,.12); color: var(--success); border-color: rgba(70,197,132,.3); }
.tag-warning { background: rgba(240,166,60,.12); color: var(--warning); border-color: rgba(240,166,60,.3); }
.tag-danger { background: rgba(239,82,82,.12); color: var(--danger); border-color: rgba(239,82,82,.3); }
.tag-gold { background: rgba(242,181,68,.12); color: var(--gold); border-color: rgba(242,181,68,.3); }
.tag-muted { background: rgba(0,0,0,.035); color: var(--text-muted); border-color: var(--border-strong); }

/* 空状态 / 加载 */
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; text-align: center; }
.empty-state .empty-emoji { font-size: 34px; margin-bottom: 10px; opacity: .7; }
.empty-state .empty-text { color: var(--text-muted); font-size: 13px; }
.loading-wrap { display: flex; align-items: center; justify-content: center; padding: 30px; color: var(--text-muted); font-size: 13px; }

/* 表单 */
.form-group { margin-bottom: 12px; }
.form-label { display: block; font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; letter-spacing: .3px; }
.form-input {
  width: 100%;
  min-height: 42px;
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  padding: 8px 11px;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(255,190,0,.13); }
.form-input::placeholder { color: var(--text-muted); }
select.form-input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8B887A 50%), linear-gradient(135deg, #8B887A 50%, transparent 50%); background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px; background-size: 5px 5px; background-repeat: no-repeat; }
input[type="color"].form-input { padding: 4px; height: 42px; }
input[type="file"].form-input { padding: 8px; font-size: 12px; }

/* 价格 / 文本工具 */
.price { color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.price-lg { font-size: 21px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-primary { color: var(--primary); }
.text-sm { font-size: 11px; }
.text-lg { font-size: 16px; }
.text-bold { font-weight: 700; }
.mt-10 { margin-top: 5px; } .mt-20 { margin-top: 10px; } .mt-30 { margin-top: 15px; }
.mb-10 { margin-bottom: 5px; } .mb-20 { margin-bottom: 10px; } .mb-30 { margin-bottom: 15px; }
.ml-10 { margin-left: 5px; } .mr-10 { margin-right: 5px; }
.flex { display: flex; } .flex-1 { flex: 1; min-width: 0; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-column { display: flex; flex-direction: column; }

/* ===== 登录页 ===== */
.login-page {
  min-height: calc(100vh - 50px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 26px 0;
}
.brand-section { display: flex; flex-direction: column; align-items: center; margin-bottom: 34px; }
.brand-logo { width: 68px; height: 68px; border-radius: 4px; margin-bottom: 16px; border: 1px solid var(--border-strong); box-shadow: 0 8px 26px rgba(255,190,0,.16); }
.brand-title { font-size: 30px; font-weight: 800; letter-spacing: 8px; margin-bottom: 4px; }
.brand-en { font-size: 10px; letter-spacing: 5px; color: var(--primary); margin-bottom: 12px; text-transform: uppercase; }
.brand-slogan { font-size: 12px; color: var(--text-secondary); letter-spacing: 2px; }
.login-card { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; background: linear-gradient(180deg, var(--bg-card), #ffffff); border: 1px solid var(--border-strong); border-radius: 3px; padding: 22px 18px; box-shadow: inset 0 1px 0 rgba(0,0,0,.035), 0 10px 30px rgba(58,52,30,.10); }
.form-section { display: flex; flex-direction: column; align-items: center; width: 100%; min-width: 0; }
.input-group { display: flex; align-items: center; width: 100%; max-width: 100%; min-width: 0; height: 46px; background: var(--bg-input); border: 1px solid var(--border-strong); border-radius: 2px; margin-bottom: 12px; padding: 0 12px; }
.input-icon { font-size: 17px; margin-right: 9px; opacity: .85; flex-shrink: 0; }
.login-input { flex: 1; width: 100%; min-width: 0; height: 44px; border: 0; background: transparent; outline: none; font-size: 15px; color: var(--text-primary); }
.login-input::placeholder { color: var(--text-muted); }
.login-btn { width: 100%; max-width: 100%; min-width: 0; height: 46px; border-radius: 2px; border: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: #fff; margin-top: 10px; letter-spacing: 2px; background: linear-gradient(180deg, var(--primary-light), var(--primary-dark)); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 3px 0 #A87B00; }
.login-btn.wx-btn { background: linear-gradient(180deg, #17c964, #0a9e4b); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 3px 0 #087a39; }
.login-btn:disabled { opacity: .5; }
.wx-login-title { font-size: 19px; font-weight: 700; color: var(--text-primary); margin: 14px 0 4px; letter-spacing: 1px; }
.wx-login-desc { font-size: 12px; margin-bottom: 20px; }
.wx-logo { display: flex; justify-content: center; margin: 12px 0 4px; }
.login-divider { display: flex; align-items: center; width: 100%; margin: 22px 0 14px; color: var(--text-muted); font-size: 11px; letter-spacing: 1px; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.login-divider span { padding: 0 10px; }
.btn-outline-green { background: transparent; color: #38cf7b; border: 1px solid rgba(56,207,123,.5); box-shadow: none; }
.btn-outline-green:hover { background: rgba(56,207,123,.08); }
.login-tip { margin-top: 12px; text-align: center; }

/* 微信授权弹窗 —— 保持浅色以贴近微信原生，但改方角 */
.wx-auth-mask { position: fixed; inset: 0; z-index: 300; background: rgba(40,38,30,.45); align-items: center; justify-content: center; padding: 24px; }
.wx-auth-panel { width: 100%; max-width: 340px; background: #f7f7f8; border-radius: 3px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.15); }
.wx-auth-head { background: #ededf0; text-align: center; padding: 24px 20px 18px; border-bottom: 1px solid #dcdce0; }
.wx-auth-app { font-size: 18px; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
.wx-auth-sub { font-size: 12px; color: #888; }
.wx-auth-body { padding: 18px 20px 6px; }
.wx-auth-scope { font-size: 13px; color: #444; margin-bottom: 16px; }
.wx-auth-profile { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; border: 1px solid #e2e2e6; border-radius: 2px; }
.wx-auth-avatar { width: 46px; height: 46px; border-radius: 3px; background: #e6e6e6; flex-shrink: 0; }
.wx-auth-nick { flex: 1; min-width: 0; }
.wx-auth-nick .login-input { height: 34px; background: #fff; color: #1a1a1a; border: 1px solid #dcdce0; border-radius: 2px; padding: 0 10px; }
.wx-auth-actions { display: flex; gap: 12px; padding: 14px 20px 22px; }
.wx-auth-btn { flex: 1; height: 42px; border-radius: 2px; font-size: 15px; font-weight: 600; border: 1px solid #c8c8cc; background: #fff; color: #444; }
.wx-auth-btn.primary { background: #07c160; border-color: #07c160; color: #fff; }
.admin-entry { margin-top: 18px; text-align: right; font-size: 11px; color: var(--text-muted); cursor: pointer; letter-spacing: .5px; }
.admin-entry span { padding: 6px 8px; }
.admin-mode-title { font-size: 15px; font-weight: 700; color: var(--primary-light); letter-spacing: 3px; margin-bottom: 16px; text-align: center; }
.back-to-wx { margin-top: 14px; text-align: center; font-size: 12px; color: var(--text-muted); cursor: pointer; min-height: 40px; display: flex; align-items: center; justify-content: center; }
.login-footer { margin-top: auto; padding: 24px 0 30px; text-align: center; }

/* ===== 幸运转盘 ===== */
.wheel-page { padding-top: 16px; }
.wheel-intro { display: flex; flex-direction: column; align-items: center; margin-bottom: 14px; }
.wheel-title { font-size: 21px; font-weight: 800; margin-bottom: 4px; letter-spacing: 1px; }
.wheel-ticket-tip { max-width: 340px; margin: 0 auto 14px; padding: 10px 14px; border-radius: 2px; background: rgba(242,181,68,.08); border: 1px solid rgba(242,181,68,.35); color: #8a5a12; font-size: 12px; text-align: center; line-height: 1.6; }
.wheel-ticket-tip b { color: var(--gold); font-size: 14px; }
.wheel-no-ticket { max-width: 340px; margin: 0 auto 16px; padding: 18px 16px; border-radius: 3px; background: var(--bg-card); border: 1px solid var(--border-strong); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--text-secondary); font-size: 12px; line-height: 1.6; }
.wheel-no-ticket .wnt-icon { font-size: 30px; }
.wheel-no-ticket b { font-size: 15px; color: var(--text-primary); }
.wheel-no-ticket .btn { margin-top: 8px; }
.wheel-stage.wheel-locked { filter: grayscale(.85); opacity: .6; }
.wheel-stage.wheel-locked .wheel-center { display: none; }
.wheel-stage { position: relative; width: 300px; height: 300px; margin: 0 auto 20px; }
.wheel-disc { position: absolute; inset: 0; border-radius: 50%; border: 5px solid #dfe6f0; box-shadow: 0 0 0 1px var(--border-strong), 0 8px 28px rgba(58,52,30,.13), inset 0 0 0 2px rgba(255,255,255,.18); transition: transform 4s cubic-bezier(.15,.7,.15,1); }
.wheel-labels { position: absolute; inset: 0; }
.wheel-label { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.wheel-label > span { position: absolute; left: 0; top: 0; width: 76px; text-align: center; color: #fff; font-size: 12px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.55); line-height: 1.3; }
.wheel-pointer { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); z-index: 5; width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 26px solid var(--primary); filter: drop-shadow(0 2px 3px rgba(58,52,30,.12)); }
.wheel-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 6; width: 66px; height: 66px; border-radius: 50%; background: #fff; color: var(--primary-dark); font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 12px rgba(58,52,30,.12); border: 3px solid var(--primary); cursor: pointer; user-select: none; }
.wheel-center:active { transform: translate(-50%, -50%) scale(.94); }
.wheel-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--text-muted); font-size: 14px; }
.wheel-spin-btn { max-width: 300px; margin: 0 auto 16px; }
.wheel-history { margin-top: 6px; }
.wheel-result-card { text-align: center; }
.wr-main { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 8px 0; }
.wr-icon { font-size: 34px; }
.wr-label { font-size: 22px; font-weight: 800; color: var(--gold); }

/* ===== 首页-客户端：信任感与购买欲 ===== */
.top-bar { padding: 12px 12px 6px; }
.logo-row { display: flex; align-items: center; }
.logo { width: 30px; height: 30px; border-radius: 3px; margin-right: 9px; border: 1px solid var(--border-strong); }
.brand-name { font-size: 17px; font-weight: 800; letter-spacing: 2px; }
.brand-tag { margin-left: auto; font-size: 10px; letter-spacing: 1px; color: var(--primary-light); border: 1px solid rgba(255,190,0,.35); padding: 2px 7px; border-radius: 2px; }
.hero-line { padding: 2px 12px 10px; font-size: 12px; color: var(--text-secondary); letter-spacing: .5px; }
.hero-line b { color: var(--gold); font-weight: 600; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 10px 12px; border: 1px solid var(--border); border-radius: 3px; background: linear-gradient(180deg, var(--bg-card), #ffffff); overflow: hidden; }
.ts-item { padding: 11px 4px 10px; text-align: center; border-right: 1px solid var(--border); }
.ts-item:last-child { border-right: 0; }
.ts-num { display: block; font-size: 17px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.ts-label { display: block; margin-top: 2px; font-size: 10px; color: var(--text-muted); letter-spacing: 1px; }
.tabs-scroll { display: flex; gap: 6px; overflow-x: auto; padding: 4px 10px 8px; scrollbar-width: none; }
.tabs-scroll::-webkit-scrollbar { display: none; }
.game-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; padding: 8px 13px; border-radius: 2px; background: var(--bg-card); border: 1px solid var(--border-strong); font-size: 13px; color: var(--text-secondary); cursor: pointer; }
.game-tab.active { background: linear-gradient(180deg, rgba(255,190,0,.2), rgba(255,190,0,.08)); border-color: var(--primary); color: #ffffff; box-shadow: inset 0 0 0 1px rgba(255,190,0,.15); }
.game-tab.active .game-name { color: #fff; }
.cat-tab { flex: 0 0 auto; padding: 6px 12px; border-radius: 2px; font-size: 12px; color: var(--text-muted); background: transparent; border: 1px solid var(--border); cursor: pointer; }
.cat-tab.active { color: var(--primary-light); background: rgba(255,190,0,.1); border-color: rgba(255,190,0,.5); }
/* 分类较多时自动换行，窄屏也能一眼看全，不留"被裁半截"的观感 */
.tabs-scroll.cat-tabs-wrap { flex-wrap: wrap; overflow-x: visible; padding-bottom: 6px; }
.assurance-bar { display: flex; align-items: center; justify-content: space-around; gap: 4px; margin: 0 10px 10px; padding: 8px 6px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ab-item { font-size: 11px; color: var(--text-secondary); letter-spacing: .2px; white-space: nowrap; }
.ab-item i { color: var(--success); font-style: normal; margin-right: 3px; font-weight: 700; }
.order-type-list { padding: 0 10px; }

/* 商品卡 —— 信息分层：分类/热销 → 名称 → 描述 → 保障 → 价格锚定 + CTA */
.order-type-card { position: relative; display: block; padding: 14px 14px 12px; margin-bottom: 10px; border: 1px solid var(--border); border-radius: 3px; background: linear-gradient(180deg, var(--bg-card) 0%, #ffffff 100%); cursor: pointer; box-shadow: inset 0 1px 0 rgba(0,0,0,.035), 0 6px 18px rgba(58,52,30,.09); transition: border-color .18s, transform .1s; }
.order-type-card:active { transform: translateY(1px); border-color: var(--border-strong); }
.order-type-card.is-hot { border-left: 3px solid var(--primary); }
.otc-image { width: 100%; height: 96px; border-radius: 2px; object-fit: cover; margin-bottom: 10px; border: 1px solid var(--border); }
.otc-top { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.otc-cat-tag { display: inline-block; padding: 2px 7px; border-radius: 2px; font-size: 10px; font-weight: 600; border: 1px solid; }
.otc-hot { font-size: 10px; font-weight: 700; letter-spacing: .5px; color: #fff; background: var(--primary); padding: 2px 7px; border-radius: 2px; }
.otc-rank { margin-left: auto; font-size: 10px; color: var(--text-muted); letter-spacing: .5px; }
.otc-name { display: block; font-size: 16px; font-weight: 700; letter-spacing: .3px; margin-bottom: 4px; color: var(--text-primary); }
.otc-desc { display: block; font-size: 12px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 9px; }
.otc-guards { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; }
.guard { font-size: 10px; color: var(--text-secondary); border: 1px solid var(--border-strong); border-radius: 2px; padding: 2px 6px; background: rgba(0,0,0,.035); }
.guard i { color: var(--success); font-style: normal; margin-right: 3px; }
.otc-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 11px; border-top: 1px dashed var(--border-strong); }
.otc-price-box { min-width: 0; }
.otc-price-old { font-size: 11px; color: var(--text-muted); text-decoration: line-through; margin-right: 6px; }
.otc-price-now { font-size: 22px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.otc-save { display: inline-block; margin-left: 6px; font-size: 10px; color: var(--primary-light); border: 1px solid rgba(255,190,0,.4); border-radius: 2px; padding: 1px 5px; }
.otc-sold { display: block; margin-top: 3px; font-size: 10px; color: var(--text-muted); letter-spacing: .3px; }
.otc-cta { flex: 0 0 auto; padding: 9px 15px; border-radius: 2px; font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 1px; background: linear-gradient(180deg, var(--primary-light), var(--primary-dark)); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 2px 0 #A87B00; }
.ot-confirm-image { width: 100%; max-height: 220px; object-fit: contain; background: #F6F3E8; border-radius: 2px; margin-bottom: 12px; border: 1px solid var(--border); }
.prize-dot { display: inline-block; width: 12px; height: 12px; border-radius: 2px; border: 1px solid rgba(255,255,255,.2); }

/* ===== 首页-打手 / 管理 ===== */
.escort-info-card { margin: 0 10px 10px; }
.escort-avatar { width: 40px; height: 40px; border-radius: 3px; margin-right: 10px; border: 1px solid var(--border-strong); object-fit: cover; }
.escort-name { display: block; font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.escort-wb-tabs { display: flex; margin: 0 10px 10px; border-bottom: 1px solid var(--border); }
.escort-wb-tab { flex: 1; text-align: center; padding: 10px 0; font-size: 14px; color: var(--text-muted); position: relative; cursor: pointer; }
.escort-wb-tab.active { color: var(--primary-light); font-weight: 700; }
.escort-wb-tab.active::after { content: ''; position: absolute; bottom: -1px; left: 30%; width: 40%; height: 2px; background: var(--primary); }
.tab-badge { display: inline-block; min-width: 16px; height: 16px; line-height: 16px; text-align: center; background: var(--danger); color: #fff; font-size: 10px; border-radius: 2px; margin-left: 4px; padding: 0 4px; }
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 10px; }
.stat-card { background: linear-gradient(180deg, var(--bg-card), #ffffff); border: 1px solid var(--border); border-radius: 3px; padding: 14px 10px; text-align: center; }
.stat-value { display: block; font-size: 21px; font-weight: 800; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 11px; color: var(--text-muted); letter-spacing: 1px; }
.admin-quick { margin: 10px; }
.admin-quick button { width: 100%; }

/* ===== 订单卡片 ===== */
.order-card { margin-bottom: 8px; border-radius: 3px; cursor: pointer; }
.order-status-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.order-time { font-size: 11px; }
.order-body { padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.order-game-row { display: flex; align-items: center; margin-bottom: 4px; }
.order-game { font-size: 13px; font-weight: 700; }
.order-type-name { font-size: 13px; color: var(--text-secondary); }
.order-player-info { margin: 3px 0; padding: 4px 6px; border-radius: 2px; background: rgba(0,0,0,.035); }
.order-escort-row { margin: 3px 0; }
.order-price-row { display: flex; align-items: center; gap: 5px; margin-top: 5px; }
.order-price { font-size: 15px; }
.order-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 8px; }
.status-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 0 10px 10px; scrollbar-width: none; }
.status-tabs::-webkit-scrollbar { display: none; }
.status-tab { flex: 0 0 auto; padding: 6px 12px; border-radius: 2px; font-size: 12px; color: var(--text-muted); background: var(--bg-card); border: 1px solid var(--border); cursor: pointer; }
.status-tab.active { color: var(--primary-light); background: rgba(255,190,0,.1); border-color: rgba(255,190,0,.5); }

/* ===== 下单确认 ===== */
.submit-area { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 15px calc(10px + env(safe-area-inset-bottom)); background: #ffffff; border-top: 1px solid var(--border-strong); z-index: 55; }
.submit-info { display: flex; flex-direction: column; }
.submit-price { font-size: 20px; color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.order-type-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.type-name { font-size: 16px; font-weight: 700; }
.type-game { font-size: 11px; color: var(--text-secondary); padding: 3px 8px; border-radius: 2px; background: rgba(0,0,0,.035); border: 1px solid var(--border); }
.type-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }
.escort-match-info { display: flex; align-items: flex-start; gap: 9px; }
.match-icon { font-size: 22px; flex-shrink: 0; }
.match-title { display: block; font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.match-desc { display: block; line-height: 1.5; }
.checkbox-wrap { display: flex; align-items: center; cursor: pointer; margin-bottom: 5px; }
.checkbox { width: 20px; height: 20px; border: 1px solid var(--border-strong); border-radius: 2px; margin-right: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; background: var(--bg-input); }
.checkbox.checked { background: var(--primary); border-color: var(--primary); }

/* ===== 订单详情 ===== */
.status-banner { display: flex; align-items: center; justify-content: center; padding: 15px; margin-bottom: 10px; border-radius: 3px; background: var(--bg-card); border: 1px solid var(--border-strong); }
.status-icon { font-size: 20px; font-weight: 700; }
.card-title { display: block; font-size: 12px; font-weight: 700; color: var(--text-secondary); letter-spacing: 1px; margin-bottom: 10px; padding-bottom: 7px; border-bottom: 1px solid var(--border); }
.detail-row { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; gap: 10px; }
.detail-label { font-size: 13px; color: var(--text-muted); min-width: 70px; }
.detail-value { font-size: 13px; text-align: right; word-break: break-all; }
.escort-team-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.escort-team-item { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 2px; background: rgba(70,197,132,.07); border: 1px solid rgba(70,197,132,.18); }
.escort-team-avatar { width: 28px; height: 28px; border-radius: 2px; border: 1px solid rgba(70,197,132,.35); object-fit: cover; }
.escort-team-name { flex: 1; font-size: 13px; }
.escort-full-tip { padding: 8px 6px; text-align: center; font-size: 13px; color: var(--success); }
.timeline { padding: 5px 0 10px 5px; }
.timeline-item { display: flex; padding: 4px 0; }
.timeline-dot { width: 7px; height: 7px; border-radius: 1px; background: var(--primary); margin-top: 6px; margin-right: 8px; flex-shrink: 0; }
.timeline-note { display: block; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.timeline-time { display: block; margin-top: 2px; font-size: 11px; }
.detail-actions { padding: 15px 0; }

/* ===== 打手列表 / 收入 ===== */
.escort-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 3px; padding: 12px; display: flex; align-items: center; margin-bottom: 8px; cursor: pointer; }
.escort-card-avatar { width: 44px; height: 44px; border-radius: 3px; margin-right: 10px; object-fit: cover; border: 1px solid var(--border-strong); }
.escort-card-info { flex: 1; }
.escort-card-name { font-size: 15px; font-weight: 700; }
.escort-stats { display: flex; margin-top: 3px; gap: 12px; font-size: 11px; color: var(--text-muted); }
.balance-card { background: linear-gradient(180deg, var(--bg-card-2), var(--bg-card)); border: 1px solid var(--border-strong); border-radius: 3px; padding: 20px; text-align: center; margin-bottom: 10px; }
.balance-label { font-size: 12px; color: var(--text-muted); letter-spacing: 1px; }
.balance-amount { font-size: 30px; font-weight: 800; color: var(--gold); display: block; margin-top: 4px; font-variant-numeric: tabular-nums; }
.section-title { font-size: 15px; font-weight: 700; margin: 15px 10px 8px; letter-spacing: .5px; }
.order-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 3px; padding: 12px; display: flex; align-items: center; margin-bottom: 8px; }
.order-item-name { font-size: 13px; flex: 1; }
.order-item-amount { font-size: 15px; font-weight: 700; color: var(--gold); }
.order-item-status { font-size: 11px; color: var(--text-muted); margin-left: 10px; }

/* ===== 个人中心 ===== */
.profile-header { display: flex; align-items: center; padding: 15px 10px; margin-bottom: 10px; }
.avatar { width: 50px; height: 50px; border-radius: 3px; border: 1px solid var(--primary); margin-right: 10px; object-fit: cover; }
.nickname { font-size: 18px; font-weight: 700; }
.role-badge { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 2px; font-size: 11px; }
.role-admin { background: rgba(240,166,60,.12); color: var(--warning); border: 1px solid rgba(240,166,60,.35); }
.role-escort { background: rgba(70,197,132,.12); color: var(--success); border: 1px solid rgba(70,197,132,.35); }
.role-customer { background: rgba(233,255,61,.12); color: var(--cyan); border: 1px solid rgba(233,255,61,.35); }
.menu-item { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); cursor: pointer; font-size: 14px; }
.menu-item:last-child { border-bottom: 0; }
.tx-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }
.tx-item:last-child { border-bottom: 0; }
.tx-type { display: block; font-size: 13px; color: var(--text-secondary); }
.tx-time { margin-top: 2px; }
.tx-in { color: var(--success); font-weight: 600; }
.tx-out { color: var(--danger); font-weight: 600; }
.logout-card { margin-top: 10px; text-align: center; padding: 14px 0; border: 1px solid rgba(239,82,82,.25); border-radius: 3px; color: var(--danger); cursor: pointer; }

/* ===== 管理后台 ===== */
.admin-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 0 10px 10px; scrollbar-width: none; }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tab { flex: 0 0 auto; padding: 7px 12px; border-radius: 2px; font-size: 12px; color: var(--text-muted); background: var(--bg-card); border: 1px solid var(--border); cursor: pointer; }
.admin-tab.active { color: #fff; background: var(--primary); border-color: var(--primary); }
.ot-name, .escort-admin-name, .user-admin-name { display: block; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.ot-meta, .escort-admin-meta, .user-admin-meta { display: block; font-size: 11px; color: var(--text-muted); }
.order-top { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.order-price { margin-left: auto; font-size: 14px; }
.order-player { margin: 4px 0; padding: 3px 6px; border-radius: 2px; background: rgba(0,0,0,.035); }
.order-bottom { padding-top: 5px; border-top: 1px solid var(--border); }
.checkbox-label { display: inline-flex; align-items: center; margin: 5px 12px 5px 0; color: var(--text-secondary); font-size: 13px; }
.checkbox-label input { margin-right: 5px; }

/* ===== 弹窗 / 提示 ===== */
.modal-mask { position: fixed; inset: 0; background: rgba(40,38,30,.45); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-content { background: linear-gradient(180deg, var(--bg-card), #ffffff); border: 1px solid var(--border-strong); border-radius: 3px; width: 100%; max-width: 400px; max-height: 82vh; overflow-y: auto; padding: 20px 16px; box-shadow: 0 20px 60px rgba(58,52,30,.16); }
.modal-title { font-size: 16px; font-weight: 700; text-align: center; margin-bottom: 15px; letter-spacing: .5px; }
.modal-actions { display: flex; gap: 10px; margin-top: 15px; }
.modal-actions .btn { flex: 1; }
.modal-text { font-size: 14px; color: var(--text-secondary); text-align: center; line-height: 1.6; white-space: pre-wrap; }

.toast { position: fixed; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(.95); background: rgba(32,38,50,.94); border: 1px solid var(--border-strong); color: var(--text-primary); padding: 10px 18px; border-radius: 2px; font-size: 14px; z-index: 300; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: 80%; text-align: center; box-shadow: 0 8px 24px rgba(58,52,30,.12); }
.toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.loading-mask { position: fixed; inset: 0; background: rgba(255,255,255,.88); z-index: 250; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.spinner { width: 34px; height: 34px; border: 3px solid rgba(255,190,0,.2); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
.loading-text { font-size: 13px; color: var(--text-secondary); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 520px) {
  #phone { min-height: 100vh; }
}
/* ===== 手机端适配 ===== */
@media (max-width: 519px) {
  #phone { max-width: 100%; box-shadow: none; }
  html, body { background: var(--bg-page); }
  .login-page { padding-left: 24px; padding-right: 24px; }
  .app-main { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .app-main.with-tabbar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
.tabbar { padding-bottom: env(safe-area-inset-bottom); }
.tabbar-item, .btn, .login-btn, .wx-auth-btn, .order-type-card { -webkit-tap-highlight-color: transparent; }
/* iOS 输入框聚焦不放大 */
input, select, textarea { font-size: 16px; }
.login-input, .wx-auth-nick .login-input { font-size: 16px; }
.modal-content { max-height: calc(100vh - 40px); }

/* ===== 组队 / 抢单 / 结单 / 审核 / 提现 ===== */
.order-status-row { flex-wrap: wrap; gap: 6px; }
.order-status-row .order-time { margin-left: auto; }
.team-badge { font-size: 10px; font-weight: 700; letter-spacing: .3px; padding: 2px 6px; border-radius: 2px; border: 1px solid; white-space: nowrap; }
.tb-open { color: var(--text-secondary); border-color: var(--border-strong); background: rgba(0,0,0,.035); }
.tb-solo { color: var(--cyan); border-color: rgba(233,255,61,.4); background: rgba(233,255,61,.08); }
.tb-team { color: var(--gold); border-color: rgba(242,181,68,.4); background: rgba(242,181,68,.08); }
.settled-tag { font-size: 12px; font-weight: 700; color: var(--success); }

.payout-line { font-size: 12px; color: var(--text-secondary); line-height: 1.7; padding: 8px 10px; margin-bottom: 10px; border: 1px dashed var(--border-strong); border-radius: 2px; background: rgba(0,0,0,.035); }
.payout-line b { color: var(--gold); font-weight: 700; }
.payout-line span { color: var(--text-muted); margin: 0 3px; }

.grab-modes { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.grab-mode { display: flex; flex-direction: column; gap: 3px; padding: 11px 12px 11px 34px; border: 1px solid var(--border-strong); border-radius: 2px; background: var(--bg-input); cursor: pointer; position: relative; }
.grab-mode.active { border-color: var(--primary); background: rgba(255,190,0,.08); }
.grab-mode input { position: absolute; left: 12px; top: 15px; width: 14px; height: 14px; accent-color: var(--primary); }
.gm-title { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.gm-sub { font-size: 11px; color: var(--text-secondary); }
.gm-sub b { color: var(--gold); }

.fin-image-list, .fin-proof { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0; }
.fin-proof img, .fin-img img { width: 76px; height: 76px; object-fit: cover; border: 1px solid var(--border-strong); border-radius: 2px; }
.fin-img { position: relative; }
.fin-img-rm { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; line-height: 15px; text-align: center; border: 0; border-radius: 50%; background: var(--danger); color: #fff; font-size: 13px; padding: 0; }
.fin-image-list .text-muted { align-self: center; }
textarea.form-input { height: auto; min-height: 78px; padding: 10px 12px; line-height: 1.55; resize: vertical; }

.reject-tip { margin-top: 8px; padding: 8px 10px; font-size: 12px; color: #c0392b; border: 1px solid rgba(239,82,82,.45); border-radius: 2px; background: rgba(239,82,82,.09); line-height: 1.5; }
.audit-ok { margin-top: 8px; padding: 8px 10px; font-size: 12px; color: var(--success); border: 1px solid rgba(70,197,132,.4); border-radius: 2px; background: rgba(70,197,132,.08); }

.balance-sub { display: block; margin-top: 6px; font-size: 11px; color: var(--text-muted); }
.withdraw-card .tag { font-size: 10px; }
.wd-item { padding: 12px 14px; }
.wd-amount { font-size: 18px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.wd-remind { margin-top: 9px; padding: 7px 9px; font-size: 11px; color: var(--warning); border-top: 1px dashed var(--border-strong); }
.wd-ok { margin-top: 9px; padding: 7px 9px; font-size: 11px; color: var(--success); border-top: 1px dashed var(--border-strong); }
.wd-calc { padding: 10px; font-size: 13px; color: var(--text-secondary); border: 1px solid var(--border-strong); border-radius: 2px; background: var(--bg-input); }
.wd-calc b { color: var(--text-primary); }
.qr-preview { display: block; max-width: 140px; max-height: 140px; object-fit: contain; margin-top: 8px; border: 1px solid var(--border-strong); border-radius: 2px; }
.qr-rm { margin-top: 6px; }

.review-card { padding: 13px 14px; }
.review-title { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.review-meta { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; font-size: 12px; color: var(--text-secondary); }
.review-meta b { color: var(--gold); }
.btn:disabled { opacity: .42; cursor: not-allowed; filter: grayscale(.45); }
.wx-auth-panel { max-height: calc(100vh - 48px); overflow-y: auto; }

/* ==========================================================
   v4 俱乐部版：竞品对标功能组件
   沿用「方正硬朗 / 克制 / 深色战术面板」体系
   ========================================================== */

/* --- 通用小件 --- */
.back-row { display: flex; justify-content: center; padding: 14px 0 4px; }
.back-row .btn { min-width: 120px; }
.st-extra { float: right; font-size: 11px; font-weight: 400; letter-spacing: 0; color: var(--text-muted); }
.text-warn { color: var(--warning); }
.req { color: var(--danger); font-style: normal; margin-left: 2px; }
.ghost { opacity: .5; }
.cur { color: var(--primary-light); }
.upload-preview { display: block; max-width: 160px; max-height: 160px; object-fit: contain; margin-top: 8px; border: 1px solid var(--border-strong); border-radius: 2px; }
.game-icon { font-size: 15px; line-height: 1; }
.menu-list { padding: 2px 0; }
.menu-list .menu-item { padding: 12px 2px; }
.mi-arrow { margin-left: auto; font-size: 11px; color: var(--text-muted); }
.unread-dot { display: inline-block; color: #fff; background: var(--danger); border-radius: 2px; padding: 0 5px; font-size: 10px; font-weight: 700; }
.online-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 2px rgba(70,197,132,.18); }
.order-list-inner { padding: 0; }

/* --- 顶部身份切换 --- */
.header-role-switch {
  position: absolute; right: 12px; top: 13px; height: 24px;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; letter-spacing: .5px; color: var(--primary-light);
  background: rgba(255,190,0,.10); border: 1px solid rgba(255,190,0,.4);
  border-radius: 2px; padding: 0 8px; cursor: pointer;
}
.header-role-switch:active { background: rgba(255,190,0,.2); }
.hrs-caret { font-size: 12px; }
.role-switch-item {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 12px; margin-bottom: 8px; text-align: left;
  background: var(--bg-input); border: 1px solid var(--border-strong); border-radius: 2px; color: var(--text-primary);
}
.role-switch-item.active { border-color: var(--primary); background: rgba(255,190,0,.08); }
.rsi-icon { font-size: 20px; width: 26px; text-align: center; }
.rsi-name { flex: 1; font-size: 14px; font-weight: 700; }
.rsi-tag { font-size: 11px; color: var(--text-muted); }
.role-switch-item.active .rsi-tag { color: var(--primary-light); }
.role-switch-card { border-left: 3px solid var(--cyan); }
.role-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.role-chip {
  flex: 1; min-width: 88px; padding: 9px 6px; font-size: 12px; font-weight: 600;
  background: var(--bg-input); border: 1px solid var(--border-strong); border-radius: 2px; color: var(--text-secondary);
}
.role-chip.active { color: #fff; background: var(--primary); border-color: var(--primary); }

/* --- 首页快捷入口 --- */
.quick-entries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 0 10px 12px; }
.qe-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 11px 4px; background: linear-gradient(180deg, var(--bg-card), #ffffff);
  border: 1px solid var(--border); border-radius: 3px; cursor: pointer; text-align: center;
}
.qe-item:active { border-color: var(--primary); }
.qe-item > span { font-size: 22px; line-height: 1.2; }
.qe-item b { font-size: 12px; font-weight: 700; color: var(--text-primary); }
.qe-item i { font-style: normal; font-size: 10px; color: var(--text-muted); }

/* --- 个人中心：资产行 / 功能矩阵 / 申请入口 --- */
.asset-row { display: grid; grid-template-columns: repeat(4, 1fr); padding: 14px 6px; cursor: pointer; }
.asset-row > div { display: flex; flex-direction: column; align-items: center; gap: 3px; border-right: 1px solid var(--border); }
.asset-row > div:last-child { border-right: 0; }
.asset-row b { font-size: 16px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.asset-row span { font-size: 10px; color: var(--text-muted); }
.feature-card { padding: 12px 10px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.fg-item {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 11px 3px 9px; background: rgba(0,0,0,.035); border: 1px solid var(--border); border-radius: 2px; cursor: pointer;
}
.fg-item:active { border-color: var(--primary); }
.fg-icon { font-size: 20px; line-height: 1.2; }
.fg-item b { font-size: 11px; font-weight: 600; color: var(--text-secondary); }
.fg-badge { position: absolute; top: 3px; right: 3px; font-style: normal; font-size: 9px; font-weight: 700; color: #fff; background: var(--primary); border-radius: 2px; padding: 0 4px; line-height: 14px; }
.apply-entry { display: flex; align-items: center; gap: 11px; cursor: pointer; border-left: 3px solid var(--cyan); }
.apply-entry.recruit { border-left-color: var(--gold); }
.ae-icon { font-size: 24px; flex-shrink: 0; }
.ae-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ae-title { font-size: 14px; font-weight: 700; }
.ae-desc { font-size: 11px; color: var(--text-muted); }
.ae-arrow { color: var(--text-muted); font-size: 16px; }

/* --- 下单确认 / 订单详情 --- */
.ot-confirm-head { padding: 14px; }
.member-bonus-tip { margin-top: 10px; padding: 7px 10px; font-size: 11px; color: var(--gold); background: rgba(242,181,68,.08); border: 1px solid rgba(242,181,68,.3); border-radius: 2px; }
.extra-list { display: flex; flex-direction: column; gap: 7px; margin-top: 4px; }
.extra-item { display: flex; align-items: center; gap: 8px; padding: 9px 11px; background: var(--bg-input); border: 1px solid var(--border-strong); border-radius: 2px; cursor: pointer; }
.extra-item input { width: 15px; height: 15px; accent-color: var(--primary); }
.extra-item span { flex: 1; font-size: 13px; }
.extra-item b { font-size: 12px; color: var(--gold); }
.order-more-card { padding: 13px 12px; }

/* --- 申请成为打手 --- */
.apply-page { padding-bottom: 20px; }
.apply-hero {
  padding: 20px 16px; margin-bottom: 10px; text-align: center;
  background: radial-gradient(120% 90% at 50% -10%, rgba(255,190,0,.16), transparent 60%), linear-gradient(180deg, var(--bg-card-2), var(--bg-card));
  border: 1px solid var(--border-strong); border-radius: 3px;
}
.ah-badge { display: inline-block; font-size: 10px; letter-spacing: 2px; color: var(--primary-light); border: 1px solid rgba(255,190,0,.4); padding: 2px 9px; border-radius: 2px; margin-bottom: 10px; }
.ah-title { font-size: 23px; font-weight: 800; letter-spacing: 1px; }
.ah-sub { font-size: 12px; color: var(--text-secondary); margin: 6px auto 14px; max-width: 320px; line-height: 1.6; }
.ah-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ah-stats > div { padding: 9px 2px; background: rgba(0,0,0,.035); border: 1px solid var(--border); border-radius: 2px; }
.ah-stats b { display: block; font-size: 17px; font-weight: 800; color: var(--gold); }
.ah-stats span { display: block; font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.apply-status-card { border-left: 3px solid var(--cyan); }
.apply-steps { display: flex; flex-direction: column; }
.as-item { position: relative; display: flex; gap: 11px; padding-bottom: 16px; }
.as-item:last-child { padding-bottom: 0; }
.as-icon { flex-shrink: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: var(--primary-light); background: rgba(255,190,0,.1); border: 1px solid rgba(255,190,0,.35); border-radius: 2px; }
.as-body { display: flex; flex-direction: column; gap: 2px; padding-top: 2px; }
.as-title { font-size: 13px; font-weight: 700; }
.as-desc { font-size: 11px; color: var(--text-muted); line-height: 1.5; }
.as-line { position: absolute; left: 14px; top: 32px; bottom: 2px; width: 1px; background: var(--border-strong); }
.assessment-card { border-left: 3px solid var(--gold); }
.ass-price { font-size: 22px; font-weight: 800; color: var(--gold); }
.perk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.perk-item { display: flex; flex-direction: column; gap: 3px; padding: 10px; background: rgba(0,0,0,.035); border: 1px solid var(--border); border-radius: 2px; }
.perk-item b { font-size: 12px; }
.perk-item span { font-size: 11px; color: var(--text-muted); }
.apply-cta { padding: 4px 0 8px; }

/* --- 进群二维码（图片跳转页） --- */
.qr-page { padding-bottom: 20px; }
.qr-hero { padding: 14px 10px 16px; text-align: center; }
.qr-hero-title { font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.qr-hero-sub { font-size: 12px; color: var(--text-secondary); margin-top: 5px; }
.qr-card { text-align: center; }
.qr-img-wrap { display: flex; justify-content: center; padding: 10px 0 4px; }
.qr-image { width: 220px; max-width: 86%; height: auto; border: 1px solid var(--border-strong); border-radius: 2px; background: #fff; }
.qr-tip { font-size: 12px; color: var(--warning); margin-top: 10px; line-height: 1.6; }
.qr-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 12px; color: var(--text-secondary); font-size: 12px; }
.qe-icon { font-size: 34px; opacity: .7; }
.qr-steps { display: flex; flex-direction: column; gap: 9px; }
.qr-steps > div { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.qr-steps b { flex-shrink: 0; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--primary-light); background: rgba(255,190,0,.1); border: 1px solid rgba(255,190,0,.35); border-radius: 2px; }
.qr-actions { padding: 4px 0 8px; }
.qr-zoom-mask { z-index: 310; padding: 16px; }
.qr-zoom-panel { width: 100%; max-width: 400px; }
.qr-zoom-panel img { width: 100%; height: auto; border-radius: 3px; background: #fff; }

/* --- 申请进度 --- */
.assess-card { padding: 14px; }
.ass-no { font-size: 12px; font-weight: 700; color: var(--text-secondary); }
.ass-flow { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 10px; }
.af-node { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 10px; color: var(--text-muted); flex: 1; }
.af-node.done { color: var(--success); }
.af-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--bg-input); border: 2px solid var(--border-strong); }
.af-node.done .af-dot { background: var(--success); border-color: var(--success); }
.af-link { flex: 0 0 18px; height: 1px; background: var(--border-strong); margin-bottom: 18px; }

/* --- 会员中心 --- */
.member-hero { padding: 18px 16px; margin-bottom: 10px; background: linear-gradient(135deg, rgba(0,0,0,.035), transparent), var(--bg-card-2); border: 1px solid var(--lv-color, var(--gold)); border-radius: 3px; }
.mh-top { display: flex; align-items: center; gap: 11px; }
.mh-icon { font-size: 30px; }
.mh-top > div { flex: 1; display: flex; flex-direction: column; }
.mh-level { font-size: 18px; font-weight: 800; color: var(--lv-color, var(--gold)); }
.mh-label { font-size: 11px; color: var(--text-muted); }
.mh-points { font-size: 20px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.mh-points small { font-size: 10px; color: var(--text-muted); font-weight: 400; }
.mh-progress-label { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-secondary); margin: 14px 0 6px; }
.mh-bar { height: 7px; background: var(--bg-input); border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
.mh-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--gold)); }
.perk-list { display: flex; flex-direction: column; gap: 7px; }
.perk-line { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-secondary); }
.perk-line i { font-style: normal; color: var(--success); font-weight: 700; }
.lv-row { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-bottom: 1px solid var(--border); }
.lv-row:last-child { border-bottom: 0; }
.lv-row.active { background: rgba(242,181,68,.06); }
.lv-row.passed { opacity: .6; }
.lv-icon { font-size: 22px; }
.lv-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lv-name { font-size: 13px; font-weight: 700; }
.lv-name small { font-size: 10px; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.lv-perks { font-size: 11px; color: var(--text-muted); }
.lv-state { font-size: 10px; color: var(--text-muted); }
.lv-row.active .lv-state { color: var(--gold); font-weight: 700; }

/* --- 积分 / 钱包 / 保证金：大数字卡 --- */
.balance-hero { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 14px; text-align: center; }
.bh-num { font-size: 32px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.recharge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rc-item { padding: 12px 4px; text-align: center; font-size: 15px; font-weight: 700; color: var(--text-secondary); background: var(--bg-input); border: 1px solid var(--border-strong); border-radius: 2px; cursor: pointer; }
.rc-item.active { color: #fff; background: rgba(255,190,0,.14); border-color: var(--primary); }

/* --- 分段控件 / 优惠券 --- */
.seg-tabs { display: flex; gap: 6px; margin: 0 0 10px; }
.seg-tab { flex: 1; text-align: center; padding: 9px 4px; font-size: 12px; color: var(--text-secondary); background: var(--bg-card); border: 1px solid var(--border); border-radius: 2px; cursor: pointer; }
.seg-tab.active { color: #fff; background: var(--primary); border-color: var(--primary); font-weight: 700; }
.coupon-card { display: flex; align-items: stretch; padding: 0; overflow: hidden; }
.coupon-card.used { opacity: .5; }
.cp-left { flex: 0 0 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 12px 6px; background: rgba(255,190,0,.08); border-right: 1px dashed var(--border-strong); }
.cp-value { font-size: 22px; font-weight: 800; color: var(--primary-light); }
.cp-cond { font-size: 10px; color: var(--text-muted); text-align: center; }
.cp-right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 12px; }
.cp-name { font-size: 13px; font-weight: 700; }
.cp-right .btn { align-self: flex-start; margin-top: 2px; }

/* --- 收藏 / 评价 --- */
.fav-card { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.fav-card .flex-1 { display: flex; flex-direction: column; gap: 3px; }
.fav-name { font-size: 14px; font-weight: 700; }
.review-mini { padding: 13px 14px; }
.rv-pending { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.rv-pending:last-child { border-bottom: 0; }
.rv-reply { margin-top: 9px; padding: 8px 10px; font-size: 12px; color: var(--cyan); background: rgba(233,255,61,.07); border: 1px solid rgba(233,255,61,.25); border-radius: 2px; line-height: 1.5; }

/* --- 客服中心 --- */
.service-hero { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 16px; background: linear-gradient(120deg, rgba(233,255,61,.08), transparent), var(--bg-card); }
.sh-title { font-size: 19px; font-weight: 800; }
.sh-sub { font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0 0 4px; }
.sg-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 13px 6px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 2px; cursor: pointer; text-align: center; }
.sg-icon { font-size: 24px; }
.sg-name { font-size: 13px; font-weight: 700; }
.sg-desc { font-size: 10px; color: var(--text-muted); }
.faq-list { padding: 2px 14px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 0; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 0; font-size: 13px; cursor: pointer; }
.faq-caret { color: var(--text-muted); font-size: 15px; transition: transform .2s; }
.faq-item.open .faq-caret { color: var(--primary); }
.faq-a { padding: 0 0 12px; font-size: 12px; color: var(--text-secondary); line-height: 1.7; }
.service-qr { width: 180px; max-width: 70%; margin: 6px auto 8px; border: 1px solid var(--border-strong); border-radius: 2px; background: #fff; }

/* --- 在线客服 --- */
.chat-page { display: flex; flex-direction: column; min-height: calc(100vh - 60px); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; margin-bottom: 8px; }
.ch-avatar { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: rgba(70,197,132,.1); border: 1px solid rgba(70,197,132,.3); border-radius: 2px; }
.chat-head > div { display: flex; flex-direction: column; }
.ch-name { font-size: 14px; font-weight: 700; }
.chat-log { flex: 1; min-height: 260px; max-height: 46vh; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; padding: 12px; background: var(--bg-input); border: 1px solid var(--border); border-radius: 2px; }
.chat-welcome { align-self: center; text-align: center; font-size: 12px; color: var(--text-muted); line-height: 1.8; padding: 20px 10px; }
.chat-msg { align-self: flex-start; max-width: 78%; }
.chat-msg > span { display: block; padding: 9px 12px; font-size: 13px; line-height: 1.6; background: var(--bg-card-2); border: 1px solid var(--border-strong); border-radius: 2px; }
.chat-msg.mine { align-self: flex-end; }
.chat-msg.mine > span { background: rgba(255,190,0,.16); border-color: rgba(255,190,0,.4); }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0; }
.cq-btn { font-size: 11px; color: var(--text-secondary); background: transparent; border: 1px solid var(--border-strong); border-radius: 2px; padding: 5px 9px; }
.chat-input-bar { display: flex; gap: 8px; margin-bottom: 6px; }
.chat-input-bar .form-input { flex: 1; }

/* --- 公告 --- */
.notice-card.pinned { border-left: 3px solid var(--warning); }
.nc-title { font-size: 14px; font-weight: 700; }
.nc-content { color: var(--text-secondary); line-height: 1.65; margin-top: 8px; }

/* --- 找陪玩 --- */
.player-hero { display: flex; flex-direction: column; gap: 3px; padding: 15px 16px; }
.ph-title { font-size: 18px; font-weight: 800; }
.ph-sub { font-size: 12px; color: var(--text-secondary); }
.player-card { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.pc-avatar { width: 48px; height: 48px; flex-shrink: 0; object-fit: cover; border: 1px solid var(--border-strong); border-radius: 2px; }
.pc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pc-name { font-size: 14px; font-weight: 700; }
.pc-arrow { color: var(--text-muted); }

/* --- 排行榜 --- */
.rank-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 8px; }
.rank-1 { border-color: rgba(242,181,68,.5); background: linear-gradient(90deg, rgba(242,181,68,.10), var(--bg-card)); }
.rank-2 { border-color: rgba(180,190,205,.4); }
.rank-3 { border-color: rgba(205,127,72,.4); }
.rt-medal { font-size: 24px; }
.rt-name { flex: 1; font-size: 14px; font-weight: 700; }
.rt-value { font-size: 14px; font-weight: 700; color: var(--gold); }
.rank-row { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--border); }
.rank-row:last-child { border-bottom: 0; }
.rank-row.me { background: rgba(255,190,0,.08); }
.rr-no { width: 24px; text-align: center; font-size: 13px; font-weight: 700; color: var(--text-muted); }
.rr-name { flex: 1; font-size: 13px; }
.rr-value { font-size: 12px; color: var(--gold); }

/* --- 推广有礼 --- */
.invite-hero { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 16px; text-align: center; }
.ih-title { font-size: 20px; font-weight: 800; }
.ih-sub { font-size: 12px; color: var(--text-secondary); }
.ih-code { margin: 8px 0; padding: 10px 22px; font-size: 22px; font-weight: 800; letter-spacing: 3px; color: var(--gold); background: var(--bg-input); border: 1px dashed var(--border-strong); border-radius: 2px; }
.stat-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat-row-3 > div { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; background: rgba(0,0,0,.035); border: 1px solid var(--border); border-radius: 2px; }
.stat-row-3 b { font-size: 17px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat-row-3 span { font-size: 10px; color: var(--text-muted); }

/* --- 资料编辑 --- */
.pe-avatar { width: 76px; height: 76px; margin: 0 auto; object-fit: cover; border: 1px solid var(--primary); border-radius: 3px; cursor: pointer; }

/* --- 数据看板 --- */
.dash-bar { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 12px; color: var(--text-secondary); }
.dash-bar > span { width: 72px; flex-shrink: 0; }
.dash-bar b { width: 26px; text-align: right; color: var(--text-primary); }
.db-track { flex: 1; height: 8px; background: var(--bg-input); border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
.db-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--gold)); }
.todo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.todo-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 4px; background: rgba(0,0,0,.035); border: 1px solid var(--border); border-radius: 2px; }
.todo-item b { font-size: 17px; font-weight: 800; color: var(--primary-light); }
.todo-item span { font-size: 10px; color: var(--text-muted); }

/* --- 打手中心 --- */
.escort-center-hero { border-left: 3px solid var(--success); }
.ec-name { font-size: 17px; font-weight: 800; margin: 3px 0; display: flex; align-items: center; gap: 6px; }

/* --- 后台新增卡片 --- */
.user-admin-card, .escort-admin-card, .ot-card { padding: 12px 13px; }
.staff-btns { display: flex; flex-direction: column; gap: 5px; flex-shrink: 0; margin-left: 8px; }
.staff-btns .btn { white-space: nowrap; }
.recruit-qr-preview { display: flex; align-items: center; justify-content: center; min-height: 150px; padding: 10px; background: var(--bg-input); border: 1px dashed var(--border-strong); border-radius: 2px; }
.recruit-qr-preview img { max-width: 220px; max-height: 220px; object-fit: contain; border: 1px solid var(--border); border-radius: 2px; background: #fff; }
.rq-empty { font-size: 12px; color: var(--text-muted); text-align: center; padding: 20px; }

/* --- 过渡收款：收款码支付 / 付款凭证 --- */
.pay-qr-box { margin-top: 12px; padding: 12px; background: var(--bg-input); border: 1px solid var(--border-strong); border-left: 2px solid var(--gold); border-radius: var(--radius); }
.pay-qr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pay-qr-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.pay-qr-badge { font-size: 11px; color: #f4f6f9; background: var(--gold); padding: 2px 7px; border-radius: 2px; letter-spacing: .5px; }
.pay-qr-img-wrap { display: flex; justify-content: center; padding: 10px; background: #fff; border-radius: 2px; }
.pay-qr-img { max-width: 200px; max-height: 200px; object-fit: contain; display: block; }
.pay-qr-meta { display: flex; gap: 10px; margin-top: 10px; }
.pay-qr-meta > div { flex: 1; background: var(--bg-card); border: 1px solid var(--border); border-radius: 2px; padding: 8px 10px; display: flex; flex-direction: column; gap: 3px; }
.pay-qr-meta span { font-size: 11px; color: var(--text-muted); }
.pay-qr-meta b { font-size: 15px; color: var(--text-primary); }
.pay-qr-meta b.price { color: var(--gold); }
.pay-qr-contact { margin-top: 8px; font-size: 12px; color: var(--text-secondary); }
.pay-qr-tip { margin-top: 10px; font-size: 12px; color: var(--text-secondary); line-height: 1.6; }
.pay-qr-proof { margin-top: 6px; font-size: 12px; color: var(--gold); }
.unpaid-card { border: 1px solid var(--gold); }
.pay-proof-state { margin-top: 10px; padding: 8px 10px; background: var(--bg-input); border: 1px dashed var(--border-strong); border-radius: 2px; font-size: 12px; color: var(--text-secondary); }
.pay-setting-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-setting-item { display: flex; flex-direction: column; gap: 6px; }
.pay-setting-preview { display: flex; align-items: center; justify-content: center; min-height: 140px; background: var(--bg-input); border: 1px dashed var(--border-strong); border-radius: 2px; }
.pay-setting-preview img { max-width: 100%; max-height: 150px; object-fit: contain; background: #fff; }
.pay-proof-card .fin-proof img { cursor: zoom-in; }
.pf-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 2px; }
.pay-unpaid-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.pay-unpaid-row:last-child { border-bottom: none; }
.pay-history-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.pay-history-row:last-child { border-bottom: none; }

/* --- 窄屏微调 --- */
@media (max-width: 360px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-entries { gap: 5px; }
  .qe-item b { font-size: 11px; }
  .staff-btns .btn { font-size: 11px; padding: 0 8px; }
}


/* ===== LIGHT-BLUE THEME PATCH ===== */
/* 白底蓝调：特殊语义色、5 tab、分类页、适龄提示 */
.pay-qr-badge { color: #3a2a00; }
.toast { color: #fff; border-color: rgba(255,255,255,.18); }
.game-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: none; }
.game-tab.active .game-name { color: #fff; }
.wheel-ticket-tip { background: rgba(226,106,10,.07); border-color: rgba(226,106,10,.3); color: #8a5a12; }
.wheel-ticket-tip b { color: var(--gold); }
.reject-tip { color: #c0392b; }
.rc-item.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.header-role-switch { background: rgba(255,190,0,.08); border-color: rgba(255,190,0,.35); color: var(--primary-dark); }
.otc-cat-tag { font-weight: 700; }

/* --- 5 个底部 tab --- */
.tabbar-item { font-size: 10px; gap: 2px; }
.tab-icon-box { width: 28px; height: 28px; }
.tab-icon-box svg { width: 17px; height: 17px; }

/* --- 分类页 --- */
.cat-page { padding: 10px; }
.cat-search { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 10px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--text-muted); font-size: 12px; }
.cat-search-ico { font-size: 15px; }
.cat-layout { display: flex; gap: 10px; align-items: flex-start; }
.cat-rail { flex: 0 0 92px; display: flex; flex-direction: column; gap: 6px; }
.cat-rail-item { display: flex; align-items: center; gap: 6px; padding: 10px 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); font-size: 12px; color: var(--text-secondary); cursor: pointer; }
.cat-rail-item.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
.cat-rail-icon { font-size: 14px; }
.cat-rail-name { line-height: 1.2; }
.cat-content { flex: 1; min-width: 0; }
.cat-banner { padding: 12px; margin-bottom: 10px; background: linear-gradient(120deg, rgba(255,190,0,.10), rgba(255,190,0,.02)); border: 1px solid rgba(255,190,0,.18); border-radius: var(--radius-lg); }
.cat-banner-title { display: block; font-size: 15px; font-weight: 800; color: var(--primary-dark); }
.cat-banner-sub { display: block; margin-top: 3px; font-size: 11px; color: var(--text-secondary); line-height: 1.5; }
.cat-prod { display: flex; gap: 10px; padding: 12px; margin-bottom: 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); cursor: pointer; }
.cat-prod:active { border-color: var(--primary); }
.cat-prod-img { flex: 0 0 62px; width: 62px; height: 62px; object-fit: cover; border-radius: var(--radius); background: var(--bg-input); }
.cat-prod-ph { display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--primary); background: rgba(255,190,0,.08); }
.cat-prod-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cat-prod-name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.cat-prod-desc { margin-top: 2px; font-size: 11px; color: var(--text-secondary); line-height: 1.45; }
.cat-prod-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.cat-prod-price { font-size: 17px; font-weight: 800; color: var(--gold); }
.cat-prod-cta { font-size: 11px; padding: 4px 10px; border-radius: var(--radius); background: var(--primary); color: #fff; }

/* --- 适龄提示弹窗 --- */
.age-gate-mask { position: fixed; inset: 0; z-index: 400; background: rgba(40,38,30,.5); display: flex; align-items: center; justify-content: center; padding: 24px; }
.age-gate-panel { width: 100%; max-width: 340px; background: #fff; border-radius: 8px; padding: 22px 20px 18px; box-shadow: 0 20px 60px rgba(58,52,30,.2); text-align: center; }
.age-gate-badge { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 2px solid var(--primary); border-radius: 50%; color: var(--primary); font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.age-gate-title { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.age-gate-sub { margin-top: 4px; font-size: 12px; color: var(--text-muted); }
.age-gate-body { margin: 14px 0 4px; padding: 12px; background: var(--bg-input); border-radius: var(--radius); text-align: left; font-size: 12px; line-height: 1.8; color: var(--text-secondary); }
.age-gate-actions { margin-top: 16px; }
.age-gate-btn { width: 100%; }
.age-gate-tip { margin-top: 10px; font-size: 11px; color: var(--text-muted); }

/* ===== SITE CONTENT EDIT PATCH ===== */
.site-banners { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 14px; }
.home-banners { margin-top: 12px; }
.login-banners { margin: 4px 0 14px; }
.site-banner { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 92px; display: flex; align-items: flex-end; border: 1px solid var(--border); cursor: default; }
.site-banner[data-link] { cursor: pointer; }
.site-banner.no-img { background: linear-gradient(120deg, var(--primary), var(--primary-light)); }
.site-banner.has-img { background: var(--bg-card-2); }
.site-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site-banner-txt { position: relative; z-index: 2; width: 100%; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; color: #fff; background: linear-gradient(to top, rgba(30,28,22,.62), rgba(30,28,22,0)); text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.site-banner-title { font-size: 15px; font-weight: 700; }
.site-banner-sub { font-size: 12px; opacity: .92; }
.site-ad-ticker { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 12px; font-size: 12px; color: #8a4b00; background: #fff5e6; border: 1px solid #ffdfae; border-radius: var(--radius); }
.form-row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.site-banner-edit { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.site-banner-edit:last-child { border-bottom: 0; }
.sbe-preview { width: 92px; height: 56px; flex: 0 0 92px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-card-2); }
.sbe-preview img { width: 100%; height: 100%; object-fit: cover; }
.sbe-preview .no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; background: linear-gradient(120deg, var(--primary), var(--primary-light)); }
.sbe-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sbe-info b { font-size: 13px; color: var(--text-primary); }
.sbe-info span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbe-ops { display: flex; flex-direction: column; gap: 6px; flex: 0 0 auto; }
.notice-img { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: var(--radius); margin-top: 8px; }
@media (max-width: 380px) { .form-row-3 { grid-template-columns: 1fr; } }

/* ===== ADMIN TILE GRID (竞品风格宫格入口) ===== */
.admin-tab-ico { display: inline-block; font-size: 13px; margin-right: 5px; vertical-align: -1px; }
.admin-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.admin-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 78px; padding: 10px 4px; background: var(--bg-card-2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-primary); cursor: pointer; }
.admin-tile:active { background: rgba(255,190,0,.08); border-color: var(--primary); }
.admin-tile .at-ico { font-size: 22px; line-height: 1; }
.admin-tile .at-label { font-size: 11px; color: var(--text-secondary); text-align: center; }
.admin-tile .at-badge:empty { display: none; }
.admin-tile .at-badge { position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; background: var(--danger); border-radius: 9px; }
@media (max-width: 360px) { .admin-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== v6：俱乐部徽章 / 游客延迟登录 / 限购 / 清理假功能 ===== */
/* 登录页徽章放大，作为主视觉 */
.brand-logo { width: 88px; height: 88px; border-radius: 4px; box-shadow: 0 8px 26px rgba(255,190,0,.18); }
.wx-auth-avatar, .ch-avatar { object-fit: cover; background: #fff; }

/* 顶部游客「登录」按钮 */
.header-login-btn { padding: 5px 13px; font-size: 12px; font-weight: 600; color: #fff; background: var(--primary); border: 0; border-radius: var(--radius); cursor: pointer; }
.header-login-btn:active { background: var(--primary-dark); }

/* 延迟登录弹窗 */
.login-prompt { text-align: center; padding: 22px 18px 16px; }
.lp-badge { display: block; width: 76px; height: 76px; margin: 0 auto 12px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border-strong); }
.lp-title { font-size: 17px; font-weight: 700; color: var(--text-primary); }
.lp-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.6; margin: 8px 0 16px; }
.lp-cancel { display: block; width: 100%; margin-top: 12px; padding: 8px; background: none; border: 0; color: var(--text-muted); font-size: 12px; cursor: pointer; }

/* 体验单限购提示 */
.limit-tip { padding: 9px 12px; margin-bottom: 10px; font-size: 12px; color: #8a4b00; background: #fff5e6; border: 1px solid #ffdfae; border-radius: var(--radius); }
.limit-tip.limit-hit { color: #a32323; background: #fff0f0; border-color: #ffcccc; }
.otc-limit { display: inline-block; padding: 2px 6px; font-size: 10px; color: #b26a00; background: #fff3dd; border: 1px solid #ffd79a; border-radius: 2px; }
.otc-limit.hit { color: #a32323; background: #ffecec; border-color: #ffc4c4; }
.order-type-card.is-limited { opacity: .72; }
.cat-prod-limit { display: inline-block; margin: 3px 0; font-size: 10px; color: #b26a00; }
.cat-prod-limit.hit { color: #a32323; }
.cat-prod.is-limited { opacity: .7; }

/* 无跳转链接的广告位不再伪装成可点击 */
.site-banner.no-link { cursor: default; }

/* 设置页「关于」：纯信息行，不伪装成菜单 */
.settings-info .si-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; border-bottom: 1px solid var(--line-soft); }
.settings-info .si-row:last-child { border-bottom: 0; }
.settings-info .si-row span:last-child { color: var(--text-muted); font-size: 12px; }

/* 打手详情「指定 TA 下单」 */
.ed-order { cursor: pointer; }

/* ================= V7 VISUAL BOOST =================
   参考竞品：电光蓝渐变 + 金色点缀 + 深色 Hero 主视觉。
   只增强颜色 / 对比度 / 装饰；不改交互结构、不加动画、不用毛玻璃，
   手机滚动修复成果完全保留。 */
/* V10：白色网格底已按买家要求整体下线，只保留极淡的顶部暖黄光 */
#phone {
  background:
    radial-gradient(120% 46% at 50% -8%, rgba(255,190,0,.16), transparent 60%),
    var(--bg-page);
  box-shadow: 0 0 0 1px rgba(35,32,20,.06), 0 24px 70px rgba(55,48,24,.16);
}

/* 首页 Hero：深色渐变 + 徽章 + 承诺标签 */
.home-hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 10px; padding: 16px 14px;
  border: 1px solid #3B3A2B; border-radius: var(--radius);
  background: var(--grad-hero);
  box-shadow: 0 10px 26px rgba(6,26,60,.28);
}
.home-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 26px 100%,
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 100% 26px;
}
.home-hero::after {
  content: ''; position: absolute; right: -40px; top: -60px;
  width: 180px; height: 180px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(0,194,255,.32), transparent 70%);
}
.hh-badge {
  position: relative; z-index: 2; flex: 0 0 64px; width: 64px; height: 64px;
  object-fit: cover; border-radius: 4px;
  border: 2px solid rgba(255,214,130,.85);
  box-shadow: 0 6px 18px rgba(0,0,0,.38), 0 0 0 4px rgba(255,255,255,.08);
}
.hh-main { position: relative; z-index: 2; min-width: 0; flex: 1; }
.hh-title { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: 1px; line-height: 1.25; }
.hh-title span { font-size: 12px; font-weight: 600; color: #FFE9A8; margin-left: 5px; letter-spacing: .5px; }
.hh-slogan { margin-top: 3px; font-size: 11px; color: #DCD6BE; line-height: 1.5; }
.hh-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.hh-tags span {
  font-size: 10px; color: #FFF6C9; padding: 2px 7px;
  border: 1px solid rgba(150,200,255,.42); border-radius: 2px;
  background: rgba(255,255,255,.10);
}

/* 顶部信息条 / 标语 / 广告条 */
.top-bar { background: linear-gradient(100deg,#17181D,#2B2C26); padding: 10px 12px; border-radius: var(--radius); border: 1px solid #3B3A2B; }
.top-bar .brand-name { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
.top-bar .brand-tag { color: #FFE9A8; border-color: rgba(255,214,130,.55); background: rgba(255,214,130,.08); }
.hero-line { color: var(--text-secondary); font-weight: 600; }
.site-ad-ticker { color: #7a4600; background: linear-gradient(100deg,#fff2d6,#fff8ea); border-color: #ffd58a; font-weight: 600; }
.site-ad-ticker > span:first-child { font-size: 14px; }
.site-banner.no-img { background: var(--grad-hero); border-color: #3B3A2B; }
.site-banner-txt { background: linear-gradient(to top, rgba(24,23,20,.78), rgba(24,23,20,.05)); }
.site-banner-title { font-size: 16px; text-shadow: 0 1px 4px rgba(0,0,0,.4); }

/* 分类 tab 选中态：实心渐变，一眼看到当前分类 */
.cat-tab.active { color: #fff; background: var(--grad-primary); border-color: #D9A600; box-shadow: 0 3px 10px rgba(255,190,0,.28); font-weight: 700; }

/* 快捷入口：每个图标配彩色底衬，鲜明但保持方正 */
.qe-item { box-shadow: 0 3px 10px rgba(55,48,24,.08); }
.qe-item > span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-bottom: 3px;
  font-size: 21px; line-height: 1;
  border-radius: 4px; border: 1px solid #E7DFC4;
  background: linear-gradient(145deg,#F5F1E2,#F0E9CF);
  box-shadow: 0 3px 8px rgba(255,190,0,.14);
}
.qe-item:nth-child(4n+2) > span { border-color: #E5DEB8; background: linear-gradient(145deg,#F7F4E6,#F2EFCF); }
.qe-item:nth-child(4n+3) > span { border-color: #ffdda3; background: linear-gradient(145deg,#fff3dc,#ffe6bb); }
.qe-item:nth-child(4n+4) > span { border-color: #d8d2ff; background: linear-gradient(145deg,#efedff,#ded9ff); }
.qe-item i { color: var(--text-secondary); }

/* 信任条 / 保障条 */
.trust-strip { border-color: var(--border-strong); box-shadow: 0 4px 14px rgba(55,48,24,.08); }
.ts-num { color: #e8890c; font-size: 18px; }
.ts-label { color: var(--text-secondary); }
.assurance-bar { background: linear-gradient(90deg,#F6F3E8,#f7fbff,#F6F3E8); border-color: var(--border-strong); border-radius: var(--radius); }
.ab-item { color: var(--text-secondary); font-weight: 600; }
.ab-item i { color: #0f9d58; }

/* 商品卡：左侧渐变色条 + 更强阴影 + 价格高亮 */
.order-type-card { border-left: 3px solid var(--primary); box-shadow: 0 8px 22px rgba(55,48,24,.12); }
.order-type-card.is-hot { border-left-color: #f5a623; }
.otc-hot { background: linear-gradient(135deg,#f5a623,#ff8a00); color: #3a2100; }
.price, .cat-prod-price { color: #e8890c; }
.cat-prod-cta { background: var(--grad-primary); font-weight: 700; box-shadow: 0 3px 10px rgba(255,190,0,.25); }

/* 主按钮 / 标题 / 徽章 */
.btn-primary { background: var(--grad-primary); border-color: #D9A600; box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 4px 14px rgba(255,190,0,.30); font-weight: 700; }
.section-title { border-left: 3px solid var(--primary); padding-left: 8px; }
.card-title { color: var(--primary-dark); border-bottom-color: var(--border-strong); }
.brand-logo { border: 2px solid #FFE9A8; box-shadow: 0 10px 30px rgba(255,190,0,.30), 0 0 0 4px rgba(255,217,138,.18); }
.logo { border-color: #FFE9A8; }
.header-login-btn { background: var(--grad-primary); box-shadow: 0 3px 10px rgba(255,190,0,.28); }

/* 底部导航：选中图标实心渐变，未选中图标底色更清晰 */
.tabbar { border-top: 1px solid var(--border-strong); box-shadow: 0 -4px 18px rgba(55,48,24,.10); }
.tabbar::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--grad-primary); opacity: .85; }
.tabbar-item.active .tab-icon-box { background: var(--grad-primary); border-color: #D9A600; box-shadow: 0 3px 10px rgba(255,190,0,.32); }
.tabbar-item.active .tab-icon-box svg { stroke: #fff; }
.tabbar-item:not(.active) .tab-icon-box { background: #F2EFE4; border-color: #DDD8C8; }
.tabbar-item:not(.active) .tab-icon-box svg { stroke: #7A7769; }

/* 后台宫格：图标也配彩色底衬 */
.admin-tile .at-ico { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 4px; background: linear-gradient(145deg,#F5F1E2,#F0E9CF); border: 1px solid #E7DFC4; }
.admin-tile:nth-child(3n+2) .at-ico { background: linear-gradient(145deg,#F7F4E6,#F2EFCF); border-color: #E5DEB8; }
.admin-tile:nth-child(3n+3) .at-ico { background: linear-gradient(145deg,#fff3dc,#ffe6bb); border-color: #ffdda3; }
.admin-tile:hover { border-color: var(--primary); }

/* ================= V7.1 CONTRAST & PRODUCT IMAGE =================
   1) 区块之间颜色拉开：商品区独立淡蓝面板，白色卡片明显浮起；
   2) 每个单子顶部一张大图：管理员上传真图优先，未上传显示专属配色默认图；
   3) 每张卡片左侧色条按序号不同色，区分更分明。
   纯静态样式，无动画、无毛玻璃，不影响任何交互。 */

/* 商品区独立底色：卡片与背景分层 */
.order-type-list {
  padding: 10px; margin: 0 10px 12px;
  background: linear-gradient(180deg, #F3EFE1 0%, #FCFAF2 100%);
  border: 1px solid #E6E1CF; border-radius: var(--radius);
}
.order-type-list .order-type-card {
  background: #ffffff;
  border: 1px solid #E7E3D4; border-left: 4px solid var(--primary);
  box-shadow: 0 10px 26px rgba(60,52,26,.18);
  overflow: hidden;
}
.order-type-list .order-type-card:nth-child(6n+1) { border-left-color: #D9A600; }
.order-type-list .order-type-card:nth-child(6n+2) { border-left-color: #FFCE00; }
.order-type-list .order-type-card:nth-child(6n+3) { border-left-color: #FFB800; }
.order-type-list .order-type-card:nth-child(6n+4) { border-left-color: #FFD84D; }
.order-type-list .order-type-card:nth-child(6n+5) { border-left-color: #FFC21A; }
.order-type-list .order-type-card:nth-child(6n+6) { border-left-color: #ff5c8a; }
.order-type-card.is-hot { border-left-color: #f5a623 !important; }

/* 顶部大图：管理员上传的真图（满宽贴顶） */
.otc-image {
  width: calc(100% + 28px); height: 138px;
  margin: -14px -14px 12px; object-fit: cover;
  border: 0; border-bottom: 1px solid var(--border-strong); border-radius: 0;
  display: block;
}
/* 未上传时：按单子生成专属配色默认图，显示保底数字 / 分类 / 游戏 */
.otc-ph {
  position: relative; overflow: hidden;
  width: calc(100% + 28px); height: 138px;
  margin: -14px -14px 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  background: linear-gradient(135deg, var(--ph1, #26282E), var(--ph2, #FFCE00));
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.otc-ph::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 24px 100%,
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 100% 24px;
}
.otc-ph::after {
  content: ''; position: absolute; right: -30px; top: -50px;
  width: 150px; height: 150px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.20), transparent 70%);
}
.otc-ph-ico { position: relative; z-index: 2; font-size: 24px; line-height: 1; }
.otc-ph-num {
  position: relative; z-index: 2; max-width: 88%; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
  font-size: 30px; font-weight: 800; color: #fff; letter-spacing: 1px;
  line-height: 1.1; text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.otc-ph-num i { font-size: 14px; font-style: normal; font-weight: 600; margin-left: 2px; }
.otc-ph-sub { position: relative; z-index: 2; font-size: 11px; color: rgba(255,255,255,.85); letter-spacing: .5px; }

/* 区块之间各自有底色，边界清晰 */
.trust-strip { background: #ffffff; border: 1px solid #E7E3D4; box-shadow: 0 6px 18px rgba(60,52,26,.10); }
.ts-item { border-right-color: #E7E3D4; }
.assurance-bar { background: linear-gradient(90deg,#F6F3E7,#FFF6C9,#F6F3E7); border: 1px solid #E9D98A; }
.quick-entries {
  padding: 10px; margin: 0 10px 12px; gap: 8px;
  background: linear-gradient(180deg,#FFF6D9,#FFFDF2);
  border: 1px solid #EADB97; border-radius: var(--radius);
}

/* 分类页商品卡：与背景区分更明显，默认图也用专属配色 */
.cat-prod { background: #ffffff; border: 1px solid #E7E3D4; border-left: 3px solid var(--primary); box-shadow: 0 6px 16px rgba(60,52,26,.12); }
.cat-prod:nth-child(6n+1) { border-left-color: #D9A600; }
.cat-prod:nth-child(6n+2) { border-left-color: #FFCE00; }
.cat-prod:nth-child(6n+3) { border-left-color: #FFB800; }
.cat-prod:nth-child(6n+4) { border-left-color: #FFD84D; }
.cat-prod:nth-child(6n+5) { border-left-color: #FFC21A; }
.cat-prod:nth-child(6n+6) { border-left-color: #ff5c8a; }
.cat-prod-img { border: 1px solid var(--border-strong); }
.cat-prod-ph {
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px;
  background: linear-gradient(135deg, var(--ph1, #26282E), var(--ph2, #FFCE00));
  border-color: rgba(255,255,255,.35);
}

/* 后台单子列表缩略图：每个单子有没有图一眼看到 */
.ot-thumb {
  flex: 0 0 58px; width: 58px; height: 46px; margin-right: 10px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, var(--ph1, #26282E), var(--ph2, #FFCE00));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 700;
}
.ot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ot-card .ot-meta { display: block; }

/* ================= V7.2 GRID / SQUARE CARD =================
   买家要求：单子改成「双排、方形、小一点」；上 2/3 是图片（管理员后台自己上传，
   未上传则显示该单子专属配色默认图），下 1/3 是文字（名称 + 价格 + 下单）。
   纯布局覆盖，不改任何数据字段与交互；无动画、无毛玻璃（手机滚动不回归）。 */

/* ---------- 首页商品区：双列网格 ---------- */
.order-type-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
  padding: 10px; margin: 0 10px 12px;
  background: linear-gradient(180deg, #F3EFE1 0%, #FCFAF2 100%);
  border: 1px solid #E6E1CF; border-radius: var(--radius);
}
.order-type-list .empty-state { grid-column: 1 / -1; }

/* 方形小卡：aspect-ratio 保证正方形，内部严格 2/3 图 + 1/3 字 */
.order-type-list .order-type-card {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex; flex-direction: column;
  padding: 0; margin: 0;
  background: #ffffff;
  border: 1px solid #E7E3D4; border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(60,52,26,.14);
  overflow: hidden;
}
.order-type-list .order-type-card.is-hot { border-left-color: #f5a623 !important; }
.order-type-list .order-type-card.is-limited { opacity: .72; }

/* 上 2/3：图片区（后台上传真图优先，未上传用专属配色默认图） */
.order-type-list .otc-media {
  position: relative;
  flex: 0 0 66.6667%; height: 66.6667%;
  min-height: 0; overflow: hidden;
  background: #26282E;
}
.order-type-list .otc-media .otc-image {
  position: absolute; inset: 0;
  width: 100%; height: 100%; margin: 0;
  border: 0; border-radius: 0;
  object-fit: cover; display: block;
}
.order-type-list .otc-media .otc-ph {
  position: relative;
  width: 100%; height: 100%; margin: 0;
  border: 0; border-radius: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px;
  background: linear-gradient(135deg, var(--ph1, #26282E), var(--ph2, #FFCE00));
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.order-type-list .otc-media .otc-ph-ico { font-size: 20px; }
.order-type-list .otc-media .otc-ph-num { font-size: 25px; }
.order-type-list .otc-media .otc-ph-sub { font-size: 10px; }

/* 角标浮在图片上，不占文字区 */
.order-type-list .otc-media .otc-hot,
.order-type-list .otc-media .otc-limit {
  position: absolute; z-index: 3;
  left: 5px; max-width: calc(100% - 10px);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 9px; line-height: 1.4; padding: 2px 5px; border-radius: 2px;
}
.order-type-list .otc-media .otc-hot { top: 5px; background: linear-gradient(135deg,#f5a623,#ff8a00); color: #3a2100; }
.order-type-list .otc-media .otc-limit { bottom: 5px; }

/* 下 1/3：文字区（名称 + 价格 + 下单，字号全部缩小） */
.order-type-list .otc-info {
  flex: 0 0 33.3333%; height: 33.3333%;
  min-height: 0; box-sizing: border-box;
  padding: 5px 7px 6px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: #ffffff;
  border-top: 1px solid #E7E3D4;
}
.order-type-list .otc-name {
  display: block; margin: 0;
  font-size: 12px; line-height: 1.25; font-weight: 700; letter-spacing: 0;
  color: var(--text-primary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.order-type-list .otc-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 4px; padding: 0; margin: 0; border: 0;
}
.order-type-list .otc-price-now { font-size: 16px; font-weight: 800; letter-spacing: -.3px; color: #e8890c; }
.order-type-list .otc-cta {
  flex: 0 0 auto; padding: 3px 7px; border-radius: 2px;
  font-size: 10px; font-weight: 700; letter-spacing: 0;
  color: #fff; background: var(--grad-primary); box-shadow: none;
}

/* ---------- 分类页：同样双排方形（分类标题跨两列） ---------- */
.cat-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; }
.cat-content .cat-banner { grid-column: 1 / -1; margin-bottom: 2px; }
.cat-content .cat-prod {
  aspect-ratio: 1 / 1;
  display: flex; flex-direction: column;
  padding: 0; margin: 0; gap: 0;
  background: #ffffff;
  border: 1px solid #E7E3D4; border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(60,52,26,.12);
  overflow: hidden;
}
.cat-content .cat-prod.is-limited { opacity: .7; }
.cat-content .cat-prod-media {
  position: relative;
  flex: 0 0 66.6667%; height: 66.6667%;
  min-height: 0; overflow: hidden; background: #26282E;
}
.cat-content .cat-prod-media .cat-prod-img {
  position: absolute; inset: 0;
  flex: none; width: 100%; height: 100%; margin: 0;
  border: 0; border-radius: 0; object-fit: cover; display: block;
}
.cat-content .cat-prod-media .cat-prod-ph {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-size: 30px; color: #fff;
  background: linear-gradient(135deg, var(--ph1, #26282E), var(--ph2, #FFCE00));
}
.cat-content .cat-prod-media .cat-prod-limit {
  position: absolute; z-index: 3; bottom: 5px; left: 5px;
  max-width: calc(100% - 10px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  margin: 0; font-size: 9px; line-height: 1.4; padding: 2px 5px; border-radius: 2px;
  color: #8a5200; background: #fff3dd; border: 1px solid #ffe0a6;
}
.cat-content .cat-prod-media .cat-prod-limit.hit { color: #a32323; background: #ffecec; border-color: #ffc4c4; }
.cat-content .cat-prod-info {
  flex: 0 0 33.3333%; height: 33.3333%;
  min-height: 0; box-sizing: border-box;
  padding: 5px 7px 6px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: #ffffff; border-top: 1px solid #E7E3D4;
}
.cat-content .cat-prod-name {
  font-size: 12px; line-height: 1.25; font-weight: 700; color: var(--text-primary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cat-content .cat-prod-bottom { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin: 0; }
.cat-content .cat-prod-price { font-size: 16px; font-weight: 800; color: #e8890c; }
.cat-content .cat-prod-cta {
  flex: 0 0 auto; margin: 0; padding: 3px 7px; border-radius: 2px;
  font-size: 10px; font-weight: 700; color: #fff;
  background: var(--grad-primary); box-shadow: none;
}

/* ================= V8 REAL-TIME CHAT ================= */
/* 客服工作台 / 会话列表 / 消息气泡 / 未读角标。
   只用已有变量；不加毛玻璃、不加动画、保持方正圆角，不影响手机滚动。 */
.tab-icon-box { position: relative; }
.tab-dot {
  position: absolute; top: -6px; right: -9px; min-width: 15px; height: 15px;
  padding: 0 3px; box-sizing: border-box; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-style: normal; font-weight: 800; line-height: 1;
  color: #fff; background: #e23c3c; border: 1px solid #fff;
}
.sv-unread {
  display: inline-block; margin-left: 4px; padding: 1px 5px; border-radius: 2px;
  font-size: 10px; font-weight: 700; color: #fff; background: #e23c3c;
}
.sv-staff-menu { margin-bottom: 10px; }
.sv-staff-menu .card-title { display: block; margin-bottom: 4px; }

.chat-live-tip {
  margin: 0 0 8px; padding: 7px 10px; border-radius: var(--radius);
  font-size: 11px; line-height: 1.5; color: #7A5A00;
  background: #F5F1E2; border: 1px solid #EADB97;
}
.chat-log { background: #f7faff; }
.chat-msg .cm-meta {
  margin: 0 0 3px; font-size: 10px; line-height: 1.3; color: var(--text-muted);
}
.chat-msg.mine .cm-meta { text-align: right; }
.chat-msg > span { word-break: break-word; white-space: pre-wrap; }
.chat-msg.theirs > span {
  background: #ffffff; border-color: #E4E1D6; color: var(--text-primary);
}
.chat-msg.mine > span {
  background: var(--grad-primary); border-color: #D9A600; color: #fff;
}

.console-head { display: flex; align-items: center; justify-content: space-between; }
.console-tabs { display: flex; gap: 8px; margin: 10px 0; }
.ct-btn {
  flex: 1; position: relative; padding: 9px 6px; border-radius: var(--radius);
  font-size: 13px; font-weight: 700; color: var(--text-secondary);
  background: #ffffff; border: 1px solid var(--border-strong); cursor: pointer;
}
.ct-btn.active { color: #fff; background: var(--grad-primary); border-color: #D9A600; }
.ct-dot {
  position: absolute; top: -6px; right: -4px; min-width: 16px; height: 16px;
  padding: 0 3px; box-sizing: border-box; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-style: normal; font-weight: 800; color: #fff;
  background: #e23c3c; border: 1px solid #fff;
}
.thread-list { padding: 0; overflow: hidden; }
.thread-item {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px;
  border-bottom: 1px solid var(--border); cursor: pointer; background: #ffffff;
}
.thread-item:last-child { border-bottom: 0; }
.thread-item:active { background: #f0f6ff; }
.ti-avatar {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  background: #F5F1E2; border: 1px solid #EAD1A0;
}
.ti-body { flex: 1; min-width: 0; }
.ti-name { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.ti-time { font-size: 10px; color: var(--text-muted); }
.ti-last {
  margin-top: 3px; font-size: 11px; color: var(--text-secondary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ti-unread {
  flex: 0 0 auto; min-width: 18px; height: 18px; padding: 0 4px;
  box-sizing: border-box; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #fff; background: #e23c3c;
}
.role-badge.role-service { color: #7A5A00; background: #F5F1E2; border-color: #EADB97; }



/* ---- LOGIN FIELDS (nickname + phone required) ---- */
.lp-form { margin-top: 10px; }
.lp-form .login-input { width: 100%; }

/* ===== V9.8 手游/端游平台标识 + 进站公告弹窗 ===== */
/* 平台徽章：端游橙红醒目、手游绿，防止打手抢错端 */
.plat-badge { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; vertical-align: middle; }
.plat-mobile { background: rgba(70,197,132,.13); color: #2f9e63; border: 1px solid rgba(70,197,132,.45); }
.plat-pc { background: rgba(230,126,34,.15); color: #c95d00; border: 1px solid rgba(230,126,34,.55); }
.plat-big { font-size: 13px; padding: 3px 10px; }

/* 下单页平台选择：手游原价 / 端游 +40% */
.plat-choose { display: flex; gap: 10px; margin-top: 6px; }
.plat-option { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px 10px; border: 2px solid var(--border); border-radius: var(--radius-lg); cursor: pointer; position: relative; background: #fff; transition: border-color .15s, background .15s; }
.plat-option.active { border-color: var(--primary); background: rgba(255,190,0,.05); }
.plat-option input { position: absolute; opacity: 0; pointer-events: none; }
.po-icon { font-size: 24px; line-height: 1.2; }
.po-name { font-weight: 700; font-size: 14px; color: var(--text); }
.po-desc { font-size: 11px; color: var(--text-muted); }
.plat-option.active .po-name { color: var(--primary); }

/* 抢单弹窗平台横幅 */
.grab-plat-banner { margin-bottom: 10px; padding: 10px 12px; border-radius: var(--radius-lg); font-weight: 800; text-align: center; font-size: 14px; }
.grab-plat-banner.plat-pc { background: rgba(230,126,34,.13); color: #c95d00; border: 1px dashed rgba(230,126,34,.6); }
.grab-plat-banner.plat-mobile { background: rgba(70,197,132,.1); color: #2f9e63; border: 1px dashed rgba(70,197,132,.5); }

/* 进站公告弹窗 */
.entry-popup { position: relative; width: 88%; max-width: 360px; max-height: 74vh; display: flex; flex-direction: column; padding: 18px 16px 14px; }
.entry-popup-close { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border: none; background: rgba(0,0,0,.06); border-radius: 50%; font-size: 14px; cursor: pointer; color: #78766B; line-height: 1; }
.entry-popup-close:active { background: rgba(0,0,0,.12); }
.entry-popup-title { text-align: center; font-weight: 800; font-size: 17px; color: var(--text); margin-bottom: 10px; padding-right: 26px; }
.entry-popup-body { overflow-y: auto; font-size: 13px; line-height: 1.7; color: #55564E; }
.entry-popup-body p { margin: 3px 0; }
.entry-popup-btn { margin-top: 12px; flex-shrink: 0; }

/* ===== V9.14 打手称号（普通 / 金牌 / 魔王） ===== */
/* 抢单弹窗：当前称号横幅 + 按称号动态抽成 */
.grab-title-banner { margin-bottom: 8px; padding: 8px 10px; border-radius: var(--radius-lg); font-size: 12px; font-weight: 700; text-align: center; border: 1px solid var(--border); background: #F8F7F1; color: #55564E; }
.grab-title-banner.gt-normal { background: #F8F7F1; color: #55564E; border-color: var(--border); }
.grab-title-banner.gt-gold { background: rgba(245,166,35,.13); color: #a56a00; border-color: rgba(245,166,35,.5); }
.grab-title-banner.gt-demon { background: rgba(155,81,224,.13); color: #7b32c9; border-color: rgba(155,81,224,.5); }
.grab-delay-tip { margin-bottom: 10px; padding: 9px 11px; border-radius: var(--radius-lg); font-size: 12px; line-height: 1.6; background: rgba(255,190,0,.07); color: #7A5A00; border: 1px dashed rgba(255,190,0,.35); }
.grab-delay-tip.gt-demon { background: rgba(155,81,224,.09); color: #7b32c9; border-color: rgba(155,81,224,.4); }

/* 打手中心：称号卡 / 倒计时 / 购买套餐 */
.title-card { padding: 14px 14px 12px; }
.tc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tc-badge { display: inline-block; padding: 5px 12px; border-radius: 20px; font-size: 14px; font-weight: 800; }
.tc-badge-normal { background: #F3F1E8; color: #78766B; border: 1px solid #d8dfe9; }
.tc-badge-gold { background: #ffe9a8; color: #6b4300; border: 1px solid #e09a12; }
.tc-badge-demon { background: #e6c8ff; color: #3d1166; border: 1px solid #8a3fd0; }
.tc-countdown { font-size: 12px; color: var(--text-muted); }
.tc-countdown.tc-expired { color: #e23c3c; }
.tc-stats { display: flex; gap: 8px; margin-top: 12px; }
.tc-stats > div { flex: 1; text-align: center; padding: 9px 4px; background: #f7f9fc; border-radius: var(--radius-lg); }
.tc-stats b { display: block; font-size: 17px; color: var(--primary); line-height: 1.3; }
.tc-stats span { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.tc-desc { margin-top: 10px; font-size: 12px; line-height: 1.6; color: #78766B; }
.tc-free { margin-top: 10px; padding: 9px 10px; border-radius: var(--radius-lg); background: rgba(155,81,224,.09); color: #7b32c9; font-size: 12px; font-weight: 700; }
.tc-buy { margin-top: 12px; border-top: 1px dashed var(--border); padding-top: 12px; }
.tc-buy-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.tc-plan-group { margin-bottom: 10px; }
.tc-plan-label { display: block; font-size: 12px; font-weight: 700; color: #55564E; margin-bottom: 6px; }
.tc-plans { display: flex; gap: 8px; }
.title-plan { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; cursor: pointer; }
.title-plan:active { background: #f0f5ff; }
.title-plan b { font-size: 13px; color: var(--text); }
.tp-price { font-size: 14px; font-weight: 800; color: #e2534b; }

/* 后台打手管理：称号小徽章 */
.title-chip { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 11px; font-weight: 700; }
.title-chip.tc-normal { background: #F3F1E8; color: #78766B; }
.title-chip.tc-gold { background: #fff2d0; color: #a56a00; }
.title-chip.tc-demon { background: #f0e0ff; color: #7b32c9; }

/* ==================================================================
   V10 VIVID / NEON-YELLOW RETAIL THEME
   买家要求：整站由电光蓝改为鲜艳带荧光的明黄；要超市促销牌的兴奋感，
   但用炭黑骨架 + 大留白 + 细描边压住，保持高级感不廉价；
   底色改柔和暖米灰、去掉白色网格；主要内容卡片一律纯白；
   点单页双排方形卡间距只放宽一点点，配图完整显示（contain）不裁掉图上文字。
   ================================================================== */
:root {
  --neon: #E9FF3D;
  --ink: #17181D;
  --ink-2: #2B2C26;
  --paper: #F7F6F1;
  --radius-soft: 12px;
  --grad-hero: linear-gradient(135deg,#17181D 0%,#26282E 48%,#3B3A2B 100%);
  --grad-primary: linear-gradient(135deg,#FFD400 0%,#FFE95C 100%);
  --shadow: 0 8px 26px rgba(55,48,24,.13);
  --shadow-hard: 0 3px 0 rgba(23,24,29,.20);
}

/* --- 1. 底与卡片：暖米灰底、纯白内容、无网格 --- */
body { background: var(--bg-app); }
#phone { background: radial-gradient(120% 60% at 50% -14%, rgba(255,206,0,.13), transparent 62%), var(--bg-page); box-shadow: 0 0 0 1px rgba(55,48,24,.06), 0 24px 70px rgba(55,48,24,.10); }
.app-header { background: #ffffff; border-bottom-color: var(--border); }
.card, .modal-content, .login-card, .order-type-card, .cat-prod { background: #ffffff; }

/* --- 2. 顶栏 / Hero：炭黑 + 极淡荧光斜纹 + 价签标签 --- */
.top-bar { background: linear-gradient(100deg,#17181D,#2B2C26); border-color: #3B3A2B; border-radius: var(--radius-soft); }
.top-bar .brand-name { color: #fff; }
.home-hero { border-color: #3B3A2B; border-radius: var(--radius-soft); background: var(--grad-hero); box-shadow: 0 10px 26px rgba(23,24,29,.22); padding: 16px 14px 18px; }
.home-hero::before { background: repeating-linear-gradient(115deg, rgba(233,255,61,.045) 0 2px, transparent 2px 13px); }
.home-hero::after { background: radial-gradient(circle, rgba(233,255,61,.30), transparent 70%); }
.home-hero .hh-main { padding-right: 58px; }
.hh-badge { border-color: #FFE9A8; border-radius: 10px; }
.hh-title { font-size: 19px; font-weight: 900; letter-spacing: .5px; color: #fff; }
.hh-title span { color: var(--neon); }
.hh-slogan { color: #DCD6BE; }
.hh-tags span { color: #17181D; border: 1px solid rgba(23,24,29,.55); background: #FFD400; border-radius: 3px; font-weight: 800; padding: 2px 8px; box-shadow: 0 2px 0 rgba(23,24,29,.35); }
.hh-tags span:nth-child(2) { background: var(--neon); }
.hh-tags span:nth-child(3) { background: #FFF07A; }

/* --- 3. 促销牌：黄底黑字价签、斜角、细描边（高级不廉价） --- */
.site-ad-ticker { position: relative; color: #17181D; background: linear-gradient(100deg,#FFE95C,#FFF6C9); border: 1px solid #D9A600; border-radius: var(--radius-soft); font-weight: 800; letter-spacing: .2px; padding-right: 60px; }
.site-ad-ticker > span:first-child { font-size: 14px; }
.section-title { border-left: 4px solid #FFD400; padding-left: 9px; font-weight: 900; letter-spacing: .3px; color: var(--ink); }
.card-title { color: var(--ink); }
.btn-primary { background: #FFD400; border: 1px solid #17181D; color: #17181D; font-weight: 900; border-radius: 8px; box-shadow: var(--shadow-hard); text-shadow: none; }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(23,24,29,.2); }
.price, .cat-prod-price, .otc-price-now { color: #B45F00; }
.tabbar::before { background: var(--neon); }
.tabbar-item.active .tab-icon-box { background: #17181D; border-color: #FFD400; }
.tabbar-item.active .tab-icon-box svg { stroke: #FFD400; }
.tabbar-item.active .tab-label { color: var(--ink); font-weight: 800; }
.site-banner.no-img { background: var(--grad-hero); border-color: #3B3A2B; }
.site-banner, .site-banner-img { border-radius: var(--radius-soft); }
.cat-banner { position: relative; background: linear-gradient(100deg,#FFF6C9,#FFFBEC); border-color: #E9D98A; border-radius: var(--radius-soft); padding-right: 74px; }
.cat-banner-title { color: var(--ink); }

/* --- 4. 点单页：双排保持、留白只放宽一点点、配图完整不裁字 --- */
.order-type-list { gap: 11px; padding: 12px; background: #F3F0E4; border-color: #E4DFC9; border-radius: var(--radius-soft); }
.order-type-list .order-type-card { border-color: #E7E3D4; border-left-color: #FFD400; border-radius: var(--radius-soft); box-shadow: 0 6px 16px rgba(55,48,24,.12); }
.order-type-list .order-type-card.is-hot { border-left-color: #FF9E00 !important; }
.order-type-list .otc-media { background: #F6F3E8; }
.order-type-list .otc-media .otc-image { object-fit: contain; padding: 3px; background: #F6F3E8; }
.order-type-list .otc-media .otc-ph { background: linear-gradient(135deg,#26282E,#3B3A2B); }
.order-type-list .otc-media .otc-hot { top: 5px; left: auto; right: 5px; background: #FFD400; color: #17181D; font-weight: 900; border: 1px solid #17181D; border-radius: 3px; clip-path: polygon(6px 0,100% 0,100% 100%,0 100%,0 6px); padding: 2px 7px 2px 9px; }
.order-type-list .otc-media .otc-limit { bottom: 5px; }
.order-type-list .otc-info { background: #ffffff; border-top-color: #E7E3D4; padding: 6px 8px 7px; }
.order-type-list .otc-name { font-size: 12px; color: var(--ink); }
.order-type-list .otc-cta { background: #FFD400; color: #17181D; border: 1px solid #17181D; border-radius: 5px; font-weight: 900; }
.cat-content { gap: 11px; }
.cat-content .cat-prod { border-color: #E7E3D4; border-left-color: #FFD400; border-radius: var(--radius-soft); }
.cat-content .cat-prod-media { background: #F6F3E8; }
.cat-content .cat-prod-media .cat-prod-img { object-fit: contain; padding: 3px; background: #F6F3E8; }
.cat-content .cat-prod-media .cat-prod-ph { background: linear-gradient(135deg,#26282E,#3B3A2B); }
.cat-prod-cta { background: #FFD400; color: #17181D; border: 1px solid #17181D; }
.otc-image { object-fit: contain; }

/* --- 5. 线性 SVG 图标：替掉 emoji 的表情感 --- */
.qe-item > span { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 9px; background: #FFF6C9; border: 1px solid #EADB97; }
.qe-item > span svg, .v10-ico { width: 18px; height: 18px; stroke: #7A5A00; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qe-item:nth-child(4n+2) > span { background: #F3F0E4; border-color: #DDD6B8; }
.qe-item:nth-child(4n+3) > span { background: #FFF1D6; border-color: #EAD1A0; }
.qe-item:nth-child(4n+4) > span { background: #F7F6D6; border-color: #DCD88C; }
.hh-tags .v10-ico { width: 12px; height: 12px; stroke: #17181D; display: inline-block; vertical-align: -2px; margin-right: 3px; }

/* --- 6. 会动的 Q 版战术干员（内联 SVG + 多部位循环动画） --- */
.mascot { position: absolute; pointer-events: none; z-index: 3; filter: drop-shadow(0 4px 8px rgba(23,24,29,.28)); }
.mascot svg { display: block; width: 100%; height: auto; overflow: visible; animation: v10Float 3.2s ease-in-out infinite; }
.mascot-1 { right: 6px; bottom: 4px; width: 74px; }
.mascot-2 { right: 6px; top: -26px; width: 60px; }
.mascot-3 { right: 6px; bottom: 2px; width: 64px; }
.mascot .v10-body { animation: v10Breathe 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
.mascot .v10-lid { animation: v10Blink 4.4s ease-in-out infinite; transform-origin: center; }
.mascot .v10-sway { animation: v10Sway 2.6s ease-in-out infinite; transform-origin: 50% 10%; }
.mascot .v10-glow { animation: v10Glow 2.8s ease-in-out infinite; }
.mascot-2 svg { animation-delay: -.8s; }
.mascot-3 svg { animation-delay: -1.6s; }
@keyframes v10Float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes v10Breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.025); } }
@keyframes v10Blink { 0%,90%,100% { transform: scaleY(1); } 94% { transform: scaleY(.08); } }
@keyframes v10Sway { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(4deg); } }
@keyframes v10Glow { 0%,100% { opacity: .28; } 50% { opacity: .8; } }

/* --- 7. V10 线性图标在各容器里的尺寸 / 描边色，避免「大表情」或糊成一团 --- */
.ad-wrap { position: relative; }
/* 后台上传的缩略图同样完整显示，不裁掉配图上的促销文字 */
.ot-thumb img { object-fit: contain; background: #F6F3E8; }
.v10-ico-fallback { display: inline-block; line-height: 1; font-style: normal; }
.site-ad-ticker .v10-ico { width: 16px; height: 16px; stroke: #17181D; display: inline-block; vertical-align: -3px; }
.game-icon .v10-ico { width: 15px; height: 15px; display: block; stroke: #A87B00; }
.cat-tab .v10-ico { width: 13px; height: 13px; display: inline-block; vertical-align: -2px; stroke: currentColor; }
.empty-state .empty-emoji { display: block; line-height: 1; }
.empty-state .empty-emoji .v10-ico { width: 34px; height: 34px; stroke: #A87B00; }
.otc-hot .v10-ico, .otc-limit .v10-ico, .cat-prod-limit .v10-ico { width: 11px; height: 11px; display: inline-block; vertical-align: -2px; stroke: currentColor; }
.otc-hot .v10-ico { stroke: #17181D; }
.order-type-list .otc-media .otc-ph-ico .v10-ico,
.otc-ph-ico .v10-ico { width: 24px; height: 24px; stroke: #FFD400; }
.cat-content .cat-prod-media .cat-prod-ph .v10-ico,
.cat-prod-ph .v10-ico { width: 26px; height: 26px; stroke: #FFD400; }
.cat-rail-icon .v10-ico { width: 15px; height: 15px; display: block; }
.cat-rail-item.active .cat-rail-icon .v10-ico { stroke: #17181D; }
.cat-search-ico .v10-ico { width: 16px; height: 16px; display: block; stroke: #A87B00; }

/* --- 8. 尊重系统「减少动态效果」偏好，动图角色自动静止 --- */
@media (prefers-reduced-motion: reduce) {
  .mascot svg, .mascot .v10-body, .mascot .v10-lid, .mascot .v10-sway, .mascot .v10-glow { animation: none; }
}

/* ==========================================================================
   V11 · 高清 Q 版战术干员 + 中式金线花纹栏目
   - 红狼 / 威龙 / 蝶三套形象，各「睁眼 / 闭眼」两帧透明 PNG 叠放，CSS 定时切换实现眨眼
   - 容器 transform 循环：原地上下起伏 + 呼吸缩放 + 轻微左右张望，三角色节奏错开
   - 角色一律 pointer-events:none，只做装饰，不遮单子配图上的字、不挡点击
   - 分类之间用屋檐 / 如意云纹 / 菱形金饰栏目条区分，沿用 V10 明黄 + 炭黑，不换主题
   ========================================================================== */

/* --- 1. 角色通用：两帧叠放 + 动画节奏 --- */
.cm-hero, .card-mascot {
  --cm-float: 3.6s;
  --cm-blink: 4.8s;
  --cm-delay: 0s;
  position: relative;
  display: block;
  pointer-events: none;
  animation: cmFloat var(--cm-float) ease-in-out var(--cm-delay) infinite;
}
.cm-hero { width: 100%; aspect-ratio: 1 / 1; }
.cm-hero img, .card-mascot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
}
.cm-open  { opacity: 1; animation: cmBlinkOpen  var(--cm-blink) var(--cm-delay) infinite; }
.cm-close { opacity: 0; animation: cmBlinkClose var(--cm-blink) var(--cm-delay) infinite; }
.cm-wolf      { --cm-float: 3.7s; --cm-blink: 4.9s; --cm-delay: 0s; }
.cm-dragon    { --cm-float: 4.2s; --cm-blink: 5.5s; --cm-delay: -1.3s; }
.cm-butterfly { --cm-float: 3.3s; --cm-blink: 4.3s; --cm-delay: -2.1s; }

@keyframes cmFloat {
  0%,100% { transform: translateY(0) rotate(-2deg) scale(1); }
  25%     { transform: translateY(-2px) rotate(0deg) scale(1.012); }
  50%     { transform: translateY(-5px) rotate(2.5deg) scale(1.022); }
  75%     { transform: translateY(-1px) rotate(0deg) scale(1.008); }
}
@keyframes cmBlinkOpen  { 0%,92%,100% { opacity: 1; } 93%,97% { opacity: 0; } }
@keyframes cmBlinkClose { 0%,92%,100% { opacity: 0; } 93%,97% { opacity: 1; } }

/* --- 2. 单子卡片角落贴纸：落在图片区右下角（右上热销标 / 左下限购标都不冲突） --- */
.card-mascot {
  position: absolute;
  right: 1px; bottom: 0;
  width: 54px; height: 54px;
  z-index: 2;
  filter: drop-shadow(0 2px 5px rgba(23,24,29,.22));
}
.card-mascot .cm-cloud {
  position: absolute; left: 50%; bottom: -1px;
  width: 44px; height: 16px;
  transform: translateX(-50%);
  color: #C79A00; opacity: .85;
}
.card-mascot .cm-cloud svg { width: 100%; height: 100%; display: block; }
.cat-content .cat-prod-media .card-mascot { width: 50px; height: 50px; right: 1px; bottom: 0; }

/* --- 3. 中式金线花纹：分类之间的屋檐 / 云纹 / 菱形金饰栏目条 --- */
.cm-group {
  grid-column: 1 / -1;
  position: relative;
  margin: 2px 0 1px;
  padding: 9px 4px 6px;
  text-align: center;
  color: #A87B00;
  background: linear-gradient(180deg, rgba(255,214,77,.16), rgba(255,214,77,0));
  border-bottom: 1px solid rgba(168,123,0,.22);
  border-radius: 4px 4px 0 0;
}
.cmg-roof { display: block; height: 12px; color: #C79A00; opacity: .9; }
.cmg-roof svg { width: 100%; height: 100%; display: block; }
.cmg-line { display: flex; align-items: center; justify-content: center; gap: 6px; }
.cmg-cloud { display: inline-block; width: 34px; height: 13px; color: #C79A00; }
.cmg-cloud svg { width: 100%; height: 100%; display: block; }
.cmg-cloud-flip svg { transform: scaleX(-1); }
.cmg-diamond { display: inline-block; width: 13px; height: 13px; color: #D9A600; }
.cmg-diamond svg { width: 100%; height: 100%; display: block; }
.cmg-label {
  display: inline-block;
  padding: 1px 12px;
  font-size: 12px; font-weight: 900; letter-spacing: 2px;
  color: #17181D;
  background: linear-gradient(180deg, #FFE95C, #FFD400);
  border: 1px solid #17181D;
  border-radius: 2px;
  box-shadow: 0 2px 0 rgba(23,24,29,.18);
}
/* 分类页 banner 顶部压同一道屋檐金线，与首页栏目条用同一套视觉语言 */
.cat-banner-roof { position: absolute; left: 10px; right: 10px; top: 2px; height: 10px; opacity: .8; }
.cat-banner { padding-top: 18px; }
/* 左侧分类 rail / 首页分类 tab 之间点菱形金饰，区分不同分类 */
.cat-rail-item { position: relative; }
.cat-rail-item:not(:last-child)::after {
  content: ""; position: absolute; right: -4px; top: 50%;
  width: 6px; height: 6px; margin-top: -3px;
  background: #FFD400; border: 1px solid #A87B00;
  transform: rotate(45deg);
  opacity: .7; pointer-events: none;
}
.cat-tabs-wrap .cat-tab { position: relative; }
.cat-tabs-wrap .cat-tab:not(:last-child)::after {
  content: ""; position: absolute; right: -4px; top: 50%;
  width: 4px; height: 4px; margin-top: -2px;
  background: #D9A600; transform: rotate(45deg);
  opacity: .55; pointer-events: none;
}

/* --- 4. 尊重系统「减少动态效果」：角色静止并停在睁眼帧 --- */
@media (prefers-reduced-motion: reduce) {
  .cm-hero, .card-mascot, .cm-open, .cm-close { animation: none; }
  .cm-open { opacity: 1; }
  .cm-close { opacity: 0; }
}


/* ==========================================================================
   V11.1 · 按买家要求收敛角色：全站只保留首页 Hero 一个白色 Q 版干员（蝶）并放大
   - 广告条 / 分类页 banner / 每张单子卡片角落的角色全部撤下
   - 中式金线花纹栏目条、分类页 banner 屋檐保留
   - Hero 加深最小高度 + 右侧留白，角色放大后不裁头、不压文字
   ========================================================================== */
.home-hero { min-height: 136px; }
.home-hero .hh-main { padding-right: 112px; }
.mascot-1 { right: 8px; bottom: 2px; width: 118px; }
.site-ad-ticker { padding-right: 12px; }
.cat-banner { padding-right: 12px; }
