/* ===================================
   route.css — 摩托吧 AI 路线规划
   基于项目 global.css / Moto8 VI 色板落地
   =================================== */

:root {
  --m8-orange: var(--primary, #f39800);
  --m8-red: var(--primary-dark, #db3710);
  --m8-yellow: var(--primary-warm, #fdd000);
  --m8-gold: var(--brand-gold, #aa8534);
  --m8-silver: var(--brand-silver, #b5b5b6);
  --m8-ink: var(--text-primary, #1f1f1f);
  --m8-text: #444;
  --m8-muted: #777;
  --m8-subtle: #9fa0a0;
  --m8-line: #e7e0d6;
  --m8-soft: #fff4df;
  --m8-bg: #f7f8f8;
  --m8-panel: #fff;
  --m8-panel-tint: #fffaf2;
  --m8-success: #2e7d32;
  --m8-info: #1565c0;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-hover: 0 8px 18px rgba(31, 31, 31, .10);
  --font: "FZLanTingHeiS", "Lantinghei SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  background: var(--m8-bg);
  color: var(--m8-ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fff 0, #fff 112px, var(--m8-bg) 112px),
    var(--m8-bg);
  color: var(--m8-ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.is-hidden {
  display: none !important;
}

.page {
  width: min(1040px, 100% - 32px);
  margin: 0 auto;
  padding: 0 0 72px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--m8-line);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: auto;
  height: 48px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 14px;
  white-space: normal;
  font-size: 13px;
}

.nav a {
  position: relative;
  color: var(--m8-muted);
  text-decoration: none;
  transition: color .18s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--m8-red);
}

.nav a.active {
  font-weight: 700;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--m8-red);
  border-radius: 2px;
}

.hero-compact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px;
  background: var(--m8-panel);
  border: 1px solid var(--m8-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(170, 133, 52, .24);
  border-radius: 999px;
  background: linear-gradient(180deg, #fffaf2, #fff4df);
  color: var(--m8-red);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.hero-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.hi-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  background: var(--m8-bg);
  border: 1px solid var(--m8-line);
  border-radius: var(--radius);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.hi-field:focus-within {
  background: #fff;
  border-color: var(--m8-orange);
  box-shadow: 0 0 0 3px rgba(243, 152, 0, .12);
}

.hi-field .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.hi-dot-s { background: var(--m8-silver); }
.hi-dot-e { background: var(--m8-red); }

.hi-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--m8-ink);
  font-size: 14px;
  font-weight: 650;
}

.hi-field input::placeholder {
  color: var(--m8-subtle);
  font-weight: 400;
}

#aiFrom {
  padding-right: 28px;
}

.ai-locate-btn {
  position: absolute;
  top: 50%;
  right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.ai-locate-btn:hover {
  background: #fff;
}

.ai-locate-btn::before,
.ai-locate-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--m8-subtle);
  border-radius: 2px;
}

.ai-locate-btn::before {
  width: 2px;
  height: 13px;
  transform: translate(-50%, -50%);
}
.ai-locate-btn::after {
  width: 13px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.ai-locate-btn .dot {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: var(--m8-red);
  transform: translate(-50%, -50%);
}

.hi-swap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--m8-line);
  border-radius: 50%;
  background: #fff;
  color: var(--m8-gold);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.hi-swap:hover {
  transform: rotate(180deg);
  border-color: var(--m8-orange);
  color: var(--m8-red);
  box-shadow: 0 0 0 3px rgba(243, 152, 0, .10);
}

.hi-btn,
.ai-nav-summary-btn,
.ai-nav-btn,
.bottom-btn.primary {
  border: 0;
  background: linear-gradient(135deg, var(--m8-orange) 0%, var(--m8-red) 100%);
  color: #fff;
}

.hi-btn {
  height: 40px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(219, 55, 16, .16);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.hi-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(219, 55, 16, .20);
}

.hi-btn:disabled {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
}

.ai-status {
  display: grid;
  place-items: center;
  min-height: 92px;
  color: var(--m8-muted);
  font-size: 13px;
}

.spinner,
.ai-status .spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-bottom: 8px;
  border: 2px solid var(--m8-line);
  border-top-color: var(--m8-orange);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.ai-error {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(219, 55, 16, .20);
  border-radius: var(--radius);
  background: var(--m8-soft);
  color: var(--m8-red);
  text-align: center;
  font-size: 13px;
}

.ai-result {
  margin-top: 4px;
}

.ai-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.ai-sample-tag,
.nearby-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 13px;
  border: 1px solid var(--m8-line);
  border-radius: 999px;
  background: #fff;
  color: var(--m8-text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.ai-sample-tag:hover,
.nearby-tag:hover,
.nearby-tag.active {
  border-color: rgba(243, 152, 0, .55);
  background: var(--m8-soft);
  color: var(--m8-red);
}

.ai-sample-tag.g318-tag {
  border-color: transparent;
  background: linear-gradient(135deg, var(--m8-orange), var(--m8-red));
  color: #fff;
}

.map-init {
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--m8-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.map-init-content {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #f7f8f8;
}

.home-route-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #eef2f3;
}

.home-route-map::before {
  content: "正在加载推荐路线地图...";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--m8-muted);
  font-size: 12px;
  font-weight: 700;
}

.home-route-map.tdt-loaded::before {
  display: none;
}

.home-route-map-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--m8-muted);
  font-size: 12px;
  font-weight: 700;
}

.map-init-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 31, 31, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 31, 31, .035) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-center-dot {
  position: absolute;
  z-index: 2;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--m8-orange);
  box-shadow: 0 0 0 6px rgba(243, 152, 0, .12), 0 10px 26px rgba(219, 55, 16, .16);
}

