/* iOS 原生设计规范与 VisionOS 豪华视觉系统 */
:root {
  --ios-blue: #0A84FF;
  --ios-blue-light: rgba(10, 132, 255, 0.18);
  --ios-green: #30D158;
  --ios-orange: #FF9F0A;
  --ios-gold: #FFD166;
  --ios-red: #FF453A;
  --ios-purple: #BF5AF2;
  --ios-rose: #FF375F;
  --ios-teal: #64D2FF;

  --bg-primary: #080C14;
  --bg-card: rgba(22, 28, 40, 0.76);
  --bg-subtle: rgba(255, 255, 255, 0.07);
  --text-primary: #FFFFFF;
  --text-secondary: #9BA3AF;
  --text-tertiary: #525965;
  --separator: rgba(255, 255, 255, 0.12);
  --glass-bg: rgba(12, 16, 25, 0.85);
  --card-border: rgba(255, 255, 255, 0.14);

  --safe-top: env(safe-area-inset-top, 20px);
  --safe-bottom: env(safe-area-inset-bottom, 20px);
  --tab-bar-height: 64px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(at 0% 0%, rgba(255, 120, 80, 0.22) 0px, transparent 45%),
    radial-gradient(at 100% 0%, rgba(10, 132, 255, 0.26) 0px, transparent 50%),
    radial-gradient(at 50% 30%, rgba(191, 90, 242, 0.12) 0px, transparent 60%),
    radial-gradient(at 80% 80%, rgba(100, 210, 255, 0.14) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tab-bar-height) + var(--safe-bottom) + 38px);
}

/* 顶部 iOS 原生磨砂导航头 */
.ios-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 0.5px solid var(--separator);
  padding-top: var(--safe-top);
  padding-left: 14px;
  padding-right: 14px;
  padding-bottom: 10px;
  box-sizing: border-box;
}

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

.header-title-box {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.header-trip-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-trip-sub {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-subtitle-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
}

.sync-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.sync-badge.online {
  background: rgba(52, 199, 89, 0.15);
  color: #34C759;
}

.sync-badge.offline {
  background: rgba(142, 142, 147, 0.15);
  color: #8E8E93;
}

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

.couple-exclusive-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.16), rgba(175, 82, 222, 0.18));
  border: 1px solid rgba(255, 45, 85, 0.38);
  color: #FF2D55;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(255, 45, 85, 0.16);
  white-space: nowrap;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
}

.couple-exclusive-badge:active {
  transform: scale(0.92);
}

@media (prefers-color-scheme: dark) {
  .couple-exclusive-badge {
    background: linear-gradient(135deg, rgba(255, 55, 95, 0.25), rgba(191, 90, 242, 0.28));
    border-color: rgba(255, 55, 95, 0.5);
    color: #FF6482;
  }
}

@media (max-width: 390px) {
  .couple-exclusive-badge {
    font-size: 11px;
    padding: 4px 8px;
  }
  .header-trip-title {
    font-size: 14px;
  }
}

.btn-header-action {
  background: rgba(0, 122, 255, 0.1);
  color: var(--ios-blue);
  border: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-header-action.btn-icon-only {
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 15px;
  border-radius: 50%;
}

.btn-header-action.btn-import-highlight {
  background: rgba(52, 199, 89, 0.15);
  color: var(--ios-green);
  font-weight: 700;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 12px;
}

.btn-header-action:active {
  transform: scale(0.94);
}

/* 添加到主屏幕 PWA 引导卡片 */
.pwa-install-banner {
  background: linear-gradient(135deg, #007AFF 0%, #0056B3 100%);
  color: #FFFFFF;
  margin: 12px 16px 4px 16px;
  padding: 12px 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.25);
  animation: slideDown 0.3s ease;
}

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

.pwa-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pwa-icon {
  font-size: 24px;
}

.pwa-text-title {
  font-size: 14px;
  font-weight: 700;
}

.pwa-text-desc {
  font-size: 11.5px;
  opacity: 0.9;
}

.btn-close-banner {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #FFF;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
}

/* 背景动态柔光光晕 (Ambient Seaside Glow) */
.ambient-glow-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  height: 280px;
  background: radial-gradient(circle at 50% -20%, rgba(255, 120, 150, 0.22) 0%, rgba(10, 132, 255, 0.16) 50%, transparent 80%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

/* 浪漫情侣情报胶囊 (Romantic Couple Atmosphere Capsule) */
.romantic-hero-capsule {
  position: relative;
  z-index: 1;
  margin: 12px 16px 8px 16px;
  background: linear-gradient(135deg, rgba(35, 26, 42, 0.88) 0%, rgba(18, 25, 42, 0.9) 100%);
  border: 1px solid rgba(255, 215, 102, 0.35);
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  border-radius: 24px;
  padding: 16px 18px;
  box-shadow: 0 16px 40px -6px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.romantic-capsule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

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

.capsule-icon {
  font-size: 18px;
}

.capsule-text {
  font-size: 13px;
  color: #FFFFFF;
  font-weight: 700;
}

.capsule-badge {
  font-size: 11px;
  font-weight: 700;
  background: linear-gradient(135deg, #FF2D55 0%, #FF647C 100%);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 12px rgba(255, 45, 85, 0.4);
  display: flex;
  align-items: center;
  gap: 4px;
}

.romantic-capsule-sub {
  display: flex;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-secondary);
  gap: 6px;
  font-weight: 500;
}

.dot-sep {
  opacity: 0.4;
}

/* 实时起飞动态倒计时胶囊 */
.hero-countdown-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 0.5px solid var(--separator);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-secondary);
}

.hero-countdown-row .cd-title {
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.2px;
}

.hero-countdown-row .cd-pill {
  background: rgba(10, 132, 255, 0.15);
  border: 1px solid rgba(10, 132, 255, 0.35);
  color: #64D2FF;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.hero-countdown-row .cd-pill .cd-val {
  font-family: -apple-system, "SF Pro Rounded", monospace;
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
}

.hero-countdown-row .cd-pill.sec {
  background: rgba(255, 45, 85, 0.2);
  border-color: rgba(255, 45, 85, 0.45);
  color: #FF647C;
  animation: pulseSec 1s infinite ease-in-out;
}

@keyframes pulseSec {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hero-countdown-row .cd-highlight {
  color: var(--ios-green);
  font-weight: 700;
  font-size: 12.5px;
}

/* 📸 威海封神出片机位·横滑灵感画廊 (Romantic Highlights Gallery) */
.romantic-gallery-section {
  margin: 10px 16px 8px 16px;
}

.gallery-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 4px;
}

.gallery-title {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.2px;
}

.gallery-subtitle {
  font-size: 11px;
  font-weight: 700;
  color: var(--ios-teal);
  opacity: 0.95;
}

.romantic-gallery-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 8px 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.romantic-gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-chip {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 10px 14px;
  min-width: 122px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.gallery-chip:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--ios-blue);
}

.gc-icon {
  font-size: 20px;
  line-height: 1;
  margin-bottom: 4px;
}

.gc-name {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
}

.gc-desc {
  font-size: 10.5px;
  color: var(--ios-gold);
  font-weight: 600;
  white-space: nowrap;
}

/* 极速赶机预警卡片 (Apple Wallet 黑金风格) */
.flight-rush-container {
  margin: 10px 16px 8px 16px;
}

.rush-card {
  background: linear-gradient(135deg, rgba(32, 24, 16, 0.95) 0%, rgba(20, 16, 12, 0.95) 100%);
  border: 1px solid rgba(255, 159, 10, 0.45);
  border-radius: 20px;
  color: #FFFFFF;
  padding: 14px 18px;
  box-shadow: 0 10px 30px rgba(255, 159, 10, 0.15);
}

