/* Habit loop: first-screen wait card, check-in sheet, share poster, route toast. */

.ch-home-lead__go {
  margin-bottom: 10px;
}

.ch-wait-brief__list {
  display: none;
}

.ch-wait-brief__headline {
  display: block;
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

.ch-wait-brief__blurb {
  margin: 8px 0 0;
  color: #5c4030;
  line-height: 1.45;
}

.ch-home-lead__go > .ch-meta {
  margin: 8px 4px 0;
}

.ch-wait-brief__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 4px 0;
}

.ch-wait-brief__actions a,
.ch-wait-brief__actions button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
  background: #fff4ea;
  color: #8a3d12;
  cursor: pointer;
}

.ch-wait-brief__actions .is-primary {
  background: #c45c26;
  color: #fff;
}

.ch-home-lead__extra {
  margin: 8px 0 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
}

.ch-home-lead__extra > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 14px;
  font-weight: 650;
  color: #5c4030;
}

.ch-home-lead__extra > summary::-webkit-details-marker {
  display: none;
}

.ch-home-lead__extra:not(.ch-home-lead__more) > summary::after {
  content: '▾';
  float: right;
  opacity: 0.5;
}

.ch-home-lead__extra:not(.ch-home-lead__more)[open] > summary::after {
  content: '▴';
}

.ch-home-lead__extra[open] {
  padding-bottom: 8px;
}

.ch-home-lead__extra .ch-route-brief {
  margin: 0 8px 8px;
}

.ch-checkin,
.ch-poster {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(20, 12, 8, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 12px calc(var(--dh-dock-h, 80px) + 16px);
}

.ch-checkin__card,
.ch-poster__card {
  width: min(92vw, 420px);
  background: #fff;
  border-radius: 18px;
  padding: 18px 16px 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.ch-checkin__card strong,
.ch-poster__card p {
  display: block;
}

.ch-checkin__card strong {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.ch-checkin__card p {
  color: #5c4030;
  line-height: 1.45;
  margin: 0 0 14px;
}

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

.ch-checkin__btns button,
.ch-checkin__skip,
.ch-poster__card button {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 12px 8px;
  font-weight: 700;
  background: #c45c26;
  color: #fff;
  cursor: pointer;
}

.ch-checkin__skip,
.ch-poster__close {
  width: 100%;
  margin-top: 8px;
  background: transparent;
  color: #8a3d12;
  font-weight: 600;
}

.ch-poster__card img {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin-bottom: 10px;
}

.ch-poster__card p {
  margin: 0 0 10px;
  color: #5c4030;
  font-size: 0.88rem;
}

.ch-poster__card button[data-copy] {
  width: 100%;
}

.ch-route-toast {
  pointer-events: auto;
  max-width: min(94vw, 440px);
  padding: 16px 18px;
}

.ch-wait-brief__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #8a3d12;
  font-size: 0.82rem;
  font-weight: 650;
}

.ch-go-badge {
  /* Fixed width for max label length (2 CJK: 观望/暂缓; Latin: GO). */
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  min-width: 2.75rem;
  max-width: 2.75rem;
  padding: 2px 0;
  border-radius: 999px;
  background: #c45c26;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ch-go-badge.is-watch {
  background: #c9a227;
}

.ch-go-badge.is-avoid {
  background: #8a8a8a;
}

.ch-wait-brief__actions .is-go {
  background: #1c7a4a;
  color: #fff;
}

.ch-go-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--dh-dock-h, 80px) + 10px);
  z-index: 90;
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  background: #1c140e;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.ch-page.ch-auth .ch-hero__brand {
  font-size: 0.78rem !important;
  line-height: 1.2;
  letter-spacing: 0.14em;
  margin: 0 0 6px;
}

.ch-page.ch-auth .ch-auth__title {
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.25;
}

.ch-member {
  display: grid;
  gap: 12px;
}

.ch-member__head {
  margin: 0 0 4px;
}

.ch-member__status {
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff4ea;
}

.ch-member__status strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.ch-member__status span,
.ch-member__list span {
  color: #5c4030;
  font-size: 0.88rem;
}

.ch-member__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.ch-member__list li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.ch-member__list b {
  flex: 0 0 5.75rem;
  width: 5.75rem;
  font-weight: 650;
  text-align: left;
}

