/* HolidayX H5 Mobile App — Style System v2.0 */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a25;
  --bg-elevated: #22222f;
  --text-primary: #f0f0f5;
  --text-secondary: #8a8a9a;
  --text-muted: #55556a;
  --gold: #c9a227;
  --gold-light: #e8d48b;
  --gold-dark: #a07d1a;
  --accent: #667eea;
  --success: #43e97b;
  --danger: #f5576c;
  --warning: #fda085;
  --border: rgba(255,255,255,0.06);
  --glass: rgba(255,255,255,0.04);
  --glass-strong: rgba(255,255,255,0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tabbar-height: 64px;
}

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

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow: hidden;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.status-bar-spacer {
  display: none;
}

#app {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.page {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: calc(var(--tabbar-height) + var(--safe-bottom));
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  scroll-behavior: smooth;
}

.page.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.page::-webkit-scrollbar {
  width: 0;
}

/* Home Header */
.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  padding-top: calc(var(--safe-top) + 12px);
  background: var(--bg-primary);
  position: sticky;
  top: 0;
  z-index: 50;
}

.home-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
}

.home-logo i {
  font-size: 16px;
}

.home-slogan {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.home-header-right {
  display: flex;
  gap: 6px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glass-strong);
  border: none;
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
}

.icon-btn:active {
  transform: scale(0.92);
  background: var(--glass);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 200;
  padding: calc(var(--safe-top) + 12px) 16px 16px;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: all .3s ease;
}

.search-overlay.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.search-bar-full {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 10px 16px;
}

.search-bar-full i {
  color: var(--text-muted);
  font-size: 14px;
}

.search-bar-full input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 15px;
  min-width: 0;
}

.search-bar-full input::placeholder {
  color: var(--text-muted);
}

.search-cancel {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  padding: 4px 0;
}

.search-hot {
  margin-top: 24px;
}

.search-hot-title {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.search-hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-hot-tags span {
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
}

.search-hot-tags span:active {
  background: var(--gold);
  color: #000;
}

/* Banner */
.banner-swiper {
  margin: 8px 16px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 168px;
}

.banner-track {
  display: flex;
  height: 100%;
  transition: transform .4s cubic-bezier(.25,.8,.25,1);
}

.banner-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.banner-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: .15;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,.2) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255,255,255,.15) 0%, transparent 40%);
  pointer-events: none;
}

.banner-slide::after {
  content: '\2726';
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 32px;
  opacity: .08;
  color: #fff;
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 1;
}

.banner-tag {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.banner-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.banner-content p {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  margin-bottom: 4px;
}

.banner-price {
  font-size: 12px;
  color: var(--gold-light);
}

.banner-price em {
  font-size: 20px;
  font-weight: 700;
  font-style: normal;
}

.banner-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.banner-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.3);
  transition: all .3s;
}

.banner-dots .dot.active {
  width: 18px;
  background: var(--gold);
}

/* Quick Nav */
.quick-nav {
  display: flex;
  justify-content: space-between;
  padding: 20px 12px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 4px;
}
.quick-nav::-webkit-scrollbar { display: none; }

.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  min-width: 52px;
  flex-shrink: 0;
}

.quick-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  transition: transform .2s;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

.quick-item:active .quick-icon {
  transform: scale(0.9);
}

.quick-item span {
  font-size: 10px;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Section Block */
.section-block {
  padding: 16px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px 12px;
}

.section-header h3 {
  font-size: 17px;
  font-weight: 700;
}

.see-all {
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 2px;
}

.see-all i {
  font-size: 10px;
}

/* Horizontal Destination Cards */
.dest-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 4px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.dest-scroll::-webkit-scrollbar {
  display: none;
}

.dest-card-h {
  min-width: 140px;
  max-width: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform .2s;
  flex-shrink: 0;
}

.dest-card-h:active {
  transform: scale(0.96);
}

.dest-card-img {
  height: 100px;
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.dest-card-info {
  padding: 10px;
}

.dest-card-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.dest-card-info p {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.dest-card-info p i {
  margin-right: 3px;
}

.dest-card-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.dest-card-tags span {
  font-size: 10px;
  color: var(--gold);
  background: rgba(201,162,39,.1);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(201,162,39,.12);
  line-height: 1.5;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Package Cards */
.package-list {
  padding: 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.package-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s;
}

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

.package-img {
  height: 130px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.package-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 70% 30%, rgba(255,255,255,.08) 0%, transparent 50%);
  pointer-events: none;
}

.package-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  background: var(--glass-strong);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.package-badge.hot {
  background: var(--danger);
  color: #fff;
}

.package-badge.new {
  background: var(--accent);
  color: #fff;
}

.package-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 11px;
  color: rgba(255,255,255,.8);
  background: rgba(0,0,0,.4);
  padding: 2px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.package-info {
  padding: 12px;
}

.package-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.package-highlights {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.package-highlights i {
  color: var(--gold);
  font-size: 11px;
}

.package-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.package-price {
  font-size: 12px;
  color: var(--text-secondary);
}

.package-price em {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  font-style: normal;
}

.package-price span {
  font-size: 11px;
}

.package-rating {
  font-size: 12px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 3px;
}

/* AI Entry Card */
.ai-entry-card {
  margin: 16px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(102,126,234,.15), rgba(201,162,39,.1));
  border: 1px solid rgba(102,126,234,.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform .2s;
}

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

.ai-entry-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}

.ai-entry-text {
  flex: 1;
}

.ai-entry-text h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.ai-entry-text p {
  font-size: 12px;
  color: var(--text-muted);
}

.ai-entry-card > i {
  color: var(--text-muted);
  font-size: 12px;
}

.home-footer-space {
  height: 24px;
}

/* ========== Phase 16: Premium Homepage Redesign ========== */

/* --- Premium Home Header V2 --- */
.home-header {
  background: linear-gradient(180deg, rgba(10,10,15,.98) 0%, rgba(10,10,15,.92) 100%);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid rgba(201,162,39,.08);
}

.home-logo {
  position: relative;
}

.home-logo i {
  background: linear-gradient(135deg, #c9a227, #e8d48b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 6px rgba(201,162,39,.3));
}

.home-logo span {
  background: linear-gradient(135deg, #c9a227 0%, #e8d48b 50%, #c9a227 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 4s ease infinite;
}

@keyframes goldShimmer {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.home-slogan {
  position: relative;
  padding-left: 8px;
}

.home-slogan::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 10px;
  background: var(--gold);
  border-radius: 2px;
  opacity: .5;
}

.icon-btn {
  position: relative;
  overflow: hidden;
}

.icon-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,.08);
  pointer-events: none;
}

/* --- Enhanced Banner V2 --- */
.banner-swiper {
  height: 188px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.04);
}

.banner-slide {
  position: relative;
}

.banner-slide::before {
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(201,162,39,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.1) 0%, transparent 40%);
}

.banner-content h3 {
  font-size: 20px;
  letter-spacing: .5px;
}

.banner-tag {
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: tagPulse 2.5s ease-in-out infinite;
}

@keyframes tagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,.4); }
  50% { box-shadow: 0 0 8px 2px rgba(201,162,39,.2); }
}

.banner-dots .dot.active {
  background: linear-gradient(90deg, #c9a227, #e8d48b);
  box-shadow: 0 0 6px rgba(201,162,39,.4);
}

/* --- Premium Quick-Nav V2 (金刚区) --- */
.quick-nav {
  padding: 20px 10px 16px;
  position: relative;
}

.quick-nav::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.12), transparent);
}

.quick-icon {
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.08);
}

.quick-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.05);
  pointer-events: none;
}

.quick-item span {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
}

.quick-item:active .quick-icon {
  transform: scale(0.88) translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}

/* --- Premium Section Headers V2 --- */
.section-header h3 {
  position: relative;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-header h3::before {
  content: '';
  width: 3px;
  height: 16px;
  background: linear-gradient(180deg, var(--gold), rgba(201,162,39,.2));
  border-radius: 3px;
  flex-shrink: 0;
}

.see-all {
  padding: 4px 12px;
  border-radius: 14px;
  background: rgba(201,162,39,.08);
  color: var(--gold);
  font-weight: 500;
  transition: all .2s;
}

.see-all:active {
  background: rgba(201,162,39,.15);
  transform: scale(.96);
}

/* --- Premium Dest Cards V2 --- */
.dest-card-h {
  min-width: 150px;
  max-width: 150px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  overflow: hidden;
  position: relative;
}

.dest-card-img {
  height: 110px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.dest-card-info {
  padding: 10px 12px 12px;
  position: relative;
}

.dest-card-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.dest-card-info h4 {
  font-size: 14px;
  font-weight: 700;
  margin-top: 4px;
}

.dest-card-tags span {
  font-size: 10px;
  border: 1px solid rgba(201,162,39,.15);
  background: rgba(201,162,39,.06);
}

/* --- Premium Package Cards V2 --- */
.package-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  overflow: hidden;
  position: relative;
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 10%, var(--gold) 50%, transparent 90%);
  opacity: 0;
  transition: opacity .3s;
  z-index: 2;
}

.package-card:active::before {
  opacity: 1;
}

.package-img {
  height: 140px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.package-badge {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  font-size: 11px;
  letter-spacing: .5px;
}

.package-badge.hot {
  border-color: rgba(245,87,108,.3);
  box-shadow: 0 2px 8px rgba(245,87,108,.3);
}

.package-badge.new {
  border-color: rgba(102,126,234,.3);
  box-shadow: 0 2px 8px rgba(102,126,234,.2);
}

.package-info {
  padding: 14px 14px 16px;
  position: relative;
}

.package-info h4 {
  font-size: 16px;
}

.package-bottom {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.05);
}

.package-price em {
  font-size: 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.package-social-proof {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.1);
}

/* --- Premium Greeting V2 --- */
.home-greeting {
  margin: 0 16px 12px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(201,162,39,.06), rgba(102,126,234,.04));
  border: 1px solid rgba(201,162,39,.08);
  font-size: 13px;
  color: rgba(255,255,255,.7);
  position: relative;
  overflow: hidden;
}

.home-greeting::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(201,162,39,.04) 0%, transparent 70%);
  animation: greetingGlow 6s ease infinite;
  pointer-events: none;
}

@keyframes greetingGlow {
  0%, 100% { transform: translate(-10%, -10%) scale(1); }
  50% { transform: translate(10%, 10%) scale(1.1); }
}

/* --- Premium AI Entry V2 --- */
.ai-entry-card {
  background: linear-gradient(135deg, rgba(102,126,234,.12), rgba(201,162,39,.08), rgba(102,126,234,.06));
  border: 1px solid rgba(201,162,39,.12);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
  position: relative;
  overflow: hidden;
}

.ai-entry-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(201,162,39,.08) 25%, transparent 50%);
  animation: entryRotate 8s linear infinite;
  pointer-events: none;
}

@keyframes entryRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ai-entry-icon {
  box-shadow: 0 4px 16px rgba(102,126,234,.3);
  position: relative;
  z-index: 1;
}

.ai-entry-text {
  position: relative;
  z-index: 1;
}

.ai-entry-text h4 {
  font-size: 16px;
  background: linear-gradient(135deg, #667eea, #c9a227);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-entry-card > i {
  position: relative;
  z-index: 1;
  color: var(--gold);
}

/* --- Trust Badges Section --- */
.trust-badges-row {
  display: flex;
  justify-content: space-around;
  padding: 16px;
  margin: 0 16px 4px;
  background: linear-gradient(135deg, rgba(201,162,39,.04), rgba(255,255,255,.02));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,162,39,.06);
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.trust-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  position: relative;
}

.trust-badge-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,.15);
}

.trust-badge-item span:first-of-type {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
}

.trust-badge-item span:last-of-type {
  font-size: 9px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* --- Lifestyle / Inspiration Cards --- */
.inspiration-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 8px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.inspiration-scroll::-webkit-scrollbar { display: none; }

.inspiration-card {
  flex-shrink: 0;
  width: 220px;
  height: 140px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform .2s;
  border: 1px solid rgba(255,255,255,.04);
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}

.inspiration-card:active {
  transform: scale(.97);
}

.inspiration-card-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform .4s;
}

.inspiration-card:active .inspiration-card-bg {
  transform: scale(1.05);
}

.inspiration-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}

.inspiration-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 600;
  background: rgba(201,162,39,.85);
  color: #000;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  letter-spacing: .5px;
}

.inspiration-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

.inspiration-card-sub {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
}

/* --- Premium Recommend V2 --- */
.recommend-scroll {
  padding: 0 16px 8px;
}

.rec-card {
  width: 190px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}