.rush-tab-switch {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px;
  border-radius: 12px;
  margin-bottom: 12px;
  gap: 4px;
}

.rush-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.rush-tab-btn.active {
  background: rgba(255, 159, 10, 0.35);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.rush-header {
  cursor: pointer;
}

.rush-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.rush-badge {
  background: rgba(255, 255, 255, 0.25);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  letter-spacing: 0.2px;
}

.rush-deadline {
  font-size: 13px;
  font-weight: 600;
}

.rush-desc {
  font-size: 13px;
  margin-top: 4px;
  opacity: 0.95;
  line-height: 1.4;
}

.rush-toggle-arrow {
  display: inline-block;
  font-size: 11px;
  margin-top: 8px;
  background: rgba(0, 0, 0, 0.15);
  padding: 3px 8px;
  border-radius: 12px;
}

.rush-detail-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin-top 0.35s ease;
}

.rush-detail-body.open {
  max-height: 400px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.3);
}

.rush-step-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
}

.rush-step-item.critical {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 10px;
  border-radius: 10px;
}

.step-time {
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.3);
  padding: 2px 6px;
  border-radius: 6px;
  white-space: nowrap;
}

.step-title {
  font-size: 13px;
  font-weight: 700;
}

.step-desc {
  font-size: 11.5px;
  opacity: 0.9;
  margin-top: 2px;
}

/* 主内容容器 */
.app-content {
  padding: 12px 16px;
  max-width: 600px;
  margin: 0 auto;
}

.tab-content-panel {
  display: none;
}

.tab-content-panel.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

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

/* iOS 分段控制器 Segmented Control (Day 1, 2, 3) */
.ios-segmented-control {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: 16px;
  margin-bottom: 16px;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.segment-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 4px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--text-secondary);
}

.segment-btn.active {
  background: linear-gradient(135deg, #0A84FF 0%, #0066CC 100%);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(10, 132, 255, 0.45);
  transform: scale(1.02);
}

.segment-day {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.segment-date {
  font-size: 10px;
  margin-top: 2px;
  opacity: 0.9;
}

/* 当日主题卡片与打卡进度 */
.day-hero-card {
  background: rgba(22, 28, 40, 0.78);
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.day-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.day-theme-title {
  font-size: 15.5px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.2px;
}

.day-progress-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: #64D2FF;
  background: rgba(10, 132, 255, 0.2);
  border: 0.5px solid rgba(10, 132, 255, 0.35);
  padding: 3px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.day-progress-track {
  width: 100%;
  height: 6px;
  background: var(--bg-subtle);
  border-radius: 3px;
  overflow: hidden;
}

.day-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #007AFF 0%, #34C759 100%);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* 时间线列表 */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 12px;
  position: relative;
}

.timeline-time-col {
  width: 68px;
  flex-shrink: 0;
  text-align: right;
  padding-top: 4px;
}

.act-time {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.act-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
  margin-top: 4px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

.tag-打卡 { background: rgba(0, 122, 255, 0.1); color: var(--ios-blue); }
.tag-精华打卡 { background: rgba(255, 149, 0, 0.15); color: var(--ios-orange); }
.tag-震撼打卡 { background: rgba(255, 45, 85, 0.15); color: #FF2D55; }
.tag-日落绝景 { background: rgba(255, 149, 0, 0.15); color: var(--ios-orange); }
.tag-夜生活 { background: rgba(175, 82, 222, 0.15); color: var(--ios-purple); }
.tag-美食 { background: rgba(52, 199, 89, 0.15); color: var(--ios-green); }
.tag-交通 { background: rgba(88, 86, 214, 0.15); color: var(--ios-indigo); }
.tag-租车 { background: rgba(255, 149, 0, 0.15); color: var(--ios-orange); }
.tag-飞行 { background: rgba(0, 122, 255, 0.15); color: var(--ios-blue); }

.timeline-content-card {
  flex: 1;
  background: rgba(22, 28, 40, 0.78);
  border-radius: 18px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.2s ease;
}

.timeline-item.completed .timeline-content-card {
  opacity: 0.55;
  background: rgba(15, 20, 30, 0.6);
}

.timeline-item.has-warning .timeline-content-card {
  border-left: 4px solid var(--ios-orange);
}

.timeline-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.act-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.btn-checkin {
  background: var(--bg-subtle);
  border: 0.5px solid var(--separator);
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-checkin:active {
  transform: scale(0.94);
}

.timeline-item.completed .btn-checkin {
  background: rgba(52, 199, 89, 0.15);
  color: var(--ios-green);
  border-color: rgba(52, 199, 89, 0.3);
}

.act-location-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  color: var(--ios-blue);
  margin-bottom: 6px;
}

.act-loc-name {
  font-weight: 600;
}

.btn-open-nav {
  background: rgba(0, 122, 255, 0.1);
  border: none;
  color: var(--ios-blue);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 6px;
}

.btn-open-nav:active {
  background: rgba(0, 122, 255, 0.2);
}

.act-notes {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.45;
}

.act-extra-tip {
  margin-top: 6px;
  padding: 6px 10px;
  background: var(--bg-subtle);
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--text-secondary);
}

/* 专属女友绝美机位 & 男友拍照秘籍卡片 */
.photo-guide-card {
  margin-top: 10px;
  background: linear-gradient(135deg, rgba(175, 82, 222, 0.06) 0%, rgba(255, 45, 85, 0.06) 100%);
  border: 0.5px solid rgba(175, 82, 222, 0.25);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.photo-guide-header {
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background: rgba(175, 82, 222, 0.05);
}

.photo-guide-header:active {
  background: rgba(175, 82, 222, 0.12);
}

.pg-badge {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ios-purple);
  display: flex;
  align-items: center;
  gap: 4px;
}

.pg-arrow {
  font-size: 11px;
  color: var(--ios-purple);
  opacity: 0.85;
  font-weight: 600;
}

.photo-guide-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.32, 0.72, 0, 1), padding 0.3s ease;
  padding: 0 12px;
}

.photo-guide-body.open {
  max-height: 450px;
  padding: 8px 12px 12px 12px;
  border-top: 0.5px dashed rgba(175, 82, 222, 0.2);
}

.pg-item {
  display: flex;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 6px;
  color: var(--text-primary);
}

.pg-tag {
  font-weight: 700;
  color: var(--ios-purple);
  white-space: nowrap;
  flex-shrink: 0;
}

.pg-desc {
  flex: 1;
  color: var(--text-primary);
}

.pg-item.pg-sweet {
  background: rgba(255, 45, 85, 0.08);
  padding: 6px 10px;
  border-radius: 8px;
  margin-top: 8px;
}

.pg-item.pg-sweet .pg-tag {
  color: #FF2D55;
}

.pg-item.pg-sweet .pg-desc {
  color: #D61540;
  font-weight: 600;
}

/* 打卡微动效与已打卡状态 */
.btn-checkin.checked {
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.15) 0%, rgba(255, 100, 124, 0.15) 100%);
  color: #FF2D55;
  border-color: rgba(255, 45, 85, 0.35);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 45, 85, 0.2);
}

/* 浪漫心形粒子 (Heart Confetti Particles) */
.floating-heart-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 20px;
  animation: floatHeart 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes floatHeart {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.6);
  }
  60% {
    transform: translate(var(--dx), calc(var(--dy) * 0.7)) scale(1.3);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.9);
  }
}