.ch-member__list span {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.ch-member__side {
  display: grid;
  gap: 10px;
}

.ch-member__ai-buy {
  display: grid;
  gap: 8px;
}

.ch-member__ai-buy[hidden] {
  display: none !important;
}

.ch-member__actions {
  display: grid;
  gap: 8px;
}

/* Desktop / 车机：会员中心铺满宽壳，左右分栏（登录页仍保持窄卡） */
body.dh-layout--wide .ch-auth--member {
  align-items: stretch;
  justify-content: stretch;
  padding: 28px 8px 48px;
  min-height: calc(100dvh - var(--dh-dock-h, 168px) - 72px);
}

body.dh-layout--wide .ch-auth--member .ch-auth__card {
  max-width: min(960px, 100%);
  margin: 0 auto;
  width: 100%;
}

body.dh-layout--wide .ch-auth--member .ch-auth__title {
  font-size: 1.65rem;
  margin-bottom: 6px;
}

body.dh-layout--wide .ch-auth--member .ch-auth__lead {
  font-size: 1rem;
  margin-bottom: 18px;
  max-width: 42rem;
}

body.dh-layout--wide .ch-auth--member .ch-member {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
  grid-template-areas:
    "status status"
    "list side";
  gap: 16px 24px;
  align-items: start;
}

body.dh-layout--wide .ch-auth--member .ch-member__status {
  grid-area: status;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  padding: 18px 22px;
}

body.dh-layout--wide .ch-auth--member .ch-member__status strong {
  margin: 0;
  font-size: 1.18rem;
}

body.dh-layout--wide .ch-auth--member .ch-member__status span {
  font-size: 0.95rem;
}

body.dh-layout--wide .ch-auth--member .ch-member__list {
  grid-area: list;
  gap: 10px;
}

body.dh-layout--wide .ch-auth--member .ch-member__list li {
  padding: 14px 16px;
  border-radius: 14px;
}

body.dh-layout--wide .ch-auth--member .ch-member__side {
  grid-area: side;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(60, 60, 67, 0.08);
  box-sizing: border-box;
}

body.dh-layout--wide .ch-auth--member .ch-member__actions .ch-btn,
body.dh-layout--wide .ch-auth--member .ch-member__ai-buy .ch-btn {
  min-height: 44px;
}

@media (min-width: 1100px) {
  body.dh-layout--wide .ch-auth--member .ch-auth__card {
    max-width: min(1080px, 100%);
  }

  body.dh-layout--wide .ch-auth--member .ch-member {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr);
    gap: 18px 28px;
  }
}

.ch-focus-strip__card--invite {
  background: #fff4ea;
}

.dh-top__row--main {
  width: 100%;
}

.dh-top__row--main .dh-top__actions {
  margin-left: auto;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.dh-top__row--sub {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.dh-top__row--sub .dh-city {
  margin-right: auto;
}

@media (min-width: 1100px), (min-width: 720px) and (orientation: landscape) {
  .ch-home-mid > .ch-section--rentals {
    grid-column: 1;
    grid-row: 1;
  }

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

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

.ch-hero--compact .ch-hero__brand {
  font-size: 0.78rem !important;
  line-height: 1.2;
  letter-spacing: 0.14em;
  margin: 0 0 4px;
}

.ch-radar-card__decision .ch-go-badge {
  margin: 0 0 6px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: none;
}

/* GO / 观望 / 暂缓 — white chip on soft tint panel */
.ch-radar-card--go .ch-radar-card__decision .ch-go-badge {
  background: #fff;
  color: #2a8a64 !important;
  box-shadow: inset 0 0 0 1px rgba(42, 138, 100, 0.28);
}

.ch-radar-card--watch .ch-radar-card__decision .ch-go-badge {
  background: #fff;
  color: #a05a18 !important;
  box-shadow: inset 0 0 0 1px rgba(160, 90, 24, 0.26);
}

.ch-radar-card--avoid .ch-radar-card__decision .ch-go-badge,
.ch-radar-card--data_unavailable .ch-radar-card__decision .ch-go-badge {
  background: #fff;
  color: #6a6a72 !important;
  box-shadow: inset 0 0 0 1px rgba(90, 90, 98, 0.22);
}

body.dh-ui--night .ch-radar-card--go .ch-radar-card__decision .ch-go-badge {
  background: rgba(255, 255, 255, 0.92);
  color: #1f6b4c !important;
}

body.dh-ui--night .ch-radar-card--watch .ch-radar-card__decision .ch-go-badge {
  background: rgba(255, 255, 255, 0.92);
  color: #9a5a14 !important;
}

.ch-home-map {
  margin: 10px 0 12px;
}

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

.ch-home-map__frame {
  position: relative;
}

.ch-page.ch-home.ch-home--map {
  display: block;
}

.ch-home--map .ch-home-lead__extra,
.ch-home--map .ch-home-lists {
  display: none;
}

.ch-home--map > .ch-home-ads {
  margin: 0 0 4px;
}

.ch-home--map > .ch-home-lead {
  display: none !important;
  margin: 0;
}

.ch-home-hud {
  display: grid;
  gap: 10px;
  padding: 0;
}

.ch-home-decision {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 8px 28px rgba(28, 20, 14, 0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  text-decoration: none;
  color: inherit;
}

.ch-home-decision .ch-go-badge {
  flex: none;
  width: 2.75rem;
  min-width: 2.75rem;
  max-width: 2.75rem;
  padding: 4px 0;
  font-size: 0.72rem;
}

.ch-home-decision__text {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
}

.ch-home-decision__text strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ch-home-decision__text em {
  font-style: normal;
  font-size: 0.78rem;
  color: #8a6a58;
}

.ch-home-decision__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
}

.ch-home-decision__meta em {
  flex: none;
  min-width: 0;
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.3;
  color: #8a6a58;
}

.ch-home-decision__meta b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #3d2a1e;
}

.ch-home-orders {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}

.ch-home-orders__when {
  color: #8a6a58;
  font-size: 0.75rem;
  font-weight: 500;
}

.ch-home-orders__range {
  color: #3d2a1e;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.ch-home-decision::after {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 2px solid #c4b6aa;
  border-top: 2px solid #c4b6aa;
  transform: rotate(45deg);
  opacity: 0.65;
}

.ch-home-hud__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 0 2px;
}

.ch-home-hud__actions a,
.ch-home-hud__actions button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  background: #fff4ea;
  color: #8a3d12;
  cursor: pointer;
  flex: 1 1 0;
}