.hotline {
  position: absolute;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--m8-orange), var(--m8-red));
  opacity: .42;
}

.hotline-a { width: 45%; top: 40%; left: 10%; transform: rotate(-12deg); opacity: .55; }
.hotline-b { width: 30%; top: 55%; left: 25%; transform: rotate(8deg); background: var(--m8-gold); }
.hotline-c { width: 50%; top: 30%; left: 5%; transform: rotate(-5deg); opacity: .30; }
.hotline-d { width: 20%; top: 60%; left: 70%; transform: rotate(-20deg); background: var(--m8-orange); opacity: .25; }

.map-init-label {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 5;
  padding: 5px 9px;
  border: 1px solid rgba(170, 133, 52, .24);
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  color: var(--m8-red);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(31, 31, 31, .08);
}

.map-city-tag {
  position: absolute;
  z-index: 3;
  padding: 3px 8px;
  border: 1px solid rgba(170, 133, 52, .25);
  border-radius: 6px;
  background: rgba(255, 255, 255, .90);
  color: var(--m8-text);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(31, 31, 31, .06);
}

.map-city-tag:hover,
.map-city-tag.hot {
  border-color: rgba(243, 152, 0, .45);
  color: var(--m8-red);
}

.city-cd { top: 38%; left: 12%; }
.city-bj { top: 16%; left: 30%; }
.city-sh { top: 52%; left: 35%; }
.city-xa { top: 42%; left: 22%; }
.city-ls { top: 55%; left: 38%; }
.city-xj { top: 46%; left: 8%; }
.city-heb { top: 18%; left: 60%; }
.city-km { top: 72%; left: 32%; }

.section-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--m8-ink);
  font-size: 16px;
  font-weight: 800;
}

.section-title small {
  color: var(--m8-muted);
  font-size: 12px;
  font-weight: 400;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.route-card,
.dash-item,
.map-area,
.sidebar,
.progress-section,
.day-detail,
.weather-strip,
.poi-cat,
.poi-sub-list,
.bottom-btn,
.ai-elevation,
.trip-card,
.nearby-section {
  border: 1px solid var(--m8-line);
  border-radius: var(--radius);
  background: var(--m8-panel);
  box-shadow: var(--shadow);
}

.route-card {
  position: relative;
  min-height: 132px;
  overflow: hidden;
  padding: 15px 14px 13px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.route-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--m8-orange), var(--m8-red));
}

.route-card:nth-child(2)::before,
.route-card:nth-child(4)::before { background: linear-gradient(90deg, var(--m8-gold), var(--m8-orange)); }
.route-card:nth-child(3)::before,
.route-card:nth-child(6)::before { background: linear-gradient(90deg, var(--m8-silver), var(--m8-orange)); }

.route-card:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 152, 0, .45);
  box-shadow: var(--shadow-hover);
}

.rc-icon {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1;
}

.rc-name {
  margin-bottom: 3px;
  color: var(--m8-ink);
  font-size: 14px;
  font-weight: 800;
}

