/* ============================================================
   招投标信息聚合平台 · 用户端站点样式
   深商务蓝 + 琥珀强调 · 数据密集门户风 · 全站自适应
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue: #1E40AF;
  --blue-dark: #16309B;
  --blue-mid: #2B54C8;
  --blue-light: #E8EEFA;
  --navy: #0B1D4D;
  --orange: #D97706;
  --orange-deep: #B45309;
  --orange-light: #FDF3E3;
  --green: #15803D;
  --green-light: #E5F5EB;
  --red: #DC2626;
  --red-light: #FDECEC;
  --purple: #7C3AED;
  --cyan: #0E7490;
  --brown: #92400E;
  --text: #1E293B;
  --heading: #0F1E42;
  --muted: #64748B;
  --line: #E2E8F0;
  --line-soft: #EDF1F7;
  --bg: #F4F6FA;
  --surface: #FFFFFF;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 66, .06);
  --shadow-md: 0 4px 16px rgba(15, 30, 66, .08);
  --shadow-lg: 0 12px 32px rgba(15, 30, 66, .14);
  --font-num: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 15px; line-height: 1.65; color: var(--text); background: var(--bg);
}
a { color: inherit; text-decoration: none; cursor: pointer; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; outline: none; }
img { max-width: 100%; }
.hidden { display: none !important; }
.hide { display: none; }
.clearfix::after { content: ""; display: table; clear: both; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.money { color: var(--red); font-weight: 600; }
.text-center { text-align: center; }
.pull-right { float: right; }
.mt-3 { margin-top: 12px; }
.mt-0 { margin-top: 0; }
.mb-4 { margin-bottom: 16px; }
.my-4 { margin: 16px 0; }
.no-border { border: 0 !important; }
.no-padding { padding: 0 !important; }
.page-main { padding-bottom: 56px; min-height: calc(100vh - 320px); }
/* 各页首块与筛选栏的间距统一为 20px(与首页 .home-banner 一致,原来 .page-title 26 / .page-head 24 / .section-head 30 / .vip-hero 34 参差不齐)。
   只匹配"main 的第一个子元素",页面中间的 .section-head 等仍保留原有节奏。 */
.page-main > .page-title,
.page-main > .page-head,
.page-main > .section-head,
.page-main > .vip-hero { margin-top: 20px; }
.page-title { font-size: 24px; font-weight: 700; color: var(--heading); margin: 26px 0 16px; letter-spacing: -.01em; }
.narrow-main { max-width: 860px; }
.medium-main { max-width: 900px; }
.page-head { display: flex; align-items: center; margin: 24px 0 16px; }
.page-head h1, .page-head h2 { font-size: 22px; color: var(--heading); }
.page-head .btn { margin-left: auto; }
.page-note { font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 10px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid transparent; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500;
  padding: 9px 20px; transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
  white-space: nowrap; touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 6px 16px rgba(30, 64, 175, .28); }