.ch-home-hud__actions .is-primary {
  background: #c45c26;
  color: #fff;
}

.ch-home-hud__actions .is-go {
  background: #1c7a4a;
  color: #fff;
}

.ch-home-hud__actions [data-ch-share] {
  background: #fff;
  color: #5c4030;
  box-shadow: inset 0 0 0 1px #e6d5c8;
}

/* Home map is now tianditu_map floating HUD — lead block hidden above map. */

.ch-home-stage {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.ch-home-stage__map > .tdm {
  margin: 0;
}

.ch-home--map > .tdm {
  margin: 0 0 10px;
}


.ch-home-below {
  display: grid;
  gap: 6px;
  padding: 0 0 8px;
  position: relative;
  z-index: 2;
}

.ch-home-radar {
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 28px rgba(28, 20, 14, 0.06);
}

.ch-home-radar__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px 0;
}

.ch-home-radar__head h2 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: #8a6a58;
}

.ch-home-radar__head a {
  font-size: 0.78rem;
  font-weight: 650;
  color: #c45c26;
  text-decoration: none;
}

.ch-home-radar__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ch-home-radar__row {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 5em) minmax(0, 4.8em) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-top: 0.5px solid rgba(60, 40, 30, 0.08);
  text-decoration: none;
  color: inherit;
}

.ch-home-radar__row .ch-go-badge {
  width: 2.75rem;
  min-width: 2.75rem;
  max-width: 2.75rem;
  padding: 2px 0;
  font-size: 0.64rem;
}

.ch-home-radar__body {
  display: contents;
}

.ch-home-radar__body strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 650;
}

.ch-home-radar__body em {
  min-width: 0;
  font-style: normal;
  font-size: 0.72rem;
  color: #8a6a58;
  white-space: nowrap;
}

.ch-home-radar__orders {
  justify-self: end;
  white-space: nowrap;
  font-size: 0.72rem;
}

.ch-home-radar__orders .ch-home-orders__when {
  font-size: 0.72rem;
}

.ch-home-radar__orders .ch-home-orders__range {
  font-size: 0.8rem;
}

.ch-home-radar__score {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #3d2a1e;
}

.ch-home-hubs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ch-home-hub {
  display: grid;
  gap: 2px;
  padding: 10px 10px 9px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  color: inherit;
}

.ch-home-hub strong {
  font-size: 0.86rem;
}

.ch-home-hub span {
  font-size: 0.72rem;
  color: #8a6a58;
}

.ch-home-hub.is-go {
  box-shadow: inset 0 0 0 1px rgba(196, 92, 38, 0.28);
}

.ch-home-strip {
  display: grid;
  gap: 1px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  color: inherit;
}

.ch-home-strip em {
  font-style: normal;
  font-size: 0.72rem;
  color: #8a6a58;
}

.ch-home-strip strong {
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
}

body.dh-drive-mode .ch-home-lead__extra,
body.dh-drive-mode .ch-home-lists {
  display: none;
}

body.dh-drive-mode .ch-home--map .ch-home-below {
  display: grid;
}

body.ch-has-go-bar .dh-shell {
  padding-bottom: calc(var(--dh-dock-h, 64px) + env(safe-area-inset-bottom, 0px) + 72px);
}

.leaflet-tooltip.ch-map-name-label.ch-map-name-label--preview {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(28, 20, 14, 0.82);
  color: #fff;
  border: 0;
  box-shadow: none;
}

.leaflet-tooltip.ch-map-name-label.ch-map-name-label--preview::before {
  display: none;
}

.ch-home-map__hit {
  width: 40px;
  height: 40px;
  position: static;
  inset: auto;
  z-index: auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0;
  text-decoration: none;
  pointer-events: auto;
  background: #fff;
  color: #1c140e;
  box-shadow: 0 2px 8px rgba(28, 20, 14, 0.18);
}

.ch-home-map__hit span {
  background: transparent;
  color: #1c140e;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 0;
  padding: 0;
  line-height: 1;
  white-space: nowrap;
}

.ch-home-lists > summary {
  font-size: 0.92rem;
}

.dh-more {
  position: relative;
}

.dh-more__panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  min-width: 168px;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  display: grid;
}