.rec-cover {
  height: 115px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.rec-reason-tag {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.rec-info {
  padding: 10px 12px 12px;
}

.rec-price {
  color: var(--gold);
  font-size: 15px;
}

/* Discover Page */
.page-top-bar {
  padding: calc(var(--safe-top) + 14px) 16px 14px;
  background: var(--bg-primary);
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-top-bar h3 {
  font-size: 20px;
  font-weight: 700;
}

.discover-search-mini {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
}
.discover-search-mini:active {
  background: var(--bg-elevated);
  color: var(--gold);
}

.filter-tabs {
  display: flex;
  padding: 0 16px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 8px;
}

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

.filter-tab {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-card);
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}

.filter-tab.active {
  background: var(--gold);
  color: #000;
  font-weight: 600;
}

.filter-tab:active {
  transform: scale(0.95);
}

/* Discover sub-bar: dest quick-filter + sort */
.discover-sub-bar {
  display: flex;
  align-items: center;
  padding: 0 16px 10px;
  gap: 8px;
}
.dest-filter-scroll {
  flex: 1;
  display: flex;
  overflow-x: auto;
  gap: 6px;
  -webkit-overflow-scrolling: touch;
}
.dest-filter-scroll::-webkit-scrollbar { display: none; }
.dest-chip {
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 11px;
  color: var(--text-secondary);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}
.dest-chip.active {
  background: rgba(201,162,39,.15);
  color: var(--gold);
  border-color: rgba(201,162,39,.3);
  font-weight: 600;
}
.dest-chip:active { transform: scale(0.95); }
.sort-toggle {
  width: 32px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all .2s;
}
.sort-toggle.active {
  color: var(--gold);
  border-color: rgba(201,162,39,.3);
}

.discover-list {
  padding: 0 16px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.discover-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s;
}

.discover-card:active {
  transform: scale(0.97);
}

.discover-card-img {
  height: 120px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.discover-card-body {
  padding: 10px;
  min-height: 124px;
  display: flex;
  flex-direction: column;
}

.discover-card-body h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
  min-height: 34px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.discover-card-body .dc-price {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: auto;
}

.discover-card-body .dc-price em {
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  font-style: normal;
}

/* Discover card tier & tags */
.dc-tier {
  position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: 12px;
  font-size: 10px; font-weight: 600; letter-spacing: .3px;
  backdrop-filter: blur(8px); box-shadow: 0 2px 6px rgba(0,0,0,.3);
}
.dc-tier-easy { background: rgba(52,152,219,.8); color: #fff; }
.dc-tier-quality { background: rgba(184,134,11,.8); color: #fff; }
.dc-tier-premium { background: rgba(192,57,43,.85); color: #fff; }
.dc-tags { display: flex; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
.dc-tag {
  font-size: 10px; padding: 2px 8px; border-radius: 10px;
  background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.15);
  color: var(--gold); letter-spacing: .2px;
}

/* AI Chat Page */
.page-ai {
  display: flex;
  flex-direction: column;
}

.ai-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--safe-top) + 14px) 16px 14px;
  background: var(--bg-primary);
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.ai-top-bar h3 {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-top-bar h3 i {
  color: var(--accent);
}

.ai-new-chat {
  padding: 6px 12px;
  border-radius: 20px;
  background: var(--glass-strong);
  border: none;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-new-chat:active {
  transform: scale(0.95);
}

.ai-chat-area {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}

.ai-welcome {
  text-align: center;
  padding: 40px 16px 20px;
}

.ai-welcome-avatar {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin: 0 auto 16px;
}

.ai-welcome h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.ai-welcome p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.ai-quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.ai-quick-questions button {
  padding: 8px 14px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ai-quick-questions button i {
  color: var(--gold);
  font-size: 11px;
}

.ai-quick-questions button:active {
  transform: scale(0.95);
  border-color: var(--gold);
  color: var(--gold);
}

/* Chat Messages */
.chat-msg {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  animation: msgIn .3s ease;
}

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

.chat-msg.user {
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.chat-msg.ai .chat-avatar {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: #fff;
}

.chat-msg.user .chat-avatar {
  background: var(--gold);
  color: #000;
}

.chat-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.7;
  word-break: break-word;
}

.chat-msg.ai .chat-bubble {
  background: var(--bg-card);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-bubble {
  background: var(--gold);
  color: #000;
  border-bottom-right-radius: 4px;
}

.chat-bubble .chat-time {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.chat-msg.user .chat-bubble .chat-time {
  color: rgba(0,0,0,.4);
}

/* Markdown in chat */
.chat-bubble p { margin: 0 0 6px; }
.chat-bubble p:last-child { margin-bottom: 0; }
.chat-bubble strong { color: var(--gold); font-weight: 600; }
.chat-msg.user .chat-bubble strong { color: #000; }
.chat-bubble ul, .chat-bubble ol { margin: 4px 0; padding-left: 18px; }
.chat-bubble li { margin-bottom: 3px; }
.chat-bubble code { background: rgba(255,255,255,.06); padding: 1px 5px; border-radius: 4px; font-size: 12px; }
.chat-bubble pre { overflow-x: auto; margin: 6px 0; }
.chat-bubble pre code { display: block; padding: 8px; background: rgba(0,0,0,.3); border-radius: 6px; }
.chat-bubble table { width: 100%; border-collapse: collapse; margin: 6px 0; font-size: 12px; }
.chat-bubble th, .chat-bubble td { padding: 4px 8px; border: 1px solid var(--border); text-align: left; }
.chat-bubble th { background: var(--glass-strong); font-weight: 600; }

/* Typing indicator */
.typing-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

.typing-status .typing-indicator {
  padding: 0;
}

.typing-text {
  font-size: 13px;
  color: var(--accent);
  animation: typingTextPulse 2s ease-in-out infinite;
  white-space: nowrap;
}

.typing-text::after {
  content: '';
  animation: typingEllipsis 1.5s steps(3, end) infinite;
}

@keyframes typingTextPulse {
  0%, 100% { opacity: .6; }
  50% { opacity: 1; }
}

@keyframes typingEllipsis {
  0% { content: ''; }
  33% { content: '.'; }
  66% { content: '..'; }
  100% { content: '...'; }
}

.typing-indicator {
  display: flex;
  gap: 5px;
  padding: 12px 14px;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: typingBounce 1s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: .15s; }
.typing-dot:nth-child(3) { animation-delay: .3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .35; }
  30% { transform: translateY(-8px); opacity: 1; }
}

/* AI Input Bar */
.ai-input-bar {
  padding: 8px 16px 12px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.ai-input-wrap {
  display: flex;
  gap: 8px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 4px 4px 4px 16px;
  align-items: center;
  position: relative;
}

.ai-char-count {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  user-select: none;
  min-width: 36px;
  text-align: right;
}

.ai-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 15px;
  padding: 8px 0;
  min-width: 0;
}

.ai-input-wrap input::placeholder {
  color: var(--text-muted);
}

.ai-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  color: #000;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}

.ai-send-btn:active {
  transform: scale(0.9);
}

.ai-send-btn:disabled {
  opacity: .4;
}

/* Mine Page */

/* 我的Tab - 未登录登录页覆盖 */
.mine-login-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  overflow-y: auto;
}
.mine-login-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(201,162,39,.12) 0%, transparent 70%);
  pointer-events: none;
}
.mine-login-card {
  position: relative;
  text-align: center;
  max-width: 340px;
  width: 100%;
}
.mine-login-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  color: #fff;
  box-shadow: 0 8px 30px rgba(201,162,39,.3);
}
.mine-login-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.mine-login-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.mine-login-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.mine-login-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.mine-login-feat i {
  font-size: 18px;
  color: var(--gold);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
.mine-login-feat span {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}
.mine-login-btn {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(201,162,39,.3);
  transition: transform .2s, box-shadow .2s;
}
.mine-login-btn:active {
  transform: scale(0.97);
}
.mine-login-tip {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.mine-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: calc(var(--safe-top) + 24px) 16px 20px;
  background: linear-gradient(180deg, rgba(201,162,39,.08) 0%, transparent 100%);
}

.mine-avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #000;
  flex-shrink: 0;
}

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

.mine-info h3 {
  font-size: 18px;
  font-weight: 700;
}

.mine-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.mine-settings-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glass-strong);
  border: none;
  color: var(--text-secondary);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mine-orders-overview {
  display: flex;
  justify-content: space-around;
  padding: 16px;
  margin: 0 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
}

.mine-order-item {
  text-align: center;
  cursor: pointer;
  transition: transform .2s;
}

.mine-order-item:active {
  transform: scale(0.9);
}

.mine-order-count {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 2px;
}

.mine-order-item span {
  font-size: 11px;
  color: var(--text-muted);
}

.mine-menu-list {
  margin: 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
  margin-bottom: 24px;
}

.mine-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .2s;
}

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

.mine-menu-item:active {
  background: var(--glass);
}

.mine-menu-item i {
  font-size: 16px;
  color: var(--text-muted);
  width: 20px;
  text-align: center;
}

.mine-menu-item span {
  flex: 1;
  font-size: 14px;
}

.mine-menu-item .arr {
  font-size: 12px;
  color: var(--text-muted);
}

.mine-menu-badge {
  background: linear-gradient(135deg, #f5576c, #ff6b6b);
  color: #fff; font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px; line-height: 18px;
  border-radius: 9px; text-align: center; padding: 0 5px;
  margin-right: 4px;
}

/* Sub Page Overlay */
.sub-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 300;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.25,.8,.25,1);
}

.sub-page.show {
  transform: translateX(0);
}

.sub-page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(var(--safe-top) + 10px) 16px 10px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.sub-back-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--glass-strong);
  border: none;
  color: var(--text-primary);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sub-back-btn:active {
  transform: scale(0.9);
}

.sub-page-header h3 {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sub-page-right {
  width: 32px;
}

.sub-page-body {
  height: calc(100vh - var(--safe-top) - 52px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
}

/* Detail page content */
/* ===== Detail Page — Redesigned v2 ===== */
.detail-hero {
  height: 280px;
  margin-bottom: 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border-radius: 0;
}
.detail-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0) 30%, rgba(10,10,15,.75) 70%, rgba(10,10,15,1) 100%);
  pointer-events: none;
}
.detail-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.08) 0%, transparent 50%);
  pointer-events: none;
}
.detail-hero-tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 5px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), #e6c44a);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
  box-shadow: 0 2px 12px rgba(201,162,39,.4);
  z-index: 2;
}
.detail-hero-info {
  position: relative;
  z-index: 2;
  padding: 20px;
  width: 100%;
}
.detail-hero-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  letter-spacing: .3px;
}
.detail-hero-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  flex-wrap: wrap;
}
.detail-hero-sub i { font-size: 11px; }
.detail-hero-sub .hero-divider {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
}

/* 价格卡片区 */
.detail-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  margin: 0 0 4px;
  background: linear-gradient(135deg, rgba(201,162,39,.08), rgba(201,162,39,.03));
  border-bottom: 1px solid rgba(201,162,39,.1);
}
.detail-price-main {
  display: flex; align-items: baseline; gap: 4px;
}
.detail-price-symbol {
  font-size: 14px; font-weight: 600; color: var(--gold);
}
.detail-price-num {
  font-size: 28px; font-weight: 800;
  background: linear-gradient(135deg, #e8d48b, #c9a227);
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.5px;
}
.detail-price-unit {
  font-size: 12px; color: var(--text-muted); margin-left: 2px;
}
.detail-quick-stats {
  display: flex; gap: 16px;
}
.detail-quick-stat {
  text-align: center;
}
.detail-quick-stat-val {
  font-size: 15px; font-weight: 700; color: var(--text-primary);
}
.detail-quick-stat-label {
  font-size: 10px; color: var(--text-muted); margin-top: 1px;
}

/* 统计三格 — 紧凑卡片 */
.detail-stats {
  display: flex;
  gap: 10px;
  margin: 0 16px 16px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.detail-stat {
  text-align: center;
  flex: 1;
  padding: 14px 8px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.detail-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 0 0 2px 2px;
}
.detail-stat-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.detail-stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Detail Title (non-hero fallback) */
.detail-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.detail-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* 内容区块 */
.detail-section {
  margin: 0 16px 20px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
/* Premium 内容区块 — 高级版 */
.detail-section.detail-section-premium {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(201,162,39,.12);
  background: linear-gradient(180deg, rgba(201,162,39,.03) 0%, var(--bg-card) 80px);
  margin-bottom: 16px;
}
.detail-section.detail-section-premium + .detail-section.detail-section-premium {
  margin-top: -4px;
}
.detail-section.detail-section-premium h4::before { display: none; }
/* premium 区块间微妙装饰线 */
.detail-section.detail-section-premium::after {
  content: '';
  display: block;
  height: 1px;
  margin: 0 18px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.1), transparent);
}

/* Premium Section Header */
.section-header-premium {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 12px;
}
.section-header-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(201,162,39,.15), rgba(201,162,39,.05));
  border: 1px solid rgba(201,162,39,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.section-header-icon i {
  font-size: 16px;
  background: linear-gradient(135deg, #e8d48b, #c9a227);
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-header-text h4 {
  font-size: 15px; font-weight: 700;
  color: var(--text-primary);
  margin: 0; padding: 0; border: none;
}
.section-header-text .section-header-desc {
  font-size: 11px; color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: .3px;
}
/* Section Header Badge */
.section-header-badge {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201,162,39,.12), rgba(201,162,39,.04));
  border: 1px solid rgba(201,162,39,.15);
  font-size: 10px;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  letter-spacing: .3px;
  flex-shrink: 0;
}

/* 行程简介 — 引言式 */
.detail-desc-quote {
  position: relative;
  padding: 0 18px 16px;
}
.desc-quote-mark {
  position: absolute;
  top: -8px; left: 14px;
  font-size: 48px;
  font-family: Georgia, serif;
  line-height: 1;
  background: linear-gradient(135deg, rgba(201,162,39,.3), rgba(201,162,39,.08));
  background-clip: text; -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  pointer-events: none;
  user-select: none;
}
.detail-desc-quote p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.9;
  position: relative;
  z-index: 1;
  margin: 0;
}

/* 行程亮点 — 编号标签 */
.detail-highlights-premium {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 18px;
}
.highlight-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  color: var(--text-secondary);
  transition: all .2s;
}
.highlight-chip-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,162,39,.2), rgba(201,162,39,.08));
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.detail-section h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-left: 0;
  border-left: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
}
.detail-section h4::before {
  content: '';
  display: inline-block;
  width: 3px; height: 16px;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  border-radius: 2px;
  flex-shrink: 0;
}
.detail-section p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.85;
}

.detail-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
}

.detail-highlight-item i {
  color: var(--gold);
  font-size: 14px;
  width: 20px;
  text-align: center;
}

.detail-highlight-item span {
  font-size: 13px;
  color: var(--text-secondary);
}

.detail-cta {
  width: 100%;
  padding: 14px;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  margin-top: 10px;
}

.detail-cta:active {
  transform: scale(0.98);
  opacity: .9;
}

/* Detail Bottom Bar — Redesigned v2 */
.detail-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 10, 15, .95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(201, 162, 39, .1);
  z-index: 100;
}
.detail-bottom-left {
  display: flex;
  gap: 6px;
}
.detail-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  position: relative;
}
.detail-icon-btn:active {
  transform: scale(0.9);
  background: rgba(255,255,255,.08);
}
.detail-icon-btn.active {
  color: #f5576c;
}
.detail-bottom-actions {
  flex: 1;
  display: flex;
  gap: 8px;
}
.detail-cta-consult {
  flex: 0 0 auto;
  padding: 0 18px;
  height: 44px;
  border-radius: 22px;
  border: 1.5px solid rgba(201,162,39,.4);
  background: rgba(201,162,39,.08);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .2s;
  letter-spacing: .3px;
}
.detail-cta-consult:active {
  transform: scale(0.96);
  background: rgba(201,162,39,.18);
}
.detail-cta-book {
  flex: 1;
  height: 44px;
  background: linear-gradient(135deg, #d4af37, #f0d060);
  color: #000;
  border: none;
  border-radius: 22px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .15s;
  box-shadow: 0 4px 16px rgba(201,162,39,.3);
  letter-spacing: .5px;
}
.detail-cta-book:active { transform: scale(.97); box-shadow: 0 2px 8px rgba(201,162,39,.2); }

/* Order list */
.order-list-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 10px;
}

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

.order-list-id {
  font-size: 12px;
  color: var(--text-muted);
}

.order-status {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}

.order-status.pending { background: rgba(253,160,133,.15); color: var(--warning); }
.order-status.confirmed { background: rgba(67,233,123,.15); color: var(--success); }
.order-status.traveling { background: rgba(102,126,234,.15); color: var(--accent); }
.order-status.completed { background: rgba(201,162,39,.15); color: var(--gold); }
.order-status.cancelled { background: rgba(245,87,108,.15); color: var(--danger); }

.order-list-dest {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.order-list-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Chat history list */
.chat-history-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform .2s;
}

.chat-history-item:active {
  transform: scale(0.98);
}

