/* =============================================================
   专家征集情报站 — 样式表
   设计基线与令牌：TDesign 企业级设计体系
   （品牌色 #0052D9 / 8px 栅格 / 小圆角 / 理性克制）
   ============================================================= */

:root {
  /* —— 品牌与功能色 —— */
  --brand-2: #d9e1ff;
  --brand-3: #b5c7ff;
  --brand-4: #8eabff;
  --brand-5: #618dff;
  --brand-6: #366ef4;
  --brand-7: #0052d9;
  --brand-8: #003cab;
  --brand-9: #002a7c;
  --brand-10: #001a57;

  --success-5: #2ba471;
  --warning-5: #e37318;
  --error-6: #d54941;

  /* 深色底上的强调色 */
  --accent-green: #52d1a0;
  --accent-orange: #ffa940;
  --accent-red: #ff7875;

  /* —— 文字语义 —— */
  --text-primary: #1d2129;
  --text-secondary: #5e6673;
  --text-placeholder: #8f959e;
  --text-anti: #ffffff;
  --text-on-dark: #ffffff;
  --text-on-dark-2: #b5c7ff;
  --text-on-dark-3: #8eabff;
  --text-on-dark-4: #d9e1ff;

  /* —— 背景与描边 —— */
  --bg-page: #f5f7fa;
  --bg-container: #ffffff;
  --bg-component: #edf0f5;
  --bg-subtle: #f7f9fc;
  --navy: #001a57;
  --navy-footer: #00122e;
  --border: #dddddd;
  --stroke: #e8e8e8;

  /* —— 圆角（TDesign 圆角阶梯）—— */
  --radius-small: 2px;
  --radius-default: 3px;
  --radius-medium: 6px;
  --radius-large: 9px;
  --radius-extraLarge: 12px;
  --radius-round: 999px;

  /* —— 间距（8px 栅格）—— */
  --size-1: 2px;
  --size-2: 4px;
  --size-3: 6px;
  --size-4: 8px;
  --size-5: 12px;
  --size-6: 16px;
  --size-7: 20px;
  --size-8: 24px;
  --size-9: 28px;
  --size-10: 32px;
  --size-12: 40px;
  --size-13: 48px;
  --size-14: 56px;
  --size-15: 64px;
  --size-16: 72px;

  /* —— 字体 —— */
  --font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;

  /* —— 阴影（TDesign shadow-1 / shadow-2）—— */
  --shadow-1: 0 4px 16px rgba(27, 33, 46, 0.08), 0 1px 3px rgba(27, 33, 46, 0.04);
  --shadow-2: 0 8px 24px rgba(27, 33, 46, 0.1), 0 2px 6px rgba(27, 33, 46, 0.06);

  /* —— 版面 —— */
  --page-max: 1440px;
  --content-max: 1200px;
  --gutter: 120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 22px;
  color: var(--text-primary);
  background: var(--bg-container);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

/* 版面容器：设计稿 1440 宽，左右留白 120，内容区 1200 */
.container {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ===========================================================
   顶部导航
   =========================================================== */
.header {
  height: 64px;
  background: var(--navy);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-medium);
  background: var(--brand-7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-anti);
  font-size: 14px;
  font-weight: 700;
  flex: none;
}

.brand__name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-anti);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 44px;
  flex: 1;
}

.nav__link {
  font-size: 14px;
  color: var(--brand-3);
  transition: color 0.15s ease;
}

.nav__link:hover {
  color: var(--text-anti);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 18px;
  border-radius: var(--radius-default);
  background: var(--brand-7);
  color: var(--text-anti);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s ease;
}

.nav__cta:hover {
  background: var(--brand-6);
}

/* ===========================================================
   首屏 Hero
   =========================================================== */
.hero {
  background: linear-gradient(180deg, #001a57 0%, #0042a0 100%);
  padding: 72px 0 80px;
}

.hero__inner {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.hero__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-round);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  align-self: flex-start;
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-round);
  background: var(--accent-green);
  flex: none;
}

.badge__text {
  font-size: 13px;
  color: var(--text-on-dark-4);
}

.hero__title {
  margin: 0;
  font-size: 48px;
  line-height: 60px;
  font-weight: 700;
  color: var(--text-anti);
}

