/* 跑车助手 — 默认苹果简约风；.dh-ui--night 保留原夜色风格 */

:root,
body.dh-ui--apple {
  --dh-bg: #f2f2f7;
  --dh-bg-accent-1: rgba(255, 159, 10, 0.12);
  --dh-bg-accent-2: rgba(48, 176, 199, 0.1);
  --dh-ink: #1d1d1f;
  --dh-deep: #ffffff;
  --dh-panel: rgba(255, 255, 255, 0.86);
  --dh-line: rgba(60, 60, 67, 0.12);
  --dh-hairline: rgba(60, 60, 67, 0.08);
  --dh-sand: #1d1d1f;
  --dh-amber: #ff9f0a;
  --dh-amber-2: #ffb340;
  --dh-mint: #30b0c7;
  --dh-danger: #ff3b30;
  --dh-ok: #34c759;
  --dh-muted: rgba(60, 60, 67, 0.6);
  --dh-radius: 20px;
  --dh-radius-sm: 14px;
  --dh-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'PingFang SC', 'Hiragino Sans GB', 'Helvetica Neue', 'Noto Sans SC', sans-serif;
  --dh-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
  --dh-topbar: rgba(242, 242, 247, 0.78);
  --dh-tabbar: rgba(255, 255, 255, 0.82);
  --dh-tile: #ffffff;
  --dh-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --dh-shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.04);
  --dh-brand-grad: linear-gradient(100deg, #1d1d1f 0%, #ff9f0a 55%, #30b0c7 100%);
  --dh-score-ink: #1d1d1f;
  --dh-grid-opacity: 0;
  --dh-input-bg: rgba(118, 118, 128, 0.12);
  --dh-prose: rgba(29, 29, 31, 0.88);
  --dh-page-x: 16px;
  --dh-shell-max: 560px;
  --dh-shell-margin: 20px;
  --dh-shell-pad-x: 0px;
  --dh-dock-inset-x: 0px;
  --dh-list-black: #d70015;
  --dh-list-white: #248a3d;
  --dh-list-gray: #c93400;
}

body.dh-ui--night {
  --dh-bg: #0b1c24;
  --dh-bg-accent-1: rgba(232, 165, 75, 0.18);
  --dh-bg-accent-2: rgba(110, 201, 184, 0.12);
  --dh-ink: #0b1c24;
  --dh-deep: #0f2a33;
  --dh-panel: rgba(18, 48, 58, 0.72);
  --dh-line: rgba(255, 214, 160, 0.18);
  --dh-hairline: rgba(255, 255, 255, 0.06);
  --dh-sand: #f3e6d4;
  --dh-amber: #e8a54b;
  --dh-amber-2: #ffcf86;
  --dh-mint: #6ec9b8;
  --dh-danger: #e26a5c;
  --dh-ok: #5fbf8a;
  --dh-muted: rgba(243, 230, 212, 0.62);
  --dh-radius: 18px;
  --dh-radius-sm: 14px;
  --dh-font: 'PingFang SC', 'Hiragino Sans GB', 'Source Han Sans SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --dh-display: 'Songti SC', 'STSong', 'Noto Serif SC', 'SimSun', serif;
  --dh-topbar: rgba(11, 28, 36, 0.88);
  --dh-tabbar: rgba(8, 20, 26, 0.92);
  --dh-tile: rgba(255, 255, 255, 0.04);
  --dh-shadow: 0 10px 24px rgba(232, 165, 75, 0.12);
  --dh-shadow-soft: none;
  --dh-brand-grad: linear-gradient(100deg, #fff6e8 10%, #ffcf86 45%, #6ec9b8 100%);
  --dh-score-ink: #0b1c24;
  --dh-grid-opacity: 0.35;
  --dh-input-bg: rgba(0, 0, 0, 0.25);
  --dh-prose: rgba(243, 230, 212, 0.88);
  --dh-list-black: #ffb4ab;
  --dh-list-white: #b6f0cf;
  --dh-list-gray: #ffe2a8;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: var(--dh-font);
  color: var(--dh-sand);
  background: var(--dh-bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body.driver-hub {
  background:
    radial-gradient(1100px 520px at 88% -8%, var(--dh-bg-accent-1), transparent 55%),
    radial-gradient(820px 460px at -8% 18%, var(--dh-bg-accent-2), transparent 50%),
    var(--dh-bg);
  background-attachment: fixed;
}

body.dh-ui--night.driver-hub {
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--dh-bg-accent-1), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, var(--dh-bg-accent-2), transparent 50%),
    linear-gradient(165deg, #07141a 0%, #0f2a33 42%, #122f3a 70%, #0b1c24 100%);
  background-attachment: fixed;
}

.dh-shell {
  min-height: 100vh;
  max-width: 560px;
  margin: 0 auto;
  /* 底栏 = Tab + 收藏，需留足高度，避免车机上挡住内容 */
  padding: 0 0 calc(var(--dh-dock-h, 168px) + env(safe-area-inset-bottom, 0px) + 12px);
  position: relative;
}

.dh-shell::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: var(--dh-grid-opacity);
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}

.dh-top {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 8px;
  min-height: calc(56px + env(safe-area-inset-top, 0px));
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: var(--dh-topbar);
  border-bottom: 1px solid var(--dh-hairline);
}

.dh-top__row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.dh-top__row--main {
  justify-content: space-between;
}

.dh-top__row--sub {
  justify-content: space-between;
}

.dh-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dh-sand);
  min-width: 0;
  min-height: 44px;
  flex: 1 1 auto;
  margin-right: 8px;
}

.dh-brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  background: #fff;
  box-shadow: var(--dh-shadow-soft);
  flex: 0 0 auto;
  display: block;
}

body.dh-ui--night .dh-brand__mark {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.dh-brand__text {
  font-family: var(--dh-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  white-space: nowrap;
}

.dh-top__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  margin-left: auto;
  flex: 0 0 auto;
}

.dh-top__action {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--dh-line);
  border-radius: 999px;
  background: var(--dh-tile);
  color: var(--dh-sand);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  word-break: keep-all;
  cursor: pointer;
}

.dh-top__sublinks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-left: auto;
  flex: 0 0 auto;
}

.dh-chip {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--dh-line);
  border-radius: 999px;
  background: var(--dh-tile);
  color: var(--dh-sand);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  word-break: keep-all;
  cursor: pointer;
}

.dh-drive-toggle[aria-pressed='true'] {
  background: var(--dh-amber);
  color: var(--dh-score-ink);
  border-color: transparent;
}

.dh-chip--ai {
  background: #0071e3;
  border-color: transparent;
  color: #fff;
}

body.dh-ui--night .dh-chip--ai {
  background: #0a84ff;
  color: #fff;
}

.dh-chip--city,
.dh-city {
  color: var(--dh-amber);
  background: rgba(255, 159, 10, 0.08);
  cursor: pointer;
  flex: 0 0 auto;
}

.dh-top__feedback.has-unread {
  color: var(--dh-amber);
}

/* 司机前台隐藏 Drupal 配置齿轮 / contextual */
.driver-hub .contextual,
.driver-hub .contextual-region > .contextual,
.driver-hub [data-contextual-id] .trigger,
.driver-hub .block-config-link {
  display: none !important;
}

/* 兜底：隐藏误拷进 content 的搜索/页脚/联系表单等（生产缓存未清时仍生效） */
.driver-hub .views-exposed-form,
.driver-hub .bef-exposed-form,
.driver-hub form#views-exposed-form-listings-page-1,
.driver-hub .block-views-exposed-filter-block,
.driver-hub .region-footer,
.driver-hub .site-footer,
.driver-hub footer.footer,
.driver-hub .footer,
.driver-hub .block-contact,
.driver-hub .contact-message-form,
.driver-hub .contact-message-listing-contact-form,
.driver-hub form.contact-message-listing-contact-form,
.driver-hub .listing-contact,
.driver-hub #block-listingcontactform,
.driver-hub .dh-main .block:not(#block-driver-hub-content):not(#block-driver-hub-messages):not(.block-system-main-block):not(.block-system-messages-block),
.driver-hub .dialog-off-canvas-main-canvas > *:not(.dh-shell) {
  display: none !important;
}

.driver-hub .dh-shell {
  display: block !important;
  visibility: visible !important;
}

.dh-main { padding: 0 var(--dh-page-x, 16px) 24px; position: relative; z-index: 1; }

.dh-tabbar {
  position: relative;
  left: auto;
  transform: none;
  bottom: auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: var(--dh-tabbar);
  border: 1px solid var(--dh-hairline);
  border-radius: var(--dh-radius-sm, 14px);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--dh-shadow-soft);
  z-index: 1;
}

