:root {
  --color-page-bg: #eef1f5;
  --color-surface: #ffffff;
  --color-bg: #f1f5f9;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-accent-soft: #e8f0fe;
  --gradient-primary: linear-gradient(135deg, #4f8ef7, #2563eb);
  --color-start: #10b981;
  --color-start-soft: #ecfdf5;
  --color-end: #ef4444;
  --color-end-soft: #fef2f2;
  --color-border: #e2e8f0;
  --color-card-border: rgba(15, 23, 42, 0.04);
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-danger: #dc2626;
  --color-danger-soft: #fef2f2;
  --color-warn-bg: #fffbeb;
  --color-warn-text: #b45309;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-card: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 6px 24px rgba(15, 23, 42, 0.06);
  --shadow-float: 0 4px 16px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-page-bg);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font-family: inherit;
  font-size: 14px;
}

.hidden {
  display: none !important;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* 手机感容器：375px 起步，桌面居中最大 480px，统一浅灰背景消除分裂感 */
.app-shell {
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  padding: var(--space-md);
  gap: var(--space-md);
  background: var(--color-page-bg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* 统一卡片基类：顶部搜索卡 / 底部已选面板 / 结果抽屉 */
.top-card,
.bottom-panel,
.result-drawer {
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-lg);
}

/* 顶部搜索卡 */
.top-card {
  z-index: 500;
  flex-shrink: 0;
  padding: var(--space-md) var(--space-lg);
}

.top-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: 44px;
}

.top-card-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
  min-width: 0;
}

.brand-title h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-icon-ghost {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 150ms ease, color 150ms ease, transform 120ms ease;
}

.btn-icon-ghost:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.btn-icon-ghost:active {
  transform: scale(0.95);
}

.btn-icon-ghost.muted {
  color: var(--color-text-muted);
}

/* 中 / EN 胶囊切换控件 */
.lang-pill {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  transition: background-color 150ms ease, border-color 150ms ease, transform 120ms ease;
}

.lang-pill:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

.lang-pill:active {
  transform: scale(0.96);
}

.lang-opt.active {
  color: var(--color-accent);
}

.lang-sep {
  opacity: 0.45;
}

.top-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  max-height: 48vh;
  overflow-y: auto;
  overflow-x: visible;
  padding-right: 2px;
}

.top-card.collapsed .top-card-body {
  display: none;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* 左侧 3px 圆角竖色条替代生硬纯文字标签 */
.field-label {
  position: relative;
  padding-left: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  width: 42px;
  flex-shrink: 0;
  line-height: 1.2;
}

.field-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.6);
}

.field-label.start-label::before {
  background: rgba(16, 185, 129, 0.8);
}

.field-label.end-label::before {
  background: rgba(239, 68, 68, 0.8);
}