.hero__sub {
  margin: 0;
  font-size: 17px;
  line-height: 30px;
  color: var(--brand-3);
}

.hero__actions {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-default);
  font-size: 16px;
  font-weight: 500;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.btn--primary {
  background: var(--brand-7);
  color: var(--text-anti);
}

.btn--primary:hover {
  background: var(--brand-6);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text-anti);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero__stats {
  display: flex;
  gap: 48px;
  padding-top: 8px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__num {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-anti);
  line-height: 38px;
}

.stat__label {
  font-size: 13px;
  color: var(--text-on-dark-3);
}

/* 微信推送预览卡 */
.hero__preview {
  width: 384px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-extraLarge);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.preview__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview__avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-round);
  background: var(--brand-7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-anti);
  font-size: 14px;
  font-weight: 700;
  flex: none;
}

.preview__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-anti);
}

.preview__time {
  font-size: 12px;
  color: var(--text-on-dark-3);
}

.bubble {
  background: var(--bg-container);
  border-radius: var(--radius-large);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bubble__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 22px;
}

.bubble__line {
  font-size: 13px;
  line-height: 22px;
  color: var(--text-secondary);
}

.bubble__link {
  font-size: 12px;
  color: var(--brand-7);
}

.bubble--warn {
  background: #fff3e0;
  gap: 4px;
}

.bubble__title--warn {
  font-size: 13px;
  font-weight: 500;
  color: #ad4e00;
  line-height: 22px;
}

.bubble__line--warn {
  font-size: 12px;
  color: #8a6a3a;
}

.bubble--gain {
  gap: 4px;
}

.bubble__title--gain {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.bubble__line--gain {
  font-size: 12px;
  color: var(--text-placeholder);
}

.preview__foot {
  padding-top: 4px;
  text-align: center;
  font-size: 12px;
  color: var(--text-on-dark-3);
}

/* ===========================================================
   专家征集情报站 · 每日简报（首屏右侧，纵向滚动）
   =========================================================== */
.brief__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brief__id {
  flex: 1;
  min-width: 0;
}

.brief__live {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-round);
  background: rgba(82, 209, 160, 0.16);
  font-size: 12px;
  color: #8ff0c8;
}

.brief__live-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-round);
  background: var(--accent-green);
}

.brief__viewport {
  position: relative;
}

/* 上下渐隐，暗示还有更多条目 */
.brief__viewport::before,
.brief__viewport::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 28px;
  pointer-events: none;
  z-index: 2;
}

.brief__viewport::before {
  top: 0;
  background: linear-gradient(180deg, rgba(0, 32, 96, 0.85) 0%, rgba(0, 32, 96, 0) 100%);
}

.brief__viewport::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 32, 96, 0.85) 0%, rgba(0, 32, 96, 0) 100%);
}

.brief__scroller {
  height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
  overscroll-behavior-y: contain;
}

.brief__scroller:focus-visible {
  outline: 2px solid var(--brand-4);
  outline-offset: 2px;
}

.brief__scroller::-webkit-scrollbar {
  width: 6px;
}

.brief__scroller::-webkit-scrollbar-track {
  background: transparent;
}

.brief__scroller::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-round);
}

.brief__track {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.brief-item {
  flex: none;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.brief-item--urgent {
  background: rgba(255, 120, 117, 0.14);
  border-color: rgba(255, 120, 117, 0.28);
}

.brief-item__dot {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: var(--radius-round);
  background: var(--accent-green);
}

.brief-item--urgent .brief-item__dot {
  background: var(--accent-red);
}

.brief-item__body {
  flex: 1;
  min-width: 0;
}

.brief-item__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.brief-item__prov {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-anti);
}

.brief-item__chip {
  flex: none;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.14);
  color: var(--brand-2);
}

.brief-item--urgent .brief-item__chip {
  background: rgba(255, 120, 117, 0.22);
  color: #ffb3ae;
}

.brief-item__title {
  font-size: 13px;
  line-height: 20px;
  color: #c9d7ff;
}

.brief-item__date {
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-on-dark-3);
}

.brief__empty {
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-on-dark-3);
}