.rc-route {
  margin-bottom: 5px;
  color: var(--m8-text);
  font-size: 12px;
  font-weight: 600;
}

.rc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: var(--m8-muted);
  font-size: 11px;
}

.rc-tag,
.dd-tag,
.ai-trip-ov-tip,
.trip-poi-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin-top: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.rc-tag.hard,
.dd-tag.warn {
  border: 1px solid rgba(219, 55, 16, .24);
  background: var(--m8-soft);
  color: var(--m8-red);
}

.rc-tag.medium,
.safety-badge.safe {
  border: 1px solid rgba(46, 125, 50, .22);
  background: #e8f5e9;
  color: var(--m8-success);
}

.rc-tag.easy {
  border: 1px solid rgba(21, 101, 192, .18);
  background: #e3f2fd;
  color: var(--m8-info);
}

/* 主导语 */
.hero-slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 14px;
  padding: 12px 20px;
  background: var(--m8-panel);
  border: 1px solid var(--m8-line);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  color: var(--m8-ink);
  text-align: center;
  box-shadow: var(--shadow);
}

.hero-slogan .slogan-icon {
  font-size: 18px;
}

.hero-slogan .slogan-text {
  color: var(--m8-red);
  font-weight: 800;
}

.hero-slogan .slogan-sub {
  font-size: 11px;
  color: var(--m8-muted);
  font-weight: 400;
  margin-left: 4px;
}

/* 月份选择器 */
.season-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.month-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--m8-line);
  border-radius: 6px;
  background: var(--m8-panel);
  font-size: 12px;
  font-weight: 600;
  color: var(--m8-text);
  cursor: pointer;
  transition: all .15s ease;
}

.month-tag:hover {
  border-color: var(--m8-orange);
  color: var(--m8-orange);
}

.month-tag.active {
  background: var(--m8-orange);
  border-color: var(--m8-orange);
  color: #fff;
}

/* 当季推荐卡片 */
.season-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.season-card {
  position: relative;
  padding: 14px;
  border: 1px solid var(--m8-line);
  border-radius: var(--radius);
  background: var(--m8-panel);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
}

.season-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.season-card.spring::before { background: linear-gradient(90deg, #81c784, #4caf50); }
.season-card.summer::before { background: linear-gradient(90deg, #ffb74d, #ff9800); }
.season-card.autumn::before { background: linear-gradient(90deg, #ffb74d, #e65100); }
.season-card.winter::before { background: linear-gradient(90deg, #90caf9, #42a5f5); }

.season-card:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 152, 0, .45);
  box-shadow: var(--shadow-hover);
}

.sc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 6px;
}

.sc-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--m8-ink);
  line-height: 1.3;
}

.sc-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
}

.sc-star {
  color: #ffc107;
}

.sc-star.empty {
  color: #e0e0e0;
}

.sc-route {
  font-size: 12px;
  color: var(--m8-text);
  margin-bottom: 8px;
}

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

.sc-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.sc-tag.temp {
  background: #fff3e0;
  color: #e65100;
}

.sc-tag.rain {
  background: #e3f2fd;
  color: #1565c0;
}

.sc-tag.peak {
  background: #fce4ec;
  color: #c62828;
}

.sc-tag.easy {
  background: #e3f2fd;
  color: var(--m8-info);
}

.sc-tag.moderate {
  background: #e8f5e9;
  color: var(--m8-success);
}

.sc-tag.hard {
  background: var(--m8-soft);
  color: var(--m8-red);
}

.sc-desc {
  font-size: 12px;
  color: var(--m8-muted);
  line-height: 1.5;
}

.season-loading {
  grid-column: 1 / -1;
  padding: 24px;
  text-align: center;
  color: var(--m8-muted);
  font-size: 13px;
}

.season-empty {
  grid-column: 1 / -1;
  padding: 24px;
  text-align: center;
  color: var(--m8-muted);
  font-size: 13px;
}

/* 分页导航 */
.season-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 0;
  margin-bottom: 18px;
}

.page-info {
  font-size: 12px;
  color: var(--m8-muted);
}

.page-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--m8-line);
  border-radius: 6px;
  background: var(--m8-panel);
  font-size: 12px;
  font-weight: 600;
  color: var(--m8-text);
  cursor: pointer;
  transition: all .15s ease;
}

.page-btn:hover {
  border-color: var(--m8-orange);
  color: var(--m8-orange);
}

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

.dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.dash-item {
  min-width: 0;
  padding: 14px 12px;
  text-align: center;
}

.dash-num {
  color: var(--m8-ink);
  font-size: 26px;
  font-weight: 850;
  line-height: 1;
}

.dash-num-fee {
  font-size: 18px;
}

.dash-num small {
  margin-left: 2px;
  color: var(--m8-muted);
  font-size: 10px;
  font-weight: 650;
}

.dash-label {
  margin-top: 5px;
  color: var(--m8-muted);
  font-size: 11px;
  font-weight: 700;
}

.dash-sub {
  margin-top: 3px;
  color: var(--m8-subtle);
  font-size: 10px;
  line-height: 1.35;
}

.dash-item:nth-child(1) .dash-num,
.dash-item:nth-child(4) .dash-num { color: var(--m8-orange); }
.dash-item:nth-child(2) .dash-num { color: var(--m8-red); }
.dash-item:nth-child(3) .dash-num { color: var(--m8-success); }

.route-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 12px;
  overflow-x: auto;
  border: 1px solid var(--m8-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.rtab {
  flex: 1 0 120px;
  min-height: 48px;
  padding: 8px 10px;
  border: 0;
  border-right: 1px solid var(--m8-line);
  background: transparent;
  color: var(--m8-muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.rtab:last-child {
  border-right: 0;
}

.rtab.active,
.rtab:hover {
  background: var(--m8-soft);
  color: var(--m8-red);
}

.rtab-sub {
  display: block;
  margin-top: 1px;
  color: var(--m8-subtle);
  font-size: 9px;
  font-weight: 400;
}

.safety-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
}

.safety-badge.warn {
  border: 1px solid rgba(219, 55, 16, .24);
  background: var(--m8-soft);
  color: var(--m8-red);
}

.map-section {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.map-area {
  min-width: 0;
  overflow: hidden;
}

.map-content {
  position: relative;
  min-height: 280px;
  background: linear-gradient(145deg, #f7f8f8, #fffaf2);
}

.sidebar {
  max-height: 280px;
  min-width: 0;
  padding: 14px;
  overflow-y: auto;
}

.sb-title,
.progress-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--m8-text);
  font-size: 12px;
  font-weight: 800;
}

.sb-count,
.dd-title small {
  color: var(--m8-muted);
  font-size: 11px;
  font-weight: 400;
}

.sb-day {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  padding: 9px 8px;
  border-radius: 6px;
  cursor: pointer;
}

.sb-day:hover,
.sb-day.active {
  background: var(--m8-soft);
}

.sb-day.active {
  box-shadow: inset 3px 0 0 var(--m8-orange);
}

.sb-day-num {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--m8-soft);
  color: var(--m8-red);
  font-size: 11px;
  font-weight: 800;
}

.sb-day.active .sb-day-num {
  background: var(--m8-orange);
  color: #fff;
}

.sb-day-info { min-width: 0; flex: 1; }
.sb-day-route,
.poi-sub-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sb-day-route {
  color: var(--m8-ink);
  font-size: 12px;
  font-weight: 700;
}

.sb-day-dist,
.sb-day-arrow {
  color: var(--m8-muted);
  font-size: 11px;
}

.progress-section,
.day-detail,
.weather-strip,
.ai-elevation {
  margin-bottom: 14px;
  padding: 16px;
}

.progress-title-note {
  color: var(--m8-subtle);
  font-weight: 400;
}

.pt-fill-default {
  width: 60%;
}

.progress-track { position: relative; padding-top: 22px; }
.pt-line,
.pt-fill {
  height: 3px;
  border-radius: 3px;
}
.pt-line { background: var(--m8-line); }
.pt-fill { background: linear-gradient(90deg, var(--m8-orange), var(--m8-red)); }
.pt-nodes { display: flex; justify-content: space-between; margin-top: -7px; }
.pt-node { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.pt-dot {
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--m8-line);
  box-shadow: 0 0 0 2px var(--m8-line);
}
.pt-node:first-child .pt-dot,
.pt-node:last-child .pt-dot,
.pt-node.active .pt-dot {
  background: var(--m8-red);
  box-shadow: 0 0 0 2px var(--m8-red);
}
.pt-city { margin-top: 6px; color: var(--m8-text); font-size: 10px; font-weight: 700; }
.pt-dist { color: var(--m8-muted); font-size: 9px; }

.dd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.dd-title {
  color: var(--m8-ink);
  font-size: 15px;
  font-weight: 800;
}

.dd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dd-grid-item {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--m8-line);
  border-radius: var(--radius);
  background: var(--m8-panel-tint);
}