.chat-history-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.chat-history-preview {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.chat-history-count {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* TabBar */
.tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--tabbar-height) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: rgba(18,18,26,.95);
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.tabbar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 10px;
  transition: color .2s;
  -webkit-tap-highlight-color: transparent;
  padding-top: 6px;
}

.tabbar-item i {
  font-size: 20px;
  transition: all .2s;
}

.tabbar-item.active {
  color: var(--gold);
}

.tabbar-item.active i {
  transform: scale(1.1);
}

.tabbar-center {
  position: relative;
}

.tabbar-ai-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  margin-top: -18px;
  box-shadow: 0 4px 15px rgba(102,126,234,.4);
  transition: transform .2s;
}

.tabbar-center:active .tabbar-ai-btn {
  transform: scale(0.9);
}

.tabbar-center span {
  margin-top: -2px;
}

.tabbar-center.active .tabbar-ai-btn {
  box-shadow: 0 4px 20px rgba(201,162,39,.5);
}

/* Toast */
.h5-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(0,0,0,.85);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 13px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
  backdrop-filter: blur(10px);
  max-width: 80%;
  text-align: center;
}

.h5-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 48px;
  color: var(--text-muted);
  margin-bottom: 12px;
  opacity: .3;
  display: block;
}

.empty-state p {
  font-size: 14px;
  color: var(--text-muted);
}

/* About Page */
.about-content {
  text-align: center;
  padding: 20px 0;
}

.about-logo {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #000;
  margin: 0 auto 16px;
}

.about-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-ver {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  text-align: left;
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

/* Contact Card */
.contact-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}

.contact-card i {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 10px;
}

.contact-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 13px;
  color: var(--text-muted);
}

.contact-card .contact-phone {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  border-radius: 20px;
  background: var(--gold);
  color: #000;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* Settings */
.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

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

.settings-label {
  font-size: 14px;
}

.settings-value {
  font-size: 13px;
  color: var(--text-muted);
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp .4s ease both; }
.fade-up-d1 { animation-delay: .05s; }
.fade-up-d2 { animation-delay: .1s; }
.fade-up-d3 { animation-delay: .15s; }
.fade-up-d4 { animation-delay: .2s; }

/* Splash Screen */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, transform .5s ease;
}

.splash-screen.hide {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.splash-logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #000;
  margin-bottom: 16px;
  animation: splashPulse 1.5s ease infinite;
}

@keyframes splashPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201,162,39,.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 30px 10px rgba(201,162,39,.15); }
}

.splash-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 6px;
}

.splash-sub {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

/* Responsive: larger phones */
@media (min-width: 414px) {
  .banner-swiper { height: 185px; }
  .quick-icon { width: 52px; height: 52px; font-size: 22px; }
  .dest-card-h { min-width: 155px; max-width: 155px; }
  .dest-card-img { height: 110px; }
  .package-img { height: 145px; }
}

/* Tablet / wide mobile */
@media (min-width: 600px) {
  .banner-swiper { height: 220px; }
  .package-list { display: grid; grid-template-columns: 1fr 1fr; }
  .discover-list { grid-template-columns: 1fr 1fr 1fr; }
}

/* ===== Favorite Button ===== */
.fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
  z-index: 2;
}
.fav-btn.active {
  color: #f5576c;
  background: rgba(245,87,108,.15);
}
.fav-btn:active { transform: scale(.85); }

.detail-fav-btn {
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  font-size: 18px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  z-index: 3;
}

.discover-card-img { position: relative; }

/* ===== Discover Card Meta ===== */
.dc-meta {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.dc-meta span { display: flex; align-items: center; gap: 3px; }

/* ===== Login Container ===== */
.login-container {
  padding: 30px 20px;
  text-align: center;
}
.login-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: #fff;
}
.login-title {
  color: var(--text-primary);
  font-size: 20px;
  margin-bottom: 6px;
}
.login-subtitle {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 28px;
}
.login-form {
  max-width: 320px;
  margin: 0 auto;
}
.login-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 14px;
  margin-bottom: 14px;
  height: 48px;
  transition: border-color .3s;
}
.login-field:focus-within {
  border-color: var(--gold);
}
.login-field i {
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
}
.login-field input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
  min-width: 0;
}
.login-field input::placeholder { color: var(--text-muted); }
.login-code-field { position: relative; }
.login-code-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
  white-space: nowrap;
}
.login-code-btn:disabled { color: var(--text-muted); }
.login-tip {
  font-size: 11px;
  color: var(--text-muted);
  text-align: left;
  margin-bottom: 20px;
}
.login-tip i { margin-right: 4px; }
.login-submit-btn {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity .3s;
}
.login-submit-btn:active { opacity: .8; }

/* ===== Itinerary Timeline — Redesigned v2 (保留兼容) ===== */
.detail-itinerary {
  position: relative;
  padding-left: 24px;
}
.detail-itinerary::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(201,162,39,.2));
  border-radius: 1px;
}
.itinerary-item {
  position: relative;
  padding: 10px 0 10px 16px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.itinerary-dot {
  position: absolute;
  left: -22px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--bg-card);
  z-index: 1;
  box-shadow: 0 0 0 3px rgba(201,162,39,.15);
}
.itinerary-item:first-child .itinerary-dot {
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(67,233,123,.15);
}
.itinerary-item:last-child .itinerary-dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(102,126,234,.15);
}

/* ===== Itinerary V2 — Premium Card Style ===== */
.detail-itinerary-v2 {
  padding: 0 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.itin-card {
  border-radius: 12px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  transition: all .2s;
}
.itin-card:first-child {
  border-color: rgba(46,204,113,.15);
  background: linear-gradient(135deg, rgba(46,204,113,.04), transparent);
}
.itin-card:last-child {
  border-color: rgba(102,126,234,.15);
  background: linear-gradient(135deg, rgba(102,126,234,.04), transparent);
}
.itin-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 0;
}
.itin-day-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(201,162,39,.18), rgba(201,162,39,.06));
  border: 1px solid rgba(201,162,39,.2);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.itin-card:first-child .itin-day-badge {
  background: linear-gradient(135deg, rgba(46,204,113,.18), rgba(46,204,113,.06));
  border-color: rgba(46,204,113,.25);
  color: #43e97b;
}
.itin-card:last-child .itin-day-badge {
  background: linear-gradient(135deg, rgba(102,126,234,.18), rgba(102,126,234,.06));
  border-color: rgba(102,126,234,.25);
  color: #667eea;
}
.itin-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,162,39,.15), transparent);
}
.itin-card:first-child .itin-line { background: linear-gradient(90deg, rgba(46,204,113,.15), transparent); }
.itin-card:last-child .itin-line { background: linear-gradient(90deg, rgba(102,126,234,.15), transparent); }
.itin-card-body {
  padding: 10px 14px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.itin-card-body .itin-desc-line {
  margin-bottom: 4px;
}
.itin-card-body .itin-meta {
  margin-top: 8px;
  padding: 6px 10px;
  background: rgba(102,126,234,.06);
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-tertiary, #999);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== Logout Button ===== */
.logout-btn {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--danger);
  border-radius: var(--radius-md);
  background: rgba(245,87,108,.08);
  color: var(--danger);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .3s;
}
.logout-btn:active { background: rgba(245,87,108,.2); }

/* ===== Phase 9: Pull-to-Refresh ===== */
.pull-refresh {
  text-align: center;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s, padding .3s;
  color: var(--text-muted);
  font-size: 12px;
}
.pull-refresh.active {
  max-height: 50px;
  padding: 14px 0;
}
.pull-refresh i { margin-right: 6px; }

/* ===== Phase 9: Image Lazy Load + Skeleton ===== */
.lazy-img {
  background: linear-gradient(110deg, var(--bg-card) 8%, var(--bg-elevated) 18%, var(--bg-card) 33%);
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
}
.lazy-img.loaded {
  animation: none;
  background: none;
}
@keyframes shimmer {
  to { background-position-x: -200%; }
}

/* ===== Phase 9: Share Sheet ===== */
.share-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--bg-elevated);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 24px 20px calc(20px + var(--safe-bottom));
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.share-sheet.show { transform: translateY(0); }
.share-sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0,0,0,.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.share-sheet-mask.show { opacity: 1; pointer-events: auto; }
.share-sheet-title {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.share-sheet-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}
.share-sheet-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.share-sheet-item .share-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
}
.share-sheet-item span {
  font-size: 11px;
  color: var(--text-secondary);
}
.share-sheet-cancel {
  text-align: center;
  padding: 14px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
}
.share-sheet-cancel:active { background: var(--glass); }

/* ===== Phase 9: Skeleton Cards ===== */
.skeleton-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.skeleton-bar {
  background: linear-gradient(110deg, var(--bg-card) 8%, var(--bg-elevated) 18%, var(--bg-card) 33%);
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
  border-radius: 6px;
}

/* ===== Phase 9: Destination Detail Page ===== */
.dest-detail-hero {
  height: 220px;
  position: relative;
}
.dest-detail-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}
.dest-detail-hero-overlay h2 {
  font-size: 22px;
  font-weight: 700;
}
.dest-detail-hero-overlay p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}
.dest-detail-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
}
.dest-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 14px;
}
.dest-info-card h5 {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.dest-info-card p {
  font-size: 13px;
  color: var(--text-primary);
}
.dest-detail-section {
  padding: 16px;
}
.dest-detail-section h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gold);
}
.dest-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dest-tag {
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--glass-strong);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-secondary);
}
.dest-highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-secondary);
}
.dest-highlight-item i { color: var(--gold); font-size: 12px; }
.dest-packages-title {
  font-size: 14px;
  font-weight: 600;
  padding: 16px 16px 8px;
  color: var(--text-primary);
}