/* ===========================================================
   通用区块标题
   =========================================================== */
.section {
  width: 100%;
}

.section--light {
  background: var(--bg-container);
}

.section--gray {
  background: var(--bg-page);
}

.section--navy {
  background: var(--navy);
}

.section__inner {
  padding-top: 72px;
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section__inner--ticker {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.section__eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--brand-7);
}

.section--navy .section__eyebrow {
  color: var(--accent-green);
}

.section__title {
  margin: 0;
  font-size: 32px;
  line-height: 44px;
  font-weight: 700;
  color: var(--text-primary);
}

.section--navy .section__title {
  color: var(--text-on-dark);
}

.section__desc {
  margin: 0;
  font-size: 15px;
  line-height: 26px;
  color: var(--text-secondary);
  max-width: 720px;
}

.section--navy .section__desc {
  color: var(--brand-3);
}

/* ===========================================================
   功能 1：全国征集热力地图
   =========================================================== */
.map-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.card {
  background: var(--bg-container);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-1);
}

.map-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: none;
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 26px;
}

.card__sub {
  font-size: 12px;
  color: var(--text-placeholder);
}

.tag-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-round);
  background: #e8f8f0;
  flex: none;
}

.tag-live__dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-round);
  background: var(--success-5);
}

.tag-live__text {
  font-size: 12px;
  font-weight: 500;
  color: #0e7a57;
}

/* 省份方格地图（Tile Cartogram） */
.tilemap {
  display: grid;
  grid-template-columns: repeat(9, 66px);
  grid-auto-rows: 54px;
  gap: 6px;
  width: 642px;
}

.tile {
  width: 66px;
  height: 54px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: default;
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

/* 可点击的省份方块：提示可交互并给出键盘焦点反馈 */
.tile--clickable {
  cursor: pointer;
}

.tile--clickable:focus-visible {
  outline: 2px solid var(--brand-7);
  outline-offset: 2px;
}

.tile__count {
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.tile__name {
  font-size: 11px;
  line-height: 16px;
}

/* 热力等级 */
.tile--lv0 {
  background: #edf0f5;
}
.tile--lv0 .tile__count {
  color: #a6adb8;
}
.tile--lv0 .tile__name {
  color: #b8bec8;
}

.tile--lv1 {
  background: var(--brand-2);
}
.tile--lv1 .tile__count {
  color: var(--text-primary);
}
.tile--lv1 .tile__name {
  color: var(--text-secondary);
}

.tile--lv2 {
  background: var(--brand-4);
}
.tile--lv2 .tile__count {
  color: #12244d;
}
.tile--lv2 .tile__name {
  color: #33436b;
}

.tile--lv3 {
  background: var(--brand-6);
}
.tile--lv3 .tile__count {
  color: var(--text-anti);
}
.tile--lv3 .tile__name {
  color: var(--brand-2);
}

.tile--lv4 {
  background: var(--brand-7);
}
.tile--lv4 .tile__count {
  color: var(--text-anti);
}
.tile--lv4 .tile__name {
  color: var(--brand-2);
}

.tile--lv5 {
  background: var(--brand-9);
}
.tile--lv5 .tile__count {
  color: var(--text-anti);
}
.tile--lv5 .tile__name {
  color: #c7d7ff;
}

/* 图例 */
.legend {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 4px;
  flex-wrap: wrap;
}

.legend__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend__swatch {
  width: 20px;
  height: 12px;
  border-radius: var(--radius-small);
}

.legend__label {
  font-size: 12px;
  color: var(--text-placeholder);
}

/* 右侧信息栏 */
.sidebar {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.side-card {
  background: var(--bg-container);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-1);
  padding: 24px;
}

.side-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.side-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 24px;
}

.side-card__hint {
  font-size: 12px;
  color: var(--text-placeholder);
}

.rank {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  background: var(--bg-subtle);
}

.rank__no {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-placeholder);
  flex: none;
}

.rank__row--top .rank__no {
  color: var(--brand-7);
}

.rank__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  flex: 1;
}

.rank__count {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-7);
  flex: none;
}

.info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.info__label {
  font-size: 13px;
  color: var(--text-placeholder);
}