.dd-glabel,
.dd-gsub {
  color: var(--m8-muted);
  font-size: 10px;
}

.dd-gvalue {
  margin-top: 3px;
  color: var(--m8-ink);
  font-size: 14px;
  font-weight: 800;
}

.weather-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
}

.ws-title {
  flex: 0 0 auto;
  color: var(--m8-muted);
  font-size: 11px;
  font-weight: 800;
}

.ws-points {
  display: flex;
  flex: 1;
  gap: 6px;
  min-width: 0;
}

.ws-loading,
.poi-empty {
  color: var(--m8-subtle);
  font-size: 11px;
}

.ws-loading {
  padding: 4px 0;
}

.poi-empty {
  padding: 12px;
  text-align: center;
}

.ws-point,
.ws-warn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 4px 10px;
  border: 1px solid var(--m8-line);
  border-radius: 999px;
  background: var(--m8-bg);
  font-size: 11px;
}

.ws-loc { color: var(--m8-ink); font-weight: 700; }
.ws-temp { color: var(--m8-muted); }
.ws-warn { color: var(--m8-red); background: var(--m8-soft); }

.poi-section {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.poi-cat {
  min-width: 0;
  padding: 11px 6px;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.poi-cat:hover,
.poi-cat.active {
  transform: translateY(-1px);
  border-color: rgba(243, 152, 0, .50);
  background: var(--m8-soft);
  box-shadow: var(--shadow-hover);
}

.poi-cat-icon {
  display: block;
  margin-bottom: 4px;
  font-size: 20px;
  line-height: 1;
}

.poi-cat-label {
  color: var(--m8-text);
  font-size: 11px;
  font-weight: 800;
}

.poi-cat-count {
  margin-top: 2px;
  color: var(--m8-muted);
  font-size: 10px;
}

.poi-sub-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
  overflow: hidden;
}

.poi-sub-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
}

.poi-sub-card:hover {
  background: var(--m8-soft);
}

.poi-sub-name {
  flex: 1;
  min-width: 0;
  color: var(--m8-ink);
  font-weight: 700;
}

.poi-sub-meta,
.poi-sub-dist {
  flex: 0 0 auto;
  color: var(--m8-muted);
  font-size: 10px;
}

.poi-sub-dist {
  color: var(--m8-orange);
  font-weight: 800;
}

.bottom-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 58px;
  padding: 8px;
  color: var(--m8-text);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bottom-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(243, 152, 0, .50);
  box-shadow: var(--shadow-hover);
}

.bottom-btn.primary:hover {
  box-shadow: 0 8px 18px rgba(219, 55, 16, .18);
}

.btn-icon {
  font-size: 18px;
  line-height: 1;
}

.ai-elevation {
  overflow: hidden;
}

.ai-elevation-chart {
  position: relative;
  min-height: 100px;
}

.ai-elevation-chart svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.ai-elevation-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 8px;
  color: var(--m8-muted);
  font-size: 11px;
}

.ai-elevation-stats b {
  color: var(--m8-ink);
}

.ai-elev-tooltip {
  position: absolute;
  top: 0;
  z-index: 10;
  min-width: 130px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: rgba(31, 31, 31, .90);
  color: #fff;
  font-size: 11px;
  line-height: 1.5;
  pointer-events: none;
}

.ai-elev-tooltip .el-tip-title { color: var(--m8-yellow); font-weight: 800; }
.ai-elev-tooltip td { padding: 1px 4px; }
.ai-elev-tooltip td:first-child { color: rgba(255, 255, 255, .68); }
.ai-elev-marker {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--m8-orange);
  pointer-events: none;
}

.ai-detail-state {
  display: grid;
  place-items: center;
  min-height: 86px;
  color: var(--m8-muted);
  font-size: 12px;
}

.ai-segment {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid var(--m8-line);
  font-size: 12px;
}

.ai-segment:last-child {
  border-bottom: 0;
}

.ai-zone-names {
  grid-column: 1 / -1;
  color: var(--m8-red);
  font-size: 11px;
}