.dh-more__panel[hidden] {
  display: none;
}

.dh-more__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #3d2a1e;
  font: inherit;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.dh-more__link:hover,
.dh-more__link:focus {
  background: #fff4ea;
}

.dh-more__meta {
  margin: 0;
  padding: 8px 12px 4px;
  font-size: 0.72rem;
  color: #8a6a58;
}

.dh-tabbar.dh-tabbar--5 {
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 6px 8px;
}

.dh-dock .dh-bookmark {
  display: none;
}

.dh-shell {
  padding-bottom: calc(var(--dh-dock-h, 64px) + env(safe-area-inset-bottom, 0px) + 16px);
}

.dh-dock {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.dh-dock .dh-tabbar .dh-tab {
  height: auto;
  min-height: 44px;
  padding: 10px 4px;
  border-radius: var(--dh-radius-sm, 12px);
  background: transparent;
  color: #8a8178;
  font-size: 0.8rem;
  font-weight: 550;
  letter-spacing: 0.01em;
}

.dh-dock .dh-tabbar .dh-tab:hover {
  background: transparent;
  color: #3d2a1e;
  font-weight: 550;
}

.dh-dock .dh-tabbar .dh-tab.is-active,
.dh-dock .dh-tabbar .dh-tab.is-active:hover {
  background: #c45c26;
  color: #fff;
  font-weight: 700;
}

.dh-top {
  gap: 0;
  padding-bottom: 10px;
}

.dh-top__row--main .dh-brand {
  flex: 0 1 auto;
  margin-right: auto;
}

.dh-top__row--main .dh-brand__mark {
  width: 32px;
  height: 32px;
}

.dh-chip--more {
  background: transparent;
  color: #8a3d12;
}

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

.dh-chip.dh-chip--ai.is-active,
a.dh-chip.dh-chip--ai.is-active {
  background: #c45c26 !important;
  color: #fff !important;
}

/* Off-canvas wrapper must pass viewport height or shell clips chips/form. */
body.path-ai-chat .dialog-off-canvas-main-canvas {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html.path-ai-chat .dh-shell.dh-shell--ai-chat,
body.path-ai-chat .dh-shell.dh-shell--ai-chat {
  display: flex !important;
  flex-direction: column !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: min(var(--dh-shell-max, 560px), 100%) !important;
  height: var(--ts-ai-vvh, 100dvh) !important;
  max-height: var(--ts-ai-vvh, 100dvh) !important;
  min-height: 0 !important;
  padding: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body.dh-layout--wide.path-ai-chat .dh-shell.dh-shell--ai-chat,
html.path-ai-chat body.dh-layout--wide .dh-shell.dh-shell--ai-chat {
  max-width: min(960px, 100%) !important;
}

@media (min-width: 1100px) and (orientation: landscape) {
  body.dh-layout--wide.path-ai-chat .dh-shell.dh-shell--ai-chat,
  html.path-ai-chat body.dh-layout--wide .dh-shell.dh-shell--ai-chat {
    max-width: min(1080px, 100%) !important;
  }
}

@media (max-width: 720px) {
  html.path-ai-chat .dh-shell.dh-shell--ai-chat,
  body.path-ai-chat .dh-shell.dh-shell--ai-chat {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
  }
}

.dh-shell--ai-chat .dh-top {
  flex: 0 0 auto;
}

.dh-main--ai-chat {
  flex: 1 1 auto;
  min-height: 0;
  max-height: calc(var(--ts-ai-vvh, 100dvh) - var(--ts-ai-chrome-top, 56px));
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
}

/*
 * Drupal may render the main block as #block-… without .block class.
 * Without this link, height:100% collapses and chips/composer are clipped.
 */
.dh-main--ai-chat > .block-system-main-block,
.dh-main--ai-chat > .block,
.dh-main--ai-chat > .block-system-messages-block,
.dh-main--ai-chat > [id^="block-"],
.dh-main--ai-chat .region-content,
.dh-main--ai-chat .ts-ai-page--fill,
.dh-main--ai-chat .ts-ai-page__stage,
.dh-main--ai-chat .ts-ai-page__widget {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* Keep chat as CSS grid (messages / chips / form); only constrain size. */
.dh-main--ai-chat .ts-ai-chat {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  height: 100%;
  overflow: hidden;
}

/* AI full page: never show site footer / 备案 / dock leftovers */
body.path-ai-chat .dh-dock,
body.path-ai-chat .region-footer,
body.path-ai-chat .site-footer,
body.path-ai-chat footer.footer,
body.path-ai-chat #footer,
body.path-ai-chat .footer-inner,
body.path-ai-chat .gva-footer,
body.path-ai-chat .copyright,
body.path-ai-chat .ts-chat-legal,
body.path-ai-chat .ts-foot__legal {
  display: none !important;
}

.dh-top__auth {
  background: #c45c26;
  color: #fff;
}

.dh-top__auth--login {
  background: #c45c26;
  color: #fff;
}

/* Map-first home: keep HUD / map / radar full width on desktop and 车机. */
@media (min-width: 720px) {
  .ch-page.ch-home.ch-home--map,
  body.dh-drive-mode .ch-page.ch-home.ch-home--map {
    display: block !important;
    grid-template-columns: none !important;
  }

  .ch-home--map > .ch-home-lead,
  body.dh-drive-mode .ch-page.ch-home.ch-home--map > .ch-home-lead {
    display: none !important;
    margin: 0;
  }

  .ch-home--map .ch-home-hud,
  .ch-home--map .ch-home-decision,
  .ch-home--map .ch-home-hud__actions,
  .ch-home--map .ch-home-map,
  .ch-home--map .ch-home-below {
    width: 100%;
    max-width: none;
  }

  .ch-home-decision__text strong {
    white-space: normal;
  }

  .ch-home-hud__actions a,
  .ch-home-hud__actions button {
    min-height: 44px;
  }
}

@media (min-width: 1100px) and (orientation: landscape) {
  .ch-home-decision {
    padding: 16px 22px;
    gap: 16px;
  }

  .ch-home-decision__text strong {
    font-size: 1.2rem;
  }

  .ch-home-decision__meta em {
    font-size: 0.88rem;
  }

  .ch-home-hud__actions {
    gap: 12px;
  }

  .ch-home-hud__actions a,
  .ch-home-hud__actions button {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 0.95rem;
  }
}

/* —— 热点地图 / 今日规划 拆页 —— */
.ch-map-head--compact .ch-section__head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ch-map-head--compact .ch-map-head__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  min-width: 0;
}

.ch-map-head--compact .ch-map-head__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}

.ch-map-head--compact .ch-map-head__actions .ch-btn,
.ch-map-head--compact .ch-map-head__actions .dh-side-swap {
  width: auto;
  margin: 0;
  flex: 0 0 auto;
}

.ch-map-head--compact .ch-map-head__actions .dh-side-swap {
  display: none !important;
}

.ch-map-head--compact h1 {
  margin: 0;
  font-size: 1.05rem;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ch-map-head--compact .ch-map-head__actions .ch-map-plan-open--short {
  min-width: 0;
  padding: 6px 10px;
  font-size: 0.82rem;
  line-height: 1.2;
  flex: 0 0 auto;
  text-decoration: none;
}

.ch-map-prefs__hubs > legend {
  margin-bottom: 6px;
}

.ch-map-prefs__group {
  margin: 0 0 8px;
  border: 1px solid rgba(196, 92, 38, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.ch-map-prefs__group > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 650;
  color: #5c4030;
  cursor: pointer;
  list-style: none;
}

.ch-map-prefs__group > summary::-webkit-details-marker {
  display: none;
}

.ch-map-prefs__group > summary::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid #b06a42;
  transform: rotate(90deg);
  transition: transform 0.15s ease;
}

.ch-map-prefs__group:not([open]) > summary::before {
  transform: rotate(0deg);
}

.ch-map-prefs__group-body {
  display: grid;
  gap: 2px;
  padding: 0 10px 8px;
}

.ch-map-route--compact .ch-map-prefs__group > summary {
  padding: 7px 9px;
  font-size: 0.78rem;
}

.ch-map-route--compact .ch-map-prefs__group-body {
  padding: 0 9px 7px;
}

.ch-map-plan-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}

.ch-map-plan-sheet.is-open {
  pointer-events: auto;
}

.ch-map-plan-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ch-map-plan-sheet.is-open .ch-map-plan-sheet__backdrop {
  opacity: 1;
}

.ch-map-plan-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(78dvh, 640px);
  overflow: auto;
  padding: 12px 14px calc(16px + env(safe-area-inset-bottom, 0px));
  border-radius: 16px 16px 0 0;
  background: #fffaf6;
  box-shadow: 0 -8px 28px rgba(28, 20, 14, 0.16);
  transform: translateY(108%);
  transition: transform 0.22s ease;
}

.ch-map-plan-sheet.is-open .ch-map-plan-sheet__panel {
  transform: translateY(0);
}

.ch-map-plan-sheet__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ch-map-plan-sheet__bar strong {
  font-size: 1rem;
}

.ch-map-plan-sheet__full {
  margin-left: auto;
  font-size: 0.82rem;
  color: #8a3d12;
  text-decoration: none;
}

.ch-map-plan-sheet__close {
  appearance: none;
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.ch-map-fold {
  margin: 14px 0 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(196, 92, 38, 0.12);
  padding: 0 12px 12px;
}

.ch-map-fold > summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 2px;
  font-weight: 650;
  color: #5c4030;
}

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

.ch-radar-fold {
  margin: 12px 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(196, 92, 38, 0.1);
  padding: 0 12px 10px;
}

.ch-radar-fold > summary {
  cursor: pointer;
  padding: 12px 2px;
  font-weight: 650;
  color: #5c4030;
}

.ch-radar-fold > summary em {
  font-style: normal;
  margin-left: 6px;
  font-size: 0.78rem;
  color: #8a8a8a;
  font-weight: 500;
}

.ch-card-grid--soft .ch-radar-card__body h3 {
  font-size: 0.95rem;
}

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

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

  .ch-map-plan-sheet__panel {
    left: auto;
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    width: min(420px, calc(100vw - 24px));
    max-height: min(82dvh, 720px);
    border-radius: 16px;
    transform: translateY(16px) scale(0.98);
    opacity: 0;
  }

  .ch-map-plan-sheet.is-open .ch-map-plan-sheet__panel {
    transform: none;
    opacity: 1;
  }
}