.dh-dock {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8px;
  /* Same column as .dh-shell (soft skin keeps 560px; wide layout expands below).
     Subtract 2px to match the shell's 1px left/right border. */
  width: calc(min(560px, 100%) - 2px);
  max-width: 100%;
  z-index: 30;
  padding: 0 var(--dh-page-x, 16px) calc(8px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.dh-dock .dh-tabbar {
  width: 100%;
  margin-inline: 0;
  box-sizing: border-box;
}

.dh-bookmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: calc(100% - 16px);
  margin: 0 8px 6px;
  padding: 6px 12px;
  min-height: 34px;
  border: 1px solid var(--dh-hairline);
  border-radius: 10px;
  background: var(--dh-tile);
  color: var(--dh-sand);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.dh-bookmark[aria-pressed="true"] {
  border-color: rgba(255, 159, 10, 0.35);
  background: rgba(255, 159, 10, 0.1);
  min-height: 30px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 550;
}

.dh-bookmark__icon {
  font-size: 1.05rem;
  line-height: 1;
}

.dh-bookmark-toast {
  position: fixed;
  left: 50%;
  bottom: calc(152px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 50;
  max-width: min(420px, calc(100% - 24px));
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(29, 29, 31, 0.92);
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: var(--dh-shadow);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.dh-bookmark-toast.is-on {
  opacity: 1;
}

body.dh-ui--night .dh-bookmark-toast {
  background: rgba(8, 20, 26, 0.94);
  color: #f3e6d4;
}

.dh-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 40px;
  min-height: 40px;
  padding: 0 2px;
  text-align: center;
  text-decoration: none;
  color: var(--dh-muted);
  font-size: 0.72rem;
  line-height: 1;
  border-radius: 10px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.dh-tab.is-active,
.dh-tab:hover {
  color: var(--dh-score-ink);
  background: linear-gradient(180deg, var(--dh-amber-2), var(--dh-amber));
  font-weight: 700;
}

.dh-tab:active { transform: scale(0.96); }

.ch-hero {
  padding: 24px 4px 14px;
  animation: ch-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ch-hero--home {
  padding: 10px 4px 8px;
}

.ch-hero--compact { padding-top: 10px; padding-bottom: 8px; }

.ch-hero--compact .ch-hero__title {
  margin-top: 0;
  font-size: 1.35rem;
}

.ch-hero__brand {
  margin: 0;
  font-family: var(--dh-display);
  font-size: clamp(2.35rem, 9vw, 3rem);
  line-height: 1.02;
  letter-spacing: 0.06em;
  font-weight: 800;
  background: var(--dh-brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Home: brand as compact label — top bar already carries the mark. */
.ch-hero--home .ch-hero__brand {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0.92;
}

.ch-hero--minimal {
  padding: 2px 4px 6px;
  margin-bottom: 2px;
}

.ch-hero--minimal .ch-hero__brand {
  display: none;
}

.ch-home-status {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--dh-muted, rgba(60, 60, 67, 0.55));
  letter-spacing: 0.01em;
}

.ch-home-quick {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.ch-home-quick__link {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--dh-amber, #c45c26);
  text-decoration: none;
}

.ch-home-quick__link:active {
  opacity: 0.75;
}

.ch-home-quick__sep {
  font-size: 0.72rem;
  color: var(--dh-muted, rgba(60, 60, 67, 0.35));
}

.ch-section__hint--soft {
  font-size: 0.76rem;
  font-weight: 400;
  opacity: 0.72;
  margin-top: -2px;
  margin-bottom: 8px;
}

/* Home: premium / chauffeur heat — featured but compact */
.ch-premium-heat {
  margin: 0 0 14px;
  padding: 14px 14px 12px;
  border-radius: var(--dh-radius);
  border: 1px solid rgba(196, 92, 38, 0.22);
  background: linear-gradient(145deg, rgba(232, 160, 106, 0.12), rgba(255, 255, 255, 0.72));
  box-shadow: var(--dh-shadow-soft);
}

.ch-premium-heat__banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ch-premium-heat__intro h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #8a3b12;
}

.ch-premium-heat__sub {
  margin: 4px 0 0;
  font-size: 0.74rem;
  line-height: 1.35;
  color: rgba(60, 40, 20, 0.62);
  font-weight: 400;
}

.ch-premium-heat__spotlight {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 8px 10px;
  border-radius: 12px;
  background: linear-gradient(160deg, #e8a06a, #c45c26);
  color: #fff;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 14px rgba(196, 92, 38, 0.28);
}

.ch-premium-heat__spotlight em {
  font-style: normal;
  font-size: 0.65rem;
  opacity: 0.92;
  line-height: 1.2;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ch-premium-heat__spotlight strong {
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ch-premium-heat__spotlight strong small {
  font-size: 0.72rem;
  font-weight: 700;
}

.ch-premium-heat__spotlight span {
  font-size: 0.62rem;
  opacity: 0.9;
  margin-top: 2px;
}

.ch-premium-heat__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ch-premium-heat__cell {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2px 8px;
  padding: 10px 10px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(196, 92, 38, 0.12);
  text-decoration: none;
  color: inherit;
}

.ch-premium-heat__cell--high {
  border-color: rgba(196, 92, 38, 0.35);
  background: rgba(255, 248, 242, 0.85);
}

.ch-premium-heat__name {
  grid-column: 1;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(40, 28, 16, 0.88);
}

.ch-premium-heat__pct {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: #c45c26;
  letter-spacing: -0.02em;
}

.ch-premium-heat__track {
  grid-column: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(196, 92, 38, 0.12);
  overflow: hidden;
}

.ch-premium-heat__track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e8a06a, #c45c26);
}

.ch-premium-heat__meta {
  margin: 10px 0 0;
  font-size: 0.68rem;
  color: rgba(60, 40, 20, 0.5);
  font-weight: 400;
}

.ch-hero__go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--dh-radius);
  border: 1px solid rgba(255, 159, 10, 0.35);
  background: linear-gradient(135deg, rgba(255, 159, 10, 0.14), rgba(255, 159, 10, 0.04));
  color: inherit;
  text-decoration: none;
  box-shadow: var(--dh-shadow-soft);
  -webkit-tap-highlight-color: transparent;
}

.ch-home-ads {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 2px 0 10px;
}

.ch-home-ads__row {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 6px 0 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 159, 10, 0.38);
  background: var(--dh-tile);
  box-shadow: 0 1px 0 rgba(255, 159, 10, 0.12);
}

.ch-home-ads__tag {
  flex: 0 0 auto;
  height: 24px;
  padding: 0 8px;
  margin-right: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--dh-amber-2), var(--dh-amber));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.04em;
}

.ch-home-ads__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  height: 36px;
  line-height: 36px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent);
}

.ch-home-ads__track {
  display: inline-flex;
  width: max-content;
  animation: ch-home-marquee var(--ch-marquee-s, 18s) linear infinite;
}

.ch-home-ads__txt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-width: min(42vw, 16rem);
  padding: 0 1.8rem;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-align: center;
  color: var(--dh-sand);
  text-decoration: none;
}

.ch-home-ads__txt img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 6px;
  flex: 0 0 auto;
}

.ch-home-ads__txt:active {
  opacity: 0.72;
}

@keyframes ch-home-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ch-home-ads__track {
    animation: none;
  }
  .ch-home-ads__viewport {
    display: flex;
    align-items: center;
    overflow-x: auto;
  }
  .ch-home-ads__txt[aria-hidden='true'] {
    display: none;
  }
  .ch-home-ads__txt {
    min-width: 0;
    padding: 0 12px;
    text-align: left;
  }
}

body.dh-drive-mode .ch-home-ads {
  margin-bottom: 8px;
}

.ch-home-lead {
  /* 手机默认上下堆叠；宽屏/横屏再双列 */
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  margin: 0 0 12px;
}

.ch-home-lead > .ch-home-lead__go,
.ch-home-lead > .ch-home-lead__route,
.ch-home-lead__pair > .ch-home-lead__route {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  height: auto;
  margin: 0 !important;
  padding: 12px 14px;
  box-sizing: border-box;
  border-radius: var(--dh-radius);
  border: 1px solid var(--dh-line);
  background: var(--dh-tile);
  box-shadow: var(--dh-shadow-soft);
  align-self: stretch;
}

.ch-home-lead__pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-auto-rows: 1fr;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.ch-home-lead__pair:empty {
  display: none;
}

.ch-home-lead__pair > :only-child {
  grid-column: 1 / -1;
}

.ch-home-lead__pair > .ch-home-lead__route {
  min-height: 132px;
}

.ch-home-lead__pair .ch-route-brief__card strong,
.ch-home-lead__pair .ch-route-brief__card span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ch-home-lead__pair .ch-route-brief__card span {
  -webkit-line-clamp: 1;
}

.ch-home-lead__premium {
  border-color: rgba(196, 92, 38, 0.2) !important;
  background: linear-gradient(135deg, rgba(232, 160, 106, 0.08), var(--dh-tile)) !important;
}

.ch-home-lead__premium .ch-home-lead__head h2 {
  color: #8a3b12;
}

.ch-home-lead__premium .ch-route-brief__card strong {
  color: #c45c26;
}

.ch-home-lead__pair .ch-home-lead__head h2 {
  font-size: 0.95rem;
}

.ch-home-lead__more {
  margin: 0;
  min-width: 0;
  width: 100%;
}

.ch-home-lead__more-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 2px 8px;
  margin: 0 auto;
  width: max-content;
  max-width: 100%;
  color: var(--dh-muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
}

.ch-home-lead__more-toggle::-webkit-details-marker {
  display: none;
}

.ch-home-lead__more-arrow {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  opacity: 0.75;
}

.ch-home-lead__more[open] > .ch-home-lead__more-toggle .ch-home-lead__more-arrow {
  transform: rotate(225deg);
  margin-top: 3px;
}

.ch-home-lead__more[open] > .ch-home-lead__more-toggle {
  margin-bottom: 8px;
}

.ch-home-lead > .ch-home-lead__go {
  border-color: rgba(255, 159, 10, 0.35);
  background: linear-gradient(135deg, rgba(255, 159, 10, 0.12), rgba(255, 255, 255, 0.55));
}

.ch-home-lead__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 1.5rem;
  flex: 0 0 auto;
}

.ch-home-lead__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.ch-home-lead__head a {
  color: var(--dh-amber);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
}

.ch-home-lead__badge {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dh-score-ink);
  background: rgba(255, 159, 10, 0.22);
}

.ch-home-lead__route .ch-route-brief__card,
.ch-home-lead__go .ch-route-brief__card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-height: 0;
}

.ch-home-lead .ch-meta {
  margin: 0;
  margin-top: auto;
  padding-top: 4px;
  font-size: 0.72rem;
  flex: 0 0 auto;
}

.ch-home-lead__go .ch-wait-brief {
  justify-content: flex-start;
  overflow: visible;
  min-height: auto;
}

.ch-wait-brief__headline {
  display: block;
  font-size: 0.95rem;
  line-height: 1.35;
}

.ch-wait-brief__path {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  overflow: visible !important;
  max-height: none !important;
  -webkit-line-clamp: unset !important;
}

.ch-wait-brief__path .ch-route-path__stop {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
}

.ch-wait-brief__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.ch-wait-brief__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.35;
}

.ch-wait-brief__list b {
  font-weight: 650;
}

.ch-wait-brief__list span {
  color: var(--dh-muted);
  font-size: 0.78rem;
  display: inline !important;
  overflow: visible !important;
  -webkit-line-clamp: unset !important;
}

.ch-wait-brief__blurb {
  margin: 2px 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--dh-muted);
}

/* 首页不要再出顶栏下面那行品牌 / Drupal 标题 */
.dh-page-home .ch-hero--home,
.dh-page-home .ch-page.ch-home > .ch-hero,
.dh-page-home .ch-hero__brand,
.dh-page-home .block-page-title-block,
.dh-page-home h1.page-title {
  display: none !important;
}

.ch-hero__go:active {
  transform: scale(0.985);
}

.ch-hero__go-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ch-hero__go-title {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.ch-hero__go-sub {
  font-size: 0.78rem;
  color: var(--dh-muted);
  font-weight: 500;
}

.ch-hero__go-action {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(160deg, var(--dh-amber-2), var(--dh-amber));
  box-shadow: 0 4px 12px rgba(255, 159, 10, 0.28);
}

.ch-hero__go-action::after {
  content: '›';
  font-size: 1.15em;
  line-height: 1;
  margin-left: 1px;
}

.ch-hero--home .ch-meta {
  margin-top: 8px;
}

.ch-page.ch-home > .ch-hero--home,
.ch-page.ch-home > .ch-hero {
  display: none !important;
}

/* Detail pages hide in-page brand (sticky top brand is enough). */
.ch-airport .ch-hero__brand,
.ch-page .ch-hero--compact .ch-hero__brand {
  display: none;
}

.ch-now {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  margin: 8px 0 14px;
  padding: 14px 16px;
  border-radius: var(--dh-radius);
  border: 1px solid var(--dh-line);
  background: var(--dh-panel);
  box-shadow: var(--dh-shadow);
  animation: ch-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ch-now.is-hot {
  border-color: rgba(255, 159, 10, 0.45);
  box-shadow: 0 10px 28px rgba(255, 159, 10, 0.18);
}

.ch-now.is-soft {
  box-shadow: var(--dh-shadow-soft);
}

.ch-now__score {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--dh-score-ink);
  background: linear-gradient(160deg, var(--dh-amber-2), var(--dh-amber));
}

.ch-now.is-soft .ch-now__score {
  background: linear-gradient(160deg, #b8c0c8, #8e98a3);
  color: #fff;
  font-size: 1rem;
}

.ch-now__eyebrow {
  margin: 0 0 2px;
  font-size: 0.75rem;
  color: var(--dh-muted);
  font-weight: 600;
}

.ch-now__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ch-now__advice {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--dh-prose);
}

.ch-dest-bar--now {
  margin-top: 4px;
}

.ch-dest-bar--now .ch-dest-chip {
  font-size: 0.78rem;
  padding: 5px 9px;
}

.ch-section--fold {
  padding-top: 12px;
  padding-bottom: 12px;
}

.ch-section--fold > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ch-section--fold > summary::-webkit-details-marker { display: none; }

.ch-section--fold > summary h2 {
  margin: 0;
  font-size: 1.05rem;
}

.ch-section--fold > summary::after {
  content: '展开';
  font-size: 0.78rem;
  color: var(--dh-amber);
  font-weight: 600;
}

.ch-section--fold[open] > summary::after {
  content: '收起';
}

.ch-section--fold[open] > summary {
  margin-bottom: 12px;
}

.ch-heat__legend-wrap {
  margin-top: 8px;
}

.ch-heat__legend-wrap > summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--dh-muted);
  font-weight: 600;
}

.ch-heat__legend-wrap > summary::-webkit-details-marker { display: none; }

.ch-heat__legend-wrap[open] .ch-heat__legend {
  margin-top: 8px;
}