.ai-poi-filters,
.ai-poi-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.ai-poi-filters {
  margin-bottom: 10px;
}

.ai-poi-filter {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid var(--m8-line);
  border-radius: 999px;
  background: #fff;
  color: var(--m8-text);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.ai-poi-filter.active,
.ai-poi-filter:hover {
  border-color: rgba(243, 152, 0, .5);
  background: var(--m8-soft);
  color: var(--m8-red);
}

.ai-poi-card {
  display: grid;
  grid-template-columns: 34px minmax(180px, 1fr);
  gap: 10px;
  flex: 0 0 260px;
  padding: 12px;
  border: 1px solid var(--m8-line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.ai-poi-card-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--m8-bg);
  font-size: 18px;
}

.ai-poi-card-name {
  color: var(--m8-ink);
  font-size: 13px;
  font-weight: 800;
}

.ai-poi-card-meta,
.ai-poi-card-tags {
  margin-top: 3px;
  color: var(--m8-muted);
  font-size: 11px;
}

.ai-poi-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.ai-poi-card-call,
.ai-station-via,
.ai-modal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--m8-line);
  border-radius: 6px;
  background: #fff;
  color: var(--m8-red);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.ai-station-via:hover,
.ai-modal-btn:hover {
  border-color: var(--m8-orange);
  background: var(--m8-soft);
}

.ai-trip-overlay,
.ai-nav-summary-overlay {
  position: fixed;
  inset: 0;
  z-index: 19999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 31, 31, .48);
  opacity: 0;
  transition: opacity .20s ease;
}

.ai-nav-summary-overlay {
  z-index: 20000;
}

.ai-trip-overlay.show,
.ai-nav-summary-overlay.show {
  opacity: 1;
}

.ai-trip-modal,
.ai-nav-summary {
  width: min(680px, calc(100% - 24px));
  max-height: 82vh;
  overflow-y: auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
}

.ai-trip-modal {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  width: auto;
  z-index: 20002;
  transform: translateY(105%);
  transition: transform .26s cubic-bezier(.22, 1, .36, 1);
}

.ai-trip-modal.show {
  transform: translateY(0);
}

.ai-trip-modal-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--m8-line);
  background: #fff;
  color: var(--m8-ink);
  font-size: 15px;
  font-weight: 800;
}

.ai-trip-modal-header span:first-child {
  flex: 1;
}

.ai-trip-close {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--m8-bg);
  color: var(--m8-muted);
  cursor: pointer;
}

.ai-trip-modal-body {
  padding: 14px 16px max(24px, env(safe-area-inset-bottom, 16px));
}

.trip-card {
  margin-bottom: 12px;
  padding: 14px;
}

.trip-card-top,
.trip-day-stats,
.trip-info-grid,
.trip-poi-bar,
.ai-trip-overview,
.trip-amap-row {
  display: flex;
}