/* 航空登机牌 UI 卡片 (Air Boarding Pass) */
.flight-boarding-card {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 18px 20px;
  margin-bottom: 16px;
  border: 0.5px solid var(--separator);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.flight-boarding-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007AFF, #30B0C7);
}

.flight-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.airline-badge {
  font-size: 12px;
  font-weight: 700;
  background: rgba(0, 122, 255, 0.1);
  color: var(--ios-blue);
  padding: 2px 8px;
  border-radius: 6px;
}

.flight-no {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.flight-status-pill {
  font-size: 11px;
  font-weight: 600;
  background: rgba(52, 199, 89, 0.15);
  color: var(--ios-green);
  padding: 2px 7px;
  border-radius: 6px;
  margin-left: auto;
}

.flight-dir-tag {
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: 6px;
}

.flight-route-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 16px 0;
}

.airport-side {
  width: 38%;
}

.airport-side.right {
  text-align: right;
}

.airport-time {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.airport-city {
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.airport-name {
  font-size: 11px;
  color: var(--text-secondary);
}

.flight-arrow-mid {
  flex: 1;
  text-align: center;
}

.flight-duration {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.flight-line {
  position: relative;
  height: 1px;
  background: var(--separator);
  margin: 0 8px;
}

.flight-plane-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-card);
  padding: 0 4px;
  font-size: 12px;
  color: var(--ios-blue);
}

.flight-route-date {
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* 航空登机牌半圆切口与撕票虚线 */
.flight-perforated-divider {
  position: relative;
  margin: 12px -20px;
  height: 20px;
  display: flex;
  align-items: center;
}

.ticket-notch {
  position: absolute;
  width: 18px;
  height: 18px;
  background-color: var(--bg-primary);
  border-radius: 50%;
  top: 1px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
}

.ticket-notch.notch-left {
  left: -9px;
}

.ticket-notch.notch-right {
  right: -9px;
}

.ticket-dashed-line {
  width: 100%;
  margin: 0 16px;
  border-bottom: 1.5px dashed var(--separator);
}

.flight-card-footer {
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flight-tip-item {
  font-size: 12px;
}

.flight-tip-item .lbl {
  color: var(--text-secondary);
}

.flight-tip-item .val {
  color: var(--text-primary);
  font-weight: 500;
}

.flight-barcode-sim {
  margin-top: 12px;
  padding-top: 8px;
  text-align: center;
  border-top: 0.5px solid var(--separator);
}

.barcode-lines {
  height: 28px;
  background: repeating-linear-gradient(90deg,
    var(--text-primary) 0, var(--text-primary) 2px,
    transparent 2px, transparent 4px,
    var(--text-primary) 4px, var(--text-primary) 7px,
    transparent 7px, transparent 9px,
    var(--text-primary) 9px, var(--text-primary) 12px,
    transparent 12px, transparent 15px,
    var(--text-primary) 15px, var(--text-primary) 16px,
    transparent 16px, transparent 19px,
    var(--text-primary) 19px, var(--text-primary) 22px
  );
  opacity: 0.5;
  border-radius: 2px;
}

.barcode-no {
  font-size: 9px;
  font-family: -apple-system, monospace;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-top: 4px;
}

/* 交通/住宿指南通用卡片 */
.info-guide-card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 14px;
  border: 0.5px solid var(--separator);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.info-guide-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.info-guide-icon {
  font-size: 20px;
}

.info-guide-title {
  font-size: 15px;
  font-weight: 700;
}

.info-guide-body {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-primary);
}

.hotel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.hotel-tag {
  font-size: 11px;
  background: rgba(52, 199, 89, 0.1);
  color: var(--ios-green);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.transit-tips-ul {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 打车资费对照表格 */
.taxi-fare-table {
  background: var(--bg-subtle);
  border-radius: 12px;
  overflow: hidden;
  font-size: 12px;
  margin-top: 8px;
}

.taxi-fare-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 0.5px solid var(--separator);
}

.taxi-fare-row:last-child {
  border-bottom: none;
}

.taxi-fare-row.header {
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.02);
}

.taxi-fare-row.total {
  font-weight: 700;
  color: var(--ios-blue);
  background: rgba(0, 122, 255, 0.08);
}

.taxi-fare-note {
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-top: 8px;
  padding: 0 4px;
}

/* 预算与随手记账样式 */
.budget-summary-card {
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.25);
  margin-bottom: 20px;
}

.budget-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.budget-sub-label {
  font-size: 12px;
  opacity: 0.85;
}

.budget-total-val {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-top: 2px;
}

.btn-add-expense {
  background: #FFFFFF;
  color: var(--ios-blue);
  border: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease;
}

.btn-add-expense:active {
  transform: scale(0.95);
}

.budget-divider {
  height: 0.5px;
  background: rgba(255, 255, 255, 0.25);
  margin: 16px 0;
}

.budget-card-footer {
  display: flex;
  justify-content: space-between;
}

.stat-col {
  display: flex;
  flex-direction: column;
}

.stat-lbl {
  font-size: 11px;
  opacity: 0.8;
}

.stat-val {
  font-size: 16px;
  font-weight: 700;
  margin-top: 2px;
}

.stat-val.actual-spent {
  color: #FFE600;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 0 4px;
}

.section-title-row h3 {
  font-size: 16px;
  font-weight: 700;
}

.badge-count {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.badge-hint {
  font-size: 11px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  padding: 2px 8px;
  border-radius: 8px;
}

.budget-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.budget-item-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0.5px solid var(--separator);
}

.budget-cat-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  margin-bottom: 4px;
  display: inline-block;
}

.budget-item-name {
  font-size: 14px;
  font-weight: 600;
}

.budget-item-note {
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.budget-item-cost {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

/* 随手记账记录行 */
.expenses-list-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.expense-record-row {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0.5px solid var(--separator);
}

.exp-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

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

.exp-title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exp-meta {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.exp-amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--ios-red);
}

.btn-del-exp {
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 14px;
  padding: 4px;
  cursor: pointer;
}

.empty-expense-hint {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 0.5px dashed var(--separator);
  color: var(--text-secondary);
  font-size: 12.5px;
}

.empty-icon {
  font-size: 28px;
  margin-bottom: 6px;
}

/* ==========================================================================
   ✈️ 春秋航空安检与干粮备餐指南专栏 (3 & 4 专栏)
   ========================================================================== */
.aviation-security-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 18px;
  border: 0.5px solid var(--separator);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-bottom: 24px;
}

.aviation-card-header {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--separator);
}

.aviation-tag {
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 122, 255, 0.12);
  color: var(--ios-blue);
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 6px;
}

.aviation-card-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.3px;
  margin: 0 0 4px 0;
}

.aviation-sub-badge {
  font-size: 12px;
  color: var(--text-secondary);
}

.aviation-section {
  background: var(--bg-subtle);
  border-radius: 14px;
  padding: 14px;
}

.sec-headline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.sec-icon {
  font-size: 18px;
}

.sec-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}

.carry-limit-pill {
  font-size: 10.5px;
  font-weight: 600;
  background: rgba(52, 199, 89, 0.12);
  color: var(--ios-green);
  padding: 2px 8px;
  border-radius: 10px;
}