/* ===== 预约咨询表单 (Phase 10) ===== */
.consult-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.consult-overlay.active { opacity: 1; }
.consult-overlay.active .consult-form-box {
  transform: translateY(0);
}
.consult-form-box {
  width: 100%; max-width: 500px;
  background: var(--bg-card, #1e1e2e);
  border-radius: 20px 20px 0 0;
  padding: 20px 20px calc(env(safe-area-inset-bottom, 16px) + 16px);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.consult-form-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.consult-form-header h3 {
  font-size: 17px; font-weight: 700; color: var(--text-primary);
}
.consult-close-btn {
  background: none; border: none; color: var(--text-secondary);
  font-size: 18px; padding: 6px; cursor: pointer;
}
.consult-pkg-info {
  background: rgba(201,162,39,.08);
  border: 1px solid rgba(201,162,39,.15);
  border-radius: 10px; padding: 10px 14px;
  font-size: 13px; color: var(--gold);
  margin-bottom: 16px;
}
.consult-form-body { display: flex; flex-direction: column; gap: 12px; }
.consult-field label {
  display: block; font-size: 12px; color: var(--text-secondary);
  margin-bottom: 4px; font-weight: 500;
}
.consult-field input, .consult-field textarea {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--border, rgba(255,255,255,.1));
  background: var(--bg-main, #0f0f1a); color: var(--text-primary);
  font-size: 14px; outline: none; box-sizing: border-box;
}
.consult-field input:focus, .consult-field textarea:focus {
  border-color: var(--gold);
}
.consult-row { display: flex; gap: 12px; }
.consult-submit-btn {
  margin-top: 16px; width: 100%;
  padding: 13px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), #d4a839);
  color: #1a1a2e; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: opacity .2s;
}
.consult-submit-btn:disabled { opacity: .6; }

/* ===== 推荐加购项 (Phase 11.1) ===== */
.addon-section-title {
  font-size: 15px; font-weight: 700; color: var(--gold);
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.addon-section-title i { font-size: 14px; }
.addon-cards { display: flex; flex-direction: column; gap: 10px; }
.addon-card {
  display: block; cursor: pointer; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.addon-card-inner {
  display: flex; align-items: center; gap: 12px;
  background: var(--glass, rgba(255,255,255,.04));
  border: 1.5px solid var(--border, rgba(255,255,255,.08));
  border-radius: 14px; padding: 10px 12px;
  transition: border-color .2s, background .2s;
}
.addon-card input:checked ~ .addon-card-inner {
  border-color: var(--gold);
  background: rgba(201,162,39,.06);
}
.addon-card-img {
  width: 52px; height: 52px; flex: 0 0 52px;
  border-radius: 10px; background: var(--bg-card, #1e1e2e) center/cover no-repeat;
}
.addon-card-body { flex: 1; min-width: 0; }
.addon-card-title {
  font-size: 14px; font-weight: 600; color: var(--text-primary);
  display: flex; align-items: center; gap: 6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.addon-badge {
  font-size: 10px; padding: 1px 6px; border-radius: 6px;
  background: linear-gradient(135deg, var(--gold), #d4a839);
  color: #1a1a2e; font-weight: 700; white-space: nowrap;
}
.addon-card-meta {
  font-size: 11px; color: var(--text-secondary); margin-top: 2px;
}
.addon-card-desc {
  font-size: 11px; color: var(--text-secondary); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.addon-card-price {
  font-size: 15px; font-weight: 700; color: var(--gold); margin-top: 3px;
}
.addon-card-price span { font-size: 11px; font-weight: 400; color: var(--text-secondary); }
.addon-card-check {
  flex: 0 0 auto; font-size: 20px;
  color: rgba(255,255,255,.12); transition: color .2s;
}
.addon-card input:checked ~ .addon-card-inner .addon-card-check {
  color: var(--gold);
}

/* ===== Phase 11.3: 我的预约/服务 ===== */
.consult-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  position: relative;
  cursor: pointer;
  transition: transform .15s;
}
.consult-card:active { transform: scale(.98); }
.consult-card-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.consult-card-pkg {
  font-size: 15px; font-weight: 600; color: var(--text-primary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; margin-right: 8px;
}
.consult-card-status {
  font-size: 11px; padding: 2px 10px; border-radius: 20px; white-space: nowrap; font-weight: 500;
}
.consult-card-status.pending { background: rgba(253,160,133,.15); color: #fda085; }
.consult-card-status.processing, .consult-card-status.contacted { background: rgba(102,126,234,.15); color: #667eea; }
.consult-card-status.confirmed { background: rgba(67,233,123,.15); color: #43e97b; }
.consult-card-status.cancelled { background: rgba(245,87,108,.15); color: #f5576c; }

.consult-card-meta {
  display: flex; gap: 14px; font-size: 12px; color: var(--text-muted); margin-bottom: 8px;
}
.consult-card-meta i { margin-right: 3px; }

.consult-card-progress {
  display: flex; gap: 0; margin: 12px 0 6px; position: relative;
}
.consult-card-progress::before {
  content: ''; position: absolute; top: 50%; left: 6px; right: 6px;
  height: 2px; background: rgba(255,255,255,.06); transform: translateY(-50%);
}
.consult-progress-step {
  flex: 1; text-align: center; position: relative; z-index: 1;
}
.consult-progress-dot {
  width: 10px; height: 10px; border-radius: 50%; margin: 0 auto 4px;
  background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.15);
  transition: all .3s;
}
.consult-progress-step.done .consult-progress-dot {
  background: var(--gold); border-color: var(--gold);
  box-shadow: 0 0 6px rgba(201,162,39,.4);
}
.consult-progress-step.active .consult-progress-dot {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 8px rgba(102,126,234,.5);
  animation: progressPulse 2s ease infinite;
}
@keyframes progressPulse {
  0%, 100% { box-shadow: 0 0 4px rgba(102,126,234,.4); }
  50% { box-shadow: 0 0 12px rgba(102,126,234,.8); }
}
.consult-progress-label {
  font-size: 9px; color: var(--text-muted); line-height: 1.2;
}
.consult-progress-step.done .consult-progress-label,
.consult-progress-step.active .consult-progress-label { color: var(--text-secondary); }

.consult-card-remark {
  background: rgba(201,162,39,.06); border-radius: 8px; padding: 8px 12px; margin-top: 8px;
  font-size: 12px; color: var(--text-secondary); line-height: 1.5;
}
.consult-card-remark i { color: var(--gold); margin-right: 4px; }

.consult-card-time {
  font-size: 11px; color: var(--text-muted); margin-top: 8px; text-align: right;
}

/* 咨询详情页 */
.cd-pkg-card {
  background: linear-gradient(135deg, rgba(201,162,39,.08), rgba(102,126,234,.06));
  border-radius: var(--radius-md); padding: 14px; margin-bottom: 16px;
  display: flex; gap: 12px; align-items: center;
}
.cd-pkg-cover {
  width: 80px; height: 60px; border-radius: 8px; background-size: cover; background-position: center;
  flex-shrink: 0;
}
.cd-pkg-info { flex: 1; min-width: 0; }
.cd-pkg-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.cd-pkg-meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 10px; }

.cd-info-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px;
}
.cd-info-item {
  background: var(--bg-card); border-radius: 8px; padding: 10px 12px;
}
.cd-info-label { font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }
.cd-info-value { font-size: 14px; font-weight: 500; }

.cd-section-title {
  font-size: 14px; font-weight: 600; margin: 20px 0 10px; display: flex; align-items: center; gap: 6px;
}
.cd-section-title i { color: var(--gold); font-size: 13px; }

.cd-addon-list { display: flex; flex-direction: column; gap: 8px; }
.cd-addon-item {
  background: var(--bg-card); border-radius: 8px; padding: 10px 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.cd-addon-name { font-size: 13px; font-weight: 500; }
.cd-addon-price { font-size: 14px; font-weight: 700; color: var(--gold); }

.cd-notes-timeline { margin-bottom: 20px; }
.cd-note-item {
  display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.04);
}
.cd-note-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.cd-note-avatar.admin { background: rgba(102,126,234,.15); color: var(--accent); }
.cd-note-avatar.customer { background: rgba(67,233,123,.15); color: var(--success); }
.cd-note-avatar.system { background: rgba(255,255,255,.06); color: var(--text-muted); }
.cd-note-content { flex: 1; }
.cd-note-text { font-size: 13px; line-height: 1.5; }
.cd-note-time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.cd-msg-input-wrap {
  display: flex; gap: 8px; position: sticky; bottom: 0; padding: 12px 0;
  background: var(--bg-primary);
}
.cd-msg-input {
  flex: 1; background: var(--bg-card); border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 8px 14px; font-size: 13px;
  color: var(--text-primary); outline: none;
}
.cd-msg-input::placeholder { color: var(--text-muted); }
.cd-msg-input:focus { border-color: var(--gold); }
.cd-msg-send {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--gold), #d4a844);
  color: #000; font-size: 14px; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

.cd-ai-session-card {
  background: linear-gradient(135deg, rgba(102,126,234,.1), rgba(67,233,123,.06));
  border-radius: var(--radius-md); padding: 14px; margin-bottom: 16px; cursor: pointer;
  transition: transform .15s;
}
.cd-ai-session-card:active { transform: scale(.98); }
.cd-ai-session-card h4 { font-size: 14px; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.cd-ai-session-card h4 i { color: var(--accent); }
.cd-ai-session-card p { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }

/* ====== Phase 11.4 主题旅游产品化 ====== */

/* 主题标签 — 精致版 */
.detail-theme-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 14px 18px 6px;
  margin-bottom: 8px;
}
.theme-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(201,162,39,.1), rgba(201,162,39,.04));
  border: 1px solid rgba(201,162,39,.18);
  font-size: 11.5px;
  color: var(--gold);
  letter-spacing: .3px;
  position: relative;
  overflow: hidden;
  transition: all .2s;
}
.theme-tag::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(201,162,39,.08), transparent);
  opacity: 0;
  transition: opacity .2s;
}
.theme-tag:active::before { opacity: 1; }
.theme-tag i { font-size: 8px; opacity: .6; }

/* 档次徽章（已融入hero subtitle） */
.detail-tier-tag {
  display: none;
}

/* 透明信息区块 — 已废弃，保留兼容 */
.transparent-info-section { 
  border-top: none;
}
.transparent-info-section h4 {
  display: flex; align-items: center; gap: 8px;
}
.transparent-info-section h4 i {
  color: var(--gold); font-size: 14px;
}

/* 适合人群 */
.suitable-text {
  font-size: 14px; color: var(--text-secondary); line-height: 1.7;
  padding: 10px 14px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(212,175,55,.06), rgba(212,175,55,.02));
  border-left: 3px solid var(--gold);
}

/* ===== 服务保障 — Premium Grid ===== */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 18px 18px;
}
.guarantee-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  transition: all .2s;
}
.guarantee-card-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(46,204,113,.15), rgba(46,204,113,.05));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.guarantee-card-icon i {
  font-size: 13px;
  color: #43e97b;
}
.guarantee-card span {
  font-size: 12px;
  color: var(--text-primary);
  line-height: 1.4;
}
/* 旧版保障 — 保留兼容 */
.guarantee-items { display: flex; flex-wrap: wrap; gap: 8px; }
.guarantee-item {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  font-size: 13px; color: var(--text-primary);
}
.guarantee-item i { color: #2ecc71; font-size: 12px; flex-shrink: 0; }

/* ===== 费用说明 — 双栏对比 ===== */
.cost-compare {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 18px 18px;
}
.cost-column {
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.cost-column:last-child { margin-bottom: 0; }
.cost-included {
  background: linear-gradient(135deg, rgba(46,204,113,.06), rgba(46,204,113,.02));
  border: 1px solid rgba(46,204,113,.12);
}
.cost-excluded {
  background: linear-gradient(135deg, rgba(231,76,60,.06), rgba(231,76,60,.02));
  border: 1px solid rgba(231,76,60,.1);
}
.cost-column-header {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.cost-count {
  margin-left: auto;
  font-size: 10px;
  font-weight: 400;
  opacity: .6;
}
.cost-included .cost-column-header { color: #43e97b; }
.cost-excluded .cost-column-header { color: #f5576c; }
.cost-column-header i { font-size: 14px; }
.cost-column-list {
  display: flex; flex-direction: column; gap: 6px;
}
.cost-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--text-secondary);
  padding: 4px 0;
}
.cost-included .cost-item i { color: #43e97b; font-size: 10px; flex-shrink: 0; }
.cost-excluded .cost-item i { color: rgba(245,87,108,.6); font-size: 10px; flex-shrink: 0; }
/* 旧版费用列表 — 保留兼容 */
.inclusion-list { display: flex; flex-direction: column; gap: 6px; }
.inclusion-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 8px; font-size: 13px;
}
.inclusion-item.included {
  background: rgba(46,204,113,.05); color: var(--text-primary);
}
.inclusion-item.included i { color: #2ecc71; font-size: 12px; flex-shrink: 0; }
.inclusion-item.excluded {
  background: rgba(231,76,60,.05); color: var(--text-secondary);
}
.inclusion-item.excluded i { color: #e74c3c; font-size: 12px; flex-shrink: 0; }

/* ===== 退改规则 — 步骤式 ===== */
.refund-timeline {
  padding: 0 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.refund-timeline::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 18px;
  bottom: 18px;
  width: 1.5px;
  background: linear-gradient(180deg, rgba(201,162,39,.3), rgba(201,162,39,.08));
}
.refund-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  position: relative;
}
.refund-step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,162,39,.2), rgba(201,162,39,.08));
  border: 1.5px solid rgba(201,162,39,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.refund-step-text {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-top: 2px;
}
/* 退改底部提示 */
.refund-footer {
  padding: 10px 18px 16px;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,.04);
  margin: 0 18px;
  padding: 12px 0 16px;
}
.refund-footer i {
  font-size: 11px;
  color: rgba(201,162,39,.4);
  margin-top: 1px;
  flex-shrink: 0;
}
/* 旧版退改 — 保留兼容 */
.refund-policy { display: flex; flex-direction: column; gap: 6px; }
.refund-rule {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 6px 10px; font-size: 13px; color: var(--text-secondary); line-height: 1.5;
}
.refund-rule i { color: var(--gold); font-size: 11px; margin-top: 4px; flex-shrink: 0; }

/* 三档对比卡 */
.tier-compare-title {
  font-size: 16px; font-weight: 700; color: var(--text-primary);
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.tier-compare-title i { color: var(--gold); }
.tier-compare-subtitle {
  font-size: 12px; color: var(--text-secondary); margin-bottom: 16px;
}
.tier-compare-cards {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.tier-compare-cards::-webkit-scrollbar { height: 3px; }
.tier-compare-cards::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 4px; }

.tier-card {
  min-width: 220px; max-width: 260px; flex-shrink: 0;
  scroll-snap-align: start;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 18px 16px; cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.tier-card:active { transform: scale(.97); }
.tier-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--tier-color, #888);
}
.tier-card-current {
  border-color: var(--tier-color, var(--gold));
  background: linear-gradient(180deg, rgba(212,175,55,.06) 0%, rgba(255,255,255,.02) 100%);
  box-shadow: 0 4px 20px rgba(212,175,55,.1);
  cursor: default;
}
.tier-card-current-tag {
  position: absolute; top: 10px; right: -24px;
  background: var(--tier-color, var(--gold));
  color: #fff; font-size: 10px; font-weight: 600;
  padding: 2px 30px; transform: rotate(45deg);
}
.tier-card-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.tier-card-tier { font-size: 14px; font-weight: 700; }
.tier-card-title {
  font-size: 13px; font-weight: 600; color: var(--text-primary);
  margin-bottom: 10px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tier-card-price {
  font-size: 20px; font-weight: 800; color: var(--gold); margin-bottom: 4px;
}
.tier-card-price span { font-size: 12px; font-weight: 400; color: var(--text-secondary); }
.tier-card-duration {
  font-size: 12px; color: var(--text-secondary); margin-bottom: 12px;
  display: flex; align-items: center; gap: 4px;
}
.tier-card-highlights { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.tier-hl {
  font-size: 12px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px;
  line-height: 1.4;
}
.tier-hl i { font-size: 10px; flex-shrink: 0; }
.tier-card-action {
  font-size: 12px; color: var(--tier-color, var(--gold)); font-weight: 600;
  display: flex; align-items: center; gap: 4px; justify-content: center;
  padding-top: 10px; border-top: 1px solid rgba(255,255,255,.06);
}
.tier-card-action i { font-size: 10px; }

/* ===== H5 Calendar Price (Phase 11.5) ===== */
.h5cal-wrap {
  background: var(--glass-bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 16px; backdrop-filter: blur(10px);
}
.h5cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.h5cal-title { font-size: 14px; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; gap: 6px; }
.h5cal-title i { color: var(--gold); font-size: 13px; }
.h5cal-range { font-size: 12px; color: var(--gold); font-weight: 600; }
.h5cal-range i { margin-right: 3px; }
.h5cal-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 10px; }
.h5cal-nav-btn {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--glass-bg); color: var(--text-secondary); display: flex;
  align-items: center; justify-content: center; cursor: pointer; font-size: 11px;
}
.h5cal-nav-btn:active { background: rgba(201,162,39,.15); color: var(--gold); }
.h5cal-month { font-size: 14px; font-weight: 700; color: var(--text-primary); min-width: 90px; text-align: center; }
.h5cal-header { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-bottom: 4px; }
.h5cal-hd { text-align: center; font-size: 11px; color: var(--text-secondary); padding: 4px 0; font-weight: 600; }
.h5cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.h5cal-cell {
  aspect-ratio: 1 / 1; border-radius: 10px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 2px;
  background: rgba(255,255,255,.02); position: relative;
}
.h5cal-cell.h5cal-empty { background: transparent; }
.h5cal-cell.h5cal-has { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.h5cal-cell.h5cal-peak { border-color: rgba(201,162,39,.25); background: linear-gradient(135deg, rgba(201,162,39,.06), transparent); }
.h5cal-cell.h5cal-closed { opacity: .4; }
.h5cal-cell.h5cal-low::after {
  content: '紧'; position: absolute; top: 2px; right: 3px;
  font-size: 8px; color: #ef4444; font-weight: 700;
}
.h5cal-cell.h5cal-today .h5cal-day { color: var(--gold); font-weight: 700; }
.h5cal-day { font-size: 12px; color: var(--text-secondary); line-height: 1; }
.h5cal-p { font-size: 10px; font-weight: 700; color: var(--gold); margin-top: 2px; line-height: 1; }
.h5cal-cell.h5cal-closed .h5cal-p { color: var(--text-secondary); font-weight: 400; font-size: 9px; }
.h5cal-legend {
  display: flex; gap: 12px; justify-content: center; margin-top: 10px;
  font-size: 11px; color: var(--text-secondary);
}
.h5cal-legend span { display: flex; align-items: center; gap: 4px; }
.h5cal-note {
  text-align: center; font-size: 11px; color: var(--text-secondary);
  margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.04);
}
.h5cal-note i { color: var(--gold); margin-right: 3px; }

/* ===== 回到顶部按钮 ===== */
.back-to-top {
  position: fixed; right: 16px; bottom: 90px; z-index: 800;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,.08);
  color: var(--text-secondary); font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.back-to-top.show {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.back-to-top:active { color: var(--gold); transform: scale(.9); }

/* ===== 网络离线提示 ===== */
.offline-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff; font-size: 12px; font-weight: 600;
  text-align: center; padding: 6px 16px;
  transform: translateY(-100%); transition: transform .3s;
}
.offline-bar.show { transform: translateY(0); }

/* ===== 收藏数角标 (我的页) ===== */
.mine-menu-badge {
  background: rgba(201,162,39,.15); color: var(--gold);
  font-size: 11px; font-weight: 600; padding: 1px 8px;
  border-radius: 10px; margin-left: auto; margin-right: 8px;
}

/* ===== 关于页统计条 ===== */
.about-stats {
  display: flex; justify-content: center; gap: 24px;
  margin: 16px 0 20px; padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.about-stat-item { text-align: center; font-size: 11px; color: var(--text-secondary); }
.about-stat-num { font-size: 22px; font-weight: 700; color: var(--gold); line-height: 1.2; }

/* ===== 搜索历史 (Phase 12.2) ===== */
.search-history { padding: 0 16px 16px; }
.search-history-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-secondary); margin-bottom: 10px;
}
.search-history-clear {
  font-size: 12px; color: var(--gold); cursor: pointer; opacity: .7;
  transition: opacity .2s;
}
.search-history-clear:hover { opacity: 1; }
.search-history-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.search-history-tag {
  padding: 5px 14px; border-radius: 20px; font-size: 12px;
  background: rgba(255,255,255,.06); color: var(--text-primary);
  border: 1px solid rgba(255,255,255,.08); cursor: pointer;
  transition: all .2s;
}
.search-history-tag:hover { background: rgba(201,162,39,.1); border-color: rgba(201,162,39,.2); color: var(--gold); }

/* ===== 骨架屏 (Phase 12.2) ===== */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,.04) 25%, rgba(255,255,255,.08) 37%, rgba(255,255,255,.04) 63%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
.skeleton-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
}
.skeleton-card-img { height: 140px; }
.skeleton-card-body { padding: 12px; }
.skeleton-line { height: 14px; margin-bottom: 8px; border-radius: 4px; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w40 { width: 40%; }
.skeleton-line.w80 { width: 80%; }
.skeleton-price { height: 20px; width: 30%; border-radius: 4px; margin-top: 8px; }

/* ===== 动态 Banner 加载占位 ===== */
.banner-slide-loading {
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-secondary); opacity: .6;
}

/* ===== AI 聊天重试按钮 ===== */
.chat-retry-btn {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 14px;
  border: 1px solid var(--danger, #e74c3c);
  border-radius: 14px;
  background: transparent;
  color: var(--danger, #e74c3c);
  font-size: 12px;
  cursor: pointer;
  transition: all .2s;
  vertical-align: middle;
}
.chat-retry-btn:active {
  background: var(--danger, #e74c3c);
  color: #fff;
  transform: scale(.95);
}

/* ===== Phase 12.5 Enhancements ===== */

/* AI Chat Scroll-to-Bottom Button */
.chat-scroll-bottom {
  position: absolute;
  bottom: 60px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
  z-index: 10;
}
.chat-scroll-bottom.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.chat-scroll-bottom:active {
  transform: scale(.9);
}

/* Discover Load More Button */
.discover-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  margin: 8px 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--gold);
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
}
.discover-load-more:active {
  background: rgba(201,162,39,.1);
  transform: scale(.98);
}
.discover-load-more i {
  transition: transform .2s;
}
.discover-load-more:hover i {
  transform: translateY(2px);
}

/* Mine Stats Row */
.mine-stats-row {
  display: flex;
  justify-content: space-around;
  padding: 12px 16px;
  margin: 0 16px 8px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
}
.mine-stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mine-stat-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}
.mine-stat-item > span:last-child {
  font-size: 11px;
  color: var(--text-muted);
}

/* Search Suggestions */
.search-suggest-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.search-suggest-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  cursor: pointer;
  transition: background .15s;
}
.search-suggest-item:active {
  background: var(--glass-strong);
}