.trip-card-top {
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.trip-day-badge {
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--m8-red);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.trip-day-stats {
  gap: 10px;
  color: var(--m8-muted);
  font-size: 10px;
}

.trip-stat-num,
.trip-cell-val {
  color: var(--m8-ink);
  font-weight: 800;
}

.trip-route-line {
  margin-bottom: 10px;
  color: var(--m8-ink);
  font-size: 13px;
  font-weight: 750;
}

.trip-info-grid {
  overflow: hidden;
  margin-bottom: 8px;
  border: 1px solid var(--m8-line);
  border-radius: var(--radius);
}

.trip-info-cell {
  flex: 1;
  min-width: 0;
  padding: 8px 6px;
  border-right: 1px solid var(--m8-line);
  text-align: center;
  font-size: 10px;
}

.trip-info-cell:last-child { border-right: 0; }
.trip-cell-label,
.trip-cell-sub,
.trip-amap-loading { color: var(--m8-muted); font-size: 10px; }
.trip-cell-val.cost { color: var(--m8-red); }
.trip-cell-val.compact { font-size: 12px; }

.trip-modal-subtitle {
  flex: 0 0 auto;
  color: var(--m8-subtle);
  font-size: 11px;
}

.ai-trip-modal-body-spacious {
  padding-bottom: 24px;
}

.trip-gear-bar,
.trip-guide,
.trip-highway-rule {
  margin-bottom: 8px;
  padding: 7px 9px;
  border-radius: 6px;
  background: var(--m8-soft);
  color: var(--m8-text);
  font-size: 11px;
}

.trip-highway-rule {
  background: #eef3f7;
}

.trip-poi-bar,
.ai-trip-overview {
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.trip-poi-tag {
  cursor: pointer;
}

.trip-poi-row-icon {
  width: 24px;
  text-align: center;
  font-size: 16px;
}

.trip-poi-row-main {
  flex: 1;
  min-width: 0;
}

.trip-poi-row-name {
  color: var(--m8-ink);
  font-size: 13px;
  font-weight: 700;
}

.trip-poi-row-meta {
  color: var(--m8-muted);
  font-size: 11px;
}

.trip-poi-row-call {
  font-size: 16px;
  text-decoration: none;
}

.tpt-station { background: #e3f2fd; color: var(--m8-info); }
.tpt-camp { background: var(--m8-soft); color: var(--m8-red); }
.tpt-scenic { background: #e8f5e9; color: var(--m8-success); }

.trip-stay {
  padding-top: 8px;
  border-top: 1px solid var(--m8-line);
  color: var(--m8-red);
  font-size: 12px;
  font-weight: 800;
}

.trip-amap-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  margin-bottom: 4px;
  font-size: 10px;
}

.trip-amap-title,
.trip-guide-title {
  margin-bottom: 5px;
  color: var(--m8-text);
  font-size: 11px;
  font-weight: 800;
}

.trip-amap-item {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--m8-bg);
  white-space: nowrap;
}

.ai-nav-summary {
  max-width: 400px;
  position: relative;
  z-index: 20001;
}

.ai-nav-via-note {
  margin-bottom: 6px;
  color: var(--m8-muted);
  font-size: 12px;
}

.ai-nav-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.ai-nav-top,
.ai-nav-bottom {
  position: fixed;
  right: 0;
  left: 0;
  z-index: 10002;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

.ai-nav-top {
  top: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .70), transparent);
}

.ai-nav-bottom {
  bottom: 0;
  padding: 20px 12px 28px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .80), transparent);
}

.ai-nav-map {
  position: fixed;
  inset: 0;
  z-index: 10000;
  height: 100dvh;
}

.ai-nav-close,
.ai-nav-sim-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
}

.ai-nav-close {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, .20);
  font-size: 16px;
}

.ai-nav-sim-toggle {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, .15);
  font-size: 13px;
  line-height: 1;
}

.ai-nav-title,
.ai-nav-route-label,
.ai-nav-next {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ai-nav-title {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
}

.ai-nav-speed {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 850;
}

.ai-nav-speed-unit {
  flex-shrink: 0;
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
}

.ai-nav-next {
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 700;
}

.ai-nav-metrics,
.ai-nav-eta-row {
  display: flex;
  align-items: baseline;
}

.ai-nav-metrics { gap: 8px; }
.ai-nav-eta-row { gap: 6px; margin-top: 1px; }

.ai-nav-distance {
  font-size: 24px;
  font-weight: 850;
}

.ai-nav-distance-unit,
.ai-nav-eta {
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
}

.ai-nav-dot {
  color: rgba(255, 255, 255, .30);
  font-size: 11px;
}

.ai-nav-remain {
  font-size: 15px;
  font-weight: 800;
}

.ai-nav-spacer {
  flex: 1;
}

.ai-nav-route-label {
  margin-top: 2px;
  color: rgba(255, 255, 255, .64);
  font-size: 11px;
}

.ai-nav-summary-header {
  padding: 20px 24px 8px;
  text-align: center;
  font-size: 18px;
  font-weight: 850;
}

.ai-nav-summary-body {
  padding: 8px 24px 24px;
}

.ai-nav-summary-stat {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--m8-line);
  font-size: 13px;
}

.ai-nav-summary-route {
  padding: 8px 0 12px;
  color: var(--m8-muted);
  text-align: center;
  font-size: 12px;
}