.callout-alert {
  background: rgba(255, 149, 0, 0.08);
  border-left: 3.5px solid var(--ios-orange);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.prep-steps-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prep-step-item {
  display: flex;
  gap: 10px;
  background: var(--bg-card);
  padding: 10px 12px;
  border-radius: 10px;
  border: 0.5px solid var(--separator);
  align-items: flex-start;
}

.step-num {
  font-size: 11px;
  font-weight: 800;
  background: var(--ios-blue);
  color: #fff;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.step-content {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-primary);
}

.rules-comparison-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 640px) {
  .rules-comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.rules-column {
  background: var(--bg-card);
  border-radius: 12px;
  border: 0.5px solid var(--separator);
  overflow: hidden;
}

.rules-col-header {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rules-col-header.red-header {
  background: rgba(255, 59, 48, 0.1);
  color: var(--ios-red);
  border-bottom: 0.5px solid rgba(255, 59, 48, 0.2);
}

.rules-col-header.green-header {
  background: rgba(52, 199, 89, 0.1);
  color: var(--ios-green);
  border-bottom: 0.5px solid rgba(52, 199, 89, 0.2);
}

.rules-list {
  list-style: none;
  margin: 0;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rules-list li {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-primary);
  position: relative;
  padding-left: 16px;
}

.prohibited-col .rules-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--ios-red);
  font-weight: bold;
}

.allowed-col .rules-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ios-green);
  font-weight: bold;
}

/* 关键避坑提醒卡片 */
.tips-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tip-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 14px 16px;
  border: 0.5px solid var(--separator);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.tip-card.level-critical {
  border-left: 4px solid var(--ios-red);
}

.tip-card.level-warning {
  border-left: 4px solid var(--ios-orange);
}

.tip-card.level-important {
  border-left: 4px solid var(--ios-blue);
}

.tip-card.level-tip {
  border-left: 4px solid var(--ios-green);
}

.tip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.tip-badge {
  font-size: 11px;
  font-weight: 700;
}

.tip-title {
  font-size: 14px;
  font-weight: 700;
}

.tip-content {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.45;
}

/* 美食卡片 */
.food-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.food-recommend-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 14px 16px;
  border: 0.5px solid var(--separator);
}

.food-cat-badge {
  font-size: 10.5px;
  font-weight: 700;
  display: inline-block;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 45, 85, 0.1);
  color: #FF2D55;
  margin-bottom: 6px;
}

.food-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.food-recommend-dish {
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.food-tips {
  font-size: 11.5px;
  color: var(--text-secondary);
}

/* 行李清单 */
.packing-summary-box {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 0.5px solid var(--separator);
}

.packing-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.packing-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--bg-subtle);
  border-radius: 3px;
  overflow: hidden;
}

.packing-progress-fill {
  height: 100%;
  background: var(--ios-green);
  border-radius: 3px;
  transition: width 0.3s ease;
}

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

.packing-group-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-left: 4px;
}

.packing-items-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.packing-checkbox-item {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0.5px solid var(--separator);
  cursor: pointer;
  transition: all 0.15s ease;
}

.packing-checkbox-item:active {
  transform: scale(0.97);
}

.packing-checkbox-item.checked {
  background: rgba(52, 199, 89, 0.08);
  border-color: rgba(52, 199, 89, 0.3);
}

.checkbox-box {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid var(--text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #FFF;
  font-weight: 800;
  flex-shrink: 0;
}

.packing-checkbox-item.checked .checkbox-box {
  background: var(--ios-green);
  border-color: var(--ios-green);
}

.checkbox-label {
  font-size: 12.5px;
  font-weight: 500;
}

.packing-checkbox-item.checked .checkbox-label {
  color: var(--text-secondary);
  text-decoration: line-through;
}

/* 底部原生 Cupertino 悬浮岛式毛玻璃 Tab Bar (Floating Island Dock) */
.ios-tab-bar {
  position: fixed;
  bottom: calc(var(--safe-bottom) + 10px);
  left: 16px;
  right: 16px;
  width: auto;
  max-width: 440px;
  margin: 0 auto;
  box-sizing: border-box;
  z-index: 99999 !important;
  pointer-events: auto !important;
  touch-action: manipulation;
  height: 60px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 32px;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.16), 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 4px 8px;
  user-select: none;
  -webkit-user-select: none;
}

@media (prefers-color-scheme: dark) {
  .ios-tab-bar {
    background: rgba(28, 28, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  }
}

.tab-item {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  pointer-events: auto !important;
  touch-action: manipulation;
  color: var(--text-secondary);
  padding: 4px 0;
  border-radius: 24px;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tab-item * {
  pointer-events: none; /* 防止内部 span 拦截事件 */
}

.tab-item:active {
  transform: scale(0.88);
}

.tab-item.active {
  color: var(--ios-blue);
  background: rgba(0, 122, 255, 0.1);
  transform: translateY(-2px);
}

.tab-icon {
  font-size: 20px;
  line-height: 1;
  margin-bottom: 2px;
}

.tab-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1px;
}

/* 弹窗抽屉模态框 (Bottom Sheet Modal) */
.ios-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 20000;
  display: none !important;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.ios-modal-overlay.active {
  display: flex !important;
  opacity: 1;
  pointer-events: auto !important;
}

.ios-bottom-sheet {
  background: var(--bg-card);
  width: 100%;
  max-width: 600px;
  border-radius: 24px 24px 0 0;
  padding: 16px 20px calc(24px + var(--safe-bottom)) 20px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 85vh;
  overflow-y: auto;
}

.ios-modal-overlay.active .ios-bottom-sheet {
  transform: translateY(0);
}

.sheet-handle-bar {
  width: 36px;
  height: 5px;
  background: var(--separator);
  border-radius: 3px;
  margin: 0 auto 16px auto;
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.sheet-title {
  font-size: 18px;
  font-weight: 700;
}

.btn-close-sheet {
  background: var(--bg-subtle);
  border: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
}

/* 智能导入表单控件 */
.import-instruction {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.import-textarea {
  width: 100%;
  height: 200px;
  background: var(--bg-subtle);
  border: 1px solid var(--separator);
  border-radius: 14px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-primary);
  resize: vertical;
  font-family: inherit;
  margin-bottom: 14px;
}

.import-textarea:focus {
  outline: none;
  border-color: var(--ios-blue);
}

.modal-actions-row {
  display: flex;
  gap: 10px;
}

.btn-secondary {
  flex: 1;
  background: var(--bg-subtle);
  border: 1px solid var(--separator);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  padding: 12px;
  border-radius: 14px;
  cursor: pointer;
}

.btn-primary {
  flex: 2;
  background: var(--ios-blue);
  color: #FFFFFF;
  border: none;
  font-size: 14px;
  font-weight: 700;
  padding: 12px;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 122, 255, 0.3);
}

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

/* 记账表单 */
.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-input, .form-select {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--separator);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: inherit;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--ios-blue);
}

/* 行程切换列表 */
.trip-switch-card {
  background: var(--bg-subtle);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.trip-switch-card.active {
  border-color: var(--ios-blue);
  background: rgba(0, 122, 255, 0.05);
}

.trip-switch-title {
  font-size: 15px;
  font-weight: 700;
}

.trip-switch-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.current-tag {
  font-size: 11px;
  background: var(--ios-blue);
  color: #FFF;
  padding: 3px 8px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-del-trip {
  background: rgba(255, 59, 48, 0.1);
  color: var(--ios-red);
  border: none;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
}

/* 封神机位快捷直达卡片脉冲高亮 */
@keyframes targetCardGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(10, 132, 255, 0.8);
    transform: scale(1);
  }
  35% {
    box-shadow: 0 0 24px 6px rgba(10, 132, 255, 0.65), 0 0 40px 10px rgba(255, 159, 10, 0.35);
    transform: scale(1.025);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(10, 132, 255, 0);
    transform: scale(1);
  }
}

.timeline-item.target-highlight .timeline-content-card {
  animation: targetCardGlow 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  border-color: rgba(10, 132, 255, 0.8) !important;
}

