/* ==================== Reset & Base ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #F27935;
  --primary-light: #FFF3ED;
  --primary-dark: #D96528;
  --teal: #0f9d6e;
  --blue: #3b82c4;
  --purple: #8e44ad;
  --bg: #faf8f6;
  --card-bg: #fff;
  --text: #4C4C4C;
  --text-light: #8a8a8a;
  --border: #f0e8e3;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --radius: 12px;
  --radius-sm: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 40px;
}

a { color: inherit; }

/* ==================== Top Bar ==================== */
.top-bar {
  background: #FFD0B0;
  color: var(--text);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(242,121,53,0.15);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.logo-sub {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  padding-left: 10px;
  border-left: 1px solid rgba(76,76,76,0.25);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mc-badge {
  background: #fff;
  border: 1px solid rgba(242,121,53,0.4);
  color: var(--text);
  height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ==================== Main Nav ==================== */
.main-nav {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 62px;
  z-index: 99;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar { display: none; }

.nav-btn {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--text-light);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all .2s;
  white-space: nowrap;
}

.nav-btn:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.nav-btn.active {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(242,121,53,0.3);
}

/* ==================== Layout ==================== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px;
}

.page-head {
  margin-bottom: 16px;
}

.page-head h1 {
  font-size: 22px;
  margin-bottom: 4px;
}

.page-head .page-sub {
  font-size: 14px;
  color: var(--text-light);
}

/* ==================== Hero ==================== */
.hero-card {
  background: linear-gradient(135deg, #fff7f2 0%, #ffede6 100%);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(242,121,53,0.2);
  border: 1px solid rgba(242,121,53,0.12);
}

.hero-card h2 {
  font-size: 22px;
  color: var(--text);
  margin-bottom: 8px;
}

.hero-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 14px;
  max-width: 640px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: #fff;
  border: 1px solid rgba(242,121,53,0.25);
  color: var(--primary-dark);
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
}

.countdown-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(242,121,53,0.3);
}

.countdown-num {
  font-size: 34px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
}

.countdown-label {
  font-size: 13px;
  color: var(--text-light);
}

/* ==================== Card ==================== */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.card-title {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 14px;
  padding-left: 10px;
  border-left: 4px solid var(--primary);
}

.card p { font-size: 14px; }

/* ==================== 栏目九宫格 ==================== */
.grid-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all .2s;
  background: #fff;
}

.grid-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(242,121,53,0.2);
  border-color: var(--primary);
}

.grid-item .gi-icon { font-size: 26px; }

.grid-item .gi-name {
  font-size: 14px;
  font-weight: 600;
}

.grid-item .gi-desc {
  font-size: 11px;
  color: var(--text-light);
}

/* ==================== 受众导航 ==================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.aud-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  text-align: center;
  transition: all .2s;
  background: #fff;
  cursor: pointer;
}

.aud-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(242,121,53,0.2);
  border-color: var(--primary);
}

.aud-icon { font-size: 28px; }

.aud-name {
  font-size: 15px;
  font-weight: 600;
  margin: 4px 0 2px;
}

.aud-desc {
  font-size: 12px;
  color: var(--text-light);
}

.aud-links {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aud-links a {
  font-size: 12px;
  color: var(--primary-dark);
  text-decoration: none;
  padding: 3px 8px;
  background: var(--primary-light);
  border-radius: 6px;
}

/* ==================== City Grid ==================== */
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.city-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text);
}

.city-card.live {
  border-color: rgba(242,121,53,0.35);
}

.city-card.live:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(242,121,53,0.25);
  border-color: var(--primary);
}

.city-card.soon {
  cursor: default;
  background: #fcfbfa;
}

.city-card.soon:hover {
  transform: none;
  box-shadow: none;
}

.city-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 2px;
}

.city-card.soon .city-name {
  color: var(--text-light);
}

.city-desc {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
  min-height: 17px;
}

.city-badge {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.city-badge.online {
  background: var(--primary);
  color: #fff;
}

.city-badge.coming {
  background: #f1efed;
  color: #b0aca8;
}

/* ==================== 三年时间轴 ==================== */
.axis { position: relative; margin: 8px 0 0; }

.axis::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), #f5b98f);
  border-radius: 2px;
}