/* —— 宽屏：电脑 / 车机 / 平板自动双栏；手机「桌面网站」仍单列 —— */
:root {
  --dh-side-w: 320px;
}

.dh-side-swap {
  display: none;
  position: absolute;
  z-index: 8;
  top: 22px;
  right: 0;
  left: auto;
  align-items: center;
  justify-content: center;
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  width: 18px;
  height: 56px;
  border-radius: 10px 0 0 10px;
  color: #8a8178;
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 4px 14px rgba(28, 20, 14, 0.1),
    inset 0 0 0 1px rgba(196, 92, 38, 0.16);
  cursor: col-resize;
  opacity: 0.6;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
  user-select: none;
}

/* 侧栏在右：把手贴地图缝；侧栏在左：把手贴右侧缝（镜像） */
body.dh-side--right .dh-side-swap {
  right: auto;
  left: 0;
  border-radius: 0 10px 10px 0;
}

body.dh-side--left .dh-side-swap {
  right: 0;
  left: auto;
  border-radius: 10px 0 0 10px;
}

.dh-side-swap__icon {
  display: block;
  flex: none;
  pointer-events: none;
}

.dh-side-swap:hover,
.dh-side-swap:focus-visible {
  opacity: 0.95;
  color: #5c4030;
  background: rgba(255, 255, 255, 0.96);
  outline: none;
}