.ch-station__hint {
  margin: 4px 0 0 !important;
  color: var(--dh-amber) !important;
  font-size: 0.82rem !important;
  font-weight: 600;
}

.ch-hero__title {
  margin: 12px 0 6px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ch-hero__period {
  font-size: 0.72em;
  font-weight: 600;
  color: var(--dh-muted);
  letter-spacing: 0;
}

.ch-hero__lead,
.ch-meta,
.ch-lead {
  margin: 0;
  color: var(--dh-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.ch-meta { margin-top: 8px; font-size: 0.78rem; }

.ch-section {
  margin: 14px 0;
  padding: 16px;
  border: 1px solid var(--dh-line);
  border-radius: var(--dh-radius);
  background: var(--dh-panel);
  box-shadow: var(--dh-shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: ch-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ch-section:nth-child(3) { animation-delay: 0.04s; }
.ch-section:nth-child(4) { animation-delay: 0.08s; }
.ch-section:nth-child(5) { animation-delay: 0.12s; }

.ch-section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.ch-section__head h1,
.ch-section__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.ch-section > h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.ch-section__head a {
  color: var(--dh-amber);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.ch-advice {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--dh-hairline);
}

.ch-advice:first-of-type { border-top: 0; padding-top: 0; }
.ch-advice h3 { margin: 0 0 4px; font-size: 0.98rem; font-weight: 700; }
.ch-advice p { margin: 0; color: var(--dh-muted); font-size: 0.86rem; line-height: 1.5; }

.ch-advice__score {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--dh-score-ink);
  background: linear-gradient(160deg, var(--dh-amber-2), var(--dh-amber));
  box-shadow: var(--dh-shadow);
}

.ch-advice--soft .ch-advice__score {
  background: linear-gradient(160deg, #7ad4e4, var(--dh-mint));
  opacity: 0.92;
  transform: scale(0.92);
  transform-origin: center;
}

.ch-slot.is-soft .ch-advice__score {
  opacity: 0.75;
  transform: scale(0.88);
  box-shadow: none;
}

.ch-slot.is-hot > summary .ch-advice__score {
  width: 60px;
  height: 60px;
  font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(255, 159, 10, 0.28);
}

.ch-radar {
  border-color: rgba(255, 159, 10, 0.3);
}

.ch-radar-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding: 14px 0;
  color: inherit;
  text-decoration: none;
  border-top: 1px solid var(--dh-hairline);
}

.ch-radar-card:first-of-type { border-top: 0; padding-top: 0; }

.ch-radar-card__decision {
  min-height: 76px;
  padding: 9px 6px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(118, 118, 128, 0.12);
  text-align: center;
}

.ch-radar-card__decision span { font-size: 0.74rem; font-weight: 650; }
.ch-radar-card__decision strong { font-size: 1.7rem; line-height: 1.1; }
/* Soft tint panels — not solid neon blocks */
.ch-radar-card--go .ch-radar-card__decision,
.ch-radar-card--go .ch-radar-detail__score {
  background: linear-gradient(165deg, rgba(47, 143, 104, 0.14), rgba(47, 143, 104, 0.06));
  color: #1b5c3c;
  box-shadow: inset 0 0 0 1px rgba(47, 143, 104, 0.22);
}
.ch-radar-card--watch .ch-radar-card__decision,
.ch-radar-card--watch .ch-radar-detail__score {
  background: linear-gradient(165deg, rgba(196, 122, 38, 0.14), rgba(196, 122, 38, 0.06));
  color: #7a4518;
  box-shadow: inset 0 0 0 1px rgba(196, 122, 38, 0.2);
}
.ch-radar-card--avoid .ch-radar-card__decision,
.ch-radar-card--data_unavailable .ch-radar-card__decision,
.ch-radar-card--avoid .ch-radar-detail__score,
.ch-radar-card--data_unavailable .ch-radar-detail__score {
  background: linear-gradient(165deg, rgba(90, 90, 98, 0.1), rgba(90, 90, 98, 0.04));
  color: #5a5a62;
  box-shadow: inset 0 0 0 1px rgba(90, 90, 98, 0.14);
}

.ch-radar-card__body h3 { margin: 0 0 4px; font-size: 1.05rem; }
.ch-radar-card__body p { margin: 0; font-size: 0.9rem; line-height: 1.45; }
.ch-radar-card__body small { display: block; margin-top: 7px; color: var(--dh-muted); }

.ch-radar-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.ch-radar-card__facts span {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(48, 176, 199, 0.12);
  color: var(--dh-mint);
  font-size: 0.72rem;
  font-weight: 700;
}

.ch-radar-empty { padding: 8px 0; }
.ch-radar-empty p { margin: 4px 0 0; color: var(--dh-muted); font-size: 0.86rem; }

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

.ch-radar-detail__top h2 { margin: 3px 0 0; font-size: 1.45rem; }
.ch-radar-detail__eyebrow { color: var(--dh-muted); font-size: 0.75rem; font-weight: 700; }
.ch-radar-detail__score {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 1.65rem;
}

.ch-radar-windows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 12px 0;
}

.ch-radar-windows div {
  padding: 9px 5px;
  border-radius: 12px;
  background: var(--dh-input-bg);
  text-align: center;
}

.ch-radar-windows strong,
.ch-radar-windows span { display: block; font-size: 0.76rem; }
.ch-radar-windows span { margin-top: 3px; color: var(--dh-muted); }
.ch-radar-reason { font-size: 0.88rem; }
.ch-radar-disclaimer { margin-bottom: 0; color: var(--dh-muted); font-size: 0.76rem; }
.ch-radar-alert {
  width: 100%;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--dh-line);
  border-radius: 12px;
  background: var(--dh-tile);
  color: var(--dh-sand);
  font: inherit;
  font-weight: 700;
}
.ch-radar-alert[aria-pressed='true'] { color: var(--dh-ok); border-color: var(--dh-ok); }

/* Drive mode: 窄屏只隐藏次要块并放大触控；双列仅在宽屏/横屏生效 */
body.dh-drive-mode .ch-page.ch-home > .ch-section:not(.ch-section--focus) {
  display: none;
}

body.dh-drive-mode .ch-page.ch-radar > .ch-section {
  display: block;
}

body.dh-drive-mode .ch-page.ch-radar > .ch-hero--compact .ch-hero__lead,
body.dh-drive-mode .ch-page.ch-radar > .ch-hero--compact .ch-hero__brand {
  display: none;
}

body.dh-drive-mode .ch-page.ch-guides > .ch-section--focus,
body.dh-drive-mode .ch-page.ch-rentals .ch-rentals-actions {
  display: flex;
}

body.dh-drive-mode .dh-shell {
  padding-bottom: calc(var(--dh-dock-h, 176px) + env(safe-area-inset-bottom, 0px) + 12px);
}

body.dh-drive-mode .dh-tabbar {
  display: grid;
}

body.dh-drive-mode .dh-tab {
  height: 40px;
  min-height: 40px;
  font-size: 0.72rem;
  font-weight: 700;
}

body.dh-drive-mode .dh-bookmark {
  min-height: 2.1rem;
  font-size: 0.85rem;
  font-weight: 700;
}

body.dh-drive-mode .dh-tab:not(.dh-tab--focus):not([data-path="/driver"]):not([data-path="/driver/radar"]):not([data-path="/driver/rentals"]) {
  opacity: 0.55;
}

body.dh-drive-mode .dh-tab--focus {
  color: var(--dh-amber);
  font-weight: 800;
}

body.dh-drive-mode .ch-radar-card__body h3 { font-size: 1.15rem; }
body.dh-drive-mode .ch-radar-card__body p { font-size: 0.98rem; }
body.dh-drive-mode .ch-radar-card__facts span { font-size: 0.8rem; padding: 5px 8px; }
body.dh-drive-mode .ch-radar-card__decision { min-height: 72px; }

.ch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ch-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: var(--dh-radius-sm);
  text-decoration: none;
  color: inherit;
  background: var(--dh-tile);
  border: 1px solid var(--dh-line);
  box-shadow: var(--dh-shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ch-tile:active { transform: scale(0.98); }
.ch-tile__score { color: var(--dh-amber); font-weight: 700; }
.ch-tile__sub { color: var(--dh-muted); font-size: 0.78rem; }

.ch-list-item,
.ch-station,
.ch-rental,
.ch-evidence {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 14px 0;
  border-top: 1px solid var(--dh-hairline);
}

.ch-list-item:first-of-type,
.ch-station:first-of-type { border-top: 0; }

.ch-list-item strong,
.ch-station strong,
.ch-rental strong { display: block; margin-bottom: 4px; }

.ch-list-item span,
.ch-station p,
.ch-rental p {
  margin: 0;
  color: var(--dh-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.ch-list-item--black strong { color: var(--dh-list-black); }
.ch-list-item--white strong { color: var(--dh-list-white); }
.ch-list-item--gray strong { color: var(--dh-list-gray); }

.ch-station {
  margin: 12px 0;
  padding: 16px;
  border: 1px solid var(--dh-line);
  border-radius: var(--dh-radius);
  background: var(--dh-panel);
  box-shadow: var(--dh-shadow-soft);
  animation: ch-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ch-station__top { display: flex; justify-content: space-between; align-items: center; }
.ch-station__reason { margin-top: 8px !important; }

.ch-pill {
  background: rgba(255, 159, 10, 0.14);
  color: var(--dh-amber);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.ch-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ch-chips span,
.ch-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(48, 176, 199, 0.12);
  color: var(--dh-mint);
  border: 1px solid rgba(48, 176, 199, 0.22);
  font-weight: 600;
}

.ch-chips--wrap { margin: 8px 0 4px; }

.ch-bar {
  display: grid;
  grid-template-columns: minmax(72px, 96px) 1fr 44px;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
  font-size: 0.86rem;
}
.ch-bar > span {
  line-height: 1.25;
  word-break: break-all;
}
.ch-bar.is-cross span {
  color: #5b6cff;
  font-weight: 700;
}
.ch-bar.is-cross .ch-bar__track i {
  background: linear-gradient(90deg, #8b9bff, #5b6cff);
}
.ch-bar.is-premium span {
  color: #c45c26;
  font-weight: 700;
}
.ch-bar.is-premium .ch-bar__track i {
  background: linear-gradient(90deg, #e8a06a, #c45c26);
}

.ch-bar__track {
  height: 8px;
  border-radius: 999px;
  background: var(--dh-hairline);
  overflow: hidden;
}

.ch-bar__track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--dh-mint), var(--dh-amber));
  animation: ch-fill 0.9s ease both;
}

.ch-bar em { font-style: normal; color: var(--dh-amber); text-align: right; font-weight: 600; }

.ch-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
  padding: 4px;
  border-radius: 14px;
  background: var(--dh-input-bg);
}

body.dh-ui--night .ch-tabs {
  background: transparent;
  padding: 0;
}

.ch-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--dh-muted);
  border-radius: 11px;
  padding: 10px;
  font: inherit;
  font-weight: 600;
}

body.dh-ui--night .ch-tabs button {
  border: 1px solid var(--dh-line);
}

.ch-tabs button.is-active {
  color: var(--dh-score-ink);
  background: linear-gradient(180deg, var(--dh-amber-2), var(--dh-amber));
  box-shadow: var(--dh-shadow-soft);
}

.ch-panel { display: none; }
.ch-panel.is-active { display: block; }

.ch-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--dh-hairline);
}

.ch-advice--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.ch-advice--link:active { opacity: 0.85; }