/* 优雅浮动 iOS Toast 通知 (替代阻塞式 alert，告别卡顿) */
.ios-floating-toast {
  position: fixed;
  top: calc(18px + var(--safe-top));
  left: 50%;
  transform: translateX(-50%) translateY(-50px) scale(0.9);
  background: rgba(30, 35, 48, 0.88);
  color: #fff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 20px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 90vw;
  text-align: center;
}

.ios-floating-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.ios-floating-toast .toast-icon {
  font-size: 16px;
}

/* ==========================================================================
   🎙️ AI 语音助手与灵动声波悬浮交互 (AI Voice Copilot Styles)
   ========================================================================== */

.voice-floating-btn {
  position: fixed;
  right: 18px;
  bottom: calc(74px + var(--safe-bottom));
  height: 48px;
  padding: 0 16px 0 12px;
  background: linear-gradient(135deg, #1d1b38 0%, #0d1b2a 100%);
  color: #fff;
  border: 1px solid rgba(138, 92, 246, 0.4);
  border-radius: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35), 0 0 12px rgba(168, 85, 247, 0.25);
  cursor: pointer;
  z-index: 95;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.voice-floating-btn:active {
  transform: scale(0.92);
}

.voice-floating-btn.listening {
  background: linear-gradient(135deg, #e11d48 0%, #7c3aed 100%);
  box-shadow: 0 0 25px rgba(244, 63, 94, 0.75), 0 0 15px rgba(168, 85, 247, 0.5);
  border-color: rgba(255, 255, 255, 0.6);
  animation: voiceBtnBreathing 1.4s ease-in-out infinite alternate;
}

@keyframes voiceBtnBreathing {
  0% { transform: scale(1); box-shadow: 0 0 15px rgba(244, 63, 94, 0.6); }
  100% { transform: scale(1.06); box-shadow: 0 0 30px rgba(244, 63, 94, 0.9), 0 0 45px rgba(168, 85, 247, 0.6); }
}

.voice-btn-icon {
  font-size: 20px;
}

.voice-btn-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #c084fc, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.voice-floating-btn.listening .voice-btn-label {
  background: #fff;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #fff;
}

/* 语音面板整体布局 */
.voice-sheet-panel {
  text-align: center;
  padding-bottom: calc(20px + var(--safe-bottom));
}

.voice-sheet-title-box {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.voice-ai-badge {
  font-size: 17px;
  font-weight: 800;
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.voice-status-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Apple Intelligence / Siri 炫彩拟物流光声波球 */
.voice-orb-container {
  padding: 24px 0 16px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.voice-orb {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #06b6d4 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.45), 0 0 20px rgba(6, 182, 212, 0.35);
  transition: all 0.3s ease;
}

.voice-orb::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f43f5e, #a855f7, #3b82f6, #10b981);
  z-index: -1;
  filter: blur(10px);
  opacity: 0.6;
}

.voice-orb.listening {
  animation: orbPulsing 1.2s ease-in-out infinite alternate;
}

@keyframes orbPulsing {
  0% { transform: scale(0.96); box-shadow: 0 0 25px rgba(236, 72, 153, 0.6); }
  100% { transform: scale(1.12); box-shadow: 0 0 55px rgba(139, 92, 246, 0.85), 0 0 35px rgba(6, 182, 212, 0.6); }
}

.voice-orb-core {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.voice-mic-center {
  font-size: 26px;
}

/* 声波动态脉冲条 */
.sound-wave-bars {
  position: absolute;
  bottom: -18px;
  display: flex;
  gap: 4px;
  align-items: center;
  height: 16px;
}

.sw-bar {
  width: 3px;
  height: 4px;
  background: linear-gradient(to top, #8b5cf6, #38bdf8);
  border-radius: 2px;
  transition: height 0.15s ease;
}

.voice-orb.listening .sw-bar:nth-child(1) { animation: waveBar 0.6s infinite ease-in-out 0.1s; }
.voice-orb.listening .sw-bar:nth-child(2) { animation: waveBar 0.6s infinite ease-in-out 0.25s; }
.voice-orb.listening .sw-bar:nth-child(3) { animation: waveBar 0.6s infinite ease-in-out 0.05s; }
.voice-orb.listening .sw-bar:nth-child(4) { animation: waveBar 0.6s infinite ease-in-out 0.35s; }
.voice-orb.listening .sw-bar:nth-child(5) { animation: waveBar 0.6s infinite ease-in-out 0.15s; }

@keyframes waveBar {
  0% { height: 4px; }
  50% { height: 18px; }
  100% { height: 4px; }
}

/* 实时识别文本卡片 */
.voice-transcript-card {
  background: var(--bg-subtle);
  border: 1px solid var(--separator);
  border-radius: 16px;
  padding: 14px 16px;
  margin: 14px 0 12px 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-transcript-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  word-break: break-all;
}

/* 快捷输入行 */
.voice-input-fallback-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.voice-fallback-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--separator);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
}

.voice-fallback-input:focus {
  border-color: var(--ios-blue);
}

.btn-voice-send {
  background: var(--ios-blue);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* 快捷气泡分类区域 */
.voice-chips-section {
  text-align: left;
}

.voice-chips-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

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

.voice-chip {
  background: var(--bg-subtle);
  border: 1px solid var(--separator);
  color: var(--text-primary);
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.voice-chip:active {
  transform: scale(0.95);
  background: var(--bg-card);
  border-color: var(--ios-blue);
  color: var(--ios-blue);
}

/* ========================================================================
   📸 实景大片卡片与全屏画廊查看器 (VisionOS Scene Photos & Lightbox)
   ======================================================================== */

/* 行程活动场景大片封面 */
.act-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  margin: 10px 0 12px 0;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  background: #111622;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.act-photo-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.act-photo-wrap:active {
  transform: scale(0.98);
}

.act-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.act-photo-wrap:hover .act-photo-img {
  transform: scale(1.04);
}

/* 渐变遮罩层与文字信息 */
.act-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 25, 0.92) 0%, rgba(10, 15, 25, 0.3) 40%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.35) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 12px;
  pointer-events: none;
}

.act-photo-badge {
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0.5px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.act-photo-caption {
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 美食与酒吧推荐卡片封面 */
.food-photo-wrap {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111622;
}

.food-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.food-photo-wrap:active .food-photo-img {
  transform: scale(1.05);
}

.food-cat-badge-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  color: var(--ios-orange);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
}

/* 住宿封面 */
.hotel-photo-wrap {
  margin: 10px 0 12px 0;
  aspect-ratio: 16 / 9;
}

/* 全屏大图画廊查看器 (VisionOS Lightbox Modal) */
.photo-lightbox-overlay {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10000;
}

.photo-lightbox-overlay.active {
  display: flex;
}

.photo-lightbox-sheet {
  position: relative;
  max-width: 720px;
  width: 100%;
  background: rgba(25, 32, 48, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  animation: lightboxScaleUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxScaleUp {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

.btn-close-lightbox {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-close-lightbox:active {
  transform: scale(0.9);
  background: rgba(255, 255, 255, 0.2);
}

.photo-lightbox-img-wrap {
  width: 100%;
  max-height: 65vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 65vh;
  object-fit: contain;
  display: block;
}

.photo-lightbox-info {
  padding: 16px 20px;
  background: rgba(20, 26, 38, 0.98);
}

.photo-lightbox-title {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.photo-lightbox-caption {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 恢复行程专属醒目横幅与标签 */
.imported-trip-banner {
  max-width: 600px;
  margin: 12px auto 6px;
  padding: 0 16px;
  animation: slideDown 0.3s ease-out;
}

.imported-banner-inner {
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.15), rgba(255, 45, 85, 0.15));
  border: 1px solid rgba(255, 149, 0, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.imported-banner-text {
  font-size: 13px;
  font-weight: 600;
  color: #FF9F0A;
}

.imported-banner-btns {
  display: flex;
  gap: 8px;
}

.btn-quick-restore {
  flex: 1;
  padding: 7px 12px;
  border-radius: 8px;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-quick-restore.primary {
  background: linear-gradient(135deg, #0A84FF, #0071E3);
  border: none;
  box-shadow: 0 2px 8px rgba(10, 132, 255, 0.3);
}

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

.trip-tag-rec {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(10, 132, 255, 0.2);
  color: #64D2FF;
  border: 0.5px solid rgba(10, 132, 255, 0.3);
  margin-left: 6px;
}

.trip-tag-hist {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 149, 0, 0.2);
  color: #FFD60A;
  border: 0.5px solid rgba(255, 149, 0, 0.3);
  margin-left: 6px;
}

.trip-tag-custom {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(175, 82, 222, 0.2);
  color: #BF5AF2;
  border: 0.5px solid rgba(175, 82, 222, 0.3);
  margin-left: 6px;
}

.btn-switch-trip {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 0.5px solid var(--separator);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* =========================================================
   🌟 户外强光高对比度模式 & 浪漫奢华视觉系统 (Outdoor High-Contrast & Luxury Romantic Theme)
   ========================================================= */

/* 顶部与胶囊模式切换按钮 */
.btn-header-action.btn-theme-toggle {
  background: linear-gradient(135deg, rgba(255, 159, 10, 0.22), rgba(255, 209, 102, 0.28));
  color: #FFB340;
  border: 1px solid rgba(255, 159, 10, 0.45);
  font-size: 15px;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 159, 10, 0.2);
}

.hero-mode-switch-row {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.btn-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-mode-toggle:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.22);
}

/* ☀️ 户外强光高对比度模式 (专为海边烈日、户外眩光与反光极限强化) */
body.theme-outdoor {
  --bg-primary: #F3F6FA;
  --bg-card: #FFFFFF;
  --bg-subtle: #E8EEF5;
  --text-primary: #0A1128;
  --text-secondary: #2C3E50;
  --text-tertiary: #526071;
  --separator: #D6DFEB;
  --glass-bg: rgba(255, 255, 255, 0.94);
  --card-border: #CBD5E1;
  --card-shadow: 0 4px 18px rgba(10, 25, 47, 0.08), 0 1px 3px rgba(10, 25, 47, 0.05);

  background-color: #F3F6FA;
  background-image: 
    radial-gradient(at 0% 0%, rgba(255, 182, 193, 0.45) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(186, 230, 253, 0.48) 0px, transparent 55%),
    radial-gradient(at 50% 60%, rgba(254, 243, 199, 0.35) 0px, transparent 65%);
  color: #0A1128;
}

/* 强光模式下的顶部导航栏 */
body.theme-outdoor .ios-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1.5px solid #CBD5E1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.theme-outdoor .header-trip-title {
  color: #0A1128;
  font-weight: 800;
}

body.theme-outdoor .header-trip-sub {
  color: #334155;
  font-weight: 600;
}

body.theme-outdoor .btn-header-action.btn-theme-toggle {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(99, 102, 241, 0.15));
  color: #0284C7;
  border-color: #0284C7;
}

body.theme-outdoor .btn-header-action.btn-icon-only {
  background: #EDF2F7;
  color: #0A1128;
}

/* 强光模式下的胶囊卡片 */
body.theme-outdoor .romantic-hero-capsule {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.09);
}

body.theme-outdoor .capsule-text {
  color: #0A1128;
  font-weight: 800;
}

body.theme-outdoor .romantic-capsule-sub {
  color: #334155;
  font-weight: 600;
}

body.theme-outdoor .hero-countdown-row {
  border-top-color: #E2E8F0;
}

body.theme-outdoor .cd-title {
  color: #0F172A;
  font-weight: 700;
}

body.theme-outdoor .cd-pill {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #0F172A;
}

body.theme-outdoor .cd-pill .cd-val {
  color: #0284C7;
}

body.theme-outdoor .btn-mode-toggle {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #0F172A;
}

/* 强光模式下的时间线卡片强化 */
body.theme-outdoor .timeline-card,
body.theme-outdoor .day-info-banner,
body.theme-outdoor .sheet-modal,
body.theme-outdoor .tab-card,
body.theme-outdoor .spot-gallery-card {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04) !important;
}

body.theme-outdoor .card-time {
  background: #0284C7 !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35) !important;
}

body.theme-outdoor .card-title {
  color: #0A1128 !important;
  font-weight: 800 !important;
  letter-spacing: -0.2px;
}

body.theme-outdoor .card-desc {
  color: #1E293B !important;
  font-weight: 500 !important;
}

body.theme-outdoor .card-highlight-tag {
  background: #FFF7ED !important;
  border: 1px solid #F97316 !important;
  color: #C2410C !important;
  font-weight: 700 !important;
}

body.theme-outdoor .card-cost-tag {
  background: #F0FDF4 !important;
  border: 1px solid #22C55E !important;
  color: #15803D !important;
  font-weight: 700 !important;
}

body.theme-outdoor .tag-badge {
  background: #EFF6FF !important;
  border: 1px solid #93C5FD !important;
  color: #1D4ED8 !important;
  font-weight: 700 !important;
}

body.theme-outdoor .tip-box {
  background: #FFFBEB !important;
  border: 1px solid #FCD34D !important;
}

body.theme-outdoor .tip-label {
  color: #B45309 !important;
  font-weight: 800 !important;
}

body.theme-outdoor .tip-text {
  color: #78350F !important;
  font-weight: 600 !important;
}

/* 男友专属构图秘籍在强光下极致清晰 */
body.theme-outdoor .photo-guide-preview {
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
}

body.theme-outdoor .guide-title-row {
  color: #9A3412 !important;
  font-weight: 800 !important;
}

body.theme-outdoor .guide-item {
  color: #1E293B !important;
  font-weight: 600 !important;
}

body.theme-outdoor .guide-key {
  color: #0369A1 !important;
  font-weight: 700 !important;
}

/* 日期切换器 */
body.theme-outdoor .day-segment-btn {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #334155 !important;
  font-weight: 700 !important;
}

body.theme-outdoor .day-segment-btn.active {
  background: #0284C7 !important;
  border-color: #0284C7 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35) !important;
}

body.theme-outdoor .day-theme-title {
  color: #0A1128 !important;
  font-weight: 800 !important;
}

body.theme-outdoor .day-stat-pill {
  background: #F1F5F9 !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  font-weight: 700 !important;
}

/* 底部 Tab 栏 */
body.theme-outdoor .ios-tab-bar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-top: 1.5px solid #CBD5E1 !important;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06) !important;
}

body.theme-outdoor .tab-item {
  color: #64748B !important;
}

body.theme-outdoor .tab-item.active {
  color: #0284C7 !important;
  font-weight: 800 !important;
}

/* 行李与记账清单 */
body.theme-outdoor .checklist-item,
body.theme-outdoor .expense-item,
body.theme-outdoor .budget-stat-box {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0A1128 !important;
}

body.theme-outdoor .checklist-label {
  color: #0A1128 !important;
  font-weight: 700 !important;
}

body.theme-outdoor .checklist-sub {
  color: #475569 !important;
}

body.theme-outdoor .expense-desc {
  color: #0A1128 !important;
  font-weight: 700 !important;
}

body.theme-outdoor .expense-amount {
  color: #E11D48 !important;
  font-weight: 800 !important;
}

/* 赶机特快专栏在强光下警戒度拉满 */
body.theme-outdoor .rush-rush-card,
body.theme-outdoor .aviation-security-card {
  background: #FFFBEB !important;
  border: 1.5px solid #F59E0B !important;
  color: #78350F !important;
}

body.theme-outdoor .rush-step-title {
  color: #92400E !important;
  font-weight: 800 !important;
}

body.theme-outdoor .rush-step-desc {
  color: #78350F !important;
  font-weight: 600 !important;
}

/* =========================================================
   🌦️ 威海气象雷达与极端天气预警看板样式 (Weather Radar Styles)
   ========================================================= */

.hero-weather-row {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.weather-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(99, 102, 241, 0.18));
  border: 1px solid rgba(14, 165, 233, 0.45);
  color: #38BDF8;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
  transition: all 0.2s ease;
  user-select: none;
  cursor: pointer;
}

body.theme-outdoor .weather-pill-btn {
  background: #E0F2FE;
  border: 1px solid #7DD3FC;
  color: #0369A1;
}

.weather-pill-btn:active {
  transform: scale(0.95);
}

.weather-pill-btn.warning-pulse {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(245, 158, 11, 0.25)) !important;
  border-color: #EF4444 !important;
  color: #FF6B6B !important;
  animation: weatherWarningPulse 1.2s infinite alternate;
}

@keyframes weatherWarningPulse {
  from { box-shadow: 0 0 6px rgba(239, 68, 68, 0.3); }
  to { box-shadow: 0 0 16px rgba(239, 68, 68, 0.8); }
}

.weather-radar-sheet {
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.weather-current-box {
  background: linear-gradient(135deg, rgba(20, 30, 48, 0.85) 0%, rgba(36, 59, 85, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

body.theme-outdoor .weather-current-box {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.w-city-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-secondary);
}

.w-city-badge {
  font-weight: 700;
  color: #38BDF8;
}

body.theme-outdoor .w-city-badge {
  color: #0284C7;
}

.w-hero-metric {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 12px 0 16px 0;
}

.w-big-temp {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #FFFFFF, #93C5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.theme-outdoor .w-big-temp {
  background: none;
  -webkit-text-fill-color: #0F172A;
  color: #0F172A;
}

.w-curr-phen {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

body.theme-outdoor .w-curr-phen {
  color: #0F172A;
}

.w-curr-wind {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.w-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.w-metric-cell {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body.theme-outdoor .w-metric-cell {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.w-m-label {
  font-size: 11px;
  color: var(--text-secondary);
}

.w-m-val {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.weather-section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.sec-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.btn-toggle-sim {
  background: rgba(255, 159, 10, 0.15);
  border: 1px solid #F59E0B;
  color: #F59E0B;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
}

.weather-alert-card {
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.weather-alert-card.normal-safe {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.alert-top-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.alert-badge-green {
  font-size: 12px;
  font-weight: 800;
  color: #34D399;
}

body.theme-outdoor .alert-badge-green {
  color: #059669;
}

.alert-safe-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
}

body.theme-outdoor .alert-safe-text {
  color: #334155;
  font-weight: 500;
}

.weather-alert-card.active-warning {
  background: rgba(239, 68, 68, 0.16);
  border: 1.5px solid #EF4444;
  animation: alertPulse 1.5s infinite alternate;
}

.alert-badge-red {
  font-size: 12px;
  font-weight: 800;
  color: #EF4444;
}

.alert-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

body.theme-outdoor .alert-title {
  color: #B91C1C;
}

.alert-detail {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}

body.theme-outdoor .alert-detail {
  background: #FEF2F2;
  color: #7F1D1D;
  border: 1px solid #FCA5A5;
}

.alert-plan-box {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10B981;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.6;
}

.plan-header {
  font-weight: 800;
  color: #34D399;
  margin-bottom: 4px;
}

body.theme-outdoor .plan-header {
  color: #047857;
}

.weather-days-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.weather-day-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 12px 14px;
}

body.theme-outdoor .weather-day-card {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
}

.w-day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.w-date {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}

.w-trip-title {
  font-size: 12px;
  color: var(--text-secondary);
}

.w-icon {
  font-size: 20px;
}

.w-day-temp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.w-temp {
  font-size: 14px;
  font-weight: 800;
  color: #0284C7;
}

.w-phenomenon {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.w-wind {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.w-day-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.w-info-chip {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

body.theme-outdoor .w-info-chip {
  color: #334155;
}

.w-info-chip.sunset strong {
  color: #EA580C;
}

.w-info-chip.seagull strong {
  color: #0284C7;
}

.w-tip-sub {
  font-size: 11px;
  color: #F59E0B;
  margin-top: 4px;
  line-height: 1.5;
}

.extreme-knowledge-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.knowledge-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 11.5px;
  line-height: 1.55;
}

body.theme-outdoor .knowledge-card {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
}

.k-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.k-name {
  font-weight: 800;
  color: var(--text-primary);
  font-size: 12.5px;
}

.k-tag {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
  font-weight: 700;
}

.k-impact {
  color: var(--text-secondary);
  margin-bottom: 3px;
}

.k-action {
  color: #10B981;
  font-weight: 600;
}

body.theme-outdoor .k-action {
  color: #047857;
}

/* ==========================================================================
   🎒 首页男女生携带物品专属入口 & 模态底栏样式 (Home Packing & Gender Sheet)
   ========================================================================== */

.packing-quick-section {
  margin: 12px 14px 16px 14px;
}

.packing-quick-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 14px 14px 12px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

body.theme-outdoor .packing-quick-card {
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

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

.pq-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pq-icon {
  font-size: 17px;
}

.pq-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.2px;
}

.pq-pill-badge {
  font-size: 11px;
  font-weight: 700;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pq-pill-badge:hover,
.pq-pill-badge:active {
  background: rgba(245, 158, 11, 0.28);
  transform: scale(0.97);
}

body.theme-outdoor .pq-pill-badge {
  color: #B45309;
  background: #FEF3C7;
  border: 1.5px solid #F59E0B;
}

.packing-quick-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 360px) {
  .packing-quick-buttons {
    grid-template-columns: 1fr;
  }
}

.btn-gender-pack {
  border: none;
  border-radius: 16px;
  padding: 12px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
}

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

.btn-gender-pack.male {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.16) 0%, rgba(14, 165, 233, 0.06) 100%);
  border: 1px solid rgba(14, 165, 233, 0.35);
}

body.theme-outdoor .btn-gender-pack.male {
  background: #F0F9FF;
  border: 1.5px solid #0284C7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
}

.btn-gender-pack.female {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.16) 0%, rgba(251, 113, 133, 0.06) 100%);
  border: 1px solid rgba(244, 63, 94, 0.35);
}

body.theme-outdoor .btn-gender-pack.female {
  background: #FFF1F2;
  border: 1.5px solid #E11D48;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.08);
}

.btn-gender-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.gender-avatar {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

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

.gender-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}

.gender-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}

.gender-tag-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
  white-space: nowrap;
}

.gender-tag-pill.male {
  background: rgba(2, 132, 199, 0.25);
  color: #38BDF8;
}

body.theme-outdoor .gender-tag-pill.male {
  background: #0284C7;
  color: #FFFFFF;
}

.gender-tag-pill.female {
  background: rgba(244, 63, 94, 0.25);
  color: #FB7185;
}

body.theme-outdoor .gender-tag-pill.female {
  background: #E11D48;
  color: #FFFFFF;
}

.gender-tag-pill.all-done {
  background: #10B981 !important;
  color: #FFFFFF !important;
}

.gender-sub {
  display: block;
  font-size: 10.5px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.gender-arrow {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.85;
  flex-shrink: 0;
  margin-left: 6px;
}

.btn-gender-pack.male .gender-arrow {
  color: #38BDF8;
}

body.theme-outdoor .btn-gender-pack.male .gender-arrow {
  color: #0284C7;
}

.btn-gender-pack.female .gender-arrow {
  color: #FB7185;
}

body.theme-outdoor .btn-gender-pack.female .gender-arrow {
  color: #E11D48;
}

.packing-quick-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

body.theme-outdoor .packing-quick-footer {
  border-top-color: #E2E8F0;
}

.btn-packing-all-link {
  width: 100%;
  background: none;
  border: none;
  padding: 4px 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-packing-all-link:hover,
.btn-packing-all-link:active {
  color: var(--text-primary);
}

.pq-link-hint {
  color: var(--primary, #0A84FF);
  font-size: 11px;
  font-weight: 700;
}

/* ==========================================================================
   🎒 男女专属行李清单全屏/抽屉弹窗 (Gender Packing Modal Sheet)
   ========================================================================== */

.gender-packing-sheet {
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}

.gender-segmented-bar {
  display: flex;
  gap: 6px;
  padding: 0 16px 12px 16px;
  background: transparent;
  overflow-x: auto;
}

.g-seg-btn {
  flex: 1;
  min-width: 75px;
  padding: 8px 4px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

body.theme-outdoor .g-seg-btn {
  background: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  color: #475569;
}

.g-seg-btn.active {
  color: #FFFFFF !important;
  font-weight: 800;
}

#gSegMale.active {
  background: #0284C7;
  border-color: #0284C7;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.4);
}

#gSegFemale.active {
  background: #E11D48;
  border-color: #E11D48;
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.4);
}

#gSegCommon.active {
  background: #10B981;
  border-color: #10B981;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.4);
}

#gSegAll.active {
  background: #6366F1;
  border-color: #6366F1;
  box-shadow: 0 3px 10px rgba(99, 102, 241, 0.4);
}

/* 🪥 民航安检电动牙刷权威红线卡片 */
.toothbrush-security-banner {
  margin: 0 16px 12px 16px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16) 0%, rgba(217, 119, 6, 0.08) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: 16px;
  padding: 12px 14px;
  transition: all 0.3s ease;
}

body.theme-outdoor .toothbrush-security-banner {
  background: #FEF3C7;
  border: 2px solid #D97706;
}

.banner-pulse-highlight {
  animation: tbPulse 1.2s infinite alternate;
}

@keyframes tbPulse {
  from {
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
    border-color: #F59E0B;
  }
  to {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.95);
    border-color: #D97706;
  }
}

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

.tb-icon {
  font-size: 18px;
}

.tb-title {
  font-size: 13px;
  font-weight: 800;
  color: #F59E0B;
  flex: 1;
}

body.theme-outdoor .tb-title {
  color: #B45309;
}

.tb-badge-pass {
  font-size: 11px;
  font-weight: 800;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
}

body.theme-outdoor .tb-badge-pass {
  background: #DCFCE7;
  color: #047857;
  border: 1px solid #10B981;
}

.tb-banner-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tb-rule-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-primary);
}