.ai-nav-summary-btn {
  width: 100%;
  height: 44px;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.footer {
  width: min(1040px, 100% - 32px);
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid var(--m8-line);
  color: var(--m8-muted);
  text-align: center;
  font-size: 11px;
  line-height: 1.8;
}

.footer a {
  color: var(--m8-muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--m8-red);
}

@media (min-width: 768px) {
  .ai-trip-modal {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: min(680px, 92vw);
    transform: translate(-50%, -46%) scale(.96);
    opacity: 0;
    transition: transform .22s ease, opacity .22s ease;
  }

  .ai-trip-modal.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .page,
  .footer {
    width: min(100% - 24px, 1040px);
  }

  .topbar {
    min-height: 64px;
  }

  .brand-mark {
    height: 42px;
  }

  .nav {
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    font-size: 12px;
  }

  .hero-compact {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .hero-inputs {
    grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr);
  }

  .hi-field,
  .hi-btn {
    height: 38px;
  }

  .route-grid,
  .dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-section {
    grid-template-columns: 1fr;
  }

  .map-content {
    min-height: 220px;
  }

  .sidebar {
    max-height: 230px;
  }

  .dd-grid,
  .bottom-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poi-section {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .nav {
    display: none;
  }

  .hero-inputs {
    grid-template-columns: 1fr 32px 1fr;
  }

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

  .poi-section {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rc-meta {
    gap: 4px 8px;
  }
}

/* Desktop-only unified shell and default-route workspace. */
@media (min-width: 1280px) {
  body {
    padding-top: 0;
  }

  .page,
  .footer {
    width: min(calc(100% - 96px), 1440px);
  }

  .topbar {
    min-height: 108px;
    margin-bottom: 18px;
  }

  .brand-mark {
    width: 220px;
    height: auto;
    max-width: 45vw;
  }

  .nav {
    gap: 8px 12px;
    color: #5f4630;
    font-size: 14px;
  }

  .hero-compact {
    width: 100%;
    grid-template-columns:minmax(132px, 172px) minmax(0, 1fr) minmax(176px, 216px);
    gap: 14px;
    margin-bottom: 22px;
    padding: 14px;
  }

  .ai-status,
  .ai-result {
    width: 100%;
  }

  #aiDefault {
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(380px, 420px);
    gap:18px 24px;
    align-items:start;
  }

  .map-init {
    grid-column:1;
    grid-row:1 / span 2;
    margin:0;
  }

  .map-init-content {
    height:clamp(540px, calc(100vh - 300px), 700px);
    min-height:540px;
  }

  .hero-slogan,
  #seasonDynamic {
    grid-column:2;
  }

  .hero-slogan {
    display:grid;
    grid-template-columns:auto 1fr;
    justify-content:stretch;
    align-items:center;
    gap:4px 10px;
    margin:0;
    padding:14px 16px;
    border-left:3px solid var(--m8-orange);
    text-align:left;
  }

  .hero-slogan .slogan-sub {
    grid-column:1 / -1;
    margin-left:0;
    line-height:1.5;
  }

  #seasonDynamic {
    min-width:0;
    max-height:clamp(447px, calc(100vh - 393px), 607px);
    overflow:auto;
    scrollbar-gutter:stable;
    padding:16px;
    border:1px solid var(--m8-line);
    border-radius:var(--radius);
    background:#fff;
    box-shadow:var(--shadow);
  }

  #seasonDynamic .section-title {
    margin:0 0 12px !important;
  }

  #seasonDynamic .season-picker {
    margin-bottom:12px;
  }

  #seasonDynamic .month-tag {
    flex:1 0 calc(16.666% - 6px);
  }

  .season-grid {
    grid-template-columns:1fr;
    gap:10px;
    margin-bottom:0;
  }

  .season-card {
    padding:12px 13px;
  }

  .season-pagination {
    margin-bottom:0;
    padding:8px 0 0;
  }

  .ai-samples {
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(132px, 1fr));
    gap:10px;
    margin:0;
    padding:14px 16px;
    border:1px solid var(--m8-line);
    border-radius:var(--radius);
    background:#fff;
    box-shadow:var(--shadow);
  }

  .ai-sample-tag {
    justify-content:center;
    min-height:34px;
    border-radius:7px;
  }

  .nav,
  .hero-badge,
  .hi-field input,
  .hi-btn,
  .ai-sample-tag,
  .section-title small,
  .sc-route,
  .sc-desc,
  .page-info,
  .page-btn,
  .month-tag,
  .sc-tag,
  .hero-slogan .slogan-sub,
  .map-init-label {
    font-size:13px;
  }

  .sc-name,
  .hero-slogan {
    font-size:15px;
  }

  .nav {
    font-size:14px;
  }
}

@media (min-width: 1800px) {
  #aiDefault {
    grid-template-columns:minmax(0, 1fr) minmax(400px, 440px);
  }

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