.ch-slot {
  border-top: 1px solid var(--dh-hairline);
  padding: 4px 0 8px;
}
.ch-slot:first-of-type { border-top: 0; }
.ch-slot > summary {
  list-style: none;
  cursor: pointer;
}
.ch-slot > summary::-webkit-details-marker { display: none; }
.ch-slot.is-soft .ch-advice__score {
  background: linear-gradient(160deg, #7ad4e4, var(--dh-mint));
  opacity: 0.75;
  transform: scale(0.88);
  box-shadow: none;
}
.ch-slot[open] > summary { margin-bottom: 6px; }
.ch-slot__head h3 { margin: 0 0 6px; }
.ch-slot__head p { margin: 6px 0 0; }
.ch-slot__list {
  margin: 0 0 4px 68px;
  padding: 2px 0 4px;
  border-left: 2px solid var(--dh-hairline);
  padding-left: 12px;
}

.ch-dest-bar {
  /* 6.5" phone: 3 cols × 2 rows — [区][区][专车] / [区][区][跨城] */
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 2px 0 6px;
  max-width: 100%;
}
.ch-dest-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  padding: 4px 6px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--dh-mint);
  background: rgba(48, 176, 199, 0.1);
  border: 1px solid rgba(48, 176, 199, 0.2);
  line-height: 1.15;
}
.ch-dest-chip.is-lead {
  color: var(--dh-amber);
  background: rgba(255, 159, 10, 0.12);
  border-color: rgba(255, 159, 10, 0.28);
}
.ch-dest-chip.is-premium {
  color: #c45c26;
  background: rgba(196, 92, 38, 0.12);
  border-color: rgba(196, 92, 38, 0.3);
}
.ch-dest-chip.is-cross {
  color: #5b6cff;
  background: rgba(91, 108, 255, 0.1);
  border-color: rgba(91, 108, 255, 0.28);
}
.ch-dest-chip b {
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ch-dest-chip em {
  font-style: normal;
  opacity: 0.85;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

.ch-pin {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: currentColor;
  flex: 0 0 auto;
  position: relative;
}
.ch-pin::after {
  content: "";
  position: absolute;
  inset: 2.5px;
  border-radius: 50%;
  background: #fff;
}
body.dh-ui--night .ch-pin::after {
  background: #1c1c1e;
}

.ch-row--trip { align-items: flex-start; padding: 9px 0; }
.ch-row__main { min-width: 0; flex: 1; }
.ch-row__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}
.ch-row__title strong {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}
.ch-row__sub {
  display: block;
  color: var(--dh-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}
.ch-dest-mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 2px 8px 2px 6px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--dh-amber);
  background: rgba(255, 159, 10, 0.1);
  border: 1px solid rgba(255, 159, 10, 0.22);
  white-space: nowrap;
}
.ch-dest-mark span {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 7.5em;
}
.ch-row__right {
  text-align: right;
  flex: 0 0 auto;
}
.ch-row__right strong { display: block; font-size: 0.98rem; }
.ch-row__right span {
  display: block;
  color: var(--dh-muted);
  font-size: 0.75rem;
  margin-top: 2px;
}

@media (max-width: 380px) {
  .ch-slot__list { margin-left: 0; border-left: 0; padding-left: 0; }
}

.ch-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 12px;
}
.ch-event {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 159, 10, 0.1);
  border: 1px solid rgba(255, 159, 10, 0.22);
}
.ch-event strong {
  font-size: 0.92rem;
  font-weight: 750;
  color: var(--dh-amber);
}
.ch-event span {
  font-size: 0.8rem;
  color: var(--dh-muted);
  line-height: 1.4;
}

.ch-heat-scroll {
  margin-top: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  border-radius: 16px;
  border: 1px solid var(--dh-line);
  background: var(--dh-tile);
}

/* 客流预测列表：内部竖向滚动，上方「今日时段热度」保持可见。 */
.ch-forecast-scroll {
  margin-top: 8px;
  max-height: min(52vh, 420px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  border-radius: 14px;
  border: 1px solid var(--dh-line);
  background: var(--dh-tile);
  padding: 4px 10px 8px;
}
.ch-forecast-scroll > .ch-slot:first-child {
  border-top: 0;
}
.ch-heat {
  --cols: 12;
  --bar-track: 168px;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(36px, 1fr));
  gap: 6px;
  align-items: end;
  min-height: calc(var(--bar-track) + 44px);
  min-width: calc(var(--cols) * 42px);
  margin-top: 0;
  padding: 12px 10px 10px;
  border-radius: 0;
  background: transparent;
  border: 0;
}
.ch-heat__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 36px;
  height: calc(var(--bar-track) + 36px);
  scroll-snap-align: center;
}
/* Definite-height track so bar % / calc heights actually fill the chart. */
.ch-heat__track {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: var(--bar-track);
  min-height: var(--bar-track);
}
/* Use px so numbers cannot inherit page rem/body size (was missing on prod). */
.ch-heat .ch-heat__col > .ch-heat__num {
  display: block;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1.1;
  color: var(--dh-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: none;
}
.ch-heat .ch-heat__col.is-empty > .ch-heat__num { opacity: 0.4; }
.ch-heat .ch-heat__col.is-hot > .ch-heat__num,
.ch-heat .ch-heat__col.is-peak > .ch-heat__num,
.ch-heat .ch-heat__col.is-now > .ch-heat__num {
  color: var(--dh-amber);
  font-weight: 400 !important;
}
.ch-heat__bar {
  display: block;
  width: 100%;
  max-width: 26px;
  /* Unitless --h (0–100); px avoids % collapsing when parent height was auto. */
  height: calc(var(--h, 0) * var(--bar-track) / 100);
  min-height: 0;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #7ad4e4, var(--dh-mint));
  opacity: 0.95;
  transition: height 0.25s ease;
}
.ch-heat__col.is-hot .ch-heat__bar {
  background: linear-gradient(180deg, var(--dh-amber-2), var(--dh-amber));
  opacity: 1;
}
.ch-heat__col.is-peak .ch-heat__bar {
  background: linear-gradient(180deg, #ffb84d, #ff7a1a);
  box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.25);
}
.ch-heat__col.is-plan .ch-heat__bar {
  background: repeating-linear-gradient(
    -45deg,
    rgba(48, 176, 199, 0.35),
    rgba(48, 176, 199, 0.35) 3px,
    rgba(48, 176, 199, 0.12) 3px,
    rgba(48, 176, 199, 0.12) 6px
  );
  outline: 1px dashed rgba(48, 176, 199, 0.55);
  outline-offset: 0;
  opacity: 0.9;
}
.ch-heat__col.is-history .ch-heat__bar {
  background: repeating-linear-gradient(
    90deg,
    rgba(90, 110, 128, 0.42),
    rgba(90, 110, 128, 0.42) 3px,
    rgba(90, 110, 128, 0.14) 3px,
    rgba(90, 110, 128, 0.14) 7px
  );
  outline: 1px dotted rgba(90, 110, 128, 0.55);
  outline-offset: 0;
  opacity: 0.88;
}
.ch-heat__col.is-history.is-hot .ch-heat__bar,
.ch-heat__col.is-history.is-peak .ch-heat__bar {
  background: repeating-linear-gradient(
    90deg,
    rgba(180, 120, 60, 0.5),
    rgba(180, 120, 60, 0.5) 3px,
    rgba(180, 120, 60, 0.16) 3px,
    rgba(180, 120, 60, 0.16) 7px
  );
  outline-color: rgba(180, 120, 60, 0.5);
}
.ch-heat__col.is-plan.is-hot .ch-heat__bar,
.ch-heat__col.is-plan.is-peak .ch-heat__bar {
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 159, 10, 0.55),
    rgba(255, 159, 10, 0.55) 3px,
    rgba(255, 159, 10, 0.18) 3px,
    rgba(255, 159, 10, 0.18) 6px
  );
  outline-color: rgba(255, 159, 10, 0.5);
}
.ch-heat__col.is-mixed .ch-heat__bar {
  background: linear-gradient(180deg, #7ad4e4 0%, var(--dh-mint) 55%, rgba(255, 159, 10, 0.75) 100%);
}
.ch-heat__col.is-empty .ch-heat__bar {
  background: var(--dh-line);
  opacity: 0.45;
  height: 5px;
  min-height: 5px;
  outline: 0;
}
.ch-heat__col.is-now em {
  color: var(--dh-amber);
  font-weight: 800;
}
.ch-heat__col.is-now .ch-heat__bar {
  outline: 2px solid var(--dh-amber);
  outline-offset: 1px;
}
.ch-heat__col.is-past {
  opacity: 0.52;
}
.ch-heat__col.is-past .ch-heat__bar {
  background: linear-gradient(180deg, #c7c7cc, #8e8e93) !important;
  outline: none;
}
.ch-heat__col.is-past > .ch-heat__num,
.ch-heat__col.is-past > em {
  color: #8e8e93;
}
.ch-heat__col.is-past.is-now {
  opacity: 1;
}
.ch-heat .ch-heat__col > em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--dh-muted);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ch-heat__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  font-size: 0.74rem;
  color: var(--dh-muted);
}
.ch-heat__legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ch-heat__legend i {
  display: inline-block;
  width: 10px;
  height: 14px;
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, #7ad4e4, var(--dh-mint));
}
.ch-heat__legend i.is-live {
  background: linear-gradient(180deg, #7ad4e4, var(--dh-mint));
}
.ch-heat__legend i.is-past {
  background: linear-gradient(180deg, #c7c7cc, #8e8e93);
  opacity: 0.85;
}
.ch-heat__legend i.is-plan {
  background: repeating-linear-gradient(
    -45deg,
    rgba(48, 176, 199, 0.45),
    rgba(48, 176, 199, 0.45) 2px,
    rgba(48, 176, 199, 0.15) 2px,
    rgba(48, 176, 199, 0.15) 4px
  );
  outline: 1px dashed rgba(48, 176, 199, 0.5);
}
.ch-heat__legend i.is-history {
  background: repeating-linear-gradient(
    90deg,
    rgba(90, 110, 128, 0.5),
    rgba(90, 110, 128, 0.5) 2px,
    rgba(90, 110, 128, 0.15) 2px,
    rgba(90, 110, 128, 0.15) 5px
  );
  outline: 1px dotted rgba(90, 110, 128, 0.55);
}
.ch-heat__legend i.is-peak {
  background: linear-gradient(180deg, #ffb84d, #ff7a1a);
}
.ch-heat__legend i.is-now {
  outline: 1.5px solid var(--dh-amber);
  outline-offset: 1px;
}

.ch-data-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  vertical-align: middle;
  line-height: 1.4;
}
.ch-data-tag.is-live {
  color: var(--dh-mint);
  background: rgba(48, 176, 199, 0.12);
  border: 1px solid rgba(48, 176, 199, 0.22);
}
.ch-data-tag.is-plan {
  color: var(--dh-muted);
  background: rgba(120, 120, 128, 0.1);
  border: 1px dashed rgba(120, 120, 128, 0.35);
}
.ch-data-tag.is-history {
  color: #5a6e80;
  background: rgba(90, 110, 128, 0.1);
  border: 1px dotted rgba(90, 110, 128, 0.4);
}
.ch-slot.is-plan .ch-advice__score {
  background: linear-gradient(160deg, #b8c0c8, #8e98a3);
  color: #fff;
}
.ch-slot.is-history .ch-advice__score {
  background: linear-gradient(160deg, #8a9aab, #5a6e80);
  color: #fff;
}
.ch-slot.is-now {
  border-radius: 12px;
  margin: 4px -4px;
  padding-left: 4px;
  padding-right: 4px;
  background: rgba(0, 122, 255, 0.06);
  border-top-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(0, 122, 255, 0.28);
}
.ch-slot.is-now > summary .ch-advice__score {
  background: #007aff;
  color: #fff;
}
.ch-row.is-now {
  background: rgba(0, 122, 255, 0.06);
  border-radius: 10px;
}

@media (max-width: 400px) {
  .ch-heat {
    --bar-track: 140px;
    gap: 4px;
    padding: 10px 6px 8px;
  }
  .ch-heat .ch-heat__col > .ch-heat__num { font-size: 9px !important; }
  .ch-heat .ch-heat__col > em { font-size: 10px; }
  .ch-heat__bar { max-width: 20px; }
}

.ch-week { margin-top: 10px; }
.ch-week__title {
  margin: 12px 0 8px;
  font-size: 0.82rem;
  color: var(--dh-muted);
  font-weight: 600;
}
.ch-week__bars,
.ch-week--dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  align-items: end;
  min-height: 88px;
}
.ch-week__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 88px;
  justify-content: flex-end;
}
.ch-week__bar {
  display: block;
  width: 14px;
  height: var(--h, 8%);
  min-height: 6px;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--dh-amber-2), var(--dh-amber));
}
.ch-week__col.is-empty .ch-week__bar {
  background: var(--dh-line);
  height: 6px;
}
.ch-week__col em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
}
.ch-week__col small {
  font-size: 0.64rem;
  color: var(--dh-muted);
  line-height: 1.1;
  text-align: center;
}