.info__value {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.side-cta {
  padding: 24px;
  border-radius: var(--radius-large);
  background: linear-gradient(180deg, #001a57 0%, #0052b5 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-cta__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-anti);
  line-height: 24px;
}

.side-cta__desc {
  margin: 0;
  font-size: 13px;
  line-height: 22px;
  color: var(--brand-3);
}

.side-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-default);
  background: var(--bg-container);
  color: var(--brand-8);
  font-size: 14px;
  font-weight: 500;
  align-self: flex-start;
  transition: opacity 0.15s ease;
}

.side-cta__btn:hover {
  opacity: 0.9;
}

/* ===========================================================
   功能 2：实时征集播报（动态滚动）
   =========================================================== */
.ticker {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.ticker__row {
  height: 96px;
  width: 100%;
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* 两端渐隐，暗示持续滚动 */
.ticker__row::before,
.ticker__row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  pointer-events: none;
  z-index: 2;
}

.ticker__row::before {
  left: 0;
  background: linear-gradient(90deg, #001a57 0%, rgba(0, 26, 87, 0) 100%);
}

.ticker__row::after {
  right: 0;
  background: linear-gradient(270deg, #001a57 0%, rgba(0, 26, 87, 0) 100%);
}

.ticker__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: ticker-left 36s linear infinite;
}

.ticker__track--reverse {
  animation-name: ticker-right;
}

.ticker__row:hover .ticker__track {
  animation-play-state: paused;
}

@keyframes ticker-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 6px));
  }
}

@keyframes ticker-right {
  from {
    transform: translateX(calc(-50% - 6px));
  }
  to {
    transform: translateX(0);
  }
}

.ticker__group {
  display: flex;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-round);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  flex: none;
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-round);
  flex: none;
}

.pill__dot--urgent {
  background: var(--accent-red);
}

.pill__dot--soon {
  background: var(--accent-orange);
}

.pill__dot--normal {
  background: var(--accent-green);
}

.pill__text {
  font-size: 14px;
  color: var(--text-anti);
}

.ticker__foot {
  font-size: 12px;
  color: var(--text-on-dark-3);
}

/* ===========================================================
   错过的入库机会（已截止 · 浅色底）
   =========================================================== */
.section__eyebrow--warn {
  color: var(--warning-5);
}

.missed__count {
  font-style: normal;
  font-size: 40px;
  line-height: 44px;
  font-weight: 700;
  color: var(--warning-5);
  padding: 0 2px;
}

/* 横向浏览轨道：滚轮 / 拖拽 / 缓慢自动滚动 */
.missed-viewport {
  position: relative;
  width: 100%;
}

/* 两端渐隐，暗示还有更多内容；不拦截鼠标事件 */
.missed-viewport::before,
.missed-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  pointer-events: none;
  z-index: 2;
}

.missed-viewport::before {
  left: 0;
  background: linear-gradient(90deg, #f5f7fa 0%, rgba(245, 247, 250, 0) 100%);
}

.missed-viewport::after {
  right: 0;
  background: linear-gradient(270deg, #f5f7fa 0%, rgba(245, 247, 250, 0) 100%);
}

.missed-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--bg-page);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-large);
  padding: 16px 20px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: #c9d0da transparent;
  overscroll-behavior-x: contain;
}

.missed-scroller:focus-visible {
  outline: 2px solid var(--brand-7);
  outline-offset: 2px;
}

.missed-scroller::-webkit-scrollbar {
  height: 8px;
}

.missed-scroller::-webkit-scrollbar-track {
  background: transparent;
}

.missed-scroller::-webkit-scrollbar-thumb {
  background: #c9d0da;
  border-radius: var(--radius-round);
}

.missed-scroller::-webkit-scrollbar-thumb:hover {
  background: #a8b2c0;
}

.missed-track {
  display: flex;
  gap: 12px;
  width: max-content;
}

/* 浅色区块里的脚注要用深一点的字，否则看不清 */
.section--light .ticker__foot {
  color: var(--text-placeholder);
}

.missed-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-round);
  background: var(--bg-container);
  border: 1px solid var(--border);
  white-space: nowrap;
  flex: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.missed-pill:hover {
  border-color: var(--warning-5);
  box-shadow: var(--shadow-1);
}