/* ===== Phase 12.6 新增样式 → Phase 16 升级 ===== */

/* 首页时段问候语 — now styled by Premium Greeting V2 above */
@keyframes greetingFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 套餐社交证明 — Phase 16 升级 */
.package-social-proof i {
  font-size: 9px;
}

/* 发现页已全部加载 */
.discover-all-loaded {
  text-align: center;
  padding: 20px 0;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.discover-all-loaded i {
  color: var(--success);
  font-size: 14px;
}

/* AI聊天时间分隔线 */
.chat-time-sep {
  text-align: center;
  padding: 12px 0 4px;
}
.chat-time-sep span {
  display: inline-block;
  padding: 2px 12px;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--glass);
  border-radius: 10px;
}

/* 热门搜索标签点击反馈 */
.search-hot-tags span:active {
  transform: scale(0.92);
  background: rgba(201,162,39,.25);
  transition: all .1s;
}

/* 收藏列表移除按钮 */
.fav-remove-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.25);
  color: #ef4444;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.fav-remove-btn:active {
  background: rgba(239,68,68,.3);
  transform: translateY(-50%) scale(.9);
}

/* Mine页最后登录时间 */
.mine-last-login {
  font-size: 11px !important;
  color: var(--text-muted) !important;
  margin-top: 2px;
}

/* ========== Phase 13 — 分享海报 & PWA ========== */

/* 海报生成按钮 — uses .detail-icon-btn now */

/* 海报弹窗 */
.poster-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.85);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .25s ease;
}
.poster-modal-content {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(201,162,39,.15);
}
.poster-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.poster-close-btn {
  width: 30px; height: 30px;
  border: none; background: rgba(255,255,255,.08);
  border-radius: 50%; color: var(--text-secondary);
  cursor: pointer; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.poster-img {
  width: 100%;
  border-radius: 10px;
  max-height: 60vh;
  object-fit: contain;
}
.poster-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.poster-save-btn, .poster-link-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.poster-save-btn {
  background: var(--accent);
  color: #000;
}
.poster-save-btn:active { opacity: .8; }
.poster-link-btn {
  background: rgba(201,162,39,.1);
  border: 1px solid rgba(201,162,39,.3);
  color: var(--accent);
}
.poster-link-btn:active { background: rgba(201,162,39,.2); }
.poster-tip {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* PWA 离线提示增强 */
.sw-update-bar {
  position: fixed;
  bottom: 80px; left: 16px; right: 16px;
  background: linear-gradient(135deg, #1a1a2e, #2a2a3e);
  border: 1px solid rgba(201,162,39,.3);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9000;
  font-size: 13px;
  color: var(--text-secondary);
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  animation: slideUp .3s ease;
}
.sw-update-bar button {
  padding: 6px 16px;
  border-radius: 20px;
  border: none;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
}

/* ========== Phase 14.3: 预订页 / 支付 / 订单 / 评价 ========== */

/* 预订页 */
.booking-page { padding: 16px; }
.booking-pkg-card {
  display: flex; gap: 12px; padding: 14px;
  background: rgba(255,255,255,.06); border-radius: 14px; margin-bottom: 16px;
}
.booking-pkg-img { width: 90px; height: 68px; border-radius: 10px; background-size: cover; background-position: center; flex-shrink: 0; }
.booking-pkg-info { flex: 1; min-width: 0; }
.booking-pkg-name { font-weight: 600; font-size: 15px; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking-pkg-meta { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }
.booking-pkg-price { font-size: 18px; font-weight: 700; color: var(--gold); margin-top: 6px; }
.booking-pkg-price span { font-size: 12px; font-weight: 400; color: var(--text-muted); }

.booking-section {
  background: rgba(255,255,255,.04); border-radius: 14px; padding: 16px; margin-bottom: 14px;
}
.booking-section h4 {
  font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 14px;
}
.booking-section h4 i { margin-right: 6px; color: var(--gold); }

.booking-field { margin-bottom: 12px; }
.booking-field label { font-size: 12px; color: var(--text-secondary); display: block; margin-bottom: 6px; }
.booking-field input, .booking-field textarea {
  width: 100%; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06); color: var(--text-primary); font-size: 14px;
  outline: none; transition: border-color .2s;
}
.booking-field input:focus, .booking-field textarea:focus { border-color: var(--gold); }
.booking-row { display: flex; gap: 12px; }

.booking-stepper {
  display: flex; align-items: center; gap: 0; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.06);
}
.booking-stepper button {
  width: 40px; height: 40px; border: none; background: transparent; color: var(--gold);
  font-size: 18px; font-weight: 700; cursor: pointer; transition: background .2s;
}
.booking-stepper button:active { background: rgba(255,255,255,.1); }
.booking-stepper input {
  width: 50px; text-align: center; border: none; background: transparent;
  color: var(--text-primary); font-size: 16px; font-weight: 600; padding: 0;
}

/* 预订加购项 */
.bk-addon-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: rgba(255,255,255,.04); border-radius: 10px; margin-bottom: 8px; cursor: pointer;
}
.bk-addon-item input { accent-color: var(--gold); width: 18px; height: 18px; flex-shrink: 0; }
.bk-addon-info { flex: 1; display: flex; justify-content: space-between; align-items: center; }
.bk-addon-title { font-size: 14px; color: var(--text-primary); }
.bk-addon-price { font-size: 13px; color: var(--gold); font-weight: 600; }

/* 价格汇总 */
.booking-price-summary {
  background: rgba(255,255,255,.06); border-radius: 14px; padding: 16px; margin-top: 8px;
}
.bk-price-row {
  display: flex; justify-content: space-between; font-size: 13px; color: var(--text-secondary);
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04);
}
.bk-price-total {
  display: flex; justify-content: space-between; padding: 10px 0 0;
  font-size: 18px; font-weight: 700; color: var(--gold);
}

/* 立即预订按钮 — defined in detail-bottom-bar section */

