/* ================================================================
   双主题体系：前台(C端)暗金质感 theme-front / 后台(管理)暗紫质感 theme-admin
   body 上的主题类由 app.js 在切换前台/后台时自动切换
   ================================================================ */

/* ---------- 前台：暗金 ---------- */
body.theme-front { background: radial-gradient(1100px 700px at 50% -8%, #2b2110 0%, #0d0b06 62%) #0d0b06; }
body.theme-front #phone {
  background: #14100a;
  box-shadow: 0 0 0 12px #211a0f, 0 30px 80px rgba(0,0,0,0.68), 0 0 90px rgba(212,175,55,0.10);
}
body.theme-front .view { background: linear-gradient(180deg, #17120a 0%, #120e08 100%); }
body.theme-front .nav-title { background: rgba(20,16,10,0.96); border-bottom: 1px solid rgba(212,175,55,0.12); letter-spacing: 2px; color: #f3e3b3; text-shadow: 0 1px 8px rgba(212,175,55,0.25); }

/* 搜索/按钮 */
body.theme-front .search-input-wrap, body.theme-front .search-input { background: linear-gradient(135deg, #241d10, #1c160b); border: 1px solid rgba(212,175,55,0.22); box-shadow: inset 0 1px 0 rgba(255,224,138,0.06); }
body.theme-front .search-input::placeholder { color: #8a7a55; }
body.theme-front .search-btn { background: linear-gradient(135deg, #8f6b1d, #d4af37 55%, #f0d17a); color: #241a05; font-weight: 700; box-shadow: 0 4px 16px rgba(212,175,55,0.35), inset 0 1px 0 rgba(255,255,255,0.35); }

/* 首页统计与Banner */
body.theme-front .stat-card-main { background: linear-gradient(145deg, #33270f, #221a0a); border: 1px solid rgba(212,175,55,0.28); box-shadow: inset 0 1px 0 rgba(255,224,138,0.10), 0 6px 18px rgba(0,0,0,0.35); }
body.theme-front .stat-label { color: #e6cf8f; }
body.theme-front .stat-card-gold { background: linear-gradient(145deg, #3a2d14, #2a2010); border: 1px solid rgba(250,204,21,0.3); }
body.theme-front .stat-card-dj { background: linear-gradient(145deg, #2e2410, #201808); border: 1px solid rgba(212,175,55,0.2); }
body.theme-front .stat-label-sm { color: #c7ae6b; }
body.theme-front .deco-heart { color: #e0b64f; }
body.theme-front .banner-dots .dot.active { background: #e9c25c; }

/* 筛选栏 */
body.theme-front .filter-cell:active { background: rgba(212,175,55,0.16); }
body.theme-front .filter-tag { background: rgba(212,175,55,0.16); color: #ecd28a; border: 1px solid rgba(212,175,55,0.4); }
body.theme-front .filter-tag.district { background: rgba(240,193,80,0.18); color: #f5d88f; border: 1px solid rgba(240,193,80,0.5); }

/* 门店卡片 */
body.theme-front .venue-card { background: linear-gradient(135deg, #221b0d, #1a1409); border: 1px solid rgba(212,175,55,0.18); box-shadow: inset 0 1px 0 rgba(255,224,138,0.05), 0 6px 16px rgba(0,0,0,0.35); }
body.theme-front .venue-card::before { background: linear-gradient(90deg, transparent, rgba(212,175,55,0.45), transparent); }
body.theme-front .venue-cover { border: 2px solid rgba(212,175,55,0.45); box-shadow: 0 0 12px rgba(212,175,55,0.2); }
body.theme-front .rebate-tag { background: linear-gradient(135deg, #9a741f, #d4af37); color: #241a05; font-weight: 700; }
body.theme-front .actor-price { color: #e9c25c; background: rgba(212,175,55,0.12); }
body.theme-front .price-tag { color: #f0d17a; }

/* 详情页 */
body.theme-front .detail-name-icon { background: linear-gradient(135deg, #b8860b, #e9c25c); color: #241a05; }
body.theme-front .rebate-badge { background: linear-gradient(135deg, #b8860b, #e9c25c); color: #241a05; box-shadow: 0 4px 16px rgba(212,175,55,0.35); }
body.theme-front .detail-fav-btn.active { color: #e9c25c; }
body.theme-front .rule-link { color: #e9c25c; }
body.theme-front .pt-avg { background: rgba(212,175,55,0.14); color: #ecd28a; border: 1px solid rgba(212,175,55,0.25); }
body.theme-front .pt-actor { background: rgba(240,193,80,0.12); color: #f0d17a; border: 1px solid rgba(240,193,80,0.22); }
body.theme-front .address-bar { background: linear-gradient(135deg, #2c2210, #241c0d); border: 1px solid rgba(212,175,55,0.25); }
body.theme-front .pkg-row-icon.actor-bg { background: linear-gradient(145deg, #d4af37, #9a741f); color: #241a05; }
body.theme-front .price-chip { background: linear-gradient(145deg, #2a210f, #201808); border: 1px solid rgba(212,175,55,0.25); }
body.theme-front .room-card { background: linear-gradient(135deg, #1e1809, #181207); border: 1px solid rgba(212,175,55,0.12); }
body.theme-front .drink-card { background: linear-gradient(135deg, #201a0b, #191307); border: 1px solid rgba(212,175,55,0.12); }
body.theme-front .drink-icon-wrap { background: linear-gradient(135deg, #d4af37, #8f6b1d); color: #241a05; }
body.theme-front .drink-price { color: #e9c25c; }

/* 排行 */
body.theme-front .rank-tab.active { background: linear-gradient(135deg, #9a741f, #e9c25c); color: #241a05; box-shadow: 0 4px 16px rgba(212,175,55,0.3); }
body.theme-front .rank-item { background: linear-gradient(135deg, #221b0d, #1a1409); border: 1px solid rgba(212,175,55,0.14); }
body.theme-front .rank-cover { border: 2px solid rgba(212,175,55,0.4); }
body.theme-front .rank-rebate { color: #e9c25c; background: rgba(212,175,55,0.14); }
body.theme-front .rank-stars { color: #e9c25c; }

/* 预订 */
body.theme-front .form-section { background: linear-gradient(135deg, #1e1809, #181207); border: 1px solid rgba(212,175,55,0.16); box-shadow: inset 0 1px 0 rgba(255,224,138,0.05); }
body.theme-front .form-textarea { border: 1px solid rgba(212,175,55,0.14); }
body.theme-front .submit-btn { background: linear-gradient(135deg, #8f6b1d, #d4af37 55%, #f0d17a); color: #241a05; box-shadow: 0 8px 30px rgba(212,175,55,0.4), inset 0 1px 0 rgba(255,255,255,0.35); }
body.theme-front .section-title { border-left: 3px solid #d4af37; color: #f3e3b3; }
body.theme-front .history-card { background: linear-gradient(135deg, #1e1809, #181207); border: 1px solid rgba(212,175,55,0.12); }
body.theme-front .status-completed { background: rgba(212,175,55,0.15); color: #e9c25c; }

/* 我的 */
body.theme-front .avatar { border: 2px solid rgba(212,175,55,0.5); box-shadow: 0 0 14px rgba(212,175,55,0.25); }
body.theme-front .login-hint { color: #e9c25c; }
body.theme-front .data-card { background: linear-gradient(145deg, #221b0d, #1a1409); border: 1px solid rgba(212,175,55,0.2); }
body.theme-front .data-value { color: #e9c25c; }
body.theme-front .menu-section { background: linear-gradient(135deg, #1e1809, #181207); border: 1px solid rgba(212,175,55,0.12); }

/* 底部Tab */
body.theme-front .tabbar { background: rgba(16,12,7,0.98); border-top: 1px solid rgba(212,175,55,0.14); }
body.theme-front .tab-item { color: #7a6a48; }
body.theme-front .tab-item.active { color: #e9c25c; text-shadow: 0 0 12px rgba(212,175,55,0.5); }

/* 前台弹窗/全屏页(法律文书等) */
body.theme-front .modal-card { background: linear-gradient(160deg, #262012, #1a1509); border: 1px solid rgba(212,175,55,0.28); box-shadow: inset 0 1px 0 rgba(255,224,138,0.08), 0 20px 60px rgba(0,0,0,0.6); }
body.theme-front .modal-btn.confirm { background: linear-gradient(135deg, #9a741f, #e9c25c); color: #241a05; }
body.theme-front .fs-card { background: #16110a; }
body.theme-front .fs-header { border-bottom: 1px solid rgba(212,175,55,0.25); background: rgba(22,17,10,0.97); }
body.theme-front .fs-back-btn { border: 1px solid rgba(212,175,55,0.45); background: rgba(212,175,55,0.14); color: #ecd28a; }
body.theme-front .fs-back-btn:active { background: rgba(212,175,55,0.3); }
body.theme-front .fs-foot { background: rgba(22,17,10,0.95); border-top: 1px solid rgba(212,175,55,0.25); }
body.theme-front .area-col-title { color: #ecd28a; background: rgba(212,175,55,0.14); border: 1px solid rgba(212,175,55,0.3); }
body.theme-front .area-opt { border: 1px solid rgba(212,175,55,0.12); color: #e2d5b0; }
body.theme-front .area-opt.active { background: linear-gradient(135deg, #9a741f, #e9c25c); color: #241a05; box-shadow: 0 2px 10px rgba(212,175,55,0.4); }
body.theme-front .area-opt:active { background: rgba(212,175,55,0.2); }
body.theme-front .modal-badge.city { background: linear-gradient(135deg, #a07a20, #d4af37); color: #241a05; }
body.theme-front .modal-badge.district { background: linear-gradient(135deg, #d4af37, #f0d17a); color: #241a05; }
body.theme-front .type-opt.active { background: linear-gradient(135deg, #9a741f, #e9c25c); color: #241a05; }
body.theme-front .rebate-item { border: 1px solid rgba(212,175,55,0.14); }
body.theme-front .fav-card { background: linear-gradient(135deg, #221b0d, #1a1409); border: 1px solid rgba(212,175,55,0.14); }
body.theme-front .fav-cover { border: 2px solid rgba(212,175,55,0.4); }
body.theme-front .fav-del { color: #e9c25c; background: rgba(212,175,55,0.15); }
body.theme-front .legal-h { color: #e9c25c; }
body.theme-front .agree-tip a { color: #e9c25c; }
body.theme-front .cs-id-val { color: #e9c25c; }
body.theme-front .cs-copy { background: linear-gradient(135deg, #9a741f, #e9c25c); color: #241a05; }

/* ---------- 后台：暗紫质感(在原紫色系上加深加质感) ---------- */
body.theme-admin { background: radial-gradient(1100px 700px at 50% -8%, #2b1a52 0%, #0a0716 62%) #0a0716; }
body.theme-admin #phone {
  background: #100c20;
  box-shadow: 0 0 0 12px #1b1533, 0 30px 80px rgba(0,0,0,0.7), 0 0 90px rgba(139,92,246,0.16);
}
body.theme-admin .view { background: linear-gradient(180deg, #141028 0%, #0f0b1e 100%); }
body.theme-admin .nav-title { background: rgba(16,12,32,0.96); border-bottom: 1px solid rgba(168,85,247,0.18); letter-spacing: 2px; color: #e6d8ff; text-shadow: 0 1px 10px rgba(168,85,247,0.35); }
body.theme-admin .login-card { background: linear-gradient(145deg, #221a48, #171233); border: 1px solid rgba(168,85,247,0.3); box-shadow: inset 0 1px 0 rgba(200,160,255,0.1), 0 10px 30px rgba(0,0,0,0.45); }
body.theme-admin .role-card { background: linear-gradient(135deg, #2e2168, #3d2b85); border: 1px solid rgba(168,85,247,0.45); box-shadow: inset 0 1px 0 rgba(200,160,255,0.15), 0 8px 24px rgba(88,40,180,0.3); }
body.theme-admin .stat-box { background: linear-gradient(145deg, #221a48, #171233); border: 1px solid rgba(168,85,247,0.28); box-shadow: inset 0 1px 0 rgba(200,160,255,0.08); }
body.theme-admin .store-row { background: linear-gradient(145deg, #201947, #161130); border: 1px solid rgba(168,85,247,0.22); box-shadow: inset 0 1px 0 rgba(200,160,255,0.06); }
body.theme-admin .fs-card { background: #120d24; }
body.theme-admin .fs-header { background: rgba(18,13,36,0.97); border-bottom: 1px solid rgba(168,85,247,0.3); }
body.theme-admin .fs-foot { background: rgba(18,13,36,0.96); border-top: 1px solid rgba(168,85,247,0.3); }
body.theme-admin .modal-card { background: linear-gradient(160deg, #241c4e, #181236); border: 1px solid rgba(168,85,247,0.32); box-shadow: inset 0 1px 0 rgba(200,160,255,0.1), 0 20px 60px rgba(0,0,0,0.6); }
body.theme-admin .quick-phone { box-shadow: 0 6px 20px rgba(139,92,246,0.5), inset 0 1px 0 rgba(255,255,255,0.2); }
body.theme-admin .demo-item { background: rgba(139,92,246,0.1); border: 1px solid rgba(168,85,247,0.28); }
body.theme-admin .tabbar { background: #0e0a1e; border-top: 1px solid rgba(168,85,247,0.18); }