.tb-bullet {
  font-weight: 800;
  color: #F59E0B;
  flex-shrink: 0;
  line-height: 1.5;
}

body.theme-outdoor .tb-bullet {
  color: #B45309;
}

.gender-modal-progress {
  margin: 0 16px 12px 16px;
}

.gender-packing-body {
  padding: 0 16px;
  overflow-y: auto;
  flex: 1;
  max-height: calc(85vh - 220px);
}

.gender-section-header {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 16px 0 8px 0;
  padding-bottom: 4px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.12);
}

body.theme-outdoor .gender-section-header {
  border-bottom-color: #CBD5E1;
}

.gender-packing-group {
  margin-bottom: 16px;
}

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

.gpg-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

.gpg-count {
  font-size: 11px;
  color: var(--text-secondary);
  opacity: 0.8;
}

.gpg-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gender-item-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
}

body.theme-outdoor .gender-item-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
}

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

.gender-item-card.checked {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.35);
}

body.theme-outdoor .gender-item-card.checked {
  background: #F0FDF4;
  border-color: #10B981;
}

.gender-item-card.checked .gic-text {
  text-decoration: line-through;
  opacity: 0.6;
}

.gender-item-card.highlight-toothbrush {
  border: 1.5px solid #F59E0B;
  background: rgba(245, 158, 11, 0.08);
}