.ch-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 8px 0 14px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.ch-filters a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--dh-muted);
  border: 1px solid var(--dh-line);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  background: var(--dh-tile);
  font-weight: 600;
}

.ch-filters a.is-active {
  color: var(--dh-score-ink);
  background: var(--dh-amber);
  border-color: transparent;
  font-weight: 700;
}

.ch-rental {
  margin: 10px 0;
  padding: 14px;
  border-radius: var(--dh-radius);
  border: 1px solid var(--dh-line);
  background: var(--dh-panel);
  box-shadow: var(--dh-shadow-soft);
}

.ch-rental__top { display: flex; justify-content: space-between; gap: 8px; }
.ch-rental--black { border-color: rgba(255, 59, 48, 0.35); }
.ch-rental--white { border-color: rgba(52, 199, 89, 0.35); }
.ch-rental--gray { border-color: rgba(255, 159, 10, 0.35); }
.ch-hero--black .ch-hero__title { color: var(--dh-list-black); }
.ch-hero--white .ch-hero__title { color: var(--dh-list-white); }

.ch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 10px 0;
  padding: 13px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  letter-spacing: -0.01em;
}

.ch-btn--primary {
  color: var(--dh-score-ink);
  background: linear-gradient(180deg, var(--dh-amber-2), var(--dh-amber));
  box-shadow: var(--dh-shadow-soft);
}

.ch-btn--ghost {
  color: var(--dh-sand);
  border-color: var(--dh-line);
  background: var(--dh-tile);
}

.ch-article h1 { font-size: 1.55rem; margin: 8px 0; letter-spacing: -0.02em; }

.ch-ad .ch-section__head h1 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.ch-prose {
  color: var(--dh-prose);
  line-height: 1.7;
  font-size: 0.95rem;
}

.ch-prose h2 { font-size: 1.1rem; margin-top: 1.2em; }
.ch-prose a { color: var(--dh-amber); }
.ch-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 0.6em 0;
}
.ch-prose p { margin: 0.6em 0; }
.ch-prose ul,
.ch-prose ol { padding-left: 1.2em; }

.ch-empty { color: var(--dh-muted); font-size: 0.9rem; }

.ch-form label { color: var(--dh-sand); font-weight: 600; }

.ch-form input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="image"]),
.ch-form textarea,
.ch-form select {
  width: 100%;
  margin: 6px 0 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--dh-line);
  background: var(--dh-input-bg);
  color: var(--dh-sand);
  font: inherit;
}

.ch-form__intro { color: var(--dh-muted); }

.messages,
.messages-list {
  margin: 12px 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(48, 176, 199, 0.12);
  color: var(--dh-sand);
  border: 1px solid rgba(48, 176, 199, 0.2);
}

@keyframes ch-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes ch-fill {
  from { width: 0 !important; }
}

/* —— 跑车助手 —— */
.ch-radar__hero-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 4px 0;
}

.ch-radar__row {
  display: grid;
  grid-template-columns: 28px 1fr 48px;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--dh-hairline);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.ch-radar__row:first-of-type { border-top: 0; padding-top: 0; }
.ch-radar__row:active { opacity: 0.85; }

.ch-radar__rank {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  background: var(--dh-tile);
  color: var(--dh-muted);
}

.ch-radar__row--go_now .ch-radar__rank {
  background: linear-gradient(160deg, var(--dh-amber-2), var(--dh-amber));
  color: var(--dh-score-ink);
}

.ch-radar__body strong { display: block; margin-bottom: 2px; }
.ch-radar__body span { color: var(--dh-muted); font-size: 0.8rem; }
.ch-radar__score { text-align: right; font-weight: 800; color: var(--dh-amber); }

.ch-pill--go_now {
  background: rgba(255, 159, 10, 0.18);
  color: var(--dh-amber);
}
.ch-pill--go_at {
  background: rgba(48, 176, 199, 0.16);
  color: var(--dh-mint);
}
.ch-pill--wait,
.ch-pill--skip {
  background: rgba(120, 120, 128, 0.12);
  color: var(--dh-muted);
}

.ch-hero__cta { margin-top: 14px; }

.ch-home .ch-hero__cta { display: none; }

.ch-board-fold {
  margin-top: 4px;
}
.ch-board-fold > summary {
  cursor: pointer;
  color: var(--dh-muted);
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 8px;
  list-style: none;
}
.ch-board-fold > summary::-webkit-details-marker { display: none; }

/* Auth / membership */
.ch-auth {
  min-height: 70vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px 40px;
}
.ch-auth__card {
  width: 100%;
  max-width: 420px;
  animation: ch-rise 0.45s ease both;
}
.ch-auth__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 4px 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.ch-auth__title--page {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.ch-auth__lead {
  color: var(--dh-muted);
  font-size: 0.92rem;
  margin: 0 0 20px;
  line-height: 1.45;
}
.ch-auth__guest {
  margin: 0 0 8px;
}
.ch-auth__guest .ch-btn {
  width: 100%;
}
.ch-auth__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 16px;
  color: var(--dh-muted);
  font-size: 0.78rem;
}
.ch-auth__or::before,
.ch-auth__or::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: var(--dh-line);
}
.ch-auth__or span { flex: 0 0 auto; }
.ch-auth__primary {
  margin-bottom: 18px;
  text-align: center;
}
.ch-auth__qr {
  display: flex;
  justify-content: center;
  margin: 0 auto 10px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--dh-line);
}
.ch-auth__qr img {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 8px;
  background: #fff;
}
.ch-auth__qr--primary {
  background: #fff;
  padding: 12px;
}
.dh-android-app .ch-auth__qr--primary img,
.dh-android-app .ch-auth__qr--primary .ch-auth__qr-ph {
  width: 220px;
  height: 220px;
}
.ch-auth__qr-ph {
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  color: var(--dh-muted);
  font-size: 0.85rem;
  text-align: center;
}
.ch-btn--wechat {
  background: linear-gradient(180deg, #2ad16b, #17a854);
  color: #fff;
}
.ch-auth__account,
.ch-auth__mobile {
  margin-top: 14px;
  border-top: 1px solid var(--dh-line);
  padding-top: 12px;
}
.ch-auth__account summary,
.ch-auth__mobile summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--dh-sand);
  list-style: none;
}
.ch-auth__account summary::-webkit-details-marker,
.ch-auth__mobile summary::-webkit-details-marker { display: none; }
.ch-auth__form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.ch-auth__label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--dh-muted);
}
.ch-auth__label input {
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--dh-line);
  background: rgba(255,255,255,0.04);
  color: var(--dh-sand);
  padding: 10px 12px;
  font-size: 1rem;
}
.ch-auth__code-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.ch-auth__code-row .ch-auth__label {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
.ch-auth__code-row .ch-btn {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 14px;
  white-space: nowrap;
  align-self: flex-end;
}
.ch-auth__err {
  color: #ff8a7a;
  font-size: 0.85rem;
  margin: 0;
}
.ch-auth__hint {
  margin: 0 0 12px;
}
.ch-auth__region {
  margin: -8px 0 14px;
  color: var(--dh-mint);
}
.ch-login-panel {
  display: none !important;
}
.ch-login-panel.active {
  display: block !important;
  animation: ch-rise 0.35s ease both;
}
.ch-login-panel[hidden] {
  display: none !important;
}
.ch-login-back {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--dh-mint);
  font-size: 0.9rem;
  font-weight: 650;
  padding: 0 0 12px;
  cursor: pointer;
}
.ch-login-back::before {
  content: "← ";
}
.ch-login-back[hidden] {
  display: none !important;
}
.ch-login-alt {
  margin-top: 22px;
  text-align: center;
}
.ch-login-alt__label {
  position: relative;
  margin: 0 0 16px;
  font-size: 0.8rem;
  color: var(--dh-muted);
}
.ch-login-alt__label::before,
.ch-login-alt__label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28%;
  height: 1px;
  background: var(--dh-line);
}
.ch-login-alt__label::before { left: 0; }
.ch-login-alt__label::after { right: 0; }
.ch-login-alt__icons {
  display: flex;
  justify-content: center;
  gap: 28px;
}
.ch-login-alt-icon {
  appearance: none;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--dh-muted);
  font-size: 0.78rem;
  font-weight: 600;
}
.ch-login-alt-icon__glyph {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease;
}
.ch-login-alt-icon--mobile .ch-login-alt-icon__glyph {
  background: #2563eb;
}
.ch-login-alt-icon--mobile .ch-login-alt-icon__glyph::before {
  content: "";
  width: 18px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 5px;
  box-sizing: border-box;
  box-shadow: inset 0 -3px 0 0 #fff;
}
.ch-login-alt-icon--account .ch-login-alt-icon__glyph {
  background: #64748b;
}
.ch-login-alt-icon--account .ch-login-alt-icon__glyph::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-sizing: border-box;
  box-shadow: 0 10px 0 -2px #fff;
}
.ch-login-alt-icon--wechat .ch-login-alt-icon__glyph {
  background: #07c160;
}
.ch-login-alt-icon--wechat .ch-login-alt-icon__glyph::before {
  content: "";
  width: 22px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 10px 10px 10px 4px;
  box-sizing: border-box;
}
.ch-login-alt-icon:hover .ch-login-alt-icon__glyph {
  transform: translateY(-1px);
}
.ch-login-alt-icon__text {
  pointer-events: none;
}
#ch-login-card.is-alt-open .ch-login-alt {
  display: none;
}

.ch-plan {
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid var(--dh-line);
  background: rgba(255,255,255,0.03);
  margin-bottom: 16px;
}
.ch-plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.ch-plan__price strong {
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  color: var(--dh-amber);
}

.ch-plan__promo {
  margin: 0 0 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(245, 166, 35, 0.12);
  color: var(--dh-amber);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
}

.ch-invite__card,
.ch-invite__rewards,
.ch-invite-brief__body {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--dh-line);
  background: rgba(255,255,255,0.03);
  margin-bottom: 14px;
}
.ch-invite__card h2,
.ch-invite__rewards h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.ch-invite__url {
  word-break: break-all;
  font-size: 0.86rem;
  color: var(--dh-mint);
  margin: 0 0 6px;
}
.ch-invite__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  text-align: center;
}
.ch-invite__qr-box {
  box-sizing: border-box;
  width: 196px;
  height: 196px;
  padding: 10px;
  background: #fff;
  border-radius: 14px;
}
.ch-invite__qr-box img,
.ch-invite__qr-box canvas,
.ch-invite__qr-box svg {
  display: block;
  width: 176px;
  height: 176px;
  object-fit: contain;
}
.ch-invite__qr-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.ch-invite__qr-actions .ch-btn {
  flex: 1 1 140px;
}
.ch-invite__code {
  margin: 0 0 12px;
  font-weight: 700;
}
.ch-invite__rewards ul {
  margin: 0 0 8px;
  padding-left: 1.2em;
}
.ch-invite__briefs {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.ch-contribute-card--locked {
  opacity: 0.78;
}
.ch-invite-brief__body h2 {
  font-size: 1.05rem;
}
.ch-invite-brief__body p,
.ch-invite-brief__body li {
  font-size: 0.92rem;
  line-height: 1.55;
}

.ch-invite__history {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--dh-line);
  background: rgba(255,255,255,0.03);
  margin-bottom: 14px;
}
.ch-invite__history h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.ch-invite__history ul {
  margin: 0;
  padding-left: 1.2em;
}
.ch-invite__history li span {
  color: var(--dh-muted);
  margin-right: 8px;
}