.dh-side-swap.is-dragging {
  opacity: 1;
  cursor: col-resize;
}

.dh-side-reopen {
  display: none;
  position: fixed;
  z-index: 40;
  top: calc(var(--dh-top-h, 64px) + 28px);
  width: 22px;
  height: 56px;
  align-items: center;
  justify-content: center;
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  color: #5c4030;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 4px 14px rgba(28, 20, 14, 0.12),
    inset 0 0 0 1px rgba(196, 92, 38, 0.18);
  cursor: pointer;
}

body.dh-layout--wide.dh-side--collapsed .dh-side-reopen {
  display: inline-flex;
}

body.dh-side--collapsed.dh-side--right .dh-side-reopen {
  right: 8px;
  left: auto;
  border-radius: 10px 0 0 10px;
}

body.dh-side--collapsed.dh-side--left .dh-side-reopen {
  left: 8px;
  right: auto;
  border-radius: 0 10px 10px 0;
}

.ch-home-stage__toolbar {
  display: none !important;
}

@media (min-width: 768px), (min-width: 720px) and (orientation: landscape) {
  .ch-page.ch-map--hot {
    --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)
      + 64px
    );
  }

  .ch-page.ch-map--hot .ch-map-head--compact {
    margin-bottom: 6px;
  }

  .dh-side-swap {
    display: inline-flex;
  }

  .ch-home-stage__side,
  .ch-page.ch-map--hot .ch-wide-pane--side {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding-top: 0;
  }

  .ch-home-stage__side-scroll,
  .ch-page.ch-map--hot .ch-wide-pane--side-scroll {
    flex: 1 1 auto;
    min-height: 0;
    max-height: inherit;
    overflow: auto;
  }

  .ch-home-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, var(--dh-side-w, 320px));
    grid-template-areas: "map side";
    gap: 12px 16px;
    align-items: stretch;
    min-height: calc(100dvh - var(--dh-top-h, 64px) - var(--dh-dock-h, 72px) - 88px);
  }

  .ch-home-stage__map {
    grid-area: map;
    min-width: 0;
    min-height: 0;
  }

  .ch-home-stage__side {
    grid-area: side;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    width: var(--dh-side-w, 320px);
    max-width: var(--dh-side-w, 320px);
    max-height: calc(100dvh - var(--dh-top-h, 64px) - var(--dh-dock-h, 72px) - 24px);
    overflow: visible;
  }

  .ch-home-stage__map > .tdm {
    margin: 0;
    height: 100%;
  }

  .ch-home-stage__map .tdm__frame,
  .ch-home-stage__map .ch-home-map__frame {
    height: 100%;
    min-height: min(70dvh, calc(100dvh - var(--dh-top-h, 64px) - var(--dh-dock-h, 72px) - 96px));
  }

  body.dh-side--left .ch-home-stage {
    grid-template-columns: minmax(220px, var(--dh-side-w, 320px)) minmax(0, 1fr);
    grid-template-areas: "side map";
  }

  body.dh-side--collapsed .ch-home-stage {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "map" !important;
  }

  body.dh-side--collapsed .ch-home-stage__side {
    display: none !important;
  }

  .ch-page.ch-map--hot .ch-wide-split.ch-wide-split--map-hot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, var(--dh-side-w, 320px));
    grid-template-areas: "main side";
    gap: 10px 18px;
    align-items: stretch;
    min-height: calc(100dvh - var(--ch-map-wide-chrome, 180px));
  }

  .ch-page.ch-map--hot .ch-wide-split--map-hot .ch-wide-pane--main {
    grid-area: main;
    min-width: 0;
    min-height: 0;
  }

  .ch-page.ch-map--hot .ch-wide-split--map-hot .ch-wide-pane--side {
    grid-area: side;
    margin-top: 0;
    top: 0;
    align-self: stretch;
    width: var(--dh-side-w, 320px);
    max-width: var(--dh-side-w, 320px);
    max-height: calc(100dvh - var(--ch-map-wide-chrome, 180px));
    overflow: visible;
  }

  .ch-page.ch-map--hot .ch-wide-split--map-hot .ch-wide-pane--side .ch-map-city,
  .ch-page.ch-map--hot .ch-wide-split--map-hot .ch-wide-pane--side .ch-map-slices {
    margin: 0 0 8px;
    padding: 8px 10px;
  }

  .ch-page.ch-map--hot .ch-wide-split--map-hot .ch-map-head--compact {
    margin: 0 0 8px;
    padding: 8px 12px;
  }

  body.dh-side--left .ch-page.ch-map--hot .ch-wide-split.ch-wide-split--map-hot {
    grid-template-columns: minmax(220px, var(--dh-side-w, 320px)) minmax(0, 1fr);
    grid-template-areas: "side main";
  }

  body.dh-side--collapsed .ch-page.ch-map--hot .ch-wide-split.ch-wide-split--map-hot {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "main" !important;
  }

  body.dh-side--collapsed .ch-page.ch-map--hot .ch-wide-pane--side {
    display: none !important;
  }

  .ch-page.ch-map--hot .ch-wide-split--map-hot .ch-map-canvas {
    min-height: calc(100dvh - var(--ch-map-wide-chrome, 180px) - 28px) !important;
    height: 100% !important;
  }
}