body.theme-outdoor .gender-item-card.highlight-toothbrush {
  border: 2px solid #D97706;
  background: #FFFBEB;
}

.gic-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.gic-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #FFFFFF;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.15s ease;
}

body.theme-outdoor .gic-checkbox {
  border-color: #94A3B8;
  color: #FFFFFF;
}

.gender-item-card.checked .gic-checkbox {
  background: #10B981;
  border-color: #10B981;
}

.gic-content {
  flex: 1;
  min-width: 0;
}

.gic-text {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.gic-tip-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  margin-top: 3px;
}

body.theme-outdoor .gic-tip-badge {
  background: #F1F5F9;
  color: #475569;
}

.gic-tip-badge.badge-tb {
  background: rgba(245, 158, 11, 0.2);
  color: #F59E0B;
  border: 0.5px solid rgba(245, 158, 11, 0.4);
}

body.theme-outdoor .gic-tip-badge.badge-tb {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #F59E0B;
}

.gender-modal-footer {
  display: flex;
  gap: 8px;
  padding: 12px 16px 20px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-card);
}

body.theme-outdoor .gender-modal-footer {
  background: #F8FAFC;
  border-top-color: #CBD5E1;
}

.btn-pack-action {
  flex: 1;
  padding: 11px 8px;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-pack-action.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

body.theme-outdoor .btn-pack-action.secondary {
  background: #E2E8F0;
  color: #1E293B;
  border: 1.5px solid #CBD5E1;
}

.btn-pack-action.primary {
  flex: 1.4;
  background: linear-gradient(135deg, #0A84FF 0%, #0066CC 100%);
  color: #FFFFFF;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(10, 132, 255, 0.4);
}

/* ==========================================================================
   Tab 4 (行李与备忘) 分段切换与大卡片模式入口样式
   ========================================================================== */

.packing-segmented-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tips-segmented-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.t-seg-btn {
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

body.theme-outdoor .t-seg-btn {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #475569;
}

.t-seg-btn.active {
  background: var(--primary, #0A84FF);
  color: #FFFFFF;
  border-color: var(--primary, #0A84FF);
  font-weight: 800;
}

.btn-open-pack-modal {
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  cursor: pointer;
  margin-left: auto;
  transition: all 0.2s ease;
}

body.theme-outdoor .btn-open-pack-modal {
  background: #DCFCE7;
  color: #047857;
  border: 1.5px solid #10B981;
}

.tips-group-label {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 16px 0 8px 4px;
}

.highlight-tb-item {
  border: 1.5px solid #F59E0B !important;
  background: rgba(245, 158, 11, 0.08) !important;
}

body.theme-outdoor .highlight-tb-item {
  background: #FFFBEB !important;
  border: 2px solid #D97706 !important;
}

.packing-item-tip {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.15);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 6px;
}

body.theme-outdoor .packing-item-tip {
  background: #FEF3C7;
  color: #B45309;
}