.dh-chip--auth,
.dh-top__auth {
  color: var(--dh-muted);
  font-weight: 700;
  max-width: 8.2em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dh-top__auth:hover { color: var(--dh-sand); }
.dh-chip--login,
.dh-top__auth--login {
  max-width: none;
  color: #1a1208;
  background: linear-gradient(180deg, var(--dh-amber-2), var(--dh-amber));
  border-color: transparent;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}
.dh-top__auth--login:hover {
  color: #1a1208;
  filter: brightness(1.05);
}

/* City schematic map */
.ch-map-lead {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--dh-muted);
  line-height: 1.45;
}

.ch-map-slice-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ch-map-slice {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dh-sand);
  background: var(--dh-input-bg);
  border: 1px solid var(--dh-hairline);
  text-decoration: none;
}

.ch-map-slice.is-active {
  color: #1a1208;
  background: linear-gradient(180deg, var(--dh-amber-2), var(--dh-amber));
  border-color: transparent;
}

.ch-schematic-wrap {
  background: var(--dh-deep);
  border: 1px solid var(--dh-line);
  border-radius: var(--dh-radius);
  padding: 12px;
  box-shadow: var(--dh-shadow-soft);
}

.ch-schematic {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
}

.ch-map-district {
  transition: fill-opacity 0.25s ease;
}

.ch-map-hub__dot {
  fill: var(--dh-mint);
  stroke: var(--dh-deep);
  stroke-width: 2;
}

.ch-map-hub__label {
  font-size: 11px;
  fill: var(--dh-sand);
  font-family: var(--dh-font);
  font-weight: 600;
}

.ch-map-legend {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ch-map-legend li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--dh-radius-sm);
  background: var(--dh-tile);
  border: 1px solid var(--dh-hairline);
  font-size: 0.84rem;
}

.ch-map-legend__score {
  font-weight: 700;
  color: var(--dh-amber);
}

.ch-map-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ch-map-route__hint {
  margin: 0 0 10px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--dh-muted);
}

.ch-map-route__reset {
  border: 0;
  background: none;
  color: var(--dh-amber);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.ch-map-timeline__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--dh-radius-sm);
  background: var(--dh-tile);
  border: 1px solid var(--dh-hairline);
}

.ch-map-timeline__item.is-selected {
  border-color: rgba(196, 92, 38, 0.55);
  box-shadow: 0 0 0 1px rgba(196, 92, 38, 0.2);
}

.ch-map-timeline__item.is-current {
  border-color: rgba(255, 159, 10, 0.45);
}

.ch-map-timeline__item.is-past {
  opacity: 0.62;
}

.ch-map-timeline__pick {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  width: 100%;
}

.ch-map-timeline__time {
  font-size: 0.78rem;
  color: var(--dh-muted);
  line-height: 1.35;
}

.ch-map-timeline__time em {
  display: block;
  font-style: normal;
  color: var(--dh-sand);
  font-weight: 600;
  margin-top: 4px;
}

.ch-map-timeline__body strong {
  display: inline-block;
  margin-right: 8px;
}

.ch-map-timeline__score {
  font-weight: 700;
  color: var(--dh-amber);
}

.ch-map-timeline__body p {
  margin: 6px 0 4px;
  font-size: 0.84rem;
  color: var(--dh-prose);
  line-height: 1.4;
}

.ch-map-timeline__body small {
  color: var(--dh-muted);
  font-size: 0.76rem;
}

.ch-map-timeline__select select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--dh-hairline);
  background: #fff;
  font-size: 0.88rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ch-route-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}

.ch-route-path__stop {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dh-muted);
}

.ch-route-path__stop.is-current,
.ch-route-path__stop.is-upcoming:first-of-type {
  color: #c45c26;
}

.ch-route-path__arrow {
  font-style: normal;
  color: #c45c26;
  font-weight: 800;
}

.ch-route-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--dh-dock-h, 168px) + 16px);
  transform: translateX(-50%) translateY(12px);
  z-index: 80;
  max-width: min(92vw, 420px);
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(28, 18, 10, 0.92);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ch-route-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ch-route-toast strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.ch-route-toast span {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}

.ch-map-prefs-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ch-map-prefs__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
}

.ch-map-prefs__field span,
.ch-map-prefs__field legend {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--dh-sand);
}

.ch-map-prefs__field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--dh-radius-sm);
  border: 1px solid var(--dh-line);
  background: var(--dh-input-bg);
  color: var(--dh-sand);
  font: inherit;
}

.ch-map-prefs__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  margin: 4px 0;
}

.ch-route-brief__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: var(--dh-radius-sm);
  background: var(--dh-tile);
  border: 1px solid var(--dh-hairline);
  text-decoration: none;
  color: inherit;
}

.ch-route-brief__card strong {
  font-size: 0.92rem;
}

.ch-route-brief__card span {
  font-size: 0.8rem;
  color: var(--dh-muted);
}

.ch-map-city-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ch-map-city-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--dh-hairline);
  background: var(--dh-tile);
  color: var(--dh-ink);
  text-decoration: none;
  font-size: 0.85rem;
}

.ch-map-city-chip.is-active {
  border-color: #d70015;
  background: #fff1f0;
  color: #a8071a;
  font-weight: 600;
}

.ch-map-city-chip.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ch-map-canvas-wrap {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.ch-map-canvas {
  height: min(62vh, 480px);
  width: 100%;
  border-radius: var(--dh-radius-sm);
  background: #f7f0ee;
  z-index: 0;
}

.ch-map-heat-legend {
  display: flex;
  gap: 12px;
  padding: 8px 4px 0;
  font-size: 0.75rem;
  color: var(--dh-muted);
}

.ch-map-heat-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: -1px;
  border: 1px solid rgba(120, 20, 20, 0.35);
}

/* —— 重点栏目：避坑 / 平台 / 黑白 —— */
.ch-focus-strip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 12px;
  padding: 0 2px;
}

.ch-focus-strip__card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--dh-radius);
  border: 1px solid rgba(255, 159, 10, 0.35);
  background: linear-gradient(160deg, rgba(255, 159, 10, 0.16), rgba(255, 255, 255, 0.04));
  text-decoration: none;
  color: inherit;
  box-shadow: var(--dh-shadow-soft);
}

.ch-focus-strip__card--platform {
  border-color: rgba(10, 132, 255, 0.32);
  background: linear-gradient(160deg, rgba(10, 132, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.ch-focus-strip__card--list {
  border-color: rgba(255, 59, 48, 0.28);
  background: linear-gradient(160deg, rgba(255, 59, 48, 0.1), rgba(255, 255, 255, 0.04));
}

.ch-focus-strip__card--contribute {
  border-color: rgba(52, 199, 89, 0.32);
  background: linear-gradient(160deg, rgba(52, 199, 89, 0.12), rgba(255, 255, 255, 0.04));
}

.ch-focus-strip__card strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.ch-focus-strip__card span {
  font-size: 0.78rem;
  color: var(--dh-muted);
  line-height: 1.35;
  text-align: right;
}

.ch-focus-strip__card::after {
  content: '›';
  flex-shrink: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dh-amber);
  line-height: 1;
}

.ch-section--focus {
  border-color: rgba(255, 159, 10, 0.28);
}

.ch-section--rentals {
  border-color: rgba(255, 59, 48, 0.22);
}

.ch-section__hint {
  margin: -4px 0 10px;
  font-size: 0.78rem;
  color: var(--dh-muted);
}

.ch-rentals-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

.ch-rental__badge {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(120, 120, 128, 0.12);
  color: var(--dh-muted);
}

.ch-rental--black .ch-rental__badge {
  background: rgba(255, 59, 48, 0.16);
  color: var(--dh-list-black, #c62828);
}

.ch-rental--white .ch-rental__badge {
  background: rgba(52, 199, 89, 0.16);
  color: var(--dh-list-white, #1b7a3d);
}

.ch-rental--gray .ch-rental__badge {
  background: rgba(255, 159, 10, 0.16);
  color: var(--dh-amber);
}

.ch-empty--card {
  padding: 18px 14px;
  border: 1px dashed var(--dh-line);
  border-radius: var(--dh-radius);
  text-align: left;
}

.ch-empty--card .ch-btn {
  margin-top: 12px;
}

.ch-rentals-foot {
  margin: 16px 4px 8px;
}

.ch-form--evidence {
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 4px 24px;
}

.ch-form__intro-card {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: var(--dh-radius-sm, 10px);
  border: 1px solid var(--dh-line);
  background: var(--dh-tile);
}

.ch-form__tips {
  margin: 8px 0 0;
  padding-left: 1.1em;
  color: var(--dh-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.dh-tab--focus.is-active {
  color: var(--dh-amber);
}

.ch-map-legend__score.is-hot {
  color: #cf1322;
  font-weight: 700;
}

.ch-map-basemap-hint,
.ch-map-source {
  margin: 8px 4px 0;
  font-size: 0.72rem;
  color: var(--dh-muted);
  line-height: 1.4;
}

/* Permanent hotspot / district names on Leaflet */
.leaflet-tooltip.ch-map-name-label {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(167, 20, 20, 0.35);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  color: #7a1010;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  padding: 2px 6px;
  white-space: nowrap;
  pointer-events: none;
}

.leaflet-tooltip.ch-map-name-label--district {
  color: #5c1010;
  font-size: 12px;
  background: rgba(255, 248, 246, 0.88);
}

.leaflet-tooltip.ch-map-name-label--poi {
  color: #a8071a;
}

.leaflet-tooltip.ch-map-name-label::before {
  border-top-color: rgba(167, 20, 20, 0.35);
}

@media (min-width: 1100px), (min-width: 720px) and (orientation: landscape) {
  .dh-shell { padding-top: 8px; }
  .ch-hero__brand { font-size: 3.2rem; }
  .ch-hero--home .ch-hero__brand { font-size: 0.88rem; }
  .ch-hero__go-title { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ch-hero,
  .ch-section,
  .ch-station,
  .ch-bar__track i {
    animation: none !important;
  }
}

/* —— 平台指南 ⟷ 黑白名单 并列导航 —— */
.ch-pair-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 14px;
}

.ch-pair-nav__item {
  text-align: center;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--dh-hairline);
  color: var(--dh-muted);
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.5);
}

.ch-pair-nav__item.is-active {
  color: var(--dh-ink);
  border-color: rgba(10, 132, 255, 0.45);
  background: linear-gradient(160deg, rgba(10, 132, 255, 0.14), rgba(255, 255, 255, 0.06));
}

.ch-pair-nav--footer {
  margin: 20px 0 12px;
}

.ch-tag--soft {
  opacity: 0.85;
  font-weight: 500;
}

.ch-list-item--platform .ch-tag {
  margin-right: 6px;
}

.ch-card-grid {
  display: block;
}

.ch-wide-split {
  display: block;
}

.ch-wide-pane--side {
  margin-top: 8px;
}

/* 手机：枢纽 + 避坑上下堆叠 */
.ch-home-mid {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: visible;
  max-height: none;
}

.ch-radar--home,
.ch-radar--home .ch-card-grid--home-radar {
  overflow: visible;
  max-height: none;
}

.ch-home-mid__list {
  display: block;
}

.ch-event-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ch-event-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--dh-surface-2, rgba(255, 255, 255, 0.06));
  border: 1px solid var(--dh-border, rgba(255, 255, 255, 0.08));
  text-decoration: none;
  color: inherit;
}

.ch-event-card__type {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 120, 80, 0.18);
  color: #ffb899;
}

.ch-event-card__title {
  font-size: 0.95rem;
  line-height: 1.35;
}

.ch-event-card__meta {
  font-size: 0.82rem;
  color: var(--dh-text-muted, rgba(255, 255, 255, 0.72));
}

.ch-event-card__addr {
  font-size: 0.78rem;
  color: var(--dh-text-muted, rgba(255, 255, 255, 0.55));
}

.ch-event-card__hint {
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--dh-text-muted, rgba(255, 255, 255, 0.5));
}