.btn-outline { border-color: #C6D4F0; color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue-light); border-color: var(--blue); }
.btn-plain { border-color: #D4DCE8; color: var(--muted); background: #fff; }
.btn-plain:hover { color: var(--blue); border-color: var(--blue); }
.btn-default { border-color: #D4DCE8; color: var(--muted); background: #fff; }
.btn-default:hover, .btn-default:focus-visible { color: var(--blue); border-color: var(--blue); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #B91C1C; }
.btn-success { background: var(--green); color: #fff; }
.btn-info { background: var(--blue-mid); color: #fff; }
.btn-mini { padding: 4px 12px; font-size: 12px; border-radius: 5px; }
.btn-md { padding: 7px 18px; }
.btn-lg { padding: 12px 32px; font-size: 15px; border-radius: 8px; }
.btn-block { display: flex; width: 100%; }

/* ---------- 输入 ---------- */
.input, .select, .form-control {
  border: 1px solid #D4DCE8; border-radius: 7px; padding: 9px 12px;
  background: #fff; color: var(--text); width: 100%; font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.input:focus, .select:focus, .form-control:focus { border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(43, 84, 200, .14); }
.input::placeholder, .form-control::placeholder { color: #A6B1C2; }
.input-lg { padding: 12px 14px; font-size: 15px; }
.form-control:disabled { background: #F1F4F9; color: var(--muted); cursor: not-allowed; }
.checkbox.inline, .radio { display: inline-flex; }
.checkbox.inline label, .radio label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--blue); }

/* ---------- 标签 / 徽标 ---------- */
.tag {
  display: inline-block; font-size: 12px; line-height: 1; font-weight: 600;
  padding: 5px 9px; border-radius: 5px; color: #fff; flex-shrink: 0; letter-spacing: .01em;
}
.tag.blue { background: var(--blue-mid); }
.tag.green { background: var(--green); }
.tag.orange { background: var(--orange); }
.tag.red { background: var(--red); }
.tag.purple { background: var(--purple); }
.tag.cyan { background: var(--cyan); }
.tag.brown { background: var(--brown); }
.tag.gray { background: #64748B; }
.tag.ghost-blue { color: var(--blue); background: var(--blue-light); }
.tag.ghost-red { color: var(--red); background: var(--red-light); }
.tag.ghost-orange { color: var(--orange-deep); background: var(--orange-light); }
.detail-tag { margin-top: 10px; }
.badge-day { flex-shrink: 0; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 4px 11px; background: var(--red-light); color: var(--red); }
.badge-day.warn { background: var(--orange-light); color: var(--orange-deep); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; margin-right: 6px; vertical-align: 2px; }

/* ---------- 卡片 ---------- */
.side-card {
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line-soft);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
  transition: box-shadow .22s ease, transform .22s ease;
}
.side-card:hover { box-shadow: var(--shadow-md); }
.sc-title { font-size: 16px; font-weight: 700; color: var(--heading); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.sc-title i, .section-title i { color: var(--blue-mid); font-size: 15px; }
.sc-more { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-size: 13px; font-weight: 500; margin-top: 12px; }
.sc-more:hover { color: var(--blue-dark); }
.boxed { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.boxed-list { border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.form-panel { padding: 22px 24px; }
.empty-tip { text-align: center; color: #8B96A8; padding: 56px 0; font-size: 14px; }
.empty-tip .btn { margin-top: 16px; }
.compact { padding: 20px 0; }
.topic-gap { margin-bottom: 22px; }
.section-head-gap { margin-top: 28px; }
.margin-top { margin-top: 14px; }
.spaced { margin-bottom: 12px; }
.inline-tag { vertical-align: middle; }
/* ============================================================
   头部:顶栏 / 主头 / 导航 / 快捷筛选
   ============================================================ */
.topbar { background: var(--navy); color: #AEBBDD; font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; min-height: 34px; gap: 16px; }
.topbar-note { display: inline-flex; align-items: center; gap: 6px; }
.topbar-note i { color: #7C9BE8; }
.topbar-links { margin-left: auto; display: flex; gap: 18px; }
.topbar-links a { color: #C3CFEE; transition: color .18s ease; }
.topbar-links a:hover { color: #fff; }

.site-header { background: #fff; border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; gap: 30px; padding: 15px 20px; }
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 10px; color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2B54C8 0%, #16309B 100%);
  box-shadow: 0 4px 12px rgba(22, 48, 155, .3);
}
.logo-text { font-size: 21px; font-weight: 800; color: var(--heading); letter-spacing: -.01em; }
.logo-image { display: block; width: auto; height: 42px; max-width: 180px; object-fit: contain; }
.header-search { flex: 1; display: flex; max-width: 580px; }
.search-input {
  flex: 1; border: 2px solid var(--blue); border-right: none;
  border-radius: 8px 0 0 8px; padding: 10px 15px; font-size: 14px; min-height: 42px;
  transition: box-shadow .18s ease;
}
.search-input:focus { box-shadow: 0 0 0 3px rgba(43, 84, 200, .16); }
.search-btn { border-radius: 0 8px 8px 0; padding: 0 28px; font-size: 15px; min-height: 42px; }
.header-user { margin-left: auto; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13.5px; flex-shrink: 0; }
.header-user .link { color: var(--text); font-weight: 500; display: inline-flex; align-items: center; gap: 5px; min-height: 32px; transition: color .18s ease; }
.header-user .link:hover { color: var(--blue); }
.header-user .link i { color: var(--blue-mid); }
.header-user > a:last-child { color: var(--muted); }
.header-user > a:last-child:hover { color: var(--blue); }
.divider { color: #D4DCE8; }

.main-nav { background: #fff; border-top: 1px solid #F1F4F9; }
.main-nav .container { display: flex; gap: 4px; }
.main-nav a {
  position: relative; padding: 13px 17px; font-size: 15px; color: #3D4A5F; font-weight: 500;
  display: flex; align-items: center; gap: 5px;
  transition: color .18s ease;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a.active { color: var(--blue); font-weight: 700; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0;
  height: 3px; border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-dark));
}
.nav-vip { color: var(--orange) !important; font-weight: 600; }

.quick-bar { display: flex; align-items: center; gap: 20px; padding: 10px 20px 0; font-size: 13px; color: var(--muted); }
.quick-wrap { position: relative; }
.quick-item {
  cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border: 0; background: var(--blue-light); color: var(--blue-mid); font-size: 13px; font-weight: 600;
  transition: color .18s ease, background-color .18s ease;
}
.quick-item:hover { color: var(--blue-dark); background: #DCE6F9; }
.quick-item i { font-style: normal; font-size: 10px; color: currentColor; opacity: .7; }
.quick-menu {
  display: none; position: absolute; top: 100%; left: -10px; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-lg); padding: 8px 0; min-width: 160px;
}
.quick-menu a { display: block; padding: 8px 18px; color: var(--text); font-size: 13.5px; transition: background-color .15s ease, color .15s ease; }
.quick-menu a:hover { background: var(--blue-light); color: var(--blue); }
.quick-advanced {
  display: inline-flex; align-items: center; gap: 5px; min-height: 32px;
  color: var(--blue); background: var(--blue-light); border-radius: 999px; padding: 4px 15px; font-weight: 600; font-size: 13px;
  transition: background-color .18s ease, color .18s ease;
}
.quick-advanced:hover { background: #DCE6F9; color: var(--blue-dark); }

/* ============================================================
   首页 Hero 与数据面板
   ============================================================ */
.home-banner {
  margin-top: 20px; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  display: flex; align-items: center; gap: 40px;
  background: linear-gradient(118deg, #0B1D4D 0%, #14308F 52%, #2350C0 100%);
  color: #fff; padding: 42px 46px;
}
.home-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
}
.banner-body { position: relative; z-index: 1; max-width: 560px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: #BFD0F7; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 5px 14px;
}
.banner-body h1 { font-size: 30px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; }
.banner-body p { font-size: 14.5px; color: rgba(255,255,255,.78); line-height: 1.75; }
.banner-actions { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.banner-cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  background: #fff; color: var(--blue-dark); border-radius: 999px; padding: 10px 26px; font-weight: 700; font-size: 14.5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  transition: transform .18s ease, box-shadow .18s ease;
}
.banner-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.banner-ghost {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 999px; padding: 10px 24px; font-weight: 600; font-size: 14px;
  transition: background-color .18s ease, border-color .18s ease;
}
.banner-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.hero-panel {
  position: relative; z-index: 1; margin-left: auto; flex-shrink: 0;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 16px; padding: 22px 24px; min-width: 320px;
}
.hp-head { font-size: 13px; font-weight: 600; color: #C3D2F5; margin-bottom: 14px; display: flex; align-items: center; gap: 7px; }
.hp-head i { font-size: 13px; }
.hp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.hp-item b {
  display: block; font-size: 27px; font-weight: 800; line-height: 1.15;
  font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.hp-item span { display: block; font-size: 12px; color: rgba(255,255,255,.62); margin-top: 3px; }

.section-head { display: flex; align-items: center; margin: 30px 0 16px; }
.section-title { font-size: 19px; font-weight: 800; color: var(--heading); display: flex; align-items: center; gap: 9px; letter-spacing: -.01em; }
.section-title::before { content: ""; width: 4px; height: 19px; border-radius: 2px; background: linear-gradient(180deg, var(--blue-mid), var(--blue-dark)); }
.section-head .more { margin-left: auto; color: var(--blue); font-size: 13.5px; font-weight: 500; }
.section-head .more:hover { color: var(--blue-dark); }

.home-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; margin-top: 18px; }
  .home-grid > * { min-width: 0; }

/* 首页 hero 下方通栏广告位（后台「广告位管理」维护） */
.home-ad { margin-top: 18px; display: grid; gap: 10px; }
.home-ad-item {
  display: block; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-soft); background: var(--surface);
  box-shadow: var(--shadow-sm); transition: box-shadow .22s ease, transform .22s ease;
}
.home-ad-item:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.home-ad-item img { display: block; width: 100%; height: auto; }
.chip-wrap { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; min-height: 32px;
  background: #F0F4FB; color: #3D5480; border-radius: 999px; padding: 5px 15px; font-size: 13px; font-weight: 500;
  border: 1px solid transparent; transition: all .18s ease;
}
.chip:hover { background: var(--blue-light); color: var(--blue); border-color: #C6D4F0; }
/* 首页侧栏"热门行业"要放全量行业(30+ 个),默认尺寸会把 340px 的卡片撑到约 480px,
   把右侧卡片拉出大片留白;这一处收小一号做成标签云,全量也能落在一屏内。 */
.chip-dense { gap: 7px; }
.chip-dense .chip { min-height: 26px; padding: 3px 10px; font-size: 12px; }

.deadline-item { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line-soft); font-size: 13.5px; }
.deadline-item:last-of-type { border-bottom: none; }
.deadline-item .d-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deadline-item .d-title a { color: var(--text); }
.deadline-item .d-title a:hover { color: var(--blue); }
.badge-day { white-space: nowrap; }

.type-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.type-card {
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  min-height: 116px; padding: 18px 12px; border: 1px solid var(--line-soft);
  border-radius: 12px; background: #fff; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.type-card:hover, .type-card:focus-visible { transform: translateY(-3px); border-color: #C6D4F0; box-shadow: var(--shadow-md); }
.type-card b { font-size: 26px; line-height: 1; color: var(--heading); font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.type-note { color: var(--muted); font-size: 12px; }
.type-card:has(.tag.blue) { background: linear-gradient(180deg, #F4F8FF 0%, #fff 70%); }
.type-card:has(.tag.green) { background: linear-gradient(180deg, #F2FAF5 0%, #fff 70%); }
.type-card:has(.tag.orange) { background: linear-gradient(180deg, #FDF7EE 0%, #fff 70%); }
.type-card:has(.tag.red) { background: linear-gradient(180deg, #FEF4F4 0%, #fff 70%); }
.type-card:has(.tag.purple) { background: linear-gradient(180deg, #F7F3FE 0%, #fff 70%); }
.tender-list { background: #fff; border-radius: var(--radius); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); overflow: hidden; }
.tender-item { padding: 18px 24px; border-bottom: 1px solid #F1F4F9; transition: background-color .18s ease; }
.tender-item:last-child { border-bottom: none; }
.tender-item:hover { background: #F8FAFE; }
.ti-title-row { display: flex; align-items: center; gap: 12px; }
.ti-title { font-size: 16px; font-weight: 600; color: var(--heading); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: anywhere; }
.ti-title:hover { color: var(--blue); }
.ti-amount { font-size: 13px; color: var(--red); font-weight: 600; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.ti-amount b { font-size: 16px; }
.ti-meta { margin-top: 9px; color: var(--muted); font-size: 13px; display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.ti-meta i { font-style: normal; color: #D8DFEA; }
.ti-extra { margin-top: 6px; color: var(--muted); font-size: 13px; }
.ti-foot { margin-top: 12px; display: flex; align-items: center; color: var(--muted); font-size: 12.5px; }
.ti-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.fav { color: var(--muted); min-height: 34px; display: inline-flex; align-items: center; transition: color .18s ease; }
.fav:hover, .fav.on { color: var(--orange); }
.fav.on { font-weight: 600; }

.home-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.rank-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14px; }
.rank-no {
  width: 24px; height: 24px; border-radius: 6px; background: #F0F4FB; color: #3D5480;
  font-size: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0;
}
.rank-item:nth-child(1) .rank-no { background: var(--red-light); color: var(--red); }
.rank-item:nth-child(2) .rank-no { background: var(--orange-light); color: var(--orange-deep); }
.rank-item:nth-child(3) .rank-no { background: #FDF6D8; color: #A16207; }
.rank-item .r-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-item .r-count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.reco-item { padding: 10px 0; border-bottom: 1px dashed var(--line-soft); font-size: 14px; display: flex; gap: 8px; align-items: center; }
.reco-item:last-child { border-bottom: none; }
.reco-item::before { content: "•"; color: var(--blue-mid); font-weight: 700; }
.reco-item:hover { color: var(--blue); }
.reco-tag { margin-left: auto; font-size: 11px; color: var(--blue); background: var(--blue-light); border-radius: 5px; padding: 3px 9px; flex-shrink: 0; }

/* ---------- 会员方案卡(首页) ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.benefit-card { display: flex; flex-direction: column; gap: 11px; }
.benefit-card h3 { font-size: 16px; font-weight: 700; color: var(--heading); }
.benefit-card.featured {
  background: linear-gradient(160deg, #0F1E4E 0%, #1E40AF 100%);
  border-color: transparent; box-shadow: 0 14px 36px rgba(22, 48, 155, .32); color: #fff;
}
.benefit-card.featured h3 { color: #fff; }
.benefit-price { display: flex; align-items: baseline; gap: 6px; }
.benefit-price b { font-size: 30px; font-weight: 800; color: var(--blue); font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.benefit-price span { color: var(--muted); font-size: 13px; }
.benefit-card.featured .benefit-price b { color: #fff; }
.benefit-card.featured .benefit-price span { color: rgba(255,255,255,.6); }
.benefit-card ul { display: grid; gap: 8px; color: var(--muted); font-size: 13.5px; }
.benefit-card.featured ul { color: rgba(255,255,255,.82); }
.benefit-card ul li::before { content: "\2713"; margin-right: 7px; color: var(--green); font-weight: 700; }
.benefit-card.featured ul li::before { color: #6EE7A0; }
.benefit-btn { margin-top: auto; width: 100%; min-height: 42px; border-radius: 8px; }
.benefit-card.featured .benefit-btn { background: #fff; color: var(--blue-dark); font-weight: 700; }
.benefit-card.featured .benefit-btn:hover { background: #E8EEFA; }

.entry-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-bottom: 8px; }
.entry-card {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 60px; border: 1px solid var(--line-soft); border-radius: 12px;
  background: #fff; font-size: 14px; font-weight: 500; color: var(--text); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, color .18s ease, border-color .18s ease;
}
.entry-card i { color: var(--blue-mid); font-size: 16px; }
.entry-card:hover, .entry-card:focus-visible { transform: translateY(-3px); color: var(--blue); border-color: #C6D4F0; box-shadow: var(--shadow-md); }

/* ============================================================
   标讯大厅:筛选 / 结果 / 分页
   ============================================================ */
.filter-panel {
  background: #fff; border: 1px solid #D9E3F5; border-radius: 12px; margin-top: 18px;
  padding: 20px 24px; box-shadow: var(--shadow-sm);
}
.fp-row { display: flex; margin-bottom: 15px; font-size: 13.5px; }
.fp-row:last-of-type { margin-bottom: 0; }
.fp-label { width: 84px; flex-shrink: 0; color: var(--muted); padding: 8px 0; font-weight: 500; }
.fp-fields { flex: 1; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.fp-fields label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 4px 0; }
.fp-fields input[type="checkbox"], .fp-fields input[type="radio"] { accent-color: var(--blue); }
.fp-foot { border-top: 1px solid var(--line-soft); margin-top: 6px; padding-top: 16px; display: flex; gap: 12px; justify-content: flex-end; }
.fp-input { width: 110px; padding: 7px 10px; border: 1px solid #D4DCE8; border-radius: 7px; min-height: 38px; transition: border-color .18s ease, box-shadow .18s ease; }
.fp-select { padding: 7px 10px; border: 1px solid #D4DCE8; border-radius: 7px; background: #fff; min-height: 38px; transition: border-color .18s ease, box-shadow .18s ease; }
.fp-input:focus, .fp-select:focus { border-color: var(--blue-mid); box-shadow: 0 0 0 3px rgba(43, 84, 200, .12); }
.fp-input.wide, .input.wide { width: min(420px, 100%); }
.fp-input.medium, .input.medium { width: min(160px, 100%); }
.fp-input.short, .input.short { width: min(110px, 100%); }
.time-label { color: var(--muted); margin-left: 12px; }
.filter-summary {
  display: flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 15px; font-weight: 600; color: var(--heading); cursor: pointer; list-style: none;
}
.filter-summary::-webkit-details-marker { display: none; }
.filter-chevron { margin-left: auto; font-style: normal; color: var(--muted); transition: transform .2s ease; }
details[open] > .filter-chevron { transform: rotate(180deg); }
.filter-controls { padding-top: 4px; }

.result-bar { display: flex; align-items: center; margin: 18px 0 12px; font-size: 13.5px; color: var(--muted); }
.result-bar b { color: var(--blue); font-size: 16px; font-variant-numeric: tabular-nums; }
.result-bar .cost { color: #8B96A8; margin-left: 12px; }
.result-bar .btn { margin-left: auto; }

.view-tabs { display: inline-flex; gap: 4px; margin-bottom: 14px; background: #E9EEF6; border-radius: 10px; padding: 4px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.view-tabs::-webkit-scrollbar { display: none; }
.view-tabs a {
  padding: 7px 18px; font-size: 13.5px; border-radius: 8px; color: var(--muted); font-weight: 500;
  white-space: nowrap; display: inline-flex; align-items: center; min-height: 36px;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.view-tabs a:hover { color: var(--blue); }
.view-tabs a.on { background: #fff; color: var(--blue); font-weight: 600; box-shadow: var(--shadow-sm); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 28px 0; font-size: 13.5px; list-style: none; flex-wrap: wrap; }
.pagination li { display: inline-block; }
.pagination li a, .pagination li span,
.page {
  min-width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center; color: var(--muted); padding: 0 10px; font-size: 13.5px;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.pagination li a:hover, .page:hover { border-color: var(--blue); color: var(--blue); }
.pagination li.active span, .page.active { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.pagination li.disabled span { color: #B3BCCD; cursor: not-allowed; }
.page-jump { color: var(--muted); display: flex; align-items: center; gap: 6px; }
.page-jump input { width: 48px; height: 34px; border: 1px solid var(--line); border-radius: 8px; text-align: center; }
/* ============================================================
   详情页
   ============================================================ */
.breadcrumb { margin: 20px 0 14px; color: var(--muted); font-size: 13.5px; }
.breadcrumb a:hover { color: var(--blue); }
.detail-card { background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; padding: 26px 30px; box-shadow: var(--shadow-sm); }
.dc-head { display: flex; align-items: flex-start; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.dc-head h1 { font-size: 23px; line-height: 1.45; color: var(--heading); flex: 1; letter-spacing: -.01em; }
.dc-favs { display: flex; gap: 18px; color: var(--muted); font-size: 13.5px; flex-shrink: 0; padding-top: 8px; }
.dc-favs a:hover { color: var(--blue); }
.df-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px 26px; padding-top: 18px; }
.df-item { display: flex; font-size: 13.5px; }
.df-label { color: var(--muted); width: 92px; flex-shrink: 0; }
.df-value { color: var(--text); font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.df-value.money { color: var(--red); font-weight: 600; font-variant-numeric: tabular-nums; }
.df-value .link { color: var(--blue); }

.block-card { background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; margin-top: 18px; box-shadow: var(--shadow-sm); }
.bc-head { padding: 16px 30px 0; font-size: 16px; font-weight: 700; color: var(--heading); display: flex; align-items: center; gap: 9px; }
.bc-head::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: linear-gradient(180deg, var(--blue-mid), var(--blue-dark)); }
.bc-body { padding: 16px 30px 24px; }

.timeline { display: flex; align-items: flex-start; }
.tl-node { flex: 1; text-align: center; position: relative; }
.tl-node::before {
  content: ""; position: absolute; top: 8px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0;
}
.tl-node:first-child::before { display: none; }
.tl-dot {
  position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 2px solid #C6D0E0; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center;
}
.tl-node.done .tl-dot { border-color: var(--green); background: var(--green); }
.tl-node.done::before, .tl-node.current::before { background: var(--blue-mid); }
.tl-node.current .tl-dot { border-color: var(--blue); }
.tl-node.current .tl-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.tl-name { font-size: 14px; font-weight: 600; color: var(--heading); }
.tl-node.current .tl-name { color: var(--blue); }
.tl-date { font-size: 12px; color: var(--muted); margin-top: 4px; }
.countdown-note { margin-top: 18px; text-align: center; font-size: 13.5px; }
.countdown-note b { color: var(--red); }
.countdown-note .pill { display: inline-block; background: var(--red-light); color: var(--red); border-radius: 999px; padding: 6px 18px; font-weight: 600; }

.article { font-size: 15px; line-height: 1.9; color: #334155; }
.article h3 { font-size: 15px; margin: 16px 0 8px; color: var(--heading); }
.article p { margin-bottom: 11px; }
.article.clamp { max-height: 340px; overflow: hidden; position: relative; }
.article.clamp::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px;
  background: linear-gradient(transparent, #fff);
}
.expand-toggle { display: block; margin: 12px auto 0; background: none; border: none; color: var(--blue); font-size: 13.5px; }
.expand-toggle:hover { color: var(--blue-dark); }
.article-rich { overflow-wrap: anywhere; }
.article-rich h1, .article-rich h2, .article-rich h3, .article-rich h4, .article-rich h5, .article-rich h6 {
  font-size: 17px; line-height: 1.5; margin: 20px 0 10px; color: var(--heading);
}
.article-rich p, .article-rich div { margin: 10px 0; }
.article-rich table {
  width: 100%; margin: 14px 0; border: 1px solid #D9E1EC; border-collapse: collapse;
  display: block; overflow-x: auto; white-space: normal;
}
.article-rich th, .article-rich td { border: 1px solid #D9E1EC; padding: 8px 10px; vertical-align: top; }
.article-rich th { background: #F4F7FC; font-weight: 700; }
.article-rich img { max-width: 100%; height: auto; }
.article-rich ul, .article-rich ol { padding-left: 24px; margin-bottom: 11px; }
.article-rich a { overflow-wrap: anywhere; }
.privacy-lock {
  display: inline-block; padding: 2px 8px; border: 1px dashed #CBD5E1; border-radius: 6px;
  background: #F8FAFC; color: #64748B; font-size: 13px; line-height: 20px; white-space: nowrap;
}

.attach-item { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line-soft); font-size: 14px; }
.attach-item:last-of-type { border-bottom: none; }
.attach-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.attach-size { color: #8B96A8; font-size: 12px; flex-shrink: 0; }
.attach-btn { border: 1px solid var(--blue); color: var(--blue); background: #fff; border-radius: 7px; padding: 5px 16px; font-size: 12.5px; transition: background-color .18s ease; }
.attach-btn:hover { background: var(--blue-light); }
.attach-btn.lock { border-color: #D4DCE8; color: #8B96A8; cursor: not-allowed; }
.upgrade-bar {
  margin-top: 16px; background: var(--orange-light); border: 1px solid #F0DCB4; border-radius: 10px;
  padding: 13px 18px; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #8A5B00;
}
.upgrade-bar a { color: var(--orange-deep); font-weight: 700; margin-left: 8px; }
.upgrade-bar a:hover { text-decoration: underline; }
.related-list li { padding: 10px 0; border-bottom: 1px dashed var(--line-soft); font-size: 14px; display: flex; gap: 8px; align-items: center; }
.related-list li:last-child { border-bottom: none; }
.related-list li::before { content: "•"; color: var(--blue-mid); font-weight: 700; }
.related-list li a:hover { color: var(--blue); }
.related-list .r-meta { margin-left: auto; color: #8B96A8; font-size: 12px; flex-shrink: 0; }
.ended { color: var(--muted); font-size: 13px; }
.pre-wrap { white-space: pre-wrap; }

/* ============================================================
   订阅中心
   ============================================================ */
.plan-card { background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; margin-bottom: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.plan-head { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--line-soft); background: #F8FAFE; }
.plan-name { font-size: 16px; font-weight: 700; color: var(--heading); }
.plan-status { margin-left: auto; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 5px 13px; }
.plan-status.on { background: var(--green-light); color: var(--green); }
.plan-status.off { background: #F1F3F8; color: var(--muted); }
.plan-body { padding: 18px 24px; }
.cond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 32px; font-size: 13.5px; }
.cond-item { display: flex; }
.cond-label { color: var(--muted); width: 80px; flex-shrink: 0; }
.cond-value b { color: var(--blue); font-weight: 600; }
.push-record { margin-top: 16px; border-top: 1px dashed var(--line-soft); padding-top: 14px; font-size: 13.5px; }
.push-record .pr-title { color: var(--muted); margin-bottom: 8px; }
.push-record .pr-line { display: flex; gap: 10px; padding: 6px 0; color: var(--text); }
.push-record .pr-time { color: #8B96A8; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.push-record .pr-tag { flex-shrink: 0; }
.plan-ops { display: flex; gap: 10px; }
.plan-ops .btn { padding: 7px 18px; font-size: 13px; }
.sub-ops { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.sub-chip { display: inline-block; background: #F0F4FB; color: #3D5480; border-radius: 5px; padding: 4px 10px; font-size: 12px; margin: 0 4px 4px 0; }
.chips { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.chip-x { background: var(--blue-light); color: var(--blue); border-radius: 5px; padding: 4px 10px; font-size: 12px; }
.chip-x i { font-style: normal; margin-left: 5px; cursor: pointer; opacity: .6; }
.chip-add { border: 1px dashed #B9C6DD; color: var(--muted); border-radius: 5px; padding: 4px 12px; font-size: 12px; cursor: pointer; background: none; }
.chip-add:hover { border-color: var(--blue); color: var(--blue); }
.warn-bar {
  background: var(--orange-light); border: 1px solid #F0DCB4; border-radius: 10px;
  padding: 14px 20px; display: flex; align-items: center; font-size: 13.5px; color: #8A5B00;
}
.warn-bar a { color: var(--orange-deep); font-weight: 700; margin-left: auto; }
/* ============================================================
   会员中心
   ============================================================ */
.member-layout {
  display: grid; grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px; margin-top: 18px; align-items: start;
}
.sidebar-toggle { display: none; }
.member-nav {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 12px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.member-nav-heading {
  color: #8B96A8; font-size: 11.5px; font-weight: 700;
  padding: 10px 14px 8px; text-transform: uppercase; letter-spacing: .06em;
}
.member-nav-item + .member-nav-item { margin-top: 3px; }
.member-nav-item a {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
  padding: 10px 14px; border-radius: 8px; color: var(--text); font-size: 14px;
  transition: color .18s ease, background-color .18s ease;
}
.member-nav-item a i { color: #7C8AA0; width: 18px; text-align: center; }
.member-nav-item a:hover,
.member-nav-item a:focus-visible { color: var(--blue); background: #F4F7FD; }
.member-nav-item.active a { color: var(--blue); background: var(--blue-light); font-weight: 600; }
.member-nav-item.active a i { color: var(--blue); }
.member-main { min-width: 0; display: grid; gap: 18px; }
.member-hero {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px;
  align-items: center; color: #fff;
  background: linear-gradient(120deg, #0F1E4E 0%, #1E40AF 78%, #2B54C8 100%);
  border: none; border-radius: 14px; padding: 26px 28px; box-shadow: 0 12px 32px rgba(22, 48, 155, .28);
  position: relative; overflow: hidden;
}
.member-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 36px 36px;
}
.member-avatar {
  width: 78px; height: 78px; border-radius: 50%; overflow: hidden;
  border: 3px solid rgba(255,255,255,.35); flex-shrink: 0; position: relative; z-index: 1;
}
.member-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.member-hero-body { min-width: 0; position: relative; z-index: 1; }
.member-hero-body h1 { font-size: 22px; line-height: 1.35; margin-bottom: 6px; }
.member-hero-body p { color: rgba(255,255,255,.72); line-height: 1.6; overflow-wrap: anywhere; font-size: 13.5px; }
.member-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.member-hero-actions { display: flex; flex-direction: column; gap: 10px; min-width: 150px; position: relative; z-index: 1; }
.member-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-label { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.stat-value {
  color: var(--heading); font-size: 22px; font-weight: 800;
  font-family: var(--font-num); font-variant-numeric: tabular-nums; line-height: 1.3; letter-spacing: -.01em;
}
a.stat-value:hover { color: var(--blue); }
.stat-value.stat-time { font-size: 15px; font-weight: 600; }
.member-card { background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; padding: 24px; box-shadow: var(--shadow-sm); }
.member-card.narrow-card { max-width: 680px; }
.member-card-head {
  display: flex; align-items: flex-end; gap: 12px;
  margin-bottom: 20px; border-bottom: 1px solid var(--line-soft); padding-bottom: 15px;
}
.member-card-head h1,
.member-card-head h2 { font-size: 20px; line-height: 1.3; color: var(--heading); }
.member-card-head p { margin-left: auto; color: var(--muted); font-size: 13px; }
.member-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.member-links a {
  display: flex; align-items: center; gap: 10px; min-height: 58px;
  padding: 14px; border: 1px solid #E6EBF5; border-radius: 10px;
  background: #F8FAFE; font-size: 14px; transition: all .18s ease;
}
.member-links a i { color: var(--blue-mid); font-size: 16px; }
.member-links a:hover,
.member-links a:focus-visible { color: var(--blue); background: var(--blue-light); border-color: #C6D4F0; }
.sidenav { background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; padding: 10px; box-shadow: var(--shadow-sm); }
.sidenav a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--text); }
.sidenav a:hover, .sidenav a.active { color: var(--blue); background: var(--blue-light); }

/* ---------- 表单 ---------- */
.member-form { display: grid; gap: 22px; }
.avatar-editor { display: flex; align-items: center; gap: 16px; }
.profile-avatar-container {
  position: relative; width: 88px; height: 88px;
  border-radius: 50%; overflow: hidden; flex-shrink: 0;
}
.profile-user-img { width: 100%; height: 100%; display: block; object-fit: cover; }
.profile-avatar-text {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(15, 23, 42, .58); color: #fff; font-size: 12px;
  opacity: 0; transition: opacity .18s ease;
}
.profile-avatar-container:hover .profile-avatar-text,
.profile-avatar-container:focus-within .profile-avatar-text { opacity: 1; }
.profile-avatar-container button {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; background: transparent; font-size: 0; cursor: pointer;
}
.field-hint { color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.form-grid-single { grid-template-columns: 1fr; }
.form-item label { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--heading); }
.form-actions {
  display: flex; justify-content: flex-end; gap: 10px;
  padding-top: 18px; border-top: 1px dashed var(--line-soft);
}
.help-block { color: var(--muted); font-size: 12px; margin-top: 6px; }
.msg-box { display: block; min-height: 18px; color: var(--red); font-size: 12px; }
.input-group { display: flex; align-items: stretch; gap: 8px; }
.input-group .btn, .input-group .form-control { flex-shrink: 0; height: auto; }
.input-group .form-control { flex: 1; }
.form-horizontal .form-group { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 15px; }
.form-horizontal .control-label { flex: 0 0 92px; padding-top: 9px; font-size: 13.5px; text-align: right; color: var(--heading); font-weight: 500; }
.form-horizontal .form-group > div { flex: 1; min-width: 0; }
.form-horizontal .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
.form-horizontal .col-sm-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.form-horizontal .col-sm-offset-3 { margin-left: 25%; }
.form-horizontal .col-xs-12 { flex: 0 0 100%; max-width: 100%; }
.form-vertical .form-group { margin-bottom: 17px; }
.form-vertical .control-label { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--heading); }
.form-vertical .controls { display: flex; flex-direction: column; gap: 8px; }
.form-layer { position: relative; width: 100%; min-height: 240px; background: #fff; }
.form-layer .form-body {
  position: absolute; left: 0; right: 0; top: 0; bottom: 60px;
  overflow: auto; padding: 18px 20px;
}
.form-layer .form-footer {
  position: absolute; left: 0; right: 0; bottom: 0; height: 60px;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 20px; border-top: 1px solid var(--line-soft); background: #F8FAFE;
}
.form-layer .form-footer .form-group { margin: 0; }

/* ---------- 登录 / 注册 ---------- */
.user-section { max-width: 440px; margin: 40px auto; }
.login-section { background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); }
.logon-tab { display: flex; background: #F4F7FC; }
.logon-tab a {
  flex: 1; text-align: center; padding: 14px 0; font-size: 15px; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid transparent; transition: color .18s ease, border-color .18s ease;
}
.logon-tab a.active, .logon-tab a:hover { color: var(--blue); border-bottom-color: var(--blue); background: #fff; }
.login-main { padding: 26px 30px 30px; }
.logon-head { margin: 0 0 20px; padding-bottom: 15px; border-bottom: 1px solid var(--line-soft); font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--heading); }
.btn-forgot { color: var(--muted); font-size: 13px; }
.btn-forgot:hover { color: var(--blue); }
.bind-main { max-width: 440px; margin: 40px auto; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 30px; box-shadow: var(--shadow-md); }

/* ---------- 消息 ---------- */
.msg-item { display: flex; gap: 14px; padding: 16px 22px; border-bottom: 1px solid #F1F4F9; background: #fff; align-items: flex-start; }
.msg-item:first-child { border-radius: 12px 12px 0 0; }
.msg-item:last-child { border-bottom: none; border-radius: 0 0 12px 12px; }
.msg-item.unread { background: #F6F9FF; }
.msg-badge { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; color: var(--blue); }
.msg-body { flex: 1; min-width: 0; }
.msg-title { font-size: 14.5px; font-weight: 600; color: var(--heading); }
.msg-title a:hover { color: var(--blue); }
.msg-meta { font-size: 12px; color: #8B96A8; margin-top: 4px; }
.msg-content { font-size: 13px; color: var(--muted); margin-top: 5px; }
.dot-unread { display: inline-block; width: 8px; height: 8px; background: var(--red); border-radius: 50%; margin-left: 6px; vertical-align: middle; }

/* ---------- 跳转提示页 ---------- */
.jumpy { max-width: 420px; margin: 60px auto; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 36px 32px; text-align: center; box-shadow: var(--shadow-md); }
.jumpy h3 { font-size: 17px; margin-bottom: 10px; color: var(--heading); }
.jumpy p { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }

/* ---------- 面板 / 表格(FastAdmin 兼容) ---------- */
.panel { background: #fff; border: 1px solid var(--line-soft); border-radius: 12px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.panel-heading { padding: 15px 20px; border-bottom: 1px solid var(--line-soft); font-weight: 600; color: var(--heading); }
.panel-body { padding: 20px; }
.panel-intro { color: var(--muted); font-size: 13px; font-weight: 400; margin-left: 8px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.widget-body { padding: 16px 0; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table-bordered { border: 1px solid var(--line-soft); }
.table th, .table td { padding: 11px 12px; border-bottom: 1px solid #F1F4F9; text-align: left; }
.table th { color: var(--muted); font-weight: 600; background: #F8FAFE; }
.table-hover tr:hover td { background: #F8FAFE; }
.nav-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line-soft); }
.nav-tabs > li > a { display: block; padding: 10px 18px; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.nav-tabs > li.active > a, .nav-tabs > li > a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.tab-content { padding: 18px 0; }
.tab-pane.fade.in { display: block; }
.tab-pane.fade { display: none; }
.img-circle { border-radius: 50%; }
.required { color: var(--red); margin-right: 2px; }
.btn-captcha, .btn-change, .btn-refresh, .btn-choose-multi { white-space: nowrap; }
/* ============================================================
   VIP 定价
   ============================================================ */
.vip-hero { text-align: center; margin: 34px 0 26px; }
.vip-hero h1, .vip-hero h2 { font-size: 30px; font-weight: 800; color: var(--heading); letter-spacing: -.01em; }
.vip-hero p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.vip-hero .trial { color: var(--orange-deep); font-weight: 600; }
.vip-valid { margin-left: 18px; }
.plan-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; max-width: 1180px; margin: 0 auto; align-items: stretch; }
.plan-card-v.trial-card .pv-name { color: var(--blue); }
.plan-card-v {
  position: relative; background: #fff; border: 1px solid var(--line-soft); border-radius: 16px;
  padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan-card-v:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-card-v.hot {
  background: linear-gradient(165deg, #0F1E4E 0%, #1E40AF 100%);
  border-color: transparent; box-shadow: 0 18px 44px rgba(22, 48, 155, .35); color: #fff;
}
.ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--orange), #F59E0B); color: #fff; font-size: 12px; font-weight: 700;
  border-radius: 999px; padding: 5px 18px; box-shadow: 0 4px 12px rgba(217, 119, 6, .4);
}
.pv-name { font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 8px; color: var(--heading); }
.plan-card-v.hot .pv-name { color: #fff; }
.pv-name .tag { font-size: 11px; }
.pv-price { margin: 16px 0 4px; }
.pv-price b { font-size: 36px; font-weight: 800; color: var(--blue); font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.plan-card-v.hot .pv-price b { color: #fff; }
.pv-price span { color: var(--muted); font-size: 13px; }
.plan-card-v.hot .pv-price span { color: rgba(255,255,255,.6); }
.pv-sub { color: var(--muted); font-size: 12.5px; margin-bottom: 18px; min-height: 18px; }
.plan-card-v.hot .pv-sub { color: rgba(255,255,255,.6); }
.pv-features { flex: 1; margin-bottom: 20px; }
.pv-features li { padding: 7px 0; font-size: 13.5px; display: flex; gap: 9px; align-items: center; color: var(--text); }
.plan-card-v.hot .pv-features li { color: rgba(255,255,255,.85); }
.pv-features .yes::before { content: "\2713"; color: var(--green); font-weight: 700; }
.plan-card-v.hot .pv-features .yes::before { color: #6EE7A0; }
.pv-features .no { color: #A6B1C2; }
.plan-card-v.hot .pv-features .no { color: rgba(255,255,255,.4); }
.pv-features .no::before { content: "\2715"; color: #CBD5E4; }
.plan-card-v.hot .pv-features .no::before { color: rgba(255,255,255,.3); }
.pv-btn { width: 100%; min-height: 44px; border-radius: 8px; }
.pv-btn.cur { background: #F1F3F8; color: var(--muted); cursor: default; }
.plan-card-v.hot .pv-btn.cur { background: rgba(255,255,255,.14); color: rgba(255,255,255,.6); }
.pv-buy { display: flex; flex-direction: column; gap: 10px; }
.pay-panel {
  max-width: 1000px; margin: 0 auto 28px; background: #fff; border: 1px solid var(--line-soft);
  border-radius: 12px; padding: 16px 24px; display: flex; align-items: center; gap: 24px; font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.pay-panel .amount b { font-size: 22px; color: var(--red); font-variant-numeric: tabular-nums; }
.pay-hotline { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 24px; }

/* ============================================================
   页脚
   ============================================================ */
.site-footer { margin-top: 56px; background: #0F1B33; color: #8B96AC; font-size: 13.5px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px;
  padding: 44px 20px 36px;
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo-mark { width: 38px; height: 38px; font-size: 19px; border-radius: 9px; }
.footer-brand .logo-image { width: auto; height: 38px; max-width: 160px; }
.footer-brand .footer-name { font-size: 17px; font-weight: 700; color: #fff; }
.footer-brand p { line-height: 1.8; color: #7C89A3; max-width: 300px; }
.footer-col h4 { color: #DDE5F2; font-size: 14px; font-weight: 600; margin-bottom: 15px; }
.footer-col a { display: block; padding: 4px 0; color: #7C89A3; transition: color .18s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container {
  padding: 18px 20px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: #66738D;
}
.footer-bottom a { color: #8B96AC; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .home-grid { grid-template-columns: 300px minmax(0, 1fr); }
  .type-grid, .entry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .member-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-banner { padding: 34px 32px; gap: 28px; }
  .banner-body h1 { font-size: 26px; }
  .hero-panel { min-width: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 769px) {
  .filter-panel summary { display: none; }
}

@media (max-width: 768px) {
  body { font-size: 14.5px; }
  .container { padding: 0 14px; }
  .topbar-note { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-links { display: none; }
  .header-inner {
    display: grid; grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px; padding: 12px 14px;
  }
  .logo-text { font-size: 18px; }
  .logo-mark { width: 36px; height: 36px; font-size: 19px; }
  .header-search { order: 3; grid-column: 1 / -1; max-width: none; }
  .header-user { justify-self: end; flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; gap: 10px; font-size: 13px; }
  .header-user > a:not(.btn):not(.user-link) { display: none; }
  .main-nav .container { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .main-nav .container::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 12px 13px; font-size: 14px; white-space: nowrap; }
  .quick-bar { gap: 8px; flex-wrap: wrap; padding: 8px 14px 0; }
  .quick-item { min-height: 42px; }
  .quick-wrap { flex: 0 0 auto; }
  .quick-wrap.open { flex-basis: 100%; }
  .home-banner { flex-direction: column; align-items: stretch; padding: 28px 22px; gap: 22px; margin-top: 14px; }
  .banner-body h1 { font-size: 23px; }
  .banner-actions { flex-wrap: wrap; }
  .banner-cta, .banner-ghost { width: 100%; justify-content: center; }
  .hero-panel { margin-left: 0; min-width: 0; width: 100%; }
  .hp-grid { gap: 14px 18px; }
  .hp-item b { font-size: 23px; }
  .type-grid, .entry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .home-grid, .home-bottom { grid-template-columns: minmax(0, 1fr); }
  .benefit-grid { grid-template-columns: 1fr; }
  .ti-title { white-space: normal; font-size: 14.5px; }
  .tender-item { padding: 15px 16px; }
  .ti-amount { font-size: 12px; }
  .ti-actions { gap: 10px; }
  .btn, .fp-input, .fp-select, .input, .select, .form-control { min-height: 44px; }
  .btn-mini { min-height: 36px; padding: 5px 12px; }
  .fp-row { flex-wrap: wrap; }
  .fp-label { width: 100%; padding: 4px 0; }
  .fp-input.wide, .input.wide, .fp-input.medium, .input.medium { width: 100%; }
  .time-label { margin-left: 0; width: 100%; }
  .result-bar { flex-wrap: wrap; gap: 8px; }
  .df-grid { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .dc-head { flex-direction: column; }
  .dc-head h1 { font-size: 18px; }
  .detail-card { padding: 20px 18px; }
  .bc-head { padding: 16px 18px 0; }
  .bc-body { padding: 14px 18px 20px; }
  .timeline { flex-wrap: wrap; }
  .tl-node { flex: 1 1 40%; margin-bottom: 12px; }
  .pay-panel { flex-wrap: wrap; gap: 12px; }
  .plan-cards { grid-template-columns: 1fr; }
  .cond-grid { grid-template-columns: 1fr; }
  .filter-panel { padding: 14px 16px; }
  .member-layout { grid-template-columns: 1fr; }
  .member-nav { padding: 8px; }
  .member-nav-item a { min-height: 44px; }
  .member-hero { grid-template-columns: 1fr; align-items: flex-start; padding: 22px 20px; }
  .member-hero-actions { flex-direction: row; flex-wrap: wrap; width: 100%; }
  .member-hero-actions .btn { flex: 1 1 auto; }
  .member-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-card { padding: 18px 16px; }
  .member-card-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .member-card-head p { margin-left: 0; }
  .member-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 32px 14px 24px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .vip-hero h1, .vip-hero h2 { font-size: 24px; }
  .social-login { display: flex; flex-wrap: wrap; gap: 8px; }
  .social-login .btn { flex: 1 1 calc(33.33% - 6px); min-width: 0; text-align: center; white-space: nowrap; font-size: 13px; padding: 8px 6px; }
  .pv-price b { font-size: 31px; }
}

@media (max-width: 480px) {
  .type-grid, .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .df-grid { grid-template-columns: 1fr; }
  .member-stats { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 19px; }
  .banner-body h1 { font-size: 21px; }
}

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

/* ---------- 可访问性焦点 ---------- */
.btn:focus-visible,
.chip:focus-visible,
.page:focus-visible,
.view-tabs a:focus-visible,
.fav:focus-visible,
.main-nav a:focus-visible,
.quick-menu a:focus-visible,
.quick-advanced:focus-visible,
.topbar-links a:focus-visible,
.member-nav-item a:focus-visible,
.member-links a:focus-visible,
.entry-card:focus-visible,
.type-card:focus-visible,
.search-input:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 2px;
}