/* ===== 支付页 ===== */
.pay-page { padding: 30px 16px; text-align: center; }
.pay-header-icon { font-size: 48px; color: var(--gold); margin-bottom: 16px; }
.pay-order-no { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.pay-amount {
  font-size: 42px; font-weight: 800; color: var(--text-primary);
  background: linear-gradient(135deg, #fff, var(--gold)); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.pay-label { font-size: 13px; color: var(--text-secondary); margin-bottom: 30px; }

.pay-methods { margin-bottom: 24px; }
.pay-method {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; margin-bottom: 10px; cursor: pointer; transition: all .2s;
}
.pay-method.active { border-color: var(--gold); background: rgba(212,175,55,.08); }
.pay-method input { display: none; }
.pay-method span { flex: 1; text-align: left; font-size: 15px; color: var(--text-primary); }
.pay-method-check { color: rgba(255,255,255,.1); font-size: 18px; }
.pay-method.active .pay-method-check { color: var(--gold); }

.pay-demo-tip {
  background: rgba(212,175,55,.1); color: var(--gold); font-size: 12px;
  padding: 10px 14px; border-radius: 10px; margin-bottom: 24px; text-align: left;
}
.pay-demo-tip i { margin-right: 4px; }

.pay-confirm-btn {
  width: 100%; padding: 14px; border-radius: 24px; border: none;
  background: linear-gradient(135deg, #d4af37, #f4c542); color: #000;
  font-size: 16px; font-weight: 700; cursor: pointer; margin-bottom: 12px;
}
.pay-confirm-btn:disabled { opacity: .6; }
.pay-cancel-btn {
  width: 100%; padding: 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,.1);
  background: transparent; color: var(--text-secondary); font-size: 14px; cursor: pointer;
}

/* 支付结果 */
.pay-result { text-align: center; padding: 60px 20px; }
.pay-result-icon { font-size: 60px; margin-bottom: 20px; }
.pay-result-icon.success { color: #4ade80; }
.pay-result h3 { font-size: 22px; color: var(--text-primary); margin-bottom: 8px; }
.pay-result p { font-size: 14px; color: var(--text-secondary); margin-bottom: 30px; }
.pay-result-btn {
  display: block; width: 100%; max-width: 260px; margin: 0 auto 12px; padding: 12px;
  border-radius: 24px; border: none; background: var(--gold); color: #000;
  font-size: 15px; font-weight: 600; cursor: pointer;
}
.pay-result-btn.secondary {
  background: transparent; border: 1px solid rgba(255,255,255,.15); color: var(--text-secondary);
}

/* ===== 线下支付信息卡片 ===== */
.pay-offline-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 16px; margin-bottom: 12px; text-align: left;
}
.pay-offline-card-title {
  font-size: 14px; font-weight: 600; color: var(--gold); margin-bottom: 12px;
}
.pay-offline-card-title i { margin-right: 6px; }
.pay-offline-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 13px; color: var(--text-secondary);
}
.pay-offline-row:last-child { border-bottom: none; }
.pay-offline-row span:last-child { color: var(--text-primary); font-weight: 500; }
.pay-offline-copyable {
  color: var(--gold); cursor: pointer; user-select: all; font-weight: 500;
}
.pay-offline-copyable i { font-size: 11px; margin-left: 4px; opacity: .7; }
.pay-offline-link {
  color: var(--gold); text-decoration: none; font-weight: 500;
}
.pay-offline-qr-wrap {
  display: flex; gap: 16px; justify-content: center; padding: 12px 0;
}
.pay-offline-qr {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.pay-offline-qr img {
  width: 140px; height: 140px; border-radius: 10px; object-fit: contain;
  background: #fff; padding: 6px;
}
.pay-offline-qr span { font-size: 12px; color: var(--text-secondary); }
.pay-offline-orderno-tip {
  text-align: center; font-size: 13px; color: var(--text-secondary);
  background: rgba(201,162,39,.08); border-radius: 10px; padding: 10px 14px;
  margin: 12px 0 20px;
}

/* ===== 支付方式选择器 (Phase 3) ===== */
.pay-method-list { text-align: left; }
.pay-method-item {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; margin-bottom: 10px; cursor: pointer;
  transition: all .2s ease;
}
.pay-method-item:active { transform: scale(.98); background: rgba(255,255,255,.08); }
.pay-method-icon { font-size: 26px; width: 40px; text-align: center; flex-shrink: 0; }
.pay-method-info { flex: 1; min-width: 0; }
.pay-method-name { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.pay-method-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ===== 订单列表 ===== */
.order-tabs {
  display: flex; gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid rgba(255,255,255,.08); padding: 0 12px; margin-bottom: 12px;
}
.order-tab {
  padding: 10px 14px; font-size: 13px; color: var(--text-secondary);
  white-space: nowrap; cursor: pointer; border-bottom: 2px solid transparent;
  transition: all .2s; flex-shrink: 0;
}
.order-tab.active { color: var(--gold); border-bottom-color: var(--gold); font-weight: 600; }

.order-list-wrap { padding: 0 12px; }
.order-card {
  background: rgba(255,255,255,.05); border-radius: 14px; padding: 14px;
  margin-bottom: 12px; cursor: pointer; transition: transform .15s;
}
.order-card:active { transform: scale(.98); }
.order-card-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.order-card-no { font-size: 12px; color: var(--text-muted); font-family: monospace; }
.order-card-status {
  font-size: 12px; padding: 2px 10px; border-radius: 10px; font-weight: 600;
}
.os-pending_payment { background: rgba(245,158,11,.15); color: #f59e0b; }
.os-paid { background: rgba(59,130,246,.15); color: #3b82f6; }
.os-confirmed { background: rgba(16,185,129,.15); color: #10b981; }
.os-traveling { background: rgba(168,85,247,.15); color: #a855f7; }
.os-completed { background: rgba(34,197,94,.15); color: #22c55e; }
.os-refunded { background: rgba(239,68,68,.15); color: #ef4444; }
.os-cancelled { background: rgba(107,114,128,.15); color: #6b7280; }

.order-card-body { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.order-card-img { width: 80px; height: 60px; border-radius: 10px; background-size: cover; background-position: center; flex-shrink: 0; }
.order-card-info { flex: 1; min-width: 0; }
.order-card-name { font-size: 14px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-card-dest { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.order-card-people { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.order-card-people i { margin-right: 3px; }

.order-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; border-top: 1px solid rgba(255,255,255,.04);
}
.order-card-time { font-size: 11px; color: var(--text-muted); }
.order-card-amount { font-size: 16px; font-weight: 700; color: var(--gold); }

.order-card-action { display: flex; justify-content: flex-end; padding-top: 8px; gap: 8px; }
.order-quick-pay, .order-quick-review {
  padding: 6px 16px; border-radius: 16px; border: none; font-size: 12px;
  font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 4px;
}
.order-quick-pay { background: var(--gold); color: #000; }
.order-quick-review { background: rgba(255,255,255,.08); color: var(--gold); border: 1px solid rgba(212,175,55,.3); }

/* ===== 订单详情 ===== */
.order-detail-page { padding: 0 0 20px; }
.od-status-bar {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 20px 16px; font-size: 18px; font-weight: 600; color: var(--text-primary);
}
.od-status-bar i { font-size: 24px; }
.od-status-pending_payment { background: linear-gradient(135deg, rgba(245,158,11,.12), rgba(245,158,11,.04)); color: #f59e0b; }
.od-status-paid { background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(59,130,246,.04)); color: #3b82f6; }
.od-status-confirmed { background: linear-gradient(135deg, rgba(16,185,129,.12), rgba(16,185,129,.04)); color: #10b981; }
.od-status-traveling { background: linear-gradient(135deg, rgba(168,85,247,.12), rgba(168,85,247,.04)); color: #a855f7; }
.od-status-completed { background: linear-gradient(135deg, rgba(34,197,94,.12), rgba(34,197,94,.04)); color: #22c55e; }
.od-status-cancelled { background: linear-gradient(135deg, rgba(107,114,128,.12), rgba(107,114,128,.04)); color: #6b7280; }

.od-pkg-card {
  display: flex; gap: 12px; align-items: center; padding: 14px 16px;
  background: rgba(255,255,255,.04); margin: 12px; border-radius: 12px; cursor: pointer;
}
.od-pkg-img { width: 70px; height: 52px; border-radius: 8px; background-size: cover; background-position: center; flex-shrink: 0; }
.od-pkg-info { flex: 1; min-width: 0; }
.od-pkg-name { font-size: 14px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.od-pkg-dest { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

.od-section { padding: 16px; margin-bottom: 2px; }
.od-section h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 12px; }
.od-section h4 i { margin-right: 6px; color: var(--gold); }

.od-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.od-info-item { display: flex; flex-direction: column; }
.od-info-label { font-size: 11px; color: var(--text-muted); }
.od-info-val { font-size: 14px; color: var(--text-primary); margin-top: 2px; word-break: break-all; }
.od-notes { margin-top: 10px; padding: 10px; background: rgba(255,255,255,.04); border-radius: 8px; font-size: 13px; color: var(--text-secondary); }
.od-notes i { margin-right: 4px; color: var(--gold); }

.od-addon-item {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.04); font-size: 13px; color: var(--text-secondary);
}

.od-fee-row {
  display: flex; justify-content: space-between; font-size: 13px; color: var(--text-secondary);
  padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04);
}
.od-fee-total {
  display: flex; justify-content: space-between; padding: 10px 0 0;
  font-size: 18px; font-weight: 700; color: var(--gold);
}

.od-actions { padding: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.od-action-btn {
  flex: 1; min-width: 120px; padding: 12px; border-radius: 20px; border: none;
  font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 6px;
}
.od-action-btn.pay { background: var(--gold); color: #000; }
.od-action-btn.cancel { background: transparent; border: 1px solid rgba(255,255,255,.15); color: var(--text-secondary); }
.od-action-btn.review { background: linear-gradient(135deg, var(--gold), #f4c542); color: #000; }

/* ===== 评价表单 ===== */
.review-form-page { padding: 30px 16px; text-align: center; }
.review-form-stars { display: flex; justify-content: center; gap: 12px; margin-bottom: 12px; }
.review-star { font-size: 32px; cursor: pointer; transition: transform .15s; }
.review-star:active { transform: scale(1.2); }
.review-form-label { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }

.review-textarea {
  width: 100%; padding: 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05); color: var(--text-primary); font-size: 14px;
  resize: none; outline: none;
}
.review-textarea:focus { border-color: var(--gold); }
.review-char-count { text-align: right; font-size: 11px; color: var(--text-muted); margin: 4px 4px 16px; }

.review-anon-check {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; color: var(--text-secondary); margin-bottom: 20px; cursor: pointer;
}
.review-anon-check input { accent-color: var(--gold); }

.review-submit-btn {
  width: 100%; padding: 14px; border-radius: 24px; border: none;
  background: linear-gradient(135deg, var(--gold), #f4c542); color: #000;
  font-size: 16px; font-weight: 600; cursor: pointer;
}
.review-submit-btn:disabled { opacity: .6; }

/* 评价展示 */
.review-list { padding: 0; }
.review-item {
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.04);
}
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.review-user { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.review-rating { font-size: 13px; color: var(--gold); letter-spacing: 1px; }
.review-content { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.review-images { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; }
.review-images img { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; }
.review-reply {
  background: rgba(255,255,255,.04); padding: 8px 10px; border-radius: 8px;
  font-size: 12px; color: var(--text-muted); margin-top: 6px;
}
.review-reply i { color: var(--gold); margin-right: 4px; }
.review-time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ========== Phase 14.5: 目的地攻略 ========== */
.guide-section { margin-top: 16px; }
.guide-section-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
.guide-card { background: var(--card-bg); border-radius: 12px; overflow: hidden; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.06); }
.guide-card-cover { width: 100%; height: 120px; background-size: cover; background-position: center; }
.guide-card-body { padding: 10px 12px; }
.guide-card-title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.guide-card-meta { font-size: 11px; color: var(--text-muted); display: flex; gap: 10px; }
.guide-detail-content { padding: 12px 16px; }
.guide-detail-content h1,.guide-detail-content h2,.guide-detail-content h3 { color: var(--text-primary); margin: 16px 0 8px; }
.guide-detail-content h1 { font-size: 20px; }
.guide-detail-content h2 { font-size: 17px; }
.guide-detail-content h3 { font-size: 15px; }
.guide-detail-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 10px; }
.guide-detail-content img { max-width: 100%; border-radius: 8px; margin: 8px 0; }
.guide-detail-content ul,.guide-detail-content ol { padding-left: 20px; margin-bottom: 10px; }
.guide-detail-content li { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 4px; }
.guide-detail-content blockquote { border-left: 3px solid var(--gold); padding-left: 12px; margin: 10px 0; color: var(--text-muted); font-style: italic; }
.guide-detail-cover { width: 100%; height: 200px; background-size: cover; background-position: center; }
.guide-detail-header { padding: 12px 16px; }
.guide-detail-header h2 { font-size: 18px; color: var(--text-primary); margin-bottom: 6px; }
.guide-detail-header .meta { font-size: 12px; color: var(--text-muted); display: flex; gap: 12px; flex-wrap: wrap; }

/* ========== Phase 14.5: 评价分布统计 ========== */
.review-stats-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.review-stats-bar .star-label { font-size: 12px; color: var(--text-muted); min-width: 30px; text-align: right; }
.review-stats-bar .bar-track { flex: 1; height: 6px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; }
.review-stats-bar .bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), #f0c040); border-radius: 3px; transition: width .4s ease; }
.review-stats-bar .bar-count { font-size: 11px; color: var(--text-muted); min-width: 20px; }
.review-stats-summary { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; padding: 12px; background: var(--card-bg); border-radius: 12px; border: 1px solid rgba(255,255,255,.06); }
.review-stats-avg { text-align: center; }
.review-stats-avg .num { font-size: 32px; font-weight: 700; color: var(--gold); line-height: 1; }
.review-stats-avg .label { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.review-stats-dist { flex: 1; }

/* ========== Phase 14.5: 优惠券 ========== */
.coupon-tabs { display: flex; gap: 0; background: var(--card-bg); border-radius: 10px; margin-bottom: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.coupon-tab { flex: 1; text-align: center; padding: 10px 0; font-size: 13px; color: var(--text-muted); cursor: pointer; transition: all .2s; }
.coupon-tab.active { color: var(--gold); background: rgba(212,175,55,.1); font-weight: 600; }
.coupon-card { background: var(--card-bg); border-radius: 12px; margin-bottom: 10px; display: flex; overflow: hidden; border: 1px solid rgba(255,255,255,.06); position: relative; }
.coupon-card.used,.coupon-card.expired { opacity: .55; }
.coupon-card .coupon-left { width: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(212,175,55,.15), rgba(212,175,55,.05)); padding: 12px 8px; position: relative; }
.coupon-card .coupon-left::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: repeating-linear-gradient(to bottom, transparent, transparent 4px, rgba(255,255,255,.08) 4px, rgba(255,255,255,.08) 8px); }
.coupon-card .coupon-amount { font-size: 28px; font-weight: 700; color: var(--gold); line-height: 1; }
.coupon-card .coupon-amount .unit { font-size: 14px; }
.coupon-card .coupon-condition { font-size: 10px; color: var(--text-muted); margin-top: 4px; }
.coupon-card .coupon-right { flex: 1; padding: 12px; display: flex; flex-direction: column; justify-content: center; }
.coupon-card .coupon-name { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.coupon-card .coupon-expire { font-size: 11px; color: var(--text-muted); }
.coupon-card .coupon-source { font-size: 10px; color: var(--gold); margin-top: 4px; }
.coupon-card .coupon-status-tag { position: absolute; top: 8px; right: 8px; font-size: 10px; padding: 2px 6px; border-radius: 4px; }
.coupon-card.used .coupon-status-tag { background: rgba(255,255,255,.06); color: var(--text-muted); }
.coupon-card.expired .coupon-status-tag { background: rgba(255,77,77,.1); color: #f66; }
.coupon-empty { text-align: center; padding: 40px 0; color: var(--text-muted); font-size: 14px; }
.coupon-empty i { font-size: 36px; margin-bottom: 10px; display: block; opacity: .4; }
/* 订单页选券 */
.coupon-select-bar { background: var(--card-bg); border-radius: 10px; padding: 12px; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.06); cursor: pointer; }
.coupon-select-bar .label { font-size: 13px; color: var(--text-secondary); }
.coupon-select-bar .chosen { font-size: 13px; color: var(--gold); font-weight: 600; }
.coupon-select-bar .arrow { color: var(--text-muted); }
.coupon-picker-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.6); z-index: 999; display: none; }
.coupon-picker { position: fixed; bottom: 0; left: 0; right: 0; max-height: 60vh; background: var(--bg-primary); border-radius: 16px 16px 0 0; padding: 16px; z-index: 1000; display: none; overflow-y: auto; }
.coupon-picker-title { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 12px; text-align: center; }
.coupon-picker .coupon-card { cursor: pointer; }
.coupon-picker .coupon-card.selected { border-color: var(--gold); }

/* ========== Phase 14.5: 消息通知中心 ========== */
.notif-card { background: var(--card-bg); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; border: 1px solid rgba(255,255,255,.06); position: relative; }
.notif-card.unread { border-left: 3px solid var(--gold); }
.notif-card.unread::before { content: ''; position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.notif-card .notif-title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.notif-card .notif-message { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.notif-card .notif-time { font-size: 11px; color: var(--text-muted); margin-top: 6px; }
.notif-card .notif-type-icon { display: inline-block; font-size: 11px; padding: 1px 6px; border-radius: 4px; margin-right: 6px; }
.notif-type-order { background: rgba(52,152,219,.12); color: #3498db; }
.notif-type-coupon { background: rgba(212,175,55,.12); color: var(--gold); }
.notif-type-system { background: rgba(149,165,166,.12); color: #95a5a6; }
.notif-type-promo { background: rgba(231,76,60,.12); color: #e74c3c; }
.notif-type-consult_reply { background: rgba(46,204,113,.12); color: #2ecc71; }
.notif-actions { display: flex; justify-content: flex-end; padding: 10px 0 0; }
.notif-read-all-btn { font-size: 12px; color: var(--gold); background: none; border: 1px solid rgba(212,175,55,.3); padding: 4px 12px; border-radius: 6px; cursor: pointer; }

/* TabBar 通知红点 */
.tabbar-icon-wrap { position: relative; display: inline-block; }
.tabbar-notif-dot { position: absolute; top: -3px; right: -6px; width: 8px; height: 8px; border-radius: 50%; background: #e74c3c; }

/* ========== Phase 14.5: 多图上传组件 ========== */
.multi-upload-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.multi-upload-item { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; position: relative; }
.multi-upload-item img { width: 100%; height: 100%; object-fit: cover; }
.multi-upload-item .del-btn { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.multi-upload-add { width: 72px; height: 72px; border-radius: 8px; border: 1px dashed rgba(255,255,255,.15); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-muted); font-size: 11px; cursor: pointer; }
.multi-upload-add i { font-size: 20px; margin-bottom: 2px; }
.multi-upload-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(0,0,0,.3); }
.multi-upload-progress .bar { height: 100%; background: var(--gold); transition: width .2s; }

/* ========== Phase 15.1 → Phase 16 Premium Recommend ========== */
.recommend-scroll {
  display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 8px;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
}
.recommend-scroll::-webkit-scrollbar { display: none; }
.rec-card {
  flex-shrink: 0; width: 190px; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,.06);
  scroll-snap-align: start; transition: transform .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.rec-card:active { transform: scale(.97); }
.rec-cover {
  width: 100%; height: 115px; background-size: cover; background-position: center;
  background-color: rgba(255,255,255,.05); position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.rec-reason-tag {
  position: absolute; bottom: 6px; left: 6px;
  padding: 3px 10px; border-radius: 10px; font-size: 10px; font-weight: 600;
  background: rgba(201,162,39,.85); color: #000;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.rec-info { padding: 10px 12px 12px; }
.rec-info h5 { font-size: 13px; font-weight: 600; color: #fff; margin: 0 0 4px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-info p { font-size: 11px; color: var(--text-muted); margin: 0 0 4px; }
.rec-tier { display: inline-block; padding: 1px 5px; border-radius: 3px; font-size: 9px; font-weight: 600; margin-left: 4px; vertical-align: middle; }
.rec-mini-tags { display: flex; gap: 3px; margin-bottom: 6px; }
.rec-mini-tags span { font-size: 9px; padding: 1px 5px; border-radius: 3px; background: rgba(201,162,39,.1); color: var(--gold); }
.rec-bottom { display: flex; align-items: center; justify-content: space-between; }
.rec-price { font-size: 15px; font-weight: 700; color: var(--gold); }
.rec-price small { font-size: 9px; font-weight: 400; color: var(--text-muted); }
.rec-heat { font-size: 10px; color: #f59e0b; }

/* ========== Phase 18: Mine Page Premium Redesign ========== */

/* --- Mine Header V2 --- */
.mine-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: calc(var(--safe-top) + 28px) 20px 24px;
  background: linear-gradient(135deg, rgba(201,162,39,.12) 0%, rgba(102,126,234,.06) 50%, rgba(201,162,39,.04) 100%);
  position: relative;
  overflow: hidden;
}
.mine-header::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,162,39,.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.mine-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.15), transparent);
}
.mine-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #000;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(201,162,39,.3);
  border: 2px solid rgba(201,162,39,.4);
  position: relative;
  z-index: 1;
}
.mine-info {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.mine-info h3 {
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mine-vip-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(201,162,39,.2), rgba(201,162,39,.08));
  color: var(--gold);
  border: 1px solid rgba(201,162,39,.15);
  vertical-align: middle;
}
.mine-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}
.mine-settings-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.06);
  color: var(--text-secondary);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mine-settings-btn:active {
  transform: scale(.9);
  background: rgba(201,162,39,.1);
}

/* --- Mine Stats Row V2 --- */
.mine-stats-row {
  display: flex;
  justify-content: space-around;
  padding: 16px 16px;
  margin: -8px 16px 10px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.04);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.mine-stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  position: relative;
  cursor: pointer;
}
.mine-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255,255,255,.06);
}
.mine-stat-item:active {
  opacity: .7;
}
.mine-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.5px;
}
.mine-stat-item > span:last-child {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Mine Orders Overview V2 --- */
.mine-orders-overview {
  display: flex;
  justify-content: space-around;
  padding: 18px 8px;
  margin: 0 16px 10px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.04);
}
.mine-order-item {
  text-align: center;
  cursor: pointer;
  transition: transform .2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  position: relative;
}
.mine-order-item:active {
  transform: scale(0.92);
}
.mine-order-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  position: relative;
}
.mine-order-icon .order-count-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f5576c, #ff6b6b);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  box-shadow: 0 2px 6px rgba(245,87,108,.4);
  animation: orderDotPulse 2s ease infinite;
}
@keyframes orderDotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.mine-order-item span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Mine Menu List V2 --- */
.mine-menu-group-title {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 16px 8px;
  margin-top: 4px;
}
.mine-menu-list {
  margin: 0 16px 8px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.04);
}
.mine-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.03);
  cursor: pointer;
  transition: background .2s;
}
.mine-menu-item:last-child {
  border-bottom: none;
}
.mine-menu-item:active {
  background: rgba(201,162,39,.04);
}
.mine-menu-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.mine-menu-item span {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}
.mine-menu-item .arr {
  font-size: 11px;
  color: rgba(255,255,255,.15);
}
.mine-menu-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-right: 6px;
}
.mine-menu-badge {
  background: linear-gradient(135deg, #f5576c, #ff6b6b);
  color: #fff; font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px; line-height: 18px;
  border-radius: 9px; text-align: center; padding: 0 5px;
  margin-right: 4px;
}

/* --- Mine Footer V2 --- */
.mine-footer {
  text-align: center;
  padding: 16px;
  margin-bottom: calc(var(--safe-bottom) + 60px);
}
.mine-footer-version {
  font-size: 11px;
  color: var(--text-muted);
  opacity: .5;
}

/* --- Discover Filter Tabs V2 --- */
.filter-tabs {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  flex-shrink: 0;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.04);
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}
.filter-tab:active {
  transform: scale(.95);
}
.filter-tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  font-weight: 600;
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(201,162,39,.3);
}

/* --- Discover Sub Bar V2 --- */
.discover-sub-bar {
  display: flex;
  align-items: center;
  padding: 0 16px 10px;
  gap: 10px;
}
.dest-filter-scroll {
  flex: 1;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.dest-filter-scroll::-webkit-scrollbar { display: none; }
.dest-chip {
  flex-shrink: 0;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.04);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.dest-chip:active {
  transform: scale(.95);
}
.dest-chip.active {
  background: rgba(201,162,39,.1);
  color: var(--gold);
  border-color: rgba(201,162,39,.2);
  font-weight: 500;
}
.sort-toggle {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}
.sort-toggle:active {
  transform: scale(.9);
}
.sort-toggle.active {
  color: var(--gold);
  border-color: rgba(201,162,39,.2);
  background: rgba(201,162,39,.08);
}

/* ===== Phase 46: 积分 & VIP 样式 ===== */
.pts-page { padding: 0 0 20px; }
.pts-hero {
  background: linear-gradient(135deg, rgba(201,162,39,.15), rgba(201,162,39,.04));
  padding: 28px 20px 24px;
  text-align: center;
  border-radius: 0 0 20px 20px;
}
.pts-vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  border: 1px solid rgba(201,162,39,.2);
}
.pts-vip-badge.vip-bronze { background: rgba(205,127,50,.12); color: #cd7f32; border-color: rgba(205,127,50,.2); }
.pts-vip-badge.vip-silver { background: rgba(192,192,192,.12); color: #a8a8a8; border-color: rgba(192,192,192,.2); }
.pts-vip-badge.vip-gold { background: rgba(201,162,39,.12); color: var(--gold); border-color: rgba(201,162,39,.2); }
.pts-vip-badge.vip-platinum { background: rgba(168,85,247,.12); color: #a855f7; border-color: rgba(168,85,247,.2); }
.pts-vip-badge.vip-diamond { background: rgba(59,130,246,.12); color: #3b82f6; border-color: rgba(59,130,246,.2); }
.pts-balance { font-size: 42px; font-weight: 800; color: var(--gold); line-height: 1.1; }
.pts-balance-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.pts-spent { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.pts-next-level { padding: 16px 20px; }
.pts-next-label { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.pts-next-bar-wrap {
  height: 8px;
  background: rgba(255,255,255,.06);
  border-radius: 4px;
  overflow: hidden;
}
.pts-next-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #e8c547);
  border-radius: 4px;
  transition: width .6s ease;
}
.pts-next-desc { font-size: 11px; color: var(--text-muted); margin-top: 6px; }
.pts-section-title {
  padding: 12px 20px 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.pts-txn-list { padding: 0 16px; }
.pts-txn-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.pts-txn-desc { font-size: 13px; color: var(--text-primary); }
.pts-txn-time { font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.pts-txn-amount { font-size: 15px; font-weight: 700; white-space: nowrap; }
.pts-txn-amount.positive { color: #22c55e; }
.pts-txn-amount.negative { color: #ef4444; }
.pts-txn-empty { padding: 30px; text-align: center; color: var(--text-muted); font-size: 13px; }
.pts-rules { padding: 0 20px 20px; }
.pts-rule-item { font-size: 12px; color: var(--text-muted); padding: 4px 0; line-height: 1.6; }
/* VIP tag colors in mine header */
.mine-vip-tag.vip-bronze { background: linear-gradient(135deg, rgba(205,127,50,.2), rgba(205,127,50,.08)); color: #cd7f32; border-color: rgba(205,127,50,.15); }
.mine-vip-tag.vip-silver { background: linear-gradient(135deg, rgba(192,192,192,.2), rgba(192,192,192,.08)); color: #c0c0c0; border-color: rgba(192,192,192,.15); }
.mine-vip-tag.vip-gold { background: linear-gradient(135deg, rgba(201,162,39,.2), rgba(201,162,39,.08)); color: var(--gold); border-color: rgba(201,162,39,.15); }
.mine-vip-tag.vip-platinum { background: linear-gradient(135deg, rgba(168,85,247,.2), rgba(168,85,247,.08)); color: #a855f7; border-color: rgba(168,85,247,.15); }
.mine-vip-tag.vip-diamond { background: linear-gradient(135deg, rgba(59,130,246,.2), rgba(59,130,246,.08)); color: #3b82f6; border-color: rgba(59,130,246,.15); }

/* ============================================================
   Phase 57: 旅途助手 Banner
   ============================================================ */
.trip-companion-banner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; margin: 0 12px 8px;
  background: linear-gradient(135deg, rgba(201,162,39,.12), rgba(201,162,39,.04));
  border: 1px solid rgba(201,162,39,.2);
  border-radius: 14px;
  animation: tripBannerPulse 3s ease-in-out infinite;
}
@keyframes tripBannerPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,162,39,.15); }
  50% { box-shadow: 0 0 12px 2px rgba(201,162,39,.12); }
}
.trip-banner-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.trip-banner-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #111; flex-shrink: 0;
}
.trip-banner-info { flex: 1; min-width: 0; }
.trip-banner-title { font-size: 13px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trip-banner-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trip-banner-btn {
  padding: 7px 14px; border: none; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #111; font-size: 12px; font-weight: 600;
  white-space: nowrap; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; gap: 5px;
}
.trip-banner-btn i { font-size: 12px; }

/* ============================================================
   Phase 57: 产品推荐卡片（聊天内嵌）
   ============================================================ */
.chat-product-cards { padding: 6px 0 4px 48px; }
.product-cards-scroll {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
}
.product-cards-scroll::-webkit-scrollbar { display: none; }
.product-card {
  flex: 0 0 200px; scroll-snap-align: start;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; overflow: hidden;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  position: relative;
}
.product-card:active { transform: scale(.97); }
.pcard-cover {
  height: 100px; background-size: cover; background-position: center;
  background-color: rgba(201,162,39,.08);
}
.pcard-cover-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: rgba(201,162,39,.3);
}
.pcard-badge {
  position: absolute; top: 8px; left: 8px;
  padding: 3px 8px; border-radius: 6px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #111; font-size: 10px; font-weight: 700;
  letter-spacing: .5px;
}
.pcard-body { padding: 10px 12px; }
.pcard-title {
  font-size: 13px; font-weight: 600; color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pcard-dest {
  font-size: 11px; color: var(--text-muted); margin-top: 3px;
  display: flex; align-items: center; gap: 4px;
}
.pcard-dest i { color: var(--gold); font-size: 10px; }
.pcard-summary {
  font-size: 11px; color: var(--text-secondary); margin-top: 5px;
  line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.pcard-price { font-size: 14px; font-weight: 700; color: var(--gold); }
.pcard-action {
  font-size: 11px; color: var(--text-muted);
  display: flex; align-items: center; gap: 3px;
}
.pcard-action i { font-size: 9px; }

/* ============================================================
   Phase 57: 旅途日程卡（聊天内嵌）
   ============================================================ */
.chat-trip-schedule-card { padding: 6px 0 4px 48px; }
.trip-sched-card {
  background: linear-gradient(135deg, rgba(201,162,39,.08), rgba(201,162,39,.03));
  border: 1px solid rgba(201,162,39,.15);
  border-radius: 16px; padding: 16px; overflow: hidden;
}
.trip-sched-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.trip-sched-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #111; flex-shrink: 0;
}
.trip-sched-meta { flex: 1; min-width: 0; }
.trip-sched-title { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.trip-sched-day { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.trip-sched-daytitle {
  font-size: 13px; font-weight: 600; color: var(--gold);
  margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(201,162,39,.12);
}
.trip-sched-timeline { display: flex; flex-direction: column; gap: 8px; }
.trip-sched-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 8px 10px; border-radius: 10px;
  background: rgba(255,255,255,.03);
}
.trip-sched-period { font-size: 12px; font-weight: 600; color: var(--gold); white-space: nowrap; min-width: 60px; }
.trip-sched-activity { font-size: 12px; color: var(--text-secondary); line-height: 1.5; flex: 1; }
.trip-sched-hotel {
  margin-top: 10px; padding: 8px 10px; border-radius: 8px;
  background: rgba(59,130,246,.08); font-size: 12px; color: #93c5fd;
}
.trip-sched-hotel i { margin-right: 6px; color: #60a5fa; }
.trip-sched-tips {
  margin-top: 8px; padding: 8px 10px; border-radius: 8px;
  background: rgba(250,204,21,.08); font-size: 12px; color: #fde68a;
  line-height: 1.5;
}
.trip-sched-tips i { margin-right: 6px; color: #facc15; }
.trip-sched-text { font-size: 12px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   Phase 59: 行程方案展示模板
   — 聊天内联卡片 + 全屏详情页
   ============================================================ */

/* ============================================================
   Phase 59: 行程方案卡（聊天内嵌）
   ============================================================ */
.chat-proposal-card { padding: 6px 0 4px 48px; }

/* Phase 68: 方案生成中 loading 卡片 */
.chat-proposal-loading { padding: 6px 0 4px 48px; }
.proposal-loading-card {
  margin-top: 10px;
  background: linear-gradient(145deg, rgba(201,162,39,.08), rgba(201,162,39,.02));
  border: 1px solid rgba(201,162,39,.15);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  padding: 28px 20px;
  text-align: center;
}
.proposal-loading-shimmer {
  position: absolute; top: 0; left: -100%; width: 200%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.08), transparent);
  animation: proposalShimmer 2s infinite;
}
@keyframes proposalShimmer { 0% { transform: translateX(0); } 100% { transform: translateX(50%); } }
.proposal-loading-content { position: relative; z-index: 1; }
.proposal-loading-icon {
  width: 48px; height: 48px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #111; font-size: 20px;
  animation: proposalIconPulse 1.5s ease-in-out infinite;
}
@keyframes proposalIconPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(201,162,39,.3); }
  50% { transform: scale(1.08); box-shadow: 0 0 16px 4px rgba(201,162,39,.15); }
}
.proposal-loading-text {
  font-size: 15px; font-weight: 600; color: var(--text-primary);
  margin-bottom: 4px;
}
.proposal-loading-sub {
  font-size: 12px; color: var(--text-tertiary);
  margin-bottom: 14px;
  transition: opacity .3s;
}
/* 方案生成步骤指示器 */
.proposal-loading-steps {
  display: flex; flex-direction: column; gap: 8px;
  text-align: left; padding: 0 8px; margin-bottom: 16px;
}
.proposal-loading-step {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-tertiary, #aaa);
  opacity: .4; transition: all .5s ease;
}
.proposal-loading-step i {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  background: var(--bg-tertiary, #f0f0f0);
  color: var(--text-tertiary, #aaa);
  transition: all .5s ease;
}
.proposal-loading-step.active {
  opacity: 1; color: var(--gold, #C9A227);
  animation: stepFadeIn .5s ease;
}
.proposal-loading-step.active i {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff; box-shadow: 0 0 8px rgba(201,162,39,.3);
  animation: stepIconPulse 1.5s ease-in-out infinite;
}
.proposal-loading-step.done {
  opacity: .7; color: var(--text-secondary, #666);
}
.proposal-loading-step.done i {
  background: rgba(76,175,80,.15); color: #4caf50;
}
@keyframes stepFadeIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }
@keyframes stepIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.proposal-loading-dots {
  display: flex; justify-content: center; gap: 6px;
}
.proposal-loading-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: proposalDotBounce 1.2s ease-in-out infinite;
}
.proposal-loading-dots span:nth-child(2) { animation-delay: .2s; }
.proposal-loading-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes proposalDotBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40% { transform: translateY(-8px); opacity: 1; }
}

/* --- 聊天中的方案预览卡 --- */
.proposal-card {
  margin-top: 10px;
  background: linear-gradient(145deg, rgba(201,162,39,.10), rgba(201,162,39,.03));
  border: 1px solid rgba(201,162,39,.18);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.proposal-card:active { transform: scale(.98); }
.proposal-card-header {
  padding: 16px 16px 12px;
  background: linear-gradient(135deg, rgba(201,162,39,.12) 0%, transparent 60%);
}
.proposal-card-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  margin-bottom: 8px;
}
.proposal-card-title {
  font-size: 17px; font-weight: 700; color: var(--text-primary);
  line-height: 1.3; margin-bottom: 4px;
}
.proposal-card-sub {
  font-size: 12px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.proposal-card-sub i { color: var(--gold); font-size: 10px; }
.proposal-card-days {
  display: flex; gap: 6px; padding: 0 16px 12px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.proposal-card-days::-webkit-scrollbar { display: none; }
.proposal-day-chip {
  flex: 0 0 auto;
  padding: 8px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  text-align: center;
  min-width: 80px;
}
.proposal-day-chip-num {
  font-size: 10px; color: var(--gold); font-weight: 700;
  margin-bottom: 2px;
}
.proposal-day-chip-text {
  font-size: 11px; color: var(--text-secondary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 90px;
}
.proposal-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.proposal-card-price {
  font-size: 11px; color: var(--text-muted);
}
.proposal-card-price b {
  font-size: 16px; font-weight: 700; color: var(--gold);
}
.proposal-card-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111; font-size: 12px; font-weight: 700;
  padding: 7px 14px; border-radius: 20px; border: none;
}
/* 卡片高亮摘要 */
.proposal-card-highlight {
  font-size: 12px; color: var(--text-secondary);
  margin-top: 6px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- 方案全屏详情页 --- */
.proposal-detail { padding-bottom: 80px; }
.proposal-hero {
  position: relative;
  padding: 32px 20px 24px;
  background: linear-gradient(180deg, rgba(201,162,39,.12) 0%, var(--bg-primary) 100%);
}
.proposal-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 12px;
}
.proposal-hero-title {
  font-size: 24px; font-weight: 800; color: var(--text-primary);
  line-height: 1.3; margin-bottom: 8px;
}
.proposal-hero-meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--text-secondary);
}
.proposal-hero-meta span { display: flex; align-items: center; gap: 4px; }
.proposal-hero-meta i { color: var(--gold); font-size: 12px; }
/* 方案亮点 */
.proposal-hero-highlight {
  font-size: 13px; color: var(--text-secondary);
  line-height: 1.5; margin-bottom: 10px;
  padding: 8px 12px;
  background: rgba(201,162,39,.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
}
/* 推荐酒店速览 */
.proposal-hotels { padding: 0 20px 16px; }
.proposal-hotels-title {
  font-size: 14px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.proposal-hotels-title i { color: var(--gold); }
.proposal-hotels-list { display: flex; gap: 8px; flex-wrap: wrap; }
.proposal-hotel-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: rgba(59,130,246,.06);
  border: 1px solid rgba(59,130,246,.12);
  border-radius: 10px;
  font-size: 12px; color: #93c5fd;
}
.proposal-hotel-chip i { color: #60a5fa; font-size: 11px; }

/* 时间线概览导航条 */
.proposal-timeline-nav {
  padding: 0 20px 20px;
}
.proposal-timeline-nav-title {
  font-size: 16px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.proposal-timeline-nav-title i { color: var(--gold); }
.proposal-timeline-strip {
  display: flex; align-items: flex-start;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding: 4px 0 12px;
  gap: 0;
}
.proposal-timeline-strip::-webkit-scrollbar { display: none; }
.tl-node {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center;
  min-width: 64px; max-width: 80px;
  cursor: pointer;
  position: relative;
  transition: transform .2s;
}
.tl-node:active { transform: scale(.93); }
.tl-node-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid rgba(201,162,39,.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
  transition: border-color .2s, background .2s;
}
.tl-node-dot i {
  font-size: 13px; color: var(--text-muted);
  transition: color .2s;
}
.tl-node-first .tl-node-dot,
.tl-node-last .tl-node-dot {
  border-color: var(--gold);
  background: rgba(201,162,39,.12);
}
.tl-node-first .tl-node-dot i,
.tl-node-last .tl-node-dot i {
  color: var(--gold);
}
.tl-node-label {
  font-size: 10px; font-weight: 700; color: var(--gold);
  margin-bottom: 2px;
}
.tl-node-text {
  font-size: 10px; color: var(--text-secondary);
  text-align: center; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 72px;
}
.tl-node-tag {
  margin-top: 4px;
  font-size: 9px; font-weight: 700;
  color: #111; background: var(--gold);
  padding: 1px 8px; border-radius: 10px;
}
/* 连接线 */
.tl-connector {
  display: flex; align-items: center;
  padding-top: 16px; /* 对齐dot中心 */
  min-width: 20px; flex: 0 0 auto;
}
.tl-connector-line {
  height: 2px; width: 20px;
  background: linear-gradient(90deg, rgba(201,162,39,.4), rgba(201,162,39,.15));
  border-radius: 1px;
}

.proposal-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; padding: 0 20px 20px;
}
.proposal-stat {
  text-align: center; padding: 14px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.proposal-stat-val {
  font-size: 18px; font-weight: 800;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.proposal-stat-label {
  font-size: 11px; color: var(--text-muted); margin-top: 2px;
}

/* 行程时间线 */
.proposal-timeline { padding: 0 20px 20px; }
.proposal-timeline-title {
  font-size: 16px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.proposal-timeline-title i {
  color: var(--gold);
}
.proposal-day-block {
  position: relative;
  padding-left: 28px;
  padding-bottom: 24px;
}
.proposal-day-block:last-child { padding-bottom: 0; }
.proposal-day-block::before {
  content: '';
  position: absolute; left: 7px; top: 24px; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(201,162,39,.1) 100%);
}
.proposal-day-block:last-child::before { display: none; }
.proposal-day-dot {
  position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--gold);
}
.proposal-day-label {
  font-size: 13px; font-weight: 700; color: var(--gold);
  margin-bottom: 8px;
}
.proposal-day-title {
  font-size: 15px; font-weight: 600; color: var(--text-primary);
  margin-bottom: 10px;
}
.proposal-activity {
  display: flex; gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  margin-bottom: 6px;
}
.proposal-activity-time {
  flex: 0 0 auto;
  font-size: 11px; font-weight: 600; color: var(--gold);
  padding-top: 1px; min-width: 36px;
}
.proposal-activity-text {
  font-size: 13px; color: var(--text-secondary); line-height: 1.5;
}
.proposal-day-hotel {
  margin-top: 8px; padding: 10px 12px;
  background: rgba(59,130,246,.06);
  border: 1px solid rgba(59,130,246,.12);
  border-radius: 10px;
  font-size: 12px; color: #93c5fd;
  display: flex; align-items: center; gap: 8px;
}
.proposal-day-hotel i { color: #60a5fa; }
.proposal-day-meals {
  margin-top: 6px; padding: 8px 12px;
  background: rgba(249,115,22,.06);
  border-radius: 10px;
  font-size: 12px; color: #fdba74;
  display: flex; align-items: center; gap: 8px;
}
.proposal-day-meals i { color: #f97316; }
.proposal-day-depart {
  margin-top: 8px; padding: 10px 12px;
  background: rgba(168,85,247,.06);
  border: 1px solid rgba(168,85,247,.12);
  border-radius: 10px;
  font-size: 12px; color: #c4b5fd;
  display: flex; align-items: center; gap: 8px;
}
.proposal-day-depart i { color: #a855f7; }

/* 费用估算 */
.proposal-costs {
  margin: 0 20px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.proposal-costs-header {
  padding: 14px 16px;
  font-size: 14px; font-weight: 700; color: var(--text-primary);
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.proposal-costs-header i { color: var(--gold); }
.proposal-cost-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.03);
}
.proposal-cost-row:last-child { border-bottom: none; }
.proposal-cost-label { font-size: 13px; color: var(--text-secondary); }
.proposal-cost-value {
  font-size: 13px; font-weight: 600; color: var(--text-primary);
}
.proposal-cost-total {
  background: rgba(201,162,39,.06);
}
.proposal-cost-total .proposal-cost-label {
  font-weight: 700; color: var(--text-primary);
}
.proposal-cost-total .proposal-cost-value {
  font-size: 16px; font-weight: 800; color: var(--gold);
}
.proposal-cost-note {
  padding: 8px 16px 12px;
  font-size: 11px; color: var(--text-tertiary);
  text-align: center;
}
/* Phase 68: 按类型分组的费用明细 */
.proposal-cost-group {
  border-bottom: 1px solid var(--border);
}
.proposal-cost-group:last-of-type { border-bottom: none; }
.proposal-cost-group-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px 6px;
  font-size: 13px; font-weight: 700; color: var(--text-primary);
}
.proposal-cost-group-header i { color: var(--gold); margin-right: 4px; font-size: 12px; }
.proposal-cost-group-sum { font-size: 13px; font-weight: 700; color: var(--gold); }
.proposal-cost-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 16px 6px 32px;
}
.proposal-cost-item-name {
  font-size: 12px; color: var(--text-secondary);
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.proposal-cost-item-right {
  display: flex; flex-direction: column; align-items: flex-end;
  flex-shrink: 0; margin-left: 10px;
}
.proposal-cost-item-detail {
  font-size: 10px; color: var(--text-tertiary);
}
.proposal-cost-item-price {
  font-size: 12px; font-weight: 600; color: var(--text-primary);
}
/* Phase 68: 方案卡片内费用概览 */
.proposal-card-price-detail { width: 100%; }
.proposal-card-price-total {
  font-size: 14px; color: var(--gold); margin-bottom: 4px;
}
.proposal-card-price-total b { font-size: 18px; }
.proposal-card-cost-items {
  display: flex; flex-wrap: wrap; gap: 6px 12px;
}
.proposal-card-cost-item {
  font-size: 11px; color: var(--text-tertiary);
  display: flex; align-items: center; gap: 3px;
}
.proposal-card-cost-item i { font-size: 10px; color: var(--text-tertiary); }

/* 方案反馈快捷按钮 */
.chat-proposal-feedback { padding: 4px 0 8px 48px; }
.proposal-feedback-btns { padding: 0 4px; }
.proposal-feedback-label {
  font-size: 12px; color: var(--text-secondary, #999);
  margin-bottom: 8px; display: flex; align-items: center; gap: 4px;
}
.proposal-feedback-label i { color: var(--gold, #C9A227); font-size: 11px; }
.proposal-feedback-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.proposal-feedback-chip {
  padding: 6px 12px; border-radius: 16px; font-size: 12px;
  border: 1px solid rgba(201,162,39,.25); background: rgba(201,162,39,.06);
  color: var(--gold, #C9A227); cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  transition: all .2s;
}
.proposal-feedback-chip:active {
  background: rgba(201,162,39,.15); transform: scale(.96);
}
.proposal-feedback-chip i { font-size: 10px; }

/* 需求确认按钮 */
.chat-confirm-plan { padding: 8px 0 8px 48px; }
.confirm-plan-btns { padding: 0 4px; }
.confirm-plan-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 24px; border-radius: 20px; font-size: 14px; font-weight: 600;
  border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--gold, #C9A227), var(--gold-dark, #A88620));
  color: #fff; box-shadow: 0 2px 8px rgba(201,162,39,.3);
  transition: all .2s;
}
.confirm-plan-btn:active { transform: scale(.96); box-shadow: 0 1px 4px rgba(201,162,39,.2); }
.confirm-plan-btn i { font-size: 13px; }
.confirm-plan-hint {
  font-size: 12px; color: var(--text-secondary, #999);
  margin-top: 8px; padding-left: 2px;
}
.confirm-plan-btns.disabled .confirm-plan-btn {
  background: var(--bg-tertiary, #e5e5e5); color: var(--text-tertiary, #bbb);
  box-shadow: none; cursor: default;
}
.confirm-plan-btns.disabled .confirm-plan-hint { display: none; }

/* 温馨贴士 */
.proposal-tips {
  margin: 0 20px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 16px;
}
.proposal-tips-title {
  font-size: 14px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.proposal-tips-title i { color: #facc15; }
.proposal-tip-item {
  font-size: 12px; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 4px;
  padding-left: 16px;
  position: relative;
}
.proposal-tip-item::before {
  content: '•'; position: absolute; left: 4px; color: var(--gold);
}

/* 推荐附加服务 */
.proposal-addons {
  margin: 0 20px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.proposal-addons-header {
  padding: 14px 16px;
  font-size: 14px; font-weight: 700; color: var(--text-primary);
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.proposal-addons-header i { color: var(--accent); }
.proposal-addon-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.03);
}
.proposal-addon-item:last-child { border-bottom: none; }
.proposal-addon-name { font-size: 13px; color: var(--text-primary); }
.proposal-addon-desc {
  font-size: 11px; color: var(--text-muted); margin-top: 2px;
}
.proposal-addon-price {
  font-size: 13px; font-weight: 600; color: var(--gold);
  white-space: nowrap;
}

/* AI文字方案完整展示 */
.proposal-aitext {
  margin: 0 20px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 16px;
}
.proposal-aitext-title {
  font-size: 14px; font-weight: 700; color: var(--text-primary);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.proposal-aitext-title i { color: var(--accent); }
.proposal-aitext-body {
  font-size: 13px; color: var(--text-secondary); line-height: 1.8;
}

/* 底部行动按钮 */
.proposal-bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  padding: 12px 20px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
  background: rgba(10,10,15,.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  display: flex; gap: 10px;
  z-index: 310;
}
.proposal-btn-secondary {
  flex: 1;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px; font-weight: 600;
  text-align: center;
}
.proposal-btn-primary {
  flex: 2;
  padding: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  border-radius: 12px;
  color: #111;
  font-size: 14px; font-weight: 700;
  text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* ===== 无障碍 & 辅助功能 ===== */

/* 减弱动画 — 尊重用户系统偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .splash-screen { display: none !important; }
  .banner-track { transition: none !important; }
}

/* 键盘焦点可见性 */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* 打印样式 */
@media print {
  .tabbar, .splash-screen, .back-to-top, .offline-bar,
  .ai-input-bar, .chat-scroll-bottom, .pull-refresh { display: none !important; }
  body, html { overflow: visible; height: auto; background: #fff; color: #000; }
  .page { position: static; overflow: visible; height: auto; }
  .page.active { display: block; }
}