.missed-pill__prov {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  flex: none;
}

.missed-pill__type {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.missed-pill__date {
  flex: none;
  font-size: 12px;
  color: #ad4e00;
  background: #fff3e0;
  border-radius: var(--radius-small);
  padding: 2px 8px;
}

.missed-pill__link {
  flex: none;
  font-size: 12px;
  color: var(--brand-7);
  padding: 2px 6px;
  border-radius: var(--radius-small);
  background: rgba(0, 82, 217, 0.06);
  transition: background 0.15s ease, color 0.15s ease;
}

/* 悬停时把「查看原文」点亮成实心按钮，明确可点 */
.missed-pill:hover .missed-pill__link {
  background: var(--brand-7);
  color: var(--text-anti);
}

/* 没有原文链接的条目：不给可点的错觉 */
.missed-pill--nolink {
  cursor: default;
}

.missed-pill--nolink:hover {
  border-color: var(--border);
  box-shadow: none;
}

.missed-pill--nolink .missed-pill__link,
.missed-pill--nolink:hover .missed-pill__link {
  color: var(--text-placeholder);
  background: var(--bg-page);
}

.missed__empty {
  width: 100%;
  padding: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--text-placeholder);
  background: var(--bg-page);
  border-radius: var(--radius-large);
}

/* ===========================================================
   三步开通
   =========================================================== */
.steps {
  display: flex;
  gap: 24px;
}

.step {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-large);
  background: var(--bg-page);
}

.step__num {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-round);
  background: var(--brand-7);
  color: var(--text-anti);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.step__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 26px;
}

.step__desc {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  color: var(--text-secondary);
}

/* ===========================================================
   功能 3：订阅方案
   =========================================================== */
/* 我的专家身份：资质卡片 */
.creds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.cred {
  padding: 20px;
  border-radius: var(--radius-large);
  background: var(--bg-container);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cred:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.cred__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cred__mark {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand-7);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cred__name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--text-primary);
}

.cred__kind {
  font-size: 12px;
  line-height: 18px;
  color: var(--brand-7);
}

.cred__desc {
  margin: 0;
  font-size: 13px;
  line-height: 22px;
  color: var(--text-secondary);
}

.cred--featured {
  background: var(--brand-7);
  border-color: var(--brand-7);
}

.cred--featured .cred__mark {
  background: rgba(255, 255, 255, 0.22);
}

.cred--featured .cred__name {
  color: #fff;
}

.cred--featured .cred__kind {
  color: rgba(255, 255, 255, 0.85);
}

.cred--featured .cred__desc {
  color: rgba(255, 255, 255, 0.8);
}

/* 页脚备案信息 */
.footer__icp {
  display: block;
  font-size: 12px;
  line-height: 22px;
  color: var(--text-placeholder);
}

.footer__icp b {
  font-weight: 600;
  color: var(--text-secondary);
}

.plans {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.plan {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-large);
  background: var(--bg-container);
  border: 1px solid var(--border);
}

.plan__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: var(--radius-round);
  background: var(--bg-container);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-7);
}

.plan__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan__amount {
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  color: var(--text-primary);
}

.plan__unit {
  font-size: 14px;
  color: var(--text-secondary);
}

.plan__divider {
  height: 1px;
  background: var(--stroke);
}

.plan__features {
  margin: 0;
  font-size: 14px;
  line-height: 28px;
  color: var(--text-secondary);
  white-space: pre-line;
}

.plan__btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-default);
  background: var(--brand-7);
  color: var(--text-anti);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s ease;
}

.plan__btn:hover {
  background: var(--brand-6);
}

