/* ============================================================
   B2B 网站系统 - 全局样式（gys 供应商风格模板）
   中国供应商网式红白配色 + 橙色行动点，PC / 平板 / 手机自适应
   ============================================================ */
:root {
  --primary: #1a5fd0;
  --primary-dark: #1248a8;
  --primary-deep: #0c2d63;
  --accent: #ff7a00;
  --accent-dark: #e56a00;
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #23262b;
  --text-sub: #667085;
  --border: #e8e8ec;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(20, 55, 150, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--primary-deep); color: #cfdcf0; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; }
.topbar a { color: #e8f0fb; margin-left: 16px; }
.topbar a:hover { color: #fff; }
.topbar-tel { margin-left: 18px; color: #ffd9b8; }

/* ---------- 头部 ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--border); padding: 18px 0; }
.header-inner { display: flex; align-items: center; gap: 24px; }
.logo a { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 52px; height: 52px; flex: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff; font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(26, 95, 208, 0.35);
}
.logo-text strong { display: block; font-size: 22px; color: var(--primary-deep); letter-spacing: 1px; }
.logo-text small { color: var(--text-sub); font-size: 12px; }
.header-search { flex: 1; max-width: 460px; margin-left: auto; display: flex; }
.header-search input {
  flex: 1; height: 44px; padding: 0 16px;
  border: 2px solid var(--primary); border-right: none;
  border-radius: 8px 0 0 8px; font-size: 14px; outline: none;
}
.header-search button {
  width: 90px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-size: 15px; font-weight: 600;
  border-radius: 0 8px 8px 0;
}
.header-search button:hover { background: var(--primary-dark); }

/* ---------- 主导航 ---------- */
.main-nav {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 3px 12px rgba(26, 95, 208, 0.25);
  position: sticky; top: 0; z-index: 99;
}
.main-nav .container { display: flex; overflow-x: auto; }
.main-nav a {
  color: #dce8fb; padding: 13px 26px; font-size: 16px; font-weight: 500;
  white-space: nowrap; border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.main-nav a.active { color: #fff; background: rgba(255, 255, 255, 0.14); border-bottom-color: var(--accent); }

/* ---------- 页面主体 ---------- */
.page-main { padding: 28px 0 48px; min-height: 520px; }

/* ---------- 首页 Hero ---------- */
.hero {
  background: linear-gradient(135deg, rgba(12, 45, 99, 0.98), rgba(26, 95, 208, 0.9));
  color: #fff; border-radius: var(--radius);
  padding: 56px 40px; margin-bottom: 30px;
  position: relative; overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.hero::before { width: 340px; height: 340px; right: -70px; top: -110px; box-shadow: 0 0 0 28px rgba(255,255,255,0.06), 0 0 0 56px rgba(255,255,255,0.04), 0 0 0 84px rgba(255,255,255,0.03); }
.hero::after { width: 150px; height: 150px; right: 60px; bottom: -50px; box-shadow: 0 0 0 20px rgba(255,255,255,0.06), 0 0 0 40px rgba(255,255,255,0.04); }
.hero h1, .hero p, .hero-actions, .hero-stats { position: relative; z-index: 1; }
.hero h1 { font-size: 34px; margin-bottom: 12px; letter-spacing: 1px; }
.hero p { font-size: 16px; opacity: 0.92; max-width: 640px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 26px; border-radius: 8px; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: all 0.2s;
}
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(255, 106, 0, 0.35); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-white { background: #fff; color: var(--primary-deep); }
.btn-white:hover { background: #eef3fb; color: var(--primary-deep); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-block { width: 100%; }

.hero-stats { display: flex; gap: 40px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats .stat b { font-size: 30px; display: block; }
.hero-stats .stat span { font-size: 13px; opacity: 0.9; }

/* ---------- 区块 ---------- */
.section { margin-bottom: 34px; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-head h2 {
  font-size: 21px; color: var(--primary-deep);
  padding-left: 12px; border-left: 4px solid var(--accent);
}
.section-head .more { font-size: 14px; color: var(--text-sub); }
.section-head .more:hover { color: var(--accent); }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(20, 55, 150, 0.14); }
.card-media { display: block; position: relative; aspect-ratio: 4/3; background: #eef1f6; overflow: hidden; }
.card-media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; box-sizing: border-box; }
.card-media .tag {
  position: absolute; left: 10px; top: 10px;
  background: var(--accent); color: #fff;
  font-size: 12px; padding: 2px 10px; border-radius: 20px;
}
.card-body { padding: 14px 16px 16px; }
.card-body h3 { font-size: 15px; margin-bottom: 8px; line-height: 1.45; height: 44px; overflow: hidden; }
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { color: var(--primary); }
.card-meta { color: var(--text-sub); font-size: 13px; display: flex; justify-content: space-between; }
.card-price { color: var(--accent); font-weight: 700; font-size: 16px; }

/* ---------- 供求列表项 ---------- */
.list-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.list-item {
  padding: 16px 20px; border-bottom: 1px solid #f0f2f6;
  display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
}
.list-item:last-child { border-bottom: none; }
.list-item h3 { font-size: 16px; margin-bottom: 6px; }
.list-item h3 .type {
  font-size: 12px; padding: 1px 10px; border-radius: 20px; margin-right: 8px; font-weight: 400;
}
.type-supply { background: #e7f4ec; color: #138a3d; }
.type-demand { background: #fdf0e6; color: #d96900; }
.list-item p { color: var(--text-sub); font-size: 14px; margin-bottom: 8px; }
.list-item .meta { color: #98a2b3; font-size: 13px; }
.list-company { flex: none; color: var(--primary); font-size: 14px; }

/* ---------- 企业卡片 ---------- */
.company-card { display: flex; flex-direction: column; }
.company-card .company-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 8px; }
.company-avatar {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.company-avatar img { width: 100%; height: 100%; object-fit: cover; }
.company-card .company-head h3 { font-size: 15px; }
.company-card .company-head .badge {
  font-size: 12px; color: #138a3d; background: #e7f4ec;
  padding: 1px 8px; border-radius: 20px; margin-top: 4px; display: inline-block;
}
.company-card .company-foot {
  padding: 10px 16px 14px; color: var(--text-sub); font-size: 13px;
  border-top: 1px dashed var(--border); margin-top: auto;
}

/* ---------- 侧边栏 ---------- */
.layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; }
.sidebar-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.sidebar-card h3 { font-size: 16px; color: var(--primary-deep); margin-bottom: 12px; }
.side-cat a { display: block; padding: 8px 12px; border-radius: 6px; color: var(--text); font-size: 14px; }
.side-cat a:hover { background: #eef4fd; color: var(--primary); }
.side-cat a.active { background: var(--primary); color: #fff; }
.side-cat a .num { float: right; color: #98a2b3; font-size: 12px; }
.side-cat a.active .num { color: #cfe0fb; }

/* ---------- 详情页 ---------- */
.detail-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.detail-card h1 { font-size: 24px; color: var(--text); margin-bottom: 10px; }
.detail-meta { color: var(--text-sub); font-size: 14px; margin-bottom: 20px; }
.detail-meta span { margin-right: 18px; }
.product-top { display: grid; grid-template-columns: 320px 1fr; gap: 24px; }
.product-top .cover { border-radius: var(--radius); overflow: hidden; background: #eef1f6; aspect-ratio: 4/3; }
.product-top .cover img { width: 100%; height: 100%; object-fit: cover; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table td { padding: 9px 4px; border-bottom: 1px dashed #edf0f5; font-size: 14px; }
.info-table td:first-child { color: var(--text-sub); width: 100px; }
.price-big { color: var(--accent); font-size: 24px; font-weight: 700; }
.inquiry-panel {
  background: #f2f7ff; border: 1px solid #c9d9f6; border-radius: var(--radius);
  padding: 20px; margin-top: 26px;
}
.inquiry-panel h3 { font-size: 16px; margin-bottom: 14px; color: var(--primary-deep); }
.rich-text { margin-top: 20px; line-height: 1.9; color: #3a3f47; }
.rich-text img { max-width: 100%; border-radius: 6px; margin: 8px 0; }

/* ---------- 表单 ---------- */
.form-card { max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 30px 34px; box-shadow: var(--shadow); }
.form-card.wide { max-width: 720px; }
.form-card h1 { font-size: 22px; margin-bottom: 6px; color: var(--primary-deep); }
.form-card .sub { color: var(--text-sub); font-size: 14px; margin-bottom: 22px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; margin-bottom: 6px; color: #444; }
.form-group label .req { color: var(--accent); margin-left: 2px; }
.form-control {
  width: 100%; height: 42px; padding: 0 14px; font-size: 14px;
  border: 1px solid #d4dae3; border-radius: 8px; outline: none;
  background: #fbfcfe; transition: border 0.2s, box-shadow 0.2s;
}
textarea.form-control { height: auto; min-height: 110px; padding: 10px 14px; resize: vertical; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26, 95, 208, 0.12); background: #fff; }
.form-hint { font-size: 12px; color: #98a2b3; margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { margin-top: 22px; }
.form-actions .btn { width: 100%; height: 44px; font-size: 16px; }
.form-foot { text-align: center; margin-top: 16px; font-size: 14px; color: var(--text-sub); }

/* ---------- 提示条 ---------- */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 14px; }
.alert-error { background: #fdecec; color: #b42318; border: 1px solid #f6c6c2; }
.alert-success { background: #e9f7ef; color: #117a3c; border: 1px solid #bfe6d0; }
.alert-info { background: #eef4fd; color: #1a5fd0; border: 1px solid #c9d9f6; }

/* ---------- 分页 ---------- */
.pagination { margin-top: 26px; text-align: center; }
.pagination ul { display: inline-flex; gap: 6px; list-style: none; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 6px;
  color: var(--text); font-size: 14px;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active span { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .disabled span { color: #c1c7d0; background: #f6f7f9; }
.pagination .dots span { border: none; background: none; }

/* ---------- 会员中心 / 后台布局 ---------- */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.admin-side {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.admin-side .side-title {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; padding: 14px 18px; font-weight: 600;
}
.admin-side a { display: block; padding: 11px 18px; color: var(--text); font-size: 14px; border-bottom: 1px solid #f2f4f8; }
.admin-side a:hover { background: #eef4fd; color: var(--primary); }
.admin-side a.active { background: #eef4fd; color: var(--primary); border-left: 3px solid var(--primary); }
.admin-side a .badge {
  float: right; background: var(--accent); color: #fff;
  font-size: 12px; min-width: 20px; text-align: center;
  border-radius: 20px; padding: 0 6px;
}
.admin-main { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; min-width: 0; }
.admin-main h1 { font-size: 20px; color: var(--primary-deep); margin-bottom: 18px; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-toolbar form { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-toolbar input, .admin-toolbar select {
  height: 36px; padding: 0 12px; border: 1px solid #d4dae3; border-radius: 6px; font-size: 14px;
}
.admin-toolbar button {
  height: 36px; padding: 0 16px; background: var(--primary); color: #fff;
  border: none; border-radius: 6px; cursor: pointer;
}

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  background: #f2f5fa; color: #475467; font-weight: 600; text-align: left;
  padding: 11px 12px; white-space: nowrap;
}
.data-table td { padding: 10px 12px; border-bottom: 1px solid #eef1f6; vertical-align: middle; }
.data-table tr:hover td { background: #fafbfe; }
.data-table .actions a { margin-right: 10px; font-size: 13px; }
.data-table .actions a.danger { color: #d92d20; }
.data-table .thumb { width: 60px; height: 45px; object-fit: cover; border-radius: 6px; background: #eef1f6; }
.status-badge { font-size: 12px; padding: 2px 10px; border-radius: 20px; }
.status-0 { background: #fff4e6; color: #d96900; }
.status-1 { background: #e7f4ec; color: #138a3d; }
.status-2 { background: #eef0f3; color: #667085; }

/* ---------- 统计卡片 ---------- */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.stat-card b { font-size: 28px; color: var(--primary); display: block; margin-bottom: 4px; }
.stat-card span { color: var(--text-sub); font-size: 13px; }
.stat-card .ico { float: right; font-size: 26px; opacity: 0.25; }

/* ---------- gys 首页三栏布局 ---------- */
.home-layout { display: grid; grid-template-columns: 250px 1fr 290px; gap: 18px; align-items: start; margin-bottom: 30px; }
.home-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.home-panel .panel-head {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-size: 15px; font-weight: 600; padding: 11px 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.home-panel .panel-head a { color: #dce9ff; font-size: 12px; font-weight: 400; }
.home-panel .panel-head a:hover { color: #fff; }

/* 左侧行业分类 */
.cat-tree { padding: 8px 0; }
.cat-tree a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 16px; color: var(--text); font-size: 14px; border-bottom: 1px dashed #f1f1f4;
}
.cat-tree a:hover { background: #eef4fd; color: var(--primary); padding-left: 20px; }
.cat-tree a .num { color: #b3b8c0; font-size: 12px; }
.cat-tree a:last-child { border-bottom: none; }
.cat-tree .cat-hot { color: var(--primary); font-weight: 600; }
.cat-tree .cat-hot::before { content: "热"; display: inline-block; font-size: 10px; color: #fff; background: var(--accent); border-radius: 4px; padding: 0 5px; margin-right: 6px; vertical-align: 1px; }

/* 中间推荐产品 */
.home-main .panel-head { margin-bottom: 0; }
.home-products { padding: 14px 16px 8px; }
.home-products .grid-2 { gap: 14px; }
.home-mini {
  display: flex; gap: 12px; padding: 10px; border: 1px solid #f0f0f3; border-radius: var(--radius);
  transition: box-shadow 0.2s;
}
.home-mini:hover { box-shadow: 0 4px 14px rgba(20, 55, 150, 0.12); }
.home-mini .thumb { width: 88px; height: 88px; flex: none; border-radius: 6px; overflow: hidden; background: #eef0f3; }
.home-mini .thumb img { width: 100%; height: 100%; object-fit: cover; }
.home-mini .info { flex: 1; min-width: 0; }
.home-mini .info h4 { font-size: 14px; line-height: 1.4; height: 40px; overflow: hidden; margin-bottom: 4px; }
.home-mini .info h4 a { color: var(--text); }
.home-mini .info h4 a:hover { color: var(--primary); }
.home-mini .info .price { color: var(--accent); font-weight: 700; font-size: 15px; }
.home-mini .info .co { color: #98a2b3; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 右侧最新采购 */
.purchase-list { padding: 6px 0; }
.purchase-item { padding: 12px 16px; border-bottom: 1px dashed #f1f1f4; }
.purchase-item:last-child { border-bottom: none; }
.purchase-item .pt { font-size: 14px; line-height: 1.45; height: 40px; overflow: hidden; margin-bottom: 6px; }
.purchase-item .pt a { color: var(--text); }
.purchase-item .pt a:hover { color: var(--primary); }
.purchase-item .pm { color: var(--text-sub); font-size: 12px; margin-bottom: 4px; }
.purchase-item .pm b { color: var(--accent); font-weight: 700; }
.purchase-item .pf { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #98a2b3; }
.purchase-btn {
  background: var(--primary); color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 14px;
}
.purchase-btn:hover { background: var(--primary-dark); color: #fff; }
.purchase-more { display: block; text-align: center; padding: 10px 0; color: var(--primary); font-size: 13px; }
.purchase-more:hover { background: #eef4fd; }

/* 首页区块标题（红） */
.section-head h2 { border-left: 4px solid var(--accent); }

/* 品牌专区（认证企业红卡） */
.brand-zone { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.brand-card {
  display: flex; align-items: center; gap: 10px; padding: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  transition: box-shadow 0.2s;
}
.brand-card:hover { box-shadow: 0 4px 14px rgba(20, 55, 150, 0.12); }
.brand-card .logo { width: 46px; height: 46px; flex: none; border-radius: 8px; overflow: hidden; background: #eef4fd; color: var(--primary); font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.brand-card .logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-card .meta { min-width: 0; }
.brand-card .meta h4 { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-card .meta h4 a { color: var(--text); }
.brand-card .meta h4 a:hover { color: var(--primary); }
.brand-card .meta .sub { font-size: 12px; color: #98a2b3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.brand-card .meta .badge { font-size: 11px; color: #1a5fd0; background: #eef4fd; padding: 0 6px; border-radius: 10px; }

/* 顶部公告条 */
.announce-bar { background: #fff7f0; border: 1px solid #ffd9ad; border-radius: var(--radius); padding: 8px 16px; margin-bottom: 18px; font-size: 13px; color: #a05a00; display: flex; align-items: center; gap: 10px; }
.announce-bar .lb { color: #fff; background: var(--accent); font-size: 12px; padding: 1px 10px; border-radius: 12px; flex: none; }

/* 头部搜索扩展（发布按钮） */
.header-extra { display: flex; gap: 10px; margin-left: auto; align-items: center; }
.btn-publish { background: var(--accent); color: #fff; font-weight: 600; padding: 9px 20px; border-radius: 6px; font-size: 14px; box-shadow: 0 3px 10px rgba(255, 122, 0, 0.35); }
.btn-publish:hover { background: var(--accent-dark); color: #fff; }

/* 搜索框 Tab（产品 / 公司 / 求购） */
.header-search-wrap { flex: 1; max-width: 500px; margin-left: auto; }
.search-tabs { display: flex; gap: 18px; padding: 0 4px 6px; }
.search-tabs a { font-size: 14px; color: var(--text-sub); padding-bottom: 3px; border-bottom: 2px solid transparent; }
.search-tabs a.active { color: var(--primary); font-weight: 600; border-bottom-color: var(--primary); }
.header-search { display: flex; }
.header-search input {
  flex: 1; height: 42px; padding: 0 16px;
  border: 2px solid var(--primary); border-right: none;
  border-radius: 6px 0 0 6px; font-size: 14px; outline: none;
}
.header-search button {
  width: 88px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-size: 15px; font-weight: 600;
  border-radius: 0 6px 6px 0;
}
.header-search button:hover { background: var(--primary-dark); }

/* 功能服务条（gys 式服务入口） */
.service-row { background: #fff; border-bottom: 1px solid var(--border); }
.service-row-inner { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 16px; }
.service-row a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; font-size: 13px; color: var(--text);
  border-radius: 4px;
}
.service-row a:hover { background: #eef4fd; color: var(--primary); }
.service-row .sr-ico {
  width: 20px; height: 20px; border-radius: 4px;
  background: #eef4fd; color: var(--primary); font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
}

/* 首页右侧：登录面板 */
.home-login { padding: 18px 16px; background: linear-gradient(180deg, #eef4fd, #fff); border-bottom: 1px solid #f0f0f3; }
.hl-hello { font-size: 16px; font-weight: 700; color: var(--primary-deep); margin-bottom: 4px; }
.hl-sub { font-size: 12px; color: var(--text-sub); margin-bottom: 12px; }
.hl-actions { display: flex; gap: 10px; }
.hl-actions .btn { flex: 1; padding: 8px 0; }

/* 首页右侧：服务入口网格 */
.home-entry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 16px; border-bottom: 1px solid #f0f0f3; }
.home-entry a {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 10px 4px; font-size: 12px; color: var(--text);
  border: 1px solid #f0f0f3; border-radius: 6px;
}
.home-entry a:hover { border-color: var(--primary); color: var(--primary); }
.home-entry a span {
  width: 30px; height: 30px; border-radius: 50%;
  background: #eef4fd; color: var(--primary); font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

/* 首页右侧：公告板 */
.notice-board { padding: 8px 0; }
.nb-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; }
.nb-head .nb-title { font-size: 14px; font-weight: 700; color: var(--primary-deep); }
.nb-head a { font-size: 12px; color: var(--text-sub); }
.notice-board ul { list-style: none; }
.notice-board li { padding: 8px 16px; border-top: 1px dashed #f1f1f4; }
.notice-board li a { font-size: 13px; color: var(--text); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-board li a:hover { color: var(--primary); }

/* 平台服务三卡 */
.promo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.promo-card {
  display: flex; flex-direction: column; gap: 8px; padding: 22px 24px;
  border-radius: var(--radius); color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.promo-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(20, 55, 150, 0.18); }
.promo-card b { font-size: 18px; }
.promo-card span { font-size: 13px; opacity: 0.92; }
.promo-card i { font-style: normal; font-size: 13px; font-weight: 600; margin-top: 4px; }
.promo-1 { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.promo-2 { background: linear-gradient(135deg, #14539e, #0d3c78); }
.promo-3 { background: linear-gradient(135deg, #2a86d8, #175f9e); }

/* 首页中间列 */
.home-main .hero { margin-bottom: 18px; }

/* 页脚友情链接 */
.foot-links { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 12px 16px; font-size: 12px; color: #7e93ad; }
.foot-links .container { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot-links a { color: #7e93ad; }
.foot-links a:hover { color: #fff; }

/* ---------- 页脚 ---------- */
.site-footer { background: #10243f; color: #9db2cd; font-size: 14px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; padding: 40px 16px 30px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #9db2cd; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 14px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .product-top { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .home-layout { grid-template-columns: 1fr; }
  .home-side { order: 3; }
  .brand-zone { grid-template-columns: repeat(2, 1fr); }
  .promo-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar-tel { display: none; }
  .header-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .header-search { max-width: none; }
  .header-extra { margin-left: 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 34px 22px; }
  .hero h1 { font-size: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .list-item { flex-direction: column; }
  .admin-main { padding: 16px; }
  .home-products .grid-2 { grid-template-columns: 1fr; }
  .brand-zone { grid-template-columns: 1fr; }
}
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #e8f7ee; border: 1px solid #b8e6c9; color: #1d7a44; }

/* ============================================================
   首页中间：行业分类楼层（1F / 2F / 3F…）
   ============================================================ */
.floor-zone { display: flex; flex-direction: column; gap: 14px; }
.floor { background: #fff; border: 1px solid #f0f0f3; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(20, 30, 60, 0.05); }
.floor-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 14px; font-size: 14px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.floor-head a { color: rgba(255, 255, 255, 0.92); font-size: 12px; font-weight: 400; }
.floor-head a:hover { color: #fff; }
.floor-body { display: grid; grid-template-columns: 118px 1fr 150px; gap: 12px; padding: 12px; }

/* 左：分类主图卡 */
.floor-lead { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.floor-lead .fl-pic {
  height: 106px; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, #f0f4f9, #e3ebf6); color: #b9c8dd;
  font-size: 34px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.floor-lead .fl-pic img { width: 100%; height: 100%; object-fit: cover; }
.floor-lead b { font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.floor-lead b a { color: inherit; }
.floor-lead span { font-size: 11px; color: var(--text-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.floor-lead .fl-more { font-size: 12px; color: var(--primary); }

/* 中：产品词条网格 */
.floor-words { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px 10px; align-content: start; min-width: 0; }
.floor-words a {
  font-size: 13px; color: var(--text); padding: 7px 9px;
  background: #fafbfd; border: 1px solid #f1f4f8; border-radius: 6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: all 0.15s;
}
.floor-words a:hover { border-color: var(--primary); color: var(--primary); }

/* 右：品牌专区 */
.floor-brands { border-left: 1px dashed #e8ecf2; padding-left: 12px; min-width: 0; }
.floor-brands h5 { font-size: 12px; color: var(--text-sub); font-weight: 600; margin: 0 0 8px; }
.floor-brands .fb { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.floor-brands .fb:last-child { margin-bottom: 0; }
.floor-brands .fb .fb-logo {
  width: 36px; height: 36px; border-radius: 6px; flex: none;
  background: #f0f4f9; color: var(--primary); font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.floor-brands .fb .fb-logo img { width: 100%; height: 100%; object-fit: cover; }
.floor-brands .fb div { min-width: 0; }
.floor-brands .fb b { font-size: 12px; color: var(--text); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.floor-brands .fb span { font-size: 10px; color: var(--text-sub); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 底部：3 个产品小卡 */
.floor-tags { display: flex; gap: 8px; padding: 0 12px 12px; }
.floor-tags .ft {
  flex: 1; min-width: 0; display: flex; gap: 8px; align-items: center;
  border: 1px solid #f1f4f8; border-radius: 8px; padding: 8px;
}
.floor-tags .ft:hover { border-color: var(--primary); }
.floor-tags .ft .ft-pic {
  width: 46px; height: 46px; border-radius: 6px; flex: none; overflow: hidden;
  background: #f5f8fc; color: #b9c8dd; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.floor-tags .ft .ft-pic img { width: 100%; height: 100%; object-fit: cover; }
.floor-tags .ft div { min-width: 0; flex: 1; }
.floor-tags .ft b { font-size: 12px; color: var(--text); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.floor-tags .ft span { font-size: 10px; color: var(--text-sub); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 楼层响应式 */
@media (max-width: 992px) {
  .floor-body { grid-template-columns: 118px 1fr; }
  .floor-brands { grid-column: 1 / -1; border-left: none; border-top: 1px dashed #e8ecf2; padding: 10px 0 0; margin-top: 4px; }
}
@media (max-width: 640px) {
  .floor-body { grid-template-columns: 1fr; }
  .floor-words { grid-template-columns: 1fr; }
  .floor-lead .fl-pic { height: 130px; }
  .floor-tags { flex-direction: column; }
}

/* ===== 首页内容板块（最新产品 / 推荐企业 / 热门分类） ===== */
.hp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }
.hp-item {
  display: flex; flex-direction: column; gap: 8px; padding: 10px;
  border: 1px solid #f0f1f5; border-radius: 8px; transition: all .2s;
}
.hp-item:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(26, 95, 208, .08); }
.hp-pic {
  display: block; width: 100%; height: 110px; border-radius: 6px; overflow: hidden;
  background: linear-gradient(135deg, #eef3fc, #f7f8fa); color: var(--primary);
  font-size: 34px; font-weight: 700; text-align: center; line-height: 110px; text-decoration: none;
}
.hp-pic img { width: 100%; height: 100%; object-fit: cover; }
.hp-info { display: block; min-width: 0; }
.hp-info b { display: block; font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-info i { display: block; margin-top: 3px; font-size: 12px; font-style: normal; color: var(--primary); font-weight: 600; }

.hp-companies { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 14px; }
.hp-company {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border: 1px solid #f0f1f5; border-radius: 8px; transition: all .2s;
}
.hp-company:hover { border-color: var(--primary); background: #f5f9ff; }
.hp-c-logo {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, #eef3fc, #f7f8fa); color: var(--primary);
  font-size: 18px; font-weight: 700; text-align: center; line-height: 40px; text-decoration: none;
}
.hp-c-logo img { width: 100%; height: 100%; object-fit: cover; }
.hp-c-info { min-width: 0; }
.hp-c-info b { display: block; font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-c-info i { display: block; margin-top: 2px; font-size: 11px; font-style: normal; color: var(--text-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.hp-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; }
.hp-tags a {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px;
  font-size: 12px; color: var(--text); background: #f7f8fa; border-radius: 14px; transition: all .2s;
}
.hp-tags a:hover { background: var(--primary); color: #fff; }
.hp-tags em { font-style: normal; font-size: 10px; color: var(--text-sub); }
.hp-tags a:hover em { color: rgba(255, 255, 255, .85); }

@media (max-width: 480px) {
  .hp-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   会员中心 · 大气版（所有规则限定在 .admin-layout 内，后台不受影响）
   ============================================================ */
.member-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(118deg, #0a2255 0%, #1248a8 40%, #1a5fd0 100%);
  margin-top: -28px;
}
.member-hero::before {
  content: ""; position: absolute; right: -60px; top: -140px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 68%);
}
.member-hero::after {
  content: ""; position: absolute; left: 34%; bottom: -160px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(110,175,255,.22) 0%, rgba(255,140,60,0) 70%);
}
.member-hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 28px;
  padding: 36px 16px 32px; flex-wrap: wrap;
}
.mh-id { display: flex; align-items: center; gap: 16px; flex: 1 1 320px; min-width: 0; }
.mh-avatar {
  width: 80px; height: 80px; flex: none; overflow: hidden;
  border-radius: 18px; border: 2px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
}
.mh-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mh-name { min-width: 0; }
.mh-name h1 {
  font-size: 26px; line-height: 1.35; font-weight: 700; color: #fff;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 6px;
}
.mh-cert { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; letter-spacing: .5px; }
.mh-cert.ok { color: #ffd166; background: rgba(255,209,102,.16); border: 1px solid rgba(255,209,102,.55); }
.mh-cert.wait { color: #dbe8ff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.32); }
.mh-name p { font-size: 13px; color: rgba(255,255,255,.78); }
.mh-stats { display: flex; align-items: center; flex: 0 0 auto; }
.mh-stats div { text-align: center; padding: 0 24px; }
.mh-stats div + div { border-left: 1px solid rgba(255,255,255,.22); }
.mh-stats b { display: block; font-size: 32px; line-height: 1.1; font-weight: 700; }
.mh-stats span { font-size: 12px; color: rgba(255,255,255,.72); }
.mh-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-left: auto; }
.mh-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 22px; border-radius: 9px;
  font-size: 14px; font-weight: 600; letter-spacing: .5px;
  transition: all .2s;
}
.mh-btn.solid { background: #ff7a00; color: #fff; box-shadow: 0 8px 20px rgba(255,122,0,.42); }
.mh-btn.solid:hover { background: #e56a00; color: #fff; }
.mh-btn.ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.38); }
.mh-btn.ghost:hover { background: rgba(255,255,255,.26); color: #fff; }

.member-body { padding-top: 26px; }

/* ---------- 会员中心布局 ---------- */
.admin-layout { display: grid; grid-template-columns: 252px 1fr; gap: 20px; align-items: start; }
.admin-layout > .admin-side {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 6px 22px rgba(127,15,20,.07);
  overflow: hidden; padding: 0 0 10px; position: sticky; top: 14px;
}
.admin-layout .side-profile {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 16px;
  background: linear-gradient(135deg, #f2f7ff 0%, #eef4fd 100%);
  border-bottom: 1px solid #d6e3fa;
}
.admin-layout .side-avatar {
  width: 48px; height: 48px; flex: none; overflow: hidden;
  border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff; font-size: 19px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(215,25,32,.3);
}
.admin-layout .side-avatar img { width: 100%; height: 100%; object-fit: cover; }
.admin-layout .side-meta { min-width: 0; }
.admin-layout .side-meta strong {
  display: block; font-size: 14px; color: var(--primary-deep);
  line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.admin-layout .side-meta span { font-size: 12px; color: var(--text-sub); }
.admin-layout .side-group {
  padding: 14px 18px 6px; font-size: 12px; color: #98a2b3; letter-spacing: 1px;
}
.admin-layout > .admin-side > a {
  display: flex; align-items: center; gap: 10px;
  margin: 2px 10px; padding: 10px 12px;
  border-bottom: none; border-radius: 8px;
  color: var(--text); font-size: 14px; transition: all .18s;
}
.admin-layout > .admin-side > a .mi {
  width: 24px; height: 24px; flex: none; border-radius: 6px;
  background: #f5f6f8; color: var(--primary);
  font-size: 13px; display: flex; align-items: center; justify-content: center;
}
.admin-layout > .admin-side > a:hover { background: #eef4fd; color: var(--primary); }
.admin-layout > .admin-side > a.active {
  background: linear-gradient(90deg, var(--primary), #2f6fe0);
  color: #fff; box-shadow: 0 4px 12px rgba(215,25,32,.28);
}
.admin-layout > .admin-side > a.active .mi { background: rgba(255,255,255,.24); color: #fff; }
.admin-layout > .admin-side > a .badge { margin-left: auto; }
.admin-layout > .admin-side > a.side-logout {
  margin-top: 12px; border-top: 1px solid #f2f4f8; border-radius: 0;
  padding-top: 14px; padding-bottom: 14px; color: #98a2b3;
}
.admin-layout > .admin-side > a.side-logout .mi { background: #f5f6f8; color: #98a2b3; }
.admin-layout > .admin-side > a.side-logout:hover { background: #f7f8fa; color: #d92d20; }

.admin-layout .admin-main {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 6px 22px rgba(127,15,20,.07);
  padding: 28px; min-width: 0;
}
.admin-layout .admin-main h1 {
  font-size: 22px; color: var(--primary-deep); margin-bottom: 18px;
  border-left: 4px solid var(--primary); padding-left: 12px; line-height: 1.3;
}
.admin-layout .admin-main h2 { color: var(--primary-deep); }

/* 快捷操作区 */
.mbr-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.mbr-head h2 {
  font-size: 18px; color: var(--primary-deep);
  border-left: 4px solid var(--primary); padding-left: 10px; line-height: 1.3;
}
.mbr-head span { font-size: 13px; color: var(--text-sub); }
.mbr-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mbr-action {
  display: block; padding: 20px; border-radius: 12px;
  border: 1px solid var(--border); background: linear-gradient(180deg, #fff 0%, #fafbfe 100%);
  transition: all .2s;
}
.mbr-action:hover {
  border-color: #a9c2f0; box-shadow: 0 10px 26px rgba(215,25,32,.12); transform: translateY(-2px);
}
.mbr-action .ma-ico {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
}
.mbr-action .ma-ico.red { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); }
.mbr-action .ma-ico.orange { background: linear-gradient(135deg, #ff9a3d, #ff7a00); }
.mbr-action .ma-ico.gray { background: linear-gradient(135deg, #98a2b3, #667085); }
.mbr-action strong { display: block; font-size: 16px; color: var(--text); margin-bottom: 6px; }
.mbr-action strong + small { display: block; font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.mbr-empty {
  padding: 46px 20px; text-align: center; color: #98a2b3; font-size: 14px;
  border: 1px dashed #e3e7ef; border-radius: 12px; background: #fafbfe;
}

/* 表格更舒展 */
.admin-layout .data-table th { background: #f7f8fb; }
.admin-layout .data-table td { padding: 13px 14px; }

@media (max-width: 980px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-layout > .admin-side { position: static; }
  .member-hero-inner { padding: 28px 16px; gap: 20px; }
  .mh-stats div { padding: 0 16px; }
  .mh-stats b { font-size: 26px; }
  .mh-actions { margin-left: 0; }
  .mbr-actions { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .mh-name h1 { font-size: 22px; }
  .mh-stats { width: 100%; justify-content: space-between; }
  .mh-stats div { padding: 0 10px; }
}

/* ============================================================
   城市筛选条 + 平台公告（前台）
   ============================================================ */
.city-filter-wrap { margin: 0 0 18px; }
.city-filter {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0 0 8px;
}
.city-filter-wrap .city-filter:last-child { margin-bottom: 0; }
.city-filter .cf-label { font-size: 13px; color: #98a2b3; margin-right: 2px; }
.city-filter a {
  display: inline-block; padding: 5px 14px; font-size: 13px; line-height: 1.6;
  color: var(--text-sub); background: #fff;
  border: 1px solid var(--border); border-radius: 20px;
  transition: all .18s;
}
.city-filter a:hover { color: var(--primary); border-color: #a9c2f0; }
.city-filter a.on { color: var(--primary); border-color: #a9c2f0; background: #f2f7ff; }
.city-filter a.active {
  color: #fff; font-weight: 600;
  background: var(--primary); border-color: var(--primary);
}

.ann-list { display: flex; flex-direction: column; gap: 10px; }
.ann-item {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 20px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.ann-item:hover {
  border-color: #a9c2f0; box-shadow: 0 8px 20px rgba(26, 95, 208, .1);
  transform: translateY(-1px);
}
.ann-date { flex: 0 0 64px; text-align: center; color: var(--primary); }
.ann-date b { display: block; font-size: 22px; line-height: 1.1; }
.ann-date i { font-style: normal; font-size: 12px; color: #98a2b3; }
.ann-main { flex: 1 1 auto; min-width: 0; }
.ann-main b { display: block; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.ann-main em { font-style: normal; font-size: 13px; color: var(--text-sub); }
.ann-go { flex: none; font-size: 13px; color: var(--primary); }
.ann-body {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
  font-size: 15px; line-height: 1.9; color: var(--text);
}
.ann-body p { margin: 0 0 12px; }
.ann-body h3, .ann-body h4 { margin: 16px 0 8px; color: var(--primary-deep); font-size: 17px; }
.ann-body ul, .ann-body ol { margin: 0 0 12px; padding-left: 22px; }
.ann-body a { color: var(--primary); }
.ann-body table { width: 100%; border-collapse: collapse; }
.ann-body td, .ann-body th { border: 1px solid var(--border); padding: 8px 10px; }

@media (max-width: 600px) {
  .ann-item { gap: 12px; padding: 14px 16px; }
  .ann-date { flex-basis: 52px; }
  .ann-date b { font-size: 18px; }
  .ann-go { display: none; }
}