/* JS class backup (boot script / resize) — same layout as the media query. */
body.dh-layout--wide .dh-side-swap {
  display: inline-flex;
}

body.dh-layout--wide .ch-home-stage__side,
body.dh-layout--wide .ch-page.ch-map--hot .ch-wide-pane--side {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  padding-top: 0;
}

body.dh-layout--wide .ch-home-stage__side-scroll,
body.dh-layout--wide .ch-page.ch-map--hot .ch-wide-pane--side-scroll {
  flex: 1 1 auto;
  min-height: 0;
  max-height: inherit;
  overflow: auto;
}

body.dh-layout--wide .ch-home-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, var(--dh-side-w, 320px));
  grid-template-areas: "map side";
  gap: 12px 16px;
  align-items: stretch;
  min-height: calc(100dvh - var(--dh-top-h, 64px) - var(--dh-dock-h, 72px) - 88px);
}

body.dh-layout--wide .ch-home-stage__map {
  grid-area: map;
}

body.dh-layout--wide .ch-home-stage__side {
  grid-area: side;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: var(--dh-side-w, 320px);
  max-width: var(--dh-side-w, 320px);
  max-height: calc(100dvh - var(--dh-top-h, 64px) - var(--dh-dock-h, 72px) - 24px);
  overflow: visible;
}

body.dh-layout--wide .ch-home-stage__map > .tdm {
  margin: 0;
  height: 100%;
}

body.dh-layout--wide .ch-home-stage__map .tdm__frame,
body.dh-layout--wide .ch-home-stage__map .ch-home-map__frame {
  height: 100%;
  min-height: min(70dvh, calc(100dvh - var(--dh-top-h, 64px) - var(--dh-dock-h, 72px) - 96px));
}

body.dh-layout--wide.dh-side--left .ch-home-stage {
  grid-template-columns: minmax(220px, var(--dh-side-w, 320px)) minmax(0, 1fr);
  grid-template-areas: "side map";
}

body.dh-layout--wide.dh-side--collapsed .ch-home-stage {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas: "map" !important;
}

body.dh-layout--wide.dh-side--collapsed .ch-home-stage__side {
  display: none !important;
}

body.dh-layout--wide .ch-page.ch-map--hot {
  --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)
    + 64px
  );
}

body.dh-layout--wide .ch-page.ch-map--hot .ch-wide-split.ch-wide-split--map-hot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, var(--dh-side-w, 320px));
  grid-template-areas: "main side";
  gap: 10px 18px;
  align-items: stretch;
  min-height: calc(100dvh - var(--ch-map-wide-chrome, 180px));
}

body.dh-layout--wide .ch-page.ch-map--hot .ch-wide-split--map-hot .ch-wide-pane--main {
  grid-area: main;
}