.input-with-clear {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.btn-clear-input {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 150ms ease, color 150ms ease, transform 120ms ease;
}

.btn-clear-input:hover {
  border-color: var(--color-danger);
  color: var(--color-danger);
}

.btn-clear-input:active {
  transform: scale(0.95);
}

.text-input {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  outline: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.text-input:focus {
  border-color: var(--color-accent);
  background: var(--color-surface);
}

.autocomplete-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.suggestions-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 950;
  box-shadow: var(--shadow-float);
}

.suggestion-item {
  width: 100%;
  min-height: 60px;
  padding: 6px 10px;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  transition: background-color 150ms ease;
}

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

.suggestion-item:hover,
.suggestion-item:focus {
  background: var(--color-accent-soft);
  outline: none;
}

.suggestion-item:active {
  background: #dbeafe;
}

.suggestion-thumb-wrap {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e2e8f0;
  position: relative;
}

.suggestion-thumb-skeleton {
  width: 100%;
  height: 100%;
  background: #e2e8f0;
  animation: skeletonPulse 1.2s ease-in-out infinite;
}

@keyframes skeletonPulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.suggestion-thumb-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.suggestion-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.suggestion-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-sub {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-state {
  padding: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* 六大洲分组标签条（单行横向滚动） */
.continent-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-left: 50px;
  scrollbar-width: none;
}

.continent-tabs::-webkit-scrollbar {
  display: none;
}

.continent-tab {
  min-height: 44px;
  padding: 0 10px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 150ms ease, border-color 150ms ease;
}

.continent-tab:hover {
  color: var(--color-accent);
}

.continent-tab.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.start-actions {
  display: flex;
  gap: var(--space-sm);
  padding-left: 50px;
}

.btn-secondary {
  flex: 1;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color 150ms ease, border-color 150ms ease, transform 120ms ease;
}

.btn-secondary:hover {
  background: var(--color-bg);
}

.btn-secondary:active {
  transform: scale(0.97);
}

.btn-secondary.active {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.inline-notice {
  margin-left: 50px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.4;
  background: var(--color-warn-bg);
  color: var(--color-warn-text);
  border: 1px solid #fde68a;
}

.inline-notice.success {
  background: var(--color-start-soft);
  color: #047857;
  border-color: #a7f3d0;
}

.inline-notice.end-hint {
  background: var(--color-end-soft);
  color: #b91c1c;
  border-color: #fecaca;
}

.quick-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-left: 50px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.quick-chips::-webkit-scrollbar {
  display: none;
}

.hot-spots-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 50px;
  min-height: 44px;
}

.hot-spots-title {
  font-size: 12px;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.hot-spots-empty {
  font-size: 12px;
  color: var(--color-text-muted);
}

.hot-spots-wrap .quick-chips {
  padding-left: 0;
  flex: 1;
}

/* 城市/热门 chip 细化：默认浅灰 #f1f5f9，选中态浅蓝 #e8f0fe + 1.5px 蓝描边 + 蓝字 */
.quick-chip {
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  background: #f1f5f9;
  color: var(--color-text);
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 120ms ease;
}

.quick-chip:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.quick-chip:active {
  transform: scale(0.96);
}

.quick-chip.active {
  background: #e8f0fe;
  border-color: var(--color-accent);
  color: var(--color-accent);
  font-weight: 600;
}

.quick-chip.added {
  background: #e8f0fe;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* 地图容器：圆角 16px，上下留白 12px（由 app-shell gap 提供） */
.map-section {
  flex: 1;
  min-height: 180px;
  position: relative;
  background: #e2e8f0;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.map-canvas {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.map-canvas.picking-cursor {
  cursor: crosshair;
}

/* Three.js 3D 地标透明叠加层（z-index 450，事件完全穿透） */
.landmark-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 450;
}

/* 地图右上角 3D 开关悬浮容器与低端设备标注 */
.map-float-3d-wrap {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 560;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-float-note {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 500;
  box-shadow: var(--shadow-float);
  white-space: nowrap;
  pointer-events: none;
}

.map-float-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-text-muted);
  box-shadow: var(--shadow-float);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 120ms ease;
}

.map-float-btn:hover {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.map-float-btn:active {
  transform: scale(0.95);
}

.map-float-btn.active {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.map-float-label {
  line-height: 1;
}

/* 地图点击 300ms 扩散涟漪 */
.map-click-ripple {
  position: absolute;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  margin-top: -12px;
  border-radius: 50%;
  border: 2.5px solid var(--color-accent);
  background: rgba(37, 99, 235, 0.22);
  pointer-events: none;
  z-index: 620;
  animation: mapRipple 300ms ease-out forwards;
}

@keyframes mapRipple {
  0% {
    transform: scale(0.4);
    opacity: 0.95;
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

.map-overlay-banner {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  z-index: 600;
  background: var(--color-text);
  color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.btn-ghost-sm {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
}

.global-banner {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 650;
  background: var(--color-danger-soft);
  color: var(--color-danger);
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.global-banner.info {
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border-color: #bfdbfe;
}

.global-banner-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.btn-banner {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid currentColor;
  border-radius: var(--radius-sm);
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 13px;
}

.map-loading {
  position: absolute;
  inset: 0;
  z-index: 700;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text);
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 750ms linear infinite;
}

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

/* 规划前底部面板 */
.bottom-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  flex-shrink: 0;
  z-index: 450;
}

.panel-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
}

.panel-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.panel-title {
  font-size: 15px;
  font-weight: 600;
}

.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 600;
}

.btn-text-danger {
  min-height: 44px;
  padding: 0 8px;
  border: none;
  background: transparent;
  color: var(--color-danger);
  font-size: 13px;
  cursor: pointer;
}

.spot-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  max-height: 112px;
  overflow-y: auto;
  align-items: center;
}

.empty-state-box {
  width: 100%;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.empty-state-icon {
  width: 26px;
  height: 26px;
  color: rgba(37, 99, 235, 0.55);
}

.empty-hint {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

.empty-plan-tip {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 景点 chip：白底浅灰描边，删除 × 悬停变红，150ms 淡入缩放 */
.spot-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  min-height: 44px;
  padding: 0 4px 0 12px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text);
  animation: chipEnter 150ms ease-out;
  transition: opacity 150ms ease, transform 150ms ease;
}

.spot-chip.removing {
  opacity: 0;
  transform: scale(0.85);
}

@keyframes chipEnter {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.spot-chip-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 210px;
}

.spot-chip-remove {
  min-width: 44px;
  min-height: 44px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 150ms ease, background-color 150ms ease;
}

.spot-chip-remove:hover {
  color: var(--color-danger);
  background: var(--color-danger-soft);
}

/* 渐变主按钮：hover 亮度 +4%，active 缩放 0.97 */
.btn-primary {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: filter 150ms ease, transform 120ms ease, opacity 150ms ease;
}

.btn-primary:hover:not(:disabled) {
  filter: brightness(1.04);
}

.btn-primary:active:not(:disabled) {
  transform: scale(0.97);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-ghost {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms ease, transform 120ms ease;
}

.btn-ghost:hover {
  background: var(--color-bg);
}

.btn-ghost:active {
  transform: scale(0.97);
}

/* 规划后底部抽屉 */
.result-drawer {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 48%;
  max-height: 66%;
  min-height: 220px;
  z-index: 550;
  flex-shrink: 0;
  overflow: hidden;
  animation: drawerSlideUp 200ms ease-out;
  transition: height 200ms ease-out;
}

.result-drawer.expanded {
  height: 64%;
}

.result-drawer.compact {
  height: 176px;
  min-height: 176px;
}

@keyframes drawerSlideUp {
  from {
    transform: translateY(18px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.drawer-top-bar {
  padding: 2px var(--space-lg) 8px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.drawer-handle-btn {
  width: 100%;
  min-height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.drawer-handle-bar {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: #cbd5e1;
}

.drawer-header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.mode-switch {
  display: inline-flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-bg);
}

.mode-btn {
  min-height: 44px;
  padding: 0 10px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease;
}

.mode-btn.active {
  background: var(--color-accent);
  color: #ffffff;
}

.drawer-right-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.summary-card {
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.summary-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.metric-label {
  font-size: 11px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.metric-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary-meta-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.summary-meta-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-share-trip {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(37, 99, 235, 0.28);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease, transform 120ms ease;
}

.btn-share-trip:hover {
  background: var(--color-accent-soft);
}

.btn-share-trip:active {
  transform: scale(0.96);
}

.btn-share-trip .icon {
  width: 14px;
  height: 14px;
}

.summary-sequence {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.estimate-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--color-warn-bg);
  color: var(--color-warn-text);
  border: 1px solid #fde68a;
  flex-shrink: 0;
}

.route-list-wrap {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-sm) var(--space-lg) var(--space-lg);
}

.drag-tip {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--color-text-muted);
}

/* 时间轴每日日期与天气标题栏 */
.timeline-day-header {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-day-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.timeline-day-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.timeline-day-weather {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.weather-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--color-text);
  white-space: nowrap;
}

.weather-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.weather-icon.weather-sunny { color: #f59e0b; }
.weather-icon.weather-cloudy { color: #64748b; }
.weather-icon.weather-rain { color: #2563eb; }
.weather-icon.weather-storm { color: #7c3aed; }
.weather-icon.weather-snow { color: #0ea5e9; }

.weather-unavailable {
  font-size: 12px;
  color: var(--color-text-muted);
}

.timeline-rain-advisory {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.weather-advisory-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.route-stop-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.route-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.route-item:active {
  background: #f1f5f9;
}

.route-item.is-start {
  background: var(--color-start-soft);
  border-color: #a7f3d0;
}

.route-item.is-end {
  background: var(--color-end-soft);
  border-color: #fecaca;
}

.route-item.dragging {
  opacity: 0.5;
  border-style: dashed;
  border-color: var(--color-accent);
}

.route-item.drag-over {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

.route-item-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drag-handle {
  color: var(--color-text-muted);
  cursor: grab;
  display: inline-flex;
  align-items: center;
  padding: 4px 2px;
  flex-shrink: 0;
}

.stop-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stop-badge.start {
  background: var(--color-start);
}

.stop-badge.end {
  background: var(--color-end);
}

.stop-info {
  flex: 1;
  min-width: 0;
}

.stop-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stop-leg-meta {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.route-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px solid #f1f5f9;
}

.order-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-icon {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: border-color 150ms ease, color 150ms ease, transform 120ms ease;
}

.btn-icon:hover:not(:disabled) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-icon:active:not(:disabled) {
  transform: scale(0.94);
}

.btn-icon:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-icon.danger:hover:not(:disabled) {
  border-color: var(--color-danger);
  color: var(--color-danger);
}

.btn-nav-link {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: background-color 150ms ease, color 150ms ease;
}

.btn-nav-link:hover {
  background: var(--color-accent);
  color: #ffffff;
}

/* 自定义 Leaflet 标点：悬停放大 1.15 + 选中脉冲一圈 */
.custom-marker-icon {
  background: transparent;
  border: none;
}

.marker-pin {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  --fan-x: 0px;
  --fan-y: 0px;
  transform: translate(var(--fan-x), var(--fan-y));
  transition: transform 180ms ease, box-shadow 150ms ease;
}

.marker-pin:hover {
  transform: translate(var(--fan-x), var(--fan-y)) scale(1.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
}

.marker-pin.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2.5px solid currentColor;
  animation: markerPulse 200ms ease-out forwards;
  pointer-events: none;
}

@keyframes markerPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

.marker-pin.start {
  background: var(--color-start);
  color: #ffffff;
}

.marker-pin.end {
  background: var(--color-end);
  color: #ffffff;
}

.marker-pin.spot {
  background: var(--color-accent);
  color: #ffffff;
}

/* Leaflet 控件微调 */
.leaflet-control-attribution {
  font-size: 10px !important;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 首次访问演示行程顶部引导条 */
.demo-banner {
  margin: var(--space-sm) var(--space-sm) 0;
  padding: 6px 10px 6px 12px;
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  border: 1px solid #bfdbfe;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  z-index: 520;
}

.demo-banner-text {
  flex: 1;
  min-width: 0;
}

.demo-banner-close {
  min-width: 36px;
  min-height: 36px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-accent);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.demo-banner-close:hover {
  background: rgba(37, 99, 235, 0.12);
}

/* ==================== 预约/购票提醒组件 ==================== */
.booking-badge,
.booking-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 1;
}

.booking-badge.reserve,
.booking-badge-link.reserve {
  background: #ef4444;
}

.booking-badge.ticket,
.booking-badge-link.ticket {
  background: #f59e0b;
}

.booking-badge-link {
  min-width: 44px;
  min-height: 44px;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent !important;
}

.booking-badge-link .booking-badge-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  transition: transform 140ms ease, filter 140ms ease;
}

.booking-badge-link.reserve .booking-badge-dot {
  background: #ef4444;
}

.booking-badge-link.ticket .booking-badge-dot {
  background: #f59e0b;
}

.booking-badge-link:hover .booking-badge-dot {
  transform: scale(1.1);
  filter: brightness(1.06);
}

.booking-snackbar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 980;
  background: var(--color-surface);
  border: 1px solid #fecaca;
  border-radius: var(--radius-card);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: snackbarIn 180ms ease-out;
}

.booking-snackbar.is-ticket {
  border-color: #fde68a;
}

@keyframes snackbarIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.booking-snackbar-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-snackbar-title {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-snackbar-close {
  min-width: 44px;
  min-height: 44px;
  margin: -8px -8px -8px 0;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.booking-snackbar-close:hover {
  color: var(--color-text);
  background: var(--color-bg);
}

.booking-snackbar-note {
  margin: 0;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.booking-snackbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-booking-action {
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: #ffffff;
  transition: filter 150ms ease, transform 120ms ease;
}

.btn-booking-action:hover {
  filter: brightness(1.05);
}

.btn-booking-action:active {
  transform: scale(0.97);
}

.btn-booking-action.secondary {
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.reserve-notice-row {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.city-suggestion-item {
  min-height: 48px;
  padding: 8px 12px;
}

/* ==================== 首次启动地区选择页 ==================== */
.region-gate {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: var(--color-page-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.region-gate-card {
  width: 100%;
  max-width: 360px;
  background: var(--color-surface);
  border: 1px solid var(--color-card-border);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.region-gate-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-lg {
  width: 28px;
  height: 28px;
}

.icon-md {
  width: 24px;
  height: 24px;
}

.region-gate-title {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
}

.region-gate-sub {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.region-options {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.region-card {
  width: 100%;
  min-height: 68px;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 150ms ease, background-color 150ms ease, transform 120ms ease;
}

.region-card:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

.region-card:active {
  transform: scale(0.98);
}

.region-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

.region-card-desc {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ==================== 自定义动画确认弹窗 ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(15, 23, 42, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 180ms ease;
}

.modal-backdrop.open {
  opacity: 1;
}

.modal-backdrop.closing {
  opacity: 0;
  transition: opacity 160ms ease;
}

.modal-card {
  width: 100%;
  max-width: 340px;
  background: var(--color-surface);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-backdrop.closing .modal-card {
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 160ms ease, opacity 160ms ease;
}

.modal-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fef3c7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon-wrap.danger {
  background: #fee2e2;
  color: #ef4444;
}

.modal-icon-wrap.info {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
}

.modal-desc {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.modal-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-region-pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  background: var(--color-bg);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.modal-region-pill.active {
  background: var(--color-accent-soft);
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.modal-actions {
  width: 100%;
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.modal-btn {
  flex: 1;
  min-height: 44px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 150ms ease, background-color 150ms ease, transform 120ms ease;
}

.modal-btn:active {
  transform: scale(0.97);
}

.modal-btn-cancel {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
}

.modal-btn-cancel:hover {
  background: var(--color-bg);
}

.modal-btn-ok {
  border: none;
  background: var(--gradient-primary);
  color: #ffffff;
}

.modal-btn-ok:hover {
  filter: brightness(1.05);
}

.modal-btn-ok.danger {
  background: #ef4444;
}

@media (prefers-reduced-motion: reduce) {
  .modal-card,
  .modal-backdrop.open .modal-card,
  .modal-backdrop.closing .modal-card {
    transform: none !important;
    transition: opacity 160ms ease !important;
  }
}

/* ==================== 行程时间轴与多天标签 ==================== */
.depart-inputs {
  display: flex;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.depart-date-input {
  flex: 1.35;
  min-width: 0;
  padding: 6px 8px;
  font-size: 13px;
}

.depart-time-input {
  flex: 0.9;
  min-width: 0;
  padding: 6px 8px;
  font-size: 13px;
}

.day-tabs {
  display: flex;
  gap: 6px;
  padding: 8px var(--space-lg);
  overflow-x: auto;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  flex-shrink: 0;
  scrollbar-width: none;
}

.day-tabs::-webkit-scrollbar {
  display: none;
}

.day-tab {
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.day-tab.active {
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.day-tab-date {
  font-weight: 400;
  opacity: 0.78;
}

.closed-spots-alert {
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 12px;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.closed-spots-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.closed-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
}

.timeline-leg-pill {
  margin-left: 16px;
  padding: 4px 10px;
  border-left: 2px dashed #cbd5e1;
  font-size: 12px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.timeline-time-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 3px;
  font-size: 12px;
  color: var(--color-accent);
  font-weight: 600;
}

.timeline-wait-tag {
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: var(--color-warn-bg);
  color: var(--color-warn-text);
  border: 1px solid #fde68a;
  font-size: 11px;
  font-weight: 500;
}

.timeline-hours-tag {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.dwell-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px solid #f1f5f9;
}

.dwell-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.btn-dwell {
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease;
}

.btn-dwell:hover:not(:disabled) {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.btn-dwell:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.dwell-val {
  min-width: 54px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

.suggest-walk-badge {
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: var(--color-start-soft);
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 11px;
  font-weight: 600;
}

.approx-time-footer {
  margin: 12px 0 4px;
  text-align: center;
  font-size: 11px;
  color: var(--color-text-muted);
}

.app-version-footer {
  flex-shrink: 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
  padding: 2px 0 4px;
  color: var(--color-text-muted);
  opacity: 0.72;
  user-select: none;
}