.axis-item { position: relative; padding: 0 0 26px 46px; }

.axis-dot {
  position: absolute;
  left: 6px;
  top: 2px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid rgba(242,121,53,0.4);
  box-sizing: border-box;
}

.axis-stage {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.axis-sub {
  font-size: 12.5px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.task-list { list-style: none; padding: 0; margin: 0; }

.task-list li {
  font-size: 13.5px;
  line-height: 1.7;
  padding: 6px 10px;
  margin-bottom: 6px;
  background: var(--bg);
  border-radius: 8px;
}

.now-badge {
  display: inline-block;
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
  margin-left: 6px;
  vertical-align: 2px;
}

/* ==================== 升学路径 ==================== */
.path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.path-card {
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: #fff;
}

.path-card.pc-teal { border-left-color: var(--teal); }
.path-card.pc-blue { border-left-color: var(--blue); }
.path-card.pc-purple { border-left-color: var(--purple); }

.path-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.path-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.path-tag {
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 6px;
  background: var(--primary-light);
  color: var(--primary-dark);
  white-space: nowrap;
}

.pc-teal .path-tag { background: #e5f6f0; color: #0f6e56; }
.pc-blue .path-tag { background: #e8f1fa; color: #185FA5; }
.pc-purple .path-tag { background: #f3ecf9; color: #6c3483; }

.path-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

.next-step {
  margin-top: 16px;
  padding: 14px 16px;
  background: #fff7f2;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.next-step p { font-size: 13px; color: var(--text-light); }

.link-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all .2s;
}

.link-btn:hover { box-shadow: 0 4px 12px rgba(242,121,53,0.3); }

.link-btn.ghost {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid rgba(242,121,53,0.4);
}

/* ==================== 文章/资讯列表 ==================== */
.article-list { list-style: none; padding: 0; margin: 0; }

.article-item {
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .2s;
}

.article-item:last-child { border-bottom: none; }

.article-item:hover { background: #f8fafc; }

.article-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.article-tag {
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 6px;
  background: var(--primary-light);
  color: var(--primary-dark);
  white-space: nowrap;
}

.article-tag.t-blue { background: #e8f1fa; color: #185FA5; }
.article-tag.t-green { background: #e5f6f0; color: #0f6e56; }
.article-tag.t-purple { background: #f3ecf9; color: #6c3483; }

.article-date {
  font-size: 11px;
  color: #b8b3af;
}

.article-title {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 3px;
}

.article-summary {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.article-body {
  display: none;
  margin-top: 10px;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text);
}

.article-item.open .article-body { display: block; }

.article-body ul {
  padding-left: 18px;
  margin: 6px 0;
}

.article-body .src-note {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #b8b3af;
}

/* ==================== 步骤卡 ==================== */
.step-list { counter-reset: step; }

.step-item {
  position: relative;
  padding: 0 0 18px 44px;
}

.step-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item::after {
  content: '';
  position: absolute;
  left: 13px;
  top: 32px;
  bottom: 2px;
  width: 2px;
  background: var(--border);
}

.step-item:last-child::after { display: none; }

.step-title {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 3px;
  padding-top: 4px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ==================== 成绩追踪 ==================== */
.form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 130px;
}

.form-field label {
  font-size: 12px;
  color: var(--text-light);
}

.form-field input, .form-field select {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
}

.form-field input:focus, .form-field select:focus {
  border-color: var(--primary);
}

.btn {
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .2s;
  align-self: flex-end;
}

.btn:hover { box-shadow: 0 4px 12px rgba(242,121,53,0.3); }

.btn.ghost {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid rgba(242,121,53,0.4);
}

.btn.danger-ghost {
  background: #fff;
  color: #c0392b;
  border: 1px solid rgba(192,57,43,0.35);
  padding: 5px 14px;
  font-size: 12px;
  align-self: center;
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.score-table th {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 8px 6px;
  text-align: left;
  white-space: nowrap;
}

.score-table td {
  padding: 8px 6px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.empty-tip {
  text-align: center;
  color: var(--text-light);
  font-size: 13px;
  padding: 20px 0;
}

.trend-box { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding: 10px 4px 0; overflow-x: auto; }

.trend-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 52px;
}

.trend-bar {
  width: 30px;
  background: linear-gradient(180deg, var(--primary), #f5a623);
  border-radius: 4px 4px 0 0;
  min-height: 4px;
}

.trend-val { font-size: 11px; color: var(--primary-dark); font-weight: 600; }

.trend-name { font-size: 11px; color: var(--text-light); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.stat-box {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
}

.stat-label { font-size: 12px; color: var(--text-light); }

/* ==================== 提示条 ==================== */
.notice-bar {
  background: var(--primary-light);
  border: 1px dashed rgba(242,121,53,0.35);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

/* ==================== Footer ==================== */
.footer-card {
  max-width: 1080px;
  margin: 24px auto 0;
  padding: 0 16px;
}

.footer-main {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-info h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.footer-info p {
  font-size: 13px;
  color: var(--text-light);
}

.phone-item {
  display: inline-block;
  margin-top: 10px;
  background: #fff6f0;
  border: 1px solid rgba(242,121,53,0.25);
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .2s;
}

.phone-item:hover { background: #ffede6; }

.footer-note { margin-top: 6px; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links .links-title {
  font-size: 13px;
  font-weight: 600;
}

.footer-links a {
  font-size: 13px;
  color: var(--primary-dark);
  text-decoration: none;
  padding: 4px 10px;
  background: var(--primary-light);
  border-radius: 6px;
  text-align: center;
}

.footer-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.footer-qr img {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  object-fit: cover;
}

.footer-qr span {
  font-size: 12px;
  color: var(--text-light);
}

.copyright {
  text-align: center;
  font-size: 12px;
  color: #c5c0bc;
  margin-top: 14px;
}

/* ==================== Toast ==================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(76,76,76,0.92);
  color: #fff;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
  z-index: 200;
  max-width: 86vw;
  width: max-content;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.7;
  text-align: center;
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .toast { max-width: 88vw; font-size: 12.5px; padding: 10px 16px; }
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-nav { grid-template-columns: repeat(4, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .path-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .hero-card h2 { font-size: 19px; }
}

@media (max-width: 480px) {
  .logo-img { height: 28px; }
  .logo-sub { font-size: 14px; }
  .mc-badge { font-size: 12px; padding: 3px 10px; }
  .main-nav { top: 56px; }
  .city-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .city-card { padding: 14px 8px; }
  .city-name { font-size: 17px; }
  .grid-nav { grid-template-columns: repeat(3, 1fr); }
  .footer-main { flex-direction: column; text-align: center; }
  .footer-links { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}


/* ==================== 面包屑站点导航 ==================== */
.cb-nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;padding:8px 18px;background:#fff;border-bottom:1px solid var(--border);font-size:13px;}
.cb-crumbs{display:flex;align-items:center;gap:6px;color:var(--text-light);}
.cb-crumbs a{color:var(--primary);text-decoration:none;font-weight:600;}
.cb-crumbs a:hover{text-decoration:underline;}
.cb-sep{color:#c8c8c8;}
.cb-cur{font-weight:700;color:var(--text);}
.cb-links{display:flex;align-items:center;gap:12px;color:var(--text-light);font-size:12px;}
.cb-links a{color:var(--primary);text-decoration:none;font-weight:600;white-space:nowrap;}
.cb-links a:hover{text-decoration:underline;}
@media(max-width:480px){.cb-nav{padding:6px 12px;font-size:12px;}.cb-links{gap:8px;}}

/* ===== 两行城市导航 ===== */
.city-nav { padding: 10px 16px 2px; font-size: 13px; }
.city-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 26px; }
.city-row + .city-row { margin-top: 6px; }
.cn-item { color: #8a8f99; text-decoration: none; white-space: nowrap; }
a.cn-item:hover { color: var(--primary, #1a6fb5); }
.cn-item.cn-cur { color: var(--primary, #1a6fb5); font-weight: 700; }
@media (max-width: 480px) {
  .city-nav { font-size: 12px; padding: 8px 12px 0; }
  .city-row { gap: 4px 8px; }
  .logo { flex-shrink: 0; }
  .logo-sub { display: none; }
  .logo-img { height: 24px; }
  .top-bar-right { gap: 4px; min-width: 0; flex-shrink: 1; }
  .year-selector { height: 30px; flex-shrink: 0; }
.top-bar-right .city-chip { height: 30px; padding: 0 10px; font-size: 12px; max-width: 44vw; }
  .top-bar { padding: 12px 9px; }
  .yr-btn { height: 30px; padding: 0 5px; font-size: 11px; }
  .mc-badge { height: 30px; padding: 0 9px; font-size: 11px; }
}

/* ===== 卡片内分组小标题 ===== */
.hall-group { font-size: 12.5px; color: var(--text-light); font-weight: 700; margin: 14px 0 8px; }
.hall-group:first-of-type { margin-top: 0; }

/* 中考大厅：纯城市名紧凑网格 */
.hall-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hall-grid a {
  display: flex; align-items: center; justify-content: center;
  padding: 11px 4px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--text); text-decoration: none;
  transition: all .2s; background: #fff;
}
.hall-grid a:active, .hall-grid a:hover { background: #fff4ec; border-color: var(--primary); color: var(--primary); }
@media (max-width: 480px) { .hall-grid { gap: 7px; } .hall-grid a { padding: 10px 2px; font-size: 13px; } }

/* ===== 学情诊断 ===== */
.zd-opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.zd-pill {
  padding: 8px 18px; border: 2px solid var(--border); border-radius: 20px;
  background: #fff; cursor: pointer; font-size: 14px; font-weight: 600;
  color: var(--text); transition: all 0.15s; font-family: inherit;
}
.zd-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.zd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
@media (max-width: 560px) { .zd-grid { grid-template-columns: 1fr; } }
.zd-item {
  display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: 10px; background: #fafbfc;
  cursor: pointer; font-size: 13px; line-height: 1.5; transition: all 0.15s;
}
.zd-item input { margin-top: 2px; accent-color: var(--primary); }
.zd-item:has(input:checked) { border-color: var(--primary); background: rgba(26,111,181,0.06); }
.zd-btn {
  display: inline-block; margin-top: 4px; padding: 10px 28px; border: none;
  border-radius: 22px; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.zd-btn:active { transform: translateY(1px); }
.zd-result {
  display: none; margin-top: 14px; padding: 14px 16px; border-radius: 12px;
  background: #f4f8fc; border: 1px solid rgba(26,111,181,0.25);
}
.zd-result.show { display: block; }
.zd-result h4 { margin: 4px 0 6px; font-size: 14px; color: var(--primary-dark); }
.zd-result ul { margin: 6px 0 0; padding-left: 0; list-style: none; }
.zd-result li { font-size: 13px; line-height: 1.7; padding: 5px 0 5px 22px; position: relative; }
.zd-result li::before { content: '✅'; position: absolute; left: 0; font-size: 12px; }
.zd-stage {
  font-size: 13px; font-weight: 700; color: var(--primary-dark); background: #fff;
  border: 1px dashed rgba(26,111,181,0.4); border-radius: 8px; padding: 8px 12px; margin-top: 10px;
}

/* ==================== 城市偏好徽章 ==================== */
.city-chip {
  background: #fff;
  border: 1px solid rgba(242,121,53,0.4);
  color: var(--primary-dark);
  font-size: 13px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}
.city-chip .chip-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.city-chip:hover { background: var(--primary-light); }

/* ==================== 弹窗 ==================== */
.modal-mask {
  position: fixed; inset: 0;
  background: rgba(60,50,45,0.5);
  z-index: 300;
  display: none;
  align-items: center; justify-content: center;
  padding: 16px;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 22px 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.modal-title { font-size: 16px; margin-bottom: 4px; }
.modal-sub { font-size: 13px; color: var(--text-light); margin-bottom: 14px; line-height: 1.6; }
.pick-label { font-size: 13px; color: var(--text-light); margin: 12px 0 6px; }
.city-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cp-city {
  padding: 10px 4px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  color: var(--text);
  transition: all .15s;
}
.cp-city.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pick-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.cp-pill {
  padding: 9px 18px;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  transition: all .15s;
}
.cp-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.cp-select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
}
.cp-select:focus { border-color: var(--primary); }
textarea.cp-select { resize: vertical; line-height: 1.6; }
.fb-field { margin-top: 12px; }
.fb-field label { display: block; font-size: 12.5px; color: var(--text-light); margin-bottom: 4px; }
.modal-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; min-width: 120px; align-self: stretch; }
.modal-note { font-size: 12px; color: var(--text-light); margin-top: 14px; line-height: 1.7; }

/* ==================== 站内搜索 ==================== */
.search-wrap { position: relative; }
#searchInput {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  color: var(--text);
  background: #fff;
}
#searchInput:focus { border-color: var(--primary); }
.search-results {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 50;
  max-height: 340px;
  overflow-y: auto;
}
.search-results.show { display: block; }
.sr-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 11px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}
.sr-item:hover { background: var(--primary-light); }
.sr-item:last-child { border-bottom: none; }
.sr-title { font-weight: 600; font-size: 13.5px; }
.sr-desc { font-size: 12px; color: var(--text-light); margin-top: 1px; }
.sr-none { padding: 14px; text-align: center; color: var(--text-light); font-size: 13px; }
.search-hint { font-size: 12px; color: var(--text-light); margin-top: 10px; line-height: 1.9; }
.search-hint b { cursor: pointer; color: var(--primary-dark); font-weight: 600; margin-right: 8px; background: var(--primary-light); padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.search-hint b:hover { background: var(--primary); color: #fff; }

/* ==================== 会员权益 ==================== */
.mem-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 12px; }
.mem-table th { background: var(--primary-light); color: var(--primary-dark); padding: 9px 8px; text-align: left; white-space: nowrap; }
.mem-table td { padding: 9px 8px; border-bottom: 1px solid var(--border); }
.mem-ok { color: #27ae60; font-weight: 600; white-space: nowrap; }
.mem-lock { color: #b0aca8; white-space: nowrap; }
.mem-preview { background: var(--bg); border-radius: var(--radius-sm); padding: 14px; margin-top: 6px; }
.mem-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 4px;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
  gap: 10px;
}
.mem-row:last-child { border-bottom: none; }

/* ==================== 16市快捷按钮 ==================== */
.mini-btn-row { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
.mini-btn {
  display: inline-block;
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(242,121,53,0.4);
  color: var(--primary-dark);
  text-decoration: none;
  transition: all .2s;
}
.mini-btn:hover { background: var(--primary-light); }
.mini-btn.me { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; }

/* ==================== 页脚协议链接 ==================== */
.footer-legal { display: flex; gap: 16px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.footer-legal a { font-size: 12.5px; color: var(--text-light); text-decoration: none; }
.footer-legal a:hover { color: var(--primary-dark); }

/* ==================== 移动端适配优化（更大点击区、防误触） ==================== */
a, button, input, select, textarea { touch-action: manipulation; }

@media (max-width: 768px) {
  .nav-btn { padding: 9px 16px; font-size: 14.5px; }
  .link-btn { padding: 11px 20px; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
  .btn { padding: 12px 24px; font-size: 15px; min-height: 44px; }
  .grid-item { padding: 18px 8px; }
  .grid-item .gi-name { font-size: 15px; }
  .aud-links a { padding: 7px 12px; font-size: 13px; }
  .aud-card { padding: 18px 12px; }
  .zd-pill { padding: 11px 20px; font-size: 15px; }
  .form-field input, .form-field select { padding: 12px; font-size: 16px; }
  .card-title { font-size: 17px; }
  .page-head h1 { font-size: 24px; }
  .task-list li { font-size: 14px; padding: 8px 12px; }
  .article-title { font-size: 15px; }
  .article-item { padding: 15px 10px; }
  .city-card { padding: 18px 10px; }
  .city-pick { grid-template-columns: repeat(4, 1fr); }
  .cp-city { padding: 12px 4px; font-size: 15px; }
  .cp-pill { padding: 11px 20px; font-size: 14px; }
  .mini-btn { padding: 9px 16px; font-size: 13px; }
  .danger-ghost { padding: 8px 16px !important; font-size: 13px !important; }
  .phone-item { padding: 10px 18px; font-size: 16px; }
}

@media (max-width: 480px) {
  .modal { padding: 18px 14px; }
  .city-pick { gap: 6px; }
  .search-hint b { padding: 3px 10px; }
  .mem-table { font-size: 12.5px; }
}

/* ===== 全站内容保护（禁选中/禁长按复制/禁图片拖拽） ===== */
html, body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
input, textarea, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
img {
  -webkit-user-drag: none;
  user-drag: none;
}