body.dh-layout--wide .ch-page.ch-map--hot .ch-wide-split--map-hot .ch-wide-pane--side {
  grid-area: side;
  margin-top: 0;
  top: 0;
  align-self: stretch;
  width: var(--dh-side-w, 320px);
  max-width: var(--dh-side-w, 320px);
  max-height: calc(100dvh - var(--ch-map-wide-chrome, 180px));
  overflow: visible;
}

body.dh-layout--wide .ch-page.ch-map--hot .ch-wide-split--map-hot .ch-wide-pane--side .ch-map-city,
body.dh-layout--wide .ch-page.ch-map--hot .ch-wide-split--map-hot .ch-wide-pane--side .ch-map-slices {
  margin: 0 0 8px;
  padding: 8px 10px;
}

body.dh-layout--wide .ch-page.ch-map--hot .ch-wide-split--map-hot .ch-map-head--compact {
  margin: 0 0 8px;
  padding: 8px 12px;
}

body.dh-layout--wide.dh-side--left .ch-page.ch-map--hot .ch-wide-split.ch-wide-split--map-hot {
  grid-template-columns: minmax(220px, var(--dh-side-w, 320px)) minmax(0, 1fr);
  grid-template-areas: "side main";
}

body.dh-layout--wide.dh-side--collapsed .ch-page.ch-map--hot .ch-wide-split.ch-wide-split--map-hot {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas: "main" !important;
}

body.dh-layout--wide.dh-side--collapsed .ch-page.ch-map--hot .ch-wide-pane--side {
  display: none !important;
}

body.dh-layout--wide .ch-page.ch-map--hot .ch-wide-split--map-hot .ch-map-canvas {
  min-height: calc(100dvh - var(--ch-map-wide-chrome, 180px) - 28px) !important;
  height: 100% !important;
}

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

body.dh-layout--wide .dh-dock {
  width: calc(min(1360px, 100%) - 2px);
}

@media (max-device-width: 500px) {
  .ch-home-stage,
  body.dh-layout--wide .ch-home-stage {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    min-height: 0 !important;
  }

  .ch-wide-split--map-hot,
  body.dh-layout--wide .ch-wide-split--map-hot {
    display: block !important;
    grid-template-columns: none !important;
    grid-template-areas: none !important;
    min-height: 0 !important;
  }

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

body.dh-layout--narrow .ch-home-stage {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  min-height: 0 !important;
}

body.dh-layout--narrow .ch-wide-split--map-hot {
  display: block !important;
  grid-template-columns: none !important;
  min-height: 0 !important;
}

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

/* —— 跑车平台 / 新手避坑：卡片列表与详情，对齐租车名单风格 —— */
.ch-section--topics {
  padding: 18px 16px 20px;
}

.ch-section--topics .ch-filters--inset,
.ch-section--topics .ch-chips--inset {
  margin: 0 0 14px;
}

.ch-card-grid--topics {
  display: grid;
  gap: 12px;
}

.ch-topic-card {
  display: block;
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--dh-radius-sm, 12px);
  border: 1px solid var(--dh-line, rgba(60, 60, 67, 0.1));
  background: var(--dh-tile, #fff);
  box-shadow: var(--dh-shadow-soft, 0 1px 0 rgba(60, 60, 67, 0.04));
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.ch-topic-card__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.ch-topic-card .ch-tag {
  margin: 0;
}

.ch-topic-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.ch-topic-card span {
  display: block;
  margin: 0;
  color: var(--dh-muted, #8e8e96);
  font-size: 0.88rem;
  line-height: 1.55;
}

.ch-topic-card--platform {
  border-color: rgba(10, 132, 255, 0.2);
}

.ch-topic-card--guide {
  border-color: rgba(255, 159, 10, 0.22);
}

.ch-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}

.ch-page.ch-platform .ch-section,
.ch-page.ch-guide-detail .ch-section {
  margin: 16px 0 20px;
  padding: 18px 18px 22px;
}

.ch-section--platforms {
  border-color: rgba(10, 132, 255, 0.22);
}

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

.ch-prose--airy {
  line-height: 1.75;
  font-size: 0.96rem;
}

.ch-prose--airy p {
  margin: 0.9em 0;
}

.ch-prose--airy h2 {
  margin: 1.45em 0 0.65em;
  font-size: 1.08rem;
}

.ch-prose--airy h3 {
  margin: 1.2em 0 0.5em;
}

.ch-prose--airy ul,
.ch-prose--airy ol {
  margin: 0.85em 0;
  padding-left: 1.35em;
}

.ch-prose--airy li {
  margin: 0.4em 0;
}

.ch-prose--airy li + li {
  margin-top: 0.35em;
}

.ch-prose--airy > :first-child {
  margin-top: 0;
}

.ch-prose--airy > :last-child {
  margin-bottom: 0;
}

.dh-tabbar--5 .dh-tab {
  font-size: 0.72rem;
  letter-spacing: 0;
  padding: 10px 2px;
  white-space: nowrap;
}