.ch-section--major-events {
  margin-bottom: 4px;
}

/* 手机：枢纽卡片默认单列，避免半宽里再拆两列 */
.ch-card-grid--home-radar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.dh-tabbar--6 .dh-tab {
  font-size: 0.72rem;
  letter-spacing: -0.02em;
  height: 40px;
  min-height: 40px;
  padding: 0 2px;
}

/* —— 车机 / 平板宽屏（不含 iPhone「桌面版网站」~980 竖屏） —— */
@media (min-width: 1100px), (min-width: 720px) and (orientation: landscape) {
  :root,
  body.dh-ui--apple {
    --dh-shell-max: 1180px;
    --dh-shell-margin: 0px;
    --dh-shell-pad-x: 20px;
    --dh-dock-inset-x: 0px;
  }

  body.driver-hub,
  body.path-driver {
    background:
      radial-gradient(1200px 480px at 12% -10%, var(--dh-bg-accent-1), transparent 55%),
      radial-gradient(900px 420px at 88% 0%, var(--dh-bg-accent-2), transparent 50%),
      var(--dh-bg);
  }

  .dh-shell {
    max-width: min(1180px, 100%);
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: calc(var(--dh-dock-h, 176px) + env(safe-area-inset-bottom, 0px) + 12px);
  }

  .dh-dock {
    bottom: 12px;
    /* Match .dh-shell padding-left/right in this breakpoint. */
    padding-left: calc(20px + var(--dh-page-x, 16px));
    padding-right: calc(20px + var(--dh-page-x, 16px));
  }

  .dh-top {
    padding-left: 16px;
    padding-right: 16px;
  }

  .dh-tab,
  .dh-tabbar--6 .dh-tab {
    font-size: 0.72rem;
    height: 40px;
    min-height: 40px;
    padding: 0 2px;
  }

  .dh-bookmark {
    font-size: 0.85rem;
    padding: 7px 12px;
    min-height: 36px;
  }

  .dh-bookmark[aria-pressed="true"] {
    min-height: 32px;
    padding: 5px 10px;
    font-size: 0.78rem;
  }

  .dh-bookmark-toast {
    bottom: calc(168px + env(safe-area-inset-bottom, 0px));
    max-width: min(560px, calc(100% - 48px));
    font-size: 1rem;
  }

  body.dh-layout--wide .dh-shell::before {
    opacity: calc(var(--dh-grid-opacity) * 0.65);
  }

  .ch-page.ch-home {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 14px 18px;
    align-items: start;
  }

  .ch-page.ch-home > .ch-hero--home,
  .ch-page.ch-home > .ch-home-ads,
  .ch-page.ch-home > .ch-home-lead,
  .ch-page.ch-home > .ch-focus-strip,
  .ch-page.ch-home > .ch-home-mid,
  .ch-page.ch-home > .ch-home-stage,
  .ch-page.ch-home > .ch-home-lists {
    grid-column: 1 / -1;
  }

  /* 四板块同一 2×2：枢纽‖黑白 / 平台‖避坑 — 黑白第 2 位 */
  .ch-home-mid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 14px 18px;
    align-items: stretch;
  }

  .ch-home-mid > .ch-section {
    display: flex;
    flex-direction: column;
    height: auto;
    margin: 0;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    overflow: visible;
  }

  /* 1 枢纽 · 2 黑白 · 3 平台 · 4 避坑 */
  .ch-home-mid > .ch-radar--home {
    grid-column: 1;
    grid-row: 1;
  }

  .ch-home-mid > .ch-section--rentals {
    grid-column: 2;
    grid-row: 1;
  }

  .ch-home-mid > .ch-section--platforms {
    grid-column: 1;
    grid-row: 2;
  }

  .ch-home-mid > .ch-section--guides {
    grid-column: 2;
    grid-row: 2;
  }

  /* 驾驶模式：宽屏才启用首页双列 */
  body.dh-drive-mode .ch-page.ch-home > .ch-focus-strip,
  body.dh-drive-mode .ch-page.ch-home > .ch-section--focus,
  body.dh-drive-mode .ch-page.ch-home > .ch-home-mid {
    display: grid;
  }

  body.dh-drive-mode .ch-page.ch-home > .ch-home-mid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px 16px;
    align-items: stretch;
  }

  body.dh-drive-mode .ch-page.ch-home > .ch-home-mid > .ch-radar--home,
  body.dh-drive-mode .ch-page.ch-home > .ch-home-mid > .ch-section--guides,
  body.dh-drive-mode .ch-page.ch-home > .ch-home-mid > .ch-section--platforms,
  body.dh-drive-mode .ch-page.ch-home > .ch-home-mid > .ch-section--rentals {
    display: flex;
  }

  body.dh-drive-mode .ch-page.ch-home > .ch-home-lead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px 12px;
  }

  .ch-home-mid > .ch-radar--home .ch-card-grid--home-radar,
  .ch-home-mid > .ch-section--guides .ch-home-mid__list,
  .ch-home-mid > .ch-section--platforms .ch-home-mid__list,
  .ch-home-mid > .ch-section--rentals .ch-home-mid__list {
    flex: 1 1 auto;
  }

  .ch-home-mid > .ch-section .ch-home-mid__list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
  }

  .ch-home-mid > .ch-section .ch-list-item:first-of-type {
    border-top: 0;
    padding-top: 0;
  }

  .ch-home-mid > .ch-section--rentals .ch-btn {
    margin-top: auto;
    align-self: flex-start;
  }

  .ch-focus-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ch-focus-strip__card {
    flex-direction: column;
    align-items: flex-start;
    min-height: 88px;
  }

  .ch-focus-strip__card span {
    text-align: left;
  }

  .ch-page.ch-home > .ch-section {
    grid-column: 1 / -1;
  }

  .ch-card-grid--home-radar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 10px 12px;
    align-items: stretch;
  }

  .ch-card-grid--home-radar > .ch-radar-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
    height: 100%;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius-sm);
    background: var(--dh-tile);
    border-top-color: var(--dh-line);
    box-sizing: border-box;
  }

  .ch-card-grid--home-radar > .ch-radar-card:first-of-type {
    border-top: 1px solid var(--dh-line);
    padding-top: 12px;
  }

  .ch-card-grid--home-radar .ch-radar-card__decision {
    min-height: 84px;
    align-self: stretch;
  }

  .ch-card-grid--home-radar .ch-radar-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .ch-card-grid--home-radar .ch-radar-card__body h3 {
    margin: 0;
    font-size: 1rem;
  }

  .ch-card-grid--home-radar .ch-radar-card__body p {
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 0.82rem;
    line-height: 1.35;
    min-height: calc(1.35em * 2);
  }

  .ch-card-grid--home-radar .ch-radar-card__facts {
    margin-top: 2px;
  }

  .ch-card-grid--home-radar .ch-radar-card__facts span {
    font-size: 0.72rem;
    padding: 3px 6px;
  }

  .ch-card-grid--home-radar .ch-radar-card__body small {
    margin-top: auto;
    padding-top: 4px;
    font-size: 0.72rem;
    line-height: 1.3;
    min-height: 1.3em;
  }

  .ch-card-grid--home-radar > .ch-radar-empty {
    grid-column: 1 / -1;
  }

  .ch-section.ch-radar:not(.ch-radar--home) {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ch-section.ch-radar:not(.ch-radar--home) > .ch-section__head {
    grid-column: 1 / -1;
  }

  .ch-home-lead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 14px 16px;
    align-items: stretch;
  }

  .ch-home-lead > .ch-home-lead__go,
  .ch-home-lead > .ch-home-lead__route,
  .ch-home-lead__pair > .ch-home-lead__route {
    min-height: 148px;
  }

  .ch-home-lead > .ch-home-lead__more {
    grid-column: 1 / -1;
    align-self: start;
    min-height: 0;
  }

  .ch-home-lead__pair {
    gap: 14px 16px;
  }

  .ch-home-lead .ch-route-brief__card strong {
    font-size: 1rem;
  }

  .ch-home-lead .ch-route-brief__card span {
    font-size: 0.88rem;
  }

  /* 双栏分屏：主内容 + 侧栏 */
  .ch-wide-split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
    gap: 16px 20px;
    align-items: start;
  }

  .ch-wide-pane--side {
    position: sticky;
    top: 72px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: calc(100vh - 200px);
    overflow: auto;
    padding-right: 2px;
  }

  .ch-wide-pane--side .ch-section {
    margin: 0;
    padding: 14px;
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius);
    background: var(--dh-tile);
  }

  .ch-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
  }

  .ch-card-grid > .ch-list-item,
  .ch-card-grid > .ch-rental,
  .ch-card-grid > .ch-station,
  .ch-card-grid > .ch-radar-card {
    margin: 0;
    padding: 14px;
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius-sm);
    background: var(--dh-tile);
    border-top-color: var(--dh-line);
  }

  .ch-card-grid > .ch-list-item:first-of-type,
  .ch-card-grid > .ch-station:first-of-type {
    border-top: 1px solid var(--dh-line);
  }

  .ch-page.ch-guides > .ch-hero--compact,
  .ch-page.ch-platforms > .ch-hero--compact,
  .ch-page.ch-rentals > .ch-hero--compact,
  .ch-page.ch-radar > .ch-hero--compact,
  .ch-page.ch-stations > .ch-hero--compact,
  .ch-page.ch-map > .ch-map-head {
    margin-bottom: 4px;
  }

  .ch-page.ch-platforms > .ch-pair-nav,
  .ch-page.ch-rentals > .ch-pair-nav,
  .ch-page.ch-rentals > .ch-rentals-actions,
  .ch-page.ch-rentals > .ch-filters {
    max-width: none;
  }

  .ch-page.ch-rentals > .ch-card-grid--rentals {
    margin-top: 8px;
  }

  .ch-page.ch-rentals > .ch-rentals-foot {
    grid-column: 1 / -1;
  }

  /* 雷达：此刻最热整行置顶，下方枢纽两列网格 */
  .ch-wide-split--radar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .ch-wide-split--radar .ch-wide-pane--spotlight {
    position: static;
    width: 100%;
    margin: 0;
  }

  .ch-wide-split--radar .ch-wide-pane--main {
    margin: 0;
    min-width: 0;
  }

  .ch-wide-split--radar .ch-wide-pane--spotlight > .ch-radar-card {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 6px 0 0;
    border-top: 0;
  }

  .ch-wide-split--radar .ch-wide-pane--spotlight .ch-radar-card__decision {
    min-height: 108px;
  }

  .ch-wide-split--radar .ch-wide-pane--spotlight .ch-radar-card__body p {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    font-size: 1rem;
  }

  .ch-card-grid--radar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 10px 12px;
    align-items: stretch;
  }

  .ch-card-grid--radar > .ch-radar-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    height: 100%;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius-sm);
    background: var(--dh-tile);
    box-sizing: border-box;
  }

  .ch-card-grid--radar > .ch-radar-card .ch-radar-card__decision {
    min-height: 88px;
    width: 100%;
    align-self: stretch;
  }

  .ch-card-grid--radar > .ch-radar-card .ch-radar-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .ch-card-grid--radar > .ch-radar-card .ch-radar-card__body p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.35em * 2);
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .ch-card-grid--radar > .ch-radar-card .ch-radar-card__body small {
    margin-top: auto;
    padding-top: 4px;
  }

  .ch-card-grid--radar > .ch-radar-card .ch-radar-card__facts {
    flex-wrap: wrap;
  }

  .ch-card-grid--radar > .ch-radar-empty {
    grid-column: 1 / -1;
  }

  /* 地图：左大图自适应撑满可视高度 + 右侧栏 */
  .ch-page.ch-map {
    --ch-map-wide-chrome: calc(
      var(--dh-top-h, 64px)
      + var(--dh-dock-h, 72px)
      + env(safe-area-inset-top, 0px)
      + env(safe-area-inset-bottom, 0px)
      + 108px
    );
  }

  .ch-wide-split--map {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
    align-items: stretch;
    min-height: calc(100dvh - var(--ch-map-wide-chrome, 210px));
  }

  .ch-wide-split--map .ch-wide-pane--main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
  }

  .ch-wide-split--map .ch-map-canvas-wrap {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .ch-wide-split--map .ch-map-canvas {
    flex: 1 1 auto;
    width: 100%;
    height: 100% !important;
    min-height: min(70dvh, calc(100dvh - var(--ch-map-wide-chrome, 210px) - 48px));
  }

  .ch-wide-split--map .ch-map-heat-legend {
    flex: 0 0 auto;
    margin-top: 8px;
  }

  .ch-wide-split--map .ch-wide-pane--side {
    max-height: calc(100dvh - var(--ch-map-wide-chrome, 210px) + 40px);
  }

  .ch-page.ch-stations > .ch-card-grid--stations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 详情文章：宽屏可读栏 */
  .ch-page.ch-article,
  .ch-page.ch-platform,
  article.ch-page.ch-rentals {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px 24px;
    max-width: none;
  }

  .ch-page.ch-article > .ch-tag,
  .ch-page.ch-article > h1,
  .ch-page.ch-article > .ch-lead,
  .ch-page.ch-platform > .ch-tag,
  .ch-page.ch-platform > h1,
  .ch-page.ch-platform > .ch-lead,
  article.ch-page.ch-rentals > .ch-hero {
    grid-column: 1 / -1;
  }

  .ch-page.ch-article > .ch-prose,
  .ch-page.ch-platform > .ch-prose {
    grid-column: 1 / -1;
    max-width: 72ch;
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .ch-page.ch-article > .ch-btn,
  .ch-page.ch-platform > .ch-pair-nav,
  .ch-page.ch-platform > .ch-btn,
  article.ch-page.ch-rentals > .ch-rentals-actions {
    grid-column: 1 / -1;
  }

  article.ch-page.ch-rentals > .ch-section {
    min-width: 0;
  }

  .ch-page.ch-airport .ch-radar-detail,
  .ch-page.ch-airport .ch-now {
    max-width: none;
  }

  @media (min-width: 1100px) {
    .ch-page.ch-stations > .ch-card-grid--stations {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
}

/* 超宽车机：再拉大触控与字号 */
@media (min-width: 1100px) and (orientation: landscape) {
  :root,
  body.dh-ui--apple {
    --dh-shell-max: 1360px;
  }

  .dh-shell {
    max-width: min(1360px, 100%);
  }

  .dh-dock {
    bottom: 12px;
  }

  .dh-brand__text {
    font-size: 1.5rem;
  }

  /* 车机横屏：完整地图左侧尽量吃满剩余高度 */
  .ch-page.ch-map {
    --ch-map-wide-chrome: calc(
      var(--dh-top-h, 64px)
      + var(--dh-dock-h, 72px)
      + env(safe-area-inset-top, 0px)
      + env(safe-area-inset-bottom, 0px)
      + 96px
    );
  }

  .ch-wide-split--map {
    min-height: calc(100dvh - var(--ch-map-wide-chrome, 200px));
  }
}

/*
 * 真机窄屏兜底：用 device-width，压过 iPhone「请求桌面网站」虚高的 ~980px viewport。
 * 首页及其他页面一律单列可读。
 */
@media (max-device-width: 500px) {
  .dh-top {
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 8px;
    gap: 6px;
  }

  .dh-brand__text {
    font-size: 1.32rem;
  }

  .dh-chip {
    height: 32px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .dh-top__action {
    height: 28px;
    padding: 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
  }

  .dh-chip--sub,
  .dh-top__row--sub .dh-chip {
    height: 24px;
    padding: 0 8px;
    font-size: 0.7rem;
  }

  .dh-top__auth {
    max-width: 6.2em;
  }

  .ch-page.ch-home {
    display: block !important;
  }

  .ch-home-lead,
  body.dh-drive-mode .ch-page.ch-home > .ch-home-lead {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-auto-rows: auto !important;
    gap: 10px !important;
  }

  .ch-home-lead > .ch-home-lead__route,
  .ch-home-lead > .ch-home-lead__go,
  .ch-home-lead > .ch-home-lead__more {
    order: unset !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .ch-home-lead > .ch-home-lead__go {
    height: auto !important;
    min-height: 0 !important;
  }

  .ch-home-lead > .ch-home-lead__route,
  .ch-home-lead > .ch-home-lead__premium,
  .ch-home-lead > .ch-home-lead__more {
    height: auto !important;
    min-height: 0 !important;
  }

  .ch-home-mid,
  body.dh-drive-mode .ch-page.ch-home > .ch-home-mid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 0 !important;
  }

  .ch-home-mid > .ch-section,
  .ch-home-mid > .ch-radar--home,
  .ch-home-mid > .ch-section--guides,
  .ch-home-mid > .ch-section--platforms,
  .ch-home-mid > .ch-section--rentals {
    grid-column: auto !important;
    grid-row: auto !important;
    height: auto !important;
    display: block !important;
    margin-bottom: 12px;
  }

  .ch-focus-strip,
  body.dh-drive-mode .ch-page.ch-home > .ch-focus-strip {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
  }

  .ch-wide-split,
  .ch-wide-split--radar,
  .ch-wide-split--map,
  .ch-wide-split--map-hot,
  .ch-home-stage {
    display: block !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
  }

  .dh-side-swap,
  .ch-home-stage__toolbar {
    display: none !important;
  }

  .ch-wide-pane--side {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    margin-top: 12px;
  }

  .ch-card-grid,
  .ch-card-grid--home-radar,
  .ch-card-grid--radar,
  .ch-card-grid--rentals,
  .ch-card-grid--stations {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .ch-card-grid--home-radar > .ch-radar-card,
  .ch-card-grid--radar > .ch-radar-card,
  .ch-wide-split--radar .ch-wide-pane--spotlight > .ch-radar-card {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 10px !important;
    height: auto !important;
    align-items: start !important;
  }

  .ch-card-grid--home-radar .ch-radar-card__decision,
  .ch-card-grid--radar .ch-radar-card__decision,
  .ch-wide-split--radar .ch-wide-pane--spotlight .ch-radar-card__decision {
    min-height: 64px !important;
    width: 64px !important;
  }

  .ch-card-grid--home-radar .ch-radar-card__body p,
  .ch-card-grid--radar .ch-radar-card__body p {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: 0.86rem !important;
  }

  .ch-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ch-radar-windows {
    grid-template-columns: 1fr;
  }

  .ch-radar-card {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 10px;
  }

  .ch-radar-card__decision {
    min-height: 60px;
    padding: 6px 4px;
  }

  .ch-radar-card__decision strong {
    font-size: 1.35rem;
  }

  .dh-tabbar--6 .dh-tab {
    font-size: 0.7rem;
    height: 40px;
    min-height: 40px;
    padding: 0 2px;
  }

  .dh-main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .dh-dock {
    padding-left: 12px;
    padding-right: 12px;
  }

  .ch-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.dh-drive-mode .dh-tab {
    height: 40px;
    min-height: 40px;
    font-size: 0.7rem;
  }

  body.dh-drive-mode .ch-radar-card__body h3 {
    font-size: 1.05rem;
  }

  body.dh-drive-mode .ch-radar-card__body p {
    font-size: 0.9rem;
  }
}

.dh-top__feedback {
  position: relative;
}

.dh-chip--sub,
.dh-top__row--sub .dh-chip {
  height: 26px;
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 600;
}

@media (max-width: 420px) {
  .dh-top {
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 8px;
    gap: 6px;
  }

  .dh-brand {
    gap: 8px;
  }

  .dh-brand__mark {
    width: 36px;
    height: 36px;
  }

  .dh-brand__text {
    font-size: 1.32rem;
  }

  .dh-top__actions {
    gap: 6px;
  }

  .dh-chip {
    height: 32px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .dh-top__action {
    height: 28px;
    padding: 0 10px;
    font-size: 0.8rem;
    font-weight: 700;
  }

  .dh-chip--sub,
  .dh-top__row--sub .dh-chip {
    height: 24px;
    padding: 0 8px;
    font-size: 0.7rem;
  }

  .dh-top__auth {
    max-width: 6.2em;
  }
}

@media (max-width: 340px) {
  .dh-brand__text {
    font-size: 1.22rem;
  }
}

html.dh-android-app .dh-bookmark,
body.dh-android-app .dh-bookmark {
  display: none !important;
}

html.dh-android-app .dh-chip--city,
body.dh-android-app .dh-chip--city,
.dh-top__row--sub .dh-chip--city {
  display: inline-flex;
}

/* Android WebView：模糊层 + 残留 transform 会把竖滑吃掉 */
html.dh-android-app .ch-section,
html.dh-android-app .dh-top,
body.dh-android-app .ch-section,
body.dh-android-app .dh-top {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.dh-android-app .ch-page.ch-home,
html.dh-android-app .ch-home-mid,
html.dh-android-app .ch-radar--home,
html.dh-android-app .ch-card-grid--home-radar {
  overflow: visible;
  max-height: none;
  overscroll-behavior-y: auto;
}

.dh-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1rem;
  height: 1rem;
  margin-left: 4px;
  padding: 0 4px;
  border-radius: 999px;
  background: #cf1322;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

.ch-contribute-grid {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.ch-contribute-card {
  display: block;
  padding: 14px 16px;
  border-radius: var(--dh-radius-sm, 10px);
  border: 1px solid var(--dh-line);
  background: var(--dh-tile);
  text-decoration: none;
  color: inherit;
}

.ch-contribute-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--dh-sand);
}

.ch-contribute-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--dh-muted);
}

.ch-contribute-card--ghost {
  border-style: dashed;
}

.ch-tucao-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 159, 10, 0.45);
  background: rgba(255, 159, 10, 0.12);
  color: var(--dh-sand) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

.ch-tucao-qr {
  margin: 20px auto 8px;
  max-width: 280px;
  padding: 16px;
  text-align: center;
  border-radius: var(--dh-radius);
  border: 1px solid var(--dh-line);
  background: var(--dh-tile);
}

.ch-tucao-qr img {
  display: block;
  width: 240px;
  height: 240px;
  margin: 0 auto 12px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.ch-tucao-qr figcaption {
  margin: 0;
  color: var(--dh-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.ch-contribute-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.ch-contribute-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--dh-line);
}

.ch-contribute-item.is-unread {
  border-left: 3px solid var(--dh-amber);
  padding-left: 10px;
}

.ch-contribute-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ch-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--dh-muted);
  white-space: nowrap;
}

.ch-contribute-reply {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.ch-form--hotspot,
.ch-form--feedback {
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 4px 24px;
}



.ch-heat__col { display:inline-flex; width:3.8%; min-width:10px; height:120px; align-items:flex-end; margin-right:1px; }
.ch-heat__bar { width:100%; background:var(--dh-amber); min-height:2px; }
.ch-heat__col.is-manual .ch-heat__bar { background:var(--dh-danger); box-shadow:0 0 0 1px rgba(215,0,21,.22); }