/* 推荐档位 */
.plan--featured {
  background: linear-gradient(180deg, #001a57 0%, #003da1 100%);
  border: none;
}

.plan--featured .plan__name {
  color: var(--brand-3);
}

.plan--featured .plan__amount {
  color: var(--text-anti);
}

.plan--featured .plan__unit {
  color: var(--brand-3);
}

.plan--featured .plan__divider {
  background: rgba(255, 255, 255, 0.15);
}

.plan--featured .plan__features {
  color: var(--brand-2);
}

.plan--featured .plan__btn {
  background: var(--bg-container);
  color: var(--brand-8);
}

.plan--featured .plan__btn:hover {
  background: #f0f3ff;
}

/* 入库指导档位 */
.plan--service {
  background: #fff3e0;
  border: none;
}

.plan--service .plan__name {
  color: #ad4e00;
}

.plan--service .plan__amount {
  color: var(--text-primary);
}

.plan--service .plan__unit {
  color: #ad4e00;
}

.plan--service .plan__divider {
  background: rgba(51, 26, 0, 0.08);
}

.plan--service .plan__features {
  color: #6a4a28;
}

.plan--service .plan__btn {
  background: var(--warning-5);
  color: var(--text-anti);
}

.plan--service .plan__btn:hover {
  background: #c96414;
}

/* ===========================================================
   功能 4：加微信引导
   =========================================================== */
.wechat {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.wechat__left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-round);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  color: var(--brand-3);
  transition: background 0.15s ease, color 0.15s ease;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.14);
}

.chip.is-active {
  background: var(--bg-container);
  border-color: var(--bg-container);
  color: var(--brand-8);
  font-weight: 600;
}

.selected {
  padding: 24px;
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.selected__label {
  font-size: 12px;
  color: var(--text-on-dark-3);
}

.selected__name {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  color: var(--text-anti);
}

.selected__price {
  font-size: 18px;
  font-weight: 500;
  color: var(--brand-2);
}

.selected__note {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  color: var(--brand-3);
}

.wx-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wx-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-anti);
}

.wx-step__num {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-round);
  background: var(--brand-7);
  color: var(--text-anti);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.wechat__right {
  width: 360px;
  flex: none;
}

.qr-card {
  background: var(--bg-container);
  border-radius: var(--radius-large);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.qr-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 26px;
}

.qr-card__box {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-medium);
  background: var(--bg-page);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-placeholder);
  font-size: 13px;
  overflow: hidden;
}

.qr-card__box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qr-card__id {
  font-size: 14px;
  color: var(--text-secondary);
}

.qr-card__note {
  margin: 0;
  font-size: 13px;
  line-height: 22px;
  color: var(--text-placeholder);
  text-align: center;
  white-space: pre-line;
}

/* ===========================================================
   常见问题
   =========================================================== */
.faq-grid {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.faq-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq {
  padding: 16px;
  border-radius: var(--radius-medium);
  background: var(--bg-page);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq__q {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 24px;
}

.faq__a {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  color: var(--text-secondary);
}

.faq-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.faq-cta__text {
  font-size: 14px;
  color: var(--text-secondary);
}

.faq-cta__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-7);
}

.faq-cta__link:hover {
  color: var(--brand-6);
}

/* ===========================================================
   页脚
   =========================================================== */
.footer {
  background: var(--navy-footer);
}

.footer__inner {
  padding-top: 48px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__top {
  display: flex;
  gap: 80px;
}

.footer__brand {
  width: 320px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__slogan {
  font-size: 13px;
  line-height: 22px;
  color: var(--text-on-dark-3);
  white-space: pre-line;
}

.footer__wx {
  font-size: 13px;
  color: var(--text-on-dark-3);
}

.footer__col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-anti);
}

.footer__link {
  font-size: 13px;
  color: var(--text-on-dark-3);
  transition: color 0.15s ease;
}

.footer__link:hover {
  color: var(--text-anti);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__copy {
  font-size: 12px;
  color: var(--text-on-dark-3);
}

.footer__top-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-3);
}

.footer__top-link:hover {
  color: var(--text-anti);
}

/* ===========================================================
   响应式：保留桌面端 1:1 还原，窄屏逐级降级
   =========================================================== */
@media (max-width: 1440px) {
  .container {
    padding-left: 64px;
    padding-right: 64px;
  }
}

