/* ============================================================================
   小铭快递服务 · 2026 UI 主题层
   加载顺序：main.css → icons.css →（页面内联样式）→ theme.css
   说明：保留旧页面类名与 DOM 结构，仅在此层统一视觉语言。
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1. 设计令牌
---------------------------------------------------------------------------- */
:root {
  --primary: #3B82F6;
  --primary-dark: #2563EB;
  --primary-deep: #1E3A8A;
  --primary-light: #EAF3FF;
  --primary-soft: #F4F9FF;
  --primary-focus: rgba(59, 130, 246, .16);
  --accent: #F5B85C;
  --accent-dark: #D9952E;
  --accent-light: #FFF5E3;
  --ink: #16243D;
  --ink-2: #1F3352;
  --success: #0E9F6E;
  --success-light: #E8F7F0;
  --warning: #D97706;
  --warning-light: #FFF4E5;
  --info: #2563EB;
  --info-light: #EAF1FF;
  --danger: #DC3D43;
  --danger-light: #FEF0F0;
  --bg: #F5F9FF;
  --bg-warm: #FFF8EE;
  --card: #FFFFFF;
  --text: #24344D;
  --text-1: #24344D;
  --text-2: #64748B;
  --text-3: #94A3B8;
  --border: #DDE7F3;
  --border-2: #EDF2F9;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 14px 38px rgba(10, 28, 48, .07), 0 2px 8px rgba(10, 28, 48, .035);
  --shadow-lg: 0 26px 60px rgba(10, 28, 48, .13), 0 6px 18px rgba(10, 28, 48, .05);
  --max-width: 1180px;
  --font-sans: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
  --font-display: "SF Pro Display", "Inter", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-out-back: cubic-bezier(.34, 1.56, .64, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --anim-fast: 220ms;
  --anim-mid: 360ms;
  --anim-slow: 560ms;
}

/* 平台品牌色（仅用于驿站识别） */
:root {
  --st-cainiao: #FF6A00;
  --st-duoduo: #E64545;
  --st-jd: #306FE9;
  --st-postal: #00883A;
  --st-sf: #0096D6;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at 8% -4%, rgba(14, 65, 124, .10), transparent 31rem),
    radial-gradient(circle at 94% 8%, rgba(242, 184, 75, .10), transparent 26rem),
    linear-gradient(180deg, #F7F8FA 0%, var(--bg) 48%, #F6F7F9 100%);
  min-height: 100vh;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.home-page {
  background:
    radial-gradient(circle at 78% 2%, rgba(14, 65, 124, .12), transparent 30rem),
    radial-gradient(circle at 0% 26%, rgba(242, 184, 75, .12), transparent 30rem),
    linear-gradient(180deg, #F9F8F2 0%, #F4F6F8 44%, #F7F8FA 100%);
}

::selection {
  background: rgba(14, 65, 124, .2);
  color: var(--ink);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #C9D2DC; border: 3px solid transparent; background-clip: padding-box; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #A9B7C7; border: 3px solid transparent; background-clip: padding-box; }

a { color: var(--primary); }
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(242, 184, 75, .65);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-width);
  padding-left: 24px;
  padding-right: 24px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000000;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ----------------------------------------------------------------------------
   2. 顶部导航
---------------------------------------------------------------------------- */
.header {
  background:
    radial-gradient(circle at 14% -10%, rgba(47, 114, 190, .22), transparent 26rem),
    radial-gradient(circle at 88% 0%, rgba(242, 184, 75, .12), transparent 22rem),
    linear-gradient(118deg, #07121F 0%, #0B1E33 48%, #0A2441 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 14px 34px rgba(3, 13, 24, .20);
  padding: 12px 0;
  overflow: visible;
  isolation: isolate;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .13) .7px, transparent .7px);
  background-size: 22px 22px;
  opacity: .12;
  z-index: 0;
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(242, 184, 75, .9) 18%, rgba(73, 133, 201, .8) 52%, transparent 86%);
  opacity: .85;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.logo { gap: 12px; }
.logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, #2663A9 0%, #0E417C 58%, #092F5B 100%);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 8px 20px rgba(3, 15, 29, .28), inset 0 1px 0 rgba(255, 255, 255, .2);
  color: #EFF6FF;
}
.logo-icon svg.icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.85;
}
.logo-text h1 {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: .02em;
  color: #F7FBFF;
}
.logo-sub {
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: .04em;
  color: rgba(222, 234, 247, .62);
}
.logo:hover .logo-icon { transform: rotate(-3deg) scale(1.03); }

.tabs {
  flex: 1;
  max-width: 740px;
  gap: 3px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.tab {
  min-width: auto;
  height: 38px;
  padding: 8px 12px;
  border-radius: 10px;
  color: rgba(232, 240, 249, .72);
  font-size: 13px;
  font-weight: 550;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.tab:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, .09);
}
.tab.active {
  color: #1A222C;
  background: linear-gradient(135deg, #F8D484 0%, #F1B844 100%);
  box-shadow: 0 6px 16px rgba(4, 13, 24, .22), inset 0 1px 0 rgba(255, 255, 255, .48);
  font-weight: 750;
}
.tab.active:hover {
  color: #1A222C;
  background: linear-gradient(135deg, #FADB94 0%, #F4C254 100%);
}
.tab.user-login-btn {
  color: #131E2A;
  background: linear-gradient(135deg, #F8D484, #F1B844);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 6px 16px rgba(4, 13, 24, .22);
  font-weight: 750;
}
.tab.user-login-btn:hover {
  color: #131E2A;
  background: linear-gradient(135deg, #FBE1A8, #F4C254);
}

.nav-dropdown-toggle {
  border-radius: 10px;
  color: rgba(232, 240, 249, .72);
  font-size: 13px;
  font-weight: 550;
}
.nav-dropdown-toggle:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.nav-dropdown.open > .nav-dropdown-toggle,
.nav-dropdown-toggle.active {
  background: linear-gradient(135deg, #F8D484 0%, #F1B844 100%);
  color: #1A222C;
  box-shadow: 0 6px 16px rgba(4, 13, 24, .22);
}
.nav-dropdown-menu {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 24px 55px rgba(7, 23, 42, .2);
  background: #fff !important;
}
.nav-dropdown-menu .tab { color: var(--text-2); border-radius: 9px; }
.nav-dropdown-menu .tab:hover { background: var(--primary-light); color: var(--primary); }
.nav-dropdown-menu .tab.active { background: var(--primary); color: #fff; }

.user-nav { flex-shrink: 0; }
.user-menu { gap: 0; }
.user-info-btn {
  height: 42px;
  padding: 4px 11px 4px 6px !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #F2F6FB;
  transition: background .2s ease, border-color .2s ease;
}
.user-info-btn:hover {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
}
.user-avatar {
  width: 29px !important;
  height: 29px !important;
  background: linear-gradient(145deg, #E3EDF9, #A8C4E5) !important;
  color: var(--primary-dark) !important;
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.user-name { color: rgba(245, 250, 255, .94); font-size: 13px; font-weight: 600; }
.user-balance {
  background: rgba(242, 184, 75, .14);
  border: 1px solid rgba(242, 184, 75, .22);
  color: #F7D78C;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  line-height: 1.55;
}
.user-dropdown {
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 28px 65px rgba(8, 23, 41, .22);
  overflow: hidden;
  padding: 0 0 8px;
  background: #fff;
}
.user-dropdown-header {
  padding: 18px 18px 15px;
  margin-bottom: 7px;
  background:
    radial-gradient(circle at 90% 0%, rgba(242, 184, 75, .17), transparent 12rem),
    linear-gradient(135deg, #F0F5FA, #FBFCFD);
  border-bottom: 1px solid var(--border-2);
}
.user-dropdown-header > div > div:first-child {
  background: linear-gradient(145deg, var(--primary), #2663A9) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(14, 65, 124, .22) !important;
}
.user-dn-name { color: var(--ink); }
.user-dn-phone { color: var(--text-3); }
.user-dn-balance { color: var(--text-2); }
.user-dn-balance b { color: var(--primary-dark); }
.user-dd-item {
  margin: 1px 8px;
  padding: 10px 11px;
  border-radius: 9px;
  color: var(--text-2);
  font-size: 13px;
  transition: background .16s ease, color .16s ease, transform .16s ease;
}
.user-dd-item:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateX(2px);
}
#logoutBtn, #userLogoutBtn { color: #B44348; }

/* ----------------------------------------------------------------------------
   3. 页面骨架 / 通用组件
---------------------------------------------------------------------------- */
main.view {
  padding: 34px 0 68px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 38px 38px 36px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  color: #F4F9FF;
  background:
    radial-gradient(circle at 88% 15%, rgba(242, 184, 75, .2), transparent 16rem),
    radial-gradient(circle at 8% 100%, rgba(74, 135, 205, .2), transparent 20rem),
    linear-gradient(120deg, #09192B 0%, #0C2849 64%, #0A2F5A 100%);
  box-shadow: 0 22px 48px rgba(6, 23, 43, .14);
}
.hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -110px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 34px rgba(255, 255, 255, .025), 0 0 0 78px rgba(255, 255, 255, .02);
  pointer-events: none;
}
.hero h2 {
  position: relative;
  z-index: 1;
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.28;
  letter-spacing: .01em;
  margin-bottom: 8px;
}
.hero p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: rgba(227, 237, 248, .76) !important;
  font-size: 14px;
  line-height: 1.75;
}
.hero p span { color: #FFD37C !important; }
.hero-pickup {
  background:
    radial-gradient(circle at 86% 12%, rgba(242, 184, 75, .17), transparent 15rem),
    radial-gradient(circle at 5% 96%, rgba(95, 180, 255, .16), transparent 18rem),
    linear-gradient(120deg, #09192B 0%, #0B2645 62%, #0C305A 100%);
}
.hero-parcel {
  background:
    radial-gradient(circle at 90% 8%, rgba(242, 184, 75, .2), transparent 15rem),
    radial-gradient(circle at 2% 96%, rgba(46, 117, 198, .18), transparent 18rem),
    linear-gradient(120deg, #08182A 0%, #0C2644 58%, #0D3563 100%);
}
.hero h2 svg.icon { width: 1.05em; height: 1.05em; margin-right: 6px; color: var(--accent); }

.card {
  position: relative;
  padding: 28px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.card:hover {
  border-color: #C9D3DE;
  box-shadow: 0 18px 44px rgba(10, 28, 48, .09), 0 3px 10px rgba(10, 28, 48, .035);
}
.card-title {
  gap: 9px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: .01em;
}
.card-title svg.icon { color: var(--primary); }
.step-badge {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1C5AA0, var(--primary-dark));
  box-shadow: 0 5px 12px rgba(14, 65, 124, .2);
  font-size: 13px;
}
.required-hint { color: var(--text-3); }

/* 按钮 */
.btn {
  gap: 7px;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
  box-shadow: none;
  transition: transform .18s var(--ease-out-back), background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #155297 0%, #0B386B 100%);
  border-color: rgba(9, 47, 91, .25);
  box-shadow: 0 8px 18px rgba(14, 65, 124, .2);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1A5DA9 0%, #0C3E77 100%);
  box-shadow: 0 12px 24px rgba(14, 65, 124, .25);
}
.btn-ghost {
  color: var(--text-2);
  background: #F7F8FA;
  border-color: var(--border);
}
.btn-ghost:hover {
  color: var(--primary-dark);
  background: var(--primary-light);
  border-color: #B9C9DC;
}
.btn-warning {
  background: linear-gradient(135deg, #F5C25F, #E7A72E);
  color: #3C2A06;
  border-color: rgba(199, 139, 36, .2);
}
.btn-danger { background: linear-gradient(135deg, #E65A60, #C7353B); }
.btn-danger-text { color: var(--danger); }
.btn-lg { min-height: 48px; padding: 12px 28px; font-size: 15px; }
.btn-sm { min-height: 34px; padding: 7px 13px; font-size: 12.5px; }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* 表单 */
.form-group { gap: 7px; }
.form-group label {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 650;
}
.form-group input,
.form-group textarea,
.form-group select,
.login-box input,
.search-input,
.filter-select,
#savedAddressSelect,
.extra-fee-row input,
.status-selector select,
.detail-notes textarea,
.quick-pm-textarea,
.comment-form textarea,
.pm-input-main textarea,
#colorHexInput {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #F9FAFC;
  color: var(--text);
  font-family: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form-group input,
.form-group select,
.search-input,
.filter-select { min-height: 44px; }
.form-group input::placeholder,
.form-group textarea::placeholder,
.login-box input::placeholder,
.search-input::placeholder,
.quick-pm-textarea::placeholder,
.comment-form textarea::placeholder { color: #A6ADB6; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.login-box input:focus,
.search-input:focus,
.filter-select:focus,
#savedAddressSelect:focus,
.extra-fee-row input:focus,
.status-selector select:focus,
.detail-notes textarea:focus,
.quick-pm-textarea:focus,
.comment-form textarea:focus,
.pm-input-main textarea:focus,
#colorHexInput:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px var(--primary-focus);
}
.form-group input:disabled,
.form-group input[readonly] { background: #F1F3F5; color: var(--text-3); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--primary); }
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible {
  outline: 3px solid rgba(242, 184, 75, .55);
  outline-offset: 2px;
}
.error-msg { color: #C7383E; }
.char-count { color: var(--text-3); }

/* 选择卡 */
.problem-card-inner,
.station-radio-inner,
.station-checkbox-inner,
.size-option-inner,
.pay-method-inner,
.recharge-item span,
.month-btn {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: #F9FAFC;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.problem-card:hover .problem-card-inner,
.station-radio:hover .station-radio-inner,
.station-checkbox:hover .station-checkbox-inner,
.size-option:hover .size-option-inner,
.pay-method:hover .pay-method-inner {
  border-color: #8CA8C9;
  background: #F4F7FB;
}
.problem-card input:checked + .problem-card-inner,
.station-radio input:checked + .station-radio-inner,
.size-option input:checked + .size-option-inner,
.pay-method input:checked + .pay-method-inner {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
  box-shadow: 0 0 0 4px var(--primary-focus), 0 8px 18px rgba(14, 65, 124, .08);
}
.station-checkbox input:checked + .station-checkbox-inner {
  color: var(--primary-dark);
  border-color: var(--primary);
  background: linear-gradient(135deg, #EAF4FF 0%, #F8FBFF 100%);
  box-shadow: 0 0 0 4px var(--primary-focus), 0 8px 18px rgba(14, 65, 124, .08);
}
.problem-card input:checked + .problem-card-inner .problem-label { color: var(--primary-dark); }
.problem-icon { color: var(--primary); }
.problem-desc { color: var(--text-3); }

.size-option.size-small input:checked + .size-option-inner {
  background: var(--primary-light);
  border-color: var(--primary);
}
.size-price, .size-big .size-price, .size-huge .size-price { color: var(--primary-dark); }
.pay-balance input:checked + .pay-method-inner { background: var(--primary-light); border-color: var(--primary); color: var(--primary-dark); }

/* 子标签 / 过滤标签 */
.sub-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 22px;
  padding: 5px;
  border: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 6px 18px rgba(10, 28, 48, .04);
}
.sub-tabs::-webkit-scrollbar { display: none; }
.sub-tab {
  flex: 0 0 auto;
  border: none;
  border-radius: 10px;
  padding: 9px 15px;
  color: var(--text-2);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.sub-tab:hover { color: var(--primary); background: var(--primary-light); }
.sub-tab.active {
  color: #fff !important;
  background: linear-gradient(135deg, #114784, #0A315D) !important;
  box-shadow: 0 6px 14px rgba(14, 65, 124, .2);
  font-weight: 700;
}
.card .filter-tabs {
  background: #F4F6F8;
  border-radius: 12px;
  padding: 4px;
  gap: 3px;
}
.card .filter-tab {
  border-radius: 9px;
  color: var(--text-2);
  font-weight: 600;
}
.card .filter-tab:hover { color: var(--primary); background: var(--primary-light); }
.card .filter-tab.active {
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 3px 10px rgba(10, 28, 48, .08);
}

/* 徽标 / 标签 */
.type-tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 7px;
}
.status-tag { border-radius: 999px; }
.status-pending { background: #FFF4E5; color: #AD5D00; }
.status-processing { background: #E8F1FF; color: #225FC0; }
.status-resolved, .status-completed { background: #E6EEF8; color: #083D7A; }
.status-cancelled { background: #FDECEC; color: #C5363C; }
.tag-vip {
  background: linear-gradient(135deg, #FFF7DF, #FDE2A0);
  color: #7B5000;
  border-color: #E7B74A;
}
.role-tag {
  border: none;
  border-radius: 999px;
  padding: 2px 8px;
  font-weight: 650;
}
.role-admin { background: #E9F1FF; color: #245BBA; }
.role-delivery { background: #E6EEF8; color: #083D7A; }
.role-vip { background: #FFF4D6; color: #8B5A00; }
.role-user { background: #F1F3F5; color: var(--text-3); }

/* 数据表 */
.table-wrap {
  border: 1px solid var(--border-2);
  border-radius: 14px;
  background: #fff;
}
.data-table { font-size: 13px; }
.data-table thead { background: #F4F6F9; }
.data-table th {
  padding: 13px 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.data-table td { padding: 13px 14px; border-bottom: 1px solid var(--border-2); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: #F7F9FC; }
.daily-table th { border-bottom: 1px solid var(--border); color: var(--text-2); }
.daily-table td { border-bottom: 1px solid var(--border-2); }
.daily-table tbody tr:hover { background: #F7F9FC; }
.daily-today {
  background: linear-gradient(135deg, #F2F6FA, #F9FAFC);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.daily-today-value { color: var(--primary); }
.daily-today-value.green { color: var(--success); }
.rate-bar { background: #EDF0F3; }
.rate-bar-fill.high { background: linear-gradient(90deg, #0E9F6E, #3C7DC7); }
.rate-bar-fill.mid { background: linear-gradient(90deg, #E5A52E, #F2C35D); }
.rate-bar-fill.low { background: linear-gradient(90deg, #D8454B, #E9878B); }

/* 统计卡 */
.stats-grid { gap: 15px; }
.stat-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--border);
  border-left: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(10, 28, 48, .045);
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #4E86C7);
}
.stat-pending::before { background: linear-gradient(90deg, #E6A52E, #F4C86B); }
.stat-processing::before { background: linear-gradient(90deg, #2B6ED4, #6AA3F8); }
.stat-resolved::before { background: linear-gradient(90deg, #0E9F6E, #4B87CB); }
.stat-rate::before { background: linear-gradient(90deg, var(--primary), var(--accent)); }
.stat-value { color: var(--ink); font-family: var(--font-display); }
.stat-label { color: var(--text-3); }
.stat-icon { color: var(--primary); }
.stat-icon svg.icon { width: 28px; height: 28px; }

/* 空状态 */
.empty-state { color: var(--text-3); }
.empty-state a { color: var(--primary); font-weight: 600; }
.empty-icon { color: #A9B1BA; }

/* 登录提示 */
.need-login-card {
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 184, 75, .1), transparent 20rem),
    #fff;
}
.need-login-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: 15px;
  border-radius: 22px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 34px;
}
.need-login h3 { color: var(--ink); }
.need-login p { color: var(--text-2); }

/* 提示、步骤 */
.tips-list li { background: #F7F9FB; border: 1px solid var(--border-2); }
.tips-list b { color: var(--ink); }
.fee-preview {
  background: linear-gradient(135deg, #F0F5FA, #FBFCFD);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.fee-total { color: var(--primary-dark); border-top-color: var(--border); }
.biz-card {
  border: 1px solid var(--border);
  background: radial-gradient(circle at 92% 12%, rgba(242, 184, 75, .12), transparent 13rem), #fff;
}
.biz-title, .biz-amount { color: var(--primary-dark); }
.biz-id { color: var(--text-3); }
.qrcode-box { background: #F7F9FB; border: 1px solid var(--border-2); }
.custom-prefix { color: var(--primary); }
.recharge-item span { background: #F9FAFC; }
.recharge-item.active span, .recharge-item input:checked + span {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
  box-shadow: 0 0 0 3px var(--primary-focus);
}
.recharge-custom.active .recharge-custom span { border-color: var(--accent); background: var(--accent-light); color: #845A0B; }
.mock-hint { color: #A36104; }
.mock-hint a { color: var(--primary); }

/* 我的记录 */
.my-record-item {
  border: 1px solid var(--border-2);
  border-radius: 14px;
  background: #fff;
}
.my-record-item:hover { border-color: #C6D1DD; }
.my-record-type { color: var(--ink); }
.fee-amount { color: var(--primary-dark); }
.record-id-badge { background: #F0F3F7; color: var(--text-2); }

/* 公告 */
.announcement-entry { margin-bottom: 24px; }
.btn-announcement-entry {
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0F4481, #0A315D);
  color: #fff;
  box-shadow: 0 10px 22px rgba(14, 65, 124, .18);
  font-size: 14px;
}
.btn-announcement-entry:hover { box-shadow: 0 14px 28px rgba(14, 65, 124, .23); }
.announcement-list { gap: 14px; }
.announcement-card {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(10, 28, 48, .04);
}
.announcement-card:hover {
  border-left-color: var(--accent);
  box-shadow: var(--shadow);
}
.announcement-card-big { color: var(--ink); font-size: 18px; }
.announcement-card-mid { color: var(--text-2); font-size: 14px; }
.announcement-card-meta {
  color: var(--text-3);
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.announcement-card-meta span:last-child { margin-left: auto; color: var(--primary) !important; font-weight: 600; }
.announcement-detail { color: var(--text); }
.ann-detail-big {
  color: var(--ink);
  border-bottom-color: var(--primary-light);
  font-family: var(--font-display);
}
.ann-detail-mid { color: var(--ink-2); }
.ann-detail-sub { color: var(--text-2); }
.ann-detail-meta { color: var(--text-3); }
.comments-section { border-top-color: var(--border); }
.comments-title { color: var(--ink); }
.comment-form textarea {
  background: #F9FAFC;
  border-color: var(--border);
  border-radius: 13px;
}
.comment-item { border-bottom-color: var(--border-2); }
.comment-content { color: var(--text); }
.comment-deleted { background: #F7F8FA; }
.comment-deleted-badge { background: var(--primary-light); color: var(--primary-dark); }
.admin-action-btn { background: var(--primary-light); color: var(--primary-dark); }
.admin-action-btn:hover { background: #D8E3F0; }
.reply-context-bar { background: #F2F6FA; border-color: #CDDAE8; }
.reply-context-bar b { color: var(--primary-dark); }
.reply-cancel-btn { background: #E7EEF6; border-color: #B9C9DC; }
.reply-cancel-btn:hover { background: #D7E2EF; border-color: var(--primary); }
.comment-quote { background: #F7F9FB; border-left-color: var(--primary); }
.comment-quote-head { color: var(--primary); }
.comment-quote-icon { color: var(--primary); }
.comment-quote-body { color: var(--text-2); }
.anonymous-switch { background: #F7F8FA; border: 1px solid var(--border-2); }
.anonymous-switch:hover { background: var(--primary-light); border-color: #C7D4E2; }
.reply-btn { background: var(--primary-light); color: var(--primary-dark); }
.reply-btn:hover { background: #D8E3F0; }

/* FAQ */
.faq-container { gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(10, 28, 48, .04);
}
.faq-item:hover { border-color: #C6D1DE; box-shadow: 0 12px 28px rgba(10, 28, 48, .07); }
.faq-question { padding: 19px 22px; }
.faq-question:hover { background: #F7F9FB; }
.faq-q-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--primary), #2560A4);
  box-shadow: 0 5px 12px rgba(14, 65, 124, .18);
  font-size: 13px;
}
.faq-q-text { color: var(--ink); font-weight: 650; }
.faq-q-arrow { color: var(--primary); }
.faq-a-text { color: var(--text-2); }
.faq-item-image { border-radius: 12px; }
.faq-loading, .faq-empty { color: var(--text-3); }

/* 排行榜 */
.ranking-page { padding-top: 4px; }
.ranking-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 24px 40px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 24px;
  background:
    radial-gradient(circle at 86% 4%, rgba(242, 184, 75, .24), transparent 15rem),
    radial-gradient(circle at 4% 100%, rgba(64, 127, 200, .18), transparent 19rem),
    linear-gradient(120deg, #08182A, #0C294B 66%, #0B3360) !important;
  color: #fff;
  box-shadow: 0 22px 46px rgba(6, 23, 43, .18) !important;
}
.ranking-hero::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -92px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 30px rgba(255, 255, 255, .025), 0 0 0 70px rgba(255, 255, 255, .02);
}
.ranking-hero h2 {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: .01em;
}
.ranking-hero p { position: relative; z-index: 1; color: rgba(229, 238, 249, .72); }
.ranking-tabs {
  padding: 5px;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(10, 28, 48, .045);
}
.ranking-tab {
  border-radius: 10px;
  color: var(--text-2);
  font-weight: 600;
}
.ranking-tab:hover { background: var(--primary-light); color: var(--primary-dark); }
.ranking-tab.active {
  background: linear-gradient(135deg, #114784, #0A315D);
  color: #fff;
  box-shadow: 0 6px 14px rgba(14, 65, 124, .2);
}
.ranking-content {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.ranking-item { padding: 15px 8px; border-bottom-color: var(--border-2); }
.ranking-item:last-child { border-bottom: none; }
.ranking-item:hover { background: #F7F9FB; border-radius: 12px; }
.rank-num { width: 34px; height: 34px; }
.rank-num.top1 { background: linear-gradient(145deg, #F9D879, #E6AD28); color: #5D4200; box-shadow: 0 4px 10px rgba(230, 173, 40, .24); }
.rank-num.top2 { background: linear-gradient(145deg, #E3E5E8, #BEC2C7); color: #434950; }
.rank-num.top3 { background: linear-gradient(145deg, #E4B48C, #C08250); color: #fff; }
.rank-num.normal { background: #F0F2F5; color: var(--text-2); }
.rank-avatar { background: var(--primary-light); color: var(--primary); }
.rank-username, .rank-user-name { color: var(--ink); }
.rank-stat .val { color: var(--primary-dark); }
.rank-detail-item .val { color: var(--ink); }
.rank-detail-item .label { color: var(--text-3); }
.loading-ranking, .empty-ranking { color: var(--text-3); }

/* VIP */
.vip-card-head {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 2%, rgba(242, 184, 75, .28), transparent 12rem),
    linear-gradient(135deg, #111B27 0%, #202E3D 50%, #3A2E14 100%) !important;
  color: #FFF8E1;
  border: 1px solid rgba(242, 184, 75, .25);
  box-shadow: 0 16px 34px rgba(20, 26, 33, .16);
}
.vip-card-head::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -36px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(242, 184, 75, .24);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(242, 184, 75, .035);
}
.vip-card-badge {
  background: linear-gradient(135deg, rgba(242, 184, 75, .24), rgba(242, 184, 75, .08));
  color: #F7D78C;
  border-color: rgba(242, 184, 75, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.vip-card-benefit > div { color: var(--text-2); }
.vip-card-benefit b { color: #8B5A00; }
.vip-card-price { color: #F7D78C; }
.vip-pay-row { gap: 10px; }
.month-btn {
  min-height: 42px;
  padding: 8px 16px;
  color: var(--text-2);
  background: #F9FAFC;
  font-weight: 600;
}
.month-btn:hover { border-color: var(--primary); color: var(--primary); }
.month-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
  box-shadow: 0 0 0 3px var(--primary-focus);
}
.back-link { color: var(--text-2); }
.back-link:hover { color: var(--primary); }
.vip-page-title { color: var(--ink); }
.namecolor-lock {
  background: linear-gradient(135deg, #F2F6FA, #FBFCFD);
  border-color: #A9BED5;
  color: var(--text-2);
}
.color-swatch.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-focus);
}
.profile-avatar,
.avatar-edit-preview {
  background: linear-gradient(145deg, var(--primary), #2864A9);
  box-shadow: 0 10px 24px rgba(14, 65, 124, .2);
}

/* 个人中心 */
.profile-hero {
  position: relative;
  overflow: hidden;
  margin: -28px -28px 24px;
  padding: 38px 28px 30px;
  border-radius: 22px 22px 0 0;
  background:
    radial-gradient(circle at 82% 0%, rgba(242, 184, 75, .18), transparent 14rem),
    radial-gradient(circle at 12% 120%, rgba(64, 127, 200, .18), transparent 17rem),
    linear-gradient(120deg, #09192B, #0C294A 70%, #0B315C);
  color: #fff;
}
.profile-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -90px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 0 0 28px rgba(255, 255, 255, .02);
}
.profile-avatar {
  position: relative;
  z-index: 1;
  border: 3px solid rgba(255, 255, 255, .7);
  box-shadow: 0 10px 24px rgba(4, 16, 29, .25);
}
.profile-name { position: relative; z-index: 1; color: #fff; font-family: var(--font-display); font-size: 23px; }
.profile-meta { position: relative; z-index: 1; color: rgba(226, 236, 248, .7); }
.profile-section-title { color: var(--text-3); }
.profile-info-row { border-bottom-color: var(--border-2); }
.profile-info-label { color: var(--text-2); }
.profile-info-value { color: var(--ink); }
.profile-tag { background: var(--primary-light); color: var(--primary-dark); }
.addr-card { background: #F8F9FB; border-color: var(--border); border-radius: 13px; }
.addr-card:hover { border-color: #AABED5; }
.addr-card-default {
  border-color: #9CB4D0;
  background: linear-gradient(135deg, #F0F5FA, #FFFFFF);
}
.addr-card-default-badge { background: var(--primary); }
.addr-card-actions button { border-radius: 8px; }
.addr-card-actions button:hover { border-color: var(--primary); color: var(--primary); }
#allowPmTip {
  background: var(--primary-soft) !important;
  border-color: #C9D6E5 !important;
  color: var(--primary-dark) !important;
}

/* 认证页 */
.user-auth-wrap {
  position: relative;
  padding: 48px 0 58px;
}
.user-auth-wrap::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 20%, rgba(14, 65, 124, .07), transparent 24rem),
    radial-gradient(circle at 84% 12%, rgba(242, 184, 75, .09), transparent 22rem);
}
.user-auth-box {
  max-width: 470px;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(8, 25, 45, .12);
  overflow: hidden;
}
.auth-tabs {
  gap: 4px;
  padding: 7px;
  background: #F4F6F8;
  border-bottom: 1px solid var(--border-2);
}
.auth-tab {
  border-radius: 9px;
  color: var(--text-2);
  font-weight: 650;
}
.auth-tab:hover { color: var(--primary); }
.auth-tab.active {
  color: var(--primary-dark);
  background: #fff;
  border-bottom-color: transparent;
  box-shadow: 0 4px 12px rgba(10, 28, 48, .07);
}
.auth-view { padding: 32px 32px 28px; }
.auth-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 13px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--primary-light), #D4E1F0);
  color: var(--primary);
  font-size: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.auth-view h3 { color: var(--ink); font-family: var(--font-display); }
.auth-hint { color: var(--text-2); }
.auth-tip { color: var(--text-3); }
.auth-tip a { color: var(--primary); }
.staff-entry-slot .btn {
  border-color: var(--border) !important;
  color: var(--text-2) !important;
  background: #F8F9FB;
}
.staff-entry-slot .btn:hover { color: var(--primary) !important; border-color: #B9C9DC !important; background: var(--primary-light); }

/* 工作人员登录 */
.staff-login { min-height: 520px; padding: 56px 0; position: relative; }
.staff-login::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 65, 124, .08), transparent 65%);
  pointer-events: none;
}
.login-box {
  position: relative;
  z-index: 1;
  max-width: 430px;
  padding: 38px 34px 34px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 28px 70px rgba(8, 25, 45, .12);
  text-align: center;
}
.login-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 28px;
}
.login-box h3 { color: var(--ink); font-family: var(--font-display); font-size: 23px; }
.login-hint { color: var(--text-2); margin-bottom: 24px; }
.login-box input {
  width: 100%;
  min-height: 48px;
  margin-bottom: 10px;
  padding: 12px 15px;
  text-align: center;
}
.login-box .btn { margin-top: 6px; }

/* 弹窗通用 */
.modal-overlay {
  background: rgba(4, 14, 26, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-overlay.show { display: flex; }
.modal-box,
.modal-dialog,
.modal-content {
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(3, 13, 25, .28);
}
.modal-content::before { background: linear-gradient(90deg, transparent, rgba(14, 65, 124, .1), transparent); }
.modal-box { padding: 32px 30px; }
.modal-header { background: transparent; }
.modal-header h3 { color: var(--ink); }
.modal-close { border-radius: 9px; color: var(--text-3); }
.modal-close:hover { background: var(--primary-light); color: var(--primary-dark); }
.modal-footer { border-top-color: var(--border-2); }
.modal-icon-success {
  background: var(--primary-light);
  color: var(--primary);
}
.modal-success h3 { color: var(--ink); }
.modal-success p { color: var(--text-2); }
.success-ticket {
  background: linear-gradient(135deg, #F0F5FA, #FBFCFD);
  border: 1px dashed #B8C9DD;
  border-radius: 12px;
}
.success-ticket strong { color: var(--primary-dark); }
.detail-row { background: #F8F9FB; border: 1px solid var(--border-2); }
.detail-label { color: var(--text-3); }
.detail-value { color: var(--ink); }
.extra-fee-row { background: #FFF9EA; border-color: #E8C67D; }

/* 用户管理弹窗 */
.user-manage-mask { background: rgba(4, 14, 26, .55); backdrop-filter: blur(8px); }
.user-manage-dialog { border-radius: 20px; box-shadow: 0 30px 80px rgba(3, 13, 25, .28); }
.user-manage-head { border-bottom-color: var(--border-2); }
.user-manage-head h3 { color: var(--ink); }
.user-manage-close:hover { background: var(--primary-light); color: var(--primary); }
.user-manage-info-row { background: #F8F9FB; border: 1px solid var(--border-2); border-radius: 10px; }
.user-manage-section-title { color: var(--text-2); }
.user-badge-avatar { background: var(--primary-light); color: var(--primary); }
.avatar-clickable:hover { box-shadow: 0 0 0 3px var(--primary-focus); }

/* 地址选择 */
.address-picker-dropdown {
  border-color: var(--border);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(7, 23, 41, .19);
}
.address-picker-header { background: #F4F7FA; border-bottom-color: var(--border); }
.address-picker-close:hover { background: var(--primary-light); color: var(--primary); }
.address-picker-item { border-bottom-color: var(--border-2); }
.address-picker-item:hover { background: var(--primary-soft); }
.address-picker-top .ap-default { background: var(--primary-light); color: var(--primary-dark); }
.ap-phone { color: var(--text-2); }

/* 私信 / 快捷私信 */
.pm-page { gap: 18px; }
.pm-left,
.pm-right {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.pm-left-header {
  padding: 17px 18px;
  background:
    radial-gradient(circle at 90% -20%, rgba(242, 184, 75, .16), transparent 10rem),
    linear-gradient(135deg, #0B1E33, #0E315A) !important;
  color: #F4F9FF;
}
.pm-left-header h2 { font-size: 16px; }
.pm-total-unread { background: rgba(242, 184, 75, .18) !important; color: #F8D484 !important; }
.pm-conv-item { border-bottom-color: var(--border-2); }
.pm-conv-item:hover { background: #F5F8FB; }
.pm-conv-item.active { background: var(--primary-light); box-shadow: inset 3px 0 0 var(--primary); }
.pm-conv-name { color: var(--ink); }
.pm-conv-last { color: var(--text-2); }
.pm-conv-time { color: var(--text-3); }
.pm-conv-unread { background: #D64A50; }
.pm-left-empty, .pm-right-empty { color: var(--text-3); }
.pm-right-empty .big-icon { color: #B7BFC9; }
.pm-msg-row.their .pm-bubble { background: #F4F6F8; color: var(--text); border: 1px solid var(--border-2); }
.pm-msg-row.mine .pm-bubble {
  background: linear-gradient(135deg, #155297, #0B386B);
  color: #fff;
  box-shadow: 0 6px 16px rgba(14, 65, 124, .18);
}
.pm-msg-time { color: var(--text-3); }
.pm-msg-row.mine .pm-msg-time { color: rgba(255, 255, 255, .78); }
.pm-msg-status { color: rgba(255, 255, 255, .76); }
.pm-input-wrap { background: #fff; border-top-color: var(--border-2); }
.pm-input-tip { color: var(--text-3); }
.pm-send-btn {
  background: linear-gradient(135deg, #155297, #0B386B);
  border-radius: 11px;
  box-shadow: 0 6px 14px rgba(14, 65, 124, .18);
}
.pm-send-btn:hover { background: linear-gradient(135deg, #1A5DA9, #0C3E77); }
.pm-blocked-modal { border-radius: 18px; }
.pm-blocked-head h3 { color: var(--danger); }
.pm-blocked-body .bw-list { background: #FFF8E7; border-color: #ECD195; }
.pm-blocked-modal .bw-btn { background: linear-gradient(135deg, #155297, #0B386B); }
.pm-maint-banner {
  background: linear-gradient(135deg, #FFF8E7, #FFF2D0) !important;
  border-color: #EBCB8A !important;
  color: #7D5205 !important;
  border-radius: 12px !important;
}
.quick-pm-mask,
.pm-blocked-modal-mask { background: rgba(4, 14, 26, .55); backdrop-filter: blur(7px); }
.quick-pm-dialog,
.pm-blocked-modal {
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(3, 13, 25, .28);
}
.quick-pm-head,
.pm-blocked-head { background: #F8F9FB; border-bottom: 1px solid var(--border-2); }
.quick-pm-head h3, .pm-blocked-head h3 { color: var(--ink); }
.quick-pm-close:hover, .pm-blocked-close:hover { background: var(--primary-light); color: var(--primary); }
.quick-pm-recipient { background: #FBFCFD; border-bottom-color: var(--border-2); }
.quick-pm-tip { color: var(--text-3); }
.quick-pm-tip.danger { color: var(--danger); }
.quick-pm-history { background: #F8F9FB; }
.quick-pm-history-empty { color: var(--text-3); }

/* 后台 */
.sub-view > .card:first-child { margin-top: 0; }
.dashboard-stats { gap: 15px; }
.dash-stat-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(10, 28, 48, .04);
}
.dash-stat-card.problems::before { background: linear-gradient(90deg, var(--primary), #4580C4); }
.dash-stat-card.pickups::before { background: linear-gradient(90deg, #0E9F6E, #558ED0); }
.dash-stat-card.parcels::before { background: linear-gradient(90deg, #2E72D2, #7AAAF4); }
.dash-stat-card.users::before { background: linear-gradient(90deg, #7A5AF8, #A58DFA); }
.dash-stat-card.combined::before { background: linear-gradient(90deg, #E3A72D, #F3CB6D); }
.dash-stat-main { color: var(--ink); }
.dash-stat-label, .dash-stat-today { color: var(--text-3); }
.dash-stat-icon { border-radius: 11px; }
.chart-box {
  border: 1px solid var(--border-2);
  border-radius: 14px;
  background: #FBFCFD;
}
.chart-bar-row .bar-track { background: #EEF1F4; }
.chart-bar-row.problem .bar-fill { background: linear-gradient(90deg, var(--primary), #4B86C9); }
.chart-bar-row.pickup .bar-fill { background: linear-gradient(90deg, #0E9F6E, #5790D2); }
.chart-bar-row.parcel .bar-fill { background: linear-gradient(90deg, #2E72D2, #80B0F6); }
.chart-bar-row.users .bar-fill { background: linear-gradient(90deg, #7A5AF8, #A98FFB); }
.chart-bar-row.vip .bar-fill { background: linear-gradient(90deg, #DFA329, #F3CB67); }
.rank-tabs {
  background: #F4F6F8;
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 4px;
}
.rank-tab { border-radius: 9px; color: var(--text-2); }
.rank-tab:hover { color: var(--primary); }
.rank-tab.active { color: #fff; background: var(--primary); box-shadow: 0 5px 12px rgba(14, 65, 124, .18); }
.switch input:checked + .switch-slider { background: var(--primary); }
.maintenance-notice {
  background: linear-gradient(135deg, #FFF8E8, #FFFDF8);
  border: 1px solid #ECD195;
}
.maintenance-notice h3 { color: #7D5205; }
.maintenance-notice p { color: #8F6B26; }
.daily-stats-card { border-left: 0; }
.daily-stats-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.toolbar-card { padding: 18px 20px; }
.search-input { background: #F9FAFC; }
.filter-select { background: #F9FAFC; }
.coupon-form-preview, .cfp-card { border-color: #E7C989; }
.preset-btn:hover { background: var(--primary-light); color: var(--primary); }
.tb-btn:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.tb-btn.active { background: var(--primary); border-color: var(--primary); }
.role-tag-custom { background: var(--primary-light); color: var(--primary-dark); }
.faq-editor-item { background: #F8F9FB; border-color: var(--border); }
.faq-sort-btn:hover { background: var(--primary); }
.editable-text:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-focus); }
.ann-hero-preview {
  background:
    radial-gradient(circle at 90% 0%, rgba(242, 184, 75, .15), transparent 14rem),
    linear-gradient(135deg, #0A1A2C, #0C294B) !important;
}
.ann-hero-tag { background: rgba(242, 184, 75, .16); color: #F8D484; }
.ann-editor-header h3 { color: var(--ink); }
.sort-picker > input, .inline-toolbar > input[type="text"] { border-color: var(--border); }
.block-toolbar { border: 1px solid var(--border); }

/* Toast / 页脚 */
.toast {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(9, 25, 43, .94);
  color: #F4F9FF;
  box-shadow: 0 16px 38px rgba(3, 13, 25, .3);
  backdrop-filter: blur(10px);
}
.toast.success { background: rgba(11, 58, 112, .95); }
.toast.error { background: rgba(181, 49, 55, .95); }

.footer {
  padding: 30px 16px 36px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 12px;
}
.footer-contact b { color: var(--primary); }
.visit-counter {
  margin-top: 10px;
  padding: 7px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 4px 12px rgba(10, 28, 48, .04);
}
.visit-counter .visit-value { color: var(--primary-dark); }

/* 图片预览 / 上传 */
.image-item { border-radius: 9px; }
.record-thumb { border-radius: 9px; }
.hidden-file-input { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; overflow: hidden !important; }

/* ----------------------------------------------------------------------------
   4. 首页专属
---------------------------------------------------------------------------- */
.home-main { overflow: hidden; }
.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr);
  gap: 44px;
  align-items: center;
  padding-top: 62px;
  padding-bottom: 48px;
}
.home-hero::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -10%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 65, 124, .11), transparent 66%);
  pointer-events: none;
}
.home-hero-copy { position: relative; z-index: 2; }

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 13px 7px 9px;
  border: 1px solid #D4DDE8;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .03em;
  box-shadow: 0 4px 12px rgba(10, 28, 48, .04);
}
.home-kicker .pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1256A4;
  box-shadow: 0 0 0 4px rgba(18, 86, 164, .13);
}
.home-kicker .pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(18, 86, 164, .3);
  animation: homePulse 2.4s ease-out infinite;
}
@keyframes homePulse {
  0% { transform: scale(.7); opacity: .9; }
  75%, 100% { transform: scale(1.8); opacity: 0; }
}

.home-hero h1 {
  max-width: 620px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 63px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.045em;
}
.home-hero h1 span {
  position: relative;
  display: inline-block;
  color: var(--primary);
  white-space: nowrap;
}
.home-hero h1 span::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 9px;
  z-index: -1;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(242, 184, 75, .54), rgba(242, 184, 75, .12));
}
.home-lede {
  max-width: 545px;
  margin-top: 22px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.85;
}
.home-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s var(--ease-out-back), box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.home-btn:hover { transform: translateY(-2px); }
.home-btn svg { width: 18px; height: 18px; }
.home-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #135197, #0A3464);
  box-shadow: 0 12px 26px rgba(14, 65, 124, .21);
}
.home-btn-primary:hover { box-shadow: 0 16px 32px rgba(14, 65, 124, .27); }
.home-btn-ghost {
  color: var(--ink-2);
  background: rgba(255, 255, 255, .72);
  border-color: #D2DBE5;
  box-shadow: 0 5px 15px rgba(10, 28, 48, .04);
}
.home-btn-ghost:hover { background: #fff; border-color: #B5C4D6; }
.home-proof {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 34px;
}
.home-proof-item {
  min-width: 102px;
  padding: 0 21px;
  border-left: 1px solid #DDE3EA;
}
.home-proof-item:first-child { padding-left: 0; border-left: 0; }
.home-proof-item strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}
.home-proof-item strong small { color: var(--primary); font-size: 12px; margin-left: 2px; }
.home-proof-item span { color: var(--text-3); font-size: 11.5px; }

/* 首页右侧物流可视化 */
.home-visual {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.visual-halo {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(242, 184, 75, .22), transparent 28%),
    radial-gradient(circle at 66% 70%, rgba(14, 65, 124, .18), transparent 32%),
    #EAEFF5;
  border: 1px solid rgba(14, 65, 124, .08);
}
.visual-halo::before,
.visual-halo::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(14, 65, 124, .18);
}
.visual-halo::before { inset: 32px; }
.visual-halo::after { inset: 74px; border-style: solid; border-color: rgba(14, 65, 124, .08); }
.route-card {
  position: relative;
  z-index: 2;
  width: min(370px, 88%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 24px;
  background: rgba(255, 255, 255, .89);
  box-shadow: 0 30px 65px rgba(9, 30, 54, .18), 0 3px 10px rgba(9, 30, 54, .06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: rotate(-1.5deg);
  animation: cardFloat 6s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50% { transform: rotate(-.5deg) translateY(-8px); }
}
.route-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-2);
}
.route-brand { display: flex; align-items: center; gap: 10px; }
.route-brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: linear-gradient(145deg, #135197, #092F5B);
  color: #fff;
  box-shadow: 0 7px 15px rgba(14, 65, 124, .2);
}
.route-brand-icon svg { width: 21px; height: 21px; }
.route-brand b { display: block; color: var(--ink); font-size: 13px; }
.route-brand small { display: block; color: var(--text-3); font-size: 10.5px; margin-top: 1px; }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #EAF1F9;
  color: #083D7A;
  font-size: 10px;
  font-weight: 700;
}
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: #0E9F6E; animation: blip 2s ease-in-out infinite; }
@keyframes blip { 50% { opacity: .35; } }

.route-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 19px 0 21px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
}
.route-title code {
  padding: 3px 7px;
  border-radius: 6px;
  background: #F2F4F7;
  color: var(--text-3);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
  font-weight: 500;
}
.route-steps { display: flex; flex-direction: column; gap: 0; }
.route-step { display: flex; align-items: flex-start; gap: 11px; position: relative; padding-bottom: 17px; }
.route-step:last-child { padding-bottom: 0; }
.route-step::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 25px;
  bottom: 1px;
  width: 1px;
  background: #E2E8EE;
}
.route-step:last-child::before { display: none; }
.route-step-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  border: 1px solid #D7DEE6;
  border-radius: 50%;
  background: #F6F8FA;
  color: var(--text-3);
  font-size: 10px;
  z-index: 1;
}
.route-step.done .route-step-dot { color: #fff; background: var(--primary); border-color: var(--primary); }
.route-step.active .route-step-dot {
  color: var(--primary);
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-focus);
}
.route-step.active .route-step-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.route-step-body { flex: 1; display: flex; justify-content: space-between; gap: 8px; padding-top: 1px; }
.route-step-body b { display: block; color: var(--ink); font-size: 12px; font-weight: 650; }
.route-step-body small { display: block; margin-top: 2px; color: var(--text-3); font-size: 10.5px; }
.route-step-body .step-time { color: var(--text-3); font-size: 10px; }
.route-step.active .route-step-body b { color: var(--primary-dark); }
.route-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--border-2);
}
.mini-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 750;
}
.route-footer div { flex: 1; min-width: 0; }
.route-footer small { display: block; color: var(--text-3); font-size: 9.5px; }
.route-footer b { display: block; color: var(--ink); font-size: 11.5px; }
.route-price { color: var(--primary-dark); font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 30px rgba(9, 30, 54, .12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.float-card--top { top: 14%; right: 0; animation: floatA 5.5s ease-in-out infinite; }
.float-card--bottom { bottom: 11%; left: 2%; animation: floatB 6.5s ease-in-out infinite; }
@keyframes floatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes floatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.float-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}
.float-icon.amber { background: var(--accent-light); color: #A16800; }
.float-card b { display: block; color: var(--ink); font-size: 10.5px; }
.float-card small { display: block; color: var(--text-3); font-size: 9.5px; margin-top: 1px; }

/* 首页轮播 */
.home-banner-wrap { margin-top: 0; margin-bottom: 8px; }
.home-banner-wrap .banner-carousel { max-width: 100%; border-radius: 20px; box-shadow: var(--shadow); }
.banner-slide img.banner-img { background: #F4F6F8; }

/* 首页数据条 */
.home-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 24px auto 14px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--border);
  box-shadow: 0 10px 28px rgba(10, 28, 48, .04);
  overflow: hidden;
}
.home-metric {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 20px;
  background: rgba(255, 255, 255, .92);
}
.home-metric:first-child { border-radius: 12px 0 0 12px; }
.home-metric:last-child { border-radius: 0 12px 12px 0; }
.home-metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  background: var(--primary-light);
  color: var(--primary);
  flex-shrink: 0;
}
.home-metric-icon.amber { background: var(--accent-light); color: #A16800; }
.home-metric-icon svg { width: 19px; height: 19px; }
.home-metric b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 16px; font-weight: 750; line-height: 1.25; }
.home-metric span { display: block; margin-top: 2px; color: var(--text-3); font-size: 11px; }

/* 首页区块 */
.home-section { padding-top: 72px; padding-bottom: 8px; }
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}
.section-heading > div { max-width: 660px; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .16em;
}
.section-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 99px; background: var(--accent); }
.section-heading h2 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.25;
  letter-spacing: -.03em;
  font-weight: 800;
}
.section-heading h2 em { color: var(--primary); font-style: normal; }
.section-heading > p {
  max-width: 330px;
  padding-bottom: 5px;
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.75;
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-dark);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.section-link svg { width: 15px; height: 15px; transition: transform .2s ease; }
.section-link:hover svg { transform: translateX(3px); }

/* 服务卡片 */
.home-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 218px;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, .78);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: transform .25s var(--ease-out-expo), box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 65, 124, .07), transparent 68%);
  transition: transform .3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: #C2CEDC;
  background: #fff;
  box-shadow: 0 20px 42px rgba(10, 28, 48, .09);
}
.service-card:hover::after { transform: scale(1.3); }
.service-card--feature {
  border-color: #0B315C;
  background:
    radial-gradient(circle at 88% 8%, rgba(242, 184, 75, .19), transparent 13rem),
    linear-gradient(135deg, #0A1A2C, #0C2C51 76%);
  color: #EDF5FF;
  box-shadow: 0 18px 38px rgba(6, 24, 45, .15);
}
.service-card--feature:hover { border-color: #0E417C; box-shadow: 0 24px 48px rgba(6, 24, 45, .22); }
.service-card--feature::after { background: radial-gradient(circle, rgba(242, 184, 75, .14), transparent 68%); }
.service-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  transition: transform .25s var(--ease-out-back);
}
.service-icon svg { width: 24px; height: 24px; }
.service-icon.amber { background: var(--accent-light); color: #A16800; }
.service-icon.blue { background: #EAF1FF; color: #2E67C6; }
.service-icon.rose { background: #FFF0F1; color: #C33B4C; }
.service-card--feature .service-icon { background: rgba(255, 255, 255, .1); color: #F8D484; }
.service-card:hover .service-icon { transform: translateY(-2px) rotate(-3deg); }
.service-index { color: var(--text-3); font-family: ui-monospace, Consolas, monospace; font-size: 10px; letter-spacing: .08em; }
.service-card--feature .service-index { color: rgba(227, 238, 250, .45); }
.service-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 9.5px;
  font-weight: 750;
}
.service-card--feature .service-tag { background: rgba(242, 184, 75, .15); color: #F6D283; }
.service-card h3 {
  margin: 21px 0 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
}
.service-card--feature h3 { color: #fff; }
.service-card p {
  color: var(--text-2);
  font-size: 12px;
  line-height: 1.7;
}
.service-card--feature p { color: rgba(222, 234, 247, .65); }
.service-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 19px;
}
.service-card-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.service-card-chips span {
  padding: 2px 7px;
  border-radius: 5px;
  background: #F3F5F8;
  color: var(--text-3);
  font-size: 9px;
}
.service-card--feature .service-card-chips span { background: rgba(255, 255, 255, .07); color: rgba(231, 240, 250, .58); }
.service-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-2);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.service-arrow svg { width: 14px; height: 14px; }
.service-card:hover .service-arrow { color: #fff; background: var(--primary); border-color: var(--primary); transform: rotate(-20deg); }
.service-card--feature .service-arrow { color: #F8D484; border-color: rgba(255, 255, 255, .14); }
.service-card--feature:hover .service-arrow { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* 流程 */
.home-process-wrap {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 44px;
  align-items: start;
}
.process-copy { position: sticky; top: 104px; }
.process-copy h2 {
  max-width: 430px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.25;
  letter-spacing: -.03em;
  font-weight: 800;
}
.process-copy h2 em { color: var(--primary); font-style: normal; }
.process-copy p { max-width: 390px; margin-top: 15px; color: var(--text-2); font-size: 13px; line-height: 1.8; }
.process-copy .home-btn { margin-top: 24px; }
.home-steps { display: flex; flex-direction: column; gap: 12px; }
.home-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 23px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .76);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.home-step:hover { border-color: #C4D0DD; transform: translateX(4px); box-shadow: 0 12px 30px rgba(10, 28, 48, .06); }
.home-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 13px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
}
.home-step:first-child .home-step-num { background: linear-gradient(145deg, var(--primary), #2864A9); color: #fff; box-shadow: 0 7px 16px rgba(14, 65, 124, .2); }
.home-step-body { flex: 1; min-width: 0; }
.home-step-body h3 { color: var(--ink); font-size: 14.5px; font-weight: 750; }
.home-step-body p { margin-top: 5px; color: var(--text-2); font-size: 12px; line-height: 1.7; }
.home-step-side { align-self: center; color: #C2C9D2; }
.home-step-side svg { width: 18px; height: 18px; }

/* 为什么选择 */
.home-why {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 42px;
  align-items: center;
  margin-top: 72px;
  padding: 38px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 0%, rgba(242, 184, 75, .17), transparent 18rem),
    radial-gradient(circle at 0% 100%, rgba(57, 121, 194, .17), transparent 20rem),
    linear-gradient(120deg, #09182A, #0C294A 64%, #0A2E58);
  box-shadow: 0 24px 55px rgba(6, 23, 42, .17);
}
.home-why::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 34px rgba(255, 255, 255, .025), 0 0 0 76px rgba(255, 255, 255, .018);
}
.why-copy { position: relative; z-index: 1; }
.why-copy .section-eyebrow { color: #F3C86B; }
.why-copy .section-eyebrow::before { background: #F3C86B; }
.why-copy h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 35px);
  line-height: 1.28;
  letter-spacing: -.025em;
}
.why-copy > p { max-width: 460px; margin-top: 13px; color: rgba(224, 235, 247, .65); font-size: 13px; line-height: 1.8; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 25px; }
.why-item { display: flex; align-items: flex-start; gap: 10px; }
.why-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(242, 184, 75, .16);
  color: #F4CE79;
}
.why-check svg { width: 12px; height: 12px; }
.why-item b { display: block; color: #F2F7FC; font-size: 12.5px; }
.why-item span { display: block; margin-top: 2px; color: rgba(218, 230, 243, .54); font-size: 10.5px; line-height: 1.55; }
.why-visual {
  position: relative;
  z-index: 1;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 19px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(10px);
}
.why-visual-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.why-visual-head b { color: #F3F7FC; font-size: 12px; }
.why-visual-head span { display: inline-flex; align-items: center; gap: 5px; color: #9DBDE2; font-size: 9.5px; }
.why-visual-head span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4989D2; box-shadow: 0 0 0 4px rgba(73, 137, 210, .1); }
.why-check-list { display: flex; flex-direction: column; gap: 9px; margin-top: 15px; }
.why-check-row { display: flex; align-items: center; gap: 9px; padding: 10px 11px; border-radius: 10px; background: rgba(255, 255, 255, .055); }
.why-check-row .dot { width: 7px; height: 7px; border-radius: 50%; background: #F2B84B; flex-shrink: 0; }
.why-check-row b { flex: 1; color: rgba(238, 245, 253, .82); font-size: 10.5px; font-weight: 600; }
.why-check-row small { color: rgba(207, 222, 239, .48); font-size: 9px; }
.why-check-row.done .dot { background: #5590D4; }

/* 动态 / FAQ */
.home-latest {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 18px;
  margin-top: 72px;
}
.home-panel {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 30px rgba(10, 28, 48, .045);
}
.home-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.home-panel-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 750;
}
.home-panel-head h2 svg { width: 18px; height: 18px; color: var(--primary); }
.home-panel-head a { display: inline-flex; align-items: center; gap: 3px; color: var(--text-3); font-size: 11px; text-decoration: none; }
.home-panel-head a:hover { color: var(--primary); }
.home-panel-head a svg { width: 12px; height: 12px; }
.home-announcements { display: flex; flex-direction: column; }
.home-announcement {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  border-top: 1px solid var(--border-2);
  color: var(--text);
  text-decoration: none;
}
.home-announcement:first-child { border-top: 0; }
.home-announcement:hover .home-ann-title { color: var(--primary); }
.home-ann-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 47px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #F8F9FB;
  color: var(--primary-dark);
}
.home-ann-date b { font-family: var(--font-display); font-size: 17px; line-height: 1; }
.home-ann-date small { margin-top: 3px; color: var(--text-3); font-size: 8px; letter-spacing: .08em; }
.home-ann-body { flex: 1; min-width: 0; }
.home-ann-title { display: block; overflow: hidden; color: var(--ink); font-size: 12.5px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; transition: color .15s ease; }
.home-ann-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; color: var(--text-3); font-size: 9.5px; }
.home-ann-arrow { flex-shrink: 0; color: #B6BEC8; }
.home-ann-arrow svg { width: 14px; height: 14px; }
.home-loading { padding: 26px 0; color: var(--text-3); font-size: 12px; text-align: center; }
.home-faq-list { display: flex; flex-direction: column; }
.home-faq-item { border-top: 1px solid var(--border-2); }
.home-faq-item:first-child { border-top: 0; }
.home-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.home-faq-q svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--text-3); transition: transform .2s ease, color .2s ease; }
.home-faq-item.open .home-faq-q { color: var(--primary-dark); }
.home-faq-item.open .home-faq-q svg { color: var(--primary); transform: rotate(45deg); }
.home-faq-a {
  display: none;
  padding: 0 22px 15px 0;
  color: var(--text-2);
  font-size: 11.5px;
  line-height: 1.8;
  white-space: pre-wrap;
}
.home-faq-item.open .home-faq-a { display: block; animation: faqOpen .25s var(--ease-out-expo); }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* CTA */
.home-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 72px;
  padding: 38px 42px;
  border: 1px solid #D8DFE8;
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 0%, rgba(242, 184, 75, .18), transparent 17rem),
    linear-gradient(115deg, #FDFCF7, #F1F5F9);
  overflow: hidden;
}
.home-cta::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: -75px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px dashed rgba(14, 65, 124, .18);
}
.home-cta-copy { position: relative; z-index: 1; }
.home-cta h2 { color: var(--ink); font-family: var(--font-display); font-size: clamp(24px, 2.7vw, 32px); letter-spacing: -.025em; }
.home-cta p { margin-top: 6px; color: var(--text-2); font-size: 12.5px; }
.home-cta-actions { position: relative; z-index: 1; display: flex; gap: 10px; flex-wrap: wrap; }

/* 首页页脚 */
.home-footer {
  margin-top: 84px;
  padding: 56px 0 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(40, 100, 168, .13), transparent 24rem),
    linear-gradient(180deg, #0A192A, #07121E);
  color: rgba(224, 235, 247, .64);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr 1fr;
  gap: 36px;
  padding-bottom: 42px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo-text h1 { color: #F5FAFF; font-size: 17px; }
.footer-brand .logo-sub { color: rgba(204, 220, 238, .5); }
.footer-brand p { max-width: 270px; color: rgba(203, 218, 235, .55); font-size: 11.5px; line-height: 1.8; }
.footer-col h3 { margin-bottom: 13px; color: #E9F1FB; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.footer-col a { display: block; margin-bottom: 8px; color: rgba(204, 219, 237, .55); font-size: 11.5px; text-decoration: none; transition: color .15s ease, transform .15s ease; }
.footer-col a:hover { color: #F2CE7A; transform: translateX(2px); }
.footer-contact-col p { color: rgba(204, 219, 237, .55); font-size: 11.5px; line-height: 1.8; }
.footer-contact-col .footer-contact { display: block; margin-top: 8px; }
.footer-contact-col .footer-contact b { color: #F2CE7A; font-weight: 650; }
.footer-contact-col .visit-counter {
  display: inline-flex;
  margin-top: 16px;
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .1);
  color: rgba(214, 228, 244, .55);
}
.footer-contact-col .visit-counter .visit-value { color: #F2CE7A; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, .075);
  color: rgba(195, 211, 230, .38);
  font-size: 10.5px;
}
.footer-bottom span:last-child { letter-spacing: .04em; }

/* ----------------------------------------------------------------------------
   5. 响应式
---------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .header-inner { align-items: center; }
  .logo { order: 1; }
  .user-nav { order: 2; margin-left: auto; }
  .tabs {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; }
  .home-hero { gap: 22px; }
  .home-visual { min-height: 430px; }
  .float-card--top { right: -4px; }
  .float-card--bottom { left: -6px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact-col { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 30px;
  }
  .home-hero-copy { max-width: 680px; }
  .home-visual { min-height: 450px; margin-top: 10px; }
  .visual-halo { width: 410px; height: 410px; }
  .home-services { grid-template-columns: 1fr 1fr; }
  .home-process-wrap { grid-template-columns: 1fr; gap: 28px; }
  .process-copy { position: static; }
  .home-why { grid-template-columns: 1fr; gap: 28px; padding: 30px; }
  .home-latest { grid-template-columns: 1fr; }
  .home-metrics { grid-template-columns: 1fr 1fr; }
  .home-metric:nth-child(2) { border-radius: 0 12px 12px 0; }
  .home-metric:nth-child(3) { border-radius: 12px 0 0 12px; }
  .home-metric:nth-child(4) { border-radius: 0 12px 12px 0; }
  .home-cta { flex-direction: column; align-items: flex-start; gap: 20px; padding: 30px; }
}

@media (max-width: 768px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .header { padding: 10px 0; }
  .logo-icon { width: 41px; height: 41px; border-radius: 12px; }
  .logo-icon svg.icon { width: 24px; height: 24px; }
  .logo-text h1 { font-size: 16px; }
  .logo-sub { font-size: 10px; }
  .tabs { padding: 4px; border-radius: 12px; }
  .tab { height: 36px; padding: 7px 11px; font-size: 12px; border-radius: 9px; }
  .sub-tabs { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
  .sub-view, .sub-view > .card, .dashboard-rankings > .card { min-width: 0; max-width: 100%; }
  main.view { padding: 24px 0 54px; }
  .hero { padding: 28px 22px; border-radius: 20px; }
  .hero h2 { font-size: 23px; }
  .card { padding: 20px 18px; border-radius: 18px; }
  .section-heading { display: block; margin-bottom: 22px; }
  .section-heading > p { max-width: 100%; margin-top: 10px; }
  .home-hero { padding-top: 38px; }
  .home-hero h1 { font-size: clamp(36px, 9vw, 48px); }
  .home-lede { margin-top: 16px; font-size: 14px; }
  .home-proof { margin-top: 26px; }
  .home-proof-item { min-width: 0; flex: 1; padding: 0 10px; }
  .home-proof-item strong { font-size: 18px; }
  .home-visual { min-height: 410px; transform: scale(.94); margin-left: -3%; margin-right: -3%; }
  .route-card { width: min(360px, 90%); }
  .home-section { padding-top: 54px; }
  .home-services { grid-template-columns: 1fr; }
  .service-card { min-height: 190px; }
  .home-why { margin-top: 54px; padding: 25px 21px; border-radius: 21px; }
  .why-list { grid-template-columns: 1fr; gap: 13px; }
  .home-latest { margin-top: 54px; }
  .home-panel { padding: 20px; border-radius: 18px; }
  .home-cta { margin-top: 54px; padding: 26px 22px; border-radius: 20px; }
  .home-footer { margin-top: 60px; padding-top: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact-col { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
  .profile-hero { margin: -20px -18px 20px; padding: 30px 18px 25px; }
  .user-auth-wrap { padding: 28px 0 40px; }
  .auth-view { padding: 26px 20px 24px; }
  .login-box { padding: 30px 22px 26px; }
  .ranking-hero { padding: 34px 20px 31px; border-radius: 20px; }
  .ranking-hero h2 { font-size: 24px; }
  .data-table { min-width: 780px; }
}

@media (max-width: 520px) {
  .header-inner { gap: 9px; }
  .user-info-btn { padding: 4px 8px 4px 5px !important; }
  .user-balance { display: none; }
  .tab { padding: 7px 9px; font-size: 11.5px; }
  .home-hero h1 { font-size: 35px; letter-spacing: -.04em; }
  .home-hero-actions { flex-direction: column; align-items: stretch; }
  .home-btn { width: 100%; min-height: 49px; }
  .home-proof { gap: 12px 0; }
  .home-proof-item { min-width: 50%; flex: 0 0 50%; padding: 0 14px; border-left: 1px solid #DDE3EA; }
  .home-proof-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .home-visual { min-height: 390px; transform: scale(.9); margin-left: -8%; margin-right: -8%; }
  .float-card { transform: scale(.9); }
  .float-card--top { right: -12px; top: 11%; }
  .float-card--bottom { left: -12px; bottom: 8%; }
  .home-metrics { grid-template-columns: 1fr; }
  .home-metric { border-radius: 12px !important; }
  .home-metric:nth-child(even) { border-radius: 12px !important; }
  .why-visual { padding: 16px; }
  .home-panel-head h2 { font-size: 15px; }
  .home-ann-title { font-size: 11.5px; }
  .home-cta-actions { width: 100%; flex-direction: column; }
  .home-cta-actions .home-btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact-col { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ============================================================================
   2026-10 浅蓝暖色主题修正
   - 顶部改为浅蓝玻璃质感，去掉厚重墨绿
   - 主色统一为天空蓝，琥珀色作为暖色点缀
   ============================================================================ */
body,
body.home-page {
  background:
    radial-gradient(circle at 8% -4%, rgba(96, 165, 250, .13), transparent 32rem),
    radial-gradient(circle at 94% 6%, rgba(245, 184, 92, .13), transparent 28rem),
    linear-gradient(180deg, #FAFCFF 0%, #F5F9FF 46%, #F7FAFF 100%);
}

::selection { background: rgba(59, 130, 246, .18); color: var(--ink); }

.header {
  background:
    radial-gradient(circle at 12% -30%, rgba(96, 165, 250, .26), transparent 27rem),
    radial-gradient(circle at 90% 0%, rgba(245, 184, 92, .17), transparent 23rem),
    linear-gradient(118deg, #FBFDFF 0%, #EEF6FF 50%, #F7FBFF 100%);
  border-bottom: 1px solid rgba(59, 130, 246, .12);
  box-shadow: 0 10px 30px rgba(30, 64, 175, .07);
}
.header::before {
  background-image: radial-gradient(rgba(59, 130, 246, .18) .7px, transparent .7px);
  opacity: .32;
}
.header::after {
  background: linear-gradient(90deg, transparent, rgba(245, 184, 92, .85) 18%, rgba(59, 130, 246, .55) 54%, transparent 86%);
  opacity: .75;
}
.logo-icon {
  background: linear-gradient(145deg, #93C5FD 0%, #3B82F6 58%, #2563EB 100%);
  border-color: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 20px rgba(37, 99, 235, .22), inset 0 1px 0 rgba(255, 255, 255, .45);
  color: #fff;
}
.logo-text h1 { color: #16243D; }
.logo-sub { color: #6B7C94; }
.tabs {
  background: rgba(255, 255, 255, .74);
  border: 1px solid rgba(59, 130, 246, .13);
  box-shadow: 0 4px 16px rgba(30, 64, 175, .05), inset 0 1px 0 rgba(255, 255, 255, .8);
}
.tab {
  color: #50617A;
  font-weight: 600;
}
.tab:hover { color: #1D4ED8; background: #EAF3FF; }
.tab.active {
  color: #fff;
  background: linear-gradient(135deg, #5AA2F8 0%, #3B82F6 100%);
  box-shadow: 0 6px 16px rgba(59, 130, 246, .24), inset 0 1px 0 rgba(255, 255, 255, .36);
}
.tab.active:hover { color: #fff; background: linear-gradient(135deg, #6FAFFA 0%, #4B8EF7 100%); }
.tab.user-login-btn {
  color: #fff;
  background: linear-gradient(135deg, #5AA2F8, #3B82F6);
  border-color: rgba(59, 130, 246, .2);
  box-shadow: 0 6px 16px rgba(59, 130, 246, .22);
}
.tab.user-login-btn:hover { color: #fff; background: linear-gradient(135deg, #6FAFFA, #4B8EF7); }
.nav-dropdown-toggle { color: #50617A; }
.nav-dropdown-toggle:hover { background: #EAF3FF; color: #1D4ED8; }
.nav-dropdown.open > .nav-dropdown-toggle,
.nav-dropdown-toggle.active {
  color: #fff;
  background: linear-gradient(135deg, #5AA2F8 0%, #3B82F6 100%);
  box-shadow: 0 6px 16px rgba(59, 130, 246, .22);
}
.nav-dropdown-menu { box-shadow: 0 24px 55px rgba(30, 64, 175, .14); }
.user-info-btn {
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(59, 130, 246, .16);
  color: #1E3A5F;
  box-shadow: 0 4px 14px rgba(30, 64, 175, .06);
}
.user-info-btn:hover {
  background: #fff;
  border-color: rgba(59, 130, 246, .3);
  color: #1D4ED8;
  box-shadow: 0 6px 18px rgba(30, 64, 175, .1);
}
.user-avatar {
  background: linear-gradient(145deg, #60A5FA, #3B82F6) !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, .2);
}
.user-name { color: #1E3A5F; }
.user-balance {
  background: #FFF4DE;
  border: 1px solid #F8D9A6;
  color: #B45309;
}
.user-dropdown { box-shadow: 0 28px 65px rgba(30, 64, 175, .16); }
.user-dropdown-header { background: linear-gradient(135deg, #F5FAFF, #EAF3FF); }
.user-dd-item:hover { background: #EAF3FF; color: #2563EB; }

/* 静态工作人员入口：默认隐藏，管理员加载后显示 */
.header a[href="staff-login.html"] { display: none; }
html.role-admin .header a[href="staff-login.html"] { display: inline-flex; }

/* 首页顶部广告 */
.home-top-ad {
  margin-top: 18px;
  margin-bottom: 0;
}
.home-top-ad .banner-carousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(30, 64, 175, .10);
  border: 1px solid rgba(59, 130, 246, .10);
}
.home-top-ad .banner-slides { padding-top: 32.5%; }
.home-top-ad .banner-slide img.banner-img { object-fit: cover; background: #EAF4FF; }
.home-top-ad .banner-carousel.is-single .banner-arrow,
.home-top-ad .banner-carousel.is-single .banner-dots { display: none; }
.home-banner-wrap { margin-bottom: 10px; }

/* 首页按钮与高亮 */
.home-btn-primary {
  background: linear-gradient(135deg, #5AA2F8, #3B82F6);
  box-shadow: 0 12px 26px rgba(59, 130, 246, .22);
}
.home-btn-primary:hover { box-shadow: 0 16px 32px rgba(59, 130, 246, .3); }
.home-kicker { border-color: #D5E5FA; color: #2563EB; }
.home-kicker .pulse-dot { background: #3B82F6; box-shadow: 0 0 0 4px rgba(59, 130, 246, .13); }
.home-kicker .pulse-dot::after { border-color: rgba(59, 130, 246, .3); }

/* ============================================================================
   代取大厅
   ============================================================================ */
.hall-main { padding-bottom: 56px; }
.hall-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 28px;
  align-items: center;
  margin-top: 22px;
  padding: 34px 36px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(245, 184, 92, .24), transparent 16rem),
    radial-gradient(circle at 8% 0%, rgba(96, 165, 250, .24), transparent 20rem),
    linear-gradient(128deg, #F8FCFF 0%, #EDF6FF 52%, #FFF9EE 100%);
  border: 1px solid rgba(59, 130, 246, .12);
  box-shadow: 0 16px 42px rgba(30, 64, 175, .08);
}
.hall-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(59, 130, 246, .14);
  color: #2563EB;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.hall-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 48px);
  line-height: 1.08;
  letter-spacing: -.04em;
  color: var(--ink);
}
.hall-hero p {
  max-width: 540px;
  margin-top: 12px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.8;
}
.hall-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hall-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.hall-stat {
  padding: 18px 12px;
  text-align: center;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(59, 130, 246, .12);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(30, 64, 175, .05);
}
.hall-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1.1;
  color: #2563EB;
}
.hall-stat span { display: block; margin-top: 5px; font-size: 12px; color: var(--text-2); }
.hall-tabs { margin: 20px 0 16px; }
.hall-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.hall-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(30, 64, 175, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hall-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, .26);
  box-shadow: 0 16px 34px rgba(30, 64, 175, .09);
}
/* 急送件：卡片背景加重（代取大厅/配送大厅） */
.hall-card-urgent {
  background: linear-gradient(135deg, #FFF3E0 0%, #FFF7E6 55%, #FFFFFF 100%);
  border: 1px solid #F5B85C;
  box-shadow: 0 10px 26px rgba(184, 92, 0, .12);
}
.hall-card-urgent:hover {
  border-color: rgba(217, 119, 6, .6);
  box-shadow: 0 16px 34px rgba(184, 92, 0, .18);
}
.hall-card-urgent .hall-fee { color: #B45309; }
.hall-chip-urgent {
  background: #FFE3B3;
  color: #8A4B00;
  font-weight: 800;
}
.hall-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hall-status,
.hall-pay {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}
.hall-status { margin-right: 5px; background: #EAF3FF; color: #2563EB; }
.hall-status.is-pending { background: #FFF4DE; color: #B45309; }
.hall-status.is-doing { background: #EAF3FF; color: #2563EB; }
.hall-status.is-done { background: #E8F7F0; color: #0E9F6E; }
.hall-pay { background: #F1F5F9; color: #64748B; }
.hall-pay.paid { background: #E8F7F0; color: #0E9F6E; }
.hall-fee { color: #D97706; font-size: 20px; font-weight: 800; }
.hall-card-title { color: var(--ink); font-size: 16px; font-weight: 750; word-break: break-all; }
.hall-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hall-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 7px;
  background: #F4F8FE;
  color: #4B5B72;
  font-size: 11px;
  font-weight: 600;
}
.hall-info-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; font-size: 12.5px; }
.hall-info-row span { flex-shrink: 0; color: var(--text-3); }
.hall-info-row b { color: var(--text); font-weight: 600; text-align: right; word-break: break-all; }
.hall-remarks {
  padding: 8px 10px;
  border-radius: 9px;
  background: #FFF9EE;
  border: 1px solid #F8E3BE;
  color: #8A5A12;
  font-size: 12px;
  line-height: 1.6;
}
.hall-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.hall-time { color: var(--text-3); font-size: 11.5px; }
.hall-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.hall-done-text { color: var(--text-3); font-size: 12px; }

@media (max-width: 900px) {
  .hall-hero { grid-template-columns: 1fr; padding: 26px 22px; }
  .hall-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .home-top-ad .banner-slides { padding-top: 56.25%; }
  .home-top-ad .banner-slide img.banner-img { object-fit: contain; background: #F3F9FF; }
}
@media (max-width: 560px) {
  .hall-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .hall-stat { padding: 13px 6px; }
  .hall-stat strong { font-size: 22px; }
  .hall-card { padding: 16px; }
  .hall-card-foot { align-items: flex-start; flex-direction: column; }
  .hall-actions { width: 100%; justify-content: stretch; }
  .hall-actions .btn { flex: 1; }
  .home-top-ad { margin-top: 12px; }
}

/* ============================================================
 * 配送大厅 v2：代取 + 代寄、筛选、配送照片、管理员收入
 * ============================================================ */
.hall-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hall-stat-income strong { color: #D97706; }
.hall-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 16px;
  padding: 11px 13px;
  border: 1px solid rgba(59, 130, 246, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}
.hall-filter-label { color: var(--text-3); font-size: 12px; font-weight: 700; }
.hall-filter {
  border: 1px solid #DCE8F6;
  background: #F7FAFF;
  color: #52647A;
  border-radius: 999px;
  padding: 6px 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}
.hall-filter:hover { border-color: #AFC8E8; background: #EEF6FF; color: var(--primary-dark); }
.hall-filter.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
  box-shadow: 0 0 0 3px var(--primary-focus);
}
.hall-filter-hint { margin-left: auto; color: var(--text-3); font-size: 11.5px; }
.hall-section { margin: 0 0 28px; }
.hall-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 12px;
}
.hall-section-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -.02em;
}
.hall-section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #EAF3FF;
  color: #2563EB;
  font-family: var(--font-body, inherit);
  font-size: 11px;
  font-weight: 800;
}
.hall-admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 10px;
  margin: 4px 0 16px;
}
.hall-admin-stat {
  padding: 15px 13px;
  border: 1px solid rgba(59, 130, 246, .12);
  border-radius: 15px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 8px 20px rgba(30, 64, 175, .04);
}
.hall-admin-stat strong {
  display: block;
  color: #2563EB;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.15;
}
.hall-admin-stat span { display: block; margin-top: 4px; color: var(--text-2); font-size: 11.5px; }
.hall-admin-stat-wide strong { color: #D97706; font-size: 19px; }
.hall-card-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.hall-type {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.hall-type-pickup { background: #EAF3FF; color: #2563EB; }
.hall-type-parcel { background: #FFF4DE; color: #B45309; }
.hall-delivery-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #F2F8FF;
  border: 1px solid #DCEAFB;
  color: var(--text-2);
  font-size: 12.5px;
}
.hall-delivery-row span { flex-shrink: 0; color: #64748B; }
.hall-delivery-row b { color: #1E5FA8; text-align: right; word-break: break-all; }
.hall-delivery-row b a { color: #1D6FD0; text-decoration: none; }
.hall-delivery-row.is-empty b { color: #9AA7B7; font-weight: 600; }
.hall-income-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border-radius: 10px;
  background: #FFF9EE;
  border: 1px solid #F6E3C2;
  color: #8A5A12;
  font-size: 12.5px;
}
.hall-income-row b { color: #B45309; font-size: 17px; font-weight: 800; }
.hall-income-row em { color: #A16207; font-size: 11px; font-style: normal; }
.hall-mask-hint {
  padding: 7px 10px;
  border-radius: 8px;
  background: #F7FAFF;
  color: #6B7C93;
  font-size: 11.5px;
}
.hall-photo-block { display: flex; flex-direction: column; gap: 6px; }
.hall-photo-label { color: var(--text-3); font-size: 11.5px; }
.hall-photo-list { display: flex; flex-wrap: wrap; gap: 7px; }
.hall-photo-list img {
  width: 64px;
  height: 64px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid #DCE7F3;
  cursor: zoom-in;
}
.hall-card-parcel .hall-fee { color: #B45309; }

/* 完成配送弹窗 */
.hall-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 35, 60, .48);
  backdrop-filter: blur(4px);
}
.hall-modal-open { overflow: hidden; }
.hall-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow: auto;
  padding: 26px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 35, 60, .26);
  text-align: center;
}
.hall-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #F1F5F9;
  color: #64748B;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}
.hall-modal-close:hover { background: #E2E8F0; color: #334155; }
.hall-modal-icon { font-size: 38px; line-height: 1; margin-bottom: 8px; }
.hall-modal-card h3 { margin: 0 0 8px; color: var(--ink); font-family: var(--font-display); font-size: 23px; }
.hall-modal-desc { margin: 0 0 16px; color: var(--text-2); font-size: 13px; line-height: 1.65; word-break: break-all; }
.hall-upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 14px;
  border: 1.5px dashed #B9D1ED;
  border-radius: 14px;
  background: #F7FBFF;
  cursor: pointer;
  transition: all .2s ease;
}
.hall-upload-box:hover { border-color: var(--primary); background: #EFF7FF; }
.hall-upload-icon { font-size: 28px; }
.hall-upload-text { color: #1E5FA8; font-size: 13.5px; font-weight: 700; }
.hall-upload-hint { color: var(--text-3); font-size: 11px; }
.hall-photo-preview { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.hall-photo-preview img {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #DCE7F3;
}
.hall-modal-hint { margin: 13px 0 0; color: var(--text-3); font-size: 11.5px; line-height: 1.6; }
.hall-modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.hall-modal-actions .btn { min-width: 112px; }

@media (max-width: 900px) {
  .hall-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hall-filter-hint { width: 100%; margin-left: 0; }
}
@media (max-width: 560px) {
  .hall-modal { padding: 12px; }
  .hall-modal-card { padding: 22px 17px; border-radius: 16px; }
  .hall-modal-actions { flex-direction: column-reverse; }
  .hall-modal-actions .btn { width: 100%; }
  .hall-admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 驿站选择：统一浅蓝主题，避免旧版品牌色块与白色文字 */
.station-checkbox-inner {
  background: #F8FBFF;
}
.station-checkbox input:checked + .station-checkbox-inner,
.station-checkbox input:checked + .st-cainiao,
.station-checkbox input:checked + .st-duoduo,
.station-checkbox input:checked + .st-jd,
.station-checkbox input:checked + .st-postal,
.station-checkbox input:checked + .st-sf {
  color: var(--primary-dark) !important;
  border-color: var(--primary) !important;
  background: linear-gradient(135deg, #EAF4FF 0%, #F8FBFF 100%) !important;
  box-shadow: 0 0 0 4px var(--primary-focus), 0 8px 18px rgba(14, 65, 124, .08) !important;
}
.station-checkbox input:checked + .station-checkbox-inner::after {
  content: "✓";
  margin-left: 3px;
  color: var(--primary);
  font-weight: 900;
}

/* 我的记录：配送员信息、打赏与配送凭证 */
.my-delivery-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
  padding: 9px 11px;
  border: 1px solid #DCEAFB;
  border-radius: 10px;
  background: #F2F8FF;
  color: #52647A;
  font-size: 12.5px;
}
.my-delivery-main { color: #1E5FA8; }
.my-delivery-main b { color: #174E8A; }
.my-delivery-main a { color: #1D6FD0; text-decoration: none; }
.my-tip-total {
  padding: 2px 8px;
  border-radius: 999px;
  background: #FFF4DE;
  color: #B45309;
  font-size: 11px;
  font-weight: 700;
}
.my-delivery-done {
  padding: 2px 8px;
  border-radius: 999px;
  background: #E8F8EE;
  color: #12813D;
  font-size: 11px;
  font-weight: 700;
}
.my-delivery-photos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  color: var(--text-3);
  font-size: 11.5px;
}
.btn-tip {
  border: 1px solid #F2D49B;
  background: #FFF9EE;
  color: #B45309;
}
.btn-tip:hover { border-color: #E7B85E; background: #FFF3D8; color: #92400E; }
.tip-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 12px;
}
.tip-quick button {
  padding: 10px 6px;
  border: 1px solid #DCE8F6;
  border-radius: 11px;
  background: #F7FAFF;
  color: #52647A;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s ease;
}
.tip-quick button:hover { border-color: #AFC8E8; background: #EEF6FF; }
.tip-quick button.active {
  border-color: #E7B85E;
  background: #FFF4DE;
  color: #B45309;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .13);
}
.tip-amount-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1.5px solid #DCE8F6;
  border-radius: 11px;
  background: #FBFDFF;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  outline: none;
}
.tip-amount-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-focus); }
.tip-balance-hint { margin-top: 8px; color: var(--text-3); font-size: 11.5px; }