@media (max-width: 1200px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
  .hero__inner {
    flex-direction: column;
    gap: 40px;
  }
  .hero__preview {
    width: 100%;
    max-width: 384px;
  }
  .map-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
  .plans {
    flex-wrap: wrap;
  }
  .plan {
    flex: 1 1 calc(50% - 10px);
  }
  .wechat {
    flex-direction: column;
  }
  .wechat__right {
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 900px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .nav {
    display: none;
  }
  .hero__title {
    font-size: 36px;
    line-height: 46px;
  }
  .hero__stats {
    gap: 24px;
  }
  .steps,
  .faq-grid {
    flex-direction: column;
  }
  .plan {
    flex: 1 1 100%;
  }
  .footer__top {
    flex-wrap: wrap;
    gap: 32px;
  }
  .footer__brand {
    width: 100%;
  }
  .footer__col {
    flex: 1 1 calc(33% - 32px);
  }
  .tilemap {
    transform: scale(0.86);
    transform-origin: left top;
  }
}

@media (max-width: 720px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
  .footer__col {
    flex: 1 1 100%;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .tilemap {
    transform: scale(0.7);
    transform-origin: left top;
  }
}

/* 地图容器在窄屏允许横向滚动 */
.map-scroll {
  overflow-x: auto;
  padding-bottom: 4px;
}

/* ===========================================================
   面向全国 · 地图顶端通栏方块
   =========================================================== */
.nation-tile {
  width: 642px;
  height: 54px;
  margin-bottom: 6px;
  border: none;
  border-radius: 4px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nation-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.nation-tile:focus-visible {
  outline: 2px solid var(--brand-7);
  outline-offset: 2px;
}

.nation-tile__badge {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
}

.nation-tile__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
}

.nation-tile__count {
  margin-left: auto;
  font-size: 12px;
  line-height: 20px;
}

.nation-tile__count b {
  font-size: 16px;
  font-weight: 700;
}

.nation-tile__go {
  flex: none;
  font-size: 12px;
  font-weight: 600;
}

/* 与省份方块共用一套热力配色，视觉上属于同一张图 */
.nation-tile--lv0 {
  background: #edf0f5;
  color: #a6adb8;
}
.nation-tile--lv0 .nation-tile__badge { background: #fff; color: #a6adb8; }

.nation-tile--lv1 { background: #d9e1ff; color: #2b5bd7; }
.nation-tile--lv2 { background: #8eabff; color: #103ecb; }
.nation-tile--lv3 { background: #366ef4; color: #fff; }
.nation-tile--lv4 { background: #0052d9; color: #fff; }
.nation-tile--lv5 { background: #002a7c; color: #fff; }

.nation-tile--lv3 .nation-tile__badge,
.nation-tile--lv4 .nation-tile__badge,
.nation-tile--lv5 .nation-tile__badge {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* ===========================================================
   省份表格 · 订阅提醒弹层
   =========================================================== */
.sheet-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sheet-modal[hidden] {
  display: none;
}

.sheet-modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 12, 40, 0.45);
  backdrop-filter: blur(2px);
}

.sheet-modal__panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px 22px;
  box-shadow: 0 20px 48px rgba(0, 20, 70, 0.24);
  animation: sheetModalIn 0.18s ease-out;
}

@keyframes sheetModalIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.sheet-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-placeholder);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.sheet-modal__close:hover {
  background: var(--bg-page);
}

.sheet-modal__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.sheet-modal__badge {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0052d9, #366ef4);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sheet-modal__headText {
  min-width: 0;
}

.sheet-modal__name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  color: var(--text-primary);
}

.sheet-modal__meta {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 20px;
  color: var(--text-placeholder);
}

.sheet-modal__lock {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  background: #fff7e8;
  border: 1px solid #ffe0b2;
  margin-bottom: 20px;
}

.sheet-modal__lockIcon {
  flex: none;
  font-size: 15px;
  line-height: 20px;
}

.sheet-modal__lockTitle {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #8a5300;
}

.sheet-modal__lockDesc {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 20px;
  color: #a06a12;
}

.sheet-modal__actions {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.sheet-modal__actions .btn {
  flex: 1;
  justify-content: center;
}

.sheet-modal__actions .is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.sheet-modal__foot {
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 18px;
  color: var(--text-placeholder);
}

.sheet-modal__foot b {
  color: var(--brand-7);
}

/* 弹层打开时锁定页面滚动 */
body.is-locked {
  overflow: hidden;
}